/* ==========================================================================
   Home Styling by Monika
   ========================================================================== */

:root {
  --ivory: #f6f3ee;
  --ivory-deep: #efe9e0;
  --sand: #e7ded2;
  --stone: #d8d1c7;
  --taupe: #b8aa9a;
  --taupe-dark: #6b6258;
  --charcoal: #252321;
  --charcoal-soft: #3a3632;
  --night: #1d1b19;
  --champagne: #b8a27a;
  --on-dark: #f3eee6;
  --on-dark-muted: #bdb3a7;

  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.5vw, 64px);
  --max: 1320px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 1.1s;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 1.5px solid var(--charcoal);
  outline-offset: 4px;
}
.on-dark :focus-visible { outline-color: var(--on-dark); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--charcoal); color: var(--ivory);
  padding: 12px 18px; font-size: 13px; letter-spacing: .08em;
  transition: top .3s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- Type ---------- */

h1, h2, h3, .display {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.012em;
  margin: 0;
  color: inherit;
}
h1, .display-xl {
  font-size: clamp(3.1rem, 6.6vw, 6.4rem);
  line-height: 0.98;
}
h2, .display-l {
  font-size: clamp(2.4rem, 4.4vw, 4.1rem);
  line-height: 1.02;
}
h3 {
  font-size: clamp(1.6rem, 2.2vw, 2.1rem);
  line-height: 1.15;
}
h1 em, h2 em, h3 em, .display em {
  font-style: italic;
  font-weight: 300;
}

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 26px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px; height: 1px;
  background: var(--champagne);
  vertical-align: middle;
  margin: -3px 14px 0 0;
}
.on-dark .eyebrow { color: var(--on-dark-muted); }

.lede {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.75;
  color: #4a4540;
  max-width: 34em;
}
.on-dark .lede { color: var(--on-dark-muted); }

.small-caps {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.muted { color: var(--taupe-dark); }

/* ---------- Layout ---------- */

.wrap {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(96px, 13vw, 190px) 0; position: relative; }
.section--tight { padding: clamp(72px, 9vw, 130px) 0; }
.section--sand { background: var(--sand); }
.section--deep { background: var(--ivory-deep); }
.on-dark { background: var(--charcoal); color: var(--on-dark); }

main { display: block; }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 32px;
  background: var(--charcoal);
  color: var(--ivory);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  transition: background .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn:hover { background: var(--charcoal-soft); border-color: var(--charcoal-soft); }
.btn--line { background: transparent; color: var(--charcoal); }
.btn--line:hover { background: var(--charcoal); color: var(--ivory); }
.on-dark .btn { background: var(--on-dark); color: var(--charcoal); border-color: var(--on-dark); }
.on-dark .btn:hover { background: #fff; border-color: #fff; }
.on-dark .btn--line { background: transparent; color: var(--on-dark); border-color: rgba(243, 238, 230, .45); }
.on-dark .btn--line:hover { background: var(--on-dark); color: var(--charcoal); }

.link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 0;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .6s var(--ease);
}
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.link .arrow { transition: transform .6s var(--ease); }
.link:hover .arrow { transform: translateX(6px); }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 44px; }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(246, 243, 238, 0);
  transition: background .6s var(--ease), box-shadow .6s var(--ease), height .6s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(246, 243, 238, .92);
  -webkit-backdrop-filter: saturate(1.2) blur(14px);
  backdrop-filter: saturate(1.2) blur(14px);
  box-shadow: 0 1px 0 rgba(37, 35, 33, .08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand img { width: 58px; height: auto; }
.brand-word {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); }
.site-nav a:not(.btn) {
  position: relative;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 8px 0;
}
.site-nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform .6s var(--ease);
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.site-nav .btn { min-height: 46px; padding: 0 22px; margin-left: 8px; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  margin-right: -10px;
}
.menu-toggle span,
.menu-toggle span::before {
  display: block; width: 26px; height: 1.5px; background: var(--charcoal);
  position: relative; transition: transform .5s var(--ease);
}
.menu-toggle span::before { content: ""; position: absolute; top: 8px; width: 18px; right: 0; }
.menu-toggle span { transform: translateY(-4px); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 60;
  background: var(--ivory);
  display: flex; flex-direction: column;
  padding: 22px var(--gutter) 36px;
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility .5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; min-height: 48px; }
.mobile-menu__close { width: 48px; height: 48px; font-size: 28px; line-height: 1; margin-right: -10px; }
.mobile-menu nav { margin-top: 8vh; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 11vw, 3.4rem);
  line-height: 1.2;
}
.mobile-menu nav a[aria-current="page"] { font-style: italic; }
.mobile-menu__foot { margin-top: auto; display: grid; gap: 18px; }
.mobile-menu__foot .btn { width: 100%; }

