:root {
  /* Core color palette (simplified)
     - --bg: page background (dark)
     - --text: primary text on dark background
     - --text-muted: slightly softer text for supportive copy
     - --accent: primary accent (golden orange)
     - --secondary: supportive green accent
  */
  --bg: #001219;
  --text: #FDF0E1;
  --text-muted: rgba(253,240,225,0.9);
  --text-dark: #001219; /* for use on light backgrounds */

  --accent: #ee9b00;
  --accent-soft: rgb(243, 182, 64);
  --secondary: #4F9D69;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, body, :root, * {
/*  font-family: "neue-haas-unica", system-ui, -apple-system, "Segoe UI", sans-serif !important; */
font-family: "neue-haas-unica", sans-serif !important;
}

body {
 /* font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; */
font-family: "neue-haas-unica", sans-serif;
font-weight: 400;
font-style: normal;
  background: radial-gradient(circle at top left, #022736, var(--bg));
  color: var(--text);
  line-height: 1.6;
}
h2{
  font-family: "zenon", sans-serif !important;
  line-height: 2rem;
  padding-bottom:5px;
}
h3{
  font-family: "zenon", sans-serif !important;

}
.plan-name{
  font-family: "zenon", sans-serif !important;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top navigation */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(0, 18, 25, 0.9);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 0rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

    .logo-wrap {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .logo-wordmark {
      height: 40px;
      width: auto;
      display: block;
    }nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}
  /* Desktop: make logo slightly smaller while keeping header height unchanged */
  @media (min-width: 880px) {
    .logo-wordmark {
      height: 30px;
    }
    .plan-tagline {
      min-height:103px;
    }
  }
  @media (min-width: 1160px){
    .portfolio-masonry {
      height: 600px;
    }
  }

  /* Desktop: group nav and CTA to the right and set spacing between nav and CTA */
  @media (min-width: 880px) {
    .logo-wrap { margin-right: auto; }
    nav {
      margin-right: 30px;
    }
  }

nav a {
  color: var(--text-muted);
  position: relative;
  padding-bottom: 0.15rem;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 600;
  font-size: .9rem;
  line-height:1rem;
  padding-bottom:8px;
  border: none;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
  box-shadow: 0 10px 25px rgba(238, 155, 0, 0.25);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(238, 155, 0, 0.35);
}

/* Main hero */

.hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 3rem;
  display: grid;
  /* single column so everything is centered */
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  justify-items: center; /* center grid children horizontally */
  text-align: center; /* center headings and supporting copy */
}

/* Limit the width of the inner content so lines are readable on very wide screens */
.hero > div {
  width: 70%;
  max-width: 900px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 3vw + 1.3rem, 3.1rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}

.hero span {
  color: var(--accent);
}

.hero-sub {
  color: var(--text-muted);
  max-width: 48rem; /* allow wider lines when centered */
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  line-height:1.5rem;
  max-width:400px;
  margin-left: auto;
  margin-right:auto;
} 



.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: center; /* center buttons */
}
.hero-actions button {
  width:230px;
}

