:root {
  color-scheme: dark;
  --bg: #05070a;
  --ink: #f5f7fb;
  --muted: #b9b0a5;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(19, 18, 16, 0.78);
  --panel-strong: rgba(24, 23, 20, 0.94);
  --cyan: #ffad1f;
  --blue: #ff7a00;
  --red: #ffcf58;
  --silver: #f1e5d2;
  --orange: #ff9800;
  --orange-deep: #d85f00;
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 50;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 48px);
  background: linear-gradient(180deg, rgba(5, 7, 10, 0.78), rgba(5, 7, 10, 0));
  transition: background 220ms ease, border-color 220ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.is-solid {
  background: rgba(5, 7, 10, 0.82);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 720;
}

.brand-mark {
  overflow: visible;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 0.72rem;
  letter-spacing: 0;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a,
.site-footer a {
  text-decoration: none;
}

.nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.header-cta {
  justify-self: end;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 8px 15px;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: clip;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 112%;
  object-fit: cover;
  transform: translateY(calc(var(--scroll, 0) * 90px));
  filter: saturate(0.95) contrast(1.06);
}

.hero-overlay {
  z-index: -1;
  background:
    radial-gradient(circle at 78% 52%, rgba(255, 152, 0, 0.28), transparent 28rem),
    linear-gradient(90deg, rgba(5, 7, 10, 0.98) 0%, rgba(5, 7, 10, 0.8) 42%, rgba(5, 7, 10, 0.34) 100%),
    linear-gradient(180deg, rgba(5, 7, 10, 0.28) 0%, rgba(5, 7, 10, 0.86) 100%);
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.68fr);
  align-items: end;
  gap: clamp(28px, 5vw, 76px);
  padding: 150px 0 68px;
}

.hero-copy-block {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 760;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(3.4rem, 7vw, 7rem);
  line-height: 0.93;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 4.5rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.28rem;
}

.hero-copy {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--silver);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 11px 18px;
  font-weight: 720;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.button.primary {
  background: linear-gradient(180deg, #ffd36a, var(--orange));
  color: var(--bg);
  border-color: rgba(255, 207, 88, 0.86);
  box-shadow: 0 12px 34px rgba(255, 152, 0, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
}

.button:hover,
.header-cta:hover {
  border-color: rgba(255, 173, 31, 0.78);
}

.hero-actions,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-stats {
  grid-column: 1 / -1;
  gap: 16px;
  color: var(--muted);
  max-width: 880px;
}

.hero-stats span {
  padding: 12px 16px;
  border-left: 1px solid rgba(255, 173, 31, 0.42);
  background: rgba(255, 255, 255, 0.035);
}

.character-hero {
  position: relative;
  margin: 0;
  align-self: end;
  isolation: isolate;
}

.character-hero::before,
.character-hero::after {
  content: "";
  position: absolute;
  inset: auto 2% 4% 2%;
  height: 28%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 152, 0, 0.46), transparent 68%);
  filter: blur(12px);
  z-index: -1;
}

.character-hero::after {
  inset: 12% 8% auto;
  height: 54%;
  border: 1px solid rgba(255, 173, 31, 0.42);
  background: transparent;
  filter: drop-shadow(0 0 28px rgba(255, 152, 0, 0.52));
}

.character-hero img {
  width: min(440px, 100%);
  margin-left: auto;
  border-radius: 50%;
  filter: drop-shadow(0 22px 48px rgba(0, 0, 0, 0.58));
}

.hero-stats strong {
  display: block;
  color: var(--ink);
}

.scroll-story,
.services,
.ideal-clients,
.pricing,
.outcomes,
.testimonials,
.proof,
.faq,
.contact,
.legal {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(86px, 12vw, 150px) 0;
}

.story-intro,
.section-heading {
  max-width: 820px;
  margin-bottom: 54px;
}

.story-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 90px);
  align-items: start;
  min-height: 980px;
}

.story-line {
  grid-row: 1 / span 4;
  position: sticky;
  top: 92px;
  width: 100%;
  height: calc(100svh - 130px);
  align-self: start;
  overflow: visible;
}

.story-line path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 6;
  stroke-linecap: round;
}

.story-line .base-line {
  stroke: rgba(255, 173, 31, 0.18);
  stroke-width: 3;
  filter: none;
}

.story-line [data-draw-line] {
  stroke-dasharray: var(--path-length, 1);
  stroke-dashoffset: calc(var(--path-length, 1) * (1 - var(--draw-progress, 0)));
  opacity: 0.92;
  filter: drop-shadow(0 0 16px rgba(255, 152, 0, 0.64));
}

.story-card {
  align-self: start;
  min-height: 190px;
  margin: 0 0 70px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(20, 19, 16, 0.66);
  backdrop-filter: blur(18px);
  opacity: 0.58;
  transform: translateY(30px);
  transition: opacity 500ms ease, transform 500ms ease, border-color 500ms ease;
}

.story-card.is-visible {
  opacity: 1;
  transform: translateY(0);
  border-color: rgba(255, 173, 31, 0.48);
}

