/* =========================================================
   RACHAEL ATELIER — Tailored With Grace
   Palette: ivory / blush / mauve / burgundy / muted gold
   ========================================================= */

:root {
  --ivory: #fbf7f2;
  --cream: #f8f1ea;
  --cream-deep: #f3e8de;
  --blush: #f6e9e5;
  --blush-deep: #efdcd6;
  --mauve: #b48a9a;
  --burgundy: #7b2346;
  --burgundy-dark: #5f1934;
  --gold: #a9834c;
  --gold-soft: #c9a56a;
  --gold-light: #e7cc93;
  --brown: #8b5e34;
  --brown-deep: #2b1a14;
  --ink: #1f1916;
  --text: #3a302b;
  --muted: #6e615a;
  --line: #eadfd5;
  --white: #ffffff;

  --serif: "Playfair Display", "Libre Baskerville", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1280px;
  --gutter: clamp(16px, 3.2vw, 40px);
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(74, 40, 30, .06);
  --shadow: 0 10px 30px -12px rgba(74, 40, 30, .22);
  --shadow-lg: 0 24px 50px -20px rgba(74, 40, 30, .35);
  --header-h: 116px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--burgundy);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--burgundy); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(880px + var(--gutter) * 2); }

/* ---------- Colour helpers ---------- */
.t-gold { color: var(--brown); }
.t-burgundy { color: var(--burgundy); }
.t-ink { color: var(--ink); }

/* ---------- Icons ---------- */
.ico { width: 20px; height: 20px; flex: none; }
.ico-line,
.service-badge svg,
.step-icon svg,
.arrow-btn svg,
.faq-item summary svg,
.brief-close svg,
.nav-toggle svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-toggle .ico { stroke: currentColor; fill: none; stroke-width: 1.8; }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn-burgundy {
  background: var(--burgundy);
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(123, 35, 70, .65);
}
.btn-burgundy:hover { background: var(--burgundy-dark); transform: translateY(-1px); box-shadow: 0 14px 26px -10px rgba(123, 35, 70, .7); }
.btn-outline {
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  border-color: #c9a9ae;
}
.btn-outline:hover { border-color: var(--burgundy); color: var(--burgundy); background: #fff; }
.btn-sm { --h: 44px; padding: 0 20px; font-size: 13px; letter-spacing: .01em; text-transform: none; font-weight: 600; }
.btn-lg { --h: 66px; padding: 0 34px; font-size: 15px; }
.btn-lg .ico { width: 24px; height: 24px; }
.btn-xl { --h: 72px; padding: 0 44px; font-size: 16px; }
.btn-xl .ico { width: 26px; height: 26px; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 242, .94);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(74, 40, 30, .35); }
.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand-logo {
  width: 160px; height: auto;
  transition: width .35s var(--ease);
}
.header-inner { transition: height .35s var(--ease); }
.site-header.is-scrolled .header-inner { height: 92px; }
.site-header.is-scrolled .brand-logo { width: 124px; }

.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.main-nav a {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: 15px; font-weight: 500; color: var(--text);
  transition: color .2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px;
  background: var(--burgundy); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--burgundy); }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.header-cta { margin-left: clamp(16px, 3vw, 48px); }
.nav-toggle {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  align-items: center; justify-content: center; cursor: pointer;
}
.nav-toggle .ico { width: 24px; height: 24px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--ivory) 0%, #fbf5ef 100%);
  overflow: hidden;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 46%) 1fr;
  grid-template-areas:
    "copy ."
    "trust .";
  align-content: center;
  min-height: 640px;
  padding-block: 56px 40px;
}
.hero-copy { grid-area: copy; position: relative; z-index: 2; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold);
}
.hero-title {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(40px, 5.3vw, 76px);
  line-height: 1.08;
  letter-spacing: -.005em;
}
.hero-title span { display: block; }
.hero-title .t-gold { color: #946336; }
.hero-lead {
  margin-top: 26px; max-width: 540px;
  font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; color: var(--text);
}
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 18px; }
.hero-actions .btn-lg { min-width: 220px; }

.hero-media {
  position: absolute; z-index: 1;
  top: 0; bottom: 0; right: 0;
  width: 56vw; max-width: 1100px;
}
.hero-grid > .hero-media { right: calc(var(--gutter) * -1); }
@media (min-width: 1361px) {
  .hero-grid > .hero-media { right: calc((100vw - var(--container)) / -2); }
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 20%; }
.hero-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--ivory) 0%, rgba(251, 247, 242, .6) 10%, rgba(251, 247, 242, 0) 26%);
}
.hero-media::after {
  /* soft curved panel echoing the reference */
  content: ""; position: absolute; left: -2%; bottom: -60px; width: 26%; height: 170px; z-index: 1;
  background: rgba(251, 247, 242, .85); border-top-right-radius: 100% 140%;
  pointer-events: none;
}

