@font-face { font-family: 'Big Shoulders Stencil Text'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/big-shoulders-stencil-text-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Stencil Text'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/big-shoulders-stencil-text-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Stencil Text'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/big-shoulders-stencil-text-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Stencil Text'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/big-shoulders-stencil-text-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Stencil Text'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/big-shoulders-stencil-text-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Stencil Text'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/big-shoulders-stencil-text-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Stencil Text'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/big-shoulders-stencil-text-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Stencil Text'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/big-shoulders-stencil-text-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Big Shoulders Stencil Text'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/big-shoulders-stencil-text-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/libre-baskerville-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/libre-baskerville-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/libre-baskerville-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/libre-baskerville-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/libre-baskerville-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/libre-baskerville-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Libre Baskerville'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/libre-baskerville-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Libre Baskerville'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #ebe7dd;
  --fg-light-base-body: #23211b;
  --fg-light-base-heading: #23211b;
  --fg-light-base-muted: #57534a;
  --fg-light-base-link: #576416;
  --fg-light-base-inverse: #23211b;
  --bg-light-card: #f7f5ef;
  --fg-light-card-body: #23211b;
  --fg-light-card-heading: #23211b;
  --fg-light-card-muted: #57534a;
  --fg-light-card-link: #576416;
  --fg-light-card-inverse: #23211b;
  --bg-light-elevated: #dfd9cb;
  --fg-light-elevated-body: #23211b;
  --fg-light-elevated-heading: #23211b;
  --fg-light-elevated-muted: #57534a;
  --fg-light-elevated-link: #576416;
  --fg-light-elevated-inverse: #23211b;
  --brand-light-accent: #576416;
  --brand-light-accent-hover: #424a0d;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #576416;
  --border-light-default: #7c7668;
  --border-light-subtle: #cbc4b4;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Behind-glass practice journal: linen neutrals, olive accent, stencil display over a bookish serif. */

:root {
  --font-display: 'Big Shoulders Stencil Text', 'Arial Narrow', 'Helvetica Neue', sans-serif;
  --font-text: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
  --linen: #ebe7dd;
  --paper: #f7f5ef;
  --stone: #dfd9cb;
  --ink: #23211b;
  --ink-soft: #57534a;
  --olive: #576416;
  --olive-deep: #424a0d;
  --chartreuse: #c4cf55;
  --rule: #cbc4b4;
  --rule-strong: #7c7668;
  --measure: 38rem;
  --wide: 76rem;
  --gutter: clamp(1rem, 4vw, 2.75rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: 1.0625rem;
  line-height: 1.8;
  overflow-x: clip;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0;
}

p,
ul,
ol {
  margin: 0 0 1.2em;
}

img {
  max-width: 100%;
  height: auto;
}

a.text-role-link {
  color: var(--olive);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a.text-role-link:hover {
  color: var(--olive-deep);
  text-decoration-thickness: 2px;
}

a:focus-visible,
summary:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--olive);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.5rem 0.9rem;
  background: var(--paper);
}

.skip-link:focus {
  top: 1rem;
}

/* ---------- Header (static) with full-overlay menu ---------- */

.site-header {
  position: static;
  border-bottom: 1px solid var(--rule);
}

.masthead {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.9rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.6rem, 3vw, 1.25rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: clamp(0.55rem, 2vw, 0.75rem);
  color: var(--ink);
  text-decoration: none;
}

.brand .site-logo {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 3.6vw, 1.85rem);
  line-height: 1;
  letter-spacing: 0.01em;
  overflow-wrap: normal;
}

.menu-slot {
  flex: 0 0 auto;
}

.site-menu > summary {
  position: relative;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 2.75rem;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  background: var(--paper);
  cursor: pointer;
  list-style: none;
}

.site-menu > summary::-webkit-details-marker {
  display: none;
}

.menu-icon {
  display: inline-block;
  width: 1.25rem;
  height: 0.85rem;
  background:
    linear-gradient(currentColor, currentColor) top / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 70% 2px no-repeat,
    linear-gradient(currentColor, currentColor) bottom / 100% 2px no-repeat;
  background-position: left top, left center, left bottom;
}

.site-menu[open] .menu-icon {
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.site-menu[open] > summary {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--paper);
}

