/* =========================================================
   UMAS DESIGN PTE. LTD. — Interior Design Studio
   Theme: "Travertine & Olive" — architectural, editorial, calm
   Fonts: Gloock (display) · Hanken Grotesk (body) · DM Mono (labels)
   ========================================================= */

:root {
  --bg: #EEE8DF;
  --paper: #F7F3ED;
  --sand: #DCCFBC;
  --ink: #1E1C19;
  --ink-soft: #57524A;
  --olive: #3F4535;
  --olive-2: #2C3126;
  --clay: #B25C37;
  --line: rgba(30, 28, 25, .14);
  --line-light: rgba(247, 243, 237, .18);

  --f-display: "Gloock", "Times New Roman", serif;
  --f-body: "Hanken Grotesk", system-ui, sans-serif;
  --f-mono: "DM Mono", ui-monospace, monospace;

  --ease: cubic-bezier(.77, 0, .175, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --pad: clamp(20px, 5vw, 72px);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--clay); color: var(--paper); }

/* subtle paper grain */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 900; opacity: .06;
  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='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Utilities ---------- */
.mono { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.clay { color: var(--clay); font-weight: inherit; }
.outline { color: transparent; -webkit-text-stroke: 1.2px currentColor; position: relative; }
.hero .outline, .h2 .outline, .contact__title .outline { -webkit-text-stroke-color: var(--ink); }
.styles .outline, .work .outline { -webkit-text-stroke-color: var(--paper); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--clay); position: relative; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--clay); animation: ping 2s var(--ease-out) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(2.2); opacity: 0; } }

.section-label { display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; margin-bottom: 36px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.section-label .mono { color: var(--clay); }
.section-label--light { border-color: var(--line-light); color: var(--paper); }

.h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(38px, 6vw, 88px); line-height: 1.02; letter-spacing: -.02em; }

/* ---------- Image placeholders ---------- */
.ph {
  position: relative; width: 100%; height: 100%; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, transparent 0 14px, rgba(30,28,25,.05) 14px 15px),
    linear-gradient(160deg, var(--sand), #CDBFA9);
}
.ph::before {
  content: "IMAGE · " attr(data-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-soft);
  padding: 8px 12px; border: 1px dashed rgba(30,28,25,.35); background: rgba(247,243,237,.55); white-space: nowrap;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  --bgc: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; gap: 14px; overflow: hidden;
  padding: 18px 28px; border-radius: 100px; background: var(--bgc); color: var(--fg);
  font-weight: 500; font-size: 15px; letter-spacing: .01em; isolation: isolate;
  transition: color .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; background: var(--clay); z-index: -1;
  transform: translateY(101%); border-radius: 50% 50% 0 0; transition: transform .6s var(--ease), border-radius .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); border-radius: 0; }
.btn i { font-style: normal; transition: transform .5s var(--ease); }
.btn:hover i { transform: translateX(5px) rotate(-45deg); }
.btn--small { padding: 12px 20px; font-size: 14px; }
.btn--ghost { --bgc: transparent; --fg: var(--ink); border: 1px solid var(--ink); }
.btn--ghost:hover { color: var(--paper); border-color: var(--clay); }
.btn--full { width: 100%; justify-content: space-between; }
.magnetic { will-change: transform; transition: transform .4s var(--ease-out), color .5s var(--ease); }

.link-line { position: relative; font-weight: 500; padding-bottom: 4px; }
.link-line::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--ease); }
.link-line:hover::after { transform: scaleX(0); transform-origin: left; animation: lineBack .6s .4s var(--ease) forwards; }
@keyframes lineBack { to { transform: scaleX(1); } }

/* =========================================================
   LOADER
   ========================================================= */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; }
