:root {
  --ink: #242123;
  --muted: #6d6668;
  --paper: #f5f0ea;
  --paper-deep: #ebe3db;
  --accent: #6d4056;
  --accent-deep: #4f2d3d;
  --accent-soft: #d8c3cd;
  --sage: #6d7565;
  --line: rgba(36, 33, 35, 0.16);
  --white: #fffdf9;
  --shell: min(1180px, calc(100vw - 48px));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

p { text-wrap: pretty; }

.shell {
  width: var(--shell);
  margin: 0 auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  padding: 28px 0;
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-inner { gap: 20px; }

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  width: 70px;
  height: 44px;
  padding: 4px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  line-height: 0;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

@media (max-width: 1024px) {
  .header-inner { gap: 16px; }
}

.site-nav {
  display: flex;
  gap: clamp(20px, 3.5vw, 42px);
  font-size: 14px;
}

.site-nav a,
.footer-inner a {
  position: relative;
}

.site-nav a::after,
.footer-inner a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.footer-inner a:hover::after,
.footer-inner a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 150px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: stretch;
}

.eyebrow,
.section-label {
  margin: 0 0 24px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.section-label.light { color: var(--accent-soft); }

.hero h1,
.intro-section h2,
.faith-section h2,
.section-heading h2,
.journey-section h2,
.closing-section h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.035em;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(58px, 8vw, 114px);
  line-height: 1.03;
}

.hero h1 em {
  color: var(--accent);
  font-weight: 400;
}

.hero-intro {
  max-width: 650px;
  margin: 38px 0 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.text-link span { transition: transform .25s ease; }
.text-link:hover span { transform: translate(4px, 4px); }

.portrait-mark {
  justify-self: end;
  width: min(100%, 380px);
}

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 48% 48% 10px 10px;
  background:
    radial-gradient(circle at 68% 25%, rgba(255,255,255,.9), transparent 19%),
    linear-gradient(145deg, var(--accent-soft), #b795a5 58%, var(--accent));
}

.initial {
  position: absolute;
  left: 50%;
  bottom: -8%;
  color: rgba(255, 253, 249, .78);
  font-family: "Snell Roundhand", "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(230px, 25vw, 370px);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
  transform: translateX(-50%);
}

.line {
  position: absolute;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
}

.line-one {
  width: 72%;
  aspect-ratio: 1;
  top: 9%;
  right: -27%;
}

.line-two {
  width: 96%;
  aspect-ratio: 1;
  bottom: -36%;
  left: -48%;
}

.dot {
  position: absolute;
  top: 18%;
  left: 17%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
}

.portrait-mark p {
  margin: 12px 2px 0;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-align: right;
  text-transform: uppercase;
}

.intro-section,
.faith-section,
.life-section,
.journey-section,
.work-section,
.closing-section {
  border-top: 1px solid var(--line);
}

.intro-section,
.life-section,
.journey-section,
.work-section {
  padding: clamp(90px, 11vw, 155px) 0;
}

.life-section {
  color: var(--ink);
  background: var(--paper-deep);
}

.life-section .section-label {
  color: var(--accent);
}

.life-section .section-heading h2 {
  color: var(--ink);
}

.intro-section {
  background: var(--white);
}

.split-layout,
.journey-grid,
.closing-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(30px, 7vw, 100px);
}

.intro-section h2,
.journey-section h2,
.closing-section h2 {
  max-width: 900px;
  font-size: 68px;
  line-height: 1.08;
}

.body-large {
  max-width: 790px;
  margin: 38px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.intro-copy > p:not(.body-large) {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.faith-section {
  padding: clamp(100px, 12vw, 170px) 0;
  color: var(--ink);
  background: var(--white);
}

.faith-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr);
  gap: clamp(50px, 9vw, 130px);
  align-items: start;
}

.faith-kicker,
.work-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.faith-section h2 {
  max-width: 720px;
  font-size: 68px;
  line-height: 1.02;
}

.faith-copy {
  padding-top: 50px;
}

.faith-copy p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.faith-section .section-label.light {
  color: var(--accent);
}

.section-heading {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(30px, 7vw, 100px);
  align-items: end;
  margin-bottom: 68px;
}

.section-heading h2 {
  max-width: 850px;
  font-size: 68px;
  line-height: 1.08;
}

.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.life-card {
  min-height: 360px;
  padding: 34px;
  background: var(--paper);
}

.life-card.dawn {
  background: var(--paper);
}

.life-card.forest {
  background: #efebe5;
}

.life-card.people {
  background: var(--white);
}

.card-number,
.strength-card span {
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .08em;
}

.life-card h3,
.strength-card h3 {
  margin: 96px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -.025em;
}

.life-card p,
.strength-card p {
  margin: 0;
  color: var(--muted);
}

.journey-section {
  color: var(--white);
  background: var(--accent);
}

.journey-section .section-label {
  color: var(--accent-soft);
}

.journey-section h2 {
  color: var(--white);
}

.journey-section .body-large,
.journey-section p:not(.section-label) {
  color: rgba(255,253,249,.78);
}

.journey-section p:not(.section-label):not(.body-large) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255,253,249,.78);
  font-size: 17px;
}

