/* ============================================================
   KENDALL ONE LTD — Design System
   Palette: Greige + Muted Terracotta + Charcoal (editorial)
   Type: Fraunces (display serif) + Inter (grotesque body)
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* surfaces */
  --greige-50:  #FBF9F5;
  --greige-100: #F4F0E9;
  --greige-200: #EDE7DC;
  --greige-300: #E2D9CC;
  --line:       #DAD0C0;

  /* ink */
  --ink-900: #211D19;
  --ink-700: #3A342E;
  --ink-500: #6F665B;
  --ink-400: #8A8073;

  /* terracotta accent */
  --clay-700: #9D4F30;
  --clay-600: #B5613D;
  --clay-500: #C06B47;
  --clay-200: #E8D5C8;
  --clay-100: #F1E4DA;

  /* support */
  --sage: #7C8471;
  --white: #ffffff;

  /* semantic */
  --bg: var(--greige-100);
  --surface: var(--greige-50);
  --text: var(--ink-900);
  --muted: var(--ink-500);
  --accent: var(--clay-600);
  --accent-strong: var(--clay-700);

  /* type */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* spacing / radius / shadow */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 40px;
  --shadow-s: 0 2px 10px rgba(33, 29, 25, 0.05);
  --shadow-m: 0 18px 50px -20px rgba(33, 29, 25, 0.22);
  --shadow-l: 0 40px 90px -30px rgba(33, 29, 25, 0.35);

  --container: 1240px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);

  --nav-h: 78px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
::selection { background: var(--clay-200); color: var(--ink-900); }

/* ---------- 3. Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 32px; }
.section { padding: clamp(72px, 9vw, 140px) 0; position: relative; }
.section--tight { padding: clamp(56px, 6vw, 96px) 0; }
.bg-surface { background: var(--surface); }
.bg-greige { background: var(--greige-200); }
.bg-ink { background: var(--ink-900); color: var(--greige-100); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent-strong);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: var(--accent); display: inline-block; }
.bg-ink .eyebrow { color: var(--clay-200); }
.bg-ink .eyebrow::before { background: var(--clay-500); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; color: var(--text); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--greige-50); }

h1 { font-size: clamp(2.6rem, 5.6vw, 4.7rem); font-optical-sizing: auto; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.55rem); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 60ch; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }

/* ---------- 4. Buttons ---------- */
.btn {
  --bg: var(--ink-900); --fg: var(--greige-50);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 30px; border-radius: 100px;
  font-weight: 600; font-size: 0.96rem; letter-spacing: 0.01em;
  background: var(--bg); color: var(--fg);
  overflow: hidden; isolation: isolate;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--accent); transform: scale(0); transform-origin: bottom center;
  transition: transform 0.5s var(--ease);
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-m); }
.btn:hover::after { transform: scale(1.5); }
.btn .ic { transition: transform 0.45s var(--ease); }
.btn:hover .ic { transform: translateX(5px); }
.btn--accent { --bg: var(--accent); --fg: #fff; }
.btn--accent::after { background: var(--accent-strong); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink-900);
  border: 1.5px solid var(--line);
}
.btn--ghost::after { background: var(--ink-900); }
.btn--ghost:hover { color: var(--greige-50); border-color: var(--ink-900); }
.btn--lg { padding: 19px 38px; font-size: 1.02rem; }

