/* Conversations with the Earth
   Layout concept: a naturalist's field journal laid over full-bleed photographs.
   Dark "night soil" grounds alternate with pale "salt" grounds; each element page
   takes its ground colour from its own photographs. One deliberate look, not themed. */

@font-face { font-family: "IM Fell English"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/im-fell-english-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IM Fell English"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/im-fell-english-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IM Fell English SC"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/im-fell-english-sc-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/albert-sans-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/albert-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Albert Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/albert-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cred Digits"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/albert-sans-latin-400-normal.woff2") format("woff2"); unicode-range: U+0030-0039; }

:root {
  /* Colour */
  --night: #141612;        /* forest floor at night */
  --night-2: #1d201a;
  --salt: #e4e3dc;         /* bleached driftwood, sea salt */
  --salt-2: #d6d5cb;
  --ink: #1b1e19;
  --ink-soft: #4a4f45;
  --pale: #ecebe4;         /* text on dark */
  --pale-soft: #b3b5a9;
  --line-dark: rgba(236, 235, 228, .18);
  --line-light: rgba(27, 30, 25, .16);

  --fire: #d08a3e;         /* bracket-fungus amber, first light */
  --fire-deep: #1f1a1d;    /* dusk */
  --water: #6f9a94;        /* tide-pool sea glass */
  --water-deep: #0f2321;
  --earth: #a88663;        /* wet sand, shoulder skin in shade */
  --earth-deep: #221c16;
  --wood: #8a9a5b;         /* lichen, new leaf */
  --wood-deep: #151b12;

  --accent: var(--fire);

  /* Type */
  --display: "IM Fell English", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --display-sc: "IM Fell English SC", "IM Fell English", Georgia, serif;
  --body: "Albert Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;

  --step--1: clamp(.8rem, .78rem + .1vw, .86rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.1rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.8rem + 4vw, 5.4rem);
  --step-5: clamp(3.2rem, 2rem + 6.5vw, 8.5rem);

  --gutter: clamp(16px, 4vw, 56px);
  --measure: 62ch;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--night);
  color: var(--pale);
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.62;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.04; margin: 0; text-wrap: balance; letter-spacing: -.01em; }
p { margin: 0; text-wrap: pretty; }
em, i { font-style: italic; }

.wrap { padding-inline: var(--gutter); }
.inner { max-width: 1320px; margin-inline: auto; }
.sc { font-family: var(--display-sc); letter-spacing: .06em; font-size: var(--step-0); }
.label { font-family: var(--body); font-weight: 500; font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; }
.lede { font-size: var(--step-1); line-height: 1.5; max-width: 40ch; }
.prose { max-width: var(--measure); display: grid; gap: 1.05em; }
.muted { color: var(--pale-soft); }

/* grounds */
.ground-salt {
  background-color: var(--salt);
  color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .11 0 0 0 0 .09 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.ground-salt .muted { color: var(--ink-soft); }
.ground-night { background: var(--night); color: var(--pale); }
.ground-night-2 { background: var(--night-2); color: var(--pale); }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--body); font-weight: 500; font-size: var(--step--1);
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 1.05em 1.6em; border: 1px solid currentColor; color: inherit;
  background: transparent; cursor: pointer; transition: background .35s, color .35s, border-color .35s;
}
.btn:hover { background: var(--pale); color: var(--ink); border-color: var(--pale); }
.ground-salt .btn:hover { background: var(--ink); color: var(--salt); border-color: var(--ink); }
.btn--solid { background: var(--pale); color: var(--ink); border-color: var(--pale); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.ground-salt .btn--solid { background: var(--ink); color: var(--salt); border-color: var(--ink); }
.ground-salt .btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn .arr { transition: transform .35s; }
.btn:hover .arr { transform: translateX(4px); }
.textlink { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; font-weight: 400; }
.textlink:hover { color: var(--accent); }

/* ---------- header ---------- */
.site-head {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  padding: calc(env(safe-area-inset-top, 0px) + 22px) var(--gutter) 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  color: var(--pale);
}
.site-head--solid { position: relative; background: var(--night); }
.wordmark { font-family: var(--display); font-style: italic; font-size: clamp(1.05rem, .95rem + .5vw, 1.35rem); text-decoration: none; line-height: 1.1; }
.wordmark span { display: block; font-style: normal; font-family: var(--body); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; opacity: .75; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav a { text-decoration: none; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; opacity: .9; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; color: var(--accent); }
.nav .nav-cta { border: 1px solid currentColor; padding: .7em 1.1em; }
.nav .nav-cta:hover { background: var(--pale); color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid currentColor; color: inherit; font: inherit; font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; padding: .6em 1em; cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav { position: fixed; inset: 0; z-index: 30; background: var(--night); flex-direction: column; justify-content: center; gap: 26px; display: none; padding: var(--gutter); }
  .nav a { font-family: var(--display); text-transform: none; letter-spacing: 0; font-size: 2.2rem; font-weight: 400; }
  .nav .nav-cta { border: 0; padding: 0; font-style: italic; }
  .nav.is-open { display: flex; }
  .nav-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 22px); right: var(--gutter); }
}
@media (min-width: 861px) { .nav-close { display: none; } }

