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

/* ===== TOKENS ===== */
:root {
  --cream:       #F4EFE8;
  --cream-2:     #EBE4D9;
  --cream-3:     #DED5C6;
  --dark:        #1A1714;
  --dark-2:      #241F1A;
  --dark-3:      #110E0B;
  --gold:        #C19A5B;
  --gold-light:  #D4B07A;
  --gold-hover:  #A88248;
  --gold-glow:   rgba(193,154,91,.25);
  --muted:       #7A7068;
  --font-d:      'Cormorant Garamond', Georgia, serif;
  --font-s:      'Jost', system-ui, sans-serif;
  --ease:        cubic-bezier(.25,.1,.25,1);
  --ease-out:    cubic-bezier(.22,1,.36,1);
  --ease-elastic: cubic-bezier(.34,1.56,.64,1);
  --max-w:       1280px;
  --px:          clamp(24px, 5vw, 80px);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-s);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ===== GRAIN OVERLAY ===== */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: 9999;
  pointer-events: none;
  opacity: .028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}

/* ===== SMOOTH PAGE LOAD ===== */
@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
body { animation: pageIn .6s var(--ease) both; }

/* ===== NAV ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: 28px var(--px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  transition: all .5s var(--ease);
}
.nav.scrolled {
  background: rgba(17,14,11,.92);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  padding-top: 16px; padding-bottom: 16px;
  box-shadow: 0 1px 0 rgba(255,255,255,.04), 0 8px 32px rgba(0,0,0,.3);
}
.nav-logo {
  font-family: var(--font-d); font-size: 20px; font-weight: 500;
  letter-spacing: .08em; color: #fff; white-space: nowrap;
  transition: opacity .3s;
}
.nav-logo:hover { opacity: .8; }
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,.55); font-size: 12px; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  transition: color .35s var(--ease);
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0; width: 0; height: 1px;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-phone {
  color: rgba(255,255,255,.55); font-size: 13px; font-weight: 400;
  letter-spacing: .04em; transition: color .3s;
}
.nav-phone:hover { color: var(--gold); }

/* Hamburger */
.nav-hamburger {
  display: none; width: 44px; height: 44px;
  background: none; border: none; position: relative;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 1.5px; background: #fff;
  transition: all .4s var(--ease);
  transform-origin: center;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(2.5px,2.5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(3px,-3px); }

/* Mobile menu overlay */
.mobile-menu {
  position: fixed; inset: 0; z-index: 199;
  background: rgba(17,14,11,.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0;
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu a {
  font-family: var(--font-d); font-size: clamp(28px,6vw,42px);
  color: rgba(255,255,255,.5); font-weight: 400;
  padding: 14px 0; display: block;
  transition: color .3s, transform .3s var(--ease);
  transform: translateY(20px);
  opacity: 0;
}
.mobile-menu.open a {
  opacity: 1; transform: none;
}
.mobile-menu.open a:nth-child(1) { transition-delay: .08s; }
.mobile-menu.open a:nth-child(2) { transition-delay: .14s; }
.mobile-menu.open a:nth-child(3) { transition-delay: .20s; }
.mobile-menu.open a:nth-child(4) { transition-delay: .26s; }
.mobile-menu.open a:nth-child(5) { transition-delay: .32s; }
.mobile-menu.open a:nth-child(6) { transition-delay: .38s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu-phone {
  margin-top: 40px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-menu-phone a {
  font-family: var(--font-d); font-size: 24px !important;
  color: var(--gold) !important;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px; border-radius: 0;
  font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  border: none; outline: none; position: relative;
  transition: all .4s var(--ease);
}
.btn-gold {
  background: var(--gold); color: var(--dark);
  box-shadow: 0 2px 12px var(--gold-glow);
}
.btn-gold:hover {
  background: var(--gold-hover);
  box-shadow: 0 4px 24px rgba(193,154,91,.4);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent; color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.btn-outline:hover {
  border-color: var(--gold); color: var(--gold);
  background: rgba(193,154,91,.06);
}
.btn-dark {
  background: var(--dark); color: #fff;
  border: 1px solid rgba(255,255,255,.06);
}
.btn-dark:hover {
  background: var(--dark-2);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.btn-lg { padding: 18px 40px; font-size: 11px; }

/* ===== CASE HERO ===== */
.case-hero {
  height: 100vh; min-height: 700px; position: relative;
  display: flex; align-items: flex-end; overflow: hidden;
  padding-bottom: 80px;
}
.case-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transform: scale(1.08);
  transition: transform 12s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.case-hero-bg.loaded { transform: scale(1); }
.case-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(17,14,11,.92) 0%,
    rgba(17,14,11,.6)  45%,
    rgba(17,14,11,.15) 100%
  );
}
.case-hero-overlay-bottom {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,14,11,.7) 0%, transparent 50%);
}
.case-hero-content {
  position: relative; z-index: 1;
  max-width: var(--max-w); width: 100%; margin: 0 auto; padding: 0 var(--px);
}
.case-project-num {
  font-size: 10px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
  opacity: 0; transform: translateY(16px);
  animation: heroFadeUp .8s var(--ease-out) .3s both;
}
.case-hero-title {
  font-family: var(--font-d);
  font-size: clamp(52px,9vw,120px);
  font-weight: 300;
  color: #fff; line-height: .95; margin-bottom: 0; max-width: 12ch;
  opacity: 0; transform: translateY(30px);
  animation: heroFadeUp .9s var(--ease-out) .45s both;
}
.hero-sub {
  color: rgba(255,255,255,.5); font-size: 16px; font-weight: 300;
  max-width: 46ch; line-height: 1.8;
  opacity: 0; transform: translateY(20px);
  animation: heroFadeUp .8s var(--ease-out) .6s both;
}
.case-hero-stats {
  display: flex; gap: 48px; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px);
  animation: heroFadeUp .8s var(--ease-out) .7s both;
}
.case-hero-stat { display: flex; flex-direction: column; gap: 6px; }
.case-hero-stat-lbl {
  font-size: 9px; font-weight: 500; letter-spacing: .25em; text-transform: uppercase;
  color: rgba(255,255,255,.35);
}
.case-hero-stat-val {
  font-family: var(--font-d); font-size: 30px; font-weight: 400;
  color: #fff; line-height: 1;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap; align-items: center;
  opacity: 0; transform: translateY(16px);
  animation: heroFadeUp .8s var(--ease-out) .85s both;
}

/* Golden decorative line under hero */
.case-hero::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: .3;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(var(--y, 20px)); }
  to { opacity: 1; transform: none; }
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark-3);
  position: relative;
}
.stats-bar::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(193,154,91,.03) 0%, transparent 50%);
  pointer-events: none;
}
.stats-bar .inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px);
  display: grid; grid-template-columns: repeat(4,1fr);
  position: relative;
}
.stat {
  padding: 44px 0; text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: background .4s;
}
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(255,255,255,.02); }
.stat-num {
  font-family: var(--font-d); font-size: clamp(38px,5vw,60px);
  font-weight: 300;
  color: var(--gold); line-height: 1; display: block; margin-bottom: 10px;
}
.stat-lbl {
  color: rgba(255,255,255,.4); font-size: 11px; font-weight: 400;
  letter-spacing: .08em;
}