.loader__curtain { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.loader__curtain span { background: var(--olive-2); transition: transform 1s var(--ease); }
.loader__curtain span:nth-child(2) { transition-delay: .08s; }
.loader__curtain span:nth-child(3) { transition-delay: .16s; }
.loader__inner { position: relative; width: min(320px, 70vw); color: var(--paper); transition: opacity .5s, transform .8s var(--ease); }
.loader__plan { width: 100%; stroke: var(--sand); stroke-width: 1; }
.loader__plan path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2s var(--ease) forwards; }
.loader__plan path:nth-child(2) { animation-delay: .3s; }
.loader__plan path:nth-child(3) { animation-delay: .5s; }
.loader__plan .door { stroke: var(--clay); stroke-width: 1.5; animation-delay: .9s; }
.loader__plan path:nth-child(5) { animation-delay: 1.1s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.loader__meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; }
.loader__brand { font-family: var(--f-mono); font-size: 12px; letter-spacing: .3em; }
.loader__count { font-family: var(--f-display); font-size: 40px; line-height: 1; }
.loader__bar { margin-top: 12px; height: 1px; background: var(--line-light); }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--clay); }

body.loaded .loader__inner { opacity: 0; transform: translateY(-30px); }
body.loaded .loader__curtain span { transform: translateY(-100%); }
body.loaded .loader { pointer-events: none; }
body.done .loader { display: none; }

/* =========================================================
   CURSOR
   ========================================================= */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 950; border-radius: 50%; }
.cursor {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid var(--ink);
  display: grid; place-items: center; mix-blend-mode: normal;
  transition: width .4s var(--ease-out), height .4s var(--ease-out), margin .4s var(--ease-out), background .3s, border-color .3s;
}
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--clay); }
.cursor__label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); opacity: 0; transform: scale(.5); transition: .3s var(--ease-out); }
.cursor.is-link { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--clay); background: rgba(178, 92, 55, .1); }
.cursor.is-view { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--clay); border-color: var(--clay); }
.cursor.is-view .cursor__label { opacity: 1; transform: scale(1); }
.cursor.is-light { border-color: var(--paper); }
@media (hover: none), (pointer: coarse) { .cursor, .cursor-dot { display: none; } }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad); transition: transform .6s var(--ease), background .4s, padding .4s, box-shadow .4s;
}
.nav.is-solid { background: rgba(238, 232, 223, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: 14px; padding-bottom: 14px; box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__logo { display: flex; align-items: center; gap: 12px; font-weight: 600; letter-spacing: .14em; font-size: 14px; }
.nav__logo em { font-family: var(--f-display); font-style: normal; font-weight: 400; letter-spacing: 0; margin-left: 6px; font-size: 18px; text-transform: none; }
.nav__mark { width: 36px; height: 36px; display: grid; place-items: center; font-family: var(--f-display); font-size: 20px; letter-spacing: 0; color: var(--paper); background: var(--olive); border-radius: 18px 18px 2px 2px; transition: border-radius .5s var(--ease), background .4s; }
.nav__logo:hover .nav__mark { border-radius: 2px 2px 18px 18px; background: var(--clay); }
.nav__links { display: flex; gap: 34px; font-size: 15px; }
.nav__links a { position: relative; overflow: hidden; display: inline-block; }
.nav__links a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 4px; height: 4px; border-radius: 50%; background: var(--clay); transform: translate(-50%, 8px); opacity: 0; transition: .4s var(--ease-out); }
.nav__links a:hover::after, .nav__links a.active::after { transform: translate(-50%, 0); opacity: 1; }
.nav__toggle { display: none; width: 44px; height: 44px; position: relative; }
.nav__toggle span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: .5s var(--ease); }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 26px; }
.nav__toggle.open span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle.open span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 400; background: var(--olive-2); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--pad) 40px;
  clip-path: circle(0% at calc(100% - 44px) 44px); transition: clip-path .9s var(--ease);
}
.menu.open { clip-path: circle(150% at calc(100% - 44px) 44px); }
.menu nav { display: flex; flex-direction: column; }
.menu nav a { font-family: var(--f-display); font-size: clamp(38px, 10vw, 64px); line-height: 1.15; display: flex; align-items: baseline; gap: 16px; opacity: 0; transform: translateY(30px); transition: .6s var(--ease-out); }
.menu nav a i { font-family: var(--f-mono); font-style: normal; font-size: 12px; color: var(--clay); }
.menu.open nav a { opacity: 1; transform: none; }
.menu.open nav a:nth-child(1) { transition-delay: .25s; } .menu.open nav a:nth-child(2) { transition-delay: .3s; }
.menu.open nav a:nth-child(3) { transition-delay: .35s; } .menu.open nav a:nth-child(4) { transition-delay: .4s; }
.menu.open nav a:nth-child(5) { transition-delay: .45s; } .menu.open nav a:nth-child(6) { transition-delay: .5s; }
.menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--sand); }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; padding: 130px var(--pad) 30px; display: flex; flex-direction: column; overflow: hidden; }
.hero__plan { position: absolute; right: -8%; top: 8%; width: 70%; max-width: 1000px; stroke: var(--ink); stroke-width: .7; opacity: .13; pointer-events: none; }
.hero__plan path, .hero__plan circle { stroke-dasharray: 2600; stroke-dashoffset: 2600; }
body.loaded .hero__plan path, body.loaded .hero__plan circle { animation: draw 3.5s var(--ease) forwards; }
body.loaded .hero__plan path:nth-child(2) { animation-delay: .3s; }
body.loaded .hero__plan path:nth-child(3) { animation-delay: .6s; }
body.loaded .hero__plan path:nth-child(4) { animation-delay: .9s; }