/* ---------- home hero ---------- */
.hero { position: relative; min-height: min(96svh, 1000px); display: grid; overflow: hidden; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 64%; animation: settle 3.2s cubic-bezier(.2,.6,.2,1) both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,15,12,.62) 0%, rgba(14,15,12,.28) 42%, rgba(14,15,12,0) 68%),
    linear-gradient(180deg, rgba(14,15,12,.55) 0%, rgba(14,15,12,.1) 30%, rgba(14,15,12,0) 70%, rgba(14,15,12,.32) 100%); }
@keyframes settle { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
.hero__body { padding: calc(env(safe-area-inset-top, 0px) + clamp(120px, 13vw, 170px)) var(--gutter) clamp(26px, 4vw, 44px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr auto; gap: 24px; }
.hero__copy { grid-column: 1 / -1; display: grid; gap: 22px; max-width: 900px; animation: rise 1.6s .3s cubic-bezier(.2,.6,.2,1) both; }
.hero h1 { font-size: var(--step-5); line-height: .95; }
.hero h1 em { color: #f0c58f; }
.hero .lede { max-width: 46ch; color: #e7e5dc; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 6px; }
.hero__caption { grid-row: 3; grid-column: 1; align-self: end; font-family: var(--display); font-style: italic; font-size: var(--step-0); color: #e7e5dc; }
.almanac { font-size: var(--step--1); letter-spacing: .04em; color: #dcdad0; display: grid; gap: 4px; text-align: right; min-width: 0; }
.hero .almanac { grid-row: 3; grid-column: 2; align-self: end; }
.almanac b { font-family: var(--display-sc); font-weight: 400; letter-spacing: .08em; font-size: .95rem; color: var(--pale); }
@media (max-width: 760px) {
  .hero { min-height: 100svh; }
  .hero__img img { object-position: 47% 100%; }
  .hero__body { grid-template-columns: 1fr; }
  .hero .almanac { grid-column: 1; grid-row: 4; text-align: left; }
  .hero__caption { display: none; }
  .hero::after { background: linear-gradient(180deg, rgba(14,15,12,.7) 0%, rgba(14,15,12,.62) 55%, rgba(14,15,12,.15) 75%, rgba(14,15,12,.45) 100%); }
}
@media (prefers-reduced-motion: reduce) { .hero__img img, .hero__copy { animation: none; } }

/* ---------- recognition ---------- */
.recognise { padding-block: clamp(70px, 10vw, 150px); }
.recognise .inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 110px); align-items: center; }
.recognise h2 { font-size: var(--step-4); margin-bottom: clamp(26px, 3vw, 44px); }
.signs { list-style: none; margin: 0; padding: 0; display: grid; }
.signs li { font-family: var(--display); font-size: var(--step-1); line-height: 1.32; padding: 20px 0 20px 2.2em; border-top: 1px solid var(--line-light); position: relative; }
.signs li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 1.1em; height: 1px; background: currentColor; opacity: .6; }
.signs li:last-child { border-bottom: 1px solid var(--line-light); }
.recognise .after { margin-top: 30px; max-width: 54ch; }
.recognise figure { margin: 0; }
.recognise figure img { width: 100%; aspect-ratio: 4/5.4; object-fit: cover; }
figcaption { font-size: var(--step--1); margin-top: 12px; letter-spacing: .02em; opacity: .75; }
@media (max-width: 860px) { .recognise .inner { grid-template-columns: 1fr; } .recognise figure { order: -1; } .recognise figure img { aspect-ratio: 4/3.6; } }

/* ---------- thesis ---------- */
.thesis { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 80svh; }
.thesis__img { position: relative; min-height: 420px; }
.thesis__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; }
.thesis__text { padding: clamp(56px, 8vw, 130px) var(--gutter); display: grid; align-content: center; gap: 30px; }
.thesis blockquote { margin: 0; font-family: var(--display); font-size: var(--step-4); line-height: 1.02; }
.thesis blockquote em { color: var(--fire); }
@media (max-width: 860px) { .thesis { grid-template-columns: 1fr; } .thesis__img { min-height: 62vw; } }

/* ---------- the four doors (pictorial menu) ---------- */
.menu { padding-block: clamp(70px, 9vw, 140px) clamp(40px, 5vw, 70px); }
.menu__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 60px; align-items: end; margin-bottom: clamp(34px, 4vw, 60px); }
.menu__head h2 { font-size: var(--step-4); }
.doors { display: flex; gap: 10px; height: min(78svh, 760px); padding-inline: var(--gutter); }
.door { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; text-decoration: none; color: var(--pale); isolation: isolate;
  transition: flex-grow .9s cubic-bezier(.2,.7,.2,1); }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s cubic-bezier(.2,.7,.2,1), filter .9s; filter: saturate(.85) brightness(.88); }
