/* Devv Business Spaces: landing concept (A/B). Tokens in OKLCH. */
:root {
  --ink: oklch(0.17 0.03 240);
  --ink-2: oklch(0.22 0.035 238);
  --ink-line: oklch(0.32 0.03 238);
  --signal: oklch(0.78 0.14 225);       /* #1ec8f7 brand cyan */
  --signal-deep: oklch(0.62 0.15 240);  /* #2f86ff end of the logo gradient */
  --signal-ink: oklch(0.24 0.06 235);   /* text on cyan */
  --white: oklch(0.985 0.004 225);
  --mist: oklch(0.95 0.02 220);
  --text: oklch(0.22 0.025 240);
  --text-soft: oklch(0.40 0.02 240);
  --on-ink: oklch(0.96 0.01 225);
  --on-ink-soft: oklch(0.80 0.02 230);
  --wa: oklch(0.72 0.17 150);

  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-text: "Hind Madurai", "Segoe UI", system-ui, sans-serif;

  --step-hero: clamp(2.6rem, 1.4rem + 5.2vw, 5.6rem);
  --step-3: clamp(2rem, 1.2rem + 3.2vw, 3.9rem);
  --step-2: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
  --step-1: clamp(1.15rem, 1rem + 0.6vw, 1.45rem);
  --step-0: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem);
  --step--1: 0.88rem;

  --gutter: clamp(1rem, 0.5rem + 3vw, 3.5rem);
  --section: clamp(4rem, 2.5rem + 5.5vw, 8rem);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --z-base: 1; --z-sticky: 20; --z-header: 30; --z-bar: 40;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 var(--step-0)/1.6 var(--f-text); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.wrap { padding-inline: var(--gutter); max-width: 1480px; margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- concept bar ---------- */
.concept { position: relative; z-index: var(--z-header); height: 1.9rem; background: oklch(0.12 0.025 240); color: var(--on-ink-soft); font: 500 0.74rem/1 var(--f-text); letter-spacing: 0.02em; display: flex; gap: 0.6rem; justify-content: center; align-items: center; padding-inline: var(--gutter); }
.concept a { text-decoration: none; padding: 0.2rem 0.5rem; border-radius: 99px; color: var(--on-ink-soft); }
.concept a[aria-current] { color: var(--signal); box-shadow: inset 0 0 0 1px oklch(0.78 0.14 225 / 0.5); }

/* ---------- header ---------- */
.header { position: absolute; z-index: var(--z-header); inset-inline: 0; display: flex; align-items: center; justify-content: space-between; padding: 1rem var(--gutter); color: var(--on-ink); }
.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand svg { width: 2.6rem; height: auto; overflow: visible; }
.brand b { font: 400 1.3rem/1 "Syncopate", var(--f-display); letter-spacing: 0.08em; text-transform: uppercase; }
.brand small { display: block; font: 500 0.6rem/1.1 "Orbitron", var(--f-text); letter-spacing: 0.16em; opacity: 0.85; text-transform: uppercase; margin-top: 0.2rem; }
.header nav { display: flex; gap: 1.6rem; align-items: center; font-weight: 500; }
.header nav a.link { text-decoration: none; opacity: 0.9; }
.header nav a.link:hover { opacity: 1; text-decoration: underline; text-underline-offset: 0.3em; }
@media (max-width: 860px) { .header nav a.link { display: none; } }

/* ---------- logo motion ---------- */
.logo .lane { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.4s var(--ease) forwards; }
.logo .lane:nth-of-type(2) { animation-delay: 0.15s; }
.logo .lane:nth-of-type(3) { animation-delay: 0.3s; }
.logo .arrow { opacity: 0; animation: fade 0.6s var(--ease) 0.9s forwards; }
.logo .trail { stroke-dasharray: 0.08 1; stroke-dashoffset: 0.08; animation: trail 3.2s linear 1.6s 2; opacity: 0; }
.logo .trail + .trail { animation-delay: 2.6s; }
.logo .glow { filter: blur(10px); opacity: 0.55; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }
@keyframes trail { 0% { stroke-dashoffset: 0.08; opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }

/* ---------- hero ---------- */
.hero-shell { position: relative; }
.hero { position: sticky; top: 0; z-index: 0; min-height: calc(100svh - 1.9rem); max-height: 64rem; display: grid; grid-template-rows: 1fr auto; color: var(--on-ink); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: settle 2.4s var(--ease) both; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
   radial-gradient(120% 90% at 0% 55%, oklch(0.14 0.03 240 / 0.52) 0%, oklch(0.14 0.03 240 / 0.3) 35%, oklch(0.14 0.03 240 / 0.08) 60%, oklch(0.14 0.03 240 / 0) 80%),
   linear-gradient(0deg, oklch(0.14 0.03 240 / 0.55) 0%, oklch(0.14 0.03 240 / 0) 25%),
   linear-gradient(180deg, oklch(0.14 0.03 240 / 0.6) 0%, oklch(0.14 0.03 240 / 0.25) 9%, oklch(0.14 0.03 240 / 0) 20%); }
.hero h1, .hero .lede { text-shadow: 0 2px 24px oklch(0.12 0.03 240 / 0.45); }
.header nav a.link { text-shadow: 0 1px 12px oklch(0.12 0.03 240 / 0.8); }
@keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-copy { align-self: center; padding: 7.5rem var(--gutter) 2rem; max-width: 52rem; }
.chip { display: inline-flex; align-items: center; gap: 0.55rem; font: 600 0.82rem/1 var(--f-text); padding: 0.5rem 0.85rem; border-radius: 99px; background: oklch(1 0 0 / 0.12); border: 1px solid oklch(1 0 0 / 0.22); margin-bottom: 1.4rem; }
.hero h1 { font-size: var(--step-hero); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .lede { font-size: var(--step-1); max-width: 34ch; margin-top: 1.3rem; color: var(--on-ink); opacity: 0.92; }

/* facts strip: the four above-the-fold facts on a solid band */
.facts { background: var(--ink); border-top: 1px solid var(--ink-line); display: grid; grid-template-columns: 1.35fr 1fr 1fr auto; align-items: stretch; }
.fact { padding: 1.15rem var(--gutter) 1.2rem; border-right: 1px solid var(--ink-line); text-decoration: none; display: flex; flex-direction: column; justify-content: center; gap: 0.25rem; min-width: 0; }
.fact:first-child { padding-left: var(--gutter); }
.fact .k { font: 500 0.78rem/1.2 var(--f-text); color: var(--on-ink-soft); letter-spacing: 0.02em; }
.fact .v { font: 700 1.08rem/1.25 var(--f-display); letter-spacing: -0.01em; }
.fact .v small { font: 500 0.82rem/1 var(--f-text); color: var(--on-ink-soft); letter-spacing: 0; }
a.fact:hover .v { color: var(--signal); }
a.fact .v::after { content: " ↗"; font-family: var(--f-text); color: var(--signal); }
.seats .v { display: flex; align-items: center; gap: 0.6rem; }
.dot { position: relative; width: 0.65rem; height: 0.65rem; border-radius: 50%; background: var(--signal); flex: none; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--signal); animation: pulse 2.6s cubic-bezier(.2,.6,.3,1) infinite; }
@keyframes pulse { from { opacity: 0.9; transform: scale(0.3); } to { opacity: 0; transform: scale(2.6); } }
.cta-pair { display: flex; gap: 0.6rem; align-items: center; padding: 1rem var(--gutter) 1rem 1.4rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3.1rem; padding: 0 1.35rem; border-radius: 99px; font: 600 1rem/1 var(--f-text); text-decoration: none; white-space: nowrap; transition: transform 0.3s var(--ease), background 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.2rem; height: 1.2rem; flex: none; }
.btn-wa { background: var(--signal); color: var(--signal-ink); box-shadow: 0 6px 18px -10px oklch(0.4 0.1 235 / 0.6); }
.btn-wa:hover { background: oklch(0.84 0.13 222); }
.btn-ghost { border: 1.5px solid oklch(1 0 0 / 0.35); color: var(--on-ink); }
.btn-ghost:hover { border-color: var(--on-ink); }
.btn-ink { background: var(--signal-ink); color: var(--white); }
.btn-dark-ghost { border: 1.5px solid currentColor; }

@media (max-width: 1080px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:first-child { grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid var(--ink-line); }
  .fact:nth-child(3) { border-right: 0; }
  .cta-pair { grid-column: 1 / -1; border-top: 1px solid var(--ink-line); padding: 0.9rem var(--gutter); }
  .cta-pair .btn-wa { flex: 1; }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 2.45rem; }
  .hero-copy { padding-top: 5.4rem; padding-bottom: 1rem; align-self: start; }
  .chip { margin-bottom: 1rem; }
  .fact .v small { display: block; margin-top: 0.15rem; }
  .hero-media::after { background: linear-gradient(180deg, oklch(0.14 0.03 240 / 0.8) 0%, oklch(0.14 0.03 240 / 0.55) 42%, oklch(0.14 0.03 240 / 0.1) 68%, oklch(0.14 0.03 240 / 0.6) 100%); }
  .hero .lede { font-size: 1.05rem; }
  .fact { padding-block: 0.8rem; }
  .fact .v { font-size: 0.98rem; }
  .cta-pair { padding-block: 0.75rem; }
}

/* ---------- page body slides over the sticky hero ---------- */
.page { position: relative; z-index: var(--z-base); background: var(--white); box-shadow: 0 -30px 60px -20px oklch(0.1 0.03 240 / 0.6); }
section { position: relative; }

/* reveal: enhances an already-visible default */
@supports (animation-timeline: view()) { @media (hover: hover) and (pointer: fine) {
  .rise { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  .zoom img { animation: zoom linear both; animation-timeline: view(); animation-range: entry 0% cover 50%; }
}
} }
@keyframes rise { from { opacity: 0.001; transform: translateY(2.5rem); } to { opacity: 1; transform: none; } }
@keyframes zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.zoom { overflow: hidden; }

/* ---------- 1. the line (spread) ---------- */
.line { background: var(--ink); color: var(--on-ink); display: grid; grid-template-columns: 1.1fr 1fr; min-height: 92svh; }
.line-copy { padding: var(--section) var(--gutter); display: flex; flex-direction: column; justify-content: center; gap: 2.2rem; }
.line h2 { font-size: var(--step-3); font-weight: 800; display: grid; gap: 0.15em; }
.line h2 span { display: block; }
.line h2 span:last-child { color: var(--signal); }
.line p { color: var(--on-ink-soft); max-width: 38ch; font-size: var(--step-1); }
.line figure { margin: 0; position: relative; }
.line figure img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.line figcaption { position: absolute; left: 1.2rem; bottom: 1.2rem; z-index: 1; font: 500 0.85rem/1.3 var(--f-text); color: var(--white); background: oklch(0.14 0.03 240 / 0.72); padding: 0.45rem 0.75rem; border-radius: 99px; }
@media (max-width: 860px) { .line { grid-template-columns: 1fr; } .line figure { aspect-ratio: 1; } .line-copy { padding-bottom: 3rem; } }

/* ---------- 2. what a seat gets you ---------- */
.seat { background: var(--white); padding-block: var(--section); }
.seat-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 5vw, 6rem); align-items: start; }
.seat-photo { position: sticky; top: 2rem; }
.seat-photo .zoom { border-radius: var(--radius); aspect-ratio: 4 / 5; }
.seat-photo img { width: 100%; height: 100%; object-fit: cover; }
.seat h2 { font-size: var(--step-3); color: var(--text); max-width: 14ch; }
.seat .intro { margin-top: 1.4rem; font-size: var(--step-1); color: var(--text-soft); max-width: 40ch; }
.gets { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; border-top: 2px solid var(--text); }
@media (max-width: 560px) { .gets { grid-template-columns: 1fr; } }
.gets li { padding: 1.3rem 1.2rem 1.4rem 0; border-bottom: 1px solid oklch(0.85 0.01 230); }
.gets b { display: block; font: 700 1.05rem/1.25 var(--f-display); letter-spacing: -0.01em; color: var(--text); margin-bottom: 0.35rem; }
.gets span { color: var(--text-soft); font-size: 0.98rem; }
@media (max-width: 860px) { .seat-grid { grid-template-columns: 1fr; } .seat-photo { position: static; } .seat-photo .zoom { aspect-ratio: 4 / 3; } }