/* link with animated underline */
.link-u { position: relative; font-weight: 600; color: var(--accent-strong); }
.link-u::after { content:""; position:absolute; left:0; bottom:-3px; width:100%; height:1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.link-u:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 5. Header / Nav ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), height 0.4s var(--ease);
}
.site-header::before {
  content:""; position:absolute; inset:0; z-index:-1;
  background: rgba(244, 240, 233, 0.72);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  opacity: 0; transition: opacity 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { height: 66px; }
.site-header.scrolled::before { opacity: 1; border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: baseline; gap: 2px; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; }
.brand .dot { color: var(--accent); }
.brand small { font-family: var(--font-body); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); margin-left: 8px; align-self: center; font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative; padding: 10px 16px; font-size: 0.95rem; font-weight: 500; color: var(--ink-700);
  border-radius: 100px; transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav-links a::after { content:""; position:absolute; left:16px; right:16px; bottom:4px; height:1.5px; background: var(--accent); transform: scaleX(0); transform-origin:center; transition: transform 0.35s var(--ease); }
.nav-links a:hover { color: var(--ink-900); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: var(--surface); }
.nav-toggle span { width: 20px; height: 1.8px; background: var(--ink-900); border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.3s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

/* Nav drawer — hidden on ALL viewport widths by default */
.nav-drawer {
  position: fixed; inset: 0; z-index: 99;
  opacity: 0; pointer-events: none;
  /* No background/backdrop at desktop — panel still hidden via translateX */
}
.nav-drawer-panel {
  position: absolute; right: 0; top: 0; height: 100%; width: min(360px, 86vw);
  background: var(--surface); padding: 100px 32px 40px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(100%); transition: transform 0.5s var(--ease); box-shadow: var(--shadow-l);
}

/* ---------- 6. Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 70px); padding-bottom: 90px; overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(30px, 5vw, 76px); align-items: center; }
.hero-copy h1 { margin-bottom: 26px; }
.hero-copy h1 .accent { color: var(--accent); font-style: italic; }
.hero-copy .lead { margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-meta { display: flex; gap: 38px; margin-top: 48px; padding-top: 30px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta .num { font-family: var(--font-display); font-size: 2.1rem; color: var(--ink-900); line-height: 1; }
.hero-meta .lbl { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }

.hero-visual { position: relative; }
.hero-visual .frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-l); aspect-ratio: 4/5; }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.hero-badge {
  position: absolute; left: -28px; bottom: 42px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px;
  box-shadow: var(--shadow-m); display: flex; align-items: center; gap: 14px; max-width: 250px;
}
.hero-badge .ring { width: 42px; height: 42px; border-radius: 50%; background: var(--clay-100); display: grid; place-items: center; color: var(--accent-strong); flex-shrink: 0; }
.hero-badge p { font-size: 0.86rem; color: var(--ink-700); line-height: 1.4; }
.hero-badge strong { display:block; font-family: var(--font-display); font-size: 1rem; color: var(--ink-900); }
.hero-dot-grid { position: absolute; top: -26px; right: -24px; width: 120px; height: 120px; opacity: 0.5;
  background-image: radial-gradient(var(--clay-500) 1.6px, transparent 1.6px); background-size: 17px 17px; z-index: -1; }
.hero-blob { position: absolute; z-index: -2; filter: blur(60px); opacity: 0.6; border-radius: 50%; }
.hero-blob.b1 { width: 360px; height: 360px; background: var(--clay-200); top: -80px; left: -120px; }
.hero-blob.b2 { width: 300px; height: 300px; background: #DDE3D6; bottom: -100px; right: -80px; }

.marquee { margin-top: 64px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-400); white-space: nowrap; display:flex; align-items:center; gap:60px; }
.marquee span::after { content:"✶"; color: var(--clay-500); font-size: 0.9rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 7. About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.about-visual { position: relative; }
.about-visual img { border-radius: var(--r-lg); box-shadow: var(--shadow-m); width: 100%; aspect-ratio: 3/3.5; object-fit: cover; }
.about-visual .tag { position:absolute; right:-22px; top:36px; background: var(--ink-900); color: var(--greige-50); padding: 14px 20px; border-radius: var(--r-sm); font-family: var(--font-display); font-size: 1.05rem; box-shadow: var(--shadow-m); }
.about-copy p + p { margin-top: 20px; }
.about-copy p { color: var(--ink-700); }
.values { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.values li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--clay-100); border: 1px solid var(--clay-200); border-radius: 100px; font-size: 0.86rem; font-weight: 500; color: var(--clay-700); }

/* ---------- 8. Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 34px 30px 30px; overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  transform-style: preserve-3d;
}
.svc-card::before { content:""; position:absolute; inset:0; background: linear-gradient(160deg, var(--clay-100), transparent 60%); opacity: 0; transition: opacity 0.5s var(--ease); }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-m); border-color: var(--clay-200); }
.svc-card:hover::before { opacity: 1; }
.svc-num { position:absolute; top: 26px; right: 30px; font-family: var(--font-display); font-size: 1rem; color: var(--clay-200); transition: color 0.4s var(--ease); }
.svc-card:hover .svc-num { color: var(--clay-500); }
.svc-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--clay-100); color: var(--accent-strong); display: grid; place-items: center; margin-bottom: 24px; position: relative; transition: transform 0.5s var(--ease), background 0.4s var(--ease); }
.svc-card:hover .svc-icon { transform: translateY(-2px) rotate(-6deg); background: var(--accent); color:#fff; }
.svc-icon svg { width: 26px; height: 26px; }
.svc-card h3 { margin-bottom: 12px; position: relative; }
.svc-card p { color: var(--muted); font-size: 0.97rem; position: relative; }

/* ---------- 9. Who we work with ---------- */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.work-list { columns: 2; column-gap: 28px; margin-top: 8px; }
.work-list li { break-inside: avoid; display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); color: var(--ink-700); font-weight: 500; }
.work-list li svg { flex-shrink: 0; color: var(--accent); margin-top: 4px; }
.work-visual img { border-radius: var(--r-lg); box-shadow: var(--shadow-m); aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }
.work-note { margin-top: 26px; color: var(--muted); font-size: 0.95rem; }

/* ---------- 10. Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.why-cell { background: var(--surface); padding: 38px 32px; transition: background 0.5s var(--ease); position: relative; }
.why-cell:hover { background: var(--greige-50); }
.why-cell .wn { font-family: var(--font-display); font-size: 0.95rem; color: var(--clay-500); margin-bottom: 18px; }
.why-cell h3 { font-size: 1.25rem; margin-bottom: 12px; }
.why-cell p { color: var(--muted); font-size: 0.95rem; }
.why-cell::after { content:""; position:absolute; left:32px; bottom:0; width:0; height:2px; background: var(--accent); transition: width 0.5s var(--ease); }
.why-cell:hover::after { width: 48px; }

/* ---------- 11. How we work (process) ---------- */
.process { position: relative; }
.process-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step {
  position: relative; padding: 32px 28px; border-radius: var(--r-md);
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.5s var(--ease), background 0.5s var(--ease);
}
.bg-ink .step:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); }
.step .sn { display: inline-grid; place-items:center; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--clay-500); color: var(--clay-200); font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 22px; }
.step h3 { font-size: 1.18rem; margin-bottom: 10px; }
.step p { color: rgba(244,240,233,0.66); font-size: 0.94rem; }