.door::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,8,.35), rgba(10,10,8,0) 30%, rgba(10,10,8,0) 45%, rgba(10,10,8,.85)); }
.door__top { position: absolute; top: 22px; left: 22px; right: 22px; display: flex; justify-content: space-between; gap: 10px; }
.door__body { position: absolute; left: 22px; right: 22px; bottom: 24px; display: grid; gap: 12px; }
.door h3 { font-size: clamp(2.4rem, 1.6rem + 2.6vw, 4.6rem); line-height: .9; }
.door .door__line { font-family: var(--display); font-style: italic; font-size: var(--step-1); line-height: 1.25; max-width: 30ch; }
.door .door__more { display: grid; gap: 14px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .8s, opacity .6s; }
.door .door__more p { font-size: var(--step--1); max-width: 40ch; color: #e1dfd5; }
.door .go { font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; display: inline-flex; gap: .6em; }
.door:hover, .door:focus-visible { flex-grow: 2.1; }
.door:hover img, .door:focus-visible img { transform: scale(1.04); filter: saturate(1) brightness(.95); }
.door:hover .door__more, .door:focus-visible .door__more { max-height: 220px; opacity: 1; }
.door--fire h3 { color: #f1c48f; } .door--water h3 { color: #cfe5e0; } .door--earth h3 { color: #ead5bb; } .door--wood h3 { color: #d8e3b4; }
.menu__note { padding: 28px var(--gutter) 0; display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: space-between; align-items: center; }
@media (hover: none), (max-width: 900px) {
  .doors { flex-direction: column; height: auto; gap: 12px; }
  .door { min-height: 118vw; max-height: 640px; flex: none; }
  .door .door__more { max-height: none; opacity: 1; }
  .door:hover { flex-grow: 0; }
}
@media (min-width: 560px) and (max-width: 900px) { .doors { display: grid; grid-template-columns: 1fr 1fr; } .door { min-height: 76vw; } }
@media (max-width: 860px) { .menu__head { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .door, .door img, .door__more { transition: none; } }

/* ---------- the weave ---------- */
.weave { padding-block: clamp(80px, 10vw, 160px); }
.weave__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 60px; align-items: end; margin-bottom: clamp(44px, 6vw, 90px); }
.weave__head h2 { font-size: var(--step-4); }
.chain { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); align-items: start; }
.node { display: grid; justify-items: center; width: 100%; gap: 14px; text-decoration: none; color: inherit; grid-row: 1; }
.node img { width: min(100%, 210px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; transition: transform .6s; }
.node:hover img { transform: scale(1.04); }
.node b { font-family: var(--display); font-weight: 400; font-size: var(--step-2); }
.link { grid-row: 1; display: grid; gap: 10px; padding: 0 10px; padding-top: clamp(30px, 5vw, 80px); text-align: center; position: relative; }
.link::before { content: ""; position: absolute; left: -6%; right: -6%; top: clamp(16px, 3vw, 50px); height: 1px; background: currentColor; opacity: .35; }
.link .sc { font-size: var(--step-1); line-height: 1.15; }
.link p { font-size: var(--step--1); line-height: 1.5; }
.weave__arc { margin-top: clamp(50px, 6vw, 90px); display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line-light); padding-top: 28px; }
.weave__arc p { max-width: 60ch; font-family: var(--display); font-size: var(--step-1); line-height: 1.35; }
@media (max-width: 900px) {
  .weave__head { grid-template-columns: 1fr; }
  .chain { grid-template-columns: 1fr; justify-items: center; gap: 0; }
  .node, .link { grid-row: auto; }
  .node img { max-width: 170px; }
  .link { padding: 26px 0 30px; max-width: 34ch; }
  .link::before { left: 50%; right: auto; top: 0; bottom: 0; width: 1px; height: auto; opacity: .2; }
  .link > * { position: relative; background: var(--salt); padding-block: 4px; }
}

/* ---------- earth medicine ---------- */
.medicine { padding-block: clamp(80px, 10vw, 150px); }
.medicine .inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.medicine__imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.medicine__imgs img { width: 100%; object-fit: cover; }
.medicine__imgs img:first-child { aspect-ratio: 2/3; }
.medicine__imgs img:last-child { aspect-ratio: 3/4; margin-bottom: 18%; object-position: 40% 50%; }
.medicine h2 { font-size: var(--step-4); margin-bottom: 26px; }
@media (max-width: 860px) { .medicine .inner { grid-template-columns: 1fr; } }

/* ---------- ways to work ---------- */
.ways { padding-block: clamp(80px, 10vw, 150px); }
.ways__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.ways__head h2 { font-size: var(--step-4); }
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px); }
.offer { display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px; border-top: 1px solid var(--line-light); padding-top: 18px; min-width: 0; }
.ground-night .offer, .ground-night-2 .offer { border-top-color: var(--line-dark); }
.offer img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.offer .meta { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.offer h3 { font-size: var(--step-3); }
.offer p { max-width: 44ch; }
.offer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: var(--step--1); }
.offer ul li { padding-left: 1.2em; position: relative; }
.offer ul li::before { content: "·"; position: absolute; left: .2em; font-weight: 700; }
.unsure { margin-top: clamp(50px, 6vw, 90px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: center; padding: clamp(28px, 4vw, 54px); background: var(--ink); color: var(--salt); }
.unsure h3 { font-size: var(--step-3); }
.unsure .btn:hover { background: var(--salt); color: var(--ink); }
@media (max-width: 900px) { .ways__head { grid-template-columns: 1fr; } .offers { grid-template-columns: 1fr; } .offer img { aspect-ratio: 4/3; } .unsure { grid-template-columns: 1fr; } }

/* ---------- begin before we meet ---------- */
.begin { position: relative; isolation: isolate; padding-block: clamp(90px, 12vw, 180px); overflow: hidden; }
.begin__bg { position: absolute; inset: 0; z-index: -1; }
.begin__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.9); }
.begin .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 80px; align-items: end; }
.begin h2 { font-size: var(--step-4); }
@media (max-width: 860px) { .begin .inner { grid-template-columns: 1fr; } }