.btn-primary {
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(238, 155, 0, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(238, 155, 0, 0.45);
}

.btn-ghost {
  padding: 0.59rem 1.1rem;
  border-radius: 999px;
 /* background: transparent; */
 background: rgba(0, 18, 25, 0.50);
  border: 1px solid rgba(148, 210, 189, 0.5);
  color: var(--accent);
  font-size: 0.92rem;
  text-decoration:double;
  font-weight:600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.btn-ghost span {
  font-size: 1.1rem;
}

.btn-ghost:hover {
  background: rgba(10, 147, 150, 0.2);
  border-color: rgba(148, 210, 189, 0.8);
  transform: translateY(-2px);
}

.hero-note {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  opacity: 0.85;
}

.hero-note span {
  color: var(--secondary);
  font-weight: 600;
}

/* Hero visual */

.hero-visual {
  position: relative;
}

.hero-card {
  background: linear-gradient(145deg, #021b25, var(--bg));
  border-radius: 24px;
  padding: 1.5rem;
  border: 1px solid rgba(148, 210, 189, 0.35);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  display: grid;
  grid-template-rows: auto auto 1fr;
  gap: 1rem;
  height: 100%;
}

/* Compact variant for a minimal featured card */
.hero-card-minimal {
  padding: 0.65rem;
  border-radius: 18px;
  border: 1px solid rgba(148, 210, 189, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.hero-card-minimal .hero-thumbnail .hero-thumbnail-main {
  height: 160px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-image: none; /* override any global hero background */
  position: relative;
  overflow: hidden;
}

/* Image inside minimal card should fully cover */
.hero-card-minimal .hero-thumbnail .hero-thumbnail-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Slightly smaller play button for the minimal card */
.hero-card-minimal .hero-play {
  right: 10px;
  bottom: 10px;
  width: 38px;
  height: 38px;
  font-size: 1rem;
  z-index: 3; /* ensure it sits above the image */
}

/* If the minimal card is present, hide the extra meta/metrics if they remain */
.hero-minimal .hero-meta,
.hero-minimal .hero-metrics,
.hero-minimal .hero-card-header {
  display: none;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.hero-card-client {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--secondary);
}

.hero-card-pill {
  font-size: 0.7rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(238, 155, 0, 0.12);
  color: var(--accent);
  border: 1px solid rgba(238, 155, 0, 0.42);
}

.hero-thumbnail {
  margin-top: 0.4rem;
  background: radial-gradient(circle at top, #fdfaf3, #f0e0b6);
  border-radius: 18px;
  padding: 0.6rem;
  position: relative;
  overflow: hidden;
}

    .hero-thumbnail-main {
      height: 190px;
      border-radius: 12px;
      background-image: linear-gradient(to bottom right, rgba(0, 18, 25, 0.3), rgba(0, 0, 0, 0.75)),
        url("assets/hero-featured.svg");
      background-size: cover;
      background-position: center;
      position: relative;
    }.hero-play {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0, 18, 25, 0.88);
  border: 1px solid rgba(148, 210, 189, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.1rem;
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: #554728;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-metrics {
  margin-top: 0.8rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  font-size: 0.75rem;
}

.metric {
  background: rgba(0, 18, 25, 0.85);
  border-radius: 12px;
  padding: 0.6rem 0.7rem;
  border: 1px solid rgba(148, 210, 189, 0.35);
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.7rem;
  margin-bottom: 0.15rem;
}

.metric-value {
  font-weight: 600;
  color: var(--secondary);
}

/* Layout for sections */

main {
  flex: 1;
    background: radial-gradient(circle at top, rgba(10, 147, 150, 0.18), var(--bg));
}

section {
  padding: 3rem 1.25rem;
}

section[aria-label="Hero"] {
  background-image: 
    linear-gradient(135deg, 
      rgba(0, 18, 25, 0.92) 0%, 
      rgba(0, 18, 25, 0.72) 35%,
      rgba(0, 18, 25, 0.65) 65%,
      rgba(0, 18, 25, 0.85) 100%
    ),
    url("assets/carolina-visuals-banner.jpg");
  background-size: cover;
  /* Use a centered default so the focal point isn't pushed too low */
  background-position: center 35%;
}

/* For ultra-wide displays (≥1980px), show lower area of the image */
@media (min-width: 1980px) {
  section[aria-label="Hero"] {
    /* Reveal lower portion of the hero image on very wide monitors */
    background-position: 25% 25%;
  }
}

/* Disable fixed background on small viewports to avoid rendering/cropping issues */
@media (max-width: 800px) {
  section[aria-label="Hero"] {
    background-attachment: scroll;
  }
}
@MEDIA (max-width: 1160px){
   .nav-inner {
  padding: 0.75rem 1.25rem;
  }
}

/* Hide the minimal hero visual on narrow viewports (≤1023px) */
@media (max-width: 1023px) {
  .hero-visual.hero-minimal {
    display: none;
  }

  /* Stack hero content, center it, and give the copy a wider column */
  .hero {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    justify-items: center; /* centers grid children horizontally */
    text-align: center; /* center headings and copy */
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Make the inner content take up ~70% of the viewport (capped by max-width) */
  .hero > div {
    width: 70vw;
    max-width: 820px;
  }

  .hero h1,
  .hero-sub,
  .hero-note {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Center hero-actions and remove the gap between the two buttons for medium-small screens (481px - 1023px) */
@media (max-width: 1023px) {
  .hero .hero-actions {
    justify-content: center;
    gap: 0; /* no spacing between the two buttons */
  }
  .hero .hero-actions button {
    margin: 5px 10px;
  }
}

/* On smaller phones, use a wider content column (~90% of viewport) */
@media (max-width: 480px) {
  .hero > div {
    width: 90vw;
    max-width: 760px;
  }
  .hero {
    padding-top: 2.25rem;
    padding-bottom: 2rem;
  }
  .hero .hero-actions button {
    margin: 5px 0px;
  }
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}
.section-inner h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.section-header {
  margin-bottom: 1.8rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: flex-end;
}

.section-title-block h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.section-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  color: var(--secondary);
  margin-bottom: 0.4rem;
}

.section-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 100%;
}

.section-tagline {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  text-align:center;
}
.portfolio .section-tagline {
  display: none;
}
.pricing .section-tagline{
    margin-bottom:1rem;
}

/* Show tagline on pricing page and center it under the tabs */
.pricing .section-tagline {
  display: block; /* overrides the default hidden state for the pricing page */
  text-align: center;
  margin-top: 10px;
}

.section-tagline span {
  color: var(--secondary);
  font-weight: 600;
}
/* About section */

.about {
  background: var(--bg);
  
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.about-card {
  background: rgba(0, 18, 25, 0.8);
  border-radius: 16px;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(148, 210, 189, 0.25);
  font-size: 0.86rem;
}

.about-card-title {
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--secondary);
}

.about-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.area-pill {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.35rem;
}

.area-pill span {
  border-radius: 999px;
  background: rgba(10, 147, 150, 0.2);
  border: 1px solid rgba(148, 210, 189, 0.4);
  padding: 0.2rem 0.55rem;
  font-size: 0.7rem;
}

.about-aside {
  background: linear-gradient(150deg, rgba(233, 216, 166, 0.18), rgba(0, 18, 25, 0.96));
  border-radius: 20px;
  padding: 1.2rem 1.3rem 1.3rem;
  border: 1px solid rgba(233, 216, 166, 0.3);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
}

.about-aside h3 {
  font-size: 1rem;
  margin-bottom: 0.4rem;
}

.about-aside p {
  font-size: 0.85rem;
  color: #f7f3e4;
  margin-bottom: 0.75rem;
}

.about-bullets {
  list-style: none;
  font-size: 0.84rem;
  color: #f7f3e4;
  margin-bottom: 0.9rem;
}

.about-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
}

.about-bullets span {
  font-size: 1rem;
  color: var(--accent);
  margin-top: -1px;
}

.about-footnote {
  font-size: 0.75rem;
  color: #f7f3e4;
  opacity: 0.85;
}

/* Pricing section */

.pricing {
  /* background: radial-gradient(circle at top, rgba(10, 147, 150, 0.18), var(--bg)); */
}

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom:2rem;
}

.tab-button {
  padding: .55rem 2rem .75rem 2rem;
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 999px;
}

.tab-button:hover {
  background: rgba(238, 155, 0, 0.1);
  transform: translateY(-2px);
}

.tab-button.active {
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 4px 12px rgba(238, 155, 0, 0.3);
}

.pricing-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.pricing-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

/* Stack plans vertically and make them more compact on narrow viewports */
@media (min-width: 481px) and (max-width: 880px) {
  .pricing-grid,
  .pricing-footnote {
    display: block;
    width: 90%;
    margin: 0 auto; /* center the pricing column */
    text-align:center;
  }

  /* Make each plan a regular block so content flows naturally and cards are not forced to equal height
     Center each article card within the column but keep the card text left-aligned */
  .pricing-grid .plan {
    display: block;
    width: 90%;
    max-width: 680px;
    margin: 0 auto 1rem;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
    transform: none;
    text-align: left; /* keep content aligned to the left inside each centered card */
  }

  .pricing-grid .plan:hover {
    transform: none;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
  }

  /* Place the CTA directly after the content instead of pinned to the bottom */
  .pricing-grid .plan .plan-cta {
    margin-top: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: flex-start;
  }

  /* Slightly reduce typographic sizes so cards don't stretch as much */
  .pricing-grid .plan .plan-price {
    font-size: 1.25rem;
  }

  .pricing-grid .plan .plan-tagline,
  .pricing-grid .plan .plan-features {
    font-size: 0.86rem;

  }
}

    .plan {
      background: rgba(0, 18, 25, 0.9);
      border-radius: 20px;
      padding: 1.4rem 1.3rem 1.3rem;
      border: 1px solid rgba(148, 210, 189, 0.35);
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      position: relative;
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .plan:hover {
      transform: scale(1.05);
      box-shadow: 0 0 30px rgba(238, 155, 0, 0.4), 0 20px 52px rgba(0, 0, 0, 0.9);
    }    .plan.featured {
      border-color: rgba(238, 155, 0, 0.9);
      box-shadow: 0 20px 52px rgba(0, 0, 0, 0.9);
      background: linear-gradient(150deg, rgba(238, 155, 0, 0.1), rgba(0, 18, 25, 0.96));
      transition: transform 0.4s ease, box-shadow 0.4s ease;
    }

    .plan.featured:hover {
      transform: scale(1.05);
      box-shadow: 0 0 40px rgba(238, 155, 0, 0.6), 0 20px 60px rgba(0, 0, 0, 0.95);
    }.plan-badge {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(238, 155, 0, 0.14);
  color: var(--accent);
  border-radius: 999px;
  padding: 0.2rem 0.6rem;
  border: 1px solid rgba(238, 155, 0, 0.5);
}

.plan-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.1rem;
}

.plan-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
}

.plan-price {
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 0.1rem;
}

.plan-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.plan-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.plan-features {
  list-style: none;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.9rem;
}

.plan-features li {
  display: flex;
  gap: 0.4rem;
 /* margin-bottom: 0.35rem; */
}

.plan-features span {
  font-size: 0.9rem;
  color: var(--secondary);
  margin-top: 0.05rem;
}

.plan-cta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--secondary);
}

.plan-cta button {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--text-dark);
  transition: background 0.12s ease, transform 0.12s ease;
}

.plan.featured .plan-cta button {
  background: var(--accent);
  color: var(--text-dark);
}

.plan-cta button:hover {
 background: var(--accent-soft);
  transform: translateY(-1px);
}

.plan.featured .plan-cta button:hover {
  /* background: #0c7283; */
  color: var(--bg);
  background:var(--accent-soft);
}

.pricing-footnote {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align:center;
}

.pricing-footnote span {
  color: var(--secondary);
  font-weight: 600;
}

/* Portfolio section */

.portfolio {
  background: linear-gradient(180deg, var(--bg), #020a0f);
}

/* Portfolio video embed */
.portfolio-video {
  width: 100%;
  margin: .75rem auto;
  display: flex;
  justify-content: center;
}
.portfolio-video .video-wrap {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 18px;
}
.portfolio-video .video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  border-radius: 18px;
}

/* On larger screens make it half the section width */
@media (min-width: 880px) {
  .portfolio-video {
    width: 100%;
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  /*gap: 2rem;*/
}

.portfolio-masonry {
display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-areas:
    "hero side";
  gap: 0.75rem;
}

.portfolio-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  min-height: 260px;
  border: 1px solid rgba(148, 210, 189, 0.3);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.8);
}