/* ---------- 12. Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.price-card {
  display: flex; flex-direction: column; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s var(--ease);
  position: relative; overflow: hidden;
}
.price-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-m); }
.price-card.featured { background: var(--ink-900); color: var(--greige-100); border-color: var(--ink-900); transform: translateY(-10px); }
.price-card.featured:hover { transform: translateY(-16px); }
.price-card.featured h3, .price-card.featured .price { color: var(--greige-50); }
.price-card.featured p, .price-card.featured .plist li { color: rgba(244,240,233,0.75); }
.featured-tag { position:absolute; top:18px; right:18px; background: var(--accent); color:#fff; font-size:0.72rem; font-weight:600; letter-spacing:0.08em; text-transform:uppercase; padding:5px 12px; border-radius:100px; }
.price-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.price-card .sub { font-size: 0.9rem; color: var(--muted); margin-bottom: 22px; min-height: 60px; }
.price-card.featured .sub { color: rgba(244,240,233,0.7); }
.price-card .price { font-family: var(--font-display); font-size: 2.3rem; color: var(--ink-900); margin-bottom: 4px; }
.price-card .price small { font-size: 0.9rem; font-family: var(--font-body); color: var(--muted); font-weight: 500; }
.price-card.featured .price small { color: rgba(244,240,233,0.7); }
.price-card .price-from { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--clay-600); margin-bottom: 22px; font-weight: 600; }
.plist { margin: 22px 0 28px; flex-grow: 1; }
.plist li { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; font-size: 0.92rem; color: var(--ink-700); border-bottom: 1px solid var(--line); }
.price-card.featured .plist li { border-bottom-color: rgba(255,255,255,0.1); }
.plist li svg { flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.price-card.featured .plist li svg { color: var(--clay-500); }
.price-bespoke { grid-column: 1 / -1; display:flex; justify-content: space-between; align-items:center; gap:30px; flex-wrap: wrap; padding: 34px 40px; background: var(--clay-100); border:1px solid var(--clay-200); border-radius: var(--r-lg); margin-top: 20px; }
.price-bespoke h3 { font-size: 1.5rem; }
.price-bespoke p { color: var(--clay-700); margin-top: 4px; }

/* ---------- 13. FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0; text-align: left; font-family: var(--font-display); font-size: 1.18rem; color: var(--ink-900); transition: color 0.3s var(--ease); }
.faq-q:hover { color: var(--accent-strong); }
.faq-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; position: relative; transition: background 0.4s var(--ease), border-color 0.4s var(--ease); }
.faq-icon::before, .faq-icon::after { content:""; position:absolute; background: var(--ink-900); border-radius: 2px; transition: transform 0.4s var(--ease), background 0.3s var(--ease); }
.faq-icon::before { width: 13px; height: 1.8px; }
.faq-icon::after { width: 1.8px; height: 13px; }
.faq-item.open .faq-icon { background: var(--accent); border-color: var(--accent); }
.faq-item.open .faq-icon::before, .faq-item.open .faq-icon::after { background: #fff; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.5s var(--ease); }
.faq-a p { color: var(--muted); padding-bottom: 26px; max-width: 60ch; }
.faq-aside { position: sticky; top: 110px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 36px; }
.faq-aside h3 { margin-bottom: 12px; }
.faq-aside p { color: var(--muted); margin-bottom: 24px; font-size: 0.96rem; }

/* ---------- 14. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: stretch; }
.contact-info { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 44px; color: var(--greige-50); }
.contact-info img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.contact-info::after { content:""; position:absolute; inset:0; z-index:-1; background: linear-gradient(180deg, rgba(33,29,25,0.25), rgba(33,29,25,0.85)); }
.contact-info h2 { color: var(--greige-50); margin-bottom: 16px; }
.contact-info .lead { color: rgba(244,240,233,0.85); margin-bottom: 28px; }
.contact-details { display: flex; flex-direction: column; gap: 14px; }
.contact-details a, .contact-details span { display: flex; align-items: center; gap: 14px; font-size: 0.98rem; color: var(--greige-100); }
.contact-details svg { flex-shrink: 0; color: var(--clay-200); }

.form-wrap { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { position: relative; margin-bottom: 20px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-700); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; font-family: inherit; font-size: 0.98rem; color: var(--ink-900);
  background: var(--greige-50); border: 1.5px solid var(--line); border-radius: var(--r-sm);
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--clay-100); background: #fff; }
.field.hp { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-consent { font-size: 0.82rem; color: var(--muted); max-width: 32ch; }
.form-msg { margin-top: 18px; padding: 14px 18px; border-radius: var(--r-sm); font-size: 0.92rem; display: none; }
.form-msg.show { display: block; animation: fadeUp 0.5s var(--ease); }
.form-msg.ok { background: #E7EFE6; color: #3C6B43; border: 1px solid #C9DEC8; }
.form-msg.err { background: #F6E3DC; color: #9D4F30; border: 1px solid #ECCBBD; }
.btn[disabled] { opacity: 0.6; pointer-events: none; }
.btn .spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; display: none; }
.btn.loading .spinner { display: inline-block; }
.btn.loading .btn-label { opacity: 0.7; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 15. Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--greige-200); padding: clamp(64px, 7vw, 100px) 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .brand { color: var(--greige-50); font-size: 1.5rem; margin-bottom: 18px; }
.footer-brand p { color: rgba(244,240,233,0.6); font-size: 0.95rem; max-width: 38ch; }
.footer-reg { margin-top: 10px !important; font-size: 0.8rem !important; opacity: 0.45; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--clay-200); margin-bottom: 20px; font-weight: 600; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { color: rgba(244,240,233,0.7); font-size: 0.95rem; transition: color 0.3s var(--ease), padding-left 0.3s var(--ease); }
.footer-col a:hover { color: var(--greige-50); padding-left: 6px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 28px; }
.footer-bottom p { font-size: 0.86rem; color: rgba(244,240,233,0.5); }
.footer-bottom .legal-links { display: flex; gap: 22px; }
.footer-bottom .legal-links a { font-size: 0.86rem; color: rgba(244,240,233,0.6); transition: color 0.3s var(--ease); }
.footer-bottom .legal-links a:hover { color: var(--greige-50); }

/* ---------- 16. Cookie popup ---------- */
.cookie-pop {
  position: fixed; left: 24px; bottom: 24px; z-index: 200; width: min(420px, calc(100vw - 48px));
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-l); padding: 26px; transform: translateY(140%) scale(0.96);
  opacity: 0; transition: transform 0.6s var(--ease), opacity 0.5s var(--ease); will-change: transform;
}
.cookie-pop.show { transform: translateY(0) scale(1); opacity: 1; }
.cookie-pop .ck-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--clay-100); display: grid; place-items: center; color: var(--accent-strong); margin-bottom: 16px; }
.cookie-pop h4 { font-family: var(--font-display); font-size: 1.25rem; margin-bottom: 8px; }
.cookie-pop p { font-size: 0.9rem; color: var(--muted); margin-bottom: 18px; }
.cookie-pop p a { color: var(--accent-strong); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 12px 22px; font-size: 0.9rem; flex: 1; justify-content: center; }
.ck-prefs { margin: 4px 0 18px; display: none; }
.ck-prefs.show { display: block; animation: fadeUp 0.4s var(--ease); }
.ck-toggle { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ck-toggle .t { font-size: 0.9rem; font-weight: 600; color: var(--ink-900); }
.ck-toggle .d { font-size: 0.78rem; color: var(--muted); }
.switch { position: relative; width: 44px; height: 25px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch .track { position: absolute; inset: 0; background: var(--greige-300); border-radius: 100px; transition: background 0.3s var(--ease); }
.switch .track::before { content:""; position:absolute; left: 3px; top: 3px; width: 19px; height: 19px; background: #fff; border-radius: 50%; transition: transform 0.3s var(--ease); box-shadow: var(--shadow-s); }
.switch input:checked + .track { background: var(--accent); }
.switch input:checked + .track::before { transform: translateX(19px); }
.switch input:disabled + .track { background: var(--sage); opacity: 0.7; }
.ck-link { background: none; font-size: 0.84rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; margin-top: 14px; align-self: center; }

/* ---------- 17. Legal pages ---------- */
.legal-hero { padding-top: calc(var(--nav-h) + 70px); padding-bottom: 50px; }
.legal-hero .crumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 20px; }
.legal-hero .crumbs a { color: var(--accent-strong); }
.legal-body { padding-bottom: 110px; }
.legal-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 60px; align-items: start; }
.legal-toc { position: sticky; top: 110px; }
.legal-toc h4 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 16px; }
.legal-toc a { display: block; padding: 7px 0 7px 16px; font-size: 0.9rem; color: var(--ink-500); border-left: 2px solid var(--line); transition: color 0.3s var(--ease), border-color 0.3s var(--ease); }
.legal-toc a:hover, .legal-toc a.active { color: var(--accent-strong); border-color: var(--accent); }
.legal-content h2 { font-size: 1.5rem; margin: 44px 0 16px; scroll-margin-top: 100px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.legal-content p { color: var(--ink-700); margin-bottom: 16px; }
.legal-content ul { margin: 0 0 16px; }
.legal-content ul li { position: relative; padding-left: 24px; margin-bottom: 8px; color: var(--ink-700); }
.legal-content ul li::before { content:""; position:absolute; left: 4px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.legal-content a { color: var(--accent-strong); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- 18. Scroll reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
[data-reveal][data-delay="5"] { transition-delay: 0.40s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--clay-500), var(--clay-700)); z-index: 101; transition: width 0.1s linear; }

/* to top */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; background: var(--ink-900); color: var(--greige-50); display: grid; place-items: center; box-shadow: var(--shadow-m); opacity: 0; transform: translateY(20px) scale(0.8); pointer-events: none; transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); }