/* forms */
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.field input, .field textarea, .field select {
  font: inherit; font-weight: 300; color: inherit; background: transparent; border: 0; border-bottom: 1px solid currentColor;
  padding: 10px 0; border-radius: 0; width: 100%; min-width: 0;
}
.field textarea { min-height: 140px; resize: vertical; border: 1px solid currentColor; padding: 12px 14px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 14px) 55%, calc(100% - 9px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.ground-night select option, .ground-night-2 select option { color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: inherit; opacity: .5; }
.inline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: end; }
@media (max-width: 520px) { .inline-form { grid-template-columns: 1fr; } }
.form-done { font-family: var(--display); font-size: var(--step-2); line-height: 1.2; }
.form-done small { display: block; font-family: var(--body); font-size: var(--step--1); margin-top: 10px; opacity: .7; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.chips legend { margin-bottom: 12px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-block; border: 1px solid currentColor; padding: .55em 1.1em; cursor: pointer; font-size: var(--step--1); letter-spacing: .06em; transition: background .25s, color .25s; }
.chip input:checked + span { background: var(--ink); color: var(--salt); border-color: var(--ink); }
.ground-night .chip input:checked + span, .ground-night-2 .chip input:checked + span { background: var(--pale); color: var(--ink); border-color: var(--pale); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- about ---------- */
.about { padding-block: clamp(80px, 10vw, 150px); }
.about .inner { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 6vw, 110px); align-items: start; }
.about__imgs { position: relative; }
@media (min-width: 861px) { .about__imgs { position: sticky; top: 110px; } }
.about__imgs img:first-child { width: 86%; aspect-ratio: 2/3; object-fit: cover; }
.about__imgs img:only-child { width: 100%; }
.about__imgs img + img { position: absolute; width: 44%; aspect-ratio: 3/4; object-fit: cover; right: 0; bottom: -8%; border: 10px solid var(--salt); }
.about h2 { font-size: var(--step-4); margin-bottom: 26px; }
.creds { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 0 22px; }
.creds__break { flex-basis: 100%; height: 0; }
.creds span { padding-block: 4px; font-family: "Cred Digits", var(--display-sc); font-size: var(--step-0); letter-spacing: .05em; }
@media (max-width: 860px) { .about .inner { grid-template-columns: 1fr; } .about__imgs { margin-bottom: 40px; } }

/* ---------- footer ---------- */
.site-foot { padding: clamp(60px, 8vw, 110px) var(--gutter) calc(env(safe-area-inset-bottom, 0px) + 36px); border-top: 1px solid var(--line-dark); }
.site-foot .inner { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.site-foot .big { font-family: var(--display); font-size: var(--step-3); line-height: 1; }
.site-foot .big em { color: var(--fire); }
.site-foot h4 { font-family: var(--body); font-size: var(--step--1); letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; color: var(--pale-soft); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--fire); }
.site-foot .base { margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--step--1); color: var(--pale-soft); }
@media (max-width: 860px) { .site-foot .inner { grid-template-columns: 1fr 1fr; } .site-foot .inner > :first-child { grid-column: 1 / -1; } }