.hero__grid { position: relative; flex: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.hero__eyebrow { margin-bottom: 30px; opacity: 0; transform: translateY(15px); transition: 1s var(--ease-out) .9s; }

.hero__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(54px, 8.6vw, 148px); line-height: .94; letter-spacing: -.035em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.3s var(--ease-out); }
.hero__title .line:nth-child(2) { padding-left: 1.1em; }
.hero__title .line:nth-child(3) > span { -webkit-text-stroke-width: 1.5px; }
.hero__title .line:nth-child(4) { padding-left: .5em; }
body.loaded .hero__title .line > span { transform: none; }
body.loaded .hero__title .line:nth-child(1) > span { transition-delay: .35s; }
body.loaded .hero__title .line:nth-child(2) > span { transition-delay: .45s; }
body.loaded .hero__title .line:nth-child(3) > span { transition-delay: .55s; }
body.loaded .hero__title .line:nth-child(4) > span { transition-delay: .65s; }

/* outline word fills in after reveal */
.hero__title .outline { background: linear-gradient(var(--clay), var(--clay)) left / 0% 100% no-repeat; -webkit-background-clip: text; background-clip: text; transition: background-size 1.4s var(--ease) 1.8s; }
body.loaded .hero__title .outline { background-size: 100% 100%; -webkit-text-stroke-color: var(--clay); }

.hero__lede { max-width: 470px; margin-top: 34px; color: var(--ink-soft); font-size: 18px; opacity: 0; transform: translateY(15px); transition: 1s var(--ease-out) 1.1s; }
.hero__cta { display: flex; align-items: center; gap: 30px; margin-top: 36px; flex-wrap: wrap; opacity: 0; transform: translateY(15px); transition: 1s var(--ease-out) 1.25s; }
body.loaded .hero__eyebrow, body.loaded .hero__lede, body.loaded .hero__cta { opacity: 1; transform: none; }

.hero__visual { position: relative; height: min(72vh, 680px); }
.arch { position: absolute; inset: 0; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; clip-path: inset(100% 0 0 0 round 999px 999px 4px 4px); transition: clip-path 1.6s var(--ease) .4s; }
.arch .ph { transform: scale(1.3); transition: transform 2.4s var(--ease-out) .4s; }
body.loaded .arch { clip-path: inset(0 0 0 0 round 999px 999px 4px 4px); }
body.loaded .arch .ph { transform: scale(1.04); }
.arch:hover .ph { transform: scale(1.09); transition-duration: 1.2s; transition-delay: 0s; }

