:root {
  --ink: #1a2420;
  --muted: #5d675f;
  --paper: #f4efe4;
  --sheet: #fffdf8;
  --teal: #0f6e62;
  --rose: #e15b4a;
  --saffron: #e8a317;
  --pine: #16302b;
  --line: rgba(26, 36, 32, 0.14);
  --serif: "Fraunces", "Iowan Old Style", Palatino, serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 auto 0 0;
  width: 12px;
  background: linear-gradient(var(--teal) 0 34%, var(--saffron) 34% 67%, var(--rose) 67%);
  z-index: 30;
}
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, .brand-name, .project-title {
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
p { margin: 0.35rem 0 0; }
a { color: inherit; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin: 0 auto; }
.sr, .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip {
  position: absolute;
  left: 1.4rem;
  top: -4rem;
  background: var(--saffron);
  color: var(--ink);
  padding: 0.45rem 0.7rem;
  z-index: 40;
}
.skip:focus { top: 0.7rem; }

.mast {
  background: var(--paper);
  padding: 1.1rem 0 0;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 1px 0 var(--line);
}
.mast-top {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  gap: 0.8rem 1.4rem;
  align-items: end;
  padding-bottom: 0.85rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 0.7rem; height: 0.7rem; background: var(--rose); display: inline-block; }
.brand-name { font-size: 2.35rem; font-style: italic; }
.mast-line { margin: 0 0 0.35rem; color: var(--muted); font-size: 0.92rem; }
.finder {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0.28rem;
}
.finder input {
  border: 0;
  background: transparent;
  width: 11rem;
  padding: 0.45rem 0.2rem;
}
.finder button {
  border: 0;
  background: transparent;
  font-weight: 700;
  cursor: pointer;
  padding: 0.45rem 0 0.45rem 0.4rem;
}
.menu-btn {
  display: none;
  border: 0;
  background: var(--ink);
  color: var(--sheet);
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  cursor: pointer;
}
.navline ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0.85rem;
  border-top: 1px solid var(--line);
}
.nav-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}
.nav-link.is-current { box-shadow: inset 0 -3px 0 var(--rose); }
.nav-link:hover { color: var(--teal); }

.hero { position: relative; background: var(--paper); }
.hero-photo a { display: block; }
.hero-photo img, .hero-photo .swatch {
  width: 100%;
  height: 62vh;
  min-height: 24rem;
  object-fit: cover;
}
.hero-sheet { position: relative; margin-top: -5.5rem; z-index: 1; padding-bottom: 0.4rem; }
.hero-panel {
  background: var(--sheet);
  max-width: 38rem;
  padding: 1.5rem 1.6rem 1.6rem;
  border-left: 12px solid var(--teal);
  box-shadow: 0 22px 50px rgba(22, 48, 43, 0.16);
}
.hero-panel h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); margin: 0.15rem 0 0.7rem; }
.hero-panel h2 { font-size: clamp(1.45rem, 2vw, 1.9rem); margin: 0.55rem 0 0.25rem; }
.hero-panel h2 a { text-decoration: none; }
.hero-panel h2 a:hover { text-decoration: underline; text-underline-offset: 0.14em; }
.hero-panel .dek { color: var(--muted); }
.hero-cat a {
  display: inline-block;
  background: var(--saffron);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.22rem 0.5rem;
}
.kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.go { margin-top: 1rem; }
.go a {
  display: inline-block;
  font-weight: 700;
  color: var(--teal);
  text-underline-offset: 0.18em;
}

.lane { padding: 2.6rem 0 0.2rem; }
.section-head { max-width: 36rem; margin-bottom: 1.15rem; }
.section-head h2, .studio-copy h2 { font-size: clamp(2rem, 4vw, 3.15rem); margin: 0.1rem 0 0.35rem; }
.section-head p, .studio-copy p { color: var(--muted); }

.eight, .shelf, .trio { display: grid; gap: 1.15rem; }
.eight { grid-template-columns: 1fr 1fr; gap: 1.3rem 2rem; }
.shelf { grid-template-columns: repeat(3, 1fr); gap: 1.6rem 1.2rem; }
.trio { grid-template-columns: 1fr; }
.project a {
  display: grid;
  color: inherit;
  text-decoration: none;
  height: 100%;
}
.eight .project a, .trio .project a {
  grid-template-columns: 7.2rem 1fr;
  gap: 0.85rem;
  align-items: center;
}
.shelf .project a { grid-template-rows: auto 1fr; }
.project-photo { background: var(--teal); overflow: hidden; }
.eight .project-photo, .trio .project-photo { aspect-ratio: 1; }
.shelf .project-photo { aspect-ratio: 5 / 4; }
.project-photo img, .project-photo .swatch { width: 100%; height: 100%; object-fit: cover; }
.project-copy { display: grid; gap: 0.25rem; align-content: center; }
.shelf .project-copy { padding-top: 0.7rem; }
.project-title { font-size: 1.28rem; }
.shelf .project-title { font-size: 1.42rem; }
.project a:hover .project-title { text-decoration: underline; text-underline-offset: 0.12em; }
.swatch {
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--sheet);
  font-family: var(--serif);
  font-size: 1.5rem;
}
.eight .project:nth-child(4n+2) .swatch, .shelf .project:nth-child(3n+2) .swatch { background: var(--rose); }
.eight .project:nth-child(4n+3) .swatch, .shelf .project:nth-child(3n) .swatch { background: var(--saffron); color: var(--ink); }
.eight .project:nth-child(4n) .swatch { background: var(--pine); }