/* =========================================================
   ELEMENT PAGES
   ========================================================= */
body.el-fire { --accent: var(--fire); --deep: var(--fire-deep); --tone: #f1c48f; }
body.el-water { --accent: var(--water); --deep: var(--water-deep); --tone: #cfe5e0; }
body.el-earth { --accent: var(--earth); --deep: var(--earth-deep); --tone: #ead5bb; }
body.el-wood { --accent: var(--wood); --deep: var(--wood-deep); --tone: #d8e3b4; }
body.el-work { --accent: var(--fire); --deep: var(--night-2); --tone: #f1c48f; }
body[class*="el-"] { background: var(--deep); }
.ground-deep { background: var(--deep); color: var(--pale); }

.el-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: min(100svh, 1000px); }
.el-hero__text { padding: calc(env(safe-area-inset-top, 0px) + 130px) var(--gutter) clamp(40px, 6vw, 80px); display: grid; align-content: end; gap: 26px; }
.el-hero__text .label { color: var(--tone); }
.el-hero h1 { font-size: clamp(4.4rem, 2rem + 11vw, 12rem); line-height: .82; color: var(--tone); margin-left: -.04em; }
.el-hero .subtitle { font-family: var(--display); font-style: italic; font-size: var(--step-2); line-height: 1.2; max-width: 24ch; }
.el-hero__img { position: relative; min-height: 70vw; overflow: hidden; }
.el-hero__img::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 160px; background: linear-gradient(180deg, rgba(10,10,8,.55), rgba(10,10,8,0)); pointer-events: none; }
.el-hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: settle 3s cubic-bezier(.2,.6,.2,1) both; }
.el-hero__img figcaption { position: absolute; left: 18px; bottom: 16px; color: #f2f1ea; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.el-hero__practices { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.el-hero__practices span { border: 1px solid var(--line-dark); padding: .45em .9em; font-size: var(--step--1); }
@media (min-width: 861px) { .el-hero__img { min-height: auto; } }
@media (max-width: 860px) { .el-hero { grid-template-columns: 1fr; } .el-hero__img { order: -1; min-height: 110vw; } .el-hero__text { padding-top: 40px; } }
@media (prefers-reduced-motion: reduce) { .el-hero__img img { animation: none; } }

.el-intro { padding-block: clamp(80px, 10vw, 150px); }
.el-intro .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 110px); }
.el-intro h2 { font-size: var(--step-4); }
.el-intro .prose { font-size: var(--step-0); }
.el-intro .prose p:first-child { font-size: var(--step-1); line-height: 1.5; font-weight: 400; }
@media (max-width: 860px) { .el-intro .inner { grid-template-columns: 1fr; } }

.session { padding-block: clamp(70px, 9vw, 130px); }
.session__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 60px; align-items: end; margin-bottom: 50px; }
.session__head h2 { font-size: var(--step-4); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.steps li { counter-increment: s; border-top: 1px solid var(--line-dark); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.steps li::before { content: counter(s, lower-roman) "."; font-family: var(--display); font-style: italic; font-size: var(--step-2); color: var(--accent); }
.steps h3 { font-size: var(--step-2); }
.steps p { font-size: var(--step--1); line-height: 1.6; color: var(--pale-soft); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .session__head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* editorial gallery */
.gallery { padding-block: 10px clamp(60px, 8vw, 120px); padding-inline: var(--gutter); }
.gallery .grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; align-items: start; }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { color: var(--pale-soft); opacity: 1; }
.g-a { grid-column: 1 / span 7; } .g-a img { aspect-ratio: 4/3; }
.g-b { grid-column: 8 / span 5; margin-top: 18%; } .g-b img { aspect-ratio: 4/5; }
.g-c { grid-column: 2 / span 4; } .g-c img { aspect-ratio: 3/4; }
.g-d { grid-column: 6 / span 7; margin-top: 8%; } .g-d img { aspect-ratio: 16/10; }
.g-e { grid-column: 1 / span 5; } .g-e img { aspect-ratio: 1/1; }
.g-f { grid-column: 7 / span 5; margin-top: -10%; } .g-f img { aspect-ratio: 4/5; }
@media (max-width: 760px) {
  .gallery .grid { grid-template-columns: 1fr 1fr; }
  .gallery figure { grid-column: auto !important; margin-top: 0 !important; }
  .g-a, .g-d { grid-column: 1 / -1 !important; }
}

/* who / notice */
.who { padding-block: clamp(80px, 10vw, 140px); }
.who .inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); }
.who h2 { font-size: var(--step-3); margin-bottom: 22px; }
.who ul { list-style: none; margin: 0; padding: 0; display: grid; }
.who li { font-family: var(--display); font-size: var(--step-1); line-height: 1.32; padding: 16px 0; border-top: 1px solid var(--line-light); }
@media (max-width: 860px) { .who .inner { grid-template-columns: 1fr; } }