/* ===== LAYOUT HELPERS ===== */
.section { padding: clamp(80px,10vw,140px) var(--px); }
.section-dark { background: var(--dark); color: #fff; }
.section-mid  { background: var(--dark-2); color: #fff; }
.section-cream { background: var(--cream); }
.section-cream2 { background: var(--cream-2); }
.wrap { max-width: var(--max-w); margin: 0 auto; }
.section-lbl {
  color: var(--gold); font-size: 10px; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase; margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-d); font-size: clamp(36px,5.5vw,72px);
  font-weight: 400; line-height: 1.06;
  margin-bottom: clamp(52px,7vw,88px);
}
.section-title-white { color: #fff; }

/* Golden separator */
.gold-sep {
  width: 48px; height: 1px; background: var(--gold); opacity: .5;
  margin-bottom: 20px;
}

/* ===== CASE TEXT BLOCKS ===== */
.case-task {
  background: var(--dark-2);
  padding: clamp(80px,10vw,130px) var(--px);
  position: relative;
}
.case-task::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(193,154,91,.2), transparent);
}
.case-task-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 200px 1fr;
  gap: clamp(40px,6vw,100px); align-items: start;
}
.case-task-label {
  font-size: 10px; font-weight: 500; letter-spacing: .25em;
  text-transform: uppercase; color: var(--gold); padding-top: 12px;
}
.case-task-text {
  font-family: var(--font-d); font-size: clamp(24px,3.2vw,42px);
  font-weight: 300; color: #fff; line-height: 1.4;
}

