/* validated.directory 2.0.0 · the front (DIR 2.0.0-preview.1, BEA-432). After the kit and /dir/shell.css; only this page's
   own. Night to day; each part a still composition first, html.m adds the motion. */

/* 1 · The first screen (night): the picture's dawn multiplied down to night, the cairns in the middle third. Laptop: a
   panel at the right, rising out of the night. */
.first { position: relative; display: grid; background: var(--canvas); overflow-x: clip; }
.first-art, .first-copy { grid-area: 1 / 1; height: 100vh; height: 100svh; min-height: 560px; max-height: 1100px; }
.first-art { position: relative; overflow: hidden; background: linear-gradient(180deg, #060a18 0%, #0b1328 40%, #141f3a 100%); }
.first-art picture { display: contents; }
.first-img { position: absolute; left: 0; top: var(--nj, 0px); width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 42% 50%; }
.first-shade { position: absolute; inset: 0; mix-blend-mode: multiply; pointer-events: none; background: linear-gradient(180deg, #1e2649 0%, #29335d 26%, #4a5584 42%, #7f89b3 56%, #7a84ad 64%, #4f5982 77%, #2a3253 100%); }
.first-scrim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(6, 10, 24, 0.66) 0%, rgba(6, 10, 24, 0.44) 18%, rgba(6, 10, 24, 0.12) 33%, rgba(6, 10, 24, 0) 41%, rgba(6, 10, 24, 0) 60%, rgba(10, 16, 36, 0.56) 71%, rgba(10, 16, 36, 0.86) 84%, #0a1024 100%); }
.first-art .sky, .first-art .glow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.first-copy { position: relative; z-index: 5; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding-top: calc(80px + env(safe-area-inset-top, 0px)); padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
.first-low { grid-row: 3; }
.first .eyebrow { width: fit-content; color: var(--cream); }
.first h1 { margin-top: 14px; color: var(--white); text-shadow: 0 2px 28px rgba(6, 10, 24, 0.7); }
.lead { font-size: var(--fs-lead); line-height: 1.45; max-width: 34ch; color: var(--cream); text-shadow: 0 1px 16px rgba(6, 10, 24, 0.8); }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 20px; }
.actions .btn { min-width: 132px; }
.first .coords { margin-top: 18px; }

/* 2 · The record being made (the kit's scene). */
.work { position: relative; background: linear-gradient(180deg, #0a1024 0%, #0f1830 55%, var(--night-2) 100%); }
html:not(.m) .work { background-image: linear-gradient(rgba(240, 230, 207, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 230, 207, 0.06) 1px, transparent 1px), linear-gradient(180deg, #0a1024 0%, #0f1830 55%, var(--night-2) 100%); background-size: 62px 62px, 62px 62px, auto; }
.rec .jsonld .jl { padding-left: 2ch; text-indent: -2ch; }
.m .rec .jsonld { padding-top: 88px; } /* the code starts under the brand and its date */
.work-cap { position: relative; display: grid; gap: 6px; padding-top: 22px; padding-bottom: 40px; font-size: 15px; line-height: 1.5; color: var(--cream-2); }
.work-cap a { display: inline-block; padding: 12px 0; margin: -12px 0; color: var(--cream); font-weight: 600; white-space: nowrap; }
.work-fine { font: 400 12.5px/1.55 var(--mono); }

/* 3 · The towns: night heading, the card across the sunrise, the day under it. */
.towns { position: relative; background: var(--paper); color: var(--ink); }
.towns-head { padding: 64px 0 30px; background: linear-gradient(180deg, var(--night-2) 0%, #24364f 60%, var(--indigo) 100%); color: var(--cream); }
.towns-head h2 { max-width: 14ch; margin-top: 0; color: var(--white); }
.towns-say { margin-top: 16px; max-width: 44ch; font-size: 17.5px; line-height: 1.55; color: var(--cream); }
.towns-card .face-day, .towns-card .face-night { display: block; }
.towns-card .card-body { padding: 20px 18px 22px; }
.tc-k { font: 500 11px/1.4 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.tc-h { margin-top: 8px; font: 400 clamp(28px, 7.4vw, 44px)/1.08 var(--display); letter-spacing: -0.005em; color: var(--ink); text-wrap: balance; }
.towns-card .card-list { margin-top: 16px; }
.tc-say { margin-top: 18px; max-width: 58ch; font-size: 16.5px; line-height: 1.6; color: var(--ink); }
.tc-links { margin-top: 12px; font: 400 13px/1.7 var(--mono); color: var(--ink-2); }
.tc-links a { color: var(--ink); text-decoration-color: var(--barn); text-decoration-thickness: 2px; }
.face-night .tc-k, .face-night .tc-links { color: var(--cream-2); }
.face-night .tc-h, .face-night .tc-say, .face-night .tc-links span { color: var(--cream); }
.towns-foot { padding: 6px 0 40px; background: var(--paper); }
.towns-keep { max-width: 30ch; font: 400 clamp(23px, 5.8vw, 32px)/1.25 var(--display); color: var(--ink); text-wrap: pretty; }
.read { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; font-weight: 600; color: var(--ink); text-decoration-color: var(--barn); text-decoration-thickness: 2px; }

/* 4 · By day: the cost of placement, the price, the AI box. */
.day > .topo { -webkit-mask-image: linear-gradient(transparent 40px, #000 220px); mask-image: linear-gradient(transparent 40px, #000 220px); }
.place { position: relative; padding-top: 52px; padding-bottom: 20px; }
.place h2 { max-width: 15ch; }
.place .prose { margin-top: 22px; }
.price { position: relative; padding-top: 44px; padding-bottom: 24px; }
.price h2 { max-width: 12ch; }
.pc { margin-top: 26px; max-width: 620px; padding: 22px 20px 22px; background: var(--paper-hi); border: 1px solid rgba(35, 31, 26, 0.3); box-shadow: 0 30px 60px -40px rgba(35, 31, 26, 0.6); }
.pc-price { font: 400 18px/1.2 var(--mono); color: var(--ink-2); }
.pc-price b { font-weight: 500; font-size: clamp(54px, 15vw, 76px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.pc-say { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--ink); max-width: 46ch; }
.pc-fine { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--rule-ink); font: 500 13px/1.5 var(--mono); color: var(--ink-2); }
.pc-act { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 28px; margin-top: 20px; }
.pc-act .btn { min-width: 140px; }
.pc-act .more, .price-notes a { color: var(--ink); text-decoration-color: var(--barn); }
.price-notes { display: grid; gap: 10px; margin-top: 26px; max-width: 60ch; }
.price-notes p { font-size: 17px; line-height: 1.55; color: var(--ink); }
.price-notes a { font-weight: 600; text-decoration-thickness: 2px; }
.price-notes .n { font-family: var(--mono); font-size: 0.93em; white-space: nowrap; }
.ask-sec { position: relative; padding-top: 30px; padding-bottom: 96px; }
.ask-sec .aibox { max-width: 820px; margin: 0; }
.aibox h2 { font-size: clamp(28px, 7vw, 38px); line-height: 1.1; color: var(--white); margin-top: 0; }

/* Scripts off: the header's links wrap under it on a phone; the first screen starts below them. */
@media (max-width: 899px) {
  html:not(.js) .first-copy { padding-top: calc(124px + env(safe-area-inset-top, 0px)); }
  html:not(.js) .first-art { --nj: 44px; }
}
@media (max-width: 599px) { html:not(.js) .first-copy { padding-top: calc(172px + env(safe-area-inset-top, 0px)); } html:not(.js) .first-art { --nj: 88px; } }

/* Short phones: set tighter, so Start keeps room under it. */
@media (max-height: 760px) and (max-width: 899px) {
  .first-copy { padding-top: calc(72px + env(safe-area-inset-top, 0px)); padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
  html:not(.js) .first-copy { padding-top: calc(164px + env(safe-area-inset-top, 0px)); }
  .first h1 { margin-top: 10px; }
  .lead { font-size: 16.5px; line-height: 1.42; }
  .actions { margin-top: 14px; }
  .first .coords { margin-top: 12px; }
}
/* Narrow phones, and a phone at 125% zoom (about 314px). */
@media (max-width: 360px) {
  .lead { font-size: 16px; line-height: 1.42; }
  .actions { gap: 10px 16px; }
  .actions .btn { min-width: 108px; padding-left: 18px; padding-right: 18px; }
  .actions .more { font-size: 15px; gap: 7px; }
  .first .coords { font-size: 11px; }
}
@media (min-width: 600px) and (max-width: 899px) {
  .first h1 { font-size: clamp(56px, 10.2vw, 84px); }
  .lead { font-size: 19px; }
}

/* Laptop and up. */
@media (min-width: 900px) {
  .first-art, .first-copy { min-height: 640px; }
  .first-img { left: auto; right: var(--read-x); width: var(--hero-art); max-width: var(--hero-art); aspect-ratio: 1600 / 1631; object-position: 50% 50%; -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.5) 13%, #000 32%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.5) 13%, #000 32%); }
  .first-shade { background: linear-gradient(180deg, #1b2346 0%, #2c3762 18%, #56608e 40%, #6c76a0 58%, #4a547c 80%, #2a3253 100%); }
  .first-scrim { background: linear-gradient(180deg, rgba(6, 10, 24, 0.8) 0%, rgba(6, 10, 24, 0.4) 8%, rgba(6, 10, 24, 0) 18%, rgba(6, 10, 24, 0) 74%, rgba(10, 16, 36, 0.6) 88%, rgba(10, 16, 36, 0.9) 100%); }
  .first-copy { grid-template-columns: minmax(0, 600px); grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1.2fr); padding-top: 96px; padding-bottom: 64px; }
  .first-top { grid-row: 2; }
  .first-low { grid-row: 3; margin-top: 30px; }
  .first h1 { max-width: 9.5ch; font-size: clamp(64px, 7vw, 104px); }
  .lead { font-size: 20px; }
  .first .coords { position: absolute; left: max(32px, env(safe-area-inset-left, 0px)); right: max(32px, env(safe-area-inset-right, 0px)); bottom: 26px; margin: 0; }
  .work-cap { padding-top: 26px; padding-bottom: 56px; }
  .towns-head { padding: 100px 0 40px; }
  .towns-say { font-size: 19px; }
  .towns-card .card-body { padding: 34px 40px 36px; }
  .tc-say { font-size: 18px; }
  .towns-foot { padding: 14px 0 64px; }
  .towns .card-c { max-width: 860px; }
  .place, .price { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); column-gap: clamp(40px, 6vw, 96px); align-items: start; }
  .place { padding-top: 96px; padding-bottom: 32px; }
  .place h2, .price h2 { grid-column: 1; grid-row: 1 / span 3; max-width: 100%; font-size: clamp(28px, 3.2vw, 42px); }
  .place .prose { grid-column: 2; margin-top: 16px; }
  .place > p { grid-column: 2; }
  .price { padding-top: 72px; }
  .pc { grid-column: 2; margin-top: 12px; padding: 30px 32px 30px; }
  .price-notes { grid-column: 2; }
  .ask-sec { padding-top: 48px; padding-bottom: 130px; }
}