.hero__tag { position: absolute; left: -40px; bottom: 50px; background: var(--paper); padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; font-size: 14px; font-weight: 500; box-shadow: 0 20px 40px -20px rgba(30,28,25,.3); opacity: 0; transform: translateX(-20px); transition: 1s var(--ease-out) 1.6s; }
.hero__tag .mono { color: var(--clay); font-size: 11px; }
body.loaded .hero__tag { opacity: 1; transform: none; }

.hero__badge { position: absolute; top: -10px; right: -20px; width: 120px; height: 120px; display: grid; place-items: center; background: var(--olive); border-radius: 50%; color: var(--paper); opacity: 0; transform: scale(.5); transition: 1s var(--ease-out) 1.8s; }
.hero__badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.hero__badge text { fill: var(--sand); font-family: var(--f-mono); font-size: 9.6px; letter-spacing: 2.3px; }
.hero__badge > span { font-size: 22px; color: var(--clay); animation: spin 6s linear infinite reverse; }
body.loaded .hero__badge { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__foot { position: relative; display: flex; justify-content: space-between; align-items: center; padding-top: 24px; margin-top: 30px; border-top: 1px solid var(--line); color: var(--ink-soft); }
.scroll-cue { width: 26px; height: 42px; border: 1px solid var(--ink); border-radius: 20px; position: relative; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--clay); border-radius: 3px; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80%, 100% { transform: translateY(16px); opacity: 0; } }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--olive); color: var(--paper); padding: 26px 0; overflow: hidden; transform: rotate(-1.2deg) scale(1.03); margin: 30px 0; }
.marquee__track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--f-display); font-size: clamp(28px, 4vw, 54px); white-space: nowrap; transition: color .3s; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px var(--sand); }
.marquee b { color: var(--clay); font-size: 26px; display: inline-block; animation: spin 5s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   STUDIO
   ========================================================= */
.studio { padding: clamp(80px, 12vw, 160px) var(--pad); }
.statement { font-family: var(--f-display); font-size: clamp(28px, 4.2vw, 62px); line-height: 1.15; letter-spacing: -.015em; max-width: 1250px; }
.statement .w { color: rgba(30, 28, 25, .16); transition: color .4s; }
.statement .w.on { color: var(--ink); }
.statement .w.hl.on { color: var(--clay); }

.studio__grid { display: grid; grid-template-columns: 1.1fr 1fr .7fr; gap: clamp(24px, 4vw, 60px); margin-top: clamp(60px, 9vw, 120px); align-items: end; }
.studio__img { height: clamp(380px, 48vw, 640px); overflow: hidden; border-radius: var(--radius); }
.studio__img--sm { height: clamp(260px, 30vw, 400px); border-radius: 200px 200px var(--radius) var(--radius); align-self: start; }
.parallax { height: 120%; top: -10%; will-change: transform; }
.studio__text h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(30px, 3vw, 44px); line-height: 1.08; margin-bottom: 22px; }
.studio__text p { color: var(--ink-soft); margin-bottom: 26px; }
.ticks { list-style: none; border-top: 1px solid var(--line); }
.ticks li { padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line); position: relative; font-weight: 500; font-size: 15px; transition: padding .4s var(--ease-out), color .3s; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border: 1px solid var(--clay); border-radius: 6px 6px 1px 1px; transition: background .3s; }
.ticks li:hover { padding-left: 40px; color: var(--clay); }
.ticks li:hover::before { background: var(--clay); }

/* =========================================================
   SERVICES
   ========================================================= */