.case-solution {
  background: var(--cream);
  padding: clamp(80px,10vw,130px) var(--px);
}
.case-solution-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 380px;
  gap: clamp(48px,7vw,110px); align-items: start;
}
.case-solution-quote {
  font-family: var(--font-d); font-size: clamp(28px,3.8vw,48px);
  font-weight: 400; line-height: 1.35;
}
.case-solution-aside-lbl {
  font-size: 10px; font-weight: 600; letter-spacing: .25em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.case-solution-aside-text { font-size: 15px; color: var(--muted); line-height: 1.85; }

/* ===== PHOTO LAYOUTS ===== */
.photo-full {
  width: 100%; height: clamp(400px,55vw,780px);
  object-fit: cover; display: block;
}
.photo-split { display: grid; gap: 3px; }
.photo-6040 { grid-template-columns: 3fr 2fr; }
.photo-4060 { grid-template-columns: 2fr 3fr; }
.photo-5050 { grid-template-columns: 1fr 1fr; }
.photo-3367 { grid-template-columns: 1fr 2fr; }
.photo-split img {
  width: 100%; height: clamp(300px,42vw,640px);
  object-fit: cover;
}
.photo-trio { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px; }
.photo-trio img {
  width: 100%; height: clamp(240px,28vw,440px);
  object-fit: cover;
}

/* Image reveal on scroll */
.img-reveal {
  overflow: hidden;
}
.img-reveal img {
  transition: transform 1.2s var(--ease-out), opacity .8s var(--ease);
  transform: scale(1.08);
  opacity: 0;
}
.img-reveal.in img {
  transform: scale(1);
  opacity: 1;
}

/* ===== DETAILS GRID ===== */
.details-grid {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: clamp(32px,5vw,80px);
}
.detail-col p:first-child { margin-bottom: 14px; }
.detail-text {
  font-size: 15px; color: var(--muted); line-height: 1.85;
}

/* ===== BENEFITS ===== */
.benefits-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.benefit {
  background: var(--cream); padding: clamp(40px,5vw,64px);
  position: relative; overflow: hidden;
  transition: background .5s var(--ease);
}
.benefit:hover { background: #f8f4ee; }
.benefit-bg-num {
  font-family: var(--font-d); font-size: 140px; font-weight: 300; line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--cream-2);
  position: absolute; right: 20px; top: 8px;
  user-select: none; pointer-events: none;
  transition: -webkit-text-stroke-color .5s;
}
.benefit:hover .benefit-bg-num {
  -webkit-text-stroke-color: var(--cream-3);
}
.benefit-title {
  font-family: var(--font-d); font-size: clamp(24px,2.8vw,34px);
  font-weight: 400;
  line-height: 1.2; margin: 14px 0 14px; max-width: 22ch;
}
.benefit-text { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 40ch; }

/* ===== SERVICES ===== */
.services-list { display: flex; flex-direction: column; }
.svc {
  display: grid; grid-template-columns: 48px 1fr 48px;
  gap: 28px; align-items: start;
  padding: 32px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  transition: padding .4s var(--ease);
}
.svc:last-child { border-bottom: 1px solid rgba(0,0,0,.08); }
.svc:hover { padding-left: 8px; }
.svc-num {
  font-family: var(--font-d); font-size: 14px; font-weight: 400;
  color: var(--gold); padding-top: 8px;
}
.svc-name {
  font-family: var(--font-d); font-size: clamp(26px,3.2vw,42px);
  font-weight: 400; margin-bottom: 0;
  transition: color .3s;
}
.svc:hover .svc-name { color: var(--gold); }
.svc-desc {
  color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 55ch;
  overflow: hidden; max-height: 0; margin-top: 0;
  transition: max-height .6s var(--ease), opacity .5s, margin-top .5s;
  opacity: 0;
}
.svc.open .svc-desc { max-height: 200px; opacity: 1; margin-top: 12px; }
.svc-btn {
  width: 48px; height: 48px; flex-shrink: 0;
  border: 1px solid var(--cream-3); background: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--muted); line-height: 1;
  transition: all .4s var(--ease); margin-top: 4px;
  border-radius: 50%;
}
.svc-btn:hover {
  border-color: var(--gold); color: var(--gold);
}
.svc.open .svc-btn {
  background: var(--dark); border-color: var(--dark); color: var(--gold);
  transform: rotate(45deg);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(56px,8vw,120px); align-items: center;
}
.about-photo-wrap {
  position: relative;
  overflow: hidden;
}
.about-photo-wrap::after {
  content: ''; position: absolute;
  bottom: -8px; right: -8px;
  width: 60%; height: 60%;
  border: 1px solid var(--gold);
  opacity: .2;
  pointer-events: none;
}
.about-photo {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top;
  transition: transform 1s var(--ease);
}
.about-photo-wrap:hover .about-photo { transform: scale(1.03); }
.about-eyebrow {
  color: var(--gold); font-size: 10px; font-weight: 500;
  letter-spacing: .25em; text-transform: uppercase; margin-bottom: 18px;
}
.about-name {
  font-family: var(--font-d); font-size: clamp(40px,5.5vw,72px);
  font-weight: 400; line-height: 1.02; margin-bottom: 8px;
}
.about-role {
  color: var(--muted); font-size: 12px; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase; margin-bottom: 36px;
}
.about-text {
  color: var(--muted); font-size: 15px; line-height: 1.85; margin-bottom: 32px;
}
.about-text:last-of-type { margin-bottom: 44px; }
.about-metrics { display: flex; gap: 48px; flex-wrap: wrap; }
.about-metric-num {
  font-family: var(--font-d); font-size: 44px; font-weight: 300;
  color: var(--gold); line-height: 1;
}
.about-metric-lbl { font-size: 11px; color: var(--muted); margin-top: 6px; letter-spacing: .04em; }

