/* Traveling Goose Photography — journal.css
   Skeleton: fixed left rail + content canvas (no top masthead).
   Palette: bone paper, ink brown, clay, deep juniper. */

:root {
  --paper: #f7f2e9;
  --paper-dim: #efe7d6;
  --card: #fffcf5;
  --ink: #2b231e;
  --ink-mid: #5d5044;
  --ink-dim: #8a7a68;
  --clay: #b0542c;
  --clay-deep: #8a3d1e;
  --pine: #1e4a40;
  --pine-tint: #e3eae2;
  --gold: #c99b52;
  --rule: #ddd1bc;
  --night: #182b2f;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.72;
  font-size: 1.05rem;
}

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

a { color: var(--clay-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--clay); }

.skiplink {
  position: absolute; left: -999px; top: 0; z-index: 90;
  background: var(--night); color: var(--paper); padding: .5rem 1rem;
}
.skiplink:focus { left: 0; }

/* ── the rail ─────────────────────────────────────────── */

.journal { display: grid; grid-template-columns: 292px minmax(0, 1fr); min-height: 100vh; }

.rail {
  background: var(--paper-dim);
  border-right: 1px solid var(--rule);
  padding: 2.4rem 1.9rem 1.6rem;
  display: flex; flex-direction: column; gap: 1.9rem;
  position: sticky; top: 0; height: 100vh; overflow-y: auto;
}

.rail-brand { display: block; text-decoration: none; color: var(--ink); }
.rail-brand img { width: 92px; height: 92px; border-radius: 50%; margin-bottom: .9rem; }
.rail-brand b { display: block; font-size: 1.42rem; line-height: 1.2; font-weight: 600; letter-spacing: .01em; }
.rail-brand i { display: block; font-style: italic; color: var(--ink-mid); font-size: .95rem; margin-top: .25rem; }

.rail-nav { display: flex; flex-direction: column; }
.rail-nav a {
  display: flex; gap: .7rem; align-items: baseline;
  font-family: var(--sans); font-size: .88rem; letter-spacing: .09em; text-transform: uppercase;
  color: var(--ink); text-decoration: none;
  padding: .62rem .2rem; border-bottom: 1px dotted var(--rule);
}
.rail-nav a:first-child { border-top: 1px dotted var(--rule); }
.rail-nav a i { font-style: normal; font-size: .72rem; color: var(--clay); width: 1.3em; }
.rail-nav a:hover { color: var(--clay-deep); padding-left: .45rem; }
.rail-nav a[aria-current="page"] { color: var(--clay-deep); }
.rail-nav a[aria-current="page"] i::after { content: "●"; margin-left: .25em; font-size: .55em; vertical-align: .25em; }

.rail-note { font-size: .88rem; color: var(--ink-mid); font-style: italic; }
.rail-note b { font-style: normal; color: var(--ink); font-weight: 600; }

.rail-foot { margin-top: auto; font-family: var(--sans); font-size: .74rem; color: var(--ink-dim); line-height: 1.9; }
.rail-foot a { color: var(--ink-mid); text-decoration: none; }
.rail-foot a:hover { color: var(--clay-deep); text-decoration: underline; }

.rail-toggle { display: none; }

/* ── canvas ───────────────────────────────────────────── */

.canvas { min-width: 0; }
.slab { max-width: 1150px; margin: 0 auto; padding: 0 2.6rem; }

/* ── opener (home) ────────────────────────────────────── */

.opener { border-bottom: 1px solid var(--rule); }
.opener-grid {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 3rem; align-items: center;
  padding-top: 3.4rem; padding-bottom: 3rem;
}
.kicker { font-family: var(--sans); font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--pine); }
.opener h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; font-weight: 600; margin: .8rem 0 1rem; }
.opener-copy p { color: var(--ink-mid); max-width: 52ch; }
.opener-links { margin-top: 1.7rem; display: flex; gap: .8rem; flex-wrap: wrap; }

.figplate { position: relative; min-width: 0; }
.figplate img { border: 1px solid var(--rule); width: 100%; }
.figplate figcaption {
  display: flex; justify-content: space-between; gap: 1rem;
  font-family: var(--sans); font-size: .78rem; color: var(--ink-dim); padding-top: .55rem;
}
.figplate .plate-no { color: var(--clay); letter-spacing: .12em; text-transform: uppercase; }