@media (max-width: 1080px) {
  .site-nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 420px) {
  .brand-word { font-size: 10px; letter-spacing: .14em; }
  .brand img { width: 46px; }
}

/* ---------- Media / frames ---------- */

.frame {
  position: relative;
  overflow: hidden;
  background: var(--stone);
}
.frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.frame--arch { border-radius: 9999px 9999px 0 0; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--tall { aspect-ratio: 3 / 4; }
.frame--land { aspect-ratio: 3 / 2; }
.frame--square { aspect-ratio: 1 / 1; }

img.rot { opacity: 0; transition: opacity 1.2s var(--ease); }
img.rot.is-loaded { opacity: 1; }
.no-js img.rot { opacity: 1; }

.zoom img { transition: transform 1.8s var(--ease); }
.zoom:hover img { transform: scale(1.045); }

.caption {
  display: flex; justify-content: space-between; gap: 16px;
  margin-top: 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--taupe-dark);
}
.on-dark .caption { color: var(--on-dark-muted); }
.caption .today { font-weight: 500; letter-spacing: .08em; text-transform: none; font-style: italic; font-family: var(--serif); font-size: 16px; }

/* ---------- Hero ---------- */

.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 24px);
  padding-bottom: clamp(40px, 6vw, 80px);
  display: flex;
  align-items: center;
}
.hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}
.hero h1 { margin-bottom: 34px; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero h1 .line > span { display: inline-block; }
.hero__visual { position: relative; max-width: 560px; justify-self: end; width: 100%; }
.hero__visual .frame { aspect-ratio: 4 / 5.2; }
.hero__visual .frame img { animation: settle 3.2s var(--ease) both; }
.hero__badge {
  position: absolute;
  left: -34px; bottom: 64px;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: var(--ivory);
  display: grid; place-items: center;
  box-shadow: 0 18px 50px -24px rgba(37, 35, 33, .35);
}
.hero__badge img { width: 70px; }
.hero__badge svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: spin 40s linear infinite; }
.hero__badge text { font-family: var(--sans); font-size: 7.4px; font-weight: 600; letter-spacing: 1.5px; fill: var(--taupe-dark); text-transform: uppercase; }

@keyframes settle { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 36px); }
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero__visual { justify-self: center; max-width: 520px; }
  .hero__badge { left: -10px; bottom: 40px; width: 104px; height: 104px; }
  .hero__badge img { width: 54px; }
}

/* ---------- Page intro (inner pages) ---------- */

.page-intro {
  padding-top: calc(var(--header-h) + clamp(64px, 9vw, 130px));
  padding-bottom: clamp(72px, 9vw, 130px);
}
.page-intro .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
}
.page-intro h1 { margin-bottom: 30px; }
.page-intro--center .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.page-intro--center .lede { margin-inline: auto; }
@media (max-width: 900px) {
  .page-intro .wrap { grid-template-columns: 1fr; }
}

/* ---------- Statement + featured work ---------- */

