/* =========================================================
   The Workstation Loft — main stylesheet
   ========================================================= */

:root {
  --ink: #16130f;
  --ink-2: #211c16;
  --ink-3: #3a3229;
  --cream: #f3ede3;
  --cream-2: #e9e0d2;
  --paper: #faf7f2;
  --muted: #6f655a;
  --line: rgba(22, 19, 15, .12);
  --line-light: rgba(243, 237, 227, .14);
  --accent: #e8622c;
  --accent-2: #f39a5b;
  --sage: #8a9a7b;
  --wood: #c9a77c;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 22px;
  --radius-sm: 12px;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1280px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
}
body.is-loading { overflow: hidden; }
body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.08; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 160px) 0; position: relative; }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 22px;
}
.eyebrow--light { color: rgba(243, 237, 227, .6); }
.title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 72px);
  font-weight: 400;
  letter-spacing: -.025em;
  font-variation-settings: "opsz" 144;
}
.title em { color: var(--accent); font-weight: 300; }
.title--xl { font-size: clamp(44px, 7vw, 104px); }

/* ---------- Buttons ---------- */
.btn {
  --bg: transparent; --fg: var(--ink); --bd: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1.5px solid var(--bd);
  font-weight: 700; font-size: 15px; letter-spacing: .01em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .3s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ink); border-radius: inherit;
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--accent { --bg: var(--accent); --fg: #fff; --bd: var(--accent); }
.btn--accent:hover { --bd: var(--ink); }
.btn--ghost:hover { color: var(--cream); }
.btn--sm { padding: 11px 20px; font-size: 14px; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 700;
  border-bottom: 1.5px solid currentColor; padding-bottom: 4px;
}
.link-arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease) .1s;
  clip-path: inset(0 0 0 0);
}
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.preloader__mark { width: 64px; height: 64px; }
.preloader__mark path { stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw 1.2s var(--ease) forwards; }
.preloader__mark path + path { animation-delay: .3s; }
.preloader__count { font-family: var(--font-display); font-size: 14px; letter-spacing: .2em; color: rgba(243,237,227,.5); }
body.is-loaded .preloader { clip-path: inset(0 0 100% 0); pointer-events: none; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- Progress + cursor ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.cursor {
  position: fixed; top: 0; left: 0; z-index: 150; pointer-events: none;
  width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%;
  background: var(--accent); mix-blend-mode: multiply; opacity: 0;
  transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), opacity .3s, background .3s;
}
.cursor.is-visible { opacity: .9; }
.cursor.is-hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; opacity: .25; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--header-h);
  transition: background .4s, box-shadow .4s, transform .5s var(--ease);
}
.header.is-scrolled { background: rgba(250, 247, 242, .82); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line); }
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__mark { width: 34px; height: 34px; flex: none; transition: transform .6s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-8deg) scale(1.05); }
.logo__text { font-family: var(--font-display); font-size: 19px; line-height: 1; letter-spacing: -.01em; white-space: nowrap; }
.logo__text b { font-weight: 600; }
.logo--light { color: var(--cream); }

.nav { margin-left: auto; }
.nav__list { display: flex; gap: 4px; }
.nav__list a {
  position: relative; display: block; padding: 8px 14px; font-size: 14.5px; font-weight: 600; color: var(--ink-3);
  border-radius: 999px; transition: color .3s, background .3s;
}
.nav__list a:hover, .nav__list a.is-active { color: var(--ink); background: rgba(22,19,15,.06); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; margin-left: auto; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.8px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink); color: var(--cream);
  padding: calc(var(--header-h) + 30px) var(--gutter) 40px;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0 at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.mobile-menu li { overflow: hidden; }