/* ── contents (numbered index) ────────────────────────── */

.contents { padding-top: 2.6rem; padding-bottom: 3rem; }
.contents-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .4rem; }
.contents-head h2 { font-size: 1.55rem; font-weight: 600; }
.contents-head a { font-family: var(--sans); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.contents-lede { color: var(--ink-mid); max-width: 68ch; margin-bottom: 1.6rem; }

.entry {
  display: grid; grid-template-columns: 3.2rem 236px minmax(0, 1fr); gap: 1.6rem;
  align-items: center; padding: 1.35rem 0; border-top: 1px solid var(--rule);
}
.entry:last-child { border-bottom: 1px solid var(--rule); }
.entry-no { font-family: var(--sans); font-size: 1.05rem; color: var(--clay); font-weight: 700; }
.entry-no::after { content: ""; display: block; width: 1.6rem; height: 2px; background: var(--gold); margin-top: .45rem; }
.entry-pic img { border: 1px solid var(--rule); width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
.entry-meta { font-family: var(--sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--pine); display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.entry h3 { font-size: 1.34rem; font-weight: 600; line-height: 1.3; margin: .35rem 0 .35rem; }
.entry h3 a { color: var(--ink); text-decoration: none; }
.entry h3 a:hover { color: var(--clay-deep); }
.entry p { color: var(--ink-mid); font-size: .96rem; max-width: 68ch; }

/* ── section band (home) ──────────────────────────────── */

.bandpair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; padding-bottom: 3.2rem; }
.band { background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--pine); padding: 1.7rem 1.8rem 1.9rem; }
.band.band--clay { border-top-color: var(--clay); }
.band h2 { font-size: 1.4rem; font-weight: 600; margin: .2rem 0 .6rem; }
.band > p { color: var(--ink-mid); font-size: .97rem; margin-bottom: 1.1rem; }
.band ol { list-style: none; }
.band li { border-top: 1px dotted var(--rule); }
.band li a {
  display: block; padding: .55rem .1rem; text-decoration: none;
  color: var(--ink); font-size: .99rem;
}
.band li a:hover { color: var(--clay-deep); padding-left: .4rem; }
.band-more { font-family: var(--sans); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }

/* ── page head (inner pages) ──────────────────────────── */

.pagehead { border-bottom: 1px solid var(--rule); padding: 3rem 0 2rem; }
.pagehead h1 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 600; margin: .55rem 0 .6rem; line-height: 1.15; }
.pagehead p { color: var(--ink-mid); max-width: 64ch; }

/* ── story (article) ──────────────────────────────────── */

.story-head { padding: 3rem 0 1.8rem; max-width: 850px; }
.story-head .crumb { font-family: var(--sans); font-size: .76rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pine); }
.story-head .crumb a { color: var(--pine); }
.story-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 1.16; margin: .75rem 0 .85rem; font-weight: 600; }
.story-head .dek { font-size: 1.14rem; font-style: italic; color: var(--ink-mid); max-width: 60ch; }
.story-meta { display: flex; gap: .85rem; align-items: center; margin-top: 1.3rem; font-family: var(--sans); font-size: .84rem; color: var(--ink-mid); }
.story-meta img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1px solid var(--rule); }
.story-meta b { color: var(--ink); font-weight: 600; }

.story { max-width: 730px; padding: 2.1rem 0 .6rem; }
.story > p { margin-bottom: 1.3rem; }
.story h2 { font-size: 1.48rem; margin: 2.3rem 0 .9rem; font-weight: 600; line-height: 1.3; }
.story h3 { font-size: 1.16rem; margin: 1.7rem 0 .7rem; font-weight: 600; }
.story ul, .story ol { margin: 0 0 1.3rem 1.4rem; }
.story li { margin-bottom: .45rem; }
.story .lead::first-letter {
  font-size: 3.4em; float: left; line-height: .8;
  padding: .08em .13em 0 0; color: var(--clay); font-weight: 600;
}

.fieldnote {
  max-width: 730px; margin: 2.5rem 0; padding: 1.35rem 1.6rem 1.5rem;
  background: var(--pine-tint); border-left: 4px solid var(--pine);
}
.fieldnote h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--pine); margin-bottom: .85rem; }
.fieldnote ol { list-style: none; counter-reset: fn; }
.fieldnote li { counter-increment: fn; display: flex; gap: .9rem; margin-bottom: .6rem; align-items: baseline; }
.fieldnote li::before {
  content: counter(fn, decimal-leading-zero);
  font-family: var(--sans); font-size: .8rem; color: var(--clay-deep); font-weight: 700;
}