.site-menu > ul {
  position: fixed;
  inset: 0;
  z-index: 40;
  margin: 0;
  padding: clamp(5.5rem, 14vh, 8rem) var(--gutter) 3rem;
  list-style: none;
  overflow-y: auto;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.site-menu li {
  border-bottom: 1px solid #4a473d;
  width: min(100%, 44rem);
  margin-inline: auto;
}

.site-menu a {
  display: block;
  padding: 0.55rem 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.1;
  color: var(--paper);
  text-decoration: none;
}

.site-menu a:hover,
.site-menu a:focus-visible {
  color: var(--chartreuse);
}

.site-menu a:focus-visible {
  outline-color: var(--chartreuse);
}

.site-menu ul ul {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0 0 0 1.25rem;
}

.site-menu ul ul a {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 1.05rem;
}

.site-menu ul ul li {
  border-bottom: 0;
}

/* ---------- Frame and breadcrumbs ---------- */

.page-frame {
  padding-bottom: 5rem;
}

.breadcrumbs {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.25rem var(--gutter) 0;
  font-size: 0.85rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.7rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.7rem;
  color: var(--rule-strong);
}

.page-title h1 {
  font-size: clamp(2.6rem, 7vw, 4.75rem);
  max-width: 18ch;
}

/* ---------- Prose ---------- */

.prose h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.4rem);
  margin: 2.4rem 0 0.9rem;
}

.prose h3 {
  font-size: clamp(1.35rem, 2.6vw, 1.65rem);
  margin: 1.8rem 0 0.6rem;
}

.prose > :first-child {
  margin-top: 0;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose li::marker {
  color: var(--olive);
}

.prose blockquote {
  margin: 1.6rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 3px solid var(--chartreuse);
  font-style: italic;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 0 0 1.4rem;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid var(--rule);
}

.prose th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  border-bottom-color: var(--rule-strong);
}

.prose figure {
  margin: 2rem 0;
}

.prose figure img {
  display: block;
  width: 100%;
  border-radius: 2px;
}

.prose section[data-section][style] {
  background-size: cover;
  background-position: center;
  padding: clamp(2rem, 6vw, 4rem) var(--gutter);
  margin: 2rem 0;
}

.prose section[data-section][style] > .bg-surface-card {
  max-width: var(--measure);
  padding: 1.5rem;
}

/* ---------- Home: one column of photo bands and diary entries ---------- */

.cover {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vw, 5rem) var(--gutter) clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 1.75rem;
}

.cover-title h1 {
  font-size: clamp(3.4rem, 12vw, 8.5rem);
  line-height: 0.92;
  max-width: 11ch;
  letter-spacing: -0.005em;
}

.cover-notes {
  max-width: 34rem;
  padding-left: 1.1rem;
  border-left: 3px solid var(--chartreuse);
}

.cover-notes .display-line {
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.65;
  margin: 0 0 0.8rem;
  color: var(--ink-soft);
}

.cover-notes .display-line:last-child {
  margin-bottom: 0;
}

@media (min-width: 58rem) {
  .cover {
    grid-template-columns: minmax(0, 1.5fr) minmax(16rem, 1fr);
    align-items: end;
  }

  .cover-notes {
    margin-bottom: 0.75rem;
  }
}

.journal > * {
  width: min(var(--measure), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.journal > .photo-hero {
  width: 100%;
  margin: 0 0 clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}

.journal > .photo-hero img {
  display: block;
  width: 100%;
  height: clamp(16rem, 52vw, 38rem);
  object-fit: cover;
}

.journal > .photo-inline {
  width: 100%;
  margin: 3rem 0;
}

.journal > .photo-inline img {
  display: block;
  width: 100%;
  height: clamp(14rem, 40vw, 30rem);
  object-fit: cover;
  border-radius: 0;
}

.journal > h2 {
  margin-top: 3.25rem;
  padding: 1.4rem 0 0.4rem;
  border-top: 2px solid var(--ink);
  position: relative;
}

.journal > h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: -2px;
  width: 3.5rem;
  height: 6px;
  background: var(--chartreuse);
}

.journal > h2 + p {
  font-size: 1.12rem;
}

/* ---------- Stepped essays (article and about) ---------- */

.essay-head {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem) var(--gutter) clamp(1.5rem, 4vw, 2.5rem);
}