.story-number,
.plan {
  color: var(--red);
  font-weight: 800;
}

.story-card p,
.service-card p,
.price-card p,
.outcome-card p,
.proof-list,
.faq p,
.contact p,
.legal p,
.legal li {
  color: var(--muted);
}

.service-grid,
.ideal-grid,
.pricing-grid,
.outcomes-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.ideal-card,
.price-card,
.outcome-card,
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
  padding: 26px;
}

.ideal-clients {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ideal-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ideal-card {
  background: linear-gradient(180deg, rgba(255, 173, 31, 0.09), rgba(24, 23, 20, 0.82));
}

.ideal-card span {
  display: inline-flex;
  margin-bottom: 32px;
  color: var(--red);
  font-weight: 850;
}

.ideal-card p {
  color: var(--muted);
}

.outcomes-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.testimonial-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.testimonial-card {
  margin: 0;
  background: rgba(24, 23, 20, 0.82);
}

.testimonial-card blockquote {
  margin: 0;
  color: var(--silver);
  font-size: 1.05rem;
}

.testimonial-card figcaption {
  display: grid;
  gap: 2px;
  margin-top: 22px;
  color: var(--muted);
}

.testimonial-card figcaption strong {
  color: var(--ink);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 34px;
  border-radius: 50%;
  background: rgba(255, 152, 0, 0.13);
  color: var(--cyan);
  font-size: 1.2rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-card.featured {
  border-color: rgba(255, 173, 31, 0.56);
  box-shadow: 0 0 70px rgba(255, 152, 0, 0.15);
}

.price-card h3 {
  font-size: 2.8rem;
}

.price-card ul {
  padding-left: 20px;
  color: var(--silver);
}

.price-card .button {
  margin-top: auto;
}

.proof {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(24px, 7vw, 80px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.proof-list {
  display: grid;
  gap: 18px;
}

.proof-list p {
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 760;
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 7vw, 90px);
}

.booking-panel {
  display: grid;
  align-content: center;
  gap: 16px;
  min-height: 300px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 82% 16%, rgba(255, 173, 31, 0.16), transparent 18rem),
    var(--panel-strong);
}

.booking-panel p {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
}

.booking-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 28px;
  padding: 44px clamp(20px, 4vw, 48px);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-brand {
  color: var(--ink);
  margin-bottom: 14px;
}

.site-footer nav {
  display: grid;
  gap: 10px;
}

.copyright {
  grid-column: 1 / -1;
  margin: 0;
  color: #8c8173;
}

.legal-page {
  background:
    radial-gradient(circle at 80% 8%, rgba(255, 152, 0, 0.16), transparent 30rem),
    var(--bg);
}

.portfolio-page {
  background:
    radial-gradient(circle at 82% 8%, rgba(255, 152, 0, 0.18), transparent 28rem),
    radial-gradient(circle at 12% 32%, rgba(255, 207, 88, 0.07), transparent 24rem),
    var(--bg);
}

.portfolio-hero,
.portfolio-work,
.portfolio-capabilities,
.portfolio-contact {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.portfolio-hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: clamp(32px, 7vw, 86px);
  padding: 132px 0 78px;
}

.portfolio-hero-copy {
  min-width: 0;
}

.portfolio-hero h1 {
  max-width: 720px;
  font-size: clamp(2.65rem, 4.8vw, 5.15rem);
  line-height: 0.98;
}

.portfolio-hero p {
  max-width: 680px;
  color: var(--silver);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.portfolio-hero-card {
  position: relative;
  min-height: 520px;
  margin: 0;
  padding: 26px;
  border: 1px solid rgba(255, 173, 31, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 173, 31, 0.14), rgba(24, 23, 20, 0.82)),
    var(--panel-strong);
  overflow: hidden;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.34);
}

.portfolio-hero-card::before {
  content: "";
  position: absolute;
  inset: 16% -28% auto auto;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 173, 31, 0.32);
  border-radius: 50%;
  box-shadow: 0 0 54px rgba(255, 152, 0, 0.22);
}

.portfolio-hero-card > img {
  position: absolute;
  right: 2%;
  bottom: 16px;
  z-index: 4;
  width: min(56%, 300px);
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.72));
}

.portfolio-preview-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 468px;
}

.preview-shot {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.38);
}

.preview-shot-main {
  top: 4%;
  left: 0;
  width: 78%;
  height: 43%;
  object-position: 35% 35%;
  filter: saturate(0.95) contrast(1.04) brightness(0.86);
}

.preview-shot-zye {
  top: 34%;
  right: 0;
  width: 67%;
  height: 38%;
  object-position: 48% 42%;
  filter: saturate(0.94) contrast(1.05) brightness(0.72);
}

.preview-shot-budget {
  left: 7%;
  bottom: 2%;
  width: 62%;
  height: 34%;
  object-position: 34% 43%;
  filter: saturate(0.92) contrast(1.05) brightness(0.72);
}

.portfolio-work {
  padding: clamp(74px, 10vw, 130px) 0;
}

