/* ── ICED MEDIA — V2 ─────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500;1,600&family=Jost:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'Kormelink';
  src: url('brand-assets/fonts/Fonts/WT_Kormelink_Family_WEB/1_WT_Kormelink_Roman/WT_Kormelink_Roman_WEB_1.1.woff2') format('woff2'),
       url('brand-assets/fonts/Fonts/WT_Kormelink_Family_WEB/1_WT_Kormelink_Roman/WT_Kormelink_Roman_WEB_1.1.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Kormelink';
  src: url('brand-assets/fonts/Fonts/WT_Kormelink_Family_WEB/2_WT_Kormelink_Italic/WT_Kormelink_Italic.woff2') format('woff2'),
       url('brand-assets/fonts/Fonts/WT_Kormelink_Family_WEB/2_WT_Kormelink_Italic/WT_Kormelink_Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --poppy:        #B25127;
  --poppy-dim:    rgba(178,81,39,0.10);
  --poppy-thin:   rgba(178,81,39,0.06);
  --poppy-dk:     #8F3E1E;

  --white:        #FFFFFF;
  --shell:        #F0EBE6;   /* brand Shell — used for light section backgrounds */
  --cream:        #FAF8F5;
  --cream-mid:    #F3EDE6;
  --cream-deep:   #EAE2D8;

  --ink:          #1C1916;
  --ink-mid:      #5C5650;
  --ink-light:    #9E9890;

  --rule:         #E2DAD1;
  --rule-light:   #EDE9E3;

  --serif:  'Kormelink', 'Cormorant Garamond', Georgia, serif;
  --body:   'Cormorant Garamond', Georgia, serif;
  --sans:   'Jost', Helvetica, sans-serif;

  --shadow-sm:  0 2px 16px rgba(0,0,0,0.05);
  --shadow-md:  0 6px 36px rgba(0,0,0,0.08);
  --shadow-lg:  0 16px 64px rgba(0,0,0,0.11);

  --marquee-h: 40px;
  --nav-expanded-h: 106px; /* logo row + links row */
  --nav-compact-h: 64px;
}

/* ── RESET ────────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; }
ul, ol { list-style: none; }

/* ── GLOBAL ───────────────────────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 60px; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--poppy);
  display: block;
  margin-bottom: 22px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 58px);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.section-title em { font-style: italic; }
.body-text {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink-mid);
  max-width: 500px;
}

/* ── BUTTONS ──────────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--poppy); color: var(--white); border-color: var(--poppy); }
.btn--primary:hover { background: var(--poppy-dk); border-color: var(--poppy-dk); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--rule); }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn--full { width: 100%; justify-content: center; }

/* ════════════════════════════════════════════════════════════════════════════════
   TOP MARQUEE — slides up and out on scroll
════════════════════════════════════════════════════════════════════════════════ */
.top-marquee {
  position: relative;
  height: var(--marquee-h);
  background: var(--poppy);
  overflow: hidden;
  display: flex;
  align-items: stretch;
}
.top-marquee__label {
  flex-shrink: 0;
  padding: 0 28px;
  font-family: var(--sans);
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border-right: 1px solid rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.top-marquee__wrap {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent 0%, white 3%, white 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, white 3%, white 97%, transparent 100%);
}
.top-marquee__track {
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
}
.top-marquee:hover .top-marquee__track { animation-play-state: paused; }
.tname {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.02em;
}
.tsep { font-size: 6px; color: rgba(255,255,255,0.35); flex-shrink: 0; }

/* ════════════════════════════════════════════════════════════════════════════════
   NAV — expands to 2-row centered layout, collapses to 1-row on scroll
════════════════════════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0; right: 0;
  z-index: 200;
  background: rgba(250,248,245,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule-light);
  transition: top 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  will-change: top;
}
/* When marquee has hidden, nav slides up */
.nav.compact {
  top: 0;
  box-shadow: 0 2px 32px rgba(0,0,0,0.07);
  border-color: var(--rule);
}

/* ── Logo row (expanded: centered logo, CTA right) */
.nav__logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px 8px;
  position: relative;
  overflow: hidden;
  max-height: 82px;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}
.nav.compact .nav__logo-row {
  max-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}

