/* ==========================================================================
   NCN Landing — project landing theme
   World: the bay. Deep-bay ground, logo teal structure, limestone mist,
   karst-sand accent. Logo water-lines ("strata") are the structural motif.
   Colours come from theme options → :root (see functions.php).
   ========================================================================== */

:root {
	--brand: #1e6b5e;
	--deep: #0b2e29;
	--accent: #c9a45c;
	--mist: #eef2ee;
	--deep-rgb: 11, 46, 41;
	--accent-rgb: 201, 164, 92;
	--brand-rgb: 30, 107, 94;

	--paper: #fbfcfa;
	--ink: var(--deep);
	--text: #3c4c48;
	--muted: #66746f;
	--on-deep: rgba(255, 255, 255, .78);
	--on-deep-2: rgba(255, 255, 255, .6);
	--hair: rgba(var(--brand-rgb), .22);
	--hair-deep: rgba(255, 255, 255, .14);
	--gold-text: color-mix(in srgb, var(--accent) 70%, white);

	--display: "Fahkwang", "Be Vietnam Pro", Georgia, serif;
	--body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--sec: clamp(72px, 9vw, 136px);
	--ease: cubic-bezier(.16, 1, .3, 1);
	--r: 2px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: clip; margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.75; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 500; line-height: 1.2; text-wrap: balance; }
p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--deep); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
input, select, textarea { caret-color: var(--accent); accent-color: var(--brand); }
html { scrollbar-color: rgba(var(--brand-rgb), .5) var(--mist); }

