@charset "UTF-8";

:root {
  color-scheme: light;
  --creek-ground: #f4e3dc;
  --creek-ink: #2b1a16;
  --creek-red: #b83a2b;
  --creek-blue: #4a90a4;
  --creek-link: #28586a;
  --creek-stone: #faf5f0;
  --creek-wash: #e1edf0;
  --creek-display: "Alfa Slab One", Georgia, serif;
  --creek-text: "Work Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--creek-ground); color: var(--creek-ink); font: 400 19px/1.75 var(--creek-text); }
a { color: var(--creek-ink); text-decoration-color: var(--creek-blue); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: color 160ms, text-decoration-thickness 160ms, background-color 160ms; }
a:hover { color: var(--creek-link); text-decoration-thickness: 4px; }
a:focus-visible { outline: 3px solid var(--creek-ink); outline-offset: 6px; background: #fff; color: var(--creek-ink); border-radius: 2px; }
::selection { background: var(--creek-red); color: #fff; }
h1, h2, h3 { font-family: var(--creek-display); font-weight: 400; line-height: 1.23; text-wrap: balance; }
h1 { margin: 0; font-size: clamp(2.5rem, 4.8vw, 4.25rem); letter-spacing: -.035em; }
h2 { margin: 0 0 1.5rem; font-size: clamp(1.8rem, 2.7vw, 2.65rem); letter-spacing: -.025em; }
h3 { margin: 0 0 .7rem; font-size: 1.35rem; }
p { margin: 0 0 1.5rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; }
img { max-width: 100%; height: auto; }
figure { margin: 2rem 0; }
figcaption { font-size: 18px; line-height: 1.6; }
svg.lucide, i[data-lucide] { display: inline-block; width: 24px; height: 24px; flex: 0 0 24px; stroke-width: 1.6px; vertical-align: middle; }
.creek-skip { position: absolute; left: 1.5rem; top: -6rem; z-index: 9; background: #fff; padding: .6rem 1rem; }
.creek-skip:focus { top: .75rem; }

/* A place-first reading field, with a separate, grounded signature. */
.creek-masthead { padding: 1.7rem max(2rem, calc((100% - 1312px)/2)) 1.5rem; }
.creek-navfield { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "reading reading" "name short"; column-gap: 2rem; }
.creek-longpaths { grid-area: reading; display: grid; padding-bottom: 1.5rem; }
.creek-longpaths a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .5rem 0; font-size: 22px; font-weight: 600; line-height: 1.45; text-decoration: none; }
.creek-longpaths a span { text-decoration: underline; text-decoration-color: var(--creek-blue); text-decoration-thickness: 1px; text-underline-offset: 6px; }
.creek-longpaths a:hover { background: var(--creek-stone); }
.creek-longpaths a:hover span { text-decoration-thickness: 3px; }
.creek-longpaths .lucide { color: var(--creek-link); width: 28px; height: 28px; }
.creek-wordmark { grid-area: name; border-top: 1px solid var(--creek-blue); padding-top: 1rem; font: 400 clamp(1.6rem, 2.6vw, 2.35rem)/1.35 var(--creek-display); text-decoration: none; letter-spacing: -.025em; }
.creek-wordmark:hover { color: var(--creek-red); }
.creek-shortpaths { grid-area: short; display: flex; align-items: center; justify-content: flex-end; gap: 2rem; border-top: 1px solid var(--creek-blue); padding-top: 1rem; }
.creek-shortpaths a { font-size: 18px; }
.creek-shortpaths a[aria-current="page"] { text-decoration-color: var(--creek-red); text-decoration-thickness: 4px; }

/* The photograph is the whole hero. Only the words' region is darkened. */
.creek-daylight { position: relative; isolation: isolate; min-height: max(600px, calc(100svh - 244px)); display: grid; place-items: center; padding: 5rem 2rem; background: #ede3d9; overflow: hidden; }
.creek-daylight > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; z-index: -2; }
.creek-daylight h1 { position: relative; color: #fff; text-align: center; max-width: 1080px; font-size: clamp(3.5rem, 5.8vw, 5.25rem); line-height: 1.15; letter-spacing: -.03em; }
.creek-daylight::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(43,26,22,0) 0%, rgba(43,26,22,.12) 8%, rgba(43,26,22,.36) 18%, rgba(43,26,22,.64) 28%, rgba(43,26,22,.68) 42%, rgba(43,26,22,.68) 58%, rgba(43,26,22,.64) 72%, rgba(43,26,22,.36) 82%, rgba(43,26,22,.12) 92%, rgba(43,26,22,0) 100%); }
.creek-purpose { background: var(--creek-red); color: #fff; padding: 2rem max(2rem, calc((100% - 1180px)/2)); }
.creek-purpose p { max-width: 1050px; font-size: clamp(1.25rem, 1.9vw, 1.7rem); line-height: 1.5; }
.creek-local-preface { background: var(--creek-stone); padding: 4.6rem max(2rem, calc((100% - 1180px)/2)) 4.2rem; }
.creek-local-preface p { max-width: 1040px; font-size: clamp(1.35rem, 2.2vw, 1.95rem); line-height: 1.6; letter-spacing: -.025em; }

/* A long 680px explanation; its heading reaches beyond the reading column. */
.creek-owner-explanation { max-width: 680px; width: calc(100% - 40px); margin: 0 auto; padding: 5.5rem 0 6rem; }
.creek-owner-explanation h2 { position: relative; width: calc(100% + 240px); margin: 0 0 2.4rem -120px; font-size: clamp(2rem, 3.7vw, 3.35rem); }
.creek-owner-explanation > p:first-of-type::first-letter { float: left; margin: .06em .12em -.12em 0; color: var(--creek-red); font: 400 5.5rem/.9 var(--creek-display); }
.creek-levels { display: grid; gap: 11px; width: calc(100% + 100px); margin-left: -50px; padding: 1.2rem 0 2.3rem; }
.creek-levels span { display: block; height: 1px; background: var(--creek-blue); }
.creek-levels span:last-child { width: 72%; background: var(--creek-red); }
@media (prefers-reduced-motion: no-preference) {
  .creek-levels { animation: creek-line-settle 850ms ease-out both; }
  @keyframes creek-line-settle { from { transform: translateX(-12px); } to { transform: translateX(0); } }
}

/* Saturated creek blue carries the risks; the practical close crosses its edge. */
.creek-wide-rules { background: var(--creek-blue); padding: 4.8rem max(2rem, calc((100% - 1180px)/2)) 0; border-top: 1px solid var(--creek-link); display: flow-root; }
.creek-wide-rules > h2 { max-width: 1000px; font-size: clamp(2rem, 3.5vw, 3.15rem); margin-bottom: 2rem; }
.creek-wide-rules > p { max-width: 1020px; font-size: 21px; line-height: 1.8; }
.creek-wide-rules a, .creek-rulebox a { text-decoration-color: var(--creek-ink); }
.creek-wide-rules a:hover, .creek-rulebox a:hover { color: #fff; background: var(--creek-ink); }
.creek-wide-rules > .creek-practical-close { position: relative; max-width: 940px; margin: 2.8rem 0 -3.3rem auto; padding: 2rem 2.4rem; background: var(--creek-red); color: #fff; font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; line-height: 1.5; }
.creek-home + .creek-footer { padding-top: 7.7rem; }

/* Inner photographs remain inside their named sections, at landscape scale. */
.creek-page-opening { max-width: 1180px; margin: 0 auto; padding: 2.8rem 2rem 4rem; }
.creek-breadcrumb { display: flex; align-items: center; gap: .65rem; flex-wrap: wrap; margin: 0 0 2rem; font-size: 18px; }
.creek-breadcrumb .lucide { color: var(--creek-link); margin-right: .3rem; }
.creek-page-opening h1 { max-width: 1060px; }
.creek-page-intro { margin-top: 2rem; max-width: 800px; padding-left: 1.4rem; border-left: 2px solid var(--creek-blue); font-size: 23px; line-height: 1.65; }
.creek-reading-ground { background: var(--creek-stone); }
.creek-page-reading { max-width: 680px; width: calc(100% - 40px); margin: 0 auto; padding: 4rem 0 5rem; }
.creek-chapter { margin-bottom: 4.5rem; }
.creek-chapter:last-child { margin-bottom: 0; }
.creek-chapter > h2 { max-width: 800px; }
.creek-photo { position: relative; width: calc(100% + 440px); margin: 2.5rem -220px 3rem; }
.creek-photo img { display: block; width: 100%; height: 350px; object-fit: cover; border-radius: 10px; background: #e7d8d0; }
.creek-photo figcaption { position: relative; max-width: 460px; margin: -3.4rem 2rem 0 auto; padding: 1.35rem 1.6rem; background: var(--creek-red); color: #fff; }
.creek-rulebox { position: relative; background: var(--creek-blue); border-top: 1px solid var(--creek-link); padding: 2rem 2.2rem 2rem 4.6rem; margin: 2.8rem -100px 2.8rem 40px; border-radius: 0 10px 10px 0; }
.creek-rulebox > .lucide { position: absolute; top: 2.2rem; left: 1.5rem; }
.creek-rulebox p { font-size: 19px; }
.creek-reading-steps { margin: 0 0 1.8rem; padding-left: 1.6rem; }
.creek-reading-steps li { padding-left: .6rem; margin-bottom: 1rem; }
.creek-reading-steps li::marker { color: var(--creek-red); font-weight: 600; }
.creek-record-checks { list-style: none; padding: 0; margin: 2rem 0; }
.creek-record-checks li { display: flex; gap: 1.4rem; border-top: 1px solid var(--creek-blue); padding: 1.8rem 0; }
.creek-record-checks h3 { color: var(--creek-red); }
.creek-record-checks .lucide { margin-top: .3rem; color: var(--creek-link); }
.creek-source-date { border-bottom: 2px solid var(--creek-blue); padding-bottom: 2rem; }
.creek-source-shelf { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 4rem; width: calc(100% + 440px); margin: 2.8rem -220px 4rem; }
.creek-source-entry { border-top: 1px solid var(--creek-blue); padding: 1.8rem 0 0; }
.creek-source-entry h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.creek-source-entry p:last-child { font-size: 18px; }
.creek-source-entry p:last-child a { text-decoration-color: var(--creek-red); }
.creek-notfound { max-width: 1000px; padding: 5rem 2rem 6rem; margin: auto; }
.creek-notfound p { margin-top: 1.6rem; }

.creek-footer { border-top: 1px solid var(--creek-blue); padding: 3.8rem max(2rem, calc((100% - 1180px)/2)) 2.5rem; font-size: 18px; }
.creek-footer-reading { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4rem; margin-bottom: 2.7rem; }
.creek-footer-reading a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--creek-blue); padding: 1rem 0; text-decoration: none; }
.creek-footer-reading a span { text-decoration: underline; text-decoration-color: var(--creek-blue); text-underline-offset: 5px; }
.creek-footer-reading a:hover span { text-decoration-thickness: 3px; }
.creek-footer p { max-width: 800px; }
.creek-footer-end { display: flex; justify-content: space-between; gap: 2rem; align-items: baseline; margin-top: 2rem; }
.creek-footer-end p { margin: 0; }

@media (min-width: 761px) and (max-width: 1199px) {
  .creek-owner-explanation h2 { width: calc(100% + 80px); margin-left: -40px; }
  .creek-photo { width: calc(100% + 80px); margin-left: -40px; margin-right: -40px; }
  .creek-source-shelf { width: calc(100% + 80px); margin-left: -40px; margin-right: -40px; gap: 2rem; }
  .creek-rulebox { margin-right: -35px; margin-left: 0; }
  .creek-levels { width: 100%; margin-left: 0; }
}

@media (max-width: 760px) {
  body { font-size: 18px; line-height: 1.8; }
  .creek-masthead { padding: 1.25rem 20px 1.15rem; }
  .creek-navfield { grid-template-columns: 1fr; grid-template-areas: "name" "reading" "short"; }
  .creek-wordmark { border: 0; padding: 0 0 1.15rem; font-size: 24px; line-height: 1.35; }
  .creek-longpaths { border-top: 1px solid var(--creek-blue); padding: .7rem 0 .9rem; gap: .45rem; }
  .creek-longpaths a { align-items: flex-start; padding: .25rem 0; font-size: 18px; line-height: 1.45; }
  .creek-longpaths .lucide { margin-top: .2rem; width: 24px; height: 24px; }
  .creek-shortpaths { justify-content: flex-start; gap: 2.4rem; padding-top: .7rem; }
  .creek-daylight { min-height: max(540px, calc(100svh - 266px)); padding: 4.5rem 20px; }
  .creek-daylight h1 { max-width: 490px; font-size: clamp(2rem, 9.4vw, 2.7rem); line-height: 1.2; }
  .creek-daylight > img { object-position: 29% 25%; }
  .creek-purpose { padding: 1.7rem 20px; }
  .creek-purpose p { font-size: 20px; }
  .creek-local-preface { padding: 3rem 20px; }
  .creek-local-preface p { font-size: 22px; line-height: 1.6; }
  .creek-owner-explanation { padding: 3.4rem 0 3.8rem; }
  .creek-owner-explanation h2 { width: auto; margin: 0 0 1.7rem; font-size: 2rem; }
  .creek-owner-explanation > p:first-of-type::first-letter { font-size: 4.8rem; }
  .creek-levels { width: 100%; margin-left: 0; padding: .8rem 0 1.8rem; }
  .creek-wide-rules { padding: 3rem 20px 0; }
  .creek-wide-rules > h2 { font-size: 2rem; }
  .creek-wide-rules > p { font-size: 19px; }
  .creek-wide-rules > .creek-practical-close { margin: 2rem 0 -2.7rem; padding: 1.5rem; font-size: 21px; }
  .creek-home + .creek-footer { padding-top: 5.5rem; }
  .creek-page-opening { padding: 2.2rem 20px 2.8rem; }
  .creek-page-opening h1 { font-size: 2.4rem; }
  .creek-breadcrumb { margin-bottom: 1.7rem; gap: .5rem; }
  .creek-breadcrumb .lucide { width: 21px; flex-basis: 21px; margin-right: 0; }
  .creek-page-intro { font-size: 21px; line-height: 1.65; padding-left: 1rem; }
  .creek-page-reading { padding: 2.8rem 0 3.8rem; }
  .creek-chapter { margin-bottom: 3.3rem; }
  .creek-chapter > h2 { font-size: 1.8rem; }
  .creek-photo { width: 100%; margin: 1.8rem 0 2.2rem; }
  .creek-photo img { height: 185px; }
  .creek-photo figcaption { max-width: none; margin: -1.2rem 0 0 20px; padding: 1rem 1.1rem; }
  .creek-rulebox { margin: 2rem 0; padding: 1.6rem 1.2rem 1.6rem 3.5rem; }
  .creek-rulebox > .lucide { top: 1.8rem; left: .9rem; }
  .creek-rulebox p { font-size: 18px; }
  .creek-record-checks li { gap: 1rem; padding: 1.6rem 0; }
  .creek-source-shelf { grid-template-columns: 1fr; width: 100%; gap: 2.5rem; margin: 2.4rem 0 3.2rem; }
  .creek-footer { padding: 2.8rem 20px 2.5rem; }
  .creek-footer-reading { grid-template-columns: 1fr; gap: 0; }
  .creek-footer-end { flex-direction: column; gap: 1rem; }
}

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