/* science */
.science { padding-block: clamp(80px, 10vw, 150px); }
.science__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px 60px; align-items: end; margin-bottom: clamp(40px, 5vw, 70px); }
.science__head h2 { font-size: var(--step-4); }
.findings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(30px, 4vw, 70px); }
.finding { border-top: 1px solid var(--line-dark); padding-block: 26px 34px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.finding .claim { font-family: var(--display); font-size: var(--step-2); line-height: 1.18; }
.finding .ref { font-size: var(--step--1); color: var(--pale-soft); }
.finding .ref a { text-decoration: none; border-bottom: 1px solid currentColor; }
.finding .ref a:hover { color: var(--tone); }
.weight { display: inline-flex; align-items: center; gap: 10px; font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }
.weight i { display: inline-flex; gap: 3px; font-style: normal; }
.weight i b { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--tone); }
.weight i b.on { background: var(--tone); }
.weight span { color: var(--pale-soft); text-transform: none; letter-spacing: .01em; font-weight: 300; }
.science__key { margin-top: 40px; font-size: var(--step--1); color: var(--pale-soft); max-width: 70ch; }
@media (max-width: 860px) { .science__head, .findings { grid-template-columns: 1fr; } }

/* try this */
.try { padding-block: clamp(80px, 10vw, 140px); }
.try .inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.try h2 { font-size: var(--step-4); margin-bottom: 18px; }
.try ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; }
.try ol li { counter-increment: t; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 10px; padding: 18px 0; border-top: 1px solid var(--line-light); }
.try ol li::before { content: counter(t); font-family: var(--display); font-size: var(--step-2); line-height: 1; }
.listen { margin-top: 30px; display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-light); }
.listen .disc { width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; flex: none; }
.listen .disc::after { content: ""; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 4px; opacity: .45; }
.listen p { font-size: var(--step--1); }
@media (max-width: 860px) { .try .inner { grid-template-columns: 1fr; } }