.work-section {
  color: var(--white);
  background: var(--accent-deep);
}

.work-section .section-label,
.work-section .work-kicker {
  color: var(--accent-soft);
}

.work-section .section-heading {
  align-items: start;
}

.work-section .section-heading h2 {
  color: var(--white);
}

.work-section .work-intro {
  color: rgba(255,253,249,.78);
}

.work-section .strength-grid {
  border-color: rgba(255,255,255,.18);
}

.work-section .strength-card {
  color: var(--ink);
  border-color: rgba(36,33,35,.12);
}

.work-section .strength-card:nth-child(odd) {
  background: var(--paper-deep);
}

.work-section .strength-card:nth-child(even) {
  background: var(--white);
}

.work-section .strength-card h3 {
  color: var(--ink);
}

.work-section .strength-card p {
  color: var(--muted);
}

.work-section .strength-card span {
  color: var(--accent);
}

.work-kicker {
  color: var(--accent);
  font-size: 14px;
}

.work-intro {
  max-width: 820px;
  margin: -10px 0 60px 320px;
  color: var(--muted);
  font-size: 18px;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.strength-card {
  min-height: 300px;
  padding: 32px 38px 38px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.strength-card h3 {
  margin-top: 64px;
}

.closing-section {
  padding: clamp(90px, 11vw, 150px) 0;
  color: var(--ink);
  background: var(--white);
}

.closing-section h2 {
  max-width: 900px;
  font-size: 68px;
  line-height: 1.08;
}

.closing-section p:not(.section-label) {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.closing-section .section-label.light {
  color: var(--accent);
}

.closing-section h2 {
  color: var(--ink);
}

.site-footer {
  padding: 28px 0;
  background: var(--ink);
  color: rgba(255,253,249,.72);
  font-size: 12px;
}

.footer-inner p { margin: 0; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 900px) {
  .life-grid { grid-template-columns: 1fr; }
  .life-card { min-height: 0; }
  .life-card h3 { margin-top: 46px; }

  .work-intro {
    margin-left: 0;
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  :root { --shell: min(100% - 32px, 680px); }

  .site-header { padding-top: 20px; }
  .site-nav { gap: 18px; }
  .site-nav a:nth-child(3) { display: none; }

  .hero {
    min-height: auto;
    padding: 140px 0 76px;
  }

  .hero-grid,
  .faith-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .portrait-mark {
    justify-self: stretch;
    width: min(82vw, 420px);
  }

  .split-layout,
  .journey-grid,
  .closing-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .faith-copy { padding-top: 0; }

  .strength-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .hero h1 { font-size: clamp(54px, 17vw, 74px); }
  .hero-intro { margin-top: 28px; }
  .portrait-mark { width: 100%; }

  .intro-section h2,
  .faith-section h2,
  .section-heading h2,
  .journey-section h2,
  .closing-section h2 {
    font-size: 40px;
  }

  .life-card,
  .strength-card {
    padding: 28px;
  }

  .site-footer { padding: 24px 0; }
}

.life-section .card-number {
  color: var(--accent);
}

.life-section .life-card h3 {
  color: var(--ink);
}

.life-section .life-card p {
  color: var(--muted);
}

.life-section .life-grid {
  background: var(--line);
  border-color: var(--line);
}

.work-section .strength-card:nth-child(3) {
  background: var(--white);
}

.work-section .strength-card:nth-child(4) {
  background: var(--paper-deep);
}


.coffee-cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 34px;
  padding: 0 0 6px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.coffee-cta span {
  transition: transform .25s ease;
}

.coffee-cta:hover span,
.coffee-cta:focus-visible span {
  transform: translate(3px, -3px);
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility .25s ease;
}

.contact-modal.is-open {
  visibility: visible;
  opacity: 1;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(36, 33, 35, .62);
  backdrop-filter: blur(4px);
}

.contact-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: calc(100svh - 48px);
  overflow-y: auto;
  padding: clamp(32px, 5vw, 56px);
  background: var(--white);
  box-shadow: 0 28px 80px rgba(36, 33, 35, .24);
}

.contact-modal__close {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: 0;
  color: var(--ink);
  background: transparent;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.contact-modal h2 {
  max-width: 500px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 68px;
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.contact-modal__intro {
  margin: 20px 0 30px;
  color: var(--muted);
  font-size: 17px;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.contact-form__field {
  display: grid;
  gap: 8px;
}

.contact-form label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--accent);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form__submit {
  justify-self: start;
  margin-top: 6px;
  padding: 13px 20px;
  border: 1px solid var(--accent-deep);
  color: var(--white);
  background: var(--accent-deep);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form__status {
  min-height: 1.5em;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .contact-modal h2 {
    font-size: 40px;
  }

  .contact-modal {
    padding: 12px;
  }

  .contact-modal__dialog {
    max-height: calc(100svh - 24px);
    padding: 34px 24px 28px;
  }
}


.contact-form__captcha {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.contact-form__captcha input {
  min-width: 0;
}

.contact-form__refresh {
  padding: 12px 0 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--accent);
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form__refresh:hover,
.contact-form__refresh:focus-visible {
  border-bottom-color: var(--accent);
}

.contact-form__honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.contact-form__submit:disabled,
.contact-form__refresh:disabled {
  cursor: wait;
  opacity: .55;
}

.contact-form__status[data-state="success"] {
  color: var(--sage);
}

.contact-form__status[data-state="error"] {
  color: #8d3d4b;
}

@media (max-width: 520px) {
  .contact-form__captcha {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-form__refresh {
    justify-self: start;
  }
}

/* Hero artwork */
.hero-art {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (min-width: 821px) {
  .hero-grid {
    grid-template-columns: minmax(0, 50%) minmax(0, 40%);
    column-gap: 10%;
    align-items: stretch;
  }

  .hero-copy {
    width: 100%;
  }

  .hero-art {
    align-self: stretch;
    justify-self: stretch;
  }
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }

  .hero-art {
    width: min(100%, 600px);
    height: auto;
    margin: 0 auto;
  }

  .hero-art img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
  }
}

@media (max-width: 520px) {
  .hero-art {
    width: 100%;
  }
}


/* Standardise body-copy sizing across the site. */
.hero-intro,
.intro-copy > p:not(.body-large),
.faith-copy p,
.life-card p,
.strength-card p,
.journey-section p:not(.section-label):not(.body-large),
.work-intro,
.closing-section p:not(.section-label),
.contact-modal__intro {
  font-size: 20px;
}

.body-large {
  font-size: 24px;
}

/* Right-hand drawers share the contact form's colours and typography. */
.work-actions { display: flex; justify-content: center; margin-top: 24px; }
.projects-cta { color: var(--white); border-bottom-color: currentColor; }
.projects-cta:hover span,
.projects-cta:focus-visible span { transform: translateX(4px); }

.side-drawer {
  overflow: hidden;
  display: block;
  padding: 0;
  opacity: 1;
  visibility: hidden;
  transition: visibility 0s linear .3s;
}
.side-drawer.is-open { visibility: visible; transition-delay: 0s; }
.side-drawer .contact-modal__backdrop {
  opacity: 0;
  transition: opacity .3s ease;
}
.side-drawer.is-open .contact-modal__backdrop { opacity: 1; }
.side-drawer .contact-modal__dialog {
  width: max(33.333333vw, 440px);
  max-width: 100%;
  height: 100dvh;
  max-height: none;
  padding: 76px 36px 40px;
  overscroll-behavior: contain;
  margin-left: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
  overflow-wrap: anywhere;
}
.side-drawer.is-open .contact-modal__dialog { transform: translateX(0); }
.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 8px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.project-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.project-list__number { color: var(--accent); font-size: 12px; padding-top: 3px; }
.project-list h3 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.015em;
}
.project-list p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.side-drawer button:focus-visible,
.projects-cta:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
@media (max-width: 820px) {
  .side-drawer .contact-modal__dialog { width: min(600px, 100%); }
}
@media (max-width: 520px) {
  .side-drawer .contact-modal__dialog { width: 100%; padding: 72px 24px 32px; }
}

/* Wider content drawers keep the project list and photo grid easy to scan. */
#projects-drawer .contact-modal__dialog,
#hiking-drawer .contact-modal__dialog { width: min(760px, max(40vw, 640px)); padding-top: 64px; }
#projects-drawer h2,
#hiking-drawer h2 { font-size: 40px; max-width: none; }
#projects-drawer .section-label { font-size: 12px; margin-bottom: 16px; }
#projects-drawer .contact-modal__intro { font-size: 17px; line-height: 1.55; margin: 18px 0 24px; }
.life-actions { display: flex; justify-content: center; margin-top: 24px; }
.gallery-cta:hover span,
.gallery-cta:focus-visible span { transform: translateX(4px); }
.gallery-empty { font-size: 20px; color: var(--muted); padding: 24px 0; border-top: 1px solid var(--line); }
.gallery-empty[hidden] { display: none; }
.hiking-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
.hiking-gallery button { display: block; width: 100%; padding: 0; border: 0; text-align: left; background: transparent; color: var(--ink); font: inherit; cursor: zoom-in; }
.hiking-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hiking-gallery span { display: block; margin-top: 10px; font-size: 16px; }
.photo-viewer { position: fixed; inset: 0; width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 64px 24px 24px; border: 0; color: var(--white); background: var(--ink); }
.photo-viewer::backdrop { background: rgba(36, 33, 35, .85); }
.photo-viewer[open] { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.photo-viewer figure { display: flex; flex: 1; min-height: 0; width: 100%; flex-direction: column; align-items: center; gap: 16px; margin: 0; }
.photo-viewer img { display: block; min-height: 0; max-height: calc(100dvh - 200px); max-width: 100%; object-fit: contain; }
.photo-viewer figcaption { font-size: 18px; text-align: center; }
.photo-viewer button { border: 1px solid currentColor; background: transparent; color: inherit; min-width: 44px; min-height: 44px; cursor: pointer; font-size: 22px; }
.photo-viewer__close { position: absolute; top: 12px; right: 20px; }
.photo-viewer__controls { display: flex; align-items: center; gap: 24px; }
.photo-viewer button:focus-visible { outline: 2px solid var(--white); outline-offset: 4px; }
@media (max-width: 820px) {
  #projects-drawer .contact-modal__dialog,
  #hiking-drawer .contact-modal__dialog { width: min(680px, 100%); }
}
@media (max-width: 520px) {
  #projects-drawer .contact-modal__dialog,
  #hiking-drawer .contact-modal__dialog { width: 100%; }
  #projects-drawer h2,
  #hiking-drawer h2 { font-size: 34px; }
  .project-list { grid-template-columns: 1fr; }
}

/* Section context for each slide-out. The section button returns to its trigger. */
.drawer-breadcrumbs { margin: 0 0 30px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.drawer-breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; list-style: none; padding: 0; margin: 0; }
.drawer-breadcrumbs button { padding: 0; border: 0; background: transparent; color: var(--accent); font: inherit; cursor: pointer; }
.drawer-breadcrumbs button:hover { text-decoration: underline; text-underline-offset: 3px; }
#contact-drawer h2 { font-size: 40px; }


/* Keep the mobile and tablet navigation visible, including landscape phones. */
@media (max-width: 1024px) {
  .site-header { position: sticky; top: 0; z-index: 100; padding: 14px 0; background: var(--paper); border-bottom: 1px solid var(--line); }
  .hero { padding-top: 60px; }
  main section[id] { scroll-margin-top: 88px; }
  .skip-link { z-index: 1100; }
}
.contact-form__security { min-width: 0; }
.contact-form__security-label { display: block; margin-bottom: 10px; font-size: 13px; font-weight: 700; letter-spacing: .05em; }
[data-turnstile-widget] { min-height: 65px; }
[data-security-retry][hidden] { display: none; }