.stepped {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.stepped > * {
  max-width: var(--measure);
}

.stepped > h2 {
  padding-top: 0.9rem;
  border-top: 2px solid var(--ink);
}

.stepped > .photo-hero,
.stepped > .photo-inline {
  max-width: none;
  margin: 2.5rem 0;
}

.stepped > .photo-hero img,
.stepped > .photo-inline img {
  height: clamp(14rem, 42vw, 30rem);
  object-fit: cover;
}

@media (min-width: 62rem) {
  .stepped > h2:nth-of-type(3n + 2),
  .stepped > h2:nth-of-type(3n + 2) ~ * {
    margin-left: 7rem;
  }

  .stepped > h2:nth-of-type(3n + 3),
  .stepped > h2:nth-of-type(3n + 3) ~ * {
    margin-left: 14rem;
  }

  .stepped > h2:nth-of-type(3n + 4),
  .stepped > h2:nth-of-type(3n + 4) ~ * {
    margin-left: 0;
  }

  .stepped > figure.photo-inline {
    width: min(100%, 50rem);
    margin-left: auto;
    margin-right: 0;
  }

  .stepped > figure.photo-hero {
    margin-left: 0;
    width: 100%;
  }
}

.stepped-stages > h2 {
  border-top-color: var(--olive);
}

.stepped-stages > h2 + p {
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Topic hub: split ---------- */

.hub-head {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem) var(--gutter) clamp(1.5rem, 4vw, 2.5rem);
}

.hub-split {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 2.5rem;
}

.hub-story {
  min-width: 0;
  max-width: 44rem;
}

.hub-story .photo-inline img,
.hub-story .photo-hero img {
  height: clamp(15rem, 40vw, 28rem);
  object-fit: cover;
}

.hub-index {
  align-self: start;
  padding: 1.5rem 1.4rem 1.25rem;
  border-top: 6px solid var(--olive);
}

.hub-index-title {
  font-size: 1.6rem;
  margin-bottom: 0.9rem;
}

.hub-items ul {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: page;
}

.hub-items li {
  counter-increment: page;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.25rem;
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
}

.hub-items li::before {
  content: counter(page);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  line-height: 1.4;
  color: var(--olive);
}

.hub-items a {
  font-size: 1rem;
  line-height: 1.45;
}

@media (min-width: 60rem) {
  .hub-split {
    grid-template-columns: minmax(0, 1.65fr) minmax(17rem, 1fr);
    gap: 3.5rem;
  }

  .hub-index {
    position: sticky;
    top: 1.5rem;
  }
}

/* ---------- Contact: grid of cards ---------- */

.enquiry {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem) var(--gutter) 0;
}

.enquiry .page-title {
  margin-bottom: 2rem;
}

.enquiry-grid {
  display: grid;
  gap: 1.25rem;
}

.enquiry-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--rule);
  border-top: 6px solid var(--olive);
}

.enquiry-notes h2 {
  font-size: 1.6rem;
}

.field-pair {
  display: grid;
  gap: 0 1rem;
}

.field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 1.15rem;
}

.field label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}

.field input {
  min-height: 2.9rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--rule-strong);
  border-radius: 2px;
}

.field input:focus-visible {
  border-color: var(--olive);
}

.enquiry-button {
  min-height: 3rem;
  padding: 0.6rem 1.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: #ffffff;
  background: var(--olive);
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}

.enquiry-button:hover {
  background: var(--olive-deep);
}

@media (min-width: 36rem) {
  .field-pair {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 60rem) {
  .enquiry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

/* ---------- Thank you: two columns ---------- */

.close {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(1.75rem, 5vw, 3rem) var(--gutter) 0;
}

.close-cols {
  display: grid;
  gap: 2rem;
}

.close-crop {
  position: relative;
  min-height: 14rem;
  background:
    linear-gradient(135deg, rgba(196, 207, 85, 0.55), rgba(87, 100, 22, 0.15) 60%),
    var(--stone);
  border: 1px solid var(--rule-strong);
  overflow: hidden;
}

.pane {
  position: absolute;
  border: 1.5px solid rgba(35, 33, 27, 0.35);
  background: rgba(247, 245, 239, 0.35);
}

.pane-a {
  inset: 12% 46% 12% 10%;
}

.pane-b {
  inset: 22% 10% 22% 58%;
}

.close-text {
  max-width: var(--measure);
}

.close-text .page-title {
  margin-bottom: 1.25rem;
}

@media (min-width: 56rem) {
  .close-cols {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: stretch;
  }

  .close-crop {
    min-height: 26rem;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule-strong);
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2rem var(--gutter) 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-pane {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border: 1.5px solid var(--olive);
  background: linear-gradient(135deg, var(--chartreuse) 0 50%, transparent 50%);
}

.footer-line {
  margin: 0;
  font-style: italic;
  font-size: 0.95rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