/* ── Compact row (hidden by default, appears on scroll) */
.nav__compact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease 0.05s;
}
.nav.compact .nav__compact-row {
  height: var(--nav-compact-h);
  opacity: 1;
}
.nav__compact-logo img {
  height: 34px;
  width: auto;
  display: block;
}
.nav__compact-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav__compact-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color .2s;
}
.nav__compact-links a:hover { color: var(--ink); }
.nav__compact-cta {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--poppy);
  padding: 11px 24px;
  white-space: nowrap;
  transition: background .2s;
}
.nav__compact-cta:hover { background: var(--poppy-dk); }

/* ── Expanded logo */
.nav__logo { display: flex; align-items: center; text-decoration: none; }
.nav__logo-img { height: 52px; width: auto; display: block; transition: opacity .2s; }
.nav__logo:hover .nav__logo-img { opacity: 0.8; }
.nav__cta {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--poppy);
  padding: 12px 26px;
  white-space: nowrap;
  transition: background .2s;
}
.nav__cta:hover { background: var(--poppy-dk); }

/* ── Links row (expanded, centered below logo) */
.nav__links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 44px;
  padding: 0 40px 14px;
  overflow: hidden;
  max-height: 48px;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease;
}
.nav.compact .nav__links-row {
  max-height: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
.nav__links-row a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color .2s;
}
.nav__links-row a:hover { color: var(--ink); }

/* ════════════════════════════════════════════════════════════════════════════════
   HERO — 16:9 image with text layered over
════════════════════════════════════════════════════════════════════════════════ */
.hero {
  margin-top: var(--nav-expanded-h);
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - var(--nav-expanded-h));
  overflow: hidden;
}
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(28,25,22,0.02) 0%,
    rgba(28,25,22,0.36) 50%,
    rgba(28,25,22,0.65) 100%
  );
}
.hero__text {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 5% 7% 6%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-end;
}
.hero__eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.58);
  margin-bottom: 18px;
  display: block;
}
.hero__headline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5.2vw, 80px);
  color: var(--white);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
}
.hero__subhead {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,0.68);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 400px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__ctas .btn--outline {
  color: rgba(255,255,255,0.8);
  border-color: rgba(255,255,255,0.32);
}
.hero__ctas .btn--outline:hover { border-color: rgba(255,255,255,0.65); color: var(--white); }

/* Hero quotes (right column) */
.hero__quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-bottom: 8px; }
.hero-quote { border-top: 1.5px solid rgba(255,255,255,0.25); padding-top: 18px; }
.hero-quote p {
  font-family: var(--body);
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.86);
  line-height: 1.55;
  margin-bottom: 10px;
  font-weight: 300;
}
.hero-quote cite {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.42);
  font-style: normal;
}

/* ════════════════════════════════════════════════════════════════════════════════
   STATS — poppy italic numbers on shell background, no black box
════════════════════════════════════════════════════════════════════════════════ */
.stats-section {
  background: var(--shell);
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 32px;
  gap: 10px;
  border-right: 1px solid var(--rule);
  transition: background 0.3s ease;
}
.stats-item:last-child { border-right: none; }
.stats-item:hover { background: var(--cream-mid); }
.stats-item__num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(44px, 4.5vw, 68px);
  color: var(--poppy);
  line-height: 1;
  display: block;
}
.stats-item__label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  line-height: 1.5;
}

/* ════════════════════════════════════════════════════════════════════════════════
   ABOUT / WHAT WE DO — full-bleed photo with text overlay
════════════════════════════════════════════════════════════════════════════════ */
.about-panel {
  position: relative;
  width: 100%;
  height: 72vh;
  min-height: 520px;
  overflow: hidden;
}
.about-panel__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.9s ease;
}
.about-panel:hover .about-panel__img { transform: scale(1.02); }
.about-panel__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,25,22,0.52);
}
.about-panel__content {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.about-panel__content .eyebrow { color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.about-panel__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.2vw, 58px);
  color: var(--white);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.about-panel__title em { font-style: italic; }
.about-panel__body {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,255,255,0.68);
  max-width: 560px;
  text-align: center;
}
.about-panel__caption {
  position: absolute;
  bottom: 28px;
  right: 40px;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  z-index: 1;
}

/* ════════════════════════════════════════════════════════════════════════════════
   SERVICES
════════════════════════════════════════════════════════════════════════════════ */
.services {
  background: var(--white);
  padding: 128px 0;
  border-top: 1px solid var(--rule-light);
}
.services__head { margin-bottom: 64px; }
.services__head .section-title { margin-bottom: 0; }