.services { padding: clamp(60px, 9vw, 120px) var(--pad); background: var(--paper); }
.services__head { margin-bottom: clamp(50px, 6vw, 80px); }
.services__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.svc { position: relative; perspective: 900px; transform-style: preserve-3d; }
.svc:nth-child(4n+2), .svc:nth-child(4n+4) { margin-top: 60px; }
.svc__img { height: 330px; overflow: hidden; border-radius: 160px 160px var(--radius) var(--radius); position: relative; transition: border-radius .7s var(--ease); }
.svc__img .ph { transition: transform 1.2s var(--ease-out), filter .6s; filter: saturate(.85); }
.svc__img::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(to top, rgba(44,49,38,.45), transparent 50%); opacity: 0; transition: opacity .6s; }
.svc:hover .svc__img { border-radius: var(--radius); }
.svc:hover .svc__img .ph { transform: scale(1.08); filter: saturate(1); }
.svc:hover .svc__img::after { opacity: 1; }
.svc__body { padding: 22px 4px 0; position: relative; }
.svc__no { color: var(--clay); display: block; margin-bottom: 8px; }
.svc__body h3 { font-family: var(--f-display); font-weight: 400; font-size: 25px; line-height: 1.15; margin-bottom: 10px; }
.svc__body p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.svc__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; position: relative; }
.svc__link::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.svc__link i { font-style: normal; transition: transform .4s var(--ease-out); }
.svc:hover .svc__link { color: var(--clay); }
.svc:hover .svc__link::after { transform: scaleX(1); }
.svc:hover .svc__link i { transform: translateX(6px); }

/* =========================================================
   STYLES (interactive)
   ========================================================= */
.styles { background: var(--olive-2); color: var(--paper); padding: clamp(80px, 11vw, 150px) var(--pad); overflow: hidden; }
.styles__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.styles__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 34px; }
.styles__tabs button { padding: 12px 22px; border: 1px solid var(--line-light); border-radius: 100px; font-size: 15px; color: var(--sand); position: relative; overflow: hidden; isolation: isolate; transition: color .4s, border-color .4s; }
.styles__tabs button::before { content: ""; position: absolute; inset: 0; background: var(--paper); z-index: -1; transform: scale(0); border-radius: 100px; transition: transform .5s var(--ease-out); }
.styles__tabs button:hover { border-color: var(--sand); color: var(--paper); }
.styles__tabs button.active { color: var(--ink); border-color: var(--paper); }
.styles__tabs button.active::before { transform: scale(1); }
.styles__desc { font-size: 19px; line-height: 1.55; color: var(--sand); max-width: 440px; min-height: 90px; transition: opacity .4s, transform .4s; }
.styles__desc.swap { opacity: 0; transform: translateY(10px); }
.swatches { display: flex; gap: 12px; margin-top: 26px; }
.swatches span { width: 54px; height: 54px; border-radius: 27px 27px 3px 3px; background: var(--c); border: 1px solid var(--line-light); transition: background .6s var(--ease), transform .5s var(--ease-out); }
.swatches span:hover { transform: translateY(-8px); }
.styles__right { position: relative; height: clamp(420px, 50vw, 640px); border-radius: var(--radius); overflow: hidden; }
.style-img { position: absolute; inset: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1.1s var(--ease); }
.style-img.active { clip-path: inset(0 0 0 0); z-index: 2; }
.style-img.leaving { clip-path: inset(0 0 0 0); z-index: 1; }
.style-img img { transform: scale(1.15); transition: transform 1.6s var(--ease-out); }
.style-img.active img { transform: scale(1); }
.styles__num { position: absolute; right: 18px; bottom: 18px; z-index: 5; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 100px; }

/* =========================================================
   BEFORE / AFTER
   ========================================================= */
