/* =========================================================
   ARTIMO · core styles
   Tokens, type, layout, buttons, header, footer, motion,
   property card, shared sections. Page-specific styles live
   in their own files (listings.css, detail.css, pages.css).
   ========================================================= */

:root {
  /* palette (brand board: Charleston Green, Olive, Starlight, Leather, Wine) */
  --bone: #F1EEE8;
  --bone-2: #E9E5DC;
  --paper: #FCFBF8;
  --ink: #131B17;
  --ink-2: #4B534E;
  --ink-3: #7E847F;
  --line: rgba(19, 27, 23, .14);
  --line-2: rgba(19, 27, 23, .08);
  --line-strong: rgba(19, 27, 23, .28);
  --green: #00291C;
  --green-2: #06352A;
  --green-3: #0E4233;
  --olive: #687451;
  --starlight: #F0E7C2;
  --leather: #954130;
  --wine: #3B0014;
  --on-dark: #F4EFE1;
  --on-dark-2: rgba(244, 239, 225, .66);
  --on-dark-3: rgba(244, 239, 225, .42);
  --line-dark: rgba(244, 239, 225, .16);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --r: 14px;
  --r-md: 10px;
  --r-sm: 6px;
  --r-xs: 4px;

  --max: 1480px;
  --gutter: clamp(16px, 2.4vw, 36px);
  --frame: clamp(8px, 1vw, 14px);
  --section: clamp(88px, 11vw, 168px);

  --ease: cubic-bezier(.22, .7, .12, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --hdr-h: 60px;
  --hdr-w: 920px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; letter-spacing: -.006em; overflow-x: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--green); color: var(--starlight); }
