/* Pivot Designs: a workshop catalogue. Wide photo-led sections on a chalk ground,
   a letter-spaced wordmark like the Pivot logo, sage for actions and MDF tan for detail. */
:root {
  --chalk: #F4F2EC;
  --paper: #FFFFFF;
  --ink: #1C1F1D;
  --muted: #5D625C;
  --line: #DAD6CC;
  --sage: #4B5F51;
  --sage-ink: #FFFFFF;
  --sage-soft: #E3E8E2;
  --tan: #B38A4E;
  --font-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.75rem;
  --step-3: clamp(2.2rem, 5vw, 3.6rem);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--chalk); color: var(--ink);
  font-family: var(--font-body); font-size: var(--step-0); line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-3); letter-spacing: -0.01em; }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); }
p { margin: 0; }
.inner {
  max-width: 1160px; margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.eyebrow { font-family: var(--font-display); font-size: var(--step--1); letter-spacing: 0.22em; text-transform: uppercase; color: var(--tan); }
.lede { font-size: var(--step-1); color: var(--muted); max-width: 52ch; }
.prose { display: grid; gap: 1rem; max-width: 64ch; }
.prose p { color: #333833; }

/* header */
.site-head { background: var(--paper); border-bottom: 1px solid var(--line); }
.site-head .inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 16px; }
.brand { display: grid; text-decoration: none; line-height: 1; gap: 5px; }
.brand .word { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.42em; font-weight: 500; }
.brand .sub { font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.62em; color: var(--muted); }
.nav { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.nav a { text-decoration: none; font-size: 0.95rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--tan); }

/* buttons */
.btn { display: inline-block; text-decoration: none; font-weight: 600; font-size: 0.95rem; padding: 12px 20px; border-radius: 3px; background: var(--sage); color: var(--sage-ink); border: 1.5px solid var(--sage); }
.btn:hover { background: #3D4F42; border-color: #3D4F42; }
.btn.line { background: transparent; color: var(--sage); }
.btn.line:hover { background: var(--sage-soft); }
.btn.small { padding: 8px 14px; font-size: 0.875rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* sections */
section { padding-block: clamp(48px, 8vw, 96px); }
section.tight { padding-block: clamp(36px, 6vw, 64px); }
.band { background: var(--paper); border-block: 1px solid var(--line); }
.section-head { display: grid; gap: 10px; margin-bottom: 32px; max-width: 64ch; }

/* hero */
.hero .inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-photo { position: relative; }
.hero-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.hero-photo figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); color: var(--ink); font-size: var(--step--1); padding: 5px 10px; border-radius: 2px; }
.soon { display: block; font-size: 0.92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.soon b { color: var(--ink); font-weight: 600; }

/* designs */
.designs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.design { display: grid; gap: 10px; align-content: start; }
.design img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.design h3 { font-size: 1.1rem; }
.design p { font-size: 0.9rem; color: var(--muted); }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); color: var(--tan); letter-spacing: 0.12em; font-size: var(--step--1); }
.steps p { color: var(--muted); font-size: 0.95rem; }

/* facts */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.fact { display: grid; gap: 4px; }
.fact .big { font-family: var(--font-display); font-size: var(--step-2); font-variant-numeric: tabular-nums; }
.fact span:last-child { color: var(--muted); font-size: 0.95rem; }

/* two column text pages */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.photo-pair img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: 2px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 24px; display: grid; gap: 12px; align-content: start; }
.contact-line { display: grid; gap: 2px; }
.contact-line .label { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.contact-line .value { font-size: var(--step-1); font-family: var(--font-display); overflow-wrap: anywhere; user-select: all; }
.checklist { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; color: #333833; }

/* footer */
.site-foot { background: var(--ink); color: #D8D9D3; padding-block: 40px; font-size: 0.92rem; }
.site-foot .inner { display: flex; flex-wrap: wrap; gap: 16px 40px; justify-content: space-between; align-items: center; }
.site-foot a { color: #FFFFFF; }
.site-foot .brand .sub { color: #A3A69F; }

@media (max-width: 900px) {
  .hero .inner, .split { grid-template-columns: minmax(0, 1fr); }
  .designs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .steps, .facts { grid-template-columns: minmax(0, 1fr); }
  .brand .word { font-size: 1.15rem; letter-spacing: 0.34em; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