.compare { padding: clamp(80px, 11vw, 150px) var(--pad); }
.compare__head { margin-bottom: 50px; }
.compare__box { position: relative; height: clamp(320px, 52vw, 680px); overflow: hidden; border-radius: var(--radius); --pos: 50%; user-select: none; }
.compare__after { position: absolute; inset: 0; }
.compare__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); z-index: 2; }
.compare__before .ph { background: repeating-linear-gradient(135deg, transparent 0 14px, rgba(30,28,25,.06) 14px 15px), linear-gradient(160deg, #BDB4A6, #A79E90); }
.compare__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--paper); z-index: 3; transform: translateX(-1px); pointer-events: none; }
.compare__handle span { position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; border-radius: 50%; background: var(--clay); color: var(--paper); display: grid; place-items: center; font-size: 20px; box-shadow: 0 0 0 8px rgba(247,243,237,.35); animation: pulse 2.4s var(--ease-out) infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(247,243,237,.5); } 50% { box-shadow: 0 0 0 14px rgba(247,243,237,0); } }
.compare__tag { position: absolute; top: 20px; z-index: 4; background: var(--paper); padding: 8px 14px; border-radius: 100px; }
.compare__tag--l { left: 20px; } .compare__tag--r { right: 20px; background: var(--clay); color: var(--paper); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; z-index: 5; cursor: ew-resize; margin: 0; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { padding: clamp(60px, 9vw, 120px) var(--pad) clamp(80px, 11vw, 150px); background: var(--paper); }
.process__track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin-top: 80px; }
.process__line { position: absolute; top: 30px; left: 30px; right: 30px; height: 1px; background: var(--line); }
.process__line span { display: block; height: 100%; width: 0; background: var(--clay); }
.step { position: relative; }
.step__no { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 30px 30px 3px 3px; background: var(--bg); border: 1px solid var(--line); font-family: var(--f-display); font-size: 22px; position: relative; z-index: 1; transition: background .5s, color .5s, border-radius .6s var(--ease), transform .5s var(--ease-out); }
.step.lit .step__no { background: var(--olive); color: var(--paper); border-color: var(--olive); }
.step:hover .step__no { background: var(--clay); border-color: var(--clay); color: var(--paper); border-radius: 3px 3px 30px 30px; transform: translateY(-6px); }
.step h4 { font-family: var(--f-display); font-weight: 400; font-size: 28px; margin: 24px 0 8px; }
.step p { color: var(--ink-soft); font-size: 15px; }

/* =========================================================
   WORK — horizontal scroll
   ========================================================= */
