/* =========================================================
   CORA INTERIORS PTE. LTD. — "Limewash & Arches" theme
   Fonts: Bodoni Moda (hero + headings) · Figtree (body)
   Palette: Limewash · Travertine · Walnut Ink · Sage (switchable) · Brass
   ========================================================= */

:root {
  --lime: #f6f2ec;
  --trav: #ebe3d7;
  --stone: #d6cbbb;
  --ink: #2b2622;
  --ink-soft: #5d554d;
  --brass: #b08d57;
  --line: rgba(43, 38, 34, 0.14);

  /* accent — changed by palette picker */
  --accent: #6f7a5e;
  --accent-deep: #4f5842;
  --accent-tint: #e2e5d9;

  --f-serif: "Bodoni Moda", "Didot", serif;
  --f-sans: "Figtree", sans-serif;

  --ease: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --arch: 999px 999px 6px 6px;
  transition: --accent .6s;
}
html[data-theme="clay"]   { --accent: #a8664a; --accent-deep: #7e4a34; --accent-tint: #f1e1d8; }
html[data-theme="walnut"] { --accent: #5a4636; --accent-deep: #3e3026; --accent-tint: #e6ddd4; }
html[data-theme="mist"]   { --accent: #6e8790; --accent-deep: #4c636b; --accent-tint: #dfe7e9; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans); font-weight: 400;
  color: var(--ink); background: var(--lime);
  font-size: 17px; line-height: 1.7;
  overflow-x: hidden; -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
/* soft paper grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }
.container { width: min(1280px, 100% - 56px); margin-inline: auto; }
.section { padding: clamp(90px, 12vw, 160px) 0; }

/* accent colour changes smoothly everywhere */
.btn--solid, .eyebrow::before, .svc__no, .chip.is-active, .step__no, .h2 em, .hero__title em,
.compare__handle, .pills input:checked + span, .kicker__line, .studio__card, .footer__big em {
  transition: background-color .6s var(--ease), color .6s var(--ease), border-color .6s var(--ease);
}

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--trav), var(--stone));
}
.ph::before {
  content: "images/" attr(data-label);
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-sans); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); z-index: 0;
}
.ph img { position: relative; z-index: 1; transition: transform 1.4s var(--ease-out), opacity .3s; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; pointer-events: none; }
.loader__door {
  position: absolute; top: 0; bottom: 0; width: 50.5%; background: var(--trav);
  transition: transform 1.3s var(--ease);
}
.loader__door--l { left: 0; border-right: 1px solid var(--stone); }
.loader__door--r { right: 0; border-left: 1px solid var(--stone); }
.loader__door::after {
  content: ""; position: absolute; top: 50%; width: 4px; height: 70px; margin-top: -35px;
  background: var(--brass); border-radius: 4px;
}
.loader__door--l::after { right: 22px; }
.loader__door--r::after { left: 22px; }
.loader.is-open .loader__door--l { transform: translateX(-100%); }
.loader.is-open .loader__door--r { transform: translateX(100%); }
.loader__content { position: relative; z-index: 2; text-align: center; transition: opacity .5s, transform .6s var(--ease); }
.loader.is-open .loader__content { opacity: 0; transform: scale(.94); }

.plan { width: 200px; margin: 0 auto 24px; overflow: visible; }
.plan__line {
  fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round;
  stroke-dasharray: 800; stroke-dashoffset: 800;
  animation: draw 2s var(--ease) forwards;
}
.plan__line:nth-child(2) { animation-delay: .5s; }
.plan__door { stroke: var(--brass); stroke-dasharray: 4 5; stroke-dashoffset: 0; opacity: 0; animation: fadeIn .6s 1.1s forwards; }
.plan__line:nth-child(4) { stroke: var(--accent); animation-delay: .9s; }
.plan__fill { fill: var(--accent); opacity: 0; animation: fadeIn .6s 1.4s forwards; }
.plan circle.plan__fill { fill: var(--brass); animation-delay: 1.6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: .85; } }

