:root {
  --paper: #f2eee6;
  --paper-2: #e4ddd0;
  --ink: #171512;
  --muted: #5e584f;
  --line: #d2c9b8;
  --accent: #2c4638;
  --card: #faf8f3;
  --shadow: 0 18px 40px rgba(23, 21, 18, 0.08);
  --font: ui-sans-serif, system-ui, "Segoe UI", "Helvetica Neue", Avenir Next, sans-serif;
  --display: 84px;
  --display-s: 60px;
  --section: 52px;
  --title: 25px;
  --lead: 21px;
  --body: 16.5px;
  --wide: 1200px;
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-24: 24px;
  --s-32: 32px;
  --s-40: 40px;
  --s-48: 48px;
  --s-64: 64px;
  --s-96: 96px;
  --s-144: 144px;
  --pad-a: 120px;
  --pad-b: 144px;
  --pad-c: 176px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  cursor: auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.7;
}

.project a:hover,
.journal-item a:hover,
.nav-cta:hover,
.act:hover {
  opacity: 1;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4 {
  text-wrap: balance;
  letter-spacing: -0.025em;
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: var(--display);
  letter-spacing: -0.03em;
}

h2 {
  font-size: var(--section);
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

button,
input,
label {
  font: inherit;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
}

.skip:focus {
  left: 16px;
  z-index: 8;
  background: var(--card);
  padding: 8px 12px;
}

.wrap {
  width: min(100% - 48px, var(--wide));
  margin-inline: auto;
}

.mast {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.mast .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 72px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand:hover {
  opacity: 1;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: block;
  flex: 0 0 36px;
}

.brand-mark svg {
  width: 36px;
  height: 36px;
  display: block;
}

.brand-name {
  font-size: 16px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.nav-on {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-switch {
  display: none;
  margin-left: auto;
  border: 1px solid var(--ink);
  padding: 8px 12px;
  cursor: pointer;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
  min-width: 0;
}

.nav-list {
  display: flex;
  gap: 24px;
  list-style: none;
  min-width: 0;
}

.nav-list a {
  text-decoration: none;
  font-size: 16px;
}

.nav-list a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--ink);
}

.nav-tel {
  text-decoration: none;
  white-space: nowrap;
}

.nav-cta,
.act {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ink);
  padding: 12px 20px;
  text-decoration: none;
  background: var(--ink);
  color: var(--paper);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover,
.act:hover {
  opacity: 0.82;
  transform: translateY(-1px);
}

.hero {
  padding-top: 64px;
  padding-bottom: var(--pad-b);
}

.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 48px;
  align-items: end;
}

.hero-copy {
  padding-bottom: 8px;
}

.hero h1 {
  max-width: 11ch;
}

.hero-copy p {
  margin-top: 24px;
  font-size: var(--lead);
  line-height: 1.4;
  max-width: 32ch;
  color: var(--muted);
}

.hero-copy .act {
  margin-top: 32px;
}

.hero-photo {
  min-width: 0;
}

.hero-photo img,
.media img {
  width: 100%;
  object-fit: cover;
}

.hero-photo img {
  aspect-ratio: 3 / 4;
  min-height: 360px;
}

.media {
  overflow: clip;
}

@media (prefers-reduced-motion: no-preference) {
  .media img {
    transition: transform 0.45s ease;
  }

  a:hover .media img,
  .media:hover img {
    transform: scale(1.03);
  }

  .hero,
  .project-board,
  .rail,
  .process,
  .modes,
  .statement,
  .studio-bento,
  .journal,
  .faq,
  .spread,
  .legal-page,
  .page-head {
    animation: fade 0.8s ease both;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.project-board {
  padding-top: var(--pad-a);
  padding-bottom: var(--pad-a);
  border-top: 1px solid var(--line);
}

.project-board h2,
.rail h2,
.process h2,
.modes h2,
.studio-bento h2,
.journal h2,
.faq h2,
.page-head h1 {
  max-width: 16ch;
}

.lead {
  font-size: var(--lead);
  line-height: 1.4;
  color: var(--muted);
  max-width: 44ch;
  margin-top: 16px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 40px 16px;
  margin-top: 64px;
}

.project {
  min-width: 0;
}

.project a {
  display: block;
  text-decoration: none;
}

.project:nth-child(1) {
  grid-column: span 7;
}

.project:nth-child(2) {
  grid-column: span 5;
}

.project:nth-child(n + 3) {
  grid-column: span 4;
}

.project img {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 360px;
  object-fit: cover;
}

.project:nth-child(n + 3) img {
  min-height: 360px;
}

.project h3 {
  font-size: var(--title);
  margin-top: 16px;
}

.project p,
.rail-item p,
.journal-item p {
  margin-top: 8px;
  color: var(--muted);
}

.rail {
  padding-top: var(--pad-c);
  padding-bottom: var(--pad-c);
  background: var(--paper-2);
}

.rail-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-top: 64px;
  padding-bottom: 12px;
}

.rail-item {
  flex: 0 0 min(72%, 640px);
  scroll-snap-align: start;
  min-width: 0;
}

.rail-item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 360px;
  object-fit: cover;
}

.rail-item h3 {
  font-size: var(--title);
  margin-top: 16px;
}

.process {
  padding-top: var(--pad-b);
  padding-bottom: var(--pad-b);
}

.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  margin-top: 64px;
  align-items: start;
}

.process-photo {
  position: sticky;
  top: 32px;
}

.process-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 360px;
  object-fit: cover;
}

