/* Camstra & Co. · Big Lake palette
   One shared stylesheet. No framework, no build step. */

/* ---------- Palette and scale ---------- */
:root {
  /* Big Lake: Lake Superior blue anchors, ochre is the warm counterpoint, sage is a real third color. */
  --lake-deep: #0B2A45;
  --lake: #14395C;
  --lake-mid: #2B5F8A;
  --lake-light: #DFE9F0;
  --lake-light-deep: #C9D9E5;

  --ochre: #C68A2E;
  --ochre-bright: #E0A54E;
  --ochre-text: #8F5D12;   /* ochre dark enough for small text on light grounds */
  --ochre-tint: #E8D2AC;

  --sage: #87A96B;
  --sage-deep: #52693F;
  --sage-tint: #D9E3CE;

  --cream: #F5F1EB;
  --cream-deep: #EBE4D8;
  --charcoal: #2C2C2C;

  --hair-dark: rgba(44, 44, 44, 0.22);
  --hair-light: rgba(245, 241, 235, 0.24);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --measure: 66ch;
  --chapter-pad: clamp(3.5rem, 7.5vw, 6.5rem);
  --chapter-pad-tight: clamp(2.5rem, 5vw, 4.5rem);
}

/* ---------- Reset ---------- */
*, *::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;
  font-family: var(--sans);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } } /* 18px */
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.005em; }
p { margin: 0 0 1.25em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ochre-bright); outline-offset: 3px; }
.skip {
  position: absolute; left: 1rem; top: -4rem; padding: 0.6rem 1rem;
  background: var(--ochre); color: var(--lake-deep); font-weight: 600; z-index: 20;
}
.skip:focus { top: 1rem; }

/* ---------- Type hierarchy (three levels) ---------- */
.title   { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.04; font-variation-settings: "opsz" 144, "SOFT" 30; }
h2, .h2  { font-size: clamp(1.9rem, 3.3vw, 2.75rem); line-height: 1.12; font-variation-settings: "opsz" 96, "SOFT" 30; }
h3, .h3  { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.3; font-variation-settings: "opsz" 48; }
.lede    { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; }

.eyebrow, .numeral, .label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 1.25rem;
  color: var(--accent);
}
.numeral { font-family: var(--serif); font-size: 1rem; font-weight: 500; letter-spacing: 0.22em; }

/* ---------- Bands: color per chapter, with local text colors ---------- */
.band { padding: var(--chapter-pad) 0; }
.band--tight { padding: var(--chapter-pad-tight) 0; }
.band + .band--joined { padding-top: 0; } /* a chapter that shares a band with the one above */