.loader__brand { font-family: var(--f-serif); font-size: 2.2rem; font-weight: 500; letter-spacing: .02em; }
.loader__brand em { font-style: italic; color: var(--accent); }
.loader__pct { font-size: .72rem; letter-spacing: .3em; color: var(--ink-soft); margin-top: 6px; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 950; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--ink);
  display: grid; place-items: center;
  transition: width .45s var(--ease-out), height .45s var(--ease-out), margin .45s var(--ease-out), background .4s;
}
.cursor span { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--lime); opacity: 0; transition: opacity .3s; }
.cursor.is-view { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: var(--accent); }
.cursor.is-view span { opacity: 1; }
.cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: transparent; border: 1px solid var(--ink); }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: 17px 30px; border-radius: 999px; overflow: hidden; isolation: isolate;
}
.btn .arr { display: inline-block; transition: transform .5s var(--ease-out); }
.btn:hover .arr { transform: translate(3px, -3px) rotate(45deg); }
.btn--solid { background: var(--accent); color: var(--lime); }
.btn--solid::before {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 100%;
  width: 140%; aspect-ratio: 1; border-radius: 50%; background: var(--ink);
  transform: translate(-50%, 0) scale(0); transition: transform .7s var(--ease-out);
}
.btn--solid:hover::before { transform: translate(-50%, -60%) scale(1); }
.btn--line { border: 1px solid var(--ink); padding: 12px 22px; font-size: .74rem; transition: background .4s, color .4s; }
.btn--line:hover { background: var(--ink); color: var(--lime); }
.btn--text { padding: 17px 6px; }
.btn--text::after {
  content: ""; position: absolute; left: 6px; right: 6px; bottom: 12px; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .5s var(--ease);
}
.btn--text:hover::after { transform: scaleX(0); }
.btn--full { width: 100%; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; padding: 26px 0; transition: padding .5s var(--ease), background .5s, transform .5s var(--ease); }
.header.is-scrolled { padding: 14px 0; background: rgba(246, 242, 236, .85); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { display: flex; align-items: center; gap: 36px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__arch {
  width: 22px; height: 30px; border: 1.5px solid var(--ink); border-radius: var(--arch);
  position: relative; transition: background .5s;
}
.brand__arch::after {
  content: ""; position: absolute; left: 50%; bottom: 3px; width: 1.5px; height: 12px; background: var(--ink); transform: translateX(-50%);
}
.brand:hover .brand__arch { background: var(--accent-tint); }
.brand__name { font-family: var(--f-serif); font-size: 1.55rem; font-weight: 600; letter-spacing: .01em; line-height: 1; }
.brand__name em { font-style: italic; font-weight: 400; margin-left: 6px; color: var(--accent); }

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  position: relative; display: block; overflow: hidden; height: 1.6em;
  font-size: .9rem; line-height: 1.6;
}
.nav a::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%;
  font-family: var(--f-serif); font-style: italic; color: var(--accent);
}
.nav a, .nav a::after { transition: transform .5s var(--ease); }
.nav a:hover { color: transparent; }
.nav a:hover::after { transform: translateY(-100%); }
/* text slides up, italic replaces it */
.nav a { color: var(--ink); transition: color .25s; }

.burger { display: none; width: 44px; height: 44px; position: relative; margin-left: auto; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .5s var(--ease), opacity .3s, top .5s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger.is-open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; padding: 120px 0 70px; display: flex; align-items: center; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -10vw; top: -10vw; width: 55vw; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--accent-tint), transparent 65%); z-index: -1;
  animation: glow 12s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-6vw, 8vw) scale(1.1); } }
.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; width: min(1280px, 100% - 56px); }

.kicker { display: flex; align-items: center; gap: 14px; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 30px; }
.kicker__line { width: 0; height: 1px; background: var(--accent); }
body.is-ready .kicker__line { animation: lineGrow 1s var(--ease) .2s forwards; }
@keyframes lineGrow { to { width: 48px; } }