.work { position: relative; height: 340vh; background: var(--olive); color: var(--paper); }
.work__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 90px 0 40px; }
.work__head { padding: 0 var(--pad); margin-bottom: 40px; }
.work__head .section-label { margin-bottom: 20px; }
.work__rail { display: flex; align-items: center; gap: 28px; padding: 0 var(--pad); will-change: transform; }
.room { flex: 0 0 auto; width: clamp(280px, 34vw, 500px); height: clamp(260px, 38vh, 400px); position: relative; overflow: hidden; border-radius: var(--radius); }
.room--tall { width: clamp(240px, 26vw, 380px); height: clamp(320px, 50vh, 520px); border-radius: 200px 200px var(--radius) var(--radius); }
.room .ph { transition: transform 1.2s var(--ease-out); }
.room:hover .ph { transform: scale(1.07); }
.room__cap { position: absolute; left: 14px; bottom: 14px; z-index: 2; display: flex; gap: 10px; align-items: center; background: var(--paper); color: var(--ink); padding: 8px 16px; border-radius: 100px; font-size: 14px; font-weight: 500; transform: translateY(8px); opacity: .92; transition: transform .5s var(--ease-out), background .4s, color .4s; }
.room__cap .mono { color: var(--clay); font-size: 11px; }
.room:hover .room__cap { transform: none; background: var(--clay); color: var(--paper); }
.room:hover .room__cap .mono { color: var(--paper); }
.work__progress { margin: 40px var(--pad) 0; height: 1px; background: var(--line-light); }
.work__progress span { display: block; height: 100%; width: 0; background: var(--clay); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: clamp(80px, 11vw, 150px) var(--pad); }
.contact__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.contact__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(48px, 7vw, 110px); line-height: .98; letter-spacing: -.03em; margin-bottom: 50px; }
.contact__details { display: grid; gap: 24px; margin-bottom: 40px; }
.contact__details .mono { color: var(--clay); display: block; margin-bottom: 4px; }
.contact__details p { font-size: 18px; }
.contact__details a { background: linear-gradient(var(--clay), var(--clay)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.contact__details a:hover { background-size: 100% 1px; }

.form { background: var(--paper); padding: clamp(28px, 4vw, 54px); border-radius: var(--radius); align-self: start; display: grid; gap: 8px; box-shadow: 0 40px 80px -50px rgba(30,28,25,.35); }
.field { position: relative; padding-top: 18px; }
.field input, .field select, .field textarea { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 12px 0; font: inherit; color: var(--ink); outline: none; resize: vertical; border-radius: 0; -webkit-appearance: none; appearance: none; }
.field select { cursor: pointer; }
.field label { position: absolute; left: 0; top: 30px; color: var(--ink-soft); pointer-events: none; transition: .35s var(--ease-out); }
.field::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--clay); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { top: 4px; font-size: 12px; color: var(--clay); font-family: var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.form .btn { margin-top: 24px; }
.form__note { color: var(--ink-soft); font-size: 11px; text-align: center; margin-top: 10px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: var(--sand); padding: 80px var(--pad) 30px; overflow: hidden; }
.footer__top { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer__lead { font-family: var(--f-display); font-size: 28px; line-height: 1.2; color: var(--paper); max-width: 320px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__cols div { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer__cols .mono { color: var(--clay); margin-bottom: 8px; }
.footer__cols a { width: fit-content; transition: color .3s, transform .4s var(--ease-out); }
.footer__cols a:hover { color: var(--paper); transform: translateX(6px); }
.footer__word { font-family: var(--f-display); font-size: clamp(80px, 19vw, 300px); line-height: .9; letter-spacing: -.04em; color: var(--paper); text-align: center; padding: 40px 0 20px; white-space: nowrap; }
.footer__word span { color: transparent; -webkit-text-stroke: 1px var(--sand); margin-left: .12em; transition: color .8s var(--ease); }
.footer__word:hover span { color: var(--clay); -webkit-text-stroke-color: var(--clay); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13px; padding-top: 24px; border-top: 1px solid var(--line-light); }
.to-top:hover { color: var(--clay); }

/* =========================================================
   REVEAL
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(50px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); }
[data-reveal].in { opacity: 1; transform: none; }
.studio__img[data-reveal], .compare__box[data-reveal] { clip-path: inset(15% 0 0 0); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out), clip-path 1.4s var(--ease); }
.studio__img[data-reveal].in, .compare__box[data-reveal].in { clip-path: inset(0 0 0 0); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc:nth-child(4n+2), .svc:nth-child(4n+4) { margin-top: 0; }
  .svc:nth-child(even) { margin-top: 60px; }
  .studio__grid { grid-template-columns: 1fr 1fr; }
  .studio__img--sm { display: none; }
  .process__track { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .process__line { display: none; }
}
@media (max-width: 900px) {
  .nav__links, .nav > .btn { display: none; }
  .nav__toggle { display: block; }
  .hero { padding-top: 110px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { height: 62vh; max-height: 520px; margin: 10px 20px 0 30px; }
  .hero__tag { left: -24px; bottom: 30px; }
  .hero__badge { width: 96px; height: 96px; right: -14px; }
  .hero__badge text { font-size: 9.6px; }
  .hero__plan { width: 120%; right: -40%; top: 4%; }
  .styles__inner, .contact__grid, .footer__top { grid-template-columns: 1fr; }
  .studio__grid { grid-template-columns: 1fr; }
  .studio__img { height: 420px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero__foot .mono:first-child { display: none; }
  .hero__foot { justify-content: space-between; }
  .services__grid { grid-template-columns: 1fr; }
  .svc:nth-child(even) { margin-top: 0; }
  .svc__img { height: 300px; }
  .process__track { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr; }
  .work { height: auto; }
  .work__sticky { position: relative; height: auto; padding: 80px 0; }
  .work__rail { overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; padding-bottom: 10px; scrollbar-width: none; }
  .work__rail::-webkit-scrollbar { display: none; }
  .room { scroll-snap-align: start; width: 78vw; }
  .room--tall { width: 66vw; height: 380px; }
  .work__progress { display: none; }
  .marquee { padding: 18px 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