.band--cream { background: var(--cream); color: var(--charcoal);
  --accent: var(--ochre-text); --hair: var(--hair-dark); --muted: #4F5257; --slot: var(--sage-tint); --slot-ink: var(--sage-deep); }
.band--light { background: var(--lake-light); color: var(--lake-deep);
  --accent: var(--ochre-text); --hair: rgba(11, 42, 69, 0.22); --muted: #35506A; --slot: var(--lake-light-deep); --slot-ink: var(--lake); }
.band--sage  { background: var(--sage); color: var(--lake-deep);
  --accent: var(--lake-deep); --hair: rgba(11, 42, 69, 0.3); --muted: #1E3346; --slot: var(--sage-tint); --slot-ink: var(--sage-deep); }
.band--lake  { background: var(--lake); color: var(--cream);
  --accent: var(--ochre-bright); --hair: var(--hair-light); --muted: #D5D9DD; --slot: var(--lake-mid); --slot-ink: var(--cream); }
.band--deep  { background: var(--lake-deep); color: var(--cream);
  --accent: var(--ochre-bright); --hair: var(--hair-light); --muted: #CFD6DD; --slot: var(--lake); --slot-ink: var(--cream); }

.band .muted { color: var(--muted); }

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.chapter h2 { max-width: 22ch; margin-bottom: 1.5rem; }
.chapter .lede, .chapter .intro { margin-bottom: 2.75rem; }
.chapter .cols .lede { margin-bottom: 0; }
.rule { border: 0; border-top: 1px solid var(--hair); margin: 0; }
.wrap > .rule { margin-bottom: var(--chapter-pad-tight); }

.cols {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 3rem clamp(3rem, 7vw, 7rem);
  align-items: start;
}
.cols--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cols--wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.cols--flip > :first-child { order: 2; }
@media (max-width: 860px) {
  .cols, .cols--even, .cols--wide { grid-template-columns: minmax(0, 1fr); }
  .cols--flip > :first-child { order: 0; }
}

/* ---------- Header ---------- */
.site-head {
  background: var(--lake-deep);
  color: var(--cream);
  padding: 1.35rem 0;
}
.site-head .wrap {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 1rem 2.5rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; list-style: none; }
.nav a {
  font-size: 0.95rem; font-weight: 500; text-decoration: none; letter-spacing: 0.01em;
  color: #D9DEE3; padding-bottom: 0.2rem; border-bottom: 1px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); border-bottom-color: var(--ochre-bright); }
.nav .quiet a { color: var(--ochre-bright); }

/* ---------- Hero ---------- */
.hero-photo img {
  width: 100%;
  height: clamp(340px, 74vh, 880px);
  object-fit: cover;
  object-position: center 55%;
}
.hero-text { padding: clamp(3rem, 6vw, 5rem) 0 clamp(3.5rem, 6.5vw, 5.5rem); }
.hero-text .title { max-width: 18ch; }
.hero-text .lede { color: var(--muted); max-width: 42ch; margin-bottom: 2rem; }
.hero-text aside { padding-top: 0.6rem; }
.anchor {
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--cream);
  max-width: 34ch;
  margin-top: 0.5rem;
  padding-top: 1.4rem;
  border-top: 2px solid var(--ochre-bright);
}
.stack > .anchor { margin-top: 1.75rem; }
.stack > .anchor + .actions { margin-top: 2rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; }

.photo-band img {
  width: 100%;
  height: clamp(190px, 24vw, 320px);
  object-fit: cover;
  object-position: center 62%;
}

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-block;
  background: var(--ochre);
  color: var(--lake-deep);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.95rem 1.5rem;
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
}
.btn:hover { background: var(--ochre-bright); }
.more {
  font-family: var(--sans); font-size: 0.95rem; font-weight: 600; letter-spacing: 0.01em;
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.28em;
}
.more:hover { text-decoration-thickness: 2px; }

/* ---------- Editorial rows (no cards) ---------- */
.rows { list-style: none; border-top: 1px solid var(--hair); }
.row {
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr) minmax(0, 1.65fr);
  gap: 0.75rem clamp(1.5rem, 3vw, 3rem);
  padding: 2rem 0;
  border-bottom: 1px solid var(--hair);
  align-items: baseline;
}
.row--two { grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); }
.row .num {
  font-family: var(--serif);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--accent);
  font-variation-settings: "opsz" 48;
}
.row h3 { max-width: 18ch; }
.row p { margin-bottom: 0.9em; }
.row p:last-child { margin-bottom: 0; }
.row .more { display: inline-block; margin-top: 0.4rem; }
@media (max-width: 700px) {
  .row { grid-template-columns: 2.5rem minmax(0, 1fr); gap: 0.6rem 1rem; }
  .row > :nth-child(3) { grid-column: 1 / -1; }
  .row .num { font-size: 1.4rem; }
  .row--two { grid-template-columns: minmax(0, 1fr); }
}

/* Definition rows: label left, text right */
/* Project pieces: title and label left, account right */
.project {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 1.25rem clamp(2rem, 6vw, 6rem);
  padding: 2.75rem 0;
  border-top: 1px solid var(--hair);
}
.project:last-child { border-bottom: 1px solid var(--hair); }
.project h3 { max-width: 20ch; }
.tag {
  font-family: var(--sans); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin: 0.9rem 0 0;
}
@media (max-width: 860px) {
  .project { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: 2.25rem 0; }
}

.plain { padding-left: 1.25rem; max-width: var(--measure); }
.plain li { margin-bottom: 0.5rem; }
.plain li::marker { color: var(--accent); }

.facts { border-top: 1px solid var(--hair); }
.facts > div {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr);
  gap: 0.35rem 2.5rem; padding: 1.35rem 0; border-bottom: 1px solid var(--hair);
}
.facts dt { font-family: var(--sans); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); padding-top: 0.35rem; }
.facts dd { margin: 0; }
@media (max-width: 620px) { .facts > div { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Pull quote ---------- */
.pull {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.32;
  max-width: 26ch;
  margin: 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--accent);
  font-variation-settings: "opsz" 72, "SOFT" 60;
}

/* ---------- Photos and photo slots ---------- */
.photo img { width: 100%; height: auto; border-radius: 2px; }
.photo figcaption, .slot small {
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.photo figcaption { margin-top: 0.9rem; color: var(--muted); }
.slot {
  display: flex; align-items: flex-end;
  background: var(--slot);
  color: var(--slot-ink);
  border-radius: 2px;
  padding: 1.25rem;
  aspect-ratio: 4 / 5;
}
.slot--wide { aspect-ratio: 16 / 9; }
.slot--square { aspect-ratio: 1 / 1; }
.slot--ochre { background: var(--ochre-tint); color: var(--ochre-text); }
.slot small { max-width: 28ch; line-height: 1.5; }

/* ---------- Service list on home ---------- */
.row .row-title { display: flex; flex-direction: column; gap: 0.5rem; }

/* ---------- Contact actions ---------- */
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.25rem; margin-top: 0.5rem; }
.btn--lg { font-size: 1.05rem; padding: 1.1rem 1.9rem; }

.email-big {
  display: inline-block; font-family: var(--serif); font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 0.22em; text-decoration-thickness: 1px;
  word-break: break-all;
}

/* ---------- Footer ---------- */
.site-foot {
  background: var(--lake-deep); color: #C9D1D8;
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--hair-light);
  font-size: 0.9rem;
}
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: space-between; align-items: baseline; }
.site-foot p { margin: 0; }
.site-foot a { color: var(--cream); }
.site-foot .foot-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; list-style: none; }
.site-foot .foot-links a { text-decoration: none; color: #C9D1D8; }
.site-foot .foot-links a:hover { color: var(--cream); }

/* ---------- Small helpers ---------- */
.stack > * + * { margin-top: 1.25rem; }
.mt { margin-top: 2.5rem; }
.mt-lg { margin-top: 3.5rem; }
.sessions { list-style: none; border-top: 1px solid var(--hair); }
.sessions li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 0 0.75rem; padding: 0.95rem 0; border-bottom: 1px solid var(--hair); font-size: 1rem; }
.sessions .num { font-family: var(--serif); color: var(--accent); font-size: 1.15rem; line-height: 1.5; }
.photo--portrait { max-width: 440px; }
.photo--portrait img { aspect-ratio: 1 / 1; object-fit: contain; background: transparent; }
.hero-text .photo--portrait { max-width: 380px; }

/* The ampersand in the wordmark picks up the nav accent color. */
.wordmark .amp { color: var(--ochre-bright); }