.statement {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: center;
  margin-bottom: clamp(90px, 12vw, 170px);
}
.statement__img { max-width: 360px; }
.statement h2 { margin-bottom: 30px; }
@media (max-width: 800px) {
  .statement { grid-template-columns: 1fr; }
  .statement__img { max-width: 300px; order: 2; }
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(20px, 3vw, 44px);
  row-gap: clamp(64px, 8vw, 120px);
}
.work-card { display: block; }
.work-card .frame { margin-bottom: 22px; }
.work-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.work-card__title { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.2; }
.work-card__place { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe-dark); white-space: nowrap; }
.work-card__line { margin-top: 8px; color: #56504a; font-size: 15.5px; max-width: 34em; }

.work-grid--home .work-card:nth-child(1) { grid-column: 1 / span 7; }
.work-grid--home .work-card:nth-child(2) { grid-column: 9 / span 4; margin-top: clamp(80px, 14vw, 220px); }
.work-grid--home .work-card:nth-child(3) { grid-column: 3 / span 6; }
.work-grid--home .work-card:nth-child(1) .frame { aspect-ratio: 3 / 2; }
.work-grid--home .work-card:nth-child(2) .frame { aspect-ratio: 4 / 5; }
.work-grid--home .work-card:nth-child(3) .frame { aspect-ratio: 4 / 3; }

.work-grid--all .work-card { grid-column: span 6; }
.work-grid--all .work-card:nth-child(4n+2) { margin-top: clamp(60px, 10vw, 160px); }
.work-grid--all .work-card:nth-child(4n+3) { grid-column: 2 / span 5; }
.work-grid--all .work-card:nth-child(4n+4) { grid-column: 8 / span 5; margin-top: clamp(40px, 6vw, 90px); }
.work-grid--all .frame { aspect-ratio: 4 / 5; }
.work-grid--all .work-card:nth-child(4n+1) .frame { aspect-ratio: 5 / 4; }
.work-grid--all .work-card.is-hidden { display: none; }

@media (max-width: 800px) {
  .work-grid--home .work-card:nth-child(n),
  .work-grid--all .work-card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
}

.section-end { display: flex; justify-content: center; margin-top: clamp(80px, 10vw, 140px); }

/* ---------- Filters ---------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px 34px; margin-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid rgba(37, 35, 33, .14); }
.filters button {
  position: relative;
  padding: 0 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--taupe-dark);
  transition: color .4s var(--ease);
}
.filters button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--charcoal);
  transform: scaleX(0); transition: transform .6s var(--ease); transform-origin: left;
}
.filters button[aria-pressed="true"] { color: var(--charcoal); }
.filters button[aria-pressed="true"]::after { transform: scaleX(1); }
.filters button:hover { color: var(--charcoal); }

/* ---------- Design notes ---------- */

.note-host { position: relative; }
.note-toggle {
  position: absolute; right: 18px; bottom: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px 11px 12px;
  background: rgba(246, 243, 238, .94);
  color: var(--charcoal);
  font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  border-radius: 999px;
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .5);
  transition: background .4s var(--ease);
}
.note-toggle .plus {
  width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid var(--charcoal);
  display: grid; place-items: center;
  font-size: 15px; line-height: 1;
  transition: transform .6s var(--ease);
}
.note-toggle[aria-expanded="true"] .plus { transform: rotate(45deg); }
.note-panel {
  position: absolute; left: 18px; right: 18px; bottom: 76px; z-index: 2;
  max-width: 380px;
  margin-left: auto;
  background: var(--ivory);
  padding: 26px 28px 28px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(12px); visibility: hidden;
  transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s;
}
.note-panel.is-open { opacity: 1; transform: none; visibility: visible; }
.note-panel .small-caps { color: var(--taupe-dark); display: block; margin-bottom: 10px; }
.note-panel p { font-family: var(--serif); font-size: 1.28rem; line-height: 1.45; font-style: italic; margin: 0; }

/* ---------- Working with Monika (home, dark) ---------- */

