@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk.30cc2cebce.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

/* Day: pale winter sky over a fir-green field. Colours follow the approved ad. */
:root {
  --sky-top: #d4e4ec;
  --sky-bot: #eef4f1;
  --ink: #0f2a1f;
  --muted: #3c5047;
  --red: #bd0f2b;
  --go-bg: #0f3d29;
  --go-ink: #ffffff;
  --focus: #0b57d0;

  --tree-sh: #0a2a1d;
  --tree-1: #33805a;
  --tree-2: #1d5c3d;
  --tree-3: #13452e;
  --trunk: #4d3727;
  --tag: #c8102e;
  --tag-ink: #ffffff;
  --string: #5b4b3c;

  --ground: #154a31;
  --ground-deep: #0f3825;
  --on-ground: #f4f7f3;
  --on-ground-muted: #c9dacf;
  --gold: #ffd447;
  --leader: #6f9a83;
  color-scheme: light;
}

/* Night: the field after half past four in December. */
:root[data-theme="dark"] {
  --sky-top: #0b1626;
  --sky-bot: #223c5a;
  --ink: #f1f4f0;
  --muted: #bccad3;
  --red: #ff9d8f;
  --go-bg: #ffd447;
  --go-ink: #10202b;
  --focus: #ffd447;

  --tree-sh: #08170f;
  --tree-1: #3a7d5a;
  --tree-2: #255a3f;
  --tree-3: #18402c;
  --trunk: #2a1d14;
  --tag: #d42039;
  --tag-ink: #ffffff;
  --string: #cdbca4;

  --ground: #0b2a1c;
  --ground-deep: #071f14;
  --on-ground: #eef3ef;
  --on-ground-muted: #b4c8bb;
  --leader: #4b7a63;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --sky-top: #0b1626;
    --sky-bot: #223c5a;
    --ink: #f1f4f0;
    --muted: #bccad3;
    --red: #ff9d8f;
    --go-bg: #ffd447;
    --go-ink: #10202b;
    --focus: #ffd447;

    --tree-sh: #08170f;
    --tree-1: #3a7d5a;
    --tree-2: #255a3f;
    --tree-3: #18402c;
    --trunk: #2a1d14;
    --tag: #d42039;
    --tag-ink: #ffffff;
    --string: #cdbca4;

    --ground: #0b2a1c;
    --ground-deep: #071f14;
    --on-ground: #eef3ef;
    --on-ground-muted: #b4c8bb;
    --leader: #4b7a63;
    color-scheme: dark;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--ground);
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.5;
}

p, h1, h2, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 0.14em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.sr {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem; top: -4rem;
  padding: 0.75rem 1rem;
  background: var(--go-bg);
  color: var(--go-ink);
  z-index: 10;
}
.skip:focus { top: 1rem; }

.wrap {
  width: 100%;
  max-width: 84rem;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4.5vw, 4rem);
}

/* ---------- Sky: header and first screen ---------- */
/* The header and the hero share one sky. They are separate elements so
   <main> can start after the header, so the gradient is split at a shared
   midpoint colour. */
.sky-a { background: var(--sky-top); }
.sky-b { background: linear-gradient(180deg, var(--sky-top) 0%, var(--sky-bot) 100%); }
@supports (color: color-mix(in srgb, red, blue)) {
  .sky-a { background: linear-gradient(180deg, var(--sky-top) 0%, color-mix(in srgb, var(--sky-top) 88%, var(--sky-bot)) 100%); }
  .sky-b { background: linear-gradient(180deg, color-mix(in srgb, var(--sky-top) 88%, var(--sky-bot)) 0%, var(--sky-bot) 100%); }
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-block: 0.875rem;
}