/* ===== QUOTE BAND ===== */
.quote-band {
  position: relative; overflow: hidden;
}
.quote-band::before,
.quote-band::after {
  content: ''; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(193,154,91,.15), transparent);
}
.quote-band::before { top: 0; }
.quote-band::after { bottom: 0; }
.quote-text {
  font-family: var(--font-d); font-size: clamp(30px,4.5vw,56px);
  font-weight: 300; color: #fff; line-height: 1.25; font-style: italic;
}
.quote-attr {
  color: rgba(255,255,255,.3); font-size: 13px; margin-top: 28px;
  letter-spacing: .06em;
}

/* ===== PROCESS ===== */
.process-steps {
  display: grid; grid-template-columns: repeat(5,1fr);
  gap: 20px; position: relative;
}
.process-steps::after {
  content: ''; position: absolute;
  top: 33px; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: .2; pointer-events: none;
}
.process-step { text-align: center; }
.process-dot {
  width: 66px; height: 66px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-d); font-size: 22px; font-weight: 400; color: var(--gold);
  margin: 0 auto 28px; background: var(--dark-2); position: relative; z-index: 1;
  transition: all .4s var(--ease);
}
.process-step:hover .process-dot {
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}
.process-title {
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  margin-bottom: 10px; color: #fff;
}
.process-text { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.65; }