.process-steps {
  list-style: decimal;
  padding-left: 24px;
}

.process-steps li {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.process-steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.process-steps h3 {
  font-size: var(--title);
}

.process-steps p {
  margin-top: 12px;
  color: var(--muted);
  max-width: 42ch;
}

.process-steps li.is-on h3 {
  color: var(--accent);
}

.modes {
  padding-top: var(--pad-a);
  padding-bottom: var(--pad-a);
  border-top: 1px solid var(--line);
}

.modes-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}

.modes .wrap {
  position: relative;
}

.modes .wrap > input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.modes-switch label {
  border: 1px solid var(--ink);
  padding: 12px 20px;
  cursor: pointer;
}

#mode-budget:checked ~ .modes-switch label[for="mode-budget"],
#mode-forecast:checked ~ .modes-switch label[for="mode-forecast"],
#mode-review:checked ~ .modes-switch label[for="mode-review"] {
  background: var(--ink);
  color: var(--paper);
}

.modes-panels {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.mode {
  background: var(--card);
  padding: 24px;
  box-shadow: var(--shadow);
  min-width: 0;
}

.mode img {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 360px;
  object-fit: cover;
}

.mode h3 {
  font-size: var(--title);
  margin-top: 16px;
}

.mode p {
  margin-top: 8px;
  color: var(--muted);
}

#mode-budget:checked ~ .modes-panels .mode-budget,
#mode-forecast:checked ~ .modes-panels .mode-forecast,
#mode-review:checked ~ .modes-panels .mode-review {
  outline: 1px solid var(--ink);
  outline-offset: 4px;
}

.statement {
  padding-top: var(--pad-c);
  padding-bottom: var(--pad-c);
  background: var(--paper-2);
}

.statement p {
  font-size: var(--display-s);
  letter-spacing: -0.03em;
  line-height: 1.1;
  text-wrap: balance;
  max-width: 18ch;
  font-weight: 600;
}

.studio-bento {
  padding-top: var(--pad-b);
  padding-bottom: var(--pad-b);
}

.bento {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-top: 64px;
}

.bento-hall {
  grid-row: span 2;
  min-width: 0;
}

.bento-hall img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.bento-panel {
  background: var(--paper-2);
  padding: 32px;
  min-width: 0;
}

.bento-panel h3,
.bento-gear h3 {
  font-size: var(--title);
}

.bento-panel p,
.bento-gear p {
  margin-top: 12px;
  color: var(--muted);
}

.bento-gear {
  background: var(--card);
  padding: 32px;
  grid-column: 2 / -1;
}

.bento-gear ul {
  list-style: none;
  margin-top: 16px;
}

.bento-gear li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.bento-photo img {
  width: 100%;
  min-height: 220px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.journal {
  padding-top: var(--pad-a);
  padding-bottom: var(--pad-a);
  border-top: 1px solid var(--line);
}

.journal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 64px;
  margin-top: 64px;
  align-items: start;
}

.journal-list {
  list-style: none;
}

.journal-item {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.journal-item:last-child {
  border-bottom: 1px solid var(--line);
}

.journal-item time {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.journal-item h3 {
  font-size: var(--title);
}

.journal-item a {
  text-decoration: none;
}

.journal-photo img {
  width: 100%;
  min-height: 360px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.faq {
  padding-top: var(--pad-b);
  padding-bottom: var(--pad-b);
}

.faq-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.faq-row:last-child {
  border-bottom: 1px solid var(--line);
}

.faq-row h3 {
  font-size: var(--title);
}

.faq-row p {
  color: var(--muted);
}

.band {
  background: var(--paper-2);
  padding-top: var(--s-96);
  padding-bottom: var(--s-96);
}

.band .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 48px;
  align-items: end;
}

.band h2 {
  font-size: var(--display-s);
  max-width: 12ch;
}

.band p {
  margin-top: 16px;
  font-size: var(--lead);
  color: var(--muted);
  max-width: 36ch;
}

.band .act {
  justify-self: start;
}

.colophon {
  border-top: 1px solid var(--line);
  padding: 48px 0;
}

.colophon .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 32px;
}

.colophon .brand {
  margin-bottom: 16px;
}

.colophon p,
.colophon a {
  color: var(--muted);
}

.colophon-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  list-style: none;
}