/* ---------- 3. price: drenched cyan ---------- */
.price { background: var(--signal); color: var(--signal-ink); padding-block: var(--section); overflow: hidden; }
.price-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: end; }
.price .big { font: 800 clamp(4.2rem, 1.5rem + 11vw, 11rem)/0.9 var(--f-display); letter-spacing: -0.04em; display: flex; align-items: flex-start; gap: 0.08em; }
.price .big sup { font-size: 0.38em; margin-top: 0.12em; letter-spacing: 0; }
.price .per { font: 700 var(--step-2)/1.15 var(--f-display); margin-top: 1rem; }
.price .straight { margin-top: 1.2rem; font-size: var(--step-1); max-width: 34ch; }
.terms { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 2px solid var(--signal-ink); }
.terms li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid oklch(0.24 0.06 235 / 0.25); font-size: 1.05rem; }
.terms li b { font-weight: 600; }
.terms li span { text-align: right; }
.terms .head { font: 700 0.95rem/1 var(--f-display); padding-top: 1.6rem; border-bottom: 0; }
.price .actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 2.2rem; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } }

/* ---------- 4. the house (gallery spread) ---------- */
.house { background: var(--ink); color: var(--on-ink); padding-block: var(--section); }
.house-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.house h2 { font-size: var(--step-3); max-width: 16ch; }
.house-head p { color: var(--on-ink-soft); max-width: 36ch; font-size: var(--step-1); }
.spread { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(9rem, 14vw, 15rem); gap: clamp(0.6rem, 1.2vw, 1.2rem); }
.spread figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.spread img { width: 100%; height: 100%; object-fit: cover; }
.spread figcaption { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem 0.9rem; background: linear-gradient(0deg, oklch(0.12 0.03 240 / 0.8), transparent); font: 500 0.92rem/1.35 var(--f-text); color: var(--white); }
.spread figcaption b { font: 700 0.95rem/1.2 var(--f-display); display: block; margin-bottom: 0.15rem; }
.g1 { grid-column: 1 / 9; grid-row: span 3; }
.g2 { grid-column: 9 / 13; grid-row: span 3; }
.g3 { grid-column: 1 / 9; grid-row: span 2; }
.g4 { grid-column: 6 / 9; grid-row: span 2; }
.g5 { grid-column: 9 / 13; grid-row: span 2; }
@media (max-width: 860px) {
  .spread { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .spread figure { grid-column: auto; grid-row: auto; aspect-ratio: 3 / 2; }
  .spread figure.tall { aspect-ratio: 4 / 5; }
  .spread .g4 { aspect-ratio: 1; }
}

/* ---------- B: floors explorer ---------- */
.floors { background: var(--mist); padding-block: var(--section); color: var(--text); }
.floors-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.floors h2 { font-size: var(--step-3); }
.floors .intro { margin-top: 1.2rem; color: var(--text-soft); font-size: var(--step-1); max-width: 32ch; }
.tabs { display: inline-flex; margin-top: 2rem; background: var(--white); border-radius: 99px; padding: 0.3rem; box-shadow: inset 0 0 0 1px oklch(0.85 0.02 225); }
.tabs button { font: 600 0.95rem/1 var(--f-text); border: 0; background: none; padding: 0.75rem 1.2rem; border-radius: 99px; cursor: pointer; color: var(--text-soft); }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--white); }
.rooms { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 0.5rem; }
.rooms li { display: flex; gap: 0.7rem; align-items: baseline; }
.rooms li::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 2px; background: var(--signal); flex: none; transform: translateY(-0.05rem); }
.floor-view { position: relative; aspect-ratio: 4 / 3; }
.floor-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); }
.floor-view img[hidden] { display: block !important; opacity: 0; transform: translateY(1.5rem); pointer-events: none; }
@media (max-width: 860px) { .floors-grid { grid-template-columns: 1fr; } }