/* Process — light variant */
.process-steps-light .process-dot {
  background: var(--cream-2); border-color: var(--cream-3);
}
.process-steps-light .process-step:hover .process-dot {
  border-color: var(--gold);
  box-shadow: 0 0 16px var(--gold-glow);
  background: var(--cream);
}
.process-steps-light .process-title { color: var(--dark); }
.process-steps-light .process-text { color: var(--muted); }

/* ===== PRICING ===== */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px;
}
.plan {
  background: var(--cream); padding: clamp(36px,4.5vw,56px);
  transition: all .5s var(--ease);
  position: relative;
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,.08);
}
.plan.featured {
  background: var(--dark); color: #fff;
}
.plan.featured:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.25), 0 0 0 1px rgba(193,154,91,.2);
}
.plan-name {
  font-size: 10px; font-weight: 600; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
}
.plan-price {
  font-family: var(--font-d); font-size: clamp(40px,4.5vw,58px);
  font-weight: 300; line-height: 1;
}
.plan-unit { font-size: 13px; color: var(--muted); margin-bottom: 36px; font-weight: 300; }
.plan.featured .plan-unit { color: rgba(255,255,255,.4); }
.plan-features {
  list-style: none; display: flex; flex-direction: column;
  gap: 14px; margin-bottom: 44px;
}
.plan-features li {
  font-size: 14px; color: var(--muted); padding-left: 20px;
  position: relative; line-height: 1.55;
}
.plan-features li::before {
  content: ''; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold); opacity: .5;
}
.plan.featured .plan-features li { color: rgba(255,255,255,.5); }
.plan-badge {
  display: inline-block; background: var(--gold); color: var(--dark);
  font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 5px 12px; margin-bottom: 22px;
}
.plan-note {
  font-size: 13px; font-style: italic; color: var(--muted);
  margin-bottom: 36px; line-height: 1.6;
}
.plan.featured .plan-note { color: rgba(255,255,255,.3); }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-top: 1px solid rgba(0,0,0,.07); }
.faq-item:last-child { border-bottom: 1px solid rgba(0,0,0,.07); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left;
  padding: 30px 0; display: flex; justify-content: space-between;
  align-items: center; gap: 28px;
  font-size: clamp(17px,2vw,22px); font-weight: 400; color: var(--dark);
  transition: color .35s;
}
.faq-q:hover { color: var(--gold); }
.faq-icon {
  flex-shrink: 0; width: 36px; height: 36px;
  border: 1px solid var(--cream-3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--muted); line-height: 1;
  transition: all .45s var(--ease);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--gold); border-color: var(--gold);
  background: rgba(193,154,91,.08);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .55s var(--ease);
}
.faq-a-inner {
  padding: 0 0 36px; font-size: 15px; color: var(--muted);
  line-height: 1.9; max-width: 65ch;
}

/* ===== CTA / CONTACT ===== */
.case-cta {
  background: var(--dark);
  padding: clamp(88px,11vw,160px) var(--px);
  text-align: center;
  position: relative; overflow: hidden;
}
.case-cta::before {
  content: ''; position: absolute;
  top: 50%; left: 50%; width: 600px; height: 600px;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(193,154,91,.06) 0%, transparent 60%);
  pointer-events: none;
}
.case-cta-title {
  font-family: var(--font-d); font-size: clamp(44px,7vw,88px);
  font-weight: 300; color: #fff; line-height: 1.04; margin-bottom: 20px;
}
.case-cta-sub {
  color: rgba(255,255,255,.35); font-size: 16px; font-weight: 300;
  max-width: 46ch; margin: 0 auto 52px; line-height: 1.8;
}
.case-contacts { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.case-contact-link {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 30px; font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  transition: all .4s var(--ease);
  position: relative; overflow: hidden;
}
.case-contact-link::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,.1);
  transform: translateX(-100%);
  transition: transform .4s var(--ease);
}
.case-contact-link:hover::before { transform: none; }
.case-contact-link.wa { background: #25D366; color: #fff; }
.case-contact-link.tg { background: #0088cc; color: #fff; }
.case-contact-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}

/* ===== OTHER PROJECT ===== */
.other-project {
  background: var(--cream-2); padding: 72px var(--px); text-align: center;
  position: relative;
}
.other-project::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, var(--cream-3), transparent);
}
.other-project-lbl {
  font-size: 10px; font-weight: 500; letter-spacing: .25em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.other-project-link {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-d); font-size: clamp(22px,3vw,32px);
  font-weight: 400; color: var(--dark);
  transition: all .4s var(--ease);
}
.other-project-link:hover { gap: 28px; color: var(--gold); }
.other-project-link .arrow {
  color: var(--gold); font-size: 28px;
  transition: transform .4s var(--ease);
}
.other-project-link:hover .arrow { transform: translateX(4px); }

