/* Brand: the logo is the identity. Its leaf green and river blue lead,
   on warm paper, with sandstone as the quiet third colour.
   Layout: brand first (logo, promise), then two doors into the two kinds of
   place: Roots and Routes stays (river blue) and Elements land (photograph). */
:root {
  color-scheme: light;
  --forest: #1a412c;      /* logo leaf and wordmark */
  --river: #245978;       /* logo crescent */
  --river-deep: #173f58;
  --paper: #ffffff;
  --mist: #f1f6f9;
  --sky: #e3eef4;
  --sky-top: #d3e2ea;
  --glow: #e8dfcf;        /* sandstone */
  --sun: #b07a3c;
  --ink: #16242e;
  --ink-soft: #52626d;
  --line: #d8e2e8;
  --on-deep: #f4f8fa;
  --on-deep-soft: #c4d6df;
  --error: #ffd0c2;
  --shadow: none;

  --display: "Marcellus", "Iowan Old Style", Georgia, serif;
  --accent: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 5vw, 4rem);
  --band: clamp(4rem, 9vw, 7.5rem);
  --leaf: 0 3.5rem 0 3.5rem;  /* corner shape echoing the logo's leaf */
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2 { font-family: var(--display); font-weight: 400; color: var(--river-deep); text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7vw, 5.4rem); line-height: 1.03; letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; }
h3 { font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.2; color: var(--river-deep); }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--river); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: 80rem; margin-inline: auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--river-deep); color: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: var(--gutter); top: .5rem; }

/* ---------- hero: the brand, then two doors ---------- */
.hero { background: var(--paper); padding-block: 1.25rem clamp(3rem, 7vw, 5.5rem); }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 2rem; }
.nav__brand { display: block; }

/* ---------- brand lockup: flat vector mark + live type, replacing the old raster logo ---------- */
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand__mark { flex: none; width: clamp(2.5rem, 4.2vw, 3.25rem); height: auto; }
.brand__word { display: flex; flex-direction: column; gap: .3em; }
.brand__word strong { font-family: var(--display); font-weight: 400; font-size: clamp(1.1rem, 1.9vw, 1.5rem); line-height: 1; letter-spacing: .05em; text-transform: uppercase; color: var(--forest); }
.brand__word em { font-style: normal; font-family: var(--body); font-size: .44em; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.brand--center { flex-direction: column; text-align: center; gap: .6rem; }
.brand--center .brand__mark { width: 3.25rem; }
.brand--center .brand__word { align-items: center; }
.nav__links { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.75rem; font-size: 1rem; font-weight: 500; }
.nav__links a { text-decoration: none; color: var(--river-deep); padding-block: .3rem; border-bottom: 1px solid transparent; }
.nav__links a:hover { border-bottom-color: var(--river); }
.nav__links .nav__cta { border: 1px solid var(--river); border-radius: 999px; padding: .45rem 1.15rem; }
.nav__links .nav__cta:hover { background: var(--river); color: var(--paper); }

.hero__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 5vw, 4.5rem); align-items: center; margin-top: clamp(2rem, 5vw, 4rem); }
.hero__body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.hero__body h1 { font-size: clamp(3rem, 6vw, 6rem); line-height: 1; letter-spacing: -0.01em; max-width: 9ch; }
.hero__lede { max-width: 32rem; font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__doors { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.door { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; min-height: clamp(22rem, 38vw, 32rem); padding: clamp(1.25rem, 2.5vw, 2rem); overflow: hidden; color: var(--on-deep); text-decoration: none; border-radius: var(--leaf); transition: transform .3s ease; }
.door:hover { transform: translateY(-4px); }
.door--stays { background: var(--river); }
.door--stays::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 63, 88, 0) 35%, rgba(23, 63, 88, .9) 100%); }
.door img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.door__img--land { object-position: 72% 55%; }
.door--land::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 36, 50, 0) 35%, rgba(16, 36, 50, .85) 100%); }
.door__logo { position: absolute; top: 1.1rem; left: 1.1rem; display: grid; place-items: center; width: 5.5rem; height: 7rem; overflow: hidden; padding: .5rem; border-radius: 0 1.5rem 0 1.5rem; background: rgba(255, 255, 255, .94); }
.door__logo--wide { width: 9rem; height: 5.25rem; }
.door .door__logo img { position: static; width: 100%; height: 100%; min-height: 0; object-fit: contain; z-index: auto; }
.door__kind { font-size: .85rem; font-weight: 600; letter-spacing: .04em; color: var(--glow); }
.door__name { font-family: var(--display); font-size: clamp(1.8rem, 2.8vw, 2.6rem); line-height: 1.05; }
.door__line { font-size: .98rem; color: var(--on-deep-soft); max-width: 18rem; }
.door--land .door__line { color: rgba(255, 255, 255, .85); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .door { transition: none; } }