/* Partners bar — light, no black */
.partners-bar {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 22px 36px;
  background: var(--shell);
  border: 1px solid var(--rule);
  margin-bottom: 48px;
}
.partners-bar__label {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.partners-bar__logos { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.partners-bar__badge { display: flex; align-items: center; gap: 10px; }
.partners-bar__badge img {
  height: 56px; width: auto; object-fit: contain;
  filter: grayscale(0.2) opacity(0.75);
  transition: filter .25s;
  flex-shrink: 0;
}
.partners-bar__badge:hover img { filter: grayscale(0) opacity(1); }
.partners-bar__badge span {
  font-family: var(--sans);
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-mid);
  white-space: nowrap;
  transition: color .25s;
}
.partners-bar__badge:hover span { color: var(--ink); }

/* Featured AI Search */
.service-featured {
  display: grid;
  grid-template-columns: 1fr 420px;
  border: 1px solid var(--rule);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.service-featured__content { padding: 60px 64px; background: var(--cream); }
.service-featured__content h3 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 40px;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 20px;
}
.service-featured__content > p {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 300;
  color: var(--ink-mid);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 440px;
}

.pill {
  display: inline-block;
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}
.pill--poppy { background: var(--poppy-dim); color: var(--poppy); }
.pill--light { background: var(--cream-mid); color: var(--ink-mid); border: 1px solid var(--rule); }

.service-steps {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin-bottom: 40px;
}
.service-steps li {
  font-family: var(--sans);
  font-size: 13px; font-weight: 500;
  color: var(--ink);
  display: flex; align-items: center; gap: 12px;
}
.service-steps li span {
  font-size: 9px; font-weight: 700;
  color: var(--poppy); letter-spacing: 0.1em;
}

/* AI mockup — light background */
.service-featured__mockup {
  background: var(--cream-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 40px;
  border-left: 1px solid var(--rule);
}
.ai-mockup {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 10px;
  overflow: hidden;
  width: 100%; max-width: 310px;
  box-shadow: var(--shadow-md);
}
.ai-mockup__bar {
  background: var(--cream-mid);
  border-bottom: 1px solid var(--rule);
  padding: 10px 14px;
  display: flex; align-items: center; gap: 8px;
}
.ai-mockup__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); }
.ai-mockup__url { font-size: 10px; color: var(--ink-light); margin-left: 6px; font-family: var(--sans); }
.ai-mockup__body { padding: 18px; }
.ai-mockup__query {
  font-size: 12px; color: var(--ink-mid);
  font-family: var(--sans); font-weight: 300;
  margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-light);
}
.ai-mockup__answer {
  font-size: 12px; color: var(--ink-light);
  font-family: var(--sans); font-weight: 300; line-height: 1.7;
}
.ai-mockup__brand { color: var(--poppy); font-style: normal; font-weight: 500; }
.ai-mockup__sources {
  margin-top: 14px;
  display: flex; gap: 6px; flex-wrap: wrap;
  align-items: center; font-size: 10px; color: var(--ink-light);
}
.ai-mockup__source-pill {
  background: var(--cream-mid); color: var(--ink-mid);
  padding: 3px 9px; border-radius: 100px; font-size: 10px;
  border: 1px solid var(--rule);
}
.ai-mockup__label {
  background: var(--poppy-thin);
  border-top: 1px solid rgba(178,81,39,0.15);
  padding: 10px 14px;
  font-size: 10px; color: var(--poppy);
  font-family: var(--sans); letter-spacing: 0.04em; opacity: 0.9;
}