/* pairs */
.pairs { padding-block: clamp(70px, 9vw, 130px); }
.pairs h2 { font-size: var(--step-3); margin-bottom: 36px; }
.pairs .row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.pair { position: relative; display: grid; align-content: end; min-height: 440px; text-decoration: none; color: var(--pale); overflow: hidden; isolation: isolate; padding: 22px; }
.pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s; }
.pair::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78)); }
.pair:hover img { transform: scale(1.05); }
.pair .sc { color: #ecebe4; }
.pair h3 { font-size: var(--step-3); margin: 6px 0 10px; }
.pair p { font-size: var(--step--1); max-width: 36ch; }
.pair--quiet { opacity: .9; }
@media (max-width: 860px) { .pairs .row { grid-template-columns: 1fr; } .pair { min-height: 340px; } }

/* CTA */
.cta { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(110px, 14vw, 220px); }
.cta__bg { position: absolute; inset: 0; z-index: -1; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); }
.el-water .cta__bg img { filter: brightness(.64); }
.el-wood .cta__bg img { filter: brightness(.68); object-position: 50% 80%; }
.cta .inner { display: grid; gap: 26px; justify-items: start; }
.cta h2 { font-size: var(--step-5); max-width: 12ch; line-height: .95; }
.cta .lede { color: #e2e0d6; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* tonight's sky (fire page) */
.sky { padding-block: clamp(70px, 9vw, 130px); background: radial-gradient(120% 90% at 80% 0%, #2a2531 0%, #15131a 60%, #0d0c10 100%); color: var(--pale); position: relative; overflow: hidden; }
.sky canvas.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.sky .inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.moon { width: clamp(150px, 22vw, 260px); aspect-ratio: 1; }
.sky h2 { font-size: var(--step-4); margin-bottom: 18px; }
.sky dl { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: 18px 36px; margin: 28px 0 0; justify-content: start; }
.sky dt { font-size: var(--step--1); letter-spacing: .14em; text-transform: uppercase; color: var(--pale-soft); font-weight: 500; }
.sky dd { margin: 4px 0 0; font-family: var(--display); font-size: var(--step-2); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .sky .inner { grid-template-columns: 1fr; } .sky dl { grid-template-columns: repeat(2, minmax(0, auto)); } }

/* work page */
.work-hero { position: relative; isolation: isolate; min-height: min(84svh, 860px); display: grid; align-items: end; overflow: hidden; }
.work-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; object-position: 50% 60%; }
.work-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,8,.5), rgba(10,10,8,0) 30%, rgba(10,10,8,.8)); }
.work-hero .inner { padding: 0 var(--gutter) clamp(40px, 6vw, 80px); display: grid; gap: 20px; max-width: none; margin: 0; }
.work-hero .inner > * { max-width: 46ch; }
.work-hero h1 { max-width: 12ch !important; }
.work-hero h1 { font-size: var(--step-5); line-height: .95; max-width: 14ch; }
.how { padding-block: clamp(70px, 9vw, 130px); }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: h; }
.how li { counter-increment: h; border-top: 1px solid var(--line-light); padding-top: 18px; display: grid; gap: 10px; align-content: start; }
.how li::before { content: counter(h); font-family: var(--display); font-size: var(--step-3); line-height: 1; }
.how h3 { font-size: var(--step-2); }
.how h2 { font-size: var(--step-4); margin-bottom: 44px; }
@media (max-width: 900px) { .how ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .how ol { grid-template-columns: 1fr; } }
.enquire { padding-block: clamp(80px, 10vw, 150px); }
.enquire .inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 100px); align-items: start; }
.enquire h2 { font-size: var(--step-4); margin-bottom: 22px; }
.enquire form { display: grid; gap: 30px; }
.enquire .two { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.enquire aside img { width: 100%; aspect-ratio: 4/5; object-fit: cover; margin-top: 34px; }
@media (max-width: 860px) { .enquire .inner, .enquire .two { grid-template-columns: 1fr; } .enquire aside img { aspect-ratio: 4/3; } }
.faq { padding-block: clamp(70px, 9vw, 130px); }
.faq .inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(36px, 6vw, 100px); }
.faq h2 { font-size: var(--step-4); }
.faq details { border-top: 1px solid var(--line-dark); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-dark); }
.faq summary { font-family: var(--display); font-size: var(--step-2); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; line-height: 1.2; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-weight: 300; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin-top: 14px; max-width: 60ch; color: var(--pale-soft); }
@media (max-width: 860px) { .faq .inner { grid-template-columns: 1fr; } }

