:root {
  --cream: #f3eee4;
  --cream-2: #e9e2d4;
  --sand: #e4d2ae;
  --sand-line: #c9b48a;
  --sea: #d5e3e8;
  --sea-deep: #b7cdd6;
  --navy: #1a2744;
  --navy-soft: #3c4b68;
  --muted: #5d6878;
  --white: #ffffff;
  --line: rgba(26, 39, 68, 0.16);
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header: 58px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
button, input { font: inherit; color: inherit; }
a { color: inherit; }

.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a.skip:focus {
  position: fixed;
  left: 12px;
  top: 8px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  background: var(--navy);
  color: var(--cream);
  z-index: 80;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  background: var(--white);
  border-bottom: 1px solid rgba(26, 39, 68, 0.06);
}
.menu-btn, .menu-close {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  padding: 8px 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.burger {
  width: 16px;
  height: 9px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  height: 1px;
  background: var(--navy);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.top-links {
  justify-self: end;
  display: flex;
  gap: 22px;
}
.top-links a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(243, 238, 228, 0.98);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 8vw 48px;
}
.menu[hidden] { display: none; }
.menu-close { position: absolute; top: 14px; left: 22px; }
.menu nav { display: flex; flex-direction: column; gap: 4px; }
.menu nav a {
  font-family: var(--serif);
  font-weight: 450;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.menu nav a:hover { color: var(--navy-soft); }
.menu-note {
  margin-top: 28px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero {
  position: relative;
  margin-top: 18px;
}
.hero-band {
  height: min(46vw, 460px);
  min-height: 220px;
  overflow: hidden;
  background: var(--sea);
}
.hero-band img,
.split-photo img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  will-change: transform;
}
.hero-frame {
  position: absolute;
  left: 50%;
  bottom: -78px;
  transform: translateX(-50%);
  width: min(250px, 34vw);
  aspect-ratio: 4 / 5;
  margin: 0;
  padding: 10px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(26, 39, 68, 0.12);
}
.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro {
  padding: 118px 20px 18px;
  text-align: center;
}
.intro h1, .page-head h1, .project-hero h1 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--navy);
}
.search {
  margin: 26px auto 0;
  max-width: 460px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--navy);
}
.search input {
  flex: 1;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 0 12px;
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  outline: none;
}
.search input::placeholder { color: rgba(26, 39, 68, 0.42); }
.search button {
  border: 0;
  background: transparent;
  width: 36px;
  height: 36px;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.tabs {
  margin: 26px auto 0;
  padding: 0 16px 8px;
  max-width: 980px;
  display: flex;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
}
.tab {
  flex: 0 0 auto;
  border: 1px solid rgba(26, 39, 68, 0.38);
  background: transparent;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 13px;
  border-radius: 1px;
}
.tab.is-active, .tab[aria-current="page"] {
  background: var(--sand);
  border-color: var(--sand-line);
}
.quiet {
  margin: 22px auto 0;
  max-width: 42rem;
  padding: 0 20px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

.preview {
  margin-top: 36px;
  padding: 48px 6vw 64px;
  background: var(--sea);
}
.preview-head, .page-head {
  max-width: 720px;
  margin: 0 auto 28px;
  text-align: center;
}
.preview-head h2, .page-head h1 { margin-bottom: 8px; }
.eyebrow, .preview-head p, .page-head p, figcaption, .slot-line {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow { margin: 0 0 12px; color: var(--navy); }

.grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: transparent;
  min-height: 100%;
}
.card-img {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--cream-2);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.card:hover .card-img img { transform: scale(1.04); }
.card h3 {
  margin: 16px 0 4px;
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.02em;
}
.card .slot-line { margin: 0; }
.card .cats {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-soft);
}

.empty {
  max-width: 36rem;
  margin: 12px auto 0;
  text-align: center;
  font-size: 20px;
}
.empty a { color: var(--navy); }

.split {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) 1.14fr;
  min-height: 92vh;
  background: var(--cream);
}
.split.reverse { grid-template-columns: 1.14fr minmax(300px, 0.86fr); }
.split-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: 42px 48px 56px;
  min-height: 560px;
}
.inset {
  width: min(168px, 42vw);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--white);
  padding: 8px;
  box-shadow: 0 10px 28px rgba(26, 39, 68, 0.08);
}
.split-copy h2 {
  margin: 0;
  max-width: 11ch;
  font-weight: 500;
  font-size: clamp(36px, 4vw, 58px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--navy);
}
.split-copy p {
  margin: 14px 0 0;
  max-width: 34ch;
  color: var(--navy-soft);
  font-size: 18px;
}
.split-copy a.more {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--navy);
  padding-bottom: 3px;
}
.split-photo {
  min-height: 420px;
  overflow: hidden;
  background: var(--sea-deep);
}