/* Service cards */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .25s, transform .25s;
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card__top { height: 4px; background: var(--poppy); }
.service-card__body {
  padding: 36px 36px 40px;
  flex: 1; display: flex; flex-direction: column;
}
.service-card__body h4 {
  font-family: var(--serif);
  font-style: italic; font-weight: 400;
  font-size: 28px; color: var(--ink);
  margin-bottom: 14px; line-height: 1.15;
}
.service-card__body > p {
  font-family: var(--body);
  font-size: 16px; font-weight: 300;
  color: var(--ink-mid); line-height: 1.75;
  margin-bottom: 32px;
}
.service-card__badges {
  display: flex; gap: 14px; align-items: center;
  margin-top: auto; padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.service-card__badges img {
  width: auto; height: 34px; object-fit: contain;
  filter: grayscale(1) opacity(0.45);
  transition: filter .25s;
}
.service-card:hover .service-card__badges img { filter: grayscale(0.3) opacity(0.85); }
.service-card__logos-text {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.08em; color: var(--ink-light);
  margin-top: auto; padding-top: 24px;
  border-top: 1px solid var(--rule);
}

/* ════════════════════════════════════════════════════════════════════════════════
   TESTIMONIALS
════════════════════════════════════════════════════════════════════════════════ */
.testimonials {
  background: var(--shell);
  padding: 128px 0;
  border-top: 1px solid var(--rule);
}
.testimonials__head { margin-bottom: 64px; }
.testimonials__sub { font-family: var(--body); font-size: 17px; font-weight: 300; color: var(--ink-mid); margin-top: -12px; }
.testimonials__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tcard {
  padding: 48px 44px;
  background: var(--white);
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  transition: box-shadow .25s;
}
.tcard:hover { box-shadow: var(--shadow-md); }
.tcard--accent {
  background: var(--cream);
  border-color: var(--rule);
  border-top: 3px solid var(--poppy);
}
.tcard__client {
  font-family: var(--sans);
  font-weight: 600; font-size: 9px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--poppy); margin-bottom: 24px;
}
.tcard blockquote {
  font-family: var(--serif);
  font-style: italic; font-weight: 400;
  font-size: 21px; color: var(--ink);
  line-height: 1.6; margin-bottom: 28px; flex: 1;
}
.tcard cite {
  font-family: var(--sans);
  font-size: 11px; font-weight: 400;
  color: var(--ink-light); font-style: normal; letter-spacing: 0.06em;
}

/* ════════════════════════════════════════════════════════════════════════════════
   CASE STUDIES
════════════════════════════════════════════════════════════════════════════════ */
.work {
  background: var(--white);
  padding: 128px 0;
  border-top: 1px solid var(--rule-light);
}
.work__head {
  display: flex; align-items: baseline;
  justify-content: space-between; margin-bottom: 48px;
}
.work__head .section-title { margin-bottom: 0; }
.work__all {
  font-family: var(--sans); font-weight: 500;
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--poppy); white-space: nowrap; transition: opacity .2s;
}
.work__all:hover { opacity: 0.7; }
.work__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 24px; }
.work-card {
  display: block; background: var(--cream);
  border: 1px solid var(--rule); overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.work-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.work-card__img { overflow: hidden; aspect-ratio: 16/10; position: relative; }
.work-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.work-card:hover .work-card__img img { transform: scale(1.05); }
.work-card__body {
  padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.work-card__body h3 {
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 7px;
}
.work-card__body p { font-family: var(--body); font-size: 15px; font-weight: 300; color: var(--ink-mid); line-height: 1.6; }
.work-card__arrow { font-size: 18px; color: var(--poppy); flex-shrink: 0; transition: transform .2s; }
.work-card:hover .work-card__arrow { transform: translateX(5px); }
.work__grid--secondary .work-card .work-card__img { aspect-ratio: 16/7; }

/* Stat overlay — light */
.work-card__stat {
  position: absolute; top: 18px; right: 18px;
  background: rgba(250,248,245,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--rule);
  padding: 14px 18px;
  display: flex; flex-direction: column; align-items: flex-end; gap: 3px;
}
.work-card__stat-num {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 34px; color: var(--ink); line-height: 1; display: block;
}
.work-card__stat-label {
  font-family: var(--sans); font-size: 9px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mid); white-space: nowrap;
}
.work-card__stat--ph .work-card__stat-num { color: var(--poppy); opacity: 0.8; }
.work-card__stat--ph { border-color: rgba(178,81,39,0.2); background: rgba(178,81,39,0.04); }

/* ════════════════════════════════════════════════════════════════════════════════
   GEO AUDIT / FORM
════════════════════════════════════════════════════════════════════════════════ */
.cta {
  background: var(--cream);
  padding: 128px 0;
  border-top: 1px solid var(--rule);
}
.cta__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 60px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: start;
}
.cta__headline {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(38px, 4.5vw, 58px);
  color: var(--ink); line-height: 1.06; margin-bottom: 24px;
}
.cta__headline em { font-style: italic; }
.cta__body { font-family: var(--body); font-size: 17px; font-weight: 300; color: var(--ink-mid); line-height: 1.8; margin-bottom: 40px; }
.cta__benefits { display: flex; flex-direction: column; gap: 16px; }
.cta__benefits li { font-family: var(--body); font-size: 16px; font-weight: 300; color: var(--ink-mid); display: flex; align-items: center; gap: 14px; }
.cta__arrow { color: var(--poppy); font-weight: 700; flex-shrink: 0; }
.form {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 48px;
  display: flex; flex-direction: column; gap: 24px;
  box-shadow: var(--shadow-sm);
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 9px; }
.form__field label {
  font-family: var(--sans); font-size: 9px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-light);
}
.form__field input {
  font-family: var(--sans); font-size: 14px; font-weight: 300;
  color: var(--ink); background: var(--shell);
  border: 1.5px solid var(--rule); padding: 14px 18px;
  outline: none; transition: border-color .2s, background .2s;
}
.form__field input::placeholder { color: var(--ink-light); }
.form__field input:focus { border-color: var(--poppy); background: var(--white); }