/* ---------- 19. Responsive ---------- */
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .price-card.featured:hover { transform: translateY(-8px); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 920px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 460px; margin-inline: auto; width: 100%; }
  .about-grid, .work-grid, .faq-grid, .contact-grid, .process-head { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; }
  .services-grid, .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .faq-aside { position: static; margin-top: 30px; }
  .legal-wrap { grid-template-columns: 1fr; gap: 30px; }
  .legal-toc { position: static; display: none; }

  /* mobile drawer — add backdrop and transition at breakpoint */
  .nav-drawer {
    background: rgba(33,29,25,0.45);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    transition: opacity 0.4s var(--ease);
  }
  .nav-drawer.open { opacity: 1; pointer-events: auto; }
  .nav-drawer.open .nav-drawer-panel { transform: none; }
  .nav-drawer a { padding: 16px 4px; font-family: var(--font-display); font-size: 1.4rem; color: var(--ink-900); border-bottom: 1px solid var(--line); display: block; }
  .nav-drawer .btn { margin-top: 24px; justify-content: center; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .container { padding-inline: 22px; }
  .services-grid, .why-grid, .steps, .pricing-grid, .form-row, .work-list { grid-template-columns: 1fr; columns: 1; }
  .why-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 26px; }
  .hero-badge { left: 0; right: 0; margin: 0 auto; bottom: -28px; }
  .hero-visual .frame { aspect-ratio: 4/4.4; }
  .about-visual .tag { right: 12px; font-size: 0.92rem; }
  .price-bespoke { padding: 28px 24px; }
  .cookie-pop { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 22px; }
  .to-top { right: 14px; bottom: 14px; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   20. Custom cursor — removed (standard cursor)
   ============================================================ */

/* ============================================================
   21. Floating blob keyframes
   ============================================================ */
@keyframes blobFloat {
  0%,100% { transform: translate(0,0) scale(1); }
  30%      { transform: translate(18px,-14px) scale(1.06); }
  65%      { transform: translate(-10px,12px) scale(0.96); }
}
.hero-blob.b1 { animation: blobFloat 13s ease-in-out infinite; }
.hero-blob.b2 { animation: blobFloat 9s ease-in-out infinite reverse; animation-delay: -4s; }

/* ============================================================
   22. Hero h1 word-reveal
   ============================================================ */
.hero-copy h1 .w { overflow: hidden; display: inline-block; vertical-align: bottom; }
.hero-copy h1 .w > span,
.hero-copy h1 .w > span.accent {
  display: inline-block;
  transform: translateY(105%);
  transition: transform 0.72s var(--ease);
}
.hero-copy h1.words-in .w > span,
.hero-copy h1.words-in .w > span.accent { transform: none; }

/* ============================================================
   23. Section head accent line
   ============================================================ */
.section-head > h2::after {
  content: ''; display: block;
  width: 48px; height: 3px; margin-top: 20px; border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.65s var(--ease) 0.2s;
}
[data-reveal].in ~ * .section-head > h2::after,
.section-head.reveal-done > h2::after { transform: scaleX(1); }

/* ============================================================
   24. Service card left-edge accent + glow
   ============================================================ */
.svc-card::after {
  content: ''; position: absolute; left: 0; top: 16px; bottom: 16px;
  width: 3px; background: var(--accent); border-radius: 0 2px 2px 0;
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}
.svc-card:hover::after { transform: scaleY(1); }
.svc-card:hover { box-shadow: var(--shadow-m), 0 0 0 1px var(--clay-200); }

/* ============================================================
   25. Process step connector lines (desktop)
   ============================================================ */
@media (min-width: 921px) {
  .steps { position: relative; }
  .step { z-index: 1; }
  .step:not(:nth-child(3n)) .sn::after {
    content: ''; position: absolute; left: 48px; top: 50%; width: calc(100% + 26px);
    height: 1px; background: rgba(255,255,255,0.12); z-index: 0; pointer-events: none;
  }
  .step .sn { position: relative; }
}

/* ============================================================
   26. Why-cell enhanced hover fill
   ============================================================ */
.why-cell:hover {
  background: var(--clay-100);
  box-shadow: inset 0 0 0 1px var(--clay-200);
}
.why-cell:hover .wn { color: var(--accent); }
.why-cell:hover h3 { color: var(--accent-strong); }

/* ============================================================
   27. Cookie popup — fits any viewport height
   ============================================================ */
.cookie-pop {
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--clay-200) transparent;
}