:focus-visible { outline: 2px solid var(--leather); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--green); color: var(--on-dark); padding: 10px 16px; border-radius: var(--r-xs); transition: top .3s var(--ease); }
.skip:focus { top: 16px; }
svg.i { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
svg.i--fill { fill: currentColor; stroke: none; }

/* ---------- type ---------- */
.t-display { font-size: clamp(44px, 6.4vw, 104px); line-height: .98; letter-spacing: -.028em; font-weight: 400; }
.t-h1 { font-size: clamp(40px, 5.2vw, 80px); line-height: 1.01; letter-spacing: -.032em; font-weight: 400; }
.t-h2 { font-size: clamp(32px, 3.7vw, 58px); line-height: 1.05; letter-spacing: -.028em; font-weight: 400; }
.t-h3 { font-size: clamp(22px, 1.9vw, 29px); line-height: 1.16; letter-spacing: -.022em; font-weight: 400; }
.t-h4 { font-size: 19px; line-height: 1.3; letter-spacing: -.016em; font-weight: 500; }
.t-lead { font-size: clamp(18px, 1.45vw, 21px); line-height: 1.5; letter-spacing: -.014em; color: var(--ink-2); }
.t-body { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.t-small { font-size: 14px; line-height: 1.5; }
.t-micro { font-size: 12.5px; line-height: 1.4; letter-spacing: .005em; }
.t-muted { color: var(--ink-3); }
.num { font-variant-numeric: tabular-nums; }
.measure { max-width: 38ch; }
.measure-wide { max-width: 60ch; }
.prose p + p { margin-top: 1.1em; }

/* ---------- layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--max)); margin-inline: auto; }
.frame { margin-inline: var(--frame); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }

.sec-head { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 4vw, 64px); }
.sec-head__side { justify-self: end; max-width: 42ch; display: grid; gap: 18px; justify-items: start; }
.sec-head__side p { color: var(--ink-2); font-size: 16px; line-height: 1.6; }
.on-dark .sec-head__side p { color: var(--on-dark-2); }

/* ---------- buttons, links ---------- */
.btn { --bh: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: var(--bh); padding: 0 24px; border-radius: var(--r-xs); font-size: 15px; letter-spacing: -.01em; white-space: nowrap; border: 1px solid transparent; transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease); }
.btn .i { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.btn:hover .i--arrow { transform: translateX(4px); }
.btn--solid { background: var(--green); color: var(--on-dark); }
.btn--solid:hover { background: var(--green-3); }
.btn--line { color: var(--ink); background: rgba(19, 27, 23, .06); }
.btn--line:hover { background: rgba(19, 27, 23, .1); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--star { background: var(--starlight); color: var(--green); }
.btn--star:hover { background: #F6EFD3; }
.btn--glass { background: rgba(255, 255, 255, .16); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255, 255, 255, .2); }
.btn--line-dark { color: var(--on-dark); background: rgba(244, 239, 225, .1); }
.btn--line-dark:hover { background: rgba(244, 239, 225, .16); }
.btn--sm { --bh: 38px; padding: 0 15px; font-size: 14px; gap: 9px; }
.btn--lg { --bh: 56px; padding: 0 28px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

.link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; transition: opacity .35s var(--ease); }
.link:hover { opacity: .72; }
.link .i { width: 15px; height: 15px; transition: transform .5s var(--ease-out); }
.link:hover .i--arrow { transform: translateX(3px); }
.link--line { font-weight: 500; letter-spacing: -.012em; }

.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-sm); background: rgba(19, 27, 23, .06); transition: background-color .4s var(--ease), color .4s var(--ease), opacity .3s; }
.icon-btn:hover { background: var(--ink); color: var(--bone); }
.icon-btn--paper { background: var(--paper); color: var(--ink); }
.icon-btn--paper:hover { background: #fff; color: var(--ink); }
.icon-btn--dark { background: var(--green); color: var(--on-dark); }
.icon-btn--dark:hover { background: var(--green-3); color: var(--on-dark); }
.icon-btn[disabled] { opacity: .35; pointer-events: none; }

.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: var(--r-xs); font-size: 12.5px; letter-spacing: 0; background: rgba(252, 251, 248, .92); color: var(--ink); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.tag--dark { background: var(--green); color: var(--on-dark); }
.tag--muted { background: rgba(19, 27, 23, .55); color: #fff; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--olive); display: inline-block; }
.dot--warm { background: var(--leather); }

/* ---------- form fields (shared) ---------- */
.field { position: relative; display: grid; gap: 8px; }
.field label, .field .label { font-size: 13px; color: var(--ink-3); }
.input { width: 100%; height: 52px; border: 0; border-radius: 8px; background: rgba(19, 27, 23, .05); padding: 0 16px; font-size: 16px; outline: none; transition: background-color .35s var(--ease), box-shadow .45s var(--ease); }
.input::placeholder { color: var(--ink-3); }
.input:focus { background: #fff; box-shadow: 0 10px 28px -16px rgba(0, 20, 14, .35); }
.input:focus-visible { outline: none; }
textarea.input { height: auto; min-height: 120px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
select.input { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23131B17' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; cursor: pointer; }
.field.is-invalid .input { background: rgba(149, 65, 48, .08); box-shadow: inset 0 0 0 1.5px rgba(149, 65, 48, .45); }
.field__error { font-size: 12.5px; color: var(--leather); display: none; }
.field.is-invalid .field__error { display: block; }
.on-dark .input { background: rgba(244, 239, 225, .08); color: var(--on-dark); }
.on-dark .input::placeholder { color: var(--on-dark-3); }
.on-dark .input:focus { background: rgba(244, 239, 225, .13); box-shadow: none; }
.on-dark select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23F4EFE1' stroke-width='1.6'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.on-dark select.input option { color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-2); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; flex: none; width: 18px; height: 18px; margin: 1px 0 0; border: 0; border-radius: 4px; background: rgba(19, 27, 23, .12); display: grid; place-items: center; cursor: pointer; transition: background-color .3s; }
.check input:checked { background: var(--green); }
.check input:checked::after { content: ""; width: 9px; height: 5px; border-left: 1.5px solid var(--on-dark); border-bottom: 1.5px solid var(--on-dark); transform: translateY(-1px) rotate(-45deg); }
.check a { text-decoration: underline; text-decoration-color: rgba(19, 27, 23, .3); text-underline-offset: 3px; }
.check.is-invalid { color: var(--leather); }
.check.is-invalid input { background: rgba(149, 65, 48, .16); box-shadow: inset 0 0 0 1.5px rgba(149, 65, 48, .5); }
.on-dark .check { color: var(--on-dark-2); }
.on-dark .check input { background: rgba(244, 239, 225, .18); }
.on-dark .check input:checked { background: var(--starlight); }
.on-dark .check input:checked::after { border-color: var(--green); }
.form-success { display: none; }
[data-form].is-sent .form-body { display: none; }
[data-form].is-sent .form-success { display: block; animation: fadeUp .9s var(--ease-out) both; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 60; padding: calc(var(--frame) + 12px) calc(var(--frame) + 12px) 0; pointer-events: none; transition: transform .7s var(--ease); }
.site-header.is-hidden { transform: translateY(calc(-100% - 20px)); }
.hdr { pointer-events: auto; position: relative; width: min(100%, var(--hdr-w)); margin: 0 auto; border-radius: 12px; color: var(--ink); transition: width .8s var(--ease-out), color .5s var(--ease); }
.hdr::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: rgba(241, 238, 232, .78); box-shadow: 0 1px 0 rgba(19, 27, 23, .04), 0 12px 40px -18px rgba(19, 27, 23, .18); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); transition: background-color .6s var(--ease), border-color .6s var(--ease), box-shadow .6s var(--ease); }
.hdr__bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--hdr-h); padding: 0 10px 0 22px; gap: 24px; }
.hdr__logo { display: inline-flex; align-items: center; height: 100%; flex: none; }
.hdr__logo svg { height: 17px; width: auto; color: var(--green); transition: color .5s var(--ease); }
.hdr__nav { display: flex; align-items: center; gap: 30px; font-size: 14.5px; letter-spacing: -.01em; transition: opacity .35s var(--ease), transform .5s var(--ease-out); }
.hdr__nav a { position: relative; padding: 8px 0; opacity: .82; transition: opacity .3s; }
.hdr__nav a:hover, .hdr__nav a[aria-current="page"], .hdr__nav a.is-hot { opacity: 1; }
.hdr__nav a::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .5s var(--ease-out); }
.hdr__nav a:hover::after, .hdr__nav a[aria-current="page"]::after, .hdr__nav a.is-hot::after { transform: scale(1); }
.hdr__actions { display: flex; align-items: center; gap: 6px; flex: none; }
.hdr__icon { width: 40px; height: 40px; display: grid; place-items: center; border-radius: var(--r-sm); transition: background-color .3s; }
.hdr__icon:hover { background: rgba(19, 27, 23, .06); }
.hdr__icon .i { width: 18px; height: 18px; }
.hdr__cta { margin-left: 4px; }
.hdr .btn--hdr { --bh: 40px; padding: 0 16px; font-size: 14px; background: var(--green); color: var(--on-dark); }
.hdr .btn--hdr:hover { background: var(--green-3); }
.hdr__menu { display: none; height: 40px; padding: 0 12px; align-items: center; gap: 10px; font-size: 14.5px; border-radius: var(--r-sm); }
.hdr__menu-lines { position: relative; width: 18px; height: 8px; }
.hdr__menu-lines::before, .hdr__menu-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1.3px; background: currentColor; transition: transform .6s var(--ease-out), top .6s var(--ease-out); }
.hdr__menu-lines::before { top: 0; }
.hdr__menu-lines::after { top: 7px; }