.hero__title {
  font-family: var(--f-serif); font-weight: 400;
  font-size: clamp(3.2rem, min(7.4vw, 11.5vh), 7.4rem);
  line-height: .98; letter-spacing: -.025em;
  margin-bottom: 34px;
  font-variation-settings: "opsz" 96;
}
.hero__title .hl { display: block; overflow: hidden; padding: 0 .06em .08em 0; }
.hero__title .hl--indent { padding-left: clamp(30px, 6vw, 110px); }
.hero__title em { font-style: italic; font-weight: 500; color: var(--accent); }
.hero__title .ch { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: left bottom; opacity: 0; }
body.is-ready .hero__title .ch { animation: chRise 1.1s var(--ease-out) forwards; animation-delay: calc(var(--i) * 28ms + .25s); }
@keyframes chRise { to { transform: none; opacity: 1; } }

.hero__lead { max-width: 520px; color: var(--ink-soft); font-size: 1.06rem; margin-bottom: 38px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-bottom: 34px; }
.hero__lead, .hero__actions, .palette { opacity: 0; transform: translateY(24px); }
body.is-ready .hero__lead { animation: up 1s var(--ease-out) 1.1s forwards; }
body.is-ready .hero__actions { animation: up 1s var(--ease-out) 1.25s forwards; }
body.is-ready .palette { animation: up 1s var(--ease-out) 1.4s forwards; }
@keyframes up { to { opacity: 1; transform: none; } }

.palette { display: flex; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 420px; }
.palette__label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.palette__chips { display: flex; gap: 10px; }
.chip {
  width: 26px; height: 26px; border-radius: 50%; background: var(--c);
  box-shadow: 0 0 0 0 var(--lime), 0 0 0 0 var(--c);
  transition: transform .4s var(--ease-out), box-shadow .4s;
}
.chip:hover { transform: scale(1.15); }
.chip.is-active { box-shadow: 0 0 0 3px var(--lime), 0 0 0 4px var(--c); }
.palette__name { font-family: var(--f-serif); font-style: italic; font-size: 1.1rem; color: var(--accent); min-width: 70px; }

.hero__visual { position: relative; transition: transform .9s var(--ease-out); }
.swatch { transition: translate .9s var(--ease-out); }
.arch--hero {
  aspect-ratio: 3 / 4.1; border-radius: var(--arch);
  clip-path: inset(100% 0 0 0 round 999px 999px 6px 6px);
  box-shadow: 0 40px 80px -40px rgba(43, 38, 34, .45);
}
body.is-ready .arch--hero { animation: archUp 1.6s var(--ease) .15s forwards; }
@keyframes archUp { to { clip-path: inset(0 0 0 0 round 999px 999px 6px 6px); } }
.arch--hero img { transform: scale(1.25); }
body.is-ready .arch--hero img { transform: scale(1.02); transition-duration: 2.4s; transition-delay: .15s; }
/* light sweep accent */
.arch--hero::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, .28) 50%, transparent 60%);
  transform: translateX(-120%);
}
body.is-ready .arch--hero::after { animation: sweep 6s ease-in-out 2.2s infinite; }
@keyframes sweep { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

.swatch {
  position: absolute; z-index: 3; width: 92px; height: 112px; border-radius: 6px;
  background: var(--sw); box-shadow: 0 20px 40px -18px rgba(43, 38, 34, .45);
  display: flex; align-items: flex-end; padding: 8px 10px;
  opacity: 0;
}
.swatch span { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--lime); }
.swatch--1 { --sw: linear-gradient(160deg, #b5895c, #8c6440); left: -46px; top: 18%; }
.swatch--2 { --sw: linear-gradient(160deg, #e9e1d3, #d8ccb8); left: -20px; top: 46%; width: 76px; height: 92px; }
.swatch--2 span { color: var(--ink-soft); }
.swatch--3 {
  --sw: radial-gradient(circle at 20% 30%, #a99b8a 2px, transparent 3px), radial-gradient(circle at 70% 60%, #8c7f70 2px, transparent 3px), radial-gradient(circle at 40% 80%, #b9a48c 3px, transparent 4px), #e4ddd2;
  background-size: 22px 22px, 28px 28px, 34px 34px, auto;
  right: -30px; top: 8%; width: 80px; height: 80px; border-radius: 50%;
}
.swatch--3 span { color: var(--ink-soft); margin: 0 auto; }
body.is-ready .swatch--1 { animation: swIn 1s var(--ease-out) 1.4s forwards, bob 6s ease-in-out 2.4s infinite; }
body.is-ready .swatch--2 { animation: swIn 1s var(--ease-out) 1.55s forwards, bob 7s ease-in-out 2.6s infinite reverse; }
body.is-ready .swatch--3 { animation: swIn 1s var(--ease-out) 1.7s forwards, bob 8s ease-in-out 2.8s infinite; }
@keyframes swIn { from { opacity: 0; transform: translateY(30px) rotate(-8deg); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-12px) rotate(2deg); } }

.hero__note {
  position: absolute; right: -24px; bottom: 9%; z-index: 3;
  display: flex; gap: 14px; align-items: center;
  background: var(--lime); padding: 14px 20px; border-radius: 999px;
  box-shadow: 0 20px 40px -20px rgba(43, 38, 34, .4);
  opacity: 0;
}
body.is-ready .hero__note { animation: up 1s var(--ease-out) 1.9s forwards; }
.hero__note-num { font-family: var(--f-serif); font-style: italic; font-size: 1.6rem; color: var(--accent); }
.hero__note p { font-size: .82rem; line-height: 1.35; }
.hero__note em { color: var(--ink-soft); }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.scroll-cue i { width: 1px; height: 46px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--ink); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100%; } }
@media (max-height: 940px), (max-width: 900px) { .scroll-cue { display: none; } }

/* ---------- Headings ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.eyebrow--light { color: rgba(246, 242, 236, .7); }
.h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.3rem, 4.8vw, 4.1rem); line-height: 1.06; letter-spacing: -.02em; margin-bottom: 26px; }
.h2 em { font-style: italic; color: var(--accent); }
.h2--light { color: var(--lime); }
.h2--light em { color: var(--stone); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(46px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Studio ---------- */
.studio__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(50px, 8vw, 120px); align-items: center; }
.studio__text > p { color: var(--ink-soft); margin-bottom: 18px; max-width: 560px; }
.principles { list-style: none; margin-top: 36px; border-top: 1px solid var(--line); }
.principles li {
  display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line);
  font-family: var(--f-serif); font-size: 1.35rem;
  transition: padding .5s var(--ease-out), color .4s;
}
.principles li span { font-style: italic; color: var(--accent); width: 32px; font-size: 1rem; }
.principles li:hover { padding-left: 14px; color: var(--accent-deep); }

