/* Pale Blue Lot — Identity System V2
   Layout: paper ground, navy type, hairline rules dividing a 64px-gutter grid.
   Pale blue is only the dot, the lot fill and small markers. Never type, never large fields. */

@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2-variations"), url("../fonts/schibsted-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  /* Color */
  --paper: #F3F2EE;      /* 80% of any layout */
  --paper-hi: #FBFAF7;   /* fields, printed matter */
  --navy: #1E2A38;       /* survey navy: type, buttons, footer */
  --blue: #9CC3DD;       /* oklch(0.78 0.08 235): the dot, the lot, markers only */
  --rule: #D9D6CF;
  --text-2: #4A5260;     /* secondary text */
  --muted: #5B6470;      /* labels, mono data */
  --plat: #A9B0B8;       /* neighbouring parcel lines */
  --road: #E3E0D8;
  --contour: #E0DDD5;
  --on-navy-2: #B8C0CA;

  /* Type */
  --f-sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;

  --t-hero: clamp(2.625rem, 1.6rem + 4.2vw, 5rem);      /* 42 → 80 */
  --t-h1: clamp(2.375rem, 1.6rem + 3vw, 4rem);          /* 38 → 64 */
  --t-h2: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem);      /* 28 → 36 */
  --t-h3: 1.125rem;
  --t-lead: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);   /* 17 → 19 */

  /* Space */
  --gutter: clamp(1.375rem, .6rem + 3.2vw, 4rem);       /* 22 → 64 */
  --block: clamp(4rem, 2.8rem + 4.5vw, 6rem);           /* 64 → 96 */
  --max: 90rem;                                          /* 1440 */
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 1rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--navy); font: 400 1.0625rem/1.55 var(--f-sans); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
::selection { background: var(--blue); color: var(--navy); }
p { margin: 0; text-wrap: pretty; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
h1 { font-size: var(--t-h1); letter-spacing: -.03em; line-height: 1; }
h2 { font-size: var(--t-h2); letter-spacing: -.02em; line-height: 1.1; }
h3 { font-size: var(--t-h3); line-height: 1.3; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: var(--paper); padding: .6rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; top: 1rem; color: var(--paper); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.frame { max-width: var(--max); margin-inline: auto; }
.pad { padding-inline: var(--gutter); }

/* ---------- Wordmark: pale blue l●t (1d spacing) ---------- */
.wm { font-family: var(--f-sans); font-weight: 600; letter-spacing: -.02em; line-height: 1; white-space: nowrap; color: inherit; text-decoration: none; display: inline-block; }
.wm-o { display: inline-grid; vertical-align: baseline; }
.wm-o > span { grid-area: 1 / 1; color: transparent; align-self: baseline; }
.wm-o > i { grid-area: 1 / 1; align-self: baseline; justify-self: center; display: block; width: .96ex; height: .96ex; border-radius: 50%; background: var(--blue); margin-bottom: -.012em; position: relative; left: .025em; }

/* ---------- Mono data ---------- */
.mono { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }
.mono.ink { color: var(--navy); }
.tag { background: var(--navy); color: var(--paper); padding: .875rem 1.125rem; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .05em; line-height: 1.7; text-transform: uppercase; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); flex: none; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; font: 500 1rem/1 var(--f-sans); text-decoration: none; border: 0; border-radius: 0; cursor: pointer; background: var(--navy); color: var(--paper); transition: background .15s, color .15s, box-shadow .15s; }
.btn:hover { background: #2C3B4D; color: var(--paper); }
.btn.line { background: transparent; color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--navy); }
.btn.line:hover { background: var(--navy); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { font-weight: 500; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); position: relative; z-index: 20; background: var(--paper); }
.site-header .bar { height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.site-header .wm { font-size: 1.625rem; }
.nav { display: flex; align-items: center; gap: 2.5rem; font-size: .9375rem; }
.nav a { text-decoration: none; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
.nav .phone { font-family: var(--f-mono); font-size: .875rem; }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; padding: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; }
.nav-toggle span { display: block; height: 1.5px; background: var(--navy); transition: transform .2s, width .2s; }
.nav-toggle span:first-child { width: 22px; } .nav-toggle span:last-child { width: 14px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); width: 20px; }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); width: 20px; }
@media (max-width: 860px) {
  .site-header .bar { height: 64px; }
  .site-header .wm { font-size: 1.375rem; }
  .nav-toggle { display: flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 0 var(--gutter) 1.25rem; }
  .nav.open { display: flex; }
  .nav a { padding: 1rem 0; border-top: 1px solid var(--rule); font-size: 1.0625rem; }
}