/* header over a dark hero */
.site-header.is-over .hdr { color: #fff; }
.site-header.is-over .hdr::before { background: rgba(255, 255, 255, .1); box-shadow: none; backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); }
.site-header.is-over .hdr__logo svg { color: #fff; }
.site-header.is-over .hdr__icon:hover { background: rgba(255, 255, 255, .12); }
.site-header.is-over .btn--hdr { background: var(--paper); color: var(--ink); }
.site-header.is-over .btn--hdr:hover { background: #fff; }

/* the panel that opens out of the header (mega menu + search results) */
.hdr__panel { position: relative; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .75s var(--ease-out); }
.hdr__panel-inner { min-height: 0; overflow: hidden; }
.hdr.is-open.is-mega { width: min(100%, 1240px); }
.hdr.is-open .hdr__panel { grid-template-rows: 1fr; }
.site-header.is-over .hdr.is-open { color: var(--ink); }
.site-header.is-over .hdr.is-open::before { background: rgba(241, 238, 232, .92); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); }
.site-header.is-over .hdr.is-open .hdr__logo svg { color: var(--green); }
.site-header.is-over .hdr.is-open .btn--hdr { background: var(--green); color: var(--on-dark); }
.site-header.is-over .hdr.is-open .hdr__icon:hover { background: rgba(19, 27, 23, .06); }

.mega, .sres { display: none; padding: 8px 22px 22px; }
.hdr.is-mega .mega { display: grid; }
.hdr.is-search .sres { display: block; }
.mega { grid-template-columns: 1fr 1fr 1.25fr; gap: 28px; padding-top: 18px; }
.mega__col h4 { font-size: 12.5px; font-weight: 400; color: var(--ink-3); margin-bottom: 14px; letter-spacing: 0; }
.mega__col a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 8px 10px; margin: 0 -10px; border-radius: var(--r-sm); font-size: 17px; letter-spacing: -.018em; transition: background-color .3s, padding .5s var(--ease-out); }
.mega__col a span { font-size: 12.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.mega__col a:hover { background: rgba(19, 27, 23, .05); padding-left: 16px; }
.mega__col--foot { display: flex; gap: 22px; margin-top: 18px; }
.mega__col--foot a { font-size: 14px; }
.mega__preview { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bone-2); }
.mega__preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .7s var(--ease), transform 1.2s var(--ease-out); }
.mega__preview img.is-on { opacity: 1; transform: scale(1); }
.mega__preview figcaption { position: absolute; left: 14px; bottom: 12px; right: 14px; color: #fff; font-size: 13.5px; text-shadow: 0 1px 12px rgba(0, 0, 0, .35); }
.mega > * { opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.hdr.is-open .mega > * { opacity: 1; transform: none; }
.hdr.is-open .mega > :nth-child(1) { transition-delay: .12s; }
.hdr.is-open .mega > :nth-child(2) { transition-delay: .18s; }
.hdr.is-open .mega > :nth-child(3) { transition-delay: .24s; }

/* search */
.hsearch { position: absolute; left: 50%; top: 50%; width: min(56%, 520px); transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), width .7s var(--ease-out); }
.hsearch .i { width: 17px; height: 17px; opacity: .7; }
.hsearch input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; outline: none; font-size: 16px; letter-spacing: -.012em; }
.hsearch input::placeholder { color: var(--ink-3); }
.hsearch kbd { font: inherit; font-size: 11.5px; color: var(--ink-3); background: rgba(19, 27, 23, .06); border-radius: 4px; padding: 2px 7px; }
.hdr.is-search .hsearch { opacity: 1; pointer-events: auto; transition-delay: .12s; }
.hdr.is-search .hdr__nav { opacity: 0; pointer-events: none; transform: translateY(-6px); }
.sres { padding-top: 8px; max-height: min(62vh, 520px); overflow-y: auto; }
.sres__group + .sres__group { margin-top: 10px; }
.sres__label { font-size: 12.5px; color: var(--ink-3); padding: 8px 10px 6px; }
.sres__item { display: flex; align-items: center; gap: 14px; padding: 8px 10px; border-radius: var(--r-sm); transition: background-color .25s; }
.sres__item img { width: 52px; height: 40px; object-fit: cover; border-radius: 4px; flex: none; }
.sres__item .sres__name { font-size: 15px; letter-spacing: -.012em; }
.sres__item .sres__meta { font-size: 13px; color: var(--ink-3); }
.sres__item .sres__right { margin-left: auto; font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sres__item:hover, .sres__item.is-active { background: rgba(19, 27, 23, .05); }
.sres__empty { padding: 14px 10px; font-size: 14.5px; color: var(--ink-2); }
.sres__all { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: rgba(19, 27, 23, .05); font-size: 14px; transition: background-color .25s; }
.sres__all:hover, .sres__all.is-active { background: rgba(19, 27, 23, .09); }

/* header intro: a hairline draws, then the bar opens */
@keyframes hdrOpen { 0% { width: 140px; } 100% { width: min(100%, var(--hdr-w)); } }
@keyframes hdrBg { 0% { opacity: 0; transform: scaleY(.04); } 45% { opacity: 1; transform: scaleY(.04); } 100% { opacity: 1; transform: scaleY(1); } }
@keyframes itemIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html.intro .hdr { animation: hdrOpen 1.25s var(--ease-io) .25s backwards; }
html.intro .hdr::before { animation: hdrBg 1.25s var(--ease-io) .1s backwards; }
html.intro .hdr__logo, html.intro .hdr__nav a, html.intro .hdr__actions > *, html.intro .hdr__menu { animation: itemIn .9s var(--ease-out) backwards; }
html.intro .hdr__logo { animation-delay: .95s; }
html.intro .hdr__nav a:nth-child(1) { animation-delay: 1.05s; }
html.intro .hdr__nav a:nth-child(2) { animation-delay: 1.12s; }
html.intro .hdr__nav a:nth-child(3) { animation-delay: 1.19s; }
html.intro .hdr__nav a:nth-child(4) { animation-delay: 1.26s; }
html.intro .hdr__actions > :nth-child(1) { animation-delay: 1.3s; }
html.intro .hdr__actions > :nth-child(2) { animation-delay: 1.36s; }
html.intro .hdr__actions > :nth-child(3), html.intro .hdr__menu { animation-delay: 1.42s; }
html:not(.intro) .site-header { animation: fadeIn .8s var(--ease) both; }

/* mobile full-screen menu: the header bar grows into the menu */
.mnav { display: none; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; margin: clamp(56px, 7vw, 110px) var(--frame) var(--frame); background: var(--green); color: var(--on-dark); border-radius: var(--r); overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 70% at 85% 0%, rgba(104, 116, 81, .22), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(59, 0, 20, .28), transparent 70%); }
.ft__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 48px 64px; padding: clamp(36px, 4.4vw, 64px) clamp(22px, 3.2vw, 48px) 0; }
.ft__cta h2 { color: var(--on-dark); max-width: 14ch; }
.ft__cta p { margin-top: 18px; color: var(--on-dark-2); max-width: 40ch; font-size: 16px; line-height: 1.6; }
.ft__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ft__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.4fr); gap: 32px 24px; }
.ft__col address a { overflow-wrap: anywhere; }
.ft__col h3 { font-size: 13px; font-weight: 400; color: var(--on-dark-3); margin-bottom: 16px; letter-spacing: 0; }
.ft__col li + li { margin-top: 9px; }
.ft__col a { font-size: 15px; color: var(--on-dark); opacity: .86; transition: opacity .3s; }
.ft__col a:hover { opacity: 1; }
.ft__col a.link { padding-bottom: 1px; }
.ft__col address { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--on-dark-2); }
.ft__mark { padding: clamp(56px, 8vw, 120px) clamp(16px, 2.2vw, 32px) clamp(10px, 1.2vw, 18px); color: var(--starlight); }
.ft__mark svg { width: 100%; height: auto; overflow: visible; }
.ft__mark path { transform: translateY(40%); opacity: 0; transition: transform 1.4s var(--ease-out), opacity 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.ft__mark.is-in path { transform: none; opacity: 1; }
.ft__bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 28px; padding: 6px clamp(22px, 3.2vw, 48px) 24px; font-size: 13.5px; color: var(--on-dark-2); }
.ft__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.ft__bottom a { transition: color .3s; }
.ft__bottom a:hover { color: var(--on-dark); }

