/* Costa Larga Investment, v2
   Modern product-site language: grotesk type, inset dark panels with a soft glow,
   rounded media, bento grids, scroll-driven reveals. Brand colours: deep sea navy,
   Torrevieja teal, salt-lake pink as a highlighter on key numbers. */

@font-face { font-family: "Inter Tight"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-tight-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-tight-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/fonts/inter-latin-ext-wght-normal.woff2) format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+20A0-20AB,U+20AD-20C0,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --bg: #ffffff;
  --soft: #f1f3f5;
  --ink: #0c1620;
  --ink-2: #26323d;
  --muted: #5a6570;
  --line: #e3e7ea;
  --field: #8a989f;
  --night: #060b12;
  --navy: #0d2233;
  --teal: #19766f;
  --teal-hover: #125c56;
  --teal-glow: #2fb3a6;
  --mint: #8fe3d8;
  --rose: #f6c9c3;
  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --r-panel: clamp(18px, 2.4vw, 28px);
  --r-card: 20px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.645, 0.045, 0.355, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 128px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--text);
  font-feature-settings: "cv11", "ss01";
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 780px; }
.lede { font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 58ch; }
.eyebrow { font: 600 .78rem/1 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Focus: visible on both light and dark surfaces (a11y audit #4) */
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .site-footer :focus-visible, .hero :focus-visible, .lightbox :focus-visible { outline-color: var(--mint); }
.skip { position: absolute; left: -9999px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 10px 14px; border-radius: 8px; }

/* Buttons: pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px;
  padding: 0 24px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font: 600 .98rem/1 var(--text); text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease-out;
}
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { background: var(--teal); border-color: var(--teal); } }
.btn-teal { background: var(--teal); border-color: var(--teal); }
@media (hover: hover) and (pointer: fine) { .btn-teal:hover { background: var(--teal-hover); border-color: var(--teal-hover); } }
.btn-outline { background: transparent; color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); } }
.on-dark .btn-outline { color: #fff; border-color: rgba(255,255,255,.5); }
@media (hover: hover) and (pointer: fine) { .on-dark .btn-outline:hover { background: #fff; color: var(--ink); border-color: #fff; } }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .text-link:hover { color: var(--teal); } }

/* Header: floating glass capsule */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding: 26px clamp(12px, 2.6vw, 40px) 0; pointer-events: none; }
.nav-shell { pointer-events: auto; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; max-width: 1240px; margin: 0 auto; padding: 8px 8px 8px 24px; border-radius: 999px; border: 1px solid rgba(250,250,246,.14); background: rgba(12,22,32,.9); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); color: #fff; transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.site-header.scrolled .nav-shell { background: rgba(12,22,32,.95); box-shadow: 0 18px 40px -18px rgba(6,11,18,.55); }
.site-header :focus-visible { outline-color: var(--mint); }
.wordmark { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.wordmark img { display: block; height: 42px; width: auto; }
.footer-brand .wordmark img { height: 64px; }
.wm-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 700 .82rem var(--display); letter-spacing: -0.02em; align-self: center; }
.wm-name { font: 600 1.2rem var(--display); letter-spacing: -0.03em; }
.wm-sub { font: 500 .95rem var(--display); color: var(--muted); letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.site-nav ul > li > a, .nav-drop { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font: 500 .95rem var(--text); color: rgba(255,255,255,.72); text-decoration: none; cursor: pointer; transition: color .2s ease, background-color .2s ease; }
.nav-drop svg { transition: transform .25s var(--ease-out); }
.nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-drop[aria-expanded="true"], .site-nav ul > li > a[aria-current="page"] { color: #fff; }
@media (hover: hover) and (pointer: fine) { .site-nav ul > li > a:hover, .nav-drop:hover { color: #fff; background: rgba(255,255,255,.08); } }
.nav-group { position: relative; }
.nav-menu { position: absolute; left: 0; top: calc(100% + 12px); min-width: 250px; display: none; flex-direction: column; padding: 8px; border-radius: 18px; border: 1px solid rgba(250,250,246,.14); background: rgba(12,22,32,.95); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 24px 50px -20px rgba(6,11,18,.6); }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.nav-group[data-open="true"] .nav-menu { display: flex; animation: menu-in .2s var(--ease-out); }
.nav-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; color: rgba(255,255,255,.78); text-decoration: none; font-size: .95rem; }
@media (hover: hover) and (pointer: fine) { .nav-menu a:hover { background: rgba(255,255,255,.08); color: #fff; } }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: .92rem; color: rgba(255,255,255,.78); text-decoration: none; white-space: nowrap; transition: color .2s ease; }
@media (hover: hover) and (pointer: fine) { .nav-phone:hover { color: #fff; } }
.nav-cta { display: inline-flex; align-items: center; min-height: 54px; padding: 0 24px; border-radius: 999px; background: var(--mint); color: var(--night); font: 600 .95rem var(--text); text-decoration: none; white-space: nowrap; transition: background-color .2s ease, transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .nav-cta:hover { background: #b4efe7; } }
.nav-cta:active { transform: scale(.97); }
.nav-toggle { display: none; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); background: none; color: #fff; font: 600 .9rem var(--text); cursor: pointer; }
@media (max-width: 1100px) {
  .nav-shell { gap: 16px; padding-right: 10px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav { position: absolute; left: 0; right: 0; top: calc(100% + 10px); display: none; flex-direction: column; align-items: stretch; gap: 12px; padding: 14px; border-radius: 26px; border: 1px solid rgba(250,250,246,.14); background: rgba(10,18,27,.985); box-shadow: 0 30px 60px -20px rgba(6,11,18,.6); max-height: calc(100dvh - 130px); overflow-y: auto; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav ul > li > a, .nav-drop { width: 100%; justify-content: space-between; font-size: 1.05rem; padding: 0 14px; }
  .nav-menu { position: static; display: none; min-width: 0; margin: 2px 0 6px 10px; padding: 4px 0 4px 10px; border: 0; border-left: 1px solid rgba(255,255,255,.16); border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav-menu::before { display: none; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 8px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav-phone { justify-content: center; }
  .nav-cta { justify-content: center; min-height: 52px; }
}
@media (max-width: 560px) { .wordmark img { height: 36px; } .nav-shell { padding-left: 18px; } }
@media (prefers-reduced-motion: reduce) { .nav-group[data-open="true"] .nav-menu { animation: none; } .nav-drop svg, .nav-cta { transition: none; } }
/* Content clears the floating header: dark hero panels slide under it, other pages get a spacer */
main { padding-top: 116px; }
main:has(> .panel:first-child) { padding-top: 12px; }
main > .panel:first-child.hero { padding-top: calc(clamp(56px, 8vw, 112px) + 90px); }
main > .panel:first-child.page-hero { padding-top: calc(clamp(48px, 7vw, 96px) + 90px); }

/* Sections */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { color: var(--muted); font-size: 1.12rem; }
.section-head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; max-width: none; }
.section-head-row > div { max-width: 680px; }

/* Inset dark panel with glow (hero, CTA, feature) */
.panel { margin: 0 clamp(8px, 1.4vw, 20px); border-radius: var(--r-panel); background: var(--night); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.panel::before {
  content: ""; position: absolute; inset: -20%; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 46% at 18% 30%, rgba(47,179,166,.38), transparent 70%),
    radial-gradient(38% 50% at 70% 10%, rgba(30,74,140,.55), transparent 70%),
    radial-gradient(50% 60% at 50% 110%, rgba(13,34,51,.9), transparent 70%);
  filter: blur(10px);
}
.panel .lede, .panel p { color: #c4ced6; }
.panel .lead-form p, .panel .memo p { color: var(--muted); }
.panel .memo .memo-title { color: var(--ink); }
.panel .lead-form .form-status.ok { color: #0f514b; }
.panel .lead-form .form-status.err { color: #8a1f17; }

/* Hero */
.hero { padding: clamp(56px, 8vw, 112px) 0 0; }
.hero-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px clamp(32px, 6vw, 96px); align-items: end; }
.hero h1 { color: #fff; margin: 0; }
.swoosh { position: relative; display: inline-block; white-space: nowrap; }
.swoosh svg { position: absolute; left: -2%; width: 104%; bottom: -0.16em; height: .32em; overflow: visible; }
.swoosh path { fill: none; stroke: var(--mint); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s .5s var(--ease-out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-aside .lede { color: #c4ced6; font-size: 1.12rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-cred { margin-top: 28px; padding-left: 16px; border-left: 2px solid var(--mint); font-size: .92rem; line-height: 1.5; color: #aab6bf; max-width: 44ch; }
.hero-cred img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 2px solid rgba(255,255,255,.2); }
.hero-cred strong { color: #fff; font-weight: 600; display: block; }
.hero-stage { position: relative; margin-top: clamp(48px, 7vw, 88px); padding-bottom: 0; }
.app-frame { border-radius: 16px 16px 0 0; overflow: hidden; background: #0f1720; border: 1px solid rgba(255,255,255,.12); border-bottom: 0; box-shadow: 0 -20px 80px -30px rgba(47,179,166,.45); transform-origin: 50% 100%; }
.app-bar { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; background: #141e29; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: #8b98a3; }
.app-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3642; display: inline-block; }
.app-bar span { margin-left: 10px; }
.app-frame img { width: 100%; }
.memo {
  position: absolute; left: clamp(-8px, -1vw, 0px); bottom: clamp(24px, 6vw, 72px); width: min(380px, 44%);
  background: rgba(255,255,255,.94); color: var(--ink); border-radius: 18px; padding: 22px 22px 18px;
  box-shadow: 0 30px 70px -20px rgba(0,0,0,.55); backdrop-filter: blur(10px);
}
.memo-kicker { font-size: .78rem; color: var(--muted); margin: 0; }
.memo-title { font: 600 1.02rem/1.3 var(--display); letter-spacing: -0.01em; margin: 2px 0 12px; color: var(--ink); }
.memo dl { margin: 0; }
.memo dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.memo dt { color: var(--muted); }
.memo dd { margin: 0; font-weight: 600; }
.memo .sum { border-top: 1px solid var(--ink); }
.memo .key { border-bottom: 0; padding-top: 12px; align-items: center; }
.memo .key dt { color: var(--ink); font-weight: 600; }
.memo .key dd { font: 600 1.9rem/1 var(--display); letter-spacing: -0.03em; }
.memo figcaption { font-size: .76rem; color: var(--muted); margin-top: 10px; }
.memo figcaption a { color: var(--teal); }
.hl { position: relative; z-index: 0; display: inline-block; }
.hl::before { content: ""; position: absolute; z-index: -1; left: -4px; right: -4px; bottom: 2px; height: 48%; background: var(--rose); border-radius: 3px; transform: skew(-8deg); }

/* Scroll-fill statement */
.statement { padding: clamp(96px, 14vw, 200px) 0; }
.statement-text { font: 500 clamp(2.6rem, 8.6vw, 8.4rem)/0.98 var(--display); letter-spacing: -0.045em; text-transform: uppercase; margin: 0; }
.statement-text .ln { display: block; }
.statement-text .ln:nth-child(2) { padding-left: 22%; }
.statement-text .ln:nth-child(3) { padding-left: 6%; }
.statement-text .ln:nth-child(4) { padding-left: 34%; }
.statement-text .w { color: #d2d8dd; transition: color .35s ease; }
.statement-text .w.on { color: var(--ink); }
.statement-text .w.accent.on { color: var(--teal); }
.statement-sub { max-width: 560px; margin: clamp(32px, 5vw, 56px) 0 0 auto; color: var(--muted); font-size: 1.15rem; }

/* Feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(72px, 10vw, 140px); }
.feature.flip .feature-media { order: 2; }
.feature-media { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 5 / 4; background: var(--soft); }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-copy h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.feature-copy > p { color: var(--muted); font-size: 1.12rem; }
.dot-list { list-style: none; padding: 0; margin: 24px 0 28px; display: grid; gap: 10px; }
.dot-list li { position: relative; padding-left: 22px; }
.dot-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--teal); }
.quote-card { background: #fff; border-radius: var(--r-card); padding: 26px 28px; box-shadow: 0 1px 0 var(--line), 0 24px 50px -28px rgba(12,22,32,.3); margin-top: 32px; }
.quote-card blockquote { margin: 0 0 18px; font-size: 1.05rem; line-height: 1.55; font-weight: 500; }
.quote-card figcaption { display: flex; align-items: center; gap: 12px; font-size: .9rem; }
.quote-card img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: center; }
.quote-card strong { display: block; }
.quote-card span { color: var(--muted); }

/* Bento: method */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.tile { background: #fff; border-radius: var(--r-card); padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden; min-height: 240px; display: flex; flex-direction: column; }
.tile:nth-child(1), .tile:nth-child(2) { grid-column: span 3; }
.tile:nth-child(3), .tile:nth-child(4) { grid-column: span 2; }
.tile:nth-child(5) { grid-column: span 2; }
.tile-num { font: 500 3.2rem/1 var(--display); letter-spacing: -0.04em; color: var(--teal); margin-bottom: auto; padding-bottom: 32px; }
.tile h3 { font-size: 1.35rem; margin-bottom: .4em; }
.tile p { color: var(--muted); margin: 0; font-size: .98rem; }
.tile-dark { background: var(--night); color: #fff; grid-column: span 6 !important; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; min-height: 0; }
.tile-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 80% at 85% 20%, rgba(47,179,166,.3), transparent 70%); pointer-events: none; }
.tile-dark p { color: #c4ced6; }
.tile-dark .tile-num { color: var(--mint); padding-bottom: 20px; }
.tile-dark img { border-radius: 12px; border: 1px solid rgba(255,255,255,.1); position: relative; }
.badge { display: inline-block; font: 600 .76rem/1 var(--text); padding: 7px 11px; border-radius: 999px; background: var(--teal); color: #fff; margin-bottom: 16px; align-self: flex-start; }
.check-list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.check-list li { position: relative; padding-left: 26px; font-size: .96rem; }
.check-list li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 11px; height: 6px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); color: var(--mint); }
.on-light .check-list li::before { color: var(--teal); }

/* Marquee + dark listings */
.dark-band { background: var(--night); color: #fff; padding-bottom: clamp(72px, 10vw, 140px); }
.marquee { overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px); user-select: none; }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 500 clamp(4rem, 11vw, 10rem)/1 var(--display); letter-spacing: -0.04em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.75); padding-right: .5em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.dark-band .section-head p { color: #aab6bf; }

.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(20px, 3vw, 40px); }
.card-link { display: block; text-decoration: none; color: inherit; }
.card-media { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 16 / 10; position: relative; background: #111a24; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out), opacity .6s ease; }
.js .dim-in .card-media img { opacity: .35; }
.js .dim-in.seen .card-media img { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .card-link:hover .card-media img { transform: scale(1.035); } }
.card-figure { position: absolute; left: 16px; bottom: 16px; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 999px; padding: 8px 14px; font: 600 .9rem/1 var(--text); }
.card-figure .hl::before { height: 60%; }
.card-body { display: flex; justify-content: space-between; align-items: start; gap: 20px; margin-top: 20px; }
.card-title { font: 500 clamp(1.4rem, 2.2vw, 1.9rem)/1.15 var(--display); letter-spacing: -0.03em; margin: 0 0 10px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0; font: 600 .74rem/1.4 var(--text); letter-spacing: .1em; text-transform: uppercase; color: #9aa6af; }
.card-price { font: 600 1.05rem/1.2 var(--text); white-space: nowrap; text-align: right; }
.card-price small { display: block; font-weight: 400; font-size: .82rem; color: #9aa6af; margin-top: 4px; }
.on-light .card-tags, .on-light .card-price small { color: var(--muted); }
.on-light .card-media { background: var(--soft); }
.card[hidden] { display: none; }

/* Listing page layout with filter rail */
.list-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.filter-rail { position: sticky; top: 136px; }
.filter-rail h2 { font: 600 .95rem var(--text); letter-spacing: 0; margin-bottom: 14px; }
.filter-rail .chip { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 44px; background: none; border: 0; padding: 0; color: inherit; font: 500 1.08rem var(--text); cursor: pointer; text-align: left; }
.filter-rail .chip::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid currentColor; flex: none; box-shadow: inset 0 0 0 4px var(--bg); transition: background-color .15s ease; }
.filter-rail .chip[aria-pressed="true"]::before { background: currentColor; }
.filter-rail .chip span { color: var(--muted); font-size: .9rem; }
.result-note { font-size: .92rem; color: var(--muted); margin: 0 0 20px; }
.empty-note { color: var(--muted); padding: 24px 0; }

/* Founder */
.founder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.founder-photo { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 5; }
.founder-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.founder-copy > p { color: var(--muted); font-size: 1.08rem; max-width: 60ch; }
.facts-row { display: flex; flex-wrap: wrap; gap: 16px 40px; margin: 28px 0 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.facts-row div { min-width: 120px; }
.facts-row strong { display: block; font: 500 2.4rem/1 var(--display); letter-spacing: -0.04em; }
.facts-row span { font-size: .9rem; color: var(--muted); }

/* Asset classes */
.assets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.asset { background: #fff; border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; text-decoration: none; color: inherit; min-height: 260px; transition: transform .25s var(--ease-out), box-shadow .25s ease; }
@media (hover: hover) and (pointer: fine) { .asset:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(12,22,32,.35); } }
.asset h3 { font-size: 1.4rem; margin-top: auto; }
.asset p { color: var(--muted); font-size: .95rem; margin: 0; }
.asset-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--teal); margin-bottom: 40px; }

/* CTA panel with form */
.cta { padding: clamp(56px, 8vw, 104px) 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cta h2 { color: #fff; }
.cta-direct { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 4px; }
.cta-direct a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; font-weight: 500; }
@media (hover: hover) and (pointer: fine) { .cta-direct a:hover { color: var(--mint); } }

/* Forms (a11y audit #3, rec #1, #5, #7) */
.lead-form { background: #fff; color: var(--ink); border-radius: var(--r-card); padding: clamp(22px, 3vw, 36px); }
.form-title { font-size: 1.6rem; }
.form-intro { color: var(--muted); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.field .req { color: var(--teal); }
.field em { font-weight: 400; color: var(--muted); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; font: 400 1rem var(--text); color: var(--ink); background: #fff;
  border: 1px solid var(--field); border-radius: 12px; padding: 12px 14px; transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field ::placeholder { color: #5f6b70; opacity: 1; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(25,118,111,.25); }
.field [aria-invalid="true"] { border-color: #b3261e; box-shadow: 0 0 0 3px rgba(179,38,30,.15); }
.field-error { display: block; color: #a1231b; font-size: .85rem; margin-top: 6px; }
.field-error:empty { display: none; }
.hp-wrap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; flex: 1 1 220px; }
.form-status { margin: 16px 0 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { background: #e3f4f1; color: #0f514b; padding: 16px 18px; border-radius: 12px; }
.form-status.err { background: #fbe9e7; color: #8a1f17; padding: 16px 18px; border-radius: 12px; }
.lead-form.sent .field, .lead-form.sent .field-row, .lead-form.sent .form-foot { display: none; }

/* Page head (inner pages) */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(48px, 7vw, 88px); }
.page-hero h1 { max-width: 16ch; color: #fff; }
.page-hero .lede { margin-top: 20px; }
.page-head { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 4vw, 56px); }
.page-head h1 { max-width: 18ch; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 20px; }
.crumbs a { color: var(--muted); }
.panel .crumbs, .panel .crumbs a { color: #aab6bf; }

/* Property */
.prop-hero { padding: clamp(40px, 5vw, 72px) 0 0; }
.prop-head { display: flex; justify-content: space-between; gap: 24px 48px; align-items: end; flex-wrap: wrap; margin-bottom: 32px; }
.prop-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 20ch; margin-bottom: 14px; }
.prop-addr { color: var(--muted); margin: 0 0 14px; }
.price { font: 500 clamp(2rem, 3.4vw, 2.9rem)/1 var(--display); letter-spacing: -0.04em; margin: 0; }
.price-note { color: var(--muted); margin: 8px 0 0; font-size: .9rem; text-align: right; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(320px, 52vw, 620px); }
.gallery button { border: 0; padding: 0; background: var(--soft); cursor: zoom-in; position: relative; overflow: hidden; border-radius: 14px; }
.gallery button:first-child { grid-row: span 2; border-radius: var(--r-card); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .gallery button:hover img { transform: scale(1.04); } }
.gallery .more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(6,11,18,.55); color: #fff; font-weight: 600; }
.prop-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 80px); align-items: start; padding: clamp(48px, 6vw, 80px) 0; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 0 0 40px; }
.ico { flex: none; }
.specs div { background: var(--soft); border-radius: 14px; padding: 16px 18px; }
.specs .ico { display: block; box-sizing: content-box; width: 20px; height: 20px; padding: 8px; margin-bottom: 14px; border-radius: 11px; background: #fff; color: var(--teal); box-shadow: 0 0 0 1px var(--line); }
.specs dt { font-size: .82rem; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-weight: 600; }
.prop-side { position: sticky; top: 136px; }
.sheet { background: var(--night); color: #fff; border-radius: var(--r-card); padding: 28px; position: relative; overflow: hidden; isolation: isolate; }
.sheet::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 100% 0%, rgba(47,179,166,.35), transparent 70%); }
.sheet-title { font-size: 1.3rem; color: #fff; }
.ledger { margin: 0 0 16px; }
.ledger-row { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.ledger-row dt { color: #aab6bf; font-size: .92rem; display: flex; align-items: center; gap: 10px; }
.ledger-row dt .ico { width: 17px; height: 17px; color: var(--mint); opacity: .9; }
.ledger-row dd { margin: 0; font-weight: 600; text-align: right; }
.ledger-row.is-key { border-bottom: 0; padding-top: 16px; }
.ledger-row.is-key dd { font: 600 1.7rem/1 var(--display); letter-spacing: -0.03em; color: var(--mint); }
.sheet-note { font-size: .84rem; color: #9aa6af; }
.sheet .btn + .btn { margin-top: 10px; }
.sub-h { font-size: 1.6rem; margin: 1.8em 0 .7em; }
.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 220px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); display: flex; align-items: center; gap: 12px; }
.facts dt .ico { box-sizing: content-box; width: 18px; height: 18px; padding: 7px; border-radius: 10px; background: var(--soft); color: var(--teal); }
.facts dd { margin: 0; }
.features { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.features li { background: var(--soft); padding: 8px 14px; border-radius: 999px; font-size: .92rem; }
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .35em; }
.prose strong { font-weight: 600; }
.prose a { color: var(--teal); }
.prose > :first-child { margin-top: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-variant-numeric: tabular-nums; font-size: .95rem; }
.prose th, .prose td { padding: .6em .75em; border-bottom: 1px solid #d3dbd9; text-align: right; }
.prose th:first-child, .prose td:first-child { text-align: left; }
.prose thead th { font-weight: 600; border-bottom: 2px solid currentColor; }
@media (max-width: 560px) { .prose table { font-size: .85rem; } .prose th, .prose td { padding: .5em .4em; } }

/* Lightbox (a11y audit #1, #2) */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,11,18,.94); display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 12px; }
.lightbox button { position: absolute; min-width: 48px; min-height: 48px; background: rgba(255,255,255,.08); border: 0; border-radius: 999px; color: #fff; font: 600 1rem var(--text); cursor: pointer; padding: 0 16px; }
.lb-close { top: 16px; right: 16px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); font-size: 1.6rem !important; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-count { position: absolute; bottom: 16px; color: #c4ced6; margin: 0; }

/* About */
.diff { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.diff .tile { min-height: 0; }
.diff .tile h3 { font-size: 1.4rem; }
.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.team-photo { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--soft); margin-bottom: 16px; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-initials { width: 100%; height: 100%; background: #dfe5e7; display: flex; align-items: center; justify-content: center; font: 500 3.4rem var(--display); color: var(--teal); }
.team h3 { margin-bottom: 4px; }
.team p { font-size: .92rem; color: var(--muted); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); }
.two-col p { color: var(--muted); }

/* Contact page */
.contact-page { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.contact-page .lead-form { box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(12,22,32,.35); }
.contact-list { list-style: none; padding: 0; margin: 0 0 32px; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.contact-list span { color: var(--muted); }
.contact-img { border-radius: var(--r-card); aspect-ratio: 3 / 2; object-fit: cover; }

/* Blog */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.post-card a { text-decoration: none; color: inherit; display: block; }
.post-card .card-media { aspect-ratio: 4 / 3; }
.post-card h2 { font-size: 1.45rem; margin: 18px 0 10px; }
.post-card p { color: var(--muted); font-size: .96rem; margin: 0; }
.post-date { font: 600 .74rem/1.4 var(--text); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.post-hero { border-radius: var(--r-card); width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin-bottom: 48px; }
.post-body { padding-bottom: clamp(72px, 10vw, 120px); font-size: 1.1rem; line-height: 1.75; }

/* Footer */
.site-footer { background: var(--night); color: #aab6bf; padding: clamp(64px, 8vw, 110px) 0 32px; font-size: .95rem; margin-top: 0; }
.footer-big { font: 500 clamp(2.4rem, 6vw, 5.4rem)/1 var(--display); letter-spacing: -0.045em; color: #fff; margin: 0 0 clamp(48px, 6vw, 80px); max-width: 14ch; }
.footer-big a { color: inherit; text-decoration: none; }
.footer-big .arrow { color: var(--mint); display: inline-block; transition: transform .3s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .footer-big a:hover .arrow { transform: translateX(10px); } }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.3fr; gap: 40px; padding-top: 40px; border-top: 1px solid #1c2733; }
.footer-brand .wordmark { color: #fff; }
.footer-brand .wm-sub { color: #9aa6af; }
.footer-brand .wm-mark { background: #fff; color: var(--night); }
.footer-brand p { margin-top: 18px; max-width: 34ch; }
.footer-h { font: 600 .95rem var(--text); letter-spacing: 0; color: #fff; margin-bottom: 10px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list a { display: inline-flex; align-items: center; min-height: 40px; color: #e3e9ed; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer-list a:hover { color: var(--mint); } }
.footer-list li > span { display: block; color: #8e9ba5; font-size: .84rem; margin-top: -6px; margin-bottom: 6px; }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid #1c2733; font-size: .84rem; color: #8e9ba5; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1f9d55; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 28px rgba(0,0,0,.28); transition: transform .2s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: scale(1.06); color: #fff; } }

/* Scroll reveal (entering content: ease-out) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.seen { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .swoosh path { animation: none; stroke-dashoffset: 0; }
  .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .dim-in .card-media img { opacity: 1; }
  .card-media img, .gallery img, .asset, .wa-float, .btn, .footer-big .arrow, 
  .statement-text .w { color: var(--ink); transition: none; }
  .statement-text .w.accent { color: var(--teal); }
  .app-frame { transform: none !important; }
}

/* Responsive */
@media (max-width: 1080px) {
  .hero-top, .feature, .founder, .cta-grid, .prop-grid, .contact-page, .two-col, .list-layout { grid-template-columns: 1fr; }
  .feature.flip .feature-media { order: 0; }
  .bento .tile { grid-column: span 3 !important; }
  .tile-dark { grid-template-columns: 1fr; }
  .assets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prop-side { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .filter-rail { position: static; }
  .filter-rail .chips { display: flex; flex-wrap: wrap; gap: 4px 20px; }
  .filter-rail .chip { width: auto; }
  .memo { position: relative; left: 0; bottom: 0; width: auto; margin: -60px 16px 24px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .bento .tile { grid-column: span 6 !important; min-height: 0; }
  .asset { min-height: 0; }
  .asset-icon { margin-bottom: 24px; }
  .tile-num { padding-bottom: 20px; }
  .cards, .posts, .assets, .diff, .field-row, .check-list { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 2fr 1fr; height: 460px; }
  .gallery button:first-child { grid-column: span 2; grid-row: auto; }
  .gallery button:nth-child(n+4) { display: none; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .footer-grid { grid-template-columns: 1fr; }
  .statement-text .ln:nth-child(n) { padding-left: 0; }
  .price-note { text-align: left; }
  .card-body { flex-direction: column; gap: 8px; }
  .card-price { text-align: left; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .hero-cred { align-items: flex-start; }
  .memo { margin: -32px 8px 16px; }
}

/* One photographic system.
   People and editorial images: monochrome with the same tone curve.
   Property photos: colour, with one shared mild grade. */
.team-photo img, .quote-card img, .feature-media:not(.collage) img, .contact-img, .post-hero, .post-card .card-media img { filter: grayscale(1) contrast(1.06) brightness(1.02); }
.gallery img, .card-media img, .lightbox img { filter: saturate(.94) contrast(1.03); }
.post-card .card-media img { filter: grayscale(1) contrast(1.06) brightness(1.02); }
.quote-card figcaption { gap: 14px; }
.quote-card figcaption span { display: block; color: var(--muted); font-size: .85rem; }

/* Home collage: real listings, shown in colour */
.collage { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; background: none; overflow: visible; aspect-ratio: 5 / 4; }
.collage a { position: relative; display: block; overflow: hidden; border-radius: var(--r-card); background: var(--soft); }
.collage .c-big { grid-row: 1 / span 2; }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .collage a:hover img { transform: scale(1.04); } }
.c-tag { position: absolute; left: 12px; bottom: 12px; display: inline-flex; gap: 8px; align-items: baseline; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .8rem; line-height: 1.2; }
.c-tag strong { font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .collage img { transition: none; } }
.c-tag { white-space: nowrap; }
@media (max-width: 560px) { .c-b .c-city { display: none; } .c-tag { left: 8px; bottom: 8px; padding: 6px 10px; font-size: .75rem; } }