/* ============================================================
   28. Intro band large quote style
   ============================================================ */
.section--tight .section-head h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-style: italic;
  line-height: 1.14;
}

/* ============================================================
   29. FAQ aside sticky card visual refinement
   ============================================================ */
.faq-aside {
  background: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--greige-100);
}
.faq-aside h2 { color: var(--greige-50); }
.faq-aside .eyebrow { color: var(--clay-200); }
.faq-aside .eyebrow::before { background: var(--clay-500); }
.faq-aside p { color: rgba(244,240,233,0.72); }

/* ============================================================
   30. Marquee refined typography
   ============================================================ */
.marquee-track { align-items: center; }
.marquee span { font-style: italic; letter-spacing: -0.01em; }

/* ============================================================
   31. Hero stats number refinement
   ============================================================ */
.hero-meta .num { font-style: italic; letter-spacing: -0.04em; }

/* ============================================================
   32. Nav — add active link underline tracking
   ============================================================ */
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink-900); font-weight: 600; }

/* ============================================================
   33. Scroll progress bar — thicker + gradient
   ============================================================ */
.scroll-progress {
  height: 3px;
  background: linear-gradient(90deg, var(--clay-200), var(--accent), var(--clay-700));
}

/* ============================================================
   34. Image hover scale
   ============================================================ */