/* =========================================================
   MOTION
   ========================================================= */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms)); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

.js [data-reveal="img"] { opacity: 1; transform: none; clip-path: inset(14% 0 0 0 round var(--r)); transition: clip-path 1.5s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms + var(--d, 0ms)); }
.js [data-reveal="img"] img { transform: scale(1.14); transition: transform 2s var(--ease-out); transition-delay: inherit; }
.js [data-reveal="img"].is-in { clip-path: inset(0 0 0 0 round var(--r)); }
.js [data-reveal="img"].is-in img { transform: scale(1); }

.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: block; }
.js [data-reveal="lines"] { opacity: 1; transform: none; }
.js [data-reveal="lines"] .ln > span { transform: translateY(108%); transition: transform 1.25s var(--ease-out); transition-delay: calc(var(--l, 0) * 110ms + var(--d, 0ms)); }
.js [data-reveal="lines"].is-in .ln > span { transform: none; }

[data-highlight] .w { transition: color .5s var(--ease); }

.js body.is-leaving main, .js body.is-leaving .site-footer { opacity: 0; transform: translateY(-10px); transition: opacity .38s var(--ease), transform .5s var(--ease); }
.js main { animation: fadeIn .9s var(--ease) both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-reveal="lines"] .ln > span { opacity: 1 !important; transform: none !important; }
  .js [data-reveal="img"] { clip-path: none !important; }
  .js [data-reveal="img"] img { transform: none !important; }
  .ft__mark path { opacity: 1 !important; transform: none !important; }
}

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* =========================================================
   PROPERTY CARD (shared by home, listings, detail)
   ========================================================= */