.page-head { padding: 64px 20px 10px; }
.page-head h1 { font-size: clamp(44px, 6vw, 78px); }
.page-wrap { padding: 10px 6vw 72px; }
.page-wrap .grid { max-width: none; }

.project-hero { padding: 54px 6vw 10px; max-width: 920px; }
.slot-line.big {
  margin: 14px 0 0;
  color: var(--navy);
  letter-spacing: 0.22em;
}
.lede {
  max-width: 38rem;
  font-size: 20px;
  color: var(--navy-soft);
}
.feature {
  margin: 28px 0 0;
}
.feature img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
}
.feature figcaption, .caption {
  margin-top: 8px;
}
.prose {
  max-width: 40rem;
  padding: 8px 6vw 20px;
}
.note {
  margin: 8px 6vw 0;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1000px;
  margin: 10px auto 0;
}
.slot {
  background: var(--sea);
  min-height: 380px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.slot-mark {
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(26, 39, 68, 0.25);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 16px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.slot h2 {
  margin: 18px 0 0;
  font-weight: 500;
  font-size: 32px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 10px 6vw 40px;
}
.address {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0;
}
.contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 22px; }
.contact-actions a, .btn {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--navy);
  padding: 12px 16px;
  background: transparent;
  cursor: pointer;
}
.contact-actions a.solid, button.solid {
  background: var(--sand);
  border-color: var(--sand-line);
}
.mail-form { display: flex; flex-direction: column; gap: 12px; }
.mail-form label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.mail-form input, .mail-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--navy);
  background: transparent;
  padding: 8px 0;
  outline: none;
  font-family: var(--serif);
  font-size: 18px;
}
.mail-form textarea { min-height: 120px; resize: vertical; }

.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 24px;
  align-items: end;
  padding: 36px 6vw 42px;
  border-top: 1px solid var(--line);
  background: var(--cream);
}
.footer p { margin: 0; }
.footer-mark {
  font-size: 22px;
  letter-spacing: -0.02em;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 14px 18px; }
.footer nav a {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
}
.footer-concept {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.reveal { animation: rise 0.9s ease; }
.d2 { animation-delay: 0.12s; }
.d3 { animation-delay: 0.22s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
.observe {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.observe.in { opacity: 1; transform: none; }

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

@media (max-width: 860px) {
  .top-links { display: none; }
  .wordmark { font-size: 12px; letter-spacing: 0.28em; text-indent: 0.28em; }
  .grid, .slots, .contact-grid, .footer { grid-template-columns: 1fr; }
  .split, .split.reverse { grid-template-columns: 1fr; min-height: 0; }
  .split-photo { min-height: 68vw; order: -1; }
  .split-copy { padding: 28px 22px 48px; min-height: 0; }
  .hero-frame { width: min(168px, 46vw); bottom: -54px; padding: 7px; }
  .intro { padding-top: 84px; }
  .footer-concept { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .observe { animation: none; opacity: 1; transform: none; transition: none; }
  .card-img img { transition: none; }
  html { scroll-behavior: auto; }
}