.mobile-menu a { display: flex; align-items: baseline; gap: 16px; font-family: var(--font-display); font-size: clamp(34px, 9vw, 56px); line-height: 1.25; transform: translateY(100%); transition: transform .7s var(--ease), color .3s; }
.mobile-menu a i { font-family: var(--font-body); font-style: normal; font-size: 12px; color: var(--accent); letter-spacing: .1em; }
.mobile-menu.is-open a { transform: none; }
.mobile-menu a:hover { color: var(--accent); }
.mobile-menu li:nth-child(2) a { transition-delay: .05s; } .mobile-menu li:nth-child(3) a { transition-delay: .1s; }
.mobile-menu li:nth-child(4) a { transition-delay: .15s; } .mobile-menu li:nth-child(5) a { transition-delay: .2s; }
.mobile-menu li:nth-child(6) a { transition-delay: .25s; } .mobile-menu li:nth-child(7) a { transition-delay: .3s; }
.mobile-menu__foot { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: rgba(243,237,227,.6); }
.mobile-menu__foot a { color: var(--cream); font-weight: 700; font-size: 18px; }
body.menu-open .header { background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .header .logo, body.menu-open .burger { color: var(--cream); border-color: var(--cream); }
body.menu-open .burger span { background: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  padding: calc(var(--header-h) + 40px) 0 80px;
  display: flex; align-items: center; overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 20%, rgba(243,154,91,.22), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(138,154,123,.18), transparent 70%),
    var(--paper);
}
.hero__grid-lines { position: absolute; inset: 0; display: flex; justify-content: space-evenly; pointer-events: none; }
.hero__grid-lines span { width: 1px; height: 100%; background: var(--line); transform-origin: top; transform: scaleY(0); transition: transform 1.6s var(--ease); }
.hero__grid-lines span:nth-child(2) { transition-delay: .1s; } .hero__grid-lines span:nth-child(3) { transition-delay: .2s; } .hero__grid-lines span:nth-child(4) { transition-delay: .3s; }
body.is-loaded .hero__grid-lines span { transform: scaleY(1); }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero__eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); box-shadow: 0 0 0 0 rgba(138,154,123,.6); animation: pulse 2s infinite; }
.hero__eyebrow.is-open .dot { background: #4caf6a; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(138,154,123,0); } 100% { box-shadow: 0 0 0 0 rgba(138,154,123,0); } }

.hero__title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(52px, 9vw, 132px); letter-spacing: -.035em; line-height: .98;
  margin-bottom: 28px; font-variation-settings: "opsz" 144;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.2s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
body.is-loaded .hero__title .line > span { transform: none; }
.hero__title em { color: var(--accent); font-weight: 300; }

.hero__lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--ink-3); max-width: 520px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--line); padding-top: 22px; max-width: 540px; }
.hero__meta li { flex: 1 1 0; min-width: 120px; padding-right: 16px; }
.hero__meta li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.hero__meta b { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 500; }
.hero__meta span { font-size: 13px; color: var(--muted); }

.hero__visual { position: relative; }
.loft-art { border-radius: 28px; box-shadow: 0 50px 100px -30px rgba(22,19,15,.45); transform: translateY(40px) scale(.96); opacity: 0; transition: transform 1.4s var(--ease) .2s, opacity 1.2s var(--ease) .2s; }
body.is-loaded .loft-art { transform: none; opacity: 1; }
.loft-art__svg { width: 100%; height: auto; border-radius: 28px; }
.la-sun { animation: sun 9s ease-in-out infinite alternate; }
@keyframes sun { to { transform: translateY(-40px); } }
.la-lamp { transform-origin: top center; transform-box: fill-box; animation: swing 5s ease-in-out infinite alternate; }
.la-lamp--2 { animation-duration: 6s; animation-delay: -2s; }
@keyframes swing { from { transform: rotate(-3deg); } to { transform: rotate(3deg); } }
.la-code { stroke-dasharray: 60; animation: type 3s steps(12) infinite; }
@keyframes type { from { stroke-dashoffset: 60; } 60%, to { stroke-dashoffset: 0; } }
.la-steam { animation: steam 2.4s ease-in-out infinite; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 50% { opacity: .7; } 100% { opacity: 0; transform: translateY(-6px); } }
.la-plant { transform-origin: 350px 368px; animation: sway 4s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }

