:root {
  --paper: #f3efe7;
  --panel: #fffdf9;
  --ink: #1a1916;
  --muted: #6e675e;
  --line: #ddd6cb;
  --bronze: #8c4a32;
  --bronze-deep: #5c2e1e;
  --display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
}
button, a { font: inherit; }
button { cursor: pointer; background: none; border: 0; color: inherit; padding: 0; }
img { display: block; max-width: 100%; }
::selection { background: var(--bronze); color: var(--panel); }

.bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.logo {
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
nav { display: flex; gap: 20px; font-size: 0.95rem; }
nav a {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: calc(100svh - 4.25rem);
  min-height: 32rem;
  overflow: hidden;
}
.plate {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}
.plate.on { opacity: 1; pointer-events: auto; }
.plate img.cover { width: 100%; height: 100%; object-fit: cover; }
.plate img.contain {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paper);
  padding: 6rem 2rem 2rem;
}
.scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    color-mix(in srgb, var(--ink) 78%, transparent) 0%,
    color-mix(in srgb, var(--ink) 28%, transparent) 38%,
    transparent 68%
  );
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 0 20px 32px;
}
.kicker {
  margin: 0 0 12px;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; }
h1 { margin: 0; font-size: 3.25rem; line-height: 0.95; }
.lede { margin: 16px 0 0; max-width: 36rem; font-size: 1.15rem; line-height: 1.45; }
.on-photo { color: #fffdf9; }
.on-photo .kicker, .on-photo .lede { color: rgba(255, 253, 249, 0.9); }
.on-paper .kicker, .on-paper .lede { color: var(--muted); }

.hero-actions, .arrows { display: flex; align-items: center; gap: 8px; }
.hero-actions { flex-wrap: wrap; justify-content: space-between; }
.text-btn, .icon-btn {
  min-height: 44px;
  border: 1px solid transparent;
}
.text-btn { padding: 0 16px; font-size: 0.95rem; }
.icon-btn {
  width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.75; }
.on-photo .text-btn, .on-photo .icon-btn { border-color: rgba(255, 253, 249, 0.4); color: #fffdf9; }
.on-paper .text-btn, .on-paper .icon-btn { border-color: rgba(26, 25, 22, 0.2); color: var(--ink); }
.on-photo .text-btn:hover { background: #fffdf9; color: var(--ink); }
.on-paper .text-btn:hover { background: var(--ink); color: #fffdf9; }

.band { padding: 80px 20px; border-top: 1px solid var(--line); }
.panel { background: var(--panel); }
.band-head, .split {
  display: grid;
  gap: 24px;
}
.label {
  margin: 0;
  color: var(--bronze);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h2 { margin: 12px 0 0; font-size: 2.5rem; line-height: 1.05; }
.muted { color: var(--muted); }
.lead { font-size: 1.125rem; line-height: 1.6; }
.intro { max-width: 40rem; }
.back { color: var(--muted); text-decoration: none; font-size: 0.95rem; }

.cards { display: grid; gap: 40px; margin-top: 48px; }
.cards button { display: block; width: 100%; text-align: left; }
.frame { overflow: hidden; background: var(--panel); }
.frame.video { aspect-ratio: 16 / 9; }
.frame.square { aspect-ratio: 1; background: var(--paper); }
.frame img { width: 100%; height: 100%; }
.frame img.cover { object-fit: cover; }
.frame img.contain { object-fit: contain; }
.num { margin: 16px 0 0; color: var(--muted); font-size: 0.75rem; letter-spacing: 0.16em; }
.cards h3 { margin: 4px 0 0; font-size: 1.5rem; }
.cards h3.studio { font-size: 1.875rem; }
.cards p { margin: 8px 0 0; color: var(--muted); font-size: 0.95rem; line-height: 1.55; }
.kind { margin-top: 16px; }

.phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 32px;
  color: inherit;
  text-decoration: none;
  font-family: var(--display);
  font-size: 2rem;
}
.mail {
  color: var(--bronze-deep);
  text-underline-offset: 4px;
  border-bottom: 1px solid var(--bronze);
  text-decoration: none;
}

footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
footer a { color: inherit; }

.sheet { position: fixed; inset: 0; z-index: 40; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(26, 25, 22, 0.5); }
.sheet-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 48rem);
  height: 100%;
  overflow: auto;
  background: var(--paper);
  box-shadow: 0 24px 80px rgba(26, 25, 22, 0.28);
}
.sheet-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: color-mix(in srgb, var(--paper) 95%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.icon-btn.ink { border: 1px solid var(--line); color: var(--ink); }
.sheet-body { padding: 32px 20px 48px; }
.sheet-body h2 { margin: 0; font-size: 3rem; }
.sheet-body .prose p { line-height: 1.65; }
.shot { margin: 0 0 16px; background: var(--panel); }
.shot img { width: 100%; }
.shot figcaption { padding: 12px 4px; color: var(--muted); font-size: 0.95rem; }

.desk { display: none; }

@media (min-width: 640px) {
  .desk { display: inline-flex; }
}
@media (min-width: 800px) {
  .bar, .hero-copy, .band, footer { padding-left: 40px; padding-right: 40px; }
  .bar { padding-top: 12px; padding-bottom: 12px; }
  nav { gap: 32px; }
  h1 { font-size: 4.5rem; }
  .hero-copy { padding-bottom: 48px; }
  .plate img.contain { padding: 7rem 4rem 4rem; }
  .band { padding-top: 112px; padding-bottom: 112px; }
  .band-head { display: flex; align-items: flex-end; justify-content: space-between; }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards.two { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 3fr 8fr; gap: 40px; }
  h2 { font-size: 3rem; }
  footer { flex-direction: row; align-items: center; justify-content: space-between; }
  .sheet-bar, .sheet-body { padding-left: 32px; padding-right: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .plate { transition: none; }
}