/* ---------- 5. borrow library ---------- */
.borrow { background: var(--white); padding-block: var(--section); }
.borrow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 6rem); align-items: center; }
.borrow h2 { font-size: var(--step-3); color: var(--text); }
.borrow h2 em { font-style: normal; color: var(--signal-deep); }
.borrow p { margin-top: 1.4rem; font-size: var(--step-1); color: var(--text-soft); max-width: 36ch; }
.shelf { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.shelf span { font: 600 clamp(0.95rem, 0.8rem + 0.5vw, 1.2rem)/1 var(--f-display); letter-spacing: -0.01em; padding: 1rem 1.3rem; border-radius: 99px; background: var(--mist); color: var(--text); border: 1.5px solid oklch(0.88 0.03 222); transition: transform 0.4s var(--ease), background 0.4s var(--ease); }
.shelf span:hover { transform: rotate(-2deg) translateY(-3px); background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
@media (max-width: 860px) { .borrow-grid { grid-template-columns: 1fr; } }

/* ---------- 6. rooms with doors ---------- */
.doors { background: var(--mist); padding-block: var(--section); }
.doors-head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: 2.5rem; }
.doors h2 { font-size: var(--step-3); color: var(--text); max-width: 13ch; }
.doors-head p { font-size: var(--step-1); color: var(--text-soft); max-width: 38ch; }
.offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: clamp(1rem, 2vw, 1.6rem); }
.offer article { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.offer .zoom { aspect-ratio: 3 / 2; }
.offer img { width: 100%; height: 100%; object-fit: cover; }
.offer .body { padding: 1.4rem 1.4rem 1.6rem; display: grid; gap: 0.5rem; }
.offer h3 { font-size: 1.25rem; color: var(--text); }
.offer p { color: var(--text-soft); }
.offer .more { margin-top: 0.5rem; font-weight: 600; color: var(--signal-ink); text-decoration-color: var(--signal); text-underline-offset: 0.3em; text-decoration-thickness: 2px; }
@media (max-width: 760px) { .doors-head { grid-template-columns: 1fr; } }

/* ---------- 7. visit ---------- */
.visit { background: var(--ink); color: var(--on-ink); display: grid; grid-template-columns: 1fr 1.2fr; min-height: 80svh; }
.visit-copy { padding: var(--section) var(--gutter); display: grid; align-content: center; gap: 2rem; }
.visit h2 { font-size: var(--step-3); }
.visit dl { margin: 0; display: grid; gap: 1.1rem; }
.visit dt { font: 500 0.8rem/1 var(--f-text); color: var(--on-ink-soft); margin-bottom: 0.3rem; }
.visit dd { margin: 0; font-size: 1.12rem; }
.visit dd a { text-decoration-color: var(--signal); text-underline-offset: 0.25em; }
.visit .actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }
.map { position: relative; min-height: 22rem; background: var(--ink-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(0.25) contrast(1.05); }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } .map { min-height: 20rem; } }