/* ===== FOOTER ===== */
.footer {
  background: var(--dark-3); padding: 72px var(--px) 36px;
  position: relative;
}
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(193,154,91,.15), transparent);
}
.footer-top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 60px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  margin-bottom: 32px;
}
.footer-logo {
  font-family: var(--font-d); font-size: 24px; font-weight: 400;
  color: #fff; margin-bottom: 16px; display: block;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.3); line-height: 1.7; max-width: 30ch; }
.footer-col-title {
  font-size: 10px; font-weight: 600; letter-spacing: .25em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 22px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,.35);
  transition: color .3s, padding-left .3s;
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-phone {
  font-family: var(--font-d); font-size: 28px; font-weight: 400;
  color: #fff; display: block; margin-bottom: 14px;
  transition: color .3s;
}
.footer-phone:hover { color: var(--gold); }
.footer-contacts { display: flex; flex-direction: column; gap: 12px; }
.footer-contacts a {
  font-size: 14px; color: rgba(255,255,255,.35); transition: color .3s;
}
.footer-contacts a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.18);
}
.footer-bottom a {
  color: rgba(255,255,255,.18); transition: color .3s;
}
.footer-bottom a:hover { color: rgba(255,255,255,.5); }

/* ===== SCROLL REVEAL ===== */
.r {
  opacity: 0; transform: translateY(32px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.r.in { opacity: 1; transform: none; }
.r-d1 { transition-delay: .1s; }
.r-d2 { transition-delay: .2s; }
.r-d3 { transition-delay: .3s; }
.r-d4 { transition-delay: .4s; }

/* Slide from left variant */
.r-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.r-left.in { opacity: 1; transform: none; }

/* Scale-up variant */
.r-scale {
  opacity: 0; transform: scale(.95);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.r-scale.in { opacity: 1; transform: none; }

/* ===== PORTFOLIO ===== */
.portfolio-hero { height: 70vh; min-height: 540px; }

.portfolio-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3px;
}

.portfolio-card {
  display: block; position: relative;
  background: var(--dark);
  overflow: hidden;
  transition: transform .6s var(--ease);
}
.portfolio-card:hover { transform: translateY(-4px); }

.portfolio-card-img {
  position: relative; overflow: hidden;
  height: clamp(320px, 38vw, 520px);
}
.portfolio-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.portfolio-card:hover .portfolio-card-img img {
  transform: scale(1.06);
}
.portfolio-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,14,11,.8) 0%, rgba(17,14,11,.05) 55%);
  transition: opacity .5s;
}
.portfolio-card:hover .portfolio-card-overlay {
  opacity: .85;
}

.portfolio-card-body {
  padding: clamp(28px, 3.5vw, 44px);
  position: relative;
}
.portfolio-card-num {
  font-family: var(--font-d); font-size: 13px; font-weight: 400;
  color: var(--gold); display: block; margin-bottom: 14px;
  letter-spacing: .04em;
}
.portfolio-card-title {
  font-family: var(--font-d); font-size: clamp(28px, 3vw, 40px);
  font-weight: 400; color: #fff; line-height: 1.1;
  margin-bottom: 14px;
  transition: color .4s var(--ease);
}
.portfolio-card:hover .portfolio-card-title { color: var(--gold-light); }