.card { display: block; position: relative; }
.card__media { position: relative; aspect-ratio: 5 / 4; border-radius: var(--r-md); overflow: hidden; background: var(--bone-2); isolation: isolate; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), opacity .8s var(--ease); }
.card__media .card__alt { opacity: 0; }
.card:hover .card__media img { transform: scale(1.045); }
.card:hover .card__media .card__alt { opacity: 1; }
.card__tags { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.card__go { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: var(--r-sm); background: rgba(252, 251, 248, .92); color: var(--ink); display: grid; place-items: center; opacity: 0; transform: translate(-6px, 6px); transition: opacity .5s var(--ease), transform .7s var(--ease-out); }
.card__go .i { width: 16px; height: 16px; transform: rotate(-45deg); }
.card:hover .card__go, .card:focus-visible .card__go { opacity: 1; transform: none; }
.card__body { padding-top: 16px; display: grid; gap: 4px; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.card__title { font-size: 18px; font-weight: 400; letter-spacing: -.02em; line-height: 1.3; }
.card__price { font-size: 17px; letter-spacing: -.015em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card__loc { font-size: 14.5px; color: var(--ink-2); }
.card__spec { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.card__spec span { white-space: nowrap; }
.card--reserved .card__media img { filter: saturate(.85); }
.grid-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 3.4vw, 56px) clamp(16px, 1.6vw, 24px); }

/* =========================================================
   HOME
   ========================================================= */
.hero { position: relative; height: calc(100svh - var(--frame) * 2); min-height: 640px; max-height: 1100px; margin: var(--frame); border-radius: var(--r); overflow: hidden; background: var(--green); color: #fff; isolation: isolate; }
.hero__slides { position: absolute; inset: 0; z-index: -2; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 9s linear; }
.hero__slide.is-active { opacity: 1; }
.hero__slide.is-active img { transform: scale(1.0); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 20, 14, .38) 0%, rgba(0, 20, 14, 0) 22%, rgba(0, 20, 14, 0) 45%, rgba(0, 20, 14, .66) 100%); }
.hero__content { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 clamp(22px, 3.2vw, 48px) clamp(20px, 2.4vw, 32px); }
.hero__main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); align-items: end; gap: 32px 64px; }
.hero h1 { max-width: 100%; }
.hero__side { display: grid; gap: 22px; width: 100%; padding-bottom: 8px; }
.hero__side p { font-size: 16.5px; line-height: 1.55; color: rgba(255, 255, 255, .84); }
.hero__foot { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin-top: clamp(32px, 4vw, 56px); }
.hero__dots { display: flex; gap: 4px; align-items: center; }
.hero__dot { position: relative; width: 22px; height: 24px; transition: width .7s var(--ease-out); }
.hero__dot::before, .hero__dot::after { content: ""; position: absolute; left: 7px; right: 7px; top: 9px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .42); transition: background-color .4s var(--ease); }
.hero__dot::after { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot:hover::before { background: rgba(255, 255, 255, .7); }
.hero__dot.is-active { width: 54px; }
.hero__dot.is-active::before { background: rgba(255, 255, 255, .3); }
.hero__dot.is-active::after { animation: dotFill var(--slide-ms, 6500ms) linear forwards; }
.hero.is-paused .hero__dot.is-active::after { animation-play-state: paused; }
@keyframes dotFill { to { transform: scaleX(1); } }
.hero__caption { font-size: 14px; color: rgba(255, 255, 255, .85); display: flex; align-items: center; gap: 12px; min-width: 0; }
.hero__caption a { display: inline-flex; align-items: center; gap: 10px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hero__caption .i { width: 15px; height: 15px; transition: transform .5s var(--ease-out); }
.hero__caption a:hover .i { transform: translateX(3px); }
.hero__caption span.cap-swap { display: inline-block; animation: fadeUp .9s var(--ease-out) both; }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrows .icon-btn { background: rgba(255, 255, 255, .16); color: #fff; width: 44px; height: 44px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero__arrows .icon-btn:hover { background: #fff; color: var(--ink); }

/* hero intro */
@keyframes heroFrame { from { clip-path: inset(7% 6% 7% 6% round 22px); } to { clip-path: inset(0 0 0 0 round var(--r)); } }
html.intro .hero { animation: heroFrame 1.8s var(--ease-io) both; }
.hero [data-reveal] { --d: 900ms; }
html:not(.intro) .hero [data-reveal] { --d: 150ms; }

/* small search pill (hero and elsewhere) */
.qsearch { position: relative; display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 8px 0 18px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.qsearch:focus-within { background: rgba(255, 255, 255, .26); }
.qsearch .i { width: 17px; height: 17px; opacity: .8; }
.qsearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: #fff; font-size: 15px; }
.qsearch input::placeholder { color: rgba(255, 255, 255, .7); }
.qsearch button { width: 38px; height: 38px; border-radius: var(--r-xs); display: grid; place-items: center; background: #fff; color: var(--ink); flex: none; transition: transform .5s var(--ease-out); }
.qsearch button .i { width: 16px; height: 16px; opacity: 1; }
.qsearch button:hover { transform: translateX(2px); }
.qsearch__list { position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); background: var(--paper); color: var(--ink); border-radius: var(--r-md); padding: 8px; box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .45); opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .35s var(--ease), transform .5s var(--ease-out); max-height: 360px; overflow-y: auto; }
.qsearch.is-open .qsearch__list { opacity: 1; transform: none; pointer-events: auto; }

/* statement */
.statement { padding-block: clamp(110px, 14vw, 210px) clamp(90px, 11vw, 170px); }
.statement__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .44fr); gap: clamp(40px, 7vw, 130px); align-items: end; }
.statement__text { font-size: clamp(30px, 3.6vw, 56px); line-height: 1.12; letter-spacing: -.028em; max-width: 22ch; }
.statement__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--bone-2); }
.statement__par { position: absolute; left: 0; right: 0; top: -8%; height: 116%; }
.statement__par img { width: 100%; height: 100%; object-fit: cover; }
.statement__text .w { color: rgba(19, 27, 23, .18); }
.statement__text .w.is-lit { color: var(--ink); }
.statement__foot { margin-top: clamp(36px, 4vw, 56px); display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.statement__foot p { color: var(--ink-2); max-width: 46ch; }

/* collections accordion */
.coll { display: flex; gap: 10px; height: clamp(520px, 72vh, 760px); }
.coll__item { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r); overflow: hidden; color: #fff; isolation: isolate; transition: flex-grow 1s var(--ease-out); }
.coll__item.is-active { flex-grow: 4; }
.coll__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.08); transition: transform 1.6s var(--ease-out), filter 1s var(--ease); filter: saturate(.9) brightness(.92); }
.coll__item.is-active img { transform: scale(1); filter: none; }
.coll__item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 20, 14, .1) 0%, rgba(0, 20, 14, 0) 40%, rgba(0, 20, 14, .7) 100%); transition: opacity .8s var(--ease); }
.coll__label { position: absolute; left: 22px; bottom: 24px; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 17px; letter-spacing: -.012em; white-space: nowrap; transition: opacity .45s var(--ease), transform .8s var(--ease-out); }
.coll__label small { font-size: 13px; opacity: .72; margin-top: 10px; font-variant-numeric: tabular-nums; }
.coll__item.is-active .coll__label { opacity: 0; transform: rotate(180deg) translateY(-12px); }
.coll__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(22px, 2.4vw, 34px); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .9s var(--ease-out); pointer-events: none; }
.coll__item.is-active .coll__body { opacity: 1; transform: none; transition-delay: .32s; pointer-events: auto; }
.coll__body h3 { font-size: clamp(28px, 2.6vw, 40px); letter-spacing: -.03em; line-height: 1.05; font-weight: 400; }
.coll__body p { margin-top: 10px; font-size: 15.5px; line-height: 1.5; color: rgba(255, 255, 255, .84); max-width: 40ch; }
.coll__meta { display: flex; align-items: center; gap: 14px; font-size: 14px; white-space: nowrap; }
.coll__meta .icon-btn { background: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.coll__item:hover .coll__meta .icon-btn { background: #fff; color: var(--ink); }

/* developments band */
.devs { background: var(--green); color: var(--on-dark); border-radius: var(--r); margin-inline: var(--frame); padding-block: clamp(64px, 8vw, 120px); position: relative; overflow: hidden; isolation: isolate; }
.devs::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 100% 0%, rgba(104, 116, 81, .25), transparent 60%); }
.devs .t-h2 { color: var(--on-dark); }
.devs__track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.2vw, 18px); }
.dcard { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; color: #fff; isolation: isolate; }
.dcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease-out); }
.dcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0, 20, 14, .35) 0%, rgba(0, 20, 14, 0) 30%, rgba(0, 20, 14, .1) 55%, rgba(0, 20, 14, .82) 100%); }
.dcard:hover img { transform: scale(1.05); }
.dcard__top { position: absolute; left: 18px; right: 18px; top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.dcard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 1.8vw, 26px); }
.dcard__body h3 { font-size: clamp(24px, 2vw, 30px); letter-spacing: -.028em; line-height: 1.08; font-weight: 400; }
.dcard__body > p { margin-top: 6px; font-size: 14.5px; color: rgba(255, 255, 255, .8); }
.dcard__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease-out); }
.dcard__more > div { min-height: 0; overflow: hidden; }
.dcard__more p { padding-top: 12px; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .82); opacity: 0; transition: opacity .6s var(--ease); }
.dcard:hover .dcard__more, .dcard:focus-visible .dcard__more { grid-template-rows: 1fr; }
.dcard:hover .dcard__more p, .dcard:focus-visible .dcard__more p { opacity: 1; transition-delay: .15s; }
.dcard__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 14px; font-variant-numeric: tabular-nums; }
.dcard__foot .i { width: 15px; height: 15px; transition: transform .5s var(--ease-out); }
.dcard:hover .dcard__foot .i { transform: translateX(4px); }