.studio__media { position: relative; }
.studio__img { aspect-ratio: 4 / 5; border-radius: 6px 6px 999px 999px; }
.studio__media:hover .studio__img img { transform: scale(1.06); }
.studio__card {
  position: absolute; left: -40px; bottom: 50px; z-index: 2;
  background: var(--accent); color: var(--lime);
  padding: 22px 28px; border-radius: 6px; display: flex; flex-direction: column; gap: 2px;
}
.studio__card strong { font-family: var(--f-serif); font-size: 1.8rem; font-weight: 500; letter-spacing: .02em; }
.studio__card-k { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; }

/* ---------- Services ---------- */
.services { background: var(--trav); }
.services__head { text-align: center; max-width: 780px; margin: 0 auto 70px; }
.services__head .eyebrow { justify-content: center; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 46px 28px; }
.svc:nth-child(even) { margin-top: 70px; }
.svc__img {
  aspect-ratio: 3 / 4; border-radius: var(--arch);
  transition: border-radius .8s var(--ease);
}
.svc__img::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(to top, rgba(43, 38, 34, .35), transparent 45%);
  opacity: 0; transition: opacity .6s;
}
.svc:hover .svc__img { border-radius: 6px; }
.svc:hover .svc__img img { transform: scale(1.08); }
.svc:hover .svc__img::after { opacity: 1; }
.svc__body { padding: 24px 4px 0; position: relative; }
.svc__no { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-size: 1.05rem; }
.svc h3 {
  font-family: var(--f-serif); font-weight: 500; font-size: 1.5rem; line-height: 1.15; margin: 6px 0 10px;
  background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat;
  display: inline; transition: background-size .6s var(--ease);
}
.svc:hover h3 { background-size: 100% 1px; }
.svc p { color: var(--ink-soft); font-size: .94rem; margin-top: 10px; }