.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--accent); color: var(--deep); font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: calc(760px + var(--gutter) * 2); }
.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Type ---------- */
.display { font-family: var(--display); font-weight: 500; font-size: clamp(30px, 3.5vw, 50px); line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }
.display--md { font-size: clamp(28px, 3vw, 40px); margin-bottom: 24px; }
.display--light { color: #fff; }
.title-sm { font-family: var(--display); font-size: clamp(20px, 1.8vw, 26px); font-weight: 500; color: var(--ink); }
.rich { font-size: 16px; color: var(--text); max-width: 66ch; }
.rich > * + * { margin-top: 1em; }
.rich strong { color: var(--ink); font-weight: 600; }
.rich a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.rich--light { color: var(--on-deep); }
.rich--light strong { color: #fff; }
.rich--page { margin-top: 8px; }
.sec__lead { font-size: 17px; color: var(--text); max-width: 60ch; }
.sec__lead a { color: var(--brand); font-weight: 600; }
.note { margin-top: 28px; font-size: 13px; color: var(--muted); font-style: italic; }

/* ---------- Strata (logo water-lines) ---------- */
.strata { display: grid; gap: 6px; width: 100%; pointer-events: none; }
.strata i { display: block; height: 3px; background: currentColor; opacity: .9; }
.strata i:nth-child(1) { margin-left: 0; opacity: .35; }
.strata i:nth-child(2) { margin-left: 4%; opacity: .5; }
.strata i:nth-child(3) { margin-left: 8%; opacity: .65; }
.strata i:nth-child(4) { margin-left: 12%; opacity: .8; }
.strata i:nth-child(5) { margin-left: 16%; opacity: 1; }
.strata--top { position: absolute; left: 0; top: 0; width: min(420px, 60%); color: var(--accent); transform: translateY(-50%); }
.strata--foot { color: var(--accent); max-width: 360px; padding-top: 0; }

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 26px; border: 1px solid transparent; border-radius: var(--r);
	font-weight: 600; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; cursor: pointer;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--accent { background: var(--accent); color: var(--deep); }
.btn--accent:hover { background: color-mix(in srgb, var(--accent) 85%, white); }
.btn--deep { background: var(--deep); color: #fff; }
.btn--deep:hover { background: var(--brand); }
.btn--line { border-color: var(--hair); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--brand); background: var(--brand); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: var(--accent); color: var(--gold-text); }
.round-btn { display: grid; place-items: center; width: 52px; height: 52px; border-radius: var(--r); border: 1px solid var(--hair); background: transparent; color: var(--ink); cursor: pointer; transition: .3s var(--ease); }
.round-btn:hover { background: var(--deep); color: #fff; border-color: var(--deep); }
.round-btn:disabled { opacity: .35; cursor: default; background: transparent; color: var(--ink); }

/* ---------- Header bar ---------- */
.bar { position: fixed; inset: 0 0 auto; z-index: 60; color: #fff; transition: background-color .4s var(--ease), box-shadow .4s var(--ease); }
.bar::before { content: ""; position: absolute; inset: 0 0 -40px; background: linear-gradient(180deg, rgba(var(--deep-rgb), .7), transparent); pointer-events: none; transition: opacity .4s; z-index: -1; }
.bar.is-solid { background: var(--deep); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.bar.is-solid::before { opacity: 0; }
.bar__in { display: flex; align-items: center; gap: 28px; min-height: 84px; transition: min-height .4s var(--ease); }
.bar.is-solid .bar__in { min-height: 68px; }
.bar__logo { flex: none; }
.logo { width: auto; height: 60px; transition: height .4s var(--ease); }
.bar.is-solid .logo { height: 46px; }
.logo--text { font-family: var(--display); font-size: 20px; height: auto; color: #fff; }
.bar__nav { margin-left: auto; }
.bar__nav ul { display: flex; gap: 2px; }
.bar__nav ul a { display: block; padding: 10px 12px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .82); position: relative; }
.bar__nav ul a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.bar__nav ul a:hover, .bar__nav ul a.is-active { color: #fff; }
.bar__nav ul a:hover::after, .bar__nav ul a.is-active::after { transform: none; }
.bar__nav .bar__menu-cta { display: none; }
.bar__call { display: flex; align-items: center; gap: 12px; padding: 6px 18px 6px 6px; border: 1px solid rgba(var(--accent-rgb), .6); border-radius: var(--r); color: #fff; transition: background-color .3s; }
.bar__call:hover { background: rgba(var(--accent-rgb), .14); }
.bar__call .icon { width: 36px; height: 36px; padding: 9px; border-radius: var(--r); background: var(--accent); color: var(--deep); }
.bar__call span { display: grid; line-height: 1.2; font-weight: 600; font-size: 16px; font-variant-numeric: tabular-nums; }
.bar__call small { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); }
.bar__toggle { display: none; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r); background: transparent; color: #fff; cursor: pointer; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; color: #fff; isolation: isolate; background: var(--deep); }
.hero__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; animation: drift 24s var(--ease) both; }
.hero__media::after {
	content: ""; position: absolute; inset: 0;
	background:
		linear-gradient(90deg, rgba(var(--deep-rgb), .82) 0%, rgba(var(--deep-rgb), .35) 48%, rgba(var(--deep-rgb), .55) 100%),
		linear-gradient(0deg, rgba(var(--deep-rgb), .95) 0%, rgba(var(--deep-rgb), 0) 42%);
}
@keyframes drift { from { transform: scale(1.1) translateY(-1.5%); } to { transform: scale(1); } }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(32px, 5vw, 80px); align-items: end; padding-top: 150px; padding-bottom: clamp(40px, 6vw, 72px); }
.hero__slogan { margin-top: 22px; font-family: var(--display); font-size: clamp(17px, 1.6vw, 22px); color: var(--gold-text); }
.hero__title { font-family: var(--display); font-weight: 500; font-size: clamp(44px, 6vw, 88px); line-height: 1; letter-spacing: -.015em; color: #fff; text-transform: uppercase; display: grid; }
.hero__title-2 { color: var(--accent); }
.hero__desc { margin-top: 28px; max-width: 56ch; font-size: clamp(15px, 1.25vw, 17px); color: rgba(255, 255, 255, .86); }

.hero__panel { position: relative; padding: 32px 30px 28px; background: rgba(var(--deep-rgb), .94); border-top: 3px solid var(--accent); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.panel__title { font-family: var(--display); font-size: 24px; color: #fff; line-height: 1.2; }
.panel__desc { margin-top: 8px; font-size: 14px; color: var(--on-deep); }
.hero__foot { position: relative; border-top: 1px solid rgba(var(--accent-rgb), .35); background: rgba(var(--deep-rgb), .5); }
.hero__foot .strata--top { left: var(--gutter); width: min(320px, 50%); transform: translateY(calc(-100% - 14px)); }
.hero__foot-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font-size: 14px; color: var(--on-deep); }
.hero__foot a { color: #fff; font-weight: 600; }
.hero__foot a:hover { color: var(--gold-text); }
.hero__scroll { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.hero__scroll .icon { animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

/* ---------- Sections ---------- */
.sec { position: relative; padding-block: var(--sec); }
.sec--mist { background: var(--mist); }
.sec--deep { background: var(--deep); color: var(--on-deep); }
.sec--page { padding-top: 160px; }
.sec__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec__head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 80px); align-items: start; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.split--flip > :first-child { order: 2; }
.split--top { align-items: start; }
.split__copy { display: grid; gap: 24px; align-content: start; }

/* Framed media — images enter with a rising waterline */
.frame { position: relative; }
.frame img { width: 100%; border-radius: var(--r); }
.frame figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.frame--dark figcaption { color: var(--on-deep-2); }
.js .frame[data-water] img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.js .frame[data-water].is-in img { clip-path: inset(0 0 0 0); }

/* ---------- Overview ledger ---------- */
.overview .split__media img { aspect-ratio: 4 / 3; object-fit: cover; }
.ledger { margin-top: clamp(56px, 7vw, 96px); padding: clamp(28px, 4vw, 56px); background: #fff; position: relative; }
.ledger .strata--top { color: var(--brand); left: clamp(18px, 4vw, 56px); width: min(280px, 50%); }
.ledger__title { font-family: var(--display); font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 20px; }
.ledger__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 4vw, 64px); }
.ledger__row { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--hair); }
.ledger dt { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); padding-top: 3px; }
.ledger dd { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1.6; }
.ledger dd ul { display: grid; gap: 4px; }
.ledger dd li { position: relative; padding-left: 16px; font-weight: 400; }
.ledger dd li::before { content: ""; position: absolute; left: 0; top: .8em; width: 8px; height: 1px; background: var(--accent); }

/* ---------- Vista (full image band) ---------- */
.vista { position: relative; min-height: clamp(560px, 86vh, 900px); display: flex; align-items: flex-end; isolation: isolate; background: var(--deep); }
.vista__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.vista__media img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.vista__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(var(--deep-rgb), .75), rgba(var(--deep-rgb), 0) 55%); }
.vista__in { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding-bottom: clamp(32px, 5vw, 64px); }
.vista__panel { max-width: 600px; padding: clamp(28px, 3.5vw, 48px); background: var(--deep); display: grid; gap: 18px; position: relative; }
.vista__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; background: repeating-linear-gradient(180deg, var(--accent) 0 2px, transparent 2px 6px); opacity: .8; width: 40%; }
.vista__cap { font-size: 13px; color: rgba(255, 255, 255, .78); max-width: 28ch; text-align: right; }

/* ---------- Price list ---------- */
.price__list { border-top: 1px solid var(--hair); }
.price__row { display: grid; grid-template-columns: 220px minmax(0, 1.1fr) minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 48px); align-items: center; padding: 22px 0; border-bottom: 1px solid var(--hair); transition: background-color .4s var(--ease); }
.price__row:hover { background: linear-gradient(90deg, rgba(var(--brand-rgb), .06), transparent 70%); }
.price__img { overflow: hidden; border-radius: var(--r); aspect-ratio: 16 / 10; }
.price__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.price__row:hover .price__img img { transform: scale(1.06); }
.price__name { font-family: var(--display); font-size: clamp(20px, 2vw, 28px); }
.price__meta { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price__meta dt { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.price__meta dd { color: var(--ink); font-weight: 600; }

/* ---------- Location ---------- */
.location__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 80px); margin-bottom: clamp(40px, 5vw, 64px); }
.location__body { display: grid; gap: clamp(32px, 4vw, 56px); }
.location__map img { width: 100%; height: auto; }
.location__groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px); }
.conn__title { font-family: var(--display); font-size: 22px; color: #fff; padding-bottom: 14px; border-bottom: 1px solid var(--hair-deep); margin-bottom: 14px; }
.conn__list { display: grid; gap: 10px; }
.conn__list li { position: relative; padding-left: 26px; color: var(--on-deep); }
.conn__list li::before { content: ""; position: absolute; left: 0; top: .82em; width: 14px; height: 1px; background: var(--accent); }
.location__extra { margin-top: clamp(48px, 6vw, 88px); }
.location__extra img { aspect-ratio: 21 / 9; object-fit: cover; }

/* ---------- Amenities explorer ---------- */
.amenities { padding-bottom: calc(var(--sec) + 20px); }
.explorer > * { min-width: 0; }
.explorer { display: grid; gap: clamp(24px, 3vw, 40px); }
.explorer__stage { order: -1; }
.explorer__list [role="tablist"] { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); column-gap: clamp(20px, 3vw, 40px); }
.explorer__label { font-family: var(--display); font-size: clamp(20px, 1.8vw, 24px); font-weight: 500; color: #fff; margin-bottom: 8px; }
.explorer__item {
	display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%;
	padding: 15px 4px; border: 0; border-bottom: 1px solid var(--hair-deep); background: transparent;
	color: var(--on-deep-2); text-align: left; font-size: 16px; cursor: pointer; transition: color .35s var(--ease), padding .45s var(--ease);
}
.explorer__item .icon { width: 18px; height: 18px; color: var(--accent); opacity: 0; transform: translateX(-8px); transition: .45s var(--ease); }
.explorer__item:hover { color: #fff; }
.explorer__item[aria-selected="true"] { color: #fff; padding-left: 14px; }
.explorer__item[aria-selected="true"] .icon { opacity: 1; transform: none; }
.explorer__item[aria-selected="true"] span { font-weight: 500; }
.explorer__stage { position: relative; aspect-ratio: 1973 / 748; overflow: hidden; border-radius: var(--r); background: rgba(255, 255, 255, .04); }
.explorer__panel { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease); z-index: 1; }
.explorer__panel.is-active { clip-path: inset(0 0 0 0); z-index: 2; }
.explorer__panel.was-active { clip-path: inset(0 0 0 0); z-index: 1; transition: none; }
.explorer__panel img { width: 100%; height: 100%; object-fit: cover; }
.explorer__panel figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Masterplan ---------- */
.masterplan__plan img { width: 100%; }
.masterplan__plan figcaption { margin-top: 12px; }
.zones { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: clamp(32px, 5vw, 80px); margin-top: clamp(48px, 6vw, 88px); align-items: start; }
.zones__map { margin-top: 24px; background: #fff; padding: 16px; }
.zones__list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 3vw, 48px); counter-reset: zone; }
.zone { padding: 22px 0; border-top: 1px solid var(--hair); display: grid; gap: 4px; }
.zone__name { font-family: var(--display); font-size: 21px; }
.zone__area { font-weight: 600; color: var(--brand); font-variant-numeric: tabular-nums; }
.zone__desc { font-size: 15px; color: var(--text); }

/* ---------- Sub-zone ---------- */
.mix { margin-top: 8px; padding: 24px 0 0; border-top: 1px solid var(--hair); }
.mix__head { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.mix__list div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--hair); }
.mix__list dt { color: var(--text); }
.mix__list dd { font-family: var(--display); font-size: 26px; color: var(--brand); font-variant-numeric: tabular-nums; line-height: 1.1; }
.subzone__plans { display: grid; gap: 20px; }
.subzone__plans img { background: var(--mist); }
.subs { margin-top: clamp(48px, 6vw, 80px); }
.subs__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-top: 20px; border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.subs__list li { padding: 18px 20px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); font-family: var(--display); font-size: 18px; color: var(--ink); transition: background-color .35s var(--ease), color .35s var(--ease); }
.subs__list li:hover { background: var(--deep); color: #fff; }

/* ---------- Product types ---------- */
.ptypes { display: grid; gap: clamp(56px, 7vw, 104px); }
.ptype { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.ptype--flip .ptype__media { order: 2; }
.ptype__media { background: #fff; padding: clamp(10px, 1.4vw, 18px); }
.ptype__media img { width: 100%; height: auto; }
.ptype__body { display: grid; gap: 16px; justify-items: start; }
.ptype__size { font-family: var(--display); font-size: clamp(34px, 4.4vw, 64px); line-height: 1; color: var(--brand); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ptype__name { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; line-height: 1.35; }
.ptype__points { display: grid; gap: 8px; margin-bottom: 8px; }
.ptype__points li { position: relative; padding-left: 26px; }
.ptype__points li::before { content: ""; position: absolute; left: 0; top: .82em; width: 14px; height: 1px; background: var(--brand); }
.products__close { margin-top: clamp(56px, 6vw, 88px); padding-top: 28px; border-top: 1px solid var(--hair); max-width: 80ch; font-size: 17px; color: var(--ink); }

/* ---------- Sign-up band ---------- */
.signup { position: relative; padding-block: var(--sec); isolation: isolate; color: var(--on-deep); background: var(--deep); }
.signup__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.signup__media img { width: 100%; height: 100%; object-fit: cover; }
.signup__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--deep-rgb), .95) 30%, rgba(var(--deep-rgb), .72)); }
.signup .strata--top { left: var(--gutter); }
.signup__in { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: clamp(32px, 6vw, 96px); align-items: center; }
.signup__copy { display: grid; gap: 22px; }
.signup__desc { font-size: 17px; max-width: 52ch; }
.signup__list { display: grid; gap: 12px; }
.signup__list li { display: flex; gap: 12px; color: #fff; }
.signup__list .icon { color: var(--accent); width: 20px; height: 20px; margin-top: 4px; }
.signup__alt { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.signup__form { padding: clamp(28px, 3vw, 40px); background: var(--paper); color: var(--text); border-top: 3px solid var(--accent); }
.signup__form .panel__title { color: var(--ink); }
.signup__form .panel__desc { color: var(--muted); }

/* ---------- Developer ---------- */
.developer__logo { margin-top: 8px; }
.developer__logo img { max-height: 64px; width: auto; }
.reel { margin-top: clamp(48px, 6vw, 80px); }
.reel__track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 34vw, 460px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.reel__track::-webkit-scrollbar { display: none; }
.reel__item { scroll-snap-align: start; }
.reel__item img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; border-radius: var(--r); }
.reel__item figcaption { margin-top: 14px; font-family: var(--display); font-size: 20px; color: var(--ink); }
.reel__nav { display: flex; gap: 12px; margin-top: 28px; }

/* ---------- FAQ ---------- */
.faq__list { border-top: 1px solid var(--hair); }
.qa { border-bottom: 1px solid var(--hair); }
.qa summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; list-style: none; font-weight: 600; color: var(--ink); font-size: 17px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .icon { width: 22px; height: 22px; color: var(--brand); transition: transform .4s var(--ease); }
.qa[open] summary .icon { transform: rotate(45deg); }
.qa p { padding: 0 48px 24px 0; }

/* ---------- Forms (CF7) ---------- */
.ncn-form { margin-top: 20px; }
.ncn-cf7 { display: grid; gap: 12px; }
.ncn-cf7 p { margin: 0; }
.ncn-cf7 label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
.ncn-cf7 .wpcf7-form-control-wrap { display: block; }
.ncn-cf7 input[type="text"], .ncn-cf7 input[type="tel"], .ncn-cf7 input[type="email"], .ncn-cf7 select, .ncn-cf7 textarea {
	width: 100%; min-height: 52px; padding: 12px 16px; border-radius: var(--r);
	border: 1px solid rgba(var(--brand-rgb), .3); background: #fff; color: var(--ink); outline: none;
	transition: border-color .25s, box-shadow .25s;
}
.ncn-cf7 select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2366746f' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.ncn-cf7 input::placeholder { color: #7b8783; }
.ncn-cf7 input:focus, .ncn-cf7 select:focus, .ncn-cf7 textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(var(--brand-rgb), .14); }
.ncn-cf7 .wpcf7-submit {
	width: 100%; min-height: 54px; margin-top: 4px; border: 0; border-radius: var(--r); cursor: pointer;
	background: var(--accent); color: var(--deep); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px;
	transition: background-color .3s var(--ease);
}
.ncn-cf7 .wpcf7-submit:hover { background: color-mix(in srgb, var(--accent) 85%, white); }
.ncn-cf7 .wpcf7-submit:disabled { opacity: .6; cursor: progress; }
.ncn-cf7 .wpcf7-spinner { display: none; }
.ncn-cf7.submitting .wpcf7-spinner { display: block; margin: 8px auto 0; }
.ncn-cf7 .wpcf7-not-valid { border-color: #d0453a !important; }
.ncn-cf7 .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #b3261e; }
.ncn-cf7 .wpcf7-response-output { margin: 4px 0 0 !important; padding: 12px 14px !important; border: 0 !important; border-radius: var(--r); font-size: 14px; background: var(--mist); color: var(--ink); }
.ncn-cf7.sent .wpcf7-response-output { background: #e1f1ea; color: #0b5d4a; }
.ncn-cf7.invalid .wpcf7-response-output, .ncn-cf7.failed .wpcf7-response-output { background: #fbe9e7; color: #8c1d13; }
.ncn-cf7 .form-note { font-size: 12px; color: var(--muted); text-align: center; }
.ncn-cf7 .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* dark panel variant (hero) */
.hero__panel .ncn-cf7 input[type="text"], .hero__panel .ncn-cf7 input[type="tel"], .hero__panel .ncn-cf7 select {
	background-color: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .22); color: #fff;
}
.hero__panel .ncn-cf7 select option { color: var(--ink); }
.hero__panel .ncn-cf7 input::placeholder { color: rgba(255, 255, 255, .62); }
.hero__panel .ncn-cf7 input:focus, .hero__panel .ncn-cf7 select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .18); }
.hero__panel .ncn-cf7 .wpcf7-not-valid-tip { color: #ffb4a8; }
.hero__panel .ncn-cf7 .form-note { color: var(--on-deep-2); }
.hero__panel .ncn-cf7 .wpcf7-response-output { background: rgba(255, 255, 255, .08); color: #fff; }
.hero__panel .ncn-cf7 select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23ffffff' stroke-opacity='.7' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.ncn-form-missing { padding: 12px; border: 1px dashed var(--accent); font-size: 14px; }

/* ---------- Footer ---------- */
.foot { position: relative; background: color-mix(in srgb, var(--deep) 88%, black); color: var(--on-deep-2); font-size: 14px; padding-top: 72px; }
.foot .strata--foot { position: absolute; top: 0; left: var(--gutter); transform: translateY(-50%); }
.foot__grid { display: grid; grid-template-columns: 1.3fr .9fr 1fr 1.1fr; gap: 40px; padding-bottom: 56px; }
.foot__brand { display: grid; gap: 18px; align-content: start; }
.logo--foot { height: 88px; }
.foot__title { font-family: var(--body); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 16px; }
.foot__col ul { display: grid; gap: 10px; }
.foot__col a:hover { color: #fff; }
.foot__contact li { display: flex; gap: 10px; align-items: center; }
.foot__contact .icon { color: var(--accent); width: 16px; height: 16px; }
.foot__ncn { font-size: 26px; font-weight: 600; color: #fff; letter-spacing: -.02em; display: inline-block; margin-bottom: 6px; }
.foot__ncn b { color: var(--accent); font-weight: 600; }
.foot__broker p { margin-bottom: 12px; }
.foot__more { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 500; }
.foot__more .icon { width: 16px; height: 16px; color: var(--accent); }
.foot__legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 22px; border-top: 1px solid var(--hair-deep); font-size: 12px; }
.foot__legal p:first-child { max-width: 90ch; }

/* ---------- Mobile dock ---------- */
.dock { display: none; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js .frame[data-water] img { clip-path: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.bar__nav a { padding: 10px 8px; font-size: 12px; letter-spacing: .05em; }
	.bar__call span { display: none; }
	.bar__call { padding: 6px; }
	.hero__grid { grid-template-columns: minmax(0, 1fr) 380px; }
	.ledger__list { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
	.bar__toggle { display: grid; }
	.bar__call { margin-left: auto; }
	.bar__nav {
		position: fixed; inset: 0; z-index: -1; padding: 110px var(--gutter) 40px; background: var(--deep);
		display: flex; flex-direction: column; gap: 32px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
	}
	.bar__nav.is-open { opacity: 1; visibility: visible; }
	.bar__nav ul { flex-direction: column; gap: 0; }
	.bar__nav ul a { font-family: var(--display); text-transform: none; letter-spacing: 0; font-size: 26px; padding: 12px 0; border-bottom: 1px solid var(--hair-deep); color: #fff; }
	.bar__nav ul a::after { display: none; }
	.bar__nav .bar__menu-cta { display: inline-flex; }
	.hero__grid { grid-template-columns: 1fr; padding-top: 130px; align-items: start; }
	.hero__panel { max-width: 520px; }
	.hero__foot .strata { display: none; }
	.sec__head--split, .split, .location__top, .location__body, .zones, .signup__in, .ptype { grid-template-columns: 1fr; }
	.split--flip > :first-child, .ptype--flip .ptype__media { order: 0; }
	.explorer__list [role="tablist"] { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
	.explorer__item { flex: none; width: auto; border: 1px solid var(--hair-deep); border-radius: var(--r); padding: 10px 18px; font-size: 14px; scroll-snap-align: start; }
	.explorer__item .icon { display: none; }
	.explorer__item[aria-selected="true"] { padding-left: 18px; background: var(--accent); color: var(--deep); border-color: var(--accent); }
	.price__row { grid-template-columns: 160px minmax(0, 1fr); grid-template-areas: "img name" "img meta" "img cta"; row-gap: 10px; }
	.price__img { grid-area: img; aspect-ratio: 1; align-self: stretch; }
	.price__name { grid-area: name; }
	.price__meta { grid-area: meta; }
	.price__row .btn { grid-area: cta; justify-self: start; min-height: 44px; }
	.foot__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 639px) {
	body { font-size: 15px; padding-bottom: 64px; }
	.bar__in { min-height: 68px; gap: 12px; }
	.logo { height: 46px; }
	.bar.is-solid .logo { height: 40px; }
	.bar__call { display: none; }
	.bar__toggle { margin-left: auto; }
	.hero { min-height: 0; }
	.hero__grid { padding-top: 112px; gap: 32px; }
	.hero__title { font-size: clamp(38px, 12vw, 56px); }
	.hero__panel { padding: 24px 20px; }
	.hero__foot-in { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 14px; gap: 6px; font-size: 13px; }
	.hero__scroll { display: none; }
	.ledger { padding: 24px 18px; margin-inline: calc(var(--gutter) * -1); }
	.ledger__row { grid-template-columns: 1fr; gap: 4px; }
	.vista { min-height: 0; padding-top: 52vw; }
	.vista__media img { height: 100%; }
	.vista__in { padding-inline: 0; }
	.vista__cap { display: none; }
	.price__row { grid-template-columns: 1fr; grid-template-areas: "img" "name" "meta" "cta"; }
	.price__img { aspect-ratio: 16 / 10; }
	.price__row .btn { justify-self: stretch; }
	.zones__list, .location__groups { grid-template-columns: 1fr; }
	.subs__list { grid-template-columns: 1fr 1fr; }
	.subs__list li { font-size: 15px; padding: 14px; }
	.ncn-cf7 .row-2 { grid-template-columns: 1fr; }
	.signup__alt .btn { flex: 1 1 100%; }
	.foot__grid { grid-template-columns: 1fr; }
	.qa p { padding-right: 0; }

	.dock {
		display: grid; grid-template-columns: 1fr 1fr 1.6fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
		background: var(--deep); border-top: 1px solid var(--hair-deep);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.dock__btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px; color: #fff; font-size: 12px; font-weight: 500; }
	.dock__btn .icon { width: 20px; height: 20px; color: var(--accent); }
	.dock__btn--main { background: var(--accent); color: var(--deep); font-weight: 700; flex-direction: row; gap: 8px; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
	.dock__btn--main .icon { color: var(--deep); }
}