/* areas */
.areas__list { display: grid; gap: 4px; }
.arow { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 120px 44px; align-items: center; gap: 24px; padding: clamp(18px, 2vw, 26px) clamp(16px, 1.6vw, 24px); margin-inline: calc(clamp(16px, 1.6vw, 24px) * -1); border-radius: var(--r); transition: background-color .5s var(--ease); }
.arow:hover { background: var(--paper); }
.arow__name { font-size: clamp(28px, 3vw, 46px); letter-spacing: -.028em; line-height: 1.05; transition: transform .8s var(--ease-out); }
.arow__name small { font-size: 14px; letter-spacing: -.005em; color: var(--ink-3); margin-left: 10px; vertical-align: middle; }
.arow__text { color: var(--ink-2); font-size: 15.5px; line-height: 1.5; transition: color .4s; }
.arow__count { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; text-align: right; }
.arow .icon-btn { width: 44px; height: 44px; }
.arow:hover .arow__name { transform: translateX(14px); }
.arow:hover .icon-btn { background: var(--green); color: var(--on-dark); }
.areas__float { position: fixed; left: 0; top: 0; z-index: 40; width: 260px; aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.86); transition: opacity .45s var(--ease), transform .6s var(--ease-out); will-change: left, top; box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .5); }
.areas__float.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.areas__float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.areas__float img.is-on { opacity: 1; }