/* ---------- 8. faq ---------- */
.faq { background: var(--white); padding-block: var(--section); }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(2rem, 5vw, 6rem); }
.faq h2 { font-size: var(--step-3); color: var(--text); }
.faq details { border-bottom: 1px solid oklch(0.85 0.01 230); }
.faq details:first-child { border-top: 2px solid var(--text); }
.faq summary { list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; font: 700 1.1rem/1.3 var(--f-display); letter-spacing: -0.01em; color: var(--text); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0.2rem; top: 1.05rem; font: 400 1.6rem/1 var(--f-text); color: var(--signal-deep); transition: transform 0.4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.4rem; color: var(--text-soft); max-width: 60ch; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--on-ink); padding: var(--section) var(--gutter) 7rem; border-top: 1px solid var(--ink-line); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2.5rem; max-width: 1480px; margin-inline: auto; }
.footer .sign { font: 800 clamp(2.6rem, 1rem + 6vw, 5.5rem)/0.95 var(--f-display); letter-spacing: -0.03em; }
.footer .sign em { font-style: normal; color: var(--signal); }
.footer h3 { font: 600 0.82rem/1 var(--f-text); color: var(--on-ink-soft); margin-bottom: 0.9rem; letter-spacing: 0.02em; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--signal); }
.footer .legal { max-width: 1480px; margin: 4rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--on-ink-soft); font-size: 0.88rem; }
.footer .legal nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- mobile sticky action bar ---------- */
.bar { position: fixed; z-index: var(--z-bar); inset: auto 0 0 0; display: none; gap: 0.5rem; padding: 0.6rem 0.75rem calc(0.6rem + env(safe-area-inset-bottom, 0px)); background: oklch(0.17 0.03 240 / 0.97); border-top: 1px solid var(--ink-line); transform: translateY(110%); transition: transform 0.5s var(--ease); }
.bar.on { transform: none; }
.bar .btn-wa { flex: 1; }
@media (max-width: 860px) { .bar { display: flex; } }