.brand {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  line-height: 1.15;
}
.mark { flex: none; }
.brand-t { font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand-a { font-weight: 800; }
.brand-b { font-weight: 450; color: var(--muted); }

.controls {
  display: flex;
  align-items: center;
  flex: none;
}
.controls button,
.controls a {
  font: inherit;
  font-size: 1rem;
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 2px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.55rem;
  cursor: pointer;
}
.controls a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.controls button:hover,
.controls a:hover { color: var(--ink); }
.controls [hidden] { display: none; }

.lang { display: flex; }
.lang a { font-weight: 500; }
.lang a[aria-current="page"] {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-weight: 500;
  margin-inline-start: 0.25rem;
}

/* Hero: words on the left, the price lineup standing on the field. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: end;
  column-gap: clamp(1.5rem, 3vw, 3rem);
  padding-top: clamp(1rem, 4vh, 3rem);
}

.say { padding-bottom: clamp(2rem, 6vh, 4rem); }

h1 {
  font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.75rem);
  font-weight: 820;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.price {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 1.05rem + 1.3vw, 2.25rem);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.price b {
  color: var(--red);
  font-weight: 850;
}

.lede {
  margin-top: 1rem;
  max-width: 30ch;
  color: var(--muted);
  font-size: 1.1875rem;
  line-height: 1.45;
  text-wrap: pretty;
}

.facts {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.35rem;
}
.facts div {
  display: grid;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  align-items: baseline;
  gap: 0.75rem;
}
.facts dt { color: var(--muted); font-size: 1rem; }
.facts dd { font-weight: 700; font-size: 1.1875rem; line-height: 1.3; }

.act {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
}
.go {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0 1.4rem;
  background: var(--go-bg);
  color: var(--go-ink);
  font-size: 1.1875rem;
  font-weight: 750;
  text-decoration: none;
  border-radius: 4px;
}
.go:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.go svg { flex: none; }
.fb {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* The drawing */
.scene { align-self: end; }
.scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.scene-m { display: none !important; }

.sh { fill: var(--tree-sh); }
.s1 { stop-color: var(--tree-1); }
.s2 { stop-color: var(--tree-2); }
.s3 { stop-color: var(--tree-3); }
.trunk { fill: var(--trunk); }
.ld { fill: none; stroke: var(--tree-2); stroke-linecap: round; stroke-linejoin: round; }
.tg { fill: var(--tag); }
.hole { fill: var(--sky-bot); }
.str { fill: none; stroke: var(--string); stroke-width: 1.3; }
.tag text {
  fill: var(--tag-ink);
  font-family: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.mark .ld { stroke-width: 1.4; }
:root[data-theme="dark"] .mark { --tree-1: #4f9a74; --tree-2: #2f7350; --tree-3: #225c3f; --tree-sh: #123526; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mark { --tree-1: #4f9a74; --tree-2: #2f7350; --tree-3: #225c3f; --tree-sh: #123526; }
}

/* ---------- Ground: the field the trees stand on ---------- */
.ground {
  background: var(--ground);
  color: var(--on-ground);
  --focus: var(--gold);
}

.info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem clamp(2rem, 7vw, 7rem);
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

h2 {
  font-size: clamp(1.625rem, 1.25rem + 1.2vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.list { font-size: 1.1875rem; }
.row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding-block: 0.45rem;
}
.row dt { flex: 0 1 auto; min-width: 0; }
/* Dotted leader between item and price, like a price board. */
.row::after {
  content: "";
  order: 1;
  flex: 1 1 1rem;
  min-width: 1rem;
  border-bottom: 2px dotted var(--on-ground-muted);
  opacity: 0.6;
  transform: translateY(-0.3em);
}
.row dd {
  order: 2;
  flex: none;
  font-weight: 800;
  color: var(--gold);
}
.row:first-child { font-size: 1.375rem; font-weight: 700; }

.note { margin-top: 0.75rem; color: var(--on-ground-muted); }

.know li {
  font-size: 1.1875rem;
  padding-block: 0.45rem;
  max-width: 34ch;
}

/* ---------- The field in photographs ---------- */
.field {
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
}
.field-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.25rem 2rem;
  margin-bottom: 1.25rem;
}
.field-head h2 { margin-bottom: 0; }
.hint { color: var(--on-ground-muted); font-size: 1rem; }

.shots {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 3vw, 2.5rem) clamp(1rem, 2vw, 1.5rem);
}

.shot figcaption {
  margin-top: 0.6rem;
  font-size: 1rem;
  color: var(--on-ground);
}

.ph {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--ground-deep);
  border-radius: 4px;
  overflow: hidden;
  cursor: zoom-in;
  color: inherit;
}
.ph img {
  display: block;
  width: 100%;
  object-fit: cover;
}
/* Landscape photos keep the grass parking area's full width visible. */
.shot-trees img,
.shot-gate img { height: auto; aspect-ratio: 4 / 3; }
.shot-trees img { object-position: 40% 22%; }
.shot-gate img { object-position: 50% 50%; }

/* A small, constant cue that the photo opens larger. */
.zoom {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 4px;
  background: rgb(8 20 14 / 0.72);
  color: #ffffff;
}
.ph:hover .zoom,
.ph:focus-visible .zoom {
  background: var(--gold);
  color: #10202b;
}
.ph:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Photo viewer ---------- */
.viewer {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0b1310;
  color: #f1f4f0;
  --focus: #ffd447;
}
.viewer::backdrop { background: rgb(0 0 0 / 0.85); }
html.viewing { overflow: hidden; }