.sourcelist { max-width: 730px; margin: 0 0 2.6rem; }
.sourcelist h2 { font-family: var(--sans); font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mid); border-top: 1px solid var(--rule); padding-top: 1.25rem; margin-bottom: .7rem; }
.sourcelist > p { font-size: .9rem; color: var(--ink-mid); margin-bottom: .7rem; }
.sourcelist ul { list-style: none; }
.sourcelist li { font-size: .9rem; color: var(--ink-mid); margin-bottom: .4rem; padding-left: 1.1rem; position: relative; }
.sourcelist li::before { content: "—"; position: absolute; left: 0; color: var(--clay); }

.story-next { max-width: 730px; padding: 1rem 0 3.4rem; font-family: var(--sans); font-size: .88rem; }

/* ── longform (about, contact, policies) ──────────────── */

.longform { max-width: 780px; padding: 2.4rem 0 3.6rem; }
.longform h2 { font-size: 1.36rem; margin: 2.1rem 0 .8rem; font-weight: 600; }
.longform h3 { font-size: 1.1rem; margin: 1.5rem 0 .6rem; font-weight: 600; }
.longform p { margin-bottom: 1.1rem; }
.longform ul, .longform ol { margin: 0 0 1.1rem 1.4rem; }
.longform li { margin-bottom: .5rem; }
.longform address { font-style: normal; border-left: 3px solid var(--clay); padding: .65rem 1.1rem; margin: 0 0 1.1rem; background: var(--paper-dim); }
.stamp { font-family: var(--sans); font-size: .78rem; color: var(--ink-dim); letter-spacing: .05em; margin-bottom: 1.5rem; }

.paircol { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.6rem; align-items: start; max-width: none; }
.paircol figure img { border: 1px solid var(--rule); }
.paircol figcaption { font-family: var(--sans); font-size: .78rem; color: var(--ink-dim); padding-top: .5rem; }

/* ── forms ────────────────────────────────────────────── */