/* ---------- B hero: render on a light ground ---------- */
.hero--render { color: var(--text); }
.hero--render .hero-media { background: var(--hero-ground, var(--mist)); }
.hero--render .hero-media img { object-fit: cover; object-position: 70% 50%; }
.hero--render .hero-media::after { background: linear-gradient(90deg, var(--hero-fade, oklch(0.95 0.02 220 / 0.85)) 0%, transparent 45%); }
.hero--render .chip { background: oklch(1 0 0 / 0.7); border-color: oklch(0.8 0.03 225); }
.hero--render .lede { color: var(--text-soft); opacity: 1; }
.hero--render h1 em { color: var(--signal-deep); }
.hero--render.dark { color: var(--on-ink); }
.hero--render.dark .hero-media::after { background: linear-gradient(90deg, oklch(0.14 0.03 240 / 0.75) 0%, transparent 50%); }
.hero--render.dark .lede { color: var(--on-ink-soft); }
.hero--render.dark .chip { background: oklch(1 0 0 / 0.1); border-color: oklch(1 0 0 / 0.2); }
.hero--render.dark h1 em { color: var(--signal); }
.hero--render .header-ink { color: var(--text); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .logo .lane { stroke-dashoffset: 0; } .logo .arrow { opacity: 1; } .logo .trail { display: none; }
}
:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; border-radius: 4px; }
.spread .g3 img { object-position: 60% 30%; }