.v-in {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100%;
  padding: 0.75rem clamp(0.75rem, 3vw, 2rem) 1rem;
  gap: 0.75rem;
}
.v-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.v-count { font-size: 1rem; color: #c3cfc8; font-variant-numeric: tabular-nums; }
.v-fig {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.75rem;
  min-height: 0;
}
.v-stage {
  position: relative;
  min-height: 0;
}
/* Fit inside the stage but never enlarge past the file's own size. */
.v-stage img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 3px;
}
.v-fig figcaption {
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.v-nav {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.v-btn {
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  min-height: 48px;
  min-width: 48px;
  padding: 0 1.1rem;
  color: #f1f4f0;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 4px;
  cursor: pointer;
}
.v-btn:hover { background: rgb(255 255 255 / 0.18); }
.v-close { font-size: 1.25rem; padding: 0; }

.foot { padding-bottom: 2.5rem; font-size: 1rem; color: var(--on-ground-muted); }
.foot-in { padding-top: 1.75rem; border-top: 1px solid rgb(255 255 255 / 0.16); }
.foot-name { color: var(--on-ground); font-weight: 700; }
.foot p + p { margin-top: 0.25rem; }
.foot .preview { margin-top: 1rem; font-size: 0.9375rem; }

/* ---------- Find us: directions and the site sketch ---------- */
.find {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  padding-top: clamp(2.75rem, 6vw, 4.5rem);
  scroll-margin-top: 1rem;
}
.find-text p { max-width: 36ch; }
.find-text p + p { margin-top: 0.75rem; }
.find-addr { font-size: 1.375rem; font-weight: 750; letter-spacing: -0.01em; }
.find-steps { margin-top: 1rem; }
.find-steps li {
  font-size: 1.1875rem;
  padding-block: 0.35rem;
  max-width: 36ch;
}
.find-links {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.find-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}
.find-small { color: var(--on-ground-muted); font-size: 1rem; }
.map { margin: 0; }
.map a {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
}
.map img {
  display: block;
  width: 100%;
  height: auto;
}
:root[data-theme="dark"] .map img { filter: brightness(0.9); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .map img { filter: brightness(0.9); }
}
.map figcaption {
  margin-top: 0.6rem;
  font-size: 1rem;
  color: var(--on-ground-muted);
}
.map figcaption a {
  display: inline;
  background: none;
  color: var(--on-ground);
}

/* ---------- Text pages: privacy and not found ---------- */
.page {
  padding-top: clamp(1.5rem, 5vh, 3.5rem);
  padding-bottom: clamp(2.5rem, 7vh, 5rem);
}
.page h1 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); }
.page-body { max-width: 40rem; margin-top: 1.5rem; }
.page-body h2 {
  font-size: 1.375rem;
  margin: 2rem 0 0.5rem;
  letter-spacing: -0.015em;
}
.page-body p + p { margin-top: 0.75rem; }
.page-body .meta { color: var(--muted); font-size: 1rem; margin-top: 2rem; }
.page-links {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
}
.page-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.foot-links { margin-top: 0.25rem; }
.foot-links a { display: inline-block; padding-block: 0.35rem; }

/* ---------- Narrower screens ---------- */
@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 0.75rem;
  }
  .say { padding-bottom: 1.75rem; }
  .scene { margin-inline: calc(-1 * clamp(1.25rem, 4.5vw, 4rem)); }
  .scene-d { display: none !important; }
  .scene-m { display: block !important; }
  .info { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
  .find { grid-template-columns: minmax(0, 1fr); }
  .shots { grid-template-columns: minmax(0, 1fr); }
  .shot-trees img { height: auto; aspect-ratio: 4 / 3.4; object-position: 30% 25%; }
  .shot-gate img { height: auto; aspect-ratio: 4 / 3; object-position: 50% 50%; }
}

@media (max-width: 640px) {
  .brand-t { font-size: 1rem; }
  .brand-b { display: block; font-size: 0.875rem; }
  /* Theme switch shows its icon only on phones; the name stays for screen readers. */
  .theme .theme-t {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .theme { margin-inline-start: 0; }
  .lang a { padding: 0 0.4rem; }
  .list { font-size: 1.0625rem; }
  .row:first-child { font-size: 1.1875rem; }
  .row::after { min-width: 0.75rem; flex-basis: 0.75rem; }
  .facts div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  /* The lead photo runs edge to edge on phones. */
  .shot-trees { margin-inline: calc(-1 * clamp(1.25rem, 4.5vw, 4rem)); }
  .shot-trees .ph { border-radius: 0; }
  .shot-trees figcaption { padding-inline: clamp(1.25rem, 4.5vw, 4rem); }
  .shot-gate img { aspect-ratio: 4 / 3; }
}

@media (max-width: 359px) {
  .mark { display: none; }
}

/* ---------- Motion: tags settle once, as if just tied on ---------- */
@media (prefers-reduced-motion: no-preference) {
  .tag {
    animation: settle 1.8s cubic-bezier(.3, .7, .4, 1) both;
  }
  @keyframes settle {
    0%   { transform: rotate(14deg); }
    30%  { transform: rotate(-8deg); }
    55%  { transform: rotate(4deg); }
    78%  { transform: rotate(-1.5deg); }
    100% { transform: rotate(0); }
  }
  .controls button, .controls a, a { transition: color 0.15s ease; }
  .zoom { transition: background-color 0.15s ease, color 0.15s ease; }
  .ph img { transition: transform 0.4s ease; }
  .ph:hover img { transform: scale(1.02); }
  .viewer[open] { animation: fade-in 0.2s ease; }
  @keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
}