.portfolio-tile.large {
  grid-column: span 2;
  min-height: 210px;
  grid-column: 1;
  grid-row: 1 / span 2; /* makes it tall and keeps right side stacked */
}
.portfolio-tile.small1 {
  min-height:300px;
}
.portfolio-tile.small2 {
  min-height:180px;
}


.portfolio-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.1);
  transform: scale(1.02);
}

.portfolio-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.7rem;
  background: rgba(0, 18, 25, 0.84);
  border-radius: 999px;
  padding: 0.22rem 0.65rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  border: 1px solid rgba(243, 182, 64, 0.6);
}

/* Slideshow inside the large portfolio tile */
.portfolio-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.portfolio-slideshow .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.15) contrast(1.1);
  transform: scale(1.02);
  opacity: 0;
  transition: opacity 600ms ease-in-out, transform 800ms ease;
}
.portfolio-slideshow .slide.active {
  opacity: 1;
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .portfolio-slideshow .slide,
  .portfolio-slideshow .slide.active {
    transition: none !important;
  }
}

.portfolio-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* On smaller screens, place the large tile as a full-width row and
   show the two small tiles side-by-side underneath it */
@media (max-width: 880px) {
  .portfolio-masonry {
    grid-template-columns: 1fr 1fr; /* two columns for the small items */
    gap: 0.75rem;
  }

  .portfolio-tile.large {
    grid-column: 1 / -1; /* span both columns (full width) */
    grid-row: auto; /* don't occupy extra rows */
    min-height: 350px;
  }

  /* ensure the two small tiles sit side-by-side underneath */
  .portfolio-tile.small1 {
    grid-column: 1 / 2;
    min-height:200px;
  }
  .portfolio-tile.small2 {
    grid-column: 2 / 3;
    min-height:200px;
  }
  nav{
  padding: 5px 0px;
  }
}