/* Phones: no scroll-linked motion, no giant shadow over the sticky hero (2026-10-18 jank fix) */
@media (hover: none) { .page { box-shadow: 0 -12px 24px -12px oklch(0.1 0.03 240 / 0.5); } }
.map-facade { position: absolute; inset: 0; display: grid; place-content: center; gap: 1rem; justify-items: center; text-align: center; padding: 2rem;
  background: radial-gradient(circle at 50% 45%, oklch(0.3 0.06 230) 0%, var(--ink-2) 70%); color: var(--on-ink); }
.map-facade .pin { width: 3rem; height: 3rem; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--signal); box-shadow: 0 0 0 0.6rem oklch(0.78 0.14 225 / 0.18); }
.map-facade p { color: var(--on-ink-soft); max-width: 28ch; }
.hero--render .facts { color: var(--on-ink); }
.rooms[hidden] { display: none; }
.hero--render.dark .hero-media { background: oklch(0.2 0.04 220); }
@media (max-width: 700px) {
  .hero--render .hero-media img { object-fit: contain; object-position: 50% 100%; }
  .hero--render.dark .hero-media::after { background: linear-gradient(180deg, oklch(0.14 0.03 240 / 0.55) 0%, oklch(0.14 0.03 240 / 0) 40%); }
}
/* B: blend the ink-teal renders into the page (render ground runs #0f2a33 → #07151c) */
.hero--render.dark .hero-media { background: linear-gradient(180deg, #0f2a33, #07151c); bottom: var(--facts-h, 0px); }
@media (max-width: 700px) {
  .hero--render .hero-media img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
}
.variant-b .floors { background: linear-gradient(180deg, #0f2a33, #07151c); color: var(--on-ink); }
.variant-b .floors .intro { color: var(--on-ink-soft); }
.variant-b .floors .tabs { background: oklch(1 0 0 / 0.08); box-shadow: inset 0 0 0 1px oklch(1 0 0 / 0.15); }
.variant-b .floors .tabs button { color: var(--on-ink-soft); }
.variant-b .floors .tabs button[aria-selected="true"] { background: var(--signal); color: var(--signal-ink); }
.variant-b .floor-view img { -webkit-mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 70%, transparent 100%); mask-image: radial-gradient(ellipse 75% 75% at 50% 50%, #000 70%, transparent 100%); }
@media (max-width: 700px) { .variant-b .hero .lede { display: none; } }
.variant-b .floor-view img { -webkit-mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, #000 50%, transparent 100%); mask-image: radial-gradient(ellipse 68% 68% at 50% 50%, #000 50%, transparent 100%); }

/* Laptops (Vidya 2026-11-05: "The landing page does not load fully on my laptop"). The hero filled the window
   exactly, so nothing below it ever showed, and on short windows (≈1280×610) the facts strip ran off the bottom.
   Desktop only: stop the hero short so the next section peeks, and scale the hero copy to the window's height. */
@media (min-width: 861px) {
  .hero { min-height: max(30rem, calc(100svh - 1.9rem - 4.5rem)); }
}
@media (min-width: 861px) and (max-height: 820px) {
  .hero-copy { padding-top: clamp(4.5rem, 12svh, 7.5rem); padding-bottom: 1.2rem; }
  .hero h1 { font-size: clamp(2.4rem, 1rem + 6.4svh, 5.6rem); }
  .hero .lede { margin-top: 0.9rem; }
  .chip { margin-bottom: 1rem; }
}

/* Doors: four cards since Vidya split the conference room and the virtual office (item 16, 2026-11-05). */
.offer { grid-template-columns: 1fr; }
@media (min-width: 700px) { .offer { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .offer { grid-template-columns: repeat(4, 1fr); } }
/* The virtual office has no photo; its "picture" is the product itself, the registered address. */
.offer .virtual .addr { aspect-ratio: 3 / 2; display: flex; align-items: flex-end; padding: 1.4rem; background: var(--ink); color: var(--on-ink);
  font: 700 clamp(1.05rem, 0.9rem + 0.6vw, 1.35rem)/1.25 var(--f-display); letter-spacing: -0.01em; }

/* 2026-11-06: Vidya's logo font (Syncopate name, Orbitron line and tagline) */
.tagline { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 1rem; font: 600 clamp(0.68rem, 0.6rem + 0.3vw, 0.82rem)/1 "Orbitron", var(--f-text); letter-spacing: 0.28em; text-transform: uppercase; }
.tagline i { display: block; width: 2.2rem; height: 1px; background: currentColor; opacity: 0.7; }
/* Virtual office card: address centred in its panel, CTAs pinned to the card bottom so they line up across a row */
.offer article { container-type: inline-size; }
.offer .body { flex: 1; grid-template-rows: auto auto 1fr; }
.offer .more { align-self: end; }
.offer .virtual .addr { flex-direction: column; justify-content: center; align-items: center; text-align: center; gap: 0.2em; padding: 1.4rem 1.6rem; font-size: clamp(0.95rem, 6.4cqi, 1.35rem); }
.offer .virtual .addr span { white-space: nowrap; }
@media (max-width: 400px) { .brand { gap: 0.5rem; } .brand svg { width: 2.2rem; } .brand b { font-size: 1.08rem; letter-spacing: 0.06em; } .brand small { font-size: 0.5rem; letter-spacing: 0.12em; } }
@media (max-width: 400px) { .tagline i { width: 1.6rem; } }

/* 2026-11-06: tagline is part of the logo (Vidya 23:15). Her lockup: DEVV and BUSINESS SPACES the same width, all lines centred,
   tagline centred under them with rules filling out to that width. --bs = "Business Spaces" size; DEVV = 3.28 x --bs makes the widths equal. */
.brand { --bs: 0.6rem; align-items: center; }
.brand .lockup { display: grid; justify-items: center; text-align: center; }
.brand .lockup > * { padding-inline-start: var(--ls); }
.brand b { --ls: 0.2em; font-size: calc(var(--bs) * 3.28); letter-spacing: var(--ls); line-height: 0.95; }
.brand small { --ls: 0.16em; font-size: var(--bs); letter-spacing: var(--ls); margin-top: 0.3rem; opacity: 0.9; }
.brand .tag { --ls: 0.2em; display: flex; align-items: center; gap: 0.5em; width: 100%; box-sizing: border-box; margin-top: 0.4rem; font: 600 calc(var(--bs) * 0.8)/1 "Orbitron", var(--f-text); font-style: normal; letter-spacing: var(--ls); text-transform: uppercase; white-space: nowrap; }
.brand .tag i { flex: 1; min-width: 0.5rem; height: 1px; background: currentColor; opacity: 0.75; }
.brand svg { width: 3rem; }
@media (min-width: 861px) { .brand { --bs: 0.72rem; } .brand svg { width: 3.6rem; } }
@media (max-width: 400px) { .brand { --bs: 0.54rem; gap: 0.55rem; } .brand svg { width: 2.6rem; } .brand small { --ls: 0.14em; } }
.brand b { font-size: calc(var(--bs) * 3.18); }
@media (max-width: 370px) { .brand { --bs: 0.5rem; } .brand svg { width: 2.3rem; } }
/* the taller logo needs the hero copy to start lower */
@media (max-width: 860px) { .hero-copy { padding-top: 6.6rem; } }
@media (min-width: 861px) { .hero-copy { padding-top: clamp(6rem, 15svh, 8.5rem); } }