.btn { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; font-size: 1rem; padding: .8rem 1.5rem; border-radius: 999px; border: 1.5px solid transparent; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn--solid { background: var(--river); color: var(--paper); }
.btn--solid:hover { background: var(--river-deep); }
.btn--ghost { background: transparent; color: var(--river); border-color: var(--river); }
.btn--ghost:hover { border-color: var(--river); color: var(--river); }
.contact .btn--solid { background: var(--paper); color: var(--river-deep); }
.contact .btn--solid:hover { background: var(--paper); }
.contact .btn--ghost { background: transparent; color: var(--on-deep); border-color: var(--on-deep-soft); }
.contact .btn--ghost:hover { border-color: var(--paper); color: var(--paper); background: transparent; }

/* ---------- statement: the land first, then the sentence ---------- */
.statement { padding-block: clamp(1rem, 3vw, 2rem) var(--band); background: var(--paper); border-top: 1px solid var(--line); }
.statement__land { margin: 0; }
.statement__land img { width: 100%; height: clamp(16rem, 42vw, 34rem); object-fit: cover; }
.statement__text { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 1.5rem clamp(2rem, 6vw, 5rem); align-items: end; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.statement__quote { font-family: var(--accent); font-style: italic; font-weight: 400; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.1; color: var(--river-deep); text-wrap: balance; }
.statement__text p:last-child { color: var(--ink-soft); }

/* ---------- bands ---------- */
.band { padding-block: var(--band); }
.band--paper { background: var(--paper); }
.band--mist { background: var(--mist); }
.band--paper { background: var(--paper); }
.band--sky { background: var(--mist); }
.band__head { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; max-width: 40rem; margin: 0 0 clamp(2.25rem, 4vw, 3.5rem); }
.band__head p { color: var(--ink-soft); }

.tenets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1.25rem; }
.tenets { gap: 2rem 2rem; }
.tenets li { border-top: 1px solid var(--ink); padding-top: 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.tenets svg { width: 2.75rem; height: 2.75rem; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tenets svg .g { stroke: var(--river-deep); }
.tenets svg .b { stroke: var(--river); }
.tenets p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- projects ---------- */
.projects { display: flex; flex-direction: column; gap: clamp(3rem, 6vw, 5rem); }
.project { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.project:nth-child(even) .project__media { order: 2; }
.project__media { position: relative; min-width: 0; }
.project__art { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.project__art[src$="land-forest.jpg"] { object-position: 72% 55%; }
.project__media { border-radius: var(--leaf); overflow: hidden; }
.project__media--gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: .5rem; aspect-ratio: 1 / 1; }
.project__media--gallery img { width: 100%; height: 100%; object-fit: cover; min-height: 0; }
.project__media--gallery img:first-child { grid-row: span 2; }
.project .project__stays li { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: 1rem; align-items: start; }
.project .project__stays li > :not(.stay__thumb) { grid-column: 2; }
.stay__thumb { grid-row: 1 / span 4; width: 5.5rem; height: 5.5rem; object-fit: cover; border-radius: 0 1.25rem 0 1.25rem; }
.project { scroll-margin-top: 2rem; }
.project__media--panel { aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: flex-end; gap: .6rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--leaf); background: var(--river); color: var(--on-deep); }
.project__panel-title { font-family: var(--accent); font-style: italic; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.05; }
.project__panel-note { color: var(--on-deep-soft); }
.project__overlay { position: absolute; inset: auto 0 0 0; padding: 4.5rem 1.5rem 1.4rem; text-align: center; font-family: var(--display); font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.1; letter-spacing: .02em; text-align: left; color: var(--paper); background: linear-gradient(180deg, rgba(20, 30, 38, 0) 0%, rgba(20, 30, 38, .75) 75%); text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.project__body { padding: 0; display: flex; flex-direction: column; justify-content: center; gap: .9rem; min-width: 0; }
.project__logo { height: 5rem; width: auto; align-self: flex-start; }
#stays .project__logo { height: 7rem; }
.project__sub { color: var(--river); font-weight: 600; }
.project__name { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.project__blurb { color: var(--ink-soft); }
.project__facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1.25rem; font-size: .97rem; }
.project__facts dt { color: var(--ink-soft); }
.project__chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.project__stays { display: flex; flex-direction: column; gap: 1rem; }
.project__stays li { border-top: 1px solid var(--line); padding-top: .9rem; display: flex; flex-direction: column; gap: .3rem; }
.project__stays h4 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 1.3rem; color: var(--river-deep); }
.project__stays p { color: var(--ink-soft); font-size: 1rem; }
.project__stays a { align-self: flex-start; color: var(--river); font-weight: 600; text-underline-offset: .2em; }
.project__stays a:hover { color: var(--river-deep); }
.project__chips li { font-size: .88rem; padding: .25rem .8rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }

/* ---------- steps (a real sequence) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 2rem 1.75rem; }
.steps li { counter-increment: step; border-top: 1px solid var(--ink); padding-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.steps li::before { content: counter(step); font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--river); }
.steps p { color: var(--ink-soft); font-size: 1rem; }

.convert { margin-top: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1.5rem clamp(2rem, 6vw, 5rem); align-items: end; background: var(--paper); padding: 1.75rem; border: 1px solid var(--line); }
.convert__in { display: flex; flex-direction: column; gap: .75rem; }
.convert__row { display: flex; gap: .5rem; }
.convert__row input { flex: 1 1 6rem; min-width: 0; }
.convert__out { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: 1rem; }
.convert__out dt { font-size: .875rem; color: var(--ink-soft); }
.convert__out dd { font-family: var(--display); font-size: 1.7rem; line-height: 1.2; color: var(--river-deep); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }

/* ---------- contact ---------- */
input, select, textarea { font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: .6rem; padding: .7rem .8rem; width: 100%; }
select { width: auto; }
textarea { resize: vertical; }

.contact { position: relative; background: var(--river-deep); color: var(--on-deep); padding-block: var(--band); }
.contact__ridge { position: absolute; top: -1px; left: 0; width: 100%; height: 4.5rem; display: block; }
.contact h2 { color: var(--on-deep); }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2.5rem clamp(2rem, 6vw, 5rem); align-items: start; }
.split > * { min-width: 0; }
.split__head { display: flex; flex-direction: column; gap: 1rem; }
.split__head p { color: var(--on-deep-soft); }

.reach { display: flex; flex-direction: column; gap: .75rem; margin-top: 1rem; }
.reach div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: .75rem; }
.reach dt { color: var(--on-deep-soft); }
.reach dd { overflow-wrap: anywhere; }

.enquiry { display: flex; flex-direction: column; gap: 1.1rem; align-items: flex-start; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: .25rem; padding: clamp(1.5rem, 3vw, 2.25rem); }
.field { display: flex; flex-direction: column; gap: .35rem; width: 100%; }
.field label { font-size: .95rem; color: var(--on-deep-soft); }
.field select { width: 100%; }
.enquiry__error { color: var(--error); }
.enquiry__done { width: 100%; display: flex; flex-direction: column; gap: .9rem; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 1.1rem; }
.enquiry__done pre { margin: 0; font: inherit; font-size: .95rem; white-space: pre-wrap; overflow-wrap: anywhere; background: rgba(0, 0, 0, .18); padding: 1rem; border-radius: .6rem; }
.enquiry__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.enquiry__note { font-size: .85rem; color: var(--on-deep-soft); margin: 0; }
.enquiry__sent { margin: 0; color: var(--paper); font-weight: 600; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* .suppliers retired: one contact area with a switch */
.suppliers { margin-top: calc(var(--band) * .9); padding-top: calc(var(--band) * .9); border-top: 1px solid rgba(255, 255, 255, .18); }

/* ---------- footer ---------- */
.foot { background: var(--paper); border-top: 1px solid var(--line); color: var(--ink-soft); padding-block: 2.5rem; font-size: .9rem; }
.foot__in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .75rem; }
.foot__in p { max-width: 44rem; }
.foot__logo { margin-bottom: .5rem; }

@media (max-width: 52rem) {
  .split, .convert, .statement__text, .project, .hero__in { grid-template-columns: minmax(0, 1fr); }
  .project:nth-child(even) .project__media { order: 0; }
  .nav { justify-content: space-between; }
  .nav__links li:not(:last-child) { display: none; }
  .brand__mark { width: 2.2rem; }
  .door { min-height: 15rem; }
}
@media (max-width: 34rem) {
  .hero__doors { grid-template-columns: minmax(0, 1fr); }
  .reach div { grid-template-columns: minmax(0, 1fr); gap: .1rem; }
}

/* ---------- contact: one area, a two-way switch ---------- */
.contact__forms { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.switch { display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; margin: 0; padding: .3rem; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(0, 0, 0, .14); }
.switch__legend { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.switch__opt { position: relative; cursor: pointer; }
.switch__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.switch__opt span { display: block; text-align: center; padding: .65rem .9rem; border-radius: 999px; font-size: .95rem; font-weight: 500; color: var(--on-deep-soft); transition: background-color .2s ease, color .2s ease; }
.switch__opt input:checked + span { background: var(--paper); color: var(--river-deep); }
.switch__opt input:focus-visible + span { outline: 2px solid var(--paper); outline-offset: 2px; }
@media (max-width: 34rem) { .switch { border-radius: 1.25rem; grid-template-columns: 1fr; } .switch__opt span { border-radius: 1rem; } }