.services-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(243, 238, 230, .18);
  margin-top: 56px;
}
.services-row > div {
  padding: 34px 28px 10px 0;
  border-right: 1px solid rgba(243, 238, 230, .12);
  margin-right: 28px;
}
.services-row > div:last-child { border-right: 0; margin-right: 0; }
.services-row .num { font-family: var(--serif); font-size: 1.1rem; color: var(--champagne); display: block; margin-bottom: 18px; font-style: italic; }
.services-row h3 { font-size: 1.7rem; margin-bottom: 12px; }
.services-row p { color: var(--on-dark-muted); font-size: 15px; line-height: 1.65; }
.services-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; margin-top: 44px; }
.services-meta .price { font-family: var(--serif); font-size: 1.45rem; font-style: italic; color: var(--on-dark); }
@media (max-width: 960px) {
  .services-row { grid-template-columns: 1fr 1fr; }
  .services-row > div:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 560px) {
  .services-row { grid-template-columns: 1fr; }
  .services-row > div { border-right: 0; margin-right: 0; border-bottom: 1px solid rgba(243, 238, 230, .12); padding-bottom: 28px; }
}

/* ---------- Testimonials ---------- */

.quote-block {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.quote-stage { position: relative; min-height: 18em; }
.quote {
  position: absolute; inset: 0 auto auto 0;
  margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.4s var(--ease), visibility 1.4s;
}
.quote.is-active { opacity: 1; visibility: visible; position: relative; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.7vw, 2.5rem);
  line-height: 1.3;
  font-weight: 300;
}
.quote blockquote::before { content: "\201C"; display: block; font-size: 4.5rem; line-height: .6; color: var(--champagne); margin-bottom: 18px; font-style: normal; }
.quote figcaption { margin-top: 30px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.quote figcaption span { color: var(--taupe-dark); font-weight: 500; }
.on-dark .quote figcaption span { color: var(--on-dark-muted); }
.quote-controls { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.quote-controls .count { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--taupe-dark); }
.on-dark .quote-controls .count { color: var(--on-dark-muted); }
@media (max-width: 900px) {
  .quote-block { grid-template-columns: 1fr; }
  .quote-block .frame { max-width: 360px; }
}

.closing {
  text-align: center;
  padding-top: clamp(100px, 12vw, 170px);
  margin-top: clamp(100px, 12vw, 170px);
  border-top: 1px solid rgba(243, 238, 230, .14);
}
.closing .actions { justify-content: center; }
.closing .lede { margin: 26px auto 0; }
.closing__phone { display: block; margin-top: 28px; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--on-dark-muted); }
.closing__phone a { color: var(--on-dark); background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat; }
.section:not(.on-dark) .closing { border-top-color: rgba(37, 35, 33, .12); }
.section:not(.on-dark) .closing__phone { color: var(--taupe-dark); }
.section:not(.on-dark) .closing__phone a { color: var(--charcoal); }

/* ---------- Services page ---------- */

.service-list { border-top: 1px solid rgba(37, 35, 33, .16); }
.service {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(20px, 4vw, 64px);
  padding: clamp(44px, 5vw, 70px) 0;
  border-bottom: 1px solid rgba(37, 35, 33, .16);
}
.service .num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--taupe-dark); padding-top: 8px; }
.service h2 { font-size: clamp(2rem, 3.2vw, 3rem); margin-bottom: 16px; }
.service .price { font-family: var(--serif); font-size: 1.35rem; font-style: italic; color: var(--taupe-dark); }
.service ul { margin: 18px 0 0; padding: 0; list-style: none; columns: 2; column-gap: 28px; }
.service li { font-size: 15.5px; padding: 7px 0 7px 22px; position: relative; break-inside: avoid; }
.service li::before { content: ""; position: absolute; left: 0; top: 18px; width: 10px; height: 1px; background: var(--champagne); }
.service .fine { font-size: 14px; color: var(--taupe-dark); margin-top: 18px; }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 12px; }
  .service ul { columns: 1; }
}

