/* Workhouse Collective, shared styles for inner pages (matches Concept C home) */
:root {
  --bg: #F1E2D8;
  --bg-2: #E6D0C2;
  --ink: #3A2824;
  --muted: #8C7268;
  --line: rgba(58, 40, 36, .14);
  --accent: #8C4E19;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --gutter: max(clamp(16px, 2.4vw, 36px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font: 300 15px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; height: 100%; object-fit: cover; max-width: 100%; }
a:focus-visible, button:focus-visible { outline: 1.5px solid var(--accent); outline-offset: 3px; }
em { font-style: italic; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: calc(20px + env(safe-area-inset-top, 0px)) var(--gutter) 20px;
  font-size: 13px; letter-spacing: .02em;
  background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px);
}
header.site nav { display: flex; gap: 28px; }
header.site nav.right { justify-content: flex-end; }
header.site .wordmark { font-family: "Dela Gothic One", var(--sans); font-weight: 400; font-size: 19px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; }
header.site nav a { position: relative; }
header.site nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
header.site nav a:hover::after, header.site nav a[aria-current]::after { transform: scaleX(1); }

/* Shared pieces */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.label { font-size: 12px; color: var(--muted); }
.section-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  padding: 0 var(--gutter) 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--muted);
}
.section-head h2 { font: 400 12px var(--sans); color: var(--ink); letter-spacing: .04em; text-transform: uppercase; }
.display { font-family: var(--serif); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; text-wrap: balance; }
.display em { font-weight: 500; }
.link { display: inline-block; font-size: 13px; border-bottom: 1px solid var(--ink); padding-bottom: 2px; transition: color .3s, border-color .3s; }
.link:hover { color: var(--accent); border-color: var(--accent); }
.tag { display: inline-block; font-size: 11px; border: 1px solid currentColor; border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.num { font: italic 400 18px var(--serif); color: var(--accent); }
.placeholder {
  display: grid; place-items: center; text-align: center; padding: 20px;
  background: var(--bg-2); color: var(--muted); font-size: 12px; letter-spacing: .02em;
  border: 1px dashed rgba(58, 40, 36, .25);
}
.page-intro {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter);
  padding: clamp(60px, 10vw, 140px) var(--gutter) clamp(50px, 7vw, 100px);
}
.page-intro .label { grid-column: 1 / 3; padding-top: 14px; }
.page-intro h1 { grid-column: 3 / 12; font-size: clamp(40px, 5.6vw, 88px); }
.page-intro p { grid-column: 3 / 10; color: var(--muted); font-size: 17px; max-width: 56ch; margin-top: 24px; }

/* Footer */
footer.site { padding: clamp(80px, 12vw, 160px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); }
footer.site .say { font-size: 12px; color: var(--muted); margin-bottom: 18px; }
footer.site .cheek { font: 400 clamp(38px, 9vw, 150px)/.96 "Dela Gothic One", var(--sans); letter-spacing: .01em; text-transform: uppercase; color: #0E0D0C; text-wrap: balance; margin-bottom: clamp(18px, 2.4vw, 34px); }
footer.site .mail { display: inline-block; font-family: var(--serif); font-weight: 300; font-size: clamp(34px, 7vw, 112px); line-height: 1; letter-spacing: -.035em; transition: color .3s; overflow-wrap: anywhere; }
footer.site .mail em { font-weight: 500; }
footer.site .mail:hover { color: var(--accent); }
footer.site .base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-top: clamp(70px, 9vw, 130px); font-size: 12px; color: var(--muted); }
footer.site .base nav { display: flex; gap: 22px; flex-wrap: wrap; }

/* Reveal: content is visible unless the script runs */
.js .reveal:not(.in) { opacity: .001; transform: translateY(24px); }
.reveal { transition: opacity 1s ease, transform 1s ease; }

/* Four links on the left: tighter under 1040px, into the menu button under 900px */
@media (max-width: 1040px) { header.site nav { gap: 18px; } }
@media (max-width: 900px) { header.site nav.left { display: none; } }
@media (max-width: 820px) {
  header.site { grid-template-columns: 1fr auto; }
  header.site nav.left { display: none; }
  header.site .wordmark { font-size: 15px; justify-self: start; }
  header.site nav.right { gap: 18px; }
  header.site nav.right a:first-child { display: none; } /* Moodboard: reachable from the footer */
  .page-intro .label, .page-intro h1, .page-intro p { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .js .reveal:not(.in) { opacity: 1; transform: none; }
}
