@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@500;700;900&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400&display=swap');

:root {
  --ink: #1E1B18;
  --stone: #E9E4DA;
  --rust: #C2562F;
  --ochre: #E3A22A;
  --oxblood: #5B2318;
  --moss: #56603A;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --text: 'Newsreader', Georgia, serif;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--text); font-size: 1.1875rem; line-height: 1.55; color: var(--ink); background: var(--stone); }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

.bar { display: flex; align-items: center; justify-content: space-between; padding: 22px clamp(16px, 4vw, 56px); position: relative; z-index: 3; }
.bar .mark { height: 40px; width: auto; display: block; }
.bar nav { display: flex; gap: clamp(14px, 3vw, 36px); font-size: 1.05rem; }
.bar nav a { text-decoration: none; }
.bar nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

h1, h2 { font-family: var(--display); font-weight: 900; line-height: .86; letter-spacing: -.01em; }
h2 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; }

/* shared lower sections */
.work { background: var(--stone); padding: clamp(64px, 10vw, 140px) clamp(16px, 4vw, 56px); }
.work h2 { max-width: 12ch; margin-bottom: 56px; }
.crews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 48px 40px; }
.crew svg { height: 64px; width: auto; margin-bottom: 18px; display: block; }
.crew h3 { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1; margin-bottom: 10px; }
.crew p { max-width: 34ch; }

.write { background: var(--ink); color: var(--stone); padding: clamp(64px, 10vw, 140px) clamp(16px, 4vw, 56px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.write h2 { color: var(--stone); }
.write p { max-width: 40ch; margin-top: 20px; }
.write code { display: block; font-family: var(--text); font-style: italic; font-size: 1.05rem; background: #2B2723; padding: 18px 20px; border-left: 4px solid var(--rust); overflow-wrap: anywhere; }
.btn { display: inline-block; margin-top: 28px; background: var(--rust); color: #fff; font-family: var(--display); font-weight: 700; font-size: 1.5rem; padding: 12px 26px 14px; text-decoration: none; border-radius: 999px; }
.btn:hover { background: var(--oxblood); }
footer { background: var(--ink); color: #A59D92; padding: 0 clamp(16px, 4vw, 56px) 32px; font-size: .95rem; }

@media (max-width: 720px) {
  .write { grid-template-columns: 1fr; }
  .bar nav a:not(:last-child) { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