.page-head {
  padding-top: 64px;
  padding-bottom: 48px;
}

.page-head p {
  margin-top: 16px;
  font-size: var(--lead);
  color: var(--muted);
  max-width: 46ch;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 16px;
  padding-bottom: var(--pad-a);
}

.showcase-wide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 360px;
  object-fit: cover;
}

.showcase-pair {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.showcase-pair img {
  width: 100%;
  aspect-ratio: 8 / 4;
  object-fit: cover;
  min-height: 160px;
}

.showcase figcaption,
.spread figcaption {
  margin-top: 12px;
  font-size: 16px;
}

.spread {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
  padding-top: var(--pad-a);
  padding-bottom: var(--pad-a);
  border-top: 1px solid var(--line);
}

.spread:nth-child(even) {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.spread:nth-child(even) .spread-copy {
  order: -1;
}

.spread img {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 360px;
  object-fit: cover;
}

.spread h2 {
  font-size: var(--title);
}

.spread-copy p {
  margin-top: 16px;
  max-width: 52ch;
}

.spread-copy p + p {
  margin-top: 12px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  padding-bottom: var(--pad-b);
  align-items: start;
}

.about-copy p {
  margin-top: 16px;
  max-width: 54ch;
}

.about-copy h2 {
  margin-top: 48px;
  font-size: var(--title);
}

.about-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 360px;
  object-fit: cover;
}

.stat {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: var(--title);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 64px;
  padding-bottom: var(--pad-b);
  align-items: start;
}

.contact address {
  font-style: normal;
  font-size: var(--lead);
  line-height: 1.45;
}

.contact a {
  text-decoration: none;
}

.contact-note {
  margin-top: 32px;
  max-width: 42ch;
  color: var(--muted);
}

.contact .act {
  margin-top: 32px;
}

.contact-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 360px;
  object-fit: cover;
}

.legal-page {
  padding-bottom: var(--pad-c);
}

.legal-page h1 {
  font-size: var(--display-s);
  max-width: 16ch;
}

.legal-page .meta {
  margin-top: 16px;
  color: var(--muted);
}

.legal-page h2 {
  font-size: var(--title);
  margin-top: 48px;
}

.legal-page p,
.legal-page li {
  margin-top: 12px;
  max-width: 68ch;
}

.legal-page ul {
  padding-left: 20px;
}

.studio-rooms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: var(--pad-b);
}

.studio-rooms figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  min-height: 360px;
  object-fit: cover;
}

.studio-rooms h3 {
  font-size: var(--title);
  margin-top: 16px;
}

.studio-rooms p {
  margin-top: 8px;
  color: var(--muted);
}

.journal-article {
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 48px;
}

.journal-article h2 {
  font-size: var(--section);
  max-width: 18ch;
}

.journal-article time {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.journal-article p {
  margin-top: 16px;
  max-width: 62ch;
}

.journal-end {
  max-width: 480px;
  margin-bottom: 64px;
}

@media (max-width: 980px) {
  :root {
    --display: 60px;
    --display-s: 44px;
    --section: 40px;
  }

  .hero .wrap,
  .process-grid,
  .modes-panels,
  .bento,
  .journal-layout,
  .band .wrap,
  .showcase,
  .spread,
  .spread:nth-child(even),
  .about-grid,
  .contact-grid,
  .colophon .wrap,
  .studio-rooms {
    grid-template-columns: minmax(0, 1fr);
  }

  .spread:nth-child(even) .spread-copy {
    order: 0;
  }

  .bento-hall {
    grid-row: auto;
  }

  .bento-gear {
    grid-column: auto;
  }

  .project:nth-child(1),
  .project:nth-child(2),
  .project:nth-child(n + 3) {
    grid-column: span 6;
  }

  .faq-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 720px) {
  :root {
    --display: 44px;
    --display-s: 36px;
    --section: 32px;
    --title: 22px;
    --lead: 18px;
    --pad-a: 80px;
    --pad-b: 96px;
    --pad-c: 112px;
  }

  .wrap {
    width: min(100% - 32px, var(--wide));
  }

  .nav-switch {
    display: inline-flex;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    gap: 16px;
    z-index: 4;
  }

  .nav-on:checked ~ .nav {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 12px;
  }

  .mast {
    position: relative;
  }

  .project-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .project:nth-child(1),
  .project:nth-child(2),
  .project:nth-child(n + 3) {
    grid-column: auto;
  }

  .rail-item {
    flex-basis: 84%;
  }
}

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

  .nav-cta,
  .act,
  .media img {
    transition: none;
  }

  .hero,
  .project-board,
  .rail,
  .process,
  .modes,
  .statement,
  .studio-bento,
  .journal,
  .faq,
  .spread,
  .legal-page,
  .page-head {
    animation: none;
  }
}