/* ════════════════════════════════════════════════════════════════════════════════
   FOOTER — light shell background, no dark bar
════════════════════════════════════════════════════════════════════════════════ */
.footer {
  background: var(--cream-deep);
  border-top: 3px solid var(--poppy);
}
.footer__inner {
  max-width: 1200px; margin: 0 auto;
  padding: 36px 60px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.footer__logo { display: flex; align-items: center; }
.footer__logo-img { height: 28px; width: auto; opacity: 0.6; transition: opacity .2s; }
.footer__logo:hover .footer__logo-img { opacity: 0.9; }
.footer__addr { font-family: var(--sans); font-size: 11px; font-weight: 300; color: var(--ink-mid); letter-spacing: 0.04em; }
.footer__socials { display: flex; gap: 28px; }
.footer__socials a {
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-light); transition: color .2s;
}
.footer__socials a:hover { color: var(--ink); }

/* ════════════════════════════════════════════════════════════════════════════════
   ANIMATIONS
════════════════════════════════════════════════════════════════════════════════ */
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { margin-top: 96px; }
  .hero__text { grid-template-columns: 1fr; }
  .hero__quotes { grid-template-columns: 1fr 1fr; }
  .service-featured { grid-template-columns: 1fr; }
  .service-featured__mockup { min-height: 260px; }
  .service-steps { grid-template-columns: repeat(4, 1fr); }
  .testimonials__grid { grid-template-columns: 1fr; }
  .cta__inner { grid-template-columns: 1fr; gap: 56px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-item { border-bottom: 1px solid var(--rule); }
  .stats-item:nth-child(2) { border-right: none; }
  .stats-item:nth-child(3) { border-bottom: none; }
  .stats-item:last-child { border-bottom: none; }
  .partners-bar { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 768px) {
  .container { padding: 0 28px; }
  .nav { top: 0; }
  .top-marquee { height: 36px; }
  .hero { margin-top: 120px; }
  .nav__logo-row { padding: 14px 24px 6px; }
  .nav__cta { right: 20px; font-size: 10px; padding: 10px 18px; }
  .nav__links-row { gap: 22px; padding: 0 20px 12px; }
  .nav__logo-img { height: 42px; }
  .nav__compact-row { padding: 0 20px; }
  .hero__text { grid-template-columns: 1fr; padding: 5% 5% 8%; }
  .hero__quotes { grid-template-columns: 1fr; gap: 14px; }
  .about-panel { height: 60vh; min-height: 420px; }
  .about-panel__content { padding: 0 28px; }
  .services { padding: 80px 0; }
  .service-featured__content { padding: 40px 36px; }
  .service-steps { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: 1fr; }
  .testimonials { padding: 80px 0; }
  .tcard { padding: 36px 32px; }
  .work { padding: 80px 0; }
  .work__grid { grid-template-columns: 1fr; }
  .work__head { flex-direction: column; gap: 8px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stats-item { padding: 44px 20px; }
  .partners-bar { padding: 20px 28px; gap: 16px; }
  .partners-bar__logos { flex-wrap: wrap; gap: 20px; }
  .partners-bar__badge span { display: none; }
  .cta { padding: 80px 0; }
  .cta__inner { padding: 0 28px; }
  .form { padding: 32px 28px; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { padding: 28px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
}