.float-card {
  position: absolute; display: flex; align-items: center; gap: 12px;
  padding: 12px 18px 12px 12px; border-radius: 16px;
  background: rgba(250,247,242,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px -16px rgba(22,19,15,.35); font-size: 14px; line-height: 1.3;
  opacity: 0; transition: opacity 1s var(--ease) .9s;
}
body.is-loaded .float-card { opacity: 1; }
.float-card b { display: block; font-weight: 700; }
.float-card small { color: var(--muted); font-size: 12.5px; }
.float-card__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--accent-2); flex: none; }
.float-card__icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.float-card--a { top: 14%; left: -9%; animation: bob 6s ease-in-out infinite; }
.float-card--b { bottom: 12%; right: -6%; animation: bob 7s ease-in-out -3s infinite; }
@keyframes bob { 50% { translate: 0 -10px; } }

.badge-spin {
  position: absolute; left: -7%; bottom: -5%; width: 124px; height: 124px; border-radius: 50%;
  background: var(--ink); color: var(--cream); display: grid; place-items: center;
  box-shadow: 0 20px 40px -10px rgba(22,19,15,.5); transition: transform .5s var(--ease), background .3s;
}
.badge-spin:hover { transform: scale(1.08); background: var(--accent); }
.badge-spin svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge-spin text { fill: currentColor; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; font-family: var(--font-body); }
.badge-spin > span { font-size: 26px; }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-hint { position: absolute; bottom: 28px; left: 50%; translate: -50% 0; width: 26px; height: 42px; border: 1.5px solid var(--ink-3); border-radius: 20px; }
.scroll-hint span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--ink-3); animation: scroll 1.8s var(--ease) infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); color: var(--cream); overflow: hidden; padding: 26px 0; transform: rotate(-1.2deg); margin: -10px -2% 0; width: 104%; position: relative; z-index: 2; }
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 46px); font-style: italic; font-weight: 300; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--accent); font-size: 22px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: end; }
.about__body p { font-size: 17.5px; color: var(--ink-3); }
.about__body .link-arrow { margin-top: 10px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(60px, 8vw, 110px); border-top: 1px solid var(--line); }
.stat { padding: 34px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 5.4vw, 76px); line-height: 1; letter-spacing: -.03em; margin-bottom: 10px; }
.stat > span { color: var(--muted); font-size: 14.5px; }