.case-study-grid {
  display: grid;
  gap: 18px;
}

.case-study-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(24, 23, 20, 0.84);
  overflow: hidden;
}

.case-study-card.featured-case {
  border-color: rgba(255, 173, 31, 0.46);
}

.case-visual {
  position: relative;
  min-height: 330px;
  padding: 18px;
  background:
    radial-gradient(circle at 70% 24%, rgba(255, 173, 31, 0.28), transparent 17rem),
    linear-gradient(135deg, rgba(255, 152, 0, 0.18), rgba(5, 7, 10, 0.72));
  overflow: hidden;
}

.case-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.08), rgba(5, 7, 10, 0.54)),
    linear-gradient(90deg, rgba(255, 152, 0, 0.2), transparent 62%);
  pointer-events: none;
}

.case-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.06) brightness(0.72);
  transform: scale(1.015);
}

.tuesday-visual img {
  object-position: 45% 40%;
}

.zye-visual img {
  object-position: 48% 46%;
  filter: saturate(0.92) contrast(1.08) brightness(0.66);
}

.budget-visual img {
  object-position: 38% 42%;
  filter: saturate(0.9) contrast(1.08) brightness(0.68);
}

.case-kicker {
  position: relative;
  z-index: 2;
  display: inline-flex;
  border: 1px solid rgba(255, 173, 31, 0.42);
  border-radius: 999px;
  padding: 7px 12px;
  color: var(--cyan);
  background: rgba(5, 7, 10, 0.58);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 760;
}

.case-copy {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vw, 42px);
}

.case-copy p {
  color: var(--muted);
}

.case-copy h3 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.case-list {
  display: grid;
  gap: 8px;
  margin: 10px 0 26px;
  padding-left: 20px;
  color: var(--silver);
}

.case-copy .button {
  align-self: flex-start;
  margin-top: auto;
}

.portfolio-capabilities {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(24px, 7vw, 80px);
  padding: clamp(72px, 10vw, 120px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portfolio-contact {
  padding: clamp(72px, 10vw, 130px) 0;
}

.compact-booking {
  align-content: center;
  min-height: 280px;
}

.compact-booking p {
  color: var(--muted);
}

.legal {
  max-width: 850px;
  padding-top: 150px;
}

.legal h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
}

.legal h2 {
  margin-top: 44px;
  font-size: 1.45rem;
}

.legal .button {
  margin-top: 28px;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 14px 16px 12px;
  }

  .nav {
    grid-column: 1 / -1;
    order: 3;
    display: flex;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding: 2px 0 4px;
    color: var(--silver);
    font-size: 0.82rem;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    flex: 0 0 auto;
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 7px 11px;
    background: rgba(255, 255, 255, 0.045);
  }

  .story-grid,
  .service-grid,
  .ideal-grid,
  .pricing-grid,
  .outcomes-grid,
  .testimonial-grid,
  .proof,
  .contact,
  .portfolio-hero,
  .case-study-card,
  .portfolio-capabilities,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .character-hero {
    order: -1;
    justify-self: center;
    max-width: 320px;
  }

  .portfolio-hero {
    padding-top: 150px;
  }

  .portfolio-hero-card {
    min-height: 470px;
  }

  .portfolio-preview-stack {
    min-height: 414px;
  }

  .story-grid {
    min-height: auto;
    position: relative;
    display: grid;
    gap: 14px;
    padding-left: 0;
  }

  .story-line {
    display: block;
    position: absolute;
    top: 34px;
    bottom: auto;
    left: 50%;
    width: min(84vw, 330px);
    height: calc(100% - 92px);
    grid-row: auto;
    transform: translateX(-50%);
    opacity: 0.72;
    z-index: 0;
    pointer-events: none;
  }

  .story-line path {
    stroke-width: 13;
  }

  .story-line .base-line {
    stroke-width: 7;
  }

  .story-card {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    opacity: 1;
    transform: none;
    min-height: 0;
    background: rgba(20, 19, 16, 0.58);
    backdrop-filter: blur(12px);
  }
}

@media (max-width: 560px) {
  .hero-inner,
  .scroll-story,
  .services,
  .ideal-clients,
  .pricing,
  .proof,
  .faq,
  .contact,
  .portfolio-hero,
  .portfolio-work,
  .portfolio-capabilities,
  .portfolio-contact,
  .legal {
    width: min(100% - 28px, var(--max));
  }

  h1 {
    font-size: 3rem;
  }

  .hero-stats span {
    width: 100%;
  }

  .site-footer {
    padding-inline: 14px;
  }

  .case-visual {
    min-height: 250px;
  }

  .portfolio-hero-card img {
    right: 2%;
    bottom: 12px;
    width: min(62%, 250px);
  }

  .preview-shot-main {
    width: 86%;
    height: 35%;
  }

  .preview-shot-zye {
    top: 31%;
    width: 78%;
    height: 34%;
  }

  .preview-shot-budget {
    width: 72%;
    height: 31%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .hero-media img {
    transform: none;
  }
}