.hero-trust {
  grid-area: trust; grid-column: 1 / -1; position: relative; z-index: 2;
  margin-top: 44px; max-width: 760px;
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 26px;
}
.hero-trust li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; line-height: 1.35; color: var(--muted); max-width: 170px; }
.hero-trust li span { max-width: 118px; }
.hero-trust .ico-line { width: 30px; height: 30px; color: var(--gold); flex: none; }

/* ---------- Section scaffolding ---------- */
.section { padding-block: clamp(56px, 6vw, 88px); }
.section-head { text-align: center; margin-bottom: clamp(28px, 3vw, 44px); }
.section-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 3.2vw, 46px); line-height: 1.15;
}
.section-sub { margin-top: 10px; font-size: clamp(15px, 1.15vw, 17px); color: var(--text); }

/* ---------- Services ---------- */
.services { padding-top: clamp(40px, 4vw, 56px); padding-bottom: clamp(48px, 5vw, 64px); }
.services .section-title { color: #946336; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(234, 223, 213, .7);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-media { position: relative; aspect-ratio: 1.3 / 1; overflow: hidden; }
.service-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .8s var(--ease); }
.service-media img.focus-majlis { object-position: 56% 30%; }
.service-card:hover .service-media img { transform: scale(1.04); }
.service-badge {
  position: absolute; left: 24px; top: 0; transform: translateY(-50%);
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--cream); color: var(--gold);
  display: grid; place-items: center;
  box-shadow: 0 0 0 4px var(--cream);
}
.service-badge svg { width: 18px; height: 18px; }
.service-body { position: relative; padding: 28px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.service-body p { margin-top: 10px; font-size: 14.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.arrow-btn {
  margin-top: 22px;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--gold); color: #fff;
  display: grid; place-items: center;
  transition: background-color .25s, transform .3s var(--ease);
}
.arrow-btn svg { width: 20px; height: 20px; stroke-width: 1.8; }
.arrow-btn:hover { background: var(--burgundy); transform: translateX(4px); }

/* ---------- Process (dark textured) ---------- */
.process {
  position: relative; overflow: hidden;
  padding-block: 56px 10px;
  color: #fff;
  background:
    radial-gradient(1200px 380px at 50% 0%, rgba(132, 82, 58, .45), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, rgba(140, 60, 80, .35), transparent 70%),
    linear-gradient(180deg, #3a241b 0%, #2b1a14 55%, #26160f 100%);
}
.process::before {
  /* subtle linen texture */
  content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 1px, transparent 1px 3px);
}
.process-deco {
  position: absolute; top: 0; height: 230px; width: 30vw; max-width: 440px; object-fit: cover;
  pointer-events: none; opacity: .9;
}
.process-deco--left {
  left: 0; object-position: left top;
  -webkit-mask-image: radial-gradient(120% 100% at 0% 0%, #000 60%, transparent 90%);
  mask-image: radial-gradient(120% 100% at 0% 0%, #000 60%, transparent 90%);
}
.process-deco--right {
  right: 0; object-position: right top;
  -webkit-mask-image: radial-gradient(120% 100% at 100% 0%, #000 60%, transparent 90%);
  mask-image: radial-gradient(120% 100% at 100% 0%, #000 60%, transparent 90%);
}
.process .container { position: relative; }
.section-head--light .section-title { color: var(--gold-light); }
.section-head--light .section-sub { color: rgba(255, 255, 255, .88); }
.process .section-head { margin-bottom: 64px; }

.steps {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, #fbf3ee 0%, #f6ebe5 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  color: var(--text);
  margin-bottom: -2px;
}
.step {
  position: relative; text-align: center;
  padding: 56px 28px 34px;
}
.step + .step::before {
  content: ""; position: absolute; left: 0; top: 56px; bottom: 34px; width: 1px;
  background: linear-gradient(180deg, transparent, var(--line) 20%, var(--line) 80%, transparent);
}
.step + .step::after {
  /* gold chevron connecting the step icons */
  content: ""; position: absolute; left: -7px; top: -6px;
  width: 12px; height: 12px;
  border-top: 2px solid var(--gold-soft); border-right: 2px solid var(--gold-soft);
  transform: rotate(45deg);
}
.step-icon {
  position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%);
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center;
  background: #fbf4ee; color: var(--gold);
  border: 1.5px solid var(--gold-soft);
  box-shadow: 0 0 0 6px rgba(251, 244, 238, .35), 0 10px 20px -10px rgba(0, 0, 0, .5);
}
.step-icon svg { width: 34px; height: 34px; }
.step-num { display: block; font-family: var(--serif); font-size: 15px; letter-spacing: .12em; color: var(--muted); }
.step h3 { margin-top: 4px; font-family: var(--sans); font-size: 19px; font-weight: 700; color: var(--ink); }
.step p { margin: 10px auto 0; max-width: 230px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- Portfolio ---------- */
.portfolio { background: #fff; }
.portfolio-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.pf-card figure { position: relative; }
.pf-img {
  border-radius: var(--radius-sm); overflow: hidden;
  aspect-ratio: .9 / 1;
  box-shadow: var(--shadow-sm);
  background: var(--cream);
}
.pf-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; transition: transform .9s var(--ease); }
.pf-card:hover .pf-img img { transform: scale(1.07); }
.pf-card figcaption {
  position: relative; z-index: 1;
  margin: -6px 0 0; padding: 9px 10px;
  background: #fff; border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  box-shadow: 0 6px 14px -8px rgba(74, 40, 30, .35);
  border: 1px solid var(--line); border-top: 0;
  text-align: center; font-size: 13.5px; font-weight: 600; color: var(--ink);
}

/* ---------- Testimonials ---------- */
.testimonials { background: linear-gradient(180deg, var(--blush) 0%, #f8eeeb 100%); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-shot {
  border-radius: var(--radius); overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.testimonial-shot:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-shot img { width: 100%; height: auto; }

/* ---------- FAQ ---------- */
.faq { background: var(--ivory); }
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: box-shadow .3s, border-color .3s;
}
.faq-item[open] { border-color: #e2cfc3; box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 60px; padding: 14px 22px;
  font-weight: 600; font-size: 16px; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 22px; height: 22px; flex: none; color: var(--gold); transition: transform .3s var(--ease); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-body { padding: 0 22px 20px; color: var(--muted); font-size: 15px; }

/* ---------- Final CTA ---------- */
.final-cta {
  position: relative; overflow: hidden; text-align: center;
  padding-block: clamp(64px, 6vw, 84px);
  background:
    radial-gradient(60% 120% at 50% 50%, #fbf5ef 0%, #f6ece3 70%, #f1e3d8 100%);
}
.cta-fabric {
  position: absolute; top: 0; height: 100%; width: 26vw; max-width: 380px; object-fit: cover;
  pointer-events: none;
}
.cta-fabric--left { left: 0; object-position: left center; -webkit-mask-image: linear-gradient(90deg, #000 45%, transparent); mask-image: linear-gradient(90deg, #000 45%, transparent); }
.cta-fabric--right { right: 0; object-position: right center; -webkit-mask-image: linear-gradient(270deg, #000 45%, transparent); mask-image: linear-gradient(270deg, #000 45%, transparent); }
.final-cta-inner { position: relative; }
.final-cta .section-sub { margin-top: 12px; }
.final-cta .btn { margin-top: 32px; min-width: min(100%, 460px); }

/* ---------- Footer trust strip ---------- */
.site-footer { background: #f5f2ef; border-top: 1px solid var(--line); }
.trust-strip {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 16px clamp(28px, 5vw, 72px);
  padding-block: 40px 22px;
}
.trust-strip li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text); max-width: 190px; line-height: 1.3; }
.trust-strip .ico-line { width: 34px; height: 34px; color: var(--gold); flex: none; }
.copyright { text-align: center; padding: 0 16px 28px; font-size: 13px; color: var(--muted); }

/* ---------- Floating / sticky WhatsApp ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--burgundy); color: #fff;
  box-shadow: 0 14px 30px -10px rgba(123, 35, 70, .7);
  transform: translateY(20px) scale(.9); opacity: 0; pointer-events: none;
  transition: transform .4s var(--ease), opacity .4s var(--ease), background-color .25s;
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.wa-float:hover { background: var(--burgundy-dark); }

.mobile-cta {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 247, 242, .96);
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 24px -18px rgba(74, 40, 30, .45);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.mobile-cta .btn { --h: 52px; font-size: 14px; }

/* ---------- Brief dialog ---------- */
.brief {
  width: min(600px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: 18px;
  background: var(--ivory); color: var(--text);
  box-shadow: var(--shadow-lg);
}
.brief::backdrop { background: rgba(43, 26, 20, .55); backdrop-filter: blur(3px); }
.brief[open] { animation: dialog-in .35s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.brief-form { position: relative; padding: 34px 32px 30px; display: grid; gap: 16px; }
.brief h2 { font-family: var(--serif); font-weight: 600; font-size: 28px; line-height: 1.2; color: var(--ink); margin-top: -6px; }
.brief-note { font-size: 14.5px; color: var(--muted); }
.brief-note strong { color: var(--burgundy); font-weight: 600; }
.brief-close {
  position: absolute; top: 14px; right: 14px;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: var(--muted);
  display: grid; place-items: center; cursor: pointer;
}
.brief-close:hover { background: var(--cream-deep); color: var(--ink); }
.brief-close svg { width: 22px; height: 22px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid #e0d2c7; border-radius: 10px; background: #fff;
  font-size: 16px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(123, 35, 70, .12);
}
.brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 6px; }
.brief-actions .btn-lg { --h: 56px; }
.brief-skip { font-size: 14px; font-weight: 600; color: var(--burgundy); text-decoration: underline; text-underline-offset: 3px; padding: 12px 0; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  .header-cta span { display: none; }
  .header-cta { padding: 0; width: 46px; min-height: 46px; }
  .header-cta .ico { width: 22px; height: 22px; }
  .hero-trust { grid-template-columns: repeat(2, auto); max-width: 520px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1023px) {
  :root { --header-h: 96px; }
  .brand-logo { width: 128px; }
  .site-header.is-scrolled .header-inner { height: 76px; }
  .site-header.is-scrolled .brand-logo { width: 104px; }
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: 8px; order: 3; }
  .nav-toggle { order: 2; }
  .main-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -24px rgba(74, 40, 30, .5);
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .35s var(--ease), visibility 0s .35s;
  }
  .main-nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .35s var(--ease); }
  .main-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .main-nav a { display: flex; align-items: center; min-height: 52px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .main-nav li:last-child a { border-bottom: 0; }
  .main-nav a::after { display: none; }

  /* Hero stacks: copy → image → trust */
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "media" "trust";
    min-height: 0; padding-block: 40px 40px;
  }
  .hero-grid > .hero-media {
    grid-area: media; position: relative; inset: auto; right: auto;
    width: 100%; max-width: none; margin-top: 36px;
    border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4;
    box-shadow: var(--shadow);
  }
  .hero-media::before, .hero-media::after { display: none; }
  .hero-media img { object-position: 40% 20%; }
  .hero-copy { max-width: 680px; }
  .hero-trust { margin-top: 28px; grid-template-columns: repeat(4, 1fr); }
  .hero-trust li { max-width: none; }

  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 56px; padding-top: 0; }
  .step:nth-child(3)::before, .step:nth-child(3)::after { display: none; }
  .process { padding-bottom: 56px; }
  .steps { margin-bottom: 0; }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .wa-float { display: none; }
  .mobile-cta { display: block; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 90px; }
  .header-cta { display: none; }
  .brand-logo { width: 120px; }
  .hero-grid { padding-top: 28px; }
  .eyebrow { font-size: 11px; letter-spacing: .14em; }
  .hero-title { font-size: clamp(36px, 10.4vw, 48px); margin-top: 14px; }
  .hero-lead { margin-top: 18px; font-size: 16px; }
  .hero-actions { flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero-actions .btn-lg { --h: 56px; width: 100%; min-width: 0; }
  .hero-grid > .hero-media { margin-top: 28px; aspect-ratio: 1 / 1; }
  .hero-trust { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
  .hero-trust li { font-size: 13.5px; }
  .hero-trust .ico-line { width: 28px; height: 28px; }

  .service-grid { grid-template-columns: 1fr; gap: 18px; }
  .service-media { aspect-ratio: 1.45 / 1; }

  .process { padding-top: 48px; }
  .process-deco { height: 90px; opacity: .7; }
  .process .section-head { margin-bottom: 56px; }
  .steps { grid-template-columns: 1fr; row-gap: 0; background: transparent; box-shadow: none; gap: 52px; }
  .step {
    background: linear-gradient(180deg, #fbf3ee 0%, #f6ebe5 100%);
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 52px 22px 26px;
  }
  .step + .step::before { display: none; }
  .step + .step::after {
    display: block; left: 50%; top: -34px; transform: translateX(-50%) rotate(135deg);
  }
  .step:nth-child(3)::after { display: block; }

  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 14px 12px; }
  .pf-card figcaption { font-size: 13px; padding: 8px 6px; }


  .final-cta { padding-block: 56px 60px; }
  .cta-fabric { width: 30vw; opacity: .55; }
  .final-cta .btn-xl { --h: 60px; padding: 0 22px; font-size: 14px; letter-spacing: .04em; white-space: normal; text-align: center; width: 100%; }

  .trust-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 14px; padding-block: 32px 18px; }
  .trust-strip li { max-width: none; font-size: 13.5px; }
  .trust-strip li:last-child { grid-column: 1 / -1; justify-self: center; }

  .brief-form { padding: 28px 18px 22px; }
  .brief h2 { font-size: 23px; padding-right: 36px; }
  .field-row { grid-template-columns: 1fr; }
  .brief-actions .btn { width: 100%; }
  .brief-skip { margin-inline: auto; }
}