.notfound { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: var(--gutter); position: relative; isolation: isolate; }
.notfound img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; filter: brightness(.45); }
.notfound h1 { font-size: var(--step-5); margin-bottom: 20px; }

/* =========================================================
   VERSION 2 ADDITIONS
   ========================================================= */
/* Wordmark: larger, amber italic, with a home mark */
.wordmark { display: inline-flex; align-items: center; gap: 12px; color: #f0c58f; font-size: clamp(1.35rem, 1.05rem + 1.1vw, 2.05rem); }
.wordmark__icon { width: 1.35em; height: 1.35em; flex: none; transition: transform .6s; }
.wordmark:hover .wordmark__icon { transform: rotate(90deg); }
.wordmark__text { display: grid; line-height: 1.02; }
.wordmark__text small { display: block; font-style: normal; font-family: var(--body); font-size: .62rem; letter-spacing: .26em; text-transform: uppercase; color: var(--pale); opacity: .8; margin-top: 6px; }
.wordmark span { margin-top: 0; opacity: 1; font-size: inherit; letter-spacing: 0; text-transform: none; font-family: inherit; }
.wordmark .wordmark__text small { font-size: .62rem; }
@media (max-width: 520px) { .wordmark { font-size: 1.2rem; gap: 9px; } .wordmark__text small { font-size: .56rem; letter-spacing: .2em; } }
.nav .nav-home { opacity: .75; }

/* Hero headline is longer now */
.hero h1 { font-size: clamp(2.8rem, 1.7rem + 5.2vw, 7rem); }
.hero__copy { max-width: 980px; }

/* Almanac with moon symbol */
.almanac { display: grid; grid-template-columns: auto auto; gap: 4px 14px; align-items: center; justify-content: end; }
.almanac > b { grid-column: 1 / -1; }
.almanac__moon { grid-row: 2 / span 2; width: 42px; height: 42px; }
.almanac--hero .almanac__moon { width: 52px; height: 52px; }
.almanac__lines { display: grid; gap: 3px; }
.almanac--foot { justify-content: start; text-align: left; margin-top: 18px; }
.almanac--foot .almanac__moon { width: 36px; height: 36px; }
@media (max-width: 760px) { .almanac--hero { justify-content: start; text-align: left; } }

/* Three-picture gallery */
.gallery--three .g-a { grid-column: 1 / span 7; } .gallery--three .g-a img { aspect-ratio: 4/3; }
.gallery--three .g-b { grid-column: 8 / span 5; margin-top: 16%; } .gallery--three .g-b img { aspect-ratio: 4/5; }
.gallery--three .g-c { grid-column: 3 / span 6; margin-top: -6%; } .gallery--three .g-c img { aspect-ratio: 3/2; }
@media (max-width: 760px) {
  .gallery--three .g-a, .gallery--three .g-c { grid-column: 1 / -1 !important; }
  .gallery--three .g-b { grid-column: 1 / -1 !important; }
  .gallery--three .g-b img { aspect-ratio: 4/3; }
}