/* ---------- Transform / Before-After ---------- */
.transform { background: var(--ink); color: var(--lime); }
.transform__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.transform__text p { color: rgba(246, 242, 236, .68); max-width: 420px; }
.compare { position: relative; aspect-ratio: 16 / 11; border-radius: 6px; overflow: hidden; --pos: 50%; user-select: none; }
.compare__img { position: absolute; inset: 0; margin: 0; }
.compare__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__img--before.ph { background: linear-gradient(135deg, #c9c2b8, #a9a196); }
.compare__img--before img { filter: saturate(.7); }
.compare__tag {
  position: absolute; top: 18px; z-index: 4; padding: 6px 14px; border-radius: 999px;
  font-size: .66rem; letter-spacing: .2em; text-transform: uppercase;
  background: rgba(246, 242, 236, .9); color: var(--ink);
}
.compare__tag--b { left: 18px; } .compare__tag--a { right: 18px; }
.compare__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 5; width: 2px; margin-left: -1px;
  background: var(--lime); pointer-events: none;
}
.compare__handle span {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: var(--lime); font-size: 1.3rem;
  box-shadow: 0 0 0 6px rgba(246, 242, 236, .25);
  animation: ring 2.4s ease-out infinite;
}
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(246, 242, 236, .45); } 100% { box-shadow: 0 0 0 22px rgba(246, 242, 236, 0); } }
.compare__range { position: absolute; inset: 0; z-index: 6; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- Process ---------- */
.process__head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; margin-bottom: 56px; }
.process__head .h2 { margin-bottom: 0; }
.steps { list-style: none; border-top: 1px solid var(--ink); }
.step {
  position: relative; display: grid; grid-template-columns: 140px 1fr; gap: 30px; align-items: center;
  padding: 34px 20px; border-bottom: 1px solid var(--line); overflow: hidden; isolation: isolate;
}
.step::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent-tint);
  transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease);
}
.step:hover::before { transform: scaleY(1); }
.step__no { font-family: var(--f-serif); font-style: italic; font-size: 3.4rem; line-height: 1; color: var(--accent); transition: transform .6s var(--ease-out); }
.step:hover .step__no { transform: translateX(14px); }
.step div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 30px; align-items: baseline; }
.step h3 { font-family: var(--f-serif); font-weight: 500; font-size: 1.8rem; }
.step p { color: var(--ink-soft); }

/* ---------- Spaces (horizontal) ---------- */
.spaces { position: relative; background: var(--trav); }
.spaces__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 40px; }
.spaces__head { display: flex; justify-content: space-between; align-items: flex-end; }
.spaces__head .h2 { margin-bottom: 0; }
.spaces__track { display: flex; gap: 34px; padding: 0 max(28px, calc((100vw - 1280px) / 2)); will-change: transform; }
.space { flex: 0 0 clamp(260px, 30vw, 420px); }
.space__img { aspect-ratio: 4 / 5; border-radius: 6px; }
.space:nth-child(odd) .space__img { border-radius: var(--arch); }
.space:hover .space__img img { transform: scale(1.07); }
.space figcaption { margin-top: 18px; font-family: var(--f-serif); font-size: 1.5rem; display: flex; gap: 14px; align-items: baseline; }
.space figcaption span { font-style: italic; font-size: 1rem; color: var(--accent); }

/* ---------- CTA ---------- */
.cta { padding: clamp(90px, 12vw, 150px) 0; }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.cta__img { aspect-ratio: 1; border-radius: 50%; }
.cta__text h2 { font-family: var(--f-serif); font-weight: 400; font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.08; letter-spacing: -.02em; margin-bottom: 36px; }
.cta__text h2 em { color: var(--accent); }

/* ---------- Contact ---------- */
.contact { background: var(--trav); }
.contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(50px, 7vw, 110px); }
.contact__intro { color: var(--ink-soft); margin-bottom: 36px; max-width: 420px; }
.details div { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 16px; }
.details dt { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); padding-top: 4px; }
.details dd { font-family: var(--f-serif); font-size: 1.2rem; word-break: break-word; }
.details a { background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s; }
.details a:hover { background-size: 100% 1px; color: var(--accent); }