.portfolio-card-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: 11px; font-weight: 400; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  margin-bottom: 18px;
}
.portfolio-card-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold); opacity: .5;
}
.portfolio-card-excerpt {
  font-size: 14px; color: rgba(255,255,255,.4); line-height: 1.75;
  max-width: 42ch; margin-bottom: 24px;
}
.portfolio-card-cta {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
  transition: gap .4s var(--ease);
}
.portfolio-card:hover .portfolio-card-cta { gap: 16px; }
.portfolio-card-cta .arrow {
  font-size: 16px;
  transition: transform .4s var(--ease);
}
.portfolio-card:hover .portfolio-card-cta .arrow { transform: translateX(4px); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; gap: 2px; }
  .plan:hover { transform: none; }
  .stats-bar .inner { grid-template-columns: repeat(2,1fr); }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::after { display: none; }
  .process-step {
    display: grid; grid-template-columns: 66px 1fr;
    gap: 24px; text-align: left;
  }
  .process-dot { margin: 0; }
  .about-grid { grid-template-columns: 1fr; gap: 52px; }
  .about-photo { aspect-ratio: 4/3; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 44px; }
  .case-task-inner { grid-template-columns: 1fr; gap: 20px; }
  .case-solution-inner { grid-template-columns: 1fr; }
  .details-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-phone { display: none; }
  .nav .btn { display: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card:hover { transform: none; }
  .benefits-grid { grid-template-columns: 1fr; }
  .photo-split, .photo-trio { grid-template-columns: 1fr; }
  .photo-split img { height: clamp(240px,60vw,480px); }
  .photo-trio img { height: clamp(220px,55vw,400px); }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .case-hero-stats { gap: 24px; }
  .svc { grid-template-columns: 40px 1fr; }
  .svc-btn { display: none; }
  .svc-desc { max-height: none; opacity: 1; margin-top: 10px; }
  .details-grid { grid-template-columns: 1fr; }
  .about-photo-wrap::after { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .case-contacts { flex-direction: column; align-items: stretch; }
  .case-contact-link { justify-content: center; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .case-hero { min-height: 600px; padding-bottom: 60px; }
  .case-hero-stat-val { font-size: 24px; }
}

/* ===== A/B VARIANT LAYOUT OVERRIDES ===== */

/* V2: single-column portfolio */
body.variant-2 .portfolio-grid { grid-template-columns: 1fr; }
body.variant-2 .portfolio-card-img { height: clamp(400px, 50vw, 640px); }

/* V3: mosaic — first card hero-size */
body.variant-3 .portfolio-card:first-child { grid-column: 1 / -1; }
body.variant-3 .portfolio-card:first-child .portfolio-card-img { height: clamp(400px, 55vw, 700px); }

/* V4: CTA between projects */
body.variant-4 .portfolio-cta-between {
  grid-column: 1 / -1;
  background: var(--dark-2);
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
body.variant-4 .portfolio-cta-between h3 {
  font-family: var(--font-d); font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400; color: #fff; line-height: 1.15;
}
body.variant-4 .portfolio-cta-between p {
  color: rgba(255,255,255,.4); font-size: 15px; max-width: 44ch; line-height: 1.8;
}
body.variant-4 .portfolio-cta-between .case-contacts { margin-top: 12px; }

/* V5: extended — trust items */
body.variant-5 .trust-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px; margin-top: clamp(48px, 6vw, 80px);
}
body.variant-5 .trust-item {
  background: var(--cream); padding: clamp(28px, 3vw, 44px);
  text-align: center;
  transition: background .4s var(--ease);
}
body.variant-5 .trust-item:hover { background: #f8f4ee; }
body.variant-5 .trust-item-icon {
  font-size: 28px; margin-bottom: 16px; display: block;
}
body.variant-5 .trust-item-title {
  font-family: var(--font-d); font-size: 20px; font-weight: 400;
  margin-bottom: 10px;
}
body.variant-5 .trust-item-text {
  font-size: 14px; color: var(--muted); line-height: 1.7;
}