.method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(80px, 9vw, 130px);
  counter-reset: step;
}
.method h3 { font-size: 1.9rem; margin: 14px 0 10px; }
.method p { font-size: 15.5px; color: #56504a; }
.method .step { position: relative; padding-top: 26px; border-top: 1px solid rgba(37, 35, 33, .22); }
.method .step::before { counter-increment: step; content: "0" counter(step); font-family: var(--serif); font-style: italic; color: var(--taupe-dark); font-size: 1.2rem; }
.method-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-top: clamp(90px, 10vw, 150px); }
.method-head + .method { margin-top: 48px; }
.method-head > div:first-child { max-width: 720px; }
@media (max-width: 860px) { .method { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .method { grid-template-columns: 1fr; } }

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 7vw, 110px);
}
.faq details { border-bottom: 1px solid rgba(37, 35, 33, .16); }
.faq details:first-child { border-top: 1px solid rgba(37, 35, 33, .16); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 20px; align-items: center;
  padding: 26px 0;
  font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.25;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 300; font-size: 26px; transition: transform .5s var(--ease); flex-shrink: 0; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 28px; max-width: 40em; color: #4a4540; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */

.about-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
}
.about-hero .frame { max-width: 520px; }
.about-hero h1 { margin-bottom: 36px; }
.about-hero .story p { font-size: 18px; line-height: 1.8; color: #3f3a35; max-width: 32em; }
.about-hero .story .dropcap > p:first-child::first-letter {
  font-family: var(--serif); float: left; font-size: 4.6em; line-height: .82; padding: 8px 12px 0 0; color: var(--charcoal);
}
.signoff { margin-top: 36px; font-family: var(--serif); font-style: italic; font-size: 1.6rem; }
@media (max-width: 900px) { .about-hero .wrap { grid-template-columns: 1fr; } }

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 60px);
  margin-top: 64px;
}
.principles h3 { margin: 16px 0 12px; }
.principles p { color: #56504a; font-size: 16px; }
.principles .num { font-family: var(--serif); font-style: italic; color: var(--taupe-dark); font-size: 1.2rem; }
.principles > div { border-top: 1px solid rgba(37, 35, 33, .22); padding-top: 26px; }
@media (max-width: 800px) { .principles { grid-template-columns: 1fr; } }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: center;
}
.split--rev { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.checklist { list-style: none; margin: 30px 0 0; padding: 0; }
.checklist li { padding: 16px 0 16px 34px; border-bottom: 1px solid rgba(37, 35, 33, .12); position: relative; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 29px; width: 16px; height: 1px; background: var(--champagne); }
@media (max-width: 860px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split .frame { max-width: 440px; }
}

/* ---------- Project page ---------- */

.project-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 80px)); }
.project-hero__head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(30px, 6vw, 100px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.project-hero__head .lede { margin: 0; }
.project-hero .frame { aspect-ratio: 16 / 9; }
.project-hero .frame img { animation: settle 3s var(--ease) both; }
.facts { display: flex; flex-wrap: wrap; gap: 14px 44px; margin-top: 30px; }
.facts div { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.facts span { display: block; color: var(--taupe-dark); font-weight: 500; margin-bottom: 4px; }
@media (max-width: 860px) {
  .project-hero__head { grid-template-columns: 1fr; }
  .project-hero .frame { aspect-ratio: 4 / 3; }
}

.story-block { margin-top: clamp(80px, 10vw, 150px); }
.story-block:first-child { margin-top: 0; }
.story-head { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 100px); margin-bottom: 44px; }
@media (max-width: 860px) { .story-head { grid-template-columns: 1fr; } }

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(14px, 2vw, 28px); }
.ba figure { margin: 0; }
.ba .frame { aspect-ratio: 4 / 5; }
.ba figcaption { margin-top: 14px; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe-dark); }
.ba figure:last-child figcaption { color: var(--charcoal); }
@media (max-width: 600px) { .ba { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.gallery figure { margin: 0; }
.gallery .g-wide { grid-column: 1 / -1; }
.gallery .g-wide .frame { aspect-ratio: 16 / 9; }
.gallery .g-7 { grid-column: span 7; }
.gallery .g-5 { grid-column: span 5; }
.gallery .g-6 { grid-column: span 6; }
.gallery .g-4 { grid-column: span 4; }
.gallery .g-8 { grid-column: span 8; }
.gallery .g-7 .frame, .gallery .g-8 .frame { aspect-ratio: 4 / 3; }
.gallery .g-5 .frame, .gallery .g-4 .frame { aspect-ratio: 4 / 5; }
.gallery .g-6 .frame { aspect-ratio: 1 / 1; }
.gallery figcaption { margin-top: 12px; font-size: 14px; color: var(--taupe-dark); }
@media (max-width: 700px) { .gallery [class*="g-"] { grid-column: 1 / -1; } }

.materials { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.materials div { border-top: 1px solid rgba(37, 35, 33, .22); padding-top: 18px; }
.materials .swatch { display: block; height: 70px; margin-bottom: 16px; }
.materials strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.3rem; }
.materials span { font-size: 14px; color: var(--taupe-dark); }
@media (max-width: 700px) { .materials { grid-template-columns: 1fr 1fr; } }

.next-project { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.next-project .frame { aspect-ratio: 3 / 2; }
@media (max-width: 800px) { .next-project { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 8vw, 130px);
  align-items: start;
}
.contact-list { list-style: none; margin: 40px 0 0; padding: 0; }
.contact-list li { padding: 22px 0; border-bottom: 1px solid rgba(37, 35, 33, .14); display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: baseline; }
.contact-list li:first-child { border-top: 1px solid rgba(37, 35, 33, .14); }
.contact-list .k { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe-dark); }
.contact-list .v { font-family: var(--serif); font-size: 1.45rem; line-height: 1.3; word-break: break-word; }
.contact-list a.v { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .6s var(--ease); }
.contact-list a.v:hover { background-size: 100% 1px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-list li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Legal ---------- */

.prose { max-width: 44em; }
.prose h2 { font-size: 2rem; margin: 2em 0 .6em; }
.prose p, .prose li { color: #3f3a35; }

/* ---------- Footer ---------- */

.site-footer { background: var(--night); color: var(--on-dark); padding: clamp(80px, 9vw, 120px) 0 36px; }
/* A dark section right before the footer uses the footer color, so the two meet seamlessly */
main > section.on-dark:last-child { background: var(--night); }
main:has(> section.on-dark:last-child) + .site-footer { box-shadow: inset 0 1px 0 rgba(243, 238, 230, .08); }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 0.7fr)); gap: 48px; padding-bottom: 72px; border-bottom: 1px solid rgba(243, 238, 230, .12); }
.footer-brand img { width: 84px; margin-bottom: 30px; }
.footer-brand p { font-family: var(--serif); font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1.2; font-style: italic; font-weight: 300; }
.footer-col h2 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); margin-bottom: 22px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-col a:hover { color: #fff; }
.footer-col li { color: var(--on-dark-muted); font-size: 15.5px; }
.footer-col a { color: var(--on-dark); }
.social { display: flex; gap: 14px; margin-top: 24px; }
.social a, .social span {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(243, 238, 230, .28);
  display: grid; place-items: center;
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.social a:hover { background: var(--on-dark); color: var(--night); border-color: var(--on-dark); }
.social span { opacity: .45; cursor: default; }
.social svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 30px; font-size: 13px; color: var(--on-dark-muted); letter-spacing: .04em; }
.footer-bottom nav { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--on-dark); }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Reveal motion ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .12s; }
.js .reveal-d2 { transition-delay: .24s; }
.js .reveal-d3 { transition-delay: .36s; }

.js .hero h1 .line > span { transform: translateY(105%); transition: transform 1.3s var(--ease); }
.js .hero.is-ready h1 .line > span { transform: none; }
.js .hero.is-ready h1 .line:nth-child(2) > span { transition-delay: .14s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .js .hero h1 .line > span { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-menu, .site-footer, .note-toggle { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  img.rot { opacity: 1; }
}