.writeform { background: var(--card); border: 1px solid var(--rule); padding: 1.6rem 1.7rem 1.8rem; }
.writeform .row { margin-bottom: 1.05rem; }
.writeform label { display: block; font-family: var(--sans); font-size: .8rem; letter-spacing: .05em; margin-bottom: .3rem; color: var(--ink-mid); }
.writeform input, .writeform select, .writeform textarea {
  width: 100%; padding: .68rem .8rem; font: inherit; font-size: .98rem;
  border: 1px solid #cbbda4; background: var(--paper); color: var(--ink); border-radius: 0;
}
.writeform input:focus, .writeform select:focus, .writeform textarea:focus { outline: 2px solid var(--pine); outline-offset: 1px; }
.writeform textarea { min-height: 9.5rem; resize: vertical; }
.offstage { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.btn {
  display: inline-block; font-family: var(--sans); font-size: .86rem; letter-spacing: .07em; text-transform: uppercase;
  background: var(--clay); color: #fff8ee; border: 1px solid var(--clay-deep);
  padding: .72rem 1.5rem; cursor: pointer; text-decoration: none;
}
.btn:hover { background: var(--clay-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink-dim); }
.btn--ghost:hover { background: var(--paper-dim); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: default; }

.form-note { font-family: var(--sans); font-size: .84rem; margin-top: .95rem; display: none; padding: .6rem .85rem; }
.form-note.is-ok { display: block; background: var(--pine-tint); color: var(--pine); }
.form-note.is-err { display: block; background: #f3ded4; color: var(--clay-deep); }

/* ── site footer ──────────────────────────────────────── */

.sitefoot { background: var(--night); color: #c3cfc7; margin-top: 2.5rem; font-size: .94rem; }
.sitefoot .slab { padding-top: 2.7rem; }
.sitefoot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.2rem; padding-bottom: 2.2rem; }
.sitefoot h2 { font-family: var(--sans); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: .85rem; }
.sitefoot ul { list-style: none; }
.sitefoot li { margin-bottom: .45rem; }
.sitefoot a { color: #e4ddc9; }
.sitefoot address { font-style: normal; line-height: 1.85; }
.sitefoot-sig { display: flex; gap: .9rem; align-items: center; margin-bottom: .9rem; }
.sitefoot-sig img { width: 52px; height: 52px; border-radius: 50%; }
.sitefoot-sig b { color: #f1ead6; font-size: 1.1rem; display: block; line-height: 1.25; }
.sitefoot-sig i { color: #97a89d; font-size: .88rem; }
.sitefoot-about { color: #97a89d; max-width: 44ch; font-size: .9rem; }
.sitefoot-legal {
  border-top: 1px solid #2c4348; padding: 1.15rem 0 1.5rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-family: var(--sans); font-size: .77rem; color: #8b9c92;
}
.sitefoot-legal nav { display: flex; gap: 1.2rem; }
.sitefoot-legal a { color: #c3cfc7; }

/* ── 404 ──────────────────────────────────────────────── */

.strayed { text-align: center; padding-top: 6rem; padding-bottom: 7rem; }
.strayed .big { font-family: var(--sans); font-size: 5rem; font-weight: 800; color: var(--clay); letter-spacing: .04em; }
.strayed h1 { font-size: 1.7rem; margin: .6rem 0 .8rem; }
.strayed p { color: var(--ink-mid); max-width: 52ch; margin: 0 auto 1.7rem; }

/* ── cookie bar ───────────────────────────────────────── */

.cbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80;
  background: var(--paper-dim); border-top: 2px solid var(--ink);
  padding: 1rem 1.6rem 1.1rem;
  display: none; box-shadow: 0 -10px 34px rgba(30, 22, 14, .18);
}
.cbar.is-up { display: block; }
.cbar-inner { max-width: 1150px; margin: 0 auto; display: flex; gap: 1.6rem; align-items: center; flex-wrap: wrap; }
.cbar-inner p { flex: 1 1 30ch; font-size: .9rem; color: var(--ink-mid); }
.cbar-inner strong { color: var(--ink); }
.cbar-row { display: flex; gap: .7rem; }

/* ── responsive ───────────────────────────────────────── */

@media (max-width: 980px) {
  .journal { display: block; }
  .rail { position: static; height: auto; overflow: visible; padding: 1.1rem 1.4rem; gap: .9rem; }
  .rail-brand { display: flex; align-items: center; gap: .85rem; }
  .rail-brand img { width: 54px; height: 54px; margin: 0; }
  .rail-brand b { font-size: 1.2rem; }
  .rail-toggle {
    display: inline-block; font-family: var(--sans); font-size: .82rem;
    letter-spacing: .08em; text-transform: uppercase; background: none;
    border: 1px solid var(--ink-dim); padding: .5rem .95rem;
    color: var(--ink); cursor: pointer; align-self: flex-start;
  }
  .rail-nav { display: none; }
  .rail-nav.is-open { display: flex; }
  .rail-note, .rail-foot { display: none; }
  .slab { padding: 0 1.4rem; }
  .opener-grid { grid-template-columns: minmax(0, 1fr); gap: 1.8rem; padding-top: 2.2rem; padding-bottom: 2.2rem; }
  .opener-copy, .opener-art { min-width: 0; }
  .paircol { grid-template-columns: minmax(0, 1fr); }
  .bandpair { grid-template-columns: minmax(0, 1fr); }
  .sitefoot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .entry { grid-template-columns: 2.4rem minmax(0, 1fr); }
  .entry-pic { display: none; }
  .sitefoot-grid { grid-template-columns: 1fr; }
}

/* ── company facts table ──────────────────────────────── */
.longform .facts { width: 100%; border-collapse: collapse; margin: 1.1rem 0 1.7rem; }
.longform .facts th, .longform .facts td { text-align: left; vertical-align: top; padding: .6rem .85rem; border-bottom: 1px solid var(--rule); font-size: .98rem; }
.longform .facts th { width: 42%; font-weight: 600; color: var(--ink-mid); font-family: var(--sans); }
@media (max-width: 640px) {
  .longform .facts, .longform .facts tbody, .longform .facts tr, .longform .facts th, .longform .facts td { display: block; width: 100%; }
  .longform .facts th { border: 0; padding-bottom: 0; }
  .longform .facts td { padding-top: .15rem; }
}