.portfolio-copy {
  font-size: 0.92rem;
  color: var(--text-muted);
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portfolio-tags span {
  border-radius: 999px;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  border: 1px solid rgba(148, 210, 189, 0.5);
  color: var(--secondary);
  background: rgba(0, 18, 25, 0.9);
}

.portfolio-cta {
  display: flex;
  display: none !important;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.portfolio-cta button {
  align-self: flex-start;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--accent);
  color: var(--text-dark);
  box-shadow: 0 14px 35px rgba(238, 155, 0, 0.45);
  transition: background 0.12s ease, transform 0.12s ease;
}

.portfolio-cta button:hover {
  background: var(--accent-soft);
  transform: translateY(-2px);
}

/* Footer */

footer {
  background: #00060a;
  padding: 1.6rem 1.25rem 1.8rem;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
}

/* Footer link underline on hover (matches header nav links) */
.footer-links a {
  position: relative;
  padding-bottom: 0.15rem;
  display: inline-block;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Responsive tweaks */

@media (max-width: 880px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
  }

  header {
    position: static;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  nav ul {
    flex: 1 1 100%;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 0.4rem;
  }
  .nav-inner {
    flex-direction: column;
    align-items: center;
    gap:.3rem;
  }
  .nav-inner ul {
    margin-top:0px;
  }
}

/* FAQ Section */

.faq-section {
  padding: 3rem 1.25rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: rgba(0, 18, 25, 0.8);
  border-left: 3px solid var(--accent);
  padding: 1.5rem;
  border-radius: 8px;
}

.faq-item h3 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Contact Form Section */

.contact-form-section {
  background: var(--bg);
  padding: 3rem 1.25rem;
}

.contact-form-section h2 {
  margin-bottom: 2rem;
}

.contact-form {
  /* take the full width of the parent .section-inner */
  width: 100%;
  max-width: none;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(148, 210, 189, 0.35);
  border-radius: 8px;
  background: rgba(0, 18, 25, 0.9);
  color: var(--text);
  font-family: inherit;
  font-size: 0.9rem;
  width: 100%;
}

.form-group textarea {
  /* textarea can be resized vertically */
  min-height: 150px;
  resize: vertical;
}

/* Make the message group span both columns so the textarea fills the form */
.contact-form .form-group:nth-of-type(3) {
  grid-column: 1 / -1;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(238, 155, 0, 0.1);
}

/* Responsive: stack on smaller screens */
@media (max-width: 880px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

.submit-btn {
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.9rem;
  line-height:1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(238, 155, 0, 0.25);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
  /* place the button across the form grid */
  grid-column: 1 / -1;
  justify-self: end; /* align to the right on wide screens */
}

.submit-btn:hover {
  background: #f3b640;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(238, 155, 0, 0.35);
}

/* Make button full width on small screens */
@media (max-width: 880px) {
  .submit-btn {
    justify-self: stretch;
  }
}

@media (max-width: 880px) {
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-inner {
    justify-content: space-between;
  }

  nav ul {
    justify-content: flex-start;
    gap: 1rem;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2.25rem;
  }

  section {
    padding: 2.25rem 1.1rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .portfolio-tile.large {
    grid-column: 1 / -1; /* span both columns (full width) */
    grid-row: auto; /* don't occupy extra rows */
    min-height: 250px;
  }

  /* Footer: stack each inner div and center text on very small screens */
  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  .footer-inner > div {
    width: 100%;
    text-align: center;
  }

  /* Ensure footer links also take a full row and center their items */
  .footer-links {
    width: 100%;
    justify-content: center;
  }

  .footer-links a {
    display: inline-block; /* preserve spacing and allow wrapping centered */
  }
}

/* Certification callout (About header) and pricing ribbon */
.cert-callout {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(233, 216, 166, 0.3);
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--text);
  font-size: 14px;
  width: 100%;
  max-width: none;
  margin-top: 1rem;
}
.cert-icon { flex: 0 0 auto; color: var(--accent); }
.cert-body { display: inline-block; }
.cert-title { font-weight:700; line-height:1; }
.cert-sub { font-size:13px; color: var(--text-muted); margin-top:2px; }

/* Staging Add-on Callout (Pricing page) */
.staging-addon-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 2.5rem auto;
  padding: 1rem 1.2rem;
  background: linear-gradient(150deg, rgba(233, 216, 166, 0.12), rgba(0, 18, 25, 0.85));
  border: 1px solid rgba(233, 216, 166, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  width: 100%;
}

/* Custom Options Callout (Commercial tab) */
.custom-options-callout {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 2.5rem auto;
  padding: 1rem 1.2rem;
  background: linear-gradient(150deg, rgba(79, 157, 105, 0.12), rgba(0, 18, 25, 0.85));
  border: 1px solid rgba(79, 157, 105, 0.25);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  max-width: 700px;
  width: 100%;
}
@media (min-width: 481px) and (max-width: 880px) {
  .staging-addon-callout,
  .custom-options-callout {
    width: 81%;
    max-width: 900px;
  }
}


.addon-icon { 
  flex: 0 0 auto; 
  color: var(--accent);
}

.addon-body { 
  display: inline-block;
}

.addon-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 4px;
}

.addon-title { 
  font-weight: 700; 
  line-height: 1;
  color: var(--text);
}

.addon-price {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  white-space: nowrap;
  flex-shrink: 0;
}

.addon-price span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.addon-sub { 
  font-size: 13px; 
  color: var(--text-muted); 
  margin-top: 4px;
}

.plan-ribbon { position: absolute; top:12px; right:12px; background: var(--accent); color: var(--text-dark); padding:6px 10px; border-radius:6px; font-weight:700; font-size:12px; box-shadow: 0 6px 12px rgba(0,0,0,0.25); }
.plan { position: relative; }

.portfolio-drone { background: rgba(31,123,214,0.12); color: #1f4f8a; padding:4px 8px; border-radius:999px; font-size:12px; margin-left:8px; font-weight:600; vertical-align:middle; }

.footer-badge { font-size:13px; color:var(--text); margin-left:12px; }

@media (max-width:640px) {
  .cert-callout { gap:8px; padding:8px 10px; font-size:13px; border-radius:8px; }
  .cert-sub { display:none; }
  .plan-ribbon { position:static; display:inline-block; margin-bottom:10px; }
}

/* Contact form: make message textarea taller by default */
.contact-form textarea[name="message"] {
  height: 275px;
  min-height: 275px;
}