/* advisor */
.advisor { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: center; }
.advisor__media { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 780px; }
.advisor__media img { width: 100%; height: 100%; object-fit: cover; }
.advisor__body .t-h2 { max-width: 13ch; }
.advisor__body .t-lead { margin-top: 26px; max-width: 44ch; }
.advisor__sign { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding: 14px 20px 14px 14px; border-radius: 999px; background: var(--paper); width: fit-content; }
.advisor__sign img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.advisor__sign strong { display: block; font-weight: 500; font-size: 16px; letter-spacing: -.012em; }
.advisor__sign span { font-size: 14px; color: var(--ink-3); }
.advisor__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

/* enquiry band (image + dark panel) */
.band { position: relative; margin-inline: var(--frame); border-radius: var(--r); overflow: hidden; isolation: isolate; padding: clamp(80px, 11vw, 170px) var(--gutter); display: grid; place-items: center; color: var(--on-dark); }
.band__bg { position: absolute; inset: -10% 0; z-index: -2; }
.band__bg img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 20, 14, .38); }
.band__panel { width: min(640px, 100%); background: rgba(0, 41, 28, .9); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-radius: var(--r-md); padding: clamp(28px, 3.6vw, 52px); }
.band__text { font-size: clamp(22px, 2vw, 28px); line-height: 1.3; letter-spacing: -.022em; text-align: center; }
.band__text .w { color: rgba(244, 239, 225, .34); }
.band__text .w.is-lit { color: var(--on-dark); }
.band form { margin-top: clamp(28px, 3vw, 40px); display: grid; gap: 16px; max-width: 440px; margin-inline: auto; }
.band .form-foot { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 10px; }
.band .check { font-size: 12.5px; }
.band .form-success { text-align: center; padding-top: 24px; }
.band .form-success h3 { font-size: 24px; letter-spacing: -.02em; font-weight: 400; }
.band .form-success p { color: var(--on-dark-2); margin-top: 8px; }

/* page intro (non-hero pages) */
.page-intro { padding-top: calc(var(--hdr-h) + var(--frame) + clamp(72px, 9vw, 140px)); padding-bottom: clamp(36px, 4vw, 60px); }
.page-intro__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px 64px; align-items: end; }
.page-intro__row p { justify-self: end; max-width: 42ch; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; }
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: var(--ink-2); transition: color .3s; }
.crumbs a:hover { color: var(--ink); }
.crumbs span[aria-hidden] { opacity: .5; }

/* cookie note */
.cookie { position: fixed; left: calc(var(--frame) + 12px); bottom: calc(var(--frame) + 12px); z-index: 70; width: min(380px, calc(100% - 2 * var(--frame) - 24px)); background: var(--paper); color: var(--ink); border-radius: var(--r-md); padding: 18px 18px 16px; box-shadow: 0 30px 80px -30px rgba(0, 20, 14, .45), 0 2px 10px -4px rgba(0, 20, 14, .12); font-size: 14px; line-height: 1.5; opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .6s var(--ease), transform .8s var(--ease-out); }
.cookie.is-on { opacity: 1; transform: none; pointer-events: auto; }
.cookie p { color: var(--ink-2); }
.cookie a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.cookie__btns { display: flex; gap: 8px; margin-top: 14px; }
.cookie__btns .btn { flex: 1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1180px) {
  :root { --hdr-w: 860px; }
  .hdr__nav { gap: 24px; }
  .ft__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mega { grid-template-columns: 1fr 1fr; }
  .mega__preview { display: none; }
}