/* ---------- Section head ---------- */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .title { max-width: 760px; }
.section-head__aside { max-width: 340px; color: var(--muted); margin: 0; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Spaces ---------- */
.spaces { background: var(--cream); border-radius: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 56px) 0 0; }
.spaces__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.space-card {
  position: relative; padding: 26px 26px 30px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .5s, color .5s;
  transform-style: preserve-3d; will-change: transform;
}
.space-card:hover { background: var(--ink); color: var(--cream); box-shadow: 0 40px 70px -30px rgba(22,19,15,.5); }
.space-card__art { height: 150px; border-radius: 16px; margin-bottom: 26px; display: grid; place-items: center; overflow: hidden; transition: transform .6s var(--ease); }
.space-card:hover .space-card__art { transform: translateZ(30px); }
.space-card__art svg { width: 62%; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .8s var(--ease); }
.space-card:hover .space-card__art svg { transform: scale(1.08) rotate(-2deg); }
.space-card__art--1 { background: linear-gradient(135deg, #f6c48f, #f39a5b); }
.space-card__art--2 { background: linear-gradient(135deg, #c8d1bd, #8a9a7b); }
.space-card__art--3 { background: linear-gradient(135deg, #e6d3b8, #c9a77c); }
.space-card__art--4 { background: linear-gradient(135deg, #f3b08a, #e8622c); }
.space-card__art--5 { background: linear-gradient(135deg, #dcd6cc, #b9b0a2); }
.space-card__art--6 { background: linear-gradient(135deg, #b8c6c0, #7f9a91); }
.space-card__num { position: absolute; top: 40px; right: 40px; font-size: 12px; font-weight: 700; letter-spacing: .14em; color: rgba(22,19,15,.6); }
.space-card h3 { font-family: var(--font-display); font-size: 28px; font-weight: 500; margin-bottom: 12px; letter-spacing: -.01em; }
.space-card p { color: var(--muted); font-size: 15px; transition: color .5s; }
.space-card:hover p { color: rgba(243,237,227,.7); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.tags li { font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); transition: border-color .5s; }
.space-card:hover .tags li { border-color: var(--line-light); }

/* ---------- Built for ---------- */
.builtfor { background: var(--cream); padding: 0 0 clamp(80px, 12vw, 150px); }
.builtfor__line { font-family: var(--font-display); font-size: clamp(36px, 6.6vw, 96px); font-weight: 300; letter-spacing: -.03em; line-height: 1.1; margin: 0; text-align: center; }
.word-cycle { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; color: var(--accent); font-style: italic; }
.word-cycle span { grid-area: 1 / 1; transform: translateY(105%); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); white-space: nowrap; }
.word-cycle span.is-active { transform: none; opacity: 1; }
.word-cycle span.is-leaving { transform: translateY(-105%); opacity: 0; }

/* ---------- Amenities ---------- */
.amenities { background: var(--ink); color: var(--cream); }
.amenities .eyebrow { color: rgba(243,237,227,.55); }
.amenities__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.amenity { padding: 34px 28px 30px; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); position: relative; overflow: hidden; }
.amenity::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(232,98,44,.18), transparent 60%); opacity: 0; transition: opacity .5s; }
.amenity:hover::before { opacity: 1; }
.amenity svg { width: 34px; height: 34px; fill: none; stroke: var(--accent-2); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 40px; transition: transform .6s var(--ease); position: relative; }
.amenity:hover svg { transform: translateY(-6px) scale(1.1); }
.amenity h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 8px; position: relative; }
.amenity p { font-size: 14.5px; color: rgba(243,237,227,.6); margin: 0; position: relative; }

/* ---------- Plans ---------- */
.toggle { position: relative; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--cream); margin-top: 30px; }
.toggle__btn { position: relative; z-index: 1; padding: 10px 24px; border-radius: 999px; font-weight: 700; font-size: 14px; transition: color .4s; }
.toggle__btn.is-active { color: var(--cream); }
.toggle__pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 999px; background: var(--ink); transition: transform .5s var(--ease), width .5s var(--ease); }

.plans__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 36px 32px 32px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.plan:hover { transform: translateY(-8px); box-shadow: 0 40px 60px -30px rgba(22,19,15,.3); }
.plan h3 { font-family: var(--font-display); font-size: 28px; margin-bottom: 6px; }
.plan__desc { color: var(--muted); font-size: 15px; }
.plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin: 14px 0 26px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.plan__price small { font-size: 13px; font-weight: 700; color: var(--muted); width: 100%; }
.plan__price span { font-family: var(--font-display); font-size: 54px; line-height: 1; letter-spacing: -.03em; display: inline-block; }
.plan__price span.is-swap { animation: swap .5s var(--ease); }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }
.plan__price em { font-style: normal; color: var(--muted); font-size: 15px; }
.plan__list { flex: 1; margin-bottom: 30px; }
.plan__list li { position: relative; padding: 7px 0 7px 28px; font-size: 15px; }
.plan__list li::before { content: ""; position: absolute; left: 0; top: 13px; width: 16px; height: 16px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/10px no-repeat; }
.plan--featured { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.plan--featured .plan__desc, .plan--featured .plan__price small, .plan--featured .plan__price em { color: rgba(243,237,227,.6); }
.plan--featured .plan__price { border-color: var(--line-light); }
.plan--featured .btn--accent:hover { --bd: var(--cream); }
.plan--featured .btn::before { background: var(--cream); }
.plan--featured .btn:hover { color: var(--ink); }
.plan__badge { position: absolute; top: -13px; left: 32px; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; }
.plans__note { text-align: center; color: var(--muted); font-size: 14.5px; margin-top: 34px; }
.plans__note a { color: var(--ink); font-weight: 700; border-bottom: 1px solid; }

/* ---------- Process ---------- */
.process { background: var(--cream); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 34px 30px 30px; border-top: 2px solid var(--ink); }
.step::before { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 0; background: var(--accent); transition: width 1.2s var(--ease) .3s; }
.step.is-in::before { width: 100%; }
.step__n { font-family: var(--font-display); font-style: italic; font-size: 64px; line-height: 1; color: var(--accent); display: block; margin-bottom: 26px; font-weight: 300; }
.step h3 { font-family: var(--font-display); font-size: 26px; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }

/* ---------- Location ---------- */
.location__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.info-list { margin: 36px 0 34px; }
.info-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-list dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.info-list dd { margin: 0; font-weight: 600; }
.info-list dd small { color: var(--muted); font-weight: 500; }
.info-list a:hover { color: var(--accent); }
.location__map { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3.4; background: var(--cream-2); box-shadow: 0 40px 80px -40px rgba(22,19,15,.45); }
.location__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.85) sepia(.15) contrast(1.05); transition: filter .6s; }
.location__map:hover iframe { filter: none; }

/* ---------- FAQ ---------- */
.faq { background: var(--cream); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); }
.faq__aside { color: var(--muted); margin-top: 24px; }
.faq__aside a { color: var(--ink); font-weight: 700; border-bottom: 1px solid; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 26px 0; font-family: var(--font-display); font-size: clamp(19px, 2vw, 24px); transition: color .3s;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after {
  content: ""; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) center/12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center/1.5px 12px no-repeat;
  transition: transform .5s var(--ease), background-color .3s;
}
.accordion details[open] summary::after { transform: rotate(135deg); background-color: var(--accent); border-color: var(--accent); }
.accordion summary:hover { color: var(--accent); }
.accordion details p { color: var(--ink-3); padding: 0 56px 26px 0; margin: 0; animation: fadeDown .5s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--cream); overflow: hidden; }
.contact__glow { position: absolute; width: 700px; height: 700px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(232,98,44,.35), transparent 65%); pointer-events: none; animation: glow 10s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate(-120px, 160px) scale(1.15); } }
.contact__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.contact__copy > p { color: rgba(243,237,227,.7); font-size: 17.5px; max-width: 460px; margin-top: 24px; }
.contact__direct { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.contact__chip { display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 12px; border-radius: 999px; border: 1px solid var(--line-light); transition: background .4s, border-color .4s; }
.contact__chip:hover { background: rgba(243,237,227,.06); border-color: var(--accent); }
.contact__chip svg { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: var(--accent); color: #fff; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.contact__chip span { font-weight: 700; line-height: 1.3; }
.contact__chip small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,237,227,.5); }