/* ---------- Home hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 720px); min-height: 760px; }
.hero-copy { padding: 120px var(--gutter) 64px; display: flex; flex-direction: column; gap: 32px; }
.hero h1 { font-size: var(--t-hero); }
.hero .lead { font-size: var(--t-lead); color: var(--text-2); max-width: 34rem; }
.hero-art { position: relative; background: var(--paper); border-left: 1px solid var(--rule); overflow: hidden; min-height: 420px; }
.hero-art .plat { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .tag, .plate .tag { position: absolute; right: 0; bottom: 0; }
@media (max-width: 1060px) {
  .hero { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { padding-block: 48px 32px; gap: 20px; }
  .hero-art { border-left: 0; border-top: 1px solid var(--rule); aspect-ratio: 4 / 3; min-height: 0; max-width: 100%; }
}
@media (max-width: 560px) { .hero .btn-row { display: grid; grid-template-columns: minmax(0, 1fr); } .hero-art { aspect-ratio: 1; } }

/* ---------- Ruled sections ---------- */
.ruled { border-top: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split > * { padding: 72px var(--gutter); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.split > * + * { border-left: 1px solid var(--rule); }
.split p { color: var(--text-2); max-width: 540px; }
@media (max-width: 860px) { .split { grid-template-columns: minmax(0, 1fr); } .split > * + * { border-left: 0; border-top: 1px solid var(--rule); } .split > * { padding-block: 56px; } }

.block { padding: var(--block) var(--gutter); }
.block-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 40px; }

/* Steps */
.steps-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { border-top: 1.5px solid var(--navy); padding-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.steps .n { font-family: var(--f-mono); font-size: .8125rem; }
.steps p { font-size: .9375rem; color: var(--text-2); }
@media (max-width: 1060px) { .steps-wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
@media (max-width: 700px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 32px; } }

/* Empty inventory */
.empty { position: relative; box-shadow: inset 0 0 0 1px var(--rule); overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 380px; }
.empty-copy { padding: clamp(2rem, 4vw, 3.5rem); display: flex; flex-direction: column; gap: 18px; justify-content: center; align-items: flex-start; position: relative; z-index: 1; }
.empty-copy p { color: var(--text-2); max-width: 30rem; }
.empty-map { position: relative; border-left: 1px solid var(--rule); min-height: 280px; }
.empty-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 860px) { .empty { grid-template-columns: minmax(0, 1fr); } .empty-map { border-left: 0; border-top: 1px solid var(--rule); } }

.inline-form { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; max-width: 30rem; }
.inline-form input { flex: 1 1 14rem; min-width: 0; }

/* ---------- Page heads ---------- */
.page-head { padding: clamp(3.5rem, 7vw, 7.5rem) var(--gutter) clamp(2.5rem, 4vw, 4rem); display: flex; flex-direction: column; gap: 22px; }
.page-head h1 { max-width: 15ch; }
.page-head .lead { font-size: var(--t-lead); color: var(--text-2); max-width: 40rem; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 0; }
.form-grid > aside { padding: 64px var(--gutter); border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 40px; }
.form-grid > div { padding: 64px var(--gutter) 80px; }
@media (max-width: 960px) { .form-grid { grid-template-columns: minmax(0, 1fr); } .form-grid > aside { border-right: 0; border-bottom: 1px solid var(--rule); padding-block: 40px; } }
.note { display: flex; flex-direction: column; gap: 8px; }
.note h3 { font-size: 1.25rem; letter-spacing: -.01em; }
.note p { font-size: .9375rem; color: var(--text-2); }

form.stack { display: flex; flex-direction: column; gap: 48px; max-width: 46rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
legend { padding: 0 0 14px; margin-bottom: 6px; width: 100%; border-bottom: 1px solid var(--rule); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .row2 { grid-template-columns: minmax(0, 1fr); } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .q-label { font-size: .9375rem; font-weight: 500; }
.opt, .hint { font-weight: 400; color: var(--muted); font-size: .875rem; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: 400 1rem/1.4 var(--f-sans); color: var(--navy); background: var(--paper-hi);
  border: 0; border-radius: 0; box-shadow: inset 0 0 0 1px var(--rule); padding: 0 14px; height: 52px; transition: box-shadow .15s;
}
input.mono-in { font-family: var(--f-mono); font-size: .9375rem; letter-spacing: .03em; text-transform: uppercase; }
input.mono-in::placeholder { text-transform: none; }
textarea { height: auto; min-height: 9rem; padding: 14px; resize: vertical; line-height: 1.5; }
select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
input::placeholder, textarea::placeholder { color: #8A929C; }
input:focus, select:focus, textarea:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--navy); }
.q { display: flex; flex-direction: column; gap: 10px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { position: relative; }
.choice input { position: absolute; inset: 0; opacity: 0; cursor: pointer; margin: 0; }
.choice span { display: inline-flex; align-items: center; height: 44px; padding: 0 16px; background: var(--paper-hi); box-shadow: inset 0 0 0 1px var(--rule); font-size: .9375rem; cursor: pointer; transition: all .15s; }
.choice input:checked + span { background: var(--navy); color: var(--paper); box-shadow: none; }
.choice input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.form-foot { border-top: 1px solid var(--rule); padding-top: 28px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.fine { font-size: .875rem; color: var(--muted); max-width: 34rem; }
.honey { position: absolute; left: -5000px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
@media (max-width: 960px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.faq { border-top: 1.5px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-size: 1.125rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--navy); transition: background .15s, box-shadow .15s; }
.faq details[open] summary::after { background: var(--blue); box-shadow: inset 0 0 0 1.5px var(--navy); }
.faq .a { padding: 0 0 22px; color: var(--text-2); max-width: 40rem; display: flex; flex-direction: column; gap: .8em; }

/* ---------- Land page ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 16px 0; border-block: 1px solid var(--rule); margin-bottom: 40px; }
.filters button { height: 36px; padding: 0 14px; background: transparent; border: 0; box-shadow: inset 0 0 0 1px var(--rule); font: 400 .75rem var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); cursor: not-allowed; }
.filters .count { margin-left: auto; }
.data-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.data-list > div { display: flex; justify-content: space-between; gap: 1rem; padding: 16px 0; border-top: 1px solid var(--rule); }
.data-list > div:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule); }
@media (max-width: 640px) { .data-list { grid-template-columns: minmax(0, 1fr); } .data-list > div:nth-last-child(2) { border-bottom: 0; } }

/* Lot cards (for when inventory exists) */
.lots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.lot { display: flex; flex-direction: column; gap: 18px; text-decoration: none; }
.lot .ph { position: relative; aspect-ratio: 1; max-width: 100%; background: #CFD3D0; overflow: hidden; }
.lot h3 { font-size: 1.25rem; }
@media (max-width: 860px) { .lots { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About ---------- */
.voyager { position: relative; background: var(--navy); color: var(--paper); aspect-ratio: 16 / 7; max-width: 100%; overflow: hidden; }
.voyager .beam { position: absolute; top: -10%; bottom: -10%; left: 58%; width: 9%; background: linear-gradient(90deg, transparent, rgba(243,242,238,.06) 30%, rgba(243,242,238,.09) 50%, rgba(243,242,238,.06) 70%, transparent); transform: rotate(12deg); }
.voyager .earth { position: absolute; left: 62.5%; top: 52%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--blue); }
.voyager .cap { position: absolute; left: var(--gutter); bottom: 28px; color: var(--on-navy-2); }
.voyager .cap-r { position: absolute; right: var(--gutter); top: 28px; color: var(--on-navy-2); text-align: right; }
@media (max-width: 640px) { .voyager { aspect-ratio: 4 / 3; } }
.prose { display: flex; flex-direction: column; gap: 1.1em; max-width: 40rem; }
.prose p { color: var(--text-2); }
.prose .lead { font-size: var(--t-lead); color: var(--navy); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 64px; }
@media (max-width: 960px) { .two { grid-template-columns: minmax(0, 1fr); gap: 24px; } }
.portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 380px; height: auto; object-fit: cover; background: var(--paper-hi); }

/* ---------- Legal ---------- */
.legal { max-width: 44rem; display: flex; flex-direction: column; gap: 1rem; padding-bottom: var(--block); }
.legal h2 { font-size: 1.375rem; margin-top: 1.5rem; }
.legal p, .legal li { color: var(--text-2); }
.legal ul { margin: 0; padding-left: 1.2rem; display: flex; flex-direction: column; gap: .4rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--paper); }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.foot { padding: 72px var(--gutter) 48px; display: flex; flex-direction: column; gap: 72px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 48px; flex-wrap: wrap; }
.foot-top .wm { font-size: 2.5rem; }
.foot-links { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 64px; font-size: .9375rem; }
.foot-base { display: flex; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; color: var(--on-navy-2); text-transform: uppercase; }
.foot-base nav { display: flex; gap: 24px; }
.foot-base a { color: var(--on-navy-2); }
@media (max-width: 560px) { .foot-links { grid-template-columns: minmax(0, 1fr); } .foot-top .wm { font-size: 2rem; } }

/* ---------- Listing template ---------- */
.listing-hero { position: relative; height: clamp(360px, 44vw, 640px); background: var(--paper); border-bottom: 1px solid var(--rule); overflow: hidden; }
.listing-hero .plat { position: absolute; inset: 0; width: 100%; height: 100%; }
.listing-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 96px; padding: 80px var(--gutter) 96px; }
@media (max-width: 1060px) { .listing-body { grid-template-columns: minmax(0, 1fr); gap: 48px; } }
.price-box { box-shadow: inset 0 0 0 1.5px var(--navy); padding: 32px; display: flex; flex-direction: column; gap: 20px; }
.price-box .big { font-size: 2.75rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; }