.form { background: var(--lime); padding: clamp(28px, 4vw, 48px); border-radius: 6px 6px 6px 6px; box-shadow: 0 40px 80px -50px rgba(43, 38, 34, .4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: block; margin-bottom: 26px; }
.field span { display: block; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: transparent; resize: vertical;
  border: none; border-bottom: 1px solid var(--stone); padding: 8px 0; outline: none;
  background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 1.5px; background-position: 0 100%; background-repeat: no-repeat;
  transition: background-size .6s var(--ease);
}
.field input:focus, .field textarea:focus { background-size: 100% 1.5px; }

.pills { border: none; margin-bottom: 26px; }
.pills legend { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 12px; }
.pills label { display: inline-block; margin: 0 6px 8px 0; }
.pills input { position: absolute; opacity: 0; }
.pills span {
  display: inline-block; padding: 9px 18px; border: 1px solid var(--stone); border-radius: 999px; font-size: .88rem; cursor: pointer;
  transition: background .35s, color .35s, border-color .35s, transform .3s var(--ease-out);
}
.pills span:hover { border-color: var(--ink); transform: translateY(-2px); }
.pills input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--lime); }
.pills input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(246, 242, 236, .75); padding: 90px 0 30px; overflow: hidden; }
.footer__big { font-family: var(--f-serif); font-size: clamp(3.6rem, 12vw, 10.5rem); line-height: .95; color: var(--lime); letter-spacing: -.03em; margin-bottom: 60px; white-space: nowrap; }
.footer__big em { font-style: italic; color: var(--stone); }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; padding-bottom: 50px; border-bottom: 1px solid rgba(246, 242, 236, .14); }
.footer__grid div { display: flex; flex-direction: column; gap: 8px; }
.footer__k { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.footer__grid a { width: fit-content; transition: color .3s, transform .4s var(--ease-out); word-break: break-word; }
.footer__grid a:hover { color: var(--lime); transform: translateX(5px); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; font-size: .78rem; color: rgba(246, 242, 236, .5); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(even) { margin-top: 0; }
  .svc:nth-child(4n+2), .svc:nth-child(4n+4) { margin-top: 60px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav, .header__cta { display: none; }
  .burger { display: block; }
  .nav.is-open {
    display: flex; flex-direction: column; justify-content: center; gap: 4px;
    position: fixed; inset: 0; z-index: -1; padding: 100px 28px 40px; background: var(--trav);
  }
  .nav.is-open a { height: auto; font-family: var(--f-serif); font-size: 2.6rem; line-height: 1.25; animation: up .7s var(--ease-out) both; }
  .nav.is-open a::after { display: none; }
  .nav.is-open a:nth-child(2) { animation-delay: .05s; } .nav.is-open a:nth-child(3) { animation-delay: .1s; }
  .nav.is-open a:nth-child(4) { animation-delay: .15s; } .nav.is-open a:nth-child(5) { animation-delay: .2s; }
  .nav.is-open a:nth-child(6) { animation-delay: .25s; }

  .hero__inner, .studio__inner, .transform__inner, .cta__inner, .contact__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .studio__card { left: 16px; }
  .step { grid-template-columns: 70px 1fr; }
  .step__no { font-size: 2.4rem; }
  .step div { grid-template-columns: 1fr; gap: 4px; }
  .cta__img { max-width: 440px; width: 100%; margin: 0 auto; }

  /* spaces → swipe row */
  .spaces { height: auto !important; padding: 90px 0; }
  .spaces__sticky { position: static; height: auto; }
  .spaces__track { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 10px; scrollbar-width: none; }
  .spaces__track::-webkit-scrollbar { display: none; }
  .space { scroll-snap-align: start; flex-basis: 72vw; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .container, .hero__inner { width: calc(100% - 32px); }
  .svc-grid { grid-template-columns: 1fr; }
  .svc:nth-child(n) { margin-top: 0; }
  .swatch--1 { left: -10px; } .swatch--2 { left: 6px; } .swatch--3 { right: -6px; }
  .hero__note { right: 8px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .footer__grid { grid-template-columns: 1fr; }
  .palette { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