.studio { margin-top: 2.6rem; padding: 2.4rem 0; }
.studio-teal { background: var(--teal); color: var(--sheet); }
.studio-mango { background: var(--saffron); color: var(--ink); }
.studio-coral { background: var(--rose); color: #fff8f4; }
.studio-plum { background: var(--pine); color: var(--sheet); }
.studio .kicker, .studio-copy p { color: inherit; opacity: 0.86; }
.studio-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 1.6rem; align-items: center; }
.studio-flip .studio-copy { order: 2; }
.studio .project { background: var(--sheet); color: var(--ink); padding: 0.45rem; }
.studio .kicker { color: var(--teal); }
.studio .go a { color: inherit; }

.intro { background: var(--teal); color: var(--sheet); padding: 2.3rem 0 2.4rem; }
.page-search .intro { background: var(--pine); }
.intro h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); margin: 0.15rem 0; }
.intro .dek { max-width: 38rem; }
.intro .kicker, .intro .dek { color: inherit; }
.crumbs { font-size: 0.92rem; margin-bottom: 0.65rem; }
.crumbs a { color: inherit; }

.folio { padding: 1.8rem 0 2.2rem; }
.folio-grid { width: min(760px, calc(100% - 3rem)); }
.folio-top h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin: 0.2rem 0 0.9rem; }
.folio-photo { margin: 0.3rem 0 1.4rem; }
.folio-photo img, .folio-photo .swatch { width: 100%; max-height: 36rem; object-fit: cover; }
.folio-photo { border-bottom: 10px solid var(--saffron); }
.folio-photo figcaption { margin-top: 0.55rem; color: var(--muted); font-size: 0.9rem; }

.prose { font-size: 1.06rem; }
.prose > * { margin: 0.95rem 0; }
.prose h2, .prose h3, .prose h4 { margin: 1.7rem 0 0.35rem; }
.prose h2 { font-size: 1.9rem; }
.prose a { color: var(--teal); text-underline-offset: 0.16em; }
.prose img { margin: 0.7rem 0; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0.28rem 0; }
.prose blockquote {
  margin: 1.2rem 0;
  padding: 0.2rem 0 0.2rem 1rem;
  border-left: 4px solid var(--saffron);
  color: var(--muted);
}
.prose table { width: 100%; border-collapse: collapse; background: var(--sheet); }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 0.45rem 0.4rem; text-align: left; }
.prose th { font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; list-style: none; padding: 0.4rem 0 0; }
.tag-row a { color: var(--teal); font-weight: 700; font-size: 0.92rem; }

.pager { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1.5rem 0 0.2rem; }
.page-link {
  display: inline-grid;
  place-items: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.7rem;
  text-decoration: none;
  border: 1px solid var(--ink);
  font-weight: 700;
  background: transparent;
}
.page-link.is-current { background: var(--ink); color: var(--sheet); }

.contact-page { padding: 2.2rem 0 3rem; }
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 2rem; align-items: start; }
.contact-copy h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); margin: 0.2rem 0 0.6rem; }
.contact-copy .dek { max-width: 28rem; color: var(--muted); font-size: 1.08rem; }
.contact-points { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.contact-points li { padding-left: 0.9rem; border-left: 4px solid var(--saffron); font-weight: 700; }
.contact-card {
  background: var(--sheet);
  border-left: 12px solid var(--teal);
  padding: 1.4rem 1.4rem 1.6rem;
  box-shadow: 0 18px 40px rgba(22, 48, 43, 0.08);
}
.note-form { display: grid; gap: 0.85rem; margin-top: 0.2rem; }
.note-form label { display: grid; gap: 0.28rem; font-weight: 700; }
.note-form input {
  border: 0;
  border-bottom: 2px solid var(--ink);
  background: transparent;
  padding: 0.65rem 0.1rem;
}
.note-form textarea {
  min-height: 8.5rem;
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--ink);
  background: var(--paper);
  padding: 0.75rem;
  resize: vertical;
}
.note-form button {
  justify-self: start;
  border: 0;
  background: var(--teal);
  color: var(--sheet);
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
}
.notice, .form-errors { background: var(--sheet); padding: 0.8rem 1rem; }
.form-errors { border-left: 4px solid var(--rose); }
.captcha { margin: 0.2rem 0; }

.colophon { background: var(--pine); color: #efe8da; margin-top: 3rem; padding: 2.4rem 0 1.1rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 1.4rem; }
.foot-brand .brand { color: #efe8da; margin-bottom: 0.45rem; }
.foot-brand .brand-mark { background: var(--saffron); }
.colophon h2 { font-size: 1.15rem; margin: 0 0 0.4rem; color: var(--saffron); }
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li { margin: 0.28rem 0; }
.foot-link { color: #efe8da; text-decoration: none; }
.foot-link:hover { color: var(--saffron); }
.legal { margin-top: 1.5rem; padding-top: 0.8rem; border-top: 1px solid rgba(239, 232, 218, 0.16); color: #c9d2cb; }

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

@media (max-width: 980px) {
  .eight, .shelf, .foot-grid, .studio-grid { grid-template-columns: 1fr 1fr; }
  .studio-flip .studio-copy { order: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body::before { width: 8px; }
  .wrap, .folio-grid { width: min(1120px, calc(100% - 1.6rem)); }
  .menu-btn { display: inline-flex; }
  .navline { display: none; }
  .navline.is-open { display: block; }
  .mast { position: static; }
  .mast-top { grid-template-columns: 1fr auto; align-items: center; }
  .mast-line { display: none; }
  .finder { grid-column: 1 / -1; }
  .finder input { flex: 1; width: auto; }
  .navline ul { display: grid; gap: 0.1rem; padding-bottom: 0.8rem; }
  .hero-photo img, .hero-photo .swatch { height: 52vh; min-height: 16rem; }
  .hero-sheet { margin-top: 0; }
  .hero-panel { max-width: none; box-shadow: none; }
  .eight, .shelf, .studio-grid, .foot-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