@media (max-width: 960px) {
  .hdr__nav, .hdr__cta, .hdr .hsearch kbd { display: none; }
  .hdr__menu { display: inline-flex; }
  .hdr__bar { padding: 0 6px 0 18px; }
  .hsearch { width: calc(100% - 150px); left: 18px; transform: translateY(-50%); }
  .hdr.is-search .hdr__logo { opacity: 0; pointer-events: none; }
  .hdr__logo { transition: opacity .3s; }

  /* the bar grows into a full-screen menu */
  .mnav { position: relative; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease-out); }
  .mnav__inner { min-height: 0; overflow: hidden; }
  .mnav__body { height: calc(100svh - var(--hdr-h) - var(--frame) * 2 - 24px); display: flex; flex-direction: column; justify-content: space-between; padding: 26px 22px 24px; }
  .mnav__links a { display: flex; justify-content: space-between; align-items: baseline; font-size: clamp(34px, 9vw, 48px); letter-spacing: -.035em; line-height: 1.12; padding: 6px 0; opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .8s var(--ease-out); }
  .mnav__links a small { font-size: 13px; letter-spacing: 0; opacity: .6; font-variant-numeric: tabular-nums; }
  .mnav__foot { display: grid; gap: 16px; opacity: 0; transition: opacity .6s var(--ease); }
  .mnav__foot .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mnav__foot p { font-size: 14px; color: var(--on-dark-2); }
  .hdr.is-menu { width: 100%; color: var(--on-dark); }
  .hdr.is-menu::before { background: var(--green); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hdr.is-menu .hdr__logo svg { color: var(--starlight); }
  .hdr.is-menu .mnav { grid-template-rows: 1fr; }
  .hdr.is-menu .mnav__links a { opacity: 1; transform: none; }
  .hdr.is-menu .mnav__links a:nth-child(1) { transition-delay: .18s; }
  .hdr.is-menu .mnav__links a:nth-child(2) { transition-delay: .24s; }
  .hdr.is-menu .mnav__links a:nth-child(3) { transition-delay: .30s; }
  .hdr.is-menu .mnav__links a:nth-child(4) { transition-delay: .36s; }
  .hdr.is-menu .mnav__links a:nth-child(5) { transition-delay: .42s; }
  .hdr.is-menu .mnav__foot { opacity: 1; transition-delay: .5s; }
  .hdr.is-menu .hdr__menu-lines::before { top: 3.5px; transform: rotate(45deg); }
  .hdr.is-menu .hdr__menu-lines::after { top: 3.5px; transform: rotate(-45deg); }
  .hdr.is-menu .hdr__icon:hover { background: rgba(255, 255, 255, .1); }
  .site-header.is-over .hdr.is-menu { color: var(--on-dark); }
  .site-header.is-over .hdr.is-menu::before { background: var(--green); border-color: transparent; }
  .site-header.is-over .hdr.is-menu .hdr__logo svg { color: var(--starlight); }

  .sec-head, .page-intro__row { grid-template-columns: 1fr; align-items: start; }
  .sec-head__side, .page-intro__row p { justify-self: start; }
  .grid-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__main { grid-template-columns: 1fr; }
  .hero__side { width: 100%; max-width: 460px; }
  .coll { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .coll::-webkit-scrollbar { display: none; }
  .coll__item, .coll__item.is-active { flex: 0 0 min(78vw, 420px); aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .coll__item img { transform: none; filter: none; }
  .coll__label { display: none; }
  .coll__body { opacity: 1; transform: none; pointer-events: auto; grid-template-columns: 1fr; }
  .devs__track { grid-template-columns: repeat(3, min(76vw, 400px)); overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .devs__track::-webkit-scrollbar { display: none; }
  .dcard { scroll-snap-align: start; }
  .dcard__more { grid-template-rows: 1fr; }
  .dcard__more p { opacity: 1; }
  .arow { grid-template-columns: minmax(0, 1fr) auto; gap: 8px 16px; }
  .arow__text { grid-column: 1; grid-row: 2; }
  .arow__count { display: none; }
  .arow .icon-btn { grid-row: 1 / span 2; grid-column: 2; }
  .areas__float { display: none; }
  .advisor { grid-template-columns: 1fr; }
  .statement__grid { grid-template-columns: 1fr; }
  .statement__media { width: min(72%, 420px); margin-left: auto; }
  .dcard__more { display: none; }
  .advisor__media { max-width: 520px; }
  .ft__top { grid-template-columns: 1fr; }
}

/* touch: quiet press feedback instead of hover */
@media (hover: none) {
  .btn:active, .icon-btn:active, .hdr__icon:active, .hdr__menu:active { transform: scale(.97); }
  .card:active .card__media img, .dcard:active img, .coll__item:active img { transform: scale(1.025); }
  .arow:active { background: var(--paper); }
}

@media (max-width: 640px) {
  :root { --hdr-h: 56px; }
  .ft__cols { gap: 28px 20px; }
  .ft__col:last-child { grid-column: 1 / -1; }
  .ft__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .ft__btns .btn { padding: 0 12px; font-size: 14px; gap: 8px; }
  .advisor__btns { display: grid; grid-template-columns: 1fr; }
  .advisor__sign { width: 100%; border-radius: var(--r); }
  .statement__foot { gap: 20px; }
  .statement__foot .btn { width: 100%; }
  .sec-head { margin-bottom: 28px; gap: 18px; }
  .site-header { padding: calc(var(--frame) + 8px) calc(var(--frame) + 8px) 0; }
  .hdr__logo svg { height: 15px; }
  .grid-cards { grid-template-columns: 1fr; }
  .hero { min-height: 600px; height: calc(100svh - var(--frame) * 2); }
  .hero__foot { grid-template-columns: 1fr auto; }
  .hero__caption { display: none; }
  .hero__side p { font-size: 15.5px; }
  .ft__cols { grid-template-columns: 1fr 1fr; }
  .ft__bottom { flex-direction: column; align-items: flex-start; }
  .band__panel { padding: 28px 22px; }
  .cookie { padding: 14px 14px 12px; font-size: 13px; }
  .cookie__btns { margin-top: 10px; }
  .cookie__btns .btn { --bh: 36px; font-size: 13px; padding: 0 10px; }
}