.about-visual img,
.work-visual img { transition: transform 0.7s var(--ease); }
.about-visual:hover img,
.work-visual:hover img { transform: scale(1.025); }

/* ============================================================
   35. Pricing featured card shimmer top border
   ============================================================ */
.price-card.featured::before {
  content: ''; position: absolute; top: 0; left: 24px; right: 24px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--clay-500), var(--clay-200), transparent);
  border-radius: 0 0 2px 2px;
}

/* ============================================================
   36. Contact info card image dark vignette
   ============================================================ */
.contact-info::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(33,29,25,0.4), transparent 60%);
}

/* ============================================================
   37. Values pill animation on scroll
   ============================================================ */
.values li { transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.values li:hover { transform: translateY(-3px); box-shadow: var(--shadow-s); }

/* ============================================================
   38. Hero badge pulse ring
   ============================================================ */
@keyframes ringPulse {
  0%   { box-shadow: 0 0 0 0 rgba(192,107,71,0.3); }
  70%  { box-shadow: 0 0 0 10px rgba(192,107,71,0); }
  100% { box-shadow: 0 0 0 0 rgba(192,107,71,0); }
}
.hero-badge .ring { animation: ringPulse 2.4s ease-out infinite; }

/* ============================================================
   39. Form select arrow custom
   ============================================================ */
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236F665B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 44px;
}

/* ============================================================
   40. Mobile: hero stacking improvements
   ============================================================ */
@media (max-width: 920px) {
  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-copy h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); }
  .work-visual { order: -1; }
  .faq-aside { order: 1; margin-top: 0; margin-bottom: 30px; }
}
@media (max-width: 620px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .contact-info { min-height: 320px; padding: 28px; }
  .pricing-grid .price-card.featured { transform: none; }
}