.form { background: var(--paper); color: var(--ink); padding: clamp(24px, 3.5vw, 44px); border-radius: var(--radius); box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 26px 16px 10px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: #fff;
  transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; min-height: 60px;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2316130f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 40px; cursor: pointer; }
.field > span { position: absolute; left: 17px; top: 19px; font-size: 15px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(232,98,44,.12); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span,
.field select:focus + span, .field select:valid + span,
.field--date > span { transform: translateY(-11px) scale(.76); color: var(--accent); }
.field.is-invalid input, .field.is-invalid select { border-color: #c0392b; }
.form .btn { margin-top: 6px; padding: 18px 26px; }
.form__note { font-size: 13px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form__note.is-error { color: #c0392b; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--cream); padding: 0 0 30px; border-top: 1px solid var(--line-light); overflow: hidden; }
.footer__big { font-family: var(--font-display); font-weight: 300; font-size: clamp(56px, 13.5vw, 210px); letter-spacing: -.05em; line-height: .9; white-space: nowrap; padding: clamp(50px, 7vw, 90px) 0 clamp(40px, 6vw, 70px); color: var(--cream); -webkit-text-stroke: 1px var(--accent); }
.footer__big em { color: var(--accent); -webkit-text-stroke: 0; font-weight: 300; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer__tag { color: rgba(243,237,227,.55); max-width: 320px; margin-top: 18px; font-size: 15px; }
.footer h4 { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(243,237,227,.5); margin-bottom: 18px; }
.footer li { margin-bottom: 10px; font-size: 15px; }
.footer li a:hover { color: var(--accent); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 26px; font-size: 13.5px; color: rgba(243,237,227,.5); }
.to-top:hover { color: var(--accent); }

/* ---------- FAB ---------- */
.fab {
  position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.6); transform: scale(0); transition: transform .5s var(--ease);
}
.fab.is-visible { transform: scale(1); }
.fab:hover { transform: scale(1.1); }
.fab svg { width: 28px; height: 28px; fill: currentColor; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.space-card.reveal.is-in:hover { transform: translateY(-6px); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav__list a { padding: 8px 10px; }
  .amenities__grid { grid-template-columns: repeat(2, 1fr); }
  .spaces__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .nav, .header__cta { display: none; }
  .burger { display: block; }

  .hero { padding-top: calc(var(--header-h) + 30px); padding-bottom: 100px; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 520px; width: 100%; margin: 10px auto 0; }
  .float-card--a { left: -4px; top: 8%; }
  .float-card--b { right: -4px; }
  .badge-spin { left: auto; right: 8%; bottom: auto; top: -46px; width: 100px; height: 100px; }

  .about__grid, .location__grid, .contact__grid, .faq__grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n+3) { padding-top: 30px; margin-top: 30px; border-top: 1px solid var(--line); }

  .section-head { flex-direction: column; align-items: flex-start; gap: 18px; }
  .section-head--center { align-items: center; }

  .plans__grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .step { padding: 30px 0; display: grid; grid-template-columns: 80px 1fr; column-gap: 16px; }
  .step__n { grid-row: span 2; font-size: 52px; margin: 0; }

  .location__map { aspect-ratio: 4 / 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .logo__text { font-size: 17px; }
  .logo__mark { width: 30px; height: 30px; }
  .hero__title { font-size: clamp(46px, 14vw, 72px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__meta li { min-width: 0; padding-right: 10px; }
  .hero__meta li + li { padding-left: 10px; }
  .hero__meta b { font-size: 18px; }
  .hero__meta span { font-size: 12px; }
  .float-card { padding: 9px 14px 9px 9px; font-size: 13px; }
  .float-card__icon { width: 34px; height: 34px; border-radius: 10px; }
  .float-card small { display: none; }
  .badge-spin { width: 88px; height: 88px; top: -38px; }
  .badge-spin text { font-size: 12px; }
  .scroll-hint { display: none; }

  .spaces__grid, .amenities__grid { grid-template-columns: 1fr; }
  .space-card__art { height: 130px; }
  .amenity { padding: 26px 22px; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
  .amenity svg { margin: 2px 0 0; grid-row: span 2; width: 30px; height: 30px; }

  .stat b { font-size: 44px; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 14px; }
  .stat:nth-child(3) { padding-left: 0; }

  .info-list > div { grid-template-columns: 1fr; gap: 4px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .accordion details p { padding-right: 0; }
  .contact__chip { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; }
  .fab { width: 52px; height: 52px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  .reveal { opacity: 1; transform: none; }
}
