@import url("fonts.css");

:root {
  --paper: #f3efe8;
  --paper-deep: #e7e0d6;
  --white: #fffcf8;
  --ink: #1c1916;
  --ink-soft: #3c342c;
  --muted: #645c54;
  --line: rgba(28, 25, 22, 0.14);
  --blush: #f3d5cc;
  --sage: #d5e3d6;
  --butter: #f4e6c2;
  --lilac: #e4dced;
  --header: 4.75rem;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --shadow: 0 24px 60px rgba(28, 25, 22, 0.08);
  --radius: 1.6rem;
  --measure: 68ch;
}

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

html { scroll-behavior: smooth; }

body.nav-open { overflow: hidden; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

a { color: inherit; }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
  padding: 0.7rem 1rem;
  border-radius: 999px;
}

.skip:focus { top: 0.75rem; }

.shell {
  width: min(1360px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(243, 239, 232, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  width: min(1360px, calc(100% - 2.4rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 560;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.logo span {
  display: block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.98rem;
}

.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.28em; }

.menu-toggle {
  display: inline-flex;
  min-height: 44px;
  min-width: 44px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: 0 1rem;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
  font-size: 0.98rem;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn-ink { background: var(--ink); color: var(--white); }
.btn-ink:hover { background: #000; }
.btn-ghost { background: transparent; border-color: var(--ink); }
.btn-ghost:hover { background: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }

.hero-wrap,
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #1c1916;
}

.hero-wrap { min-height: min(calc(100svh - var(--header)), 46rem); }

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
}

.hero-wrap::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(28, 25, 22, 0.28) 0%, rgba(28, 25, 22, 0.12) 36%, rgba(28, 25, 22, 0.72) 100%);
}

.hero {
  position: relative;
  z-index: 2;
  display: block;
  min-height: 0;
  padding: 0 0 clamp(1.6rem, 4vw, 2.8rem);
}

.hero-copy {
  max-width: 40rem;
  padding: 0;
  background: none;
}

.hero-wrap h1,
.page-hero h1,
.hero-wrap .eyebrow,
.page-hero .eyebrow,
.hero-wrap .lede,
.page-hero .lede,
.hero-wrap .caption,
.page-hero .caption,
.page-hero .crumbs,
.page-hero .crumbs a {
  color: #fffcf8;
}

.hero-wrap .lede,
.page-hero .lede,
.hero-wrap .caption,
.page-hero .caption,
.page-hero .crumbs,
.page-hero .crumbs a { color: rgba(255, 252, 248, 0.9); }

.hero-wrap .btn-ink,
.page-hero .btn-ink { background: #fffcf8; color: var(--ink); }
.hero-wrap .btn-ink:hover,
.page-hero .btn-ink:hover { background: #fff; color: var(--ink); }
.hero-wrap .btn-ghost,
.page-hero .btn-ghost { background: transparent; color: #fffcf8; border-color: rgba(255, 252, 248, 0.75); }
.hero-wrap .btn-ghost:hover,
.page-hero .btn-ghost:hover { background: #fffcf8; color: var(--ink); }

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.035em; line-height: 0.98; }

h1 {
  margin: 0;
  max-width: 16em;
  font-size: clamp(2.2rem, 4.6vw, 4.15rem);
  line-height: 1.05;
}

h1 em, h2 em { font-style: italic; font-weight: 520; }

.lede {
  max-width: 38rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.6rem; }

.hero-copy h1,
.hero-copy .lede,
.hero-copy .caption { text-shadow: 0 1px 16px rgba(28, 25, 22, 0.35); }

.hero-visual { margin: 0; }
.hero-photos { position: relative; }

.hero-visual img,
.frame img,
.tile img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.hero-visual .secondary {
  position: absolute;
  width: min(46%, 16rem);
  left: 1rem;
  bottom: 1rem;
  margin: 0;
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.hero-visual .secondary img { border-radius: 1.2rem; }

.caption {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.section { padding: 4.5rem 0; }
.section-tight { padding-top: 2.75rem; }
.crumbs-wrap { padding-top: 1.2rem; }

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 42rem);
  gap: 0.7rem;
  margin-bottom: 1.75rem;
}

.section-head h2,
.block h2,
.prose h2 { font-size: clamp(1.85rem, 3vw, 2.7rem); margin: 0; line-height: 1.08; }

.section-head p:last-child { margin: 0; max-width: var(--measure); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 46rem);
  gap: 1.15rem;
  align-items: start;
}
.form-card { max-width: 46rem; }

.prose { max-width: 72ch; }
.prose p, .prose li { color: var(--ink-soft); }
.prose h2 { margin: 2.2rem 0 0.7rem; }
.prose h3 { margin: 1.6rem 0 0.45rem; font-size: clamp(1.45rem, 2vw, 2rem); }
.prose a { color: var(--ink); text-underline-offset: 0.18em; }
.nav a:hover, .site-footer a:hover, .crumbs a:hover { text-decoration: underline; text-underline-offset: 0.22em; }
.nav a.btn:hover, .site-footer a.btn:hover { text-decoration: none; }

.mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-decoration: none;
  background: var(--white);
  border-radius: calc(var(--radius) + 0.3rem);
  padding: 0.7rem 0.7rem 1.1rem;
  min-height: 100%;
  overflow: hidden;
}

.tile-large { grid-row: auto; }

.tile img,
.tile-large img {
  border-radius: calc(var(--radius) - 0.15rem);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
  height: auto;
  min-height: 0;
}

.tile h2, .tile h3 { margin: 0.2rem 0 0; font-size: clamp(1.7rem, 2.4vw, 2.5rem); padding-inline: 0.45rem; }
.tile p { margin: 0; padding-inline: 0.45rem; color: var(--muted); }
.tile:hover img { transform: scale(1.025); }
.tile img { transition: transform 0.45s ease; }

.frames {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.frames figure,
.gallery figure,
.media-grid figure,
.stack figure { margin: 0; display: flex; flex-direction: column; gap: 0.45rem; }
.frames img,
.gallery img,
.media-grid img,
.stack img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fact {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  min-height: 100%;
}

.fact:nth-child(1) { background: var(--blush); }
.fact:nth-child(2) { background: var(--sage); }
.fact:nth-child(3) { background: var(--butter); }

.fact strong {
  display: block;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.6rem, 2vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.55rem;
}

.fact p { margin: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.steps li {
  display: grid;
  grid-template-columns: 5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}
.steps li:last-child { border-bottom: 1px solid var(--line); }
.step-no {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 520;
  font-size: 1.8rem;
  color: var(--muted);
}
.steps h3 { margin: 0 0 0.3rem; font-size: 1.7rem; }
.steps p { margin: 0; max-width: 62ch; }

.faq details { border-top: 1px solid var(--line); padding: 1rem 0 1.15rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; }
.faq details[open] summary::after { content: "–"; }
.faq details p { max-width: 68ch; color: var(--ink-soft); }

.cta-band {
  background: var(--blush);
  border-radius: calc(var(--radius) + 0.4rem);
  padding: clamp(1.8rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 1.5rem;
  align-items: center;
}
.cta-band h2 { margin: 0 0 0.5rem; font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 22ch; line-height: 1.08; }
.cta-band p { margin: 0; max-width: 46ch; }

.page-hero {
  min-height: clamp(28rem, 68vh, 40rem);
  padding: 0;
}
.page-hero > .shell {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(1.5rem, 4vw, 2.6rem);
}
.page-hero h1 { max-width: 16em; font-size: clamp(2.2rem, 4.4vw, 3.8rem); }
.page-hero .lede { margin-top: 1.1rem; }
.page-hero + .section { padding-top: clamp(2.6rem, 6vw, 4.8rem); }

.crumbs { margin: 0 0 1.2rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem 0.2rem; list-style: none; margin: 0; padding: 0; color: var(--muted); font-size: 0.92rem; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.35rem; }
.crumbs a { color: var(--ink); }

.media-grid { display: block; }
.stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.related { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.related a {
  display: block;
  text-decoration: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.4rem;
  min-height: 100%;
}
.related a span { display: block; color: var(--muted); font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.4rem; }
.related strong { font-family: var(--serif); font-size: 1.7rem; font-weight: 560; letter-spacing: -0.03em; }

.site-footer { padding: 2rem 0 2.4rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; align-items: start; }
.site-footer h2 { font-family: var(--serif); font-size: clamp(1.7rem, 2.4vw, 2.3rem); margin: 0 0 0.8rem; max-width: none; line-height: 1.1; }
.site-footer a { text-decoration: none; }
.footer-contact a { text-decoration: underline; text-underline-offset: 0.18em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.site-footer p { color: var(--muted); }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; color: var(--muted); font-size: 0.92rem; }
.footer-base p { margin: 0; }

.form-card {
  position: relative;
  background: var(--white);
  border-radius: calc(var(--radius) + 0.2rem);
  padding: clamp(1.2rem, 3vw, 2rem);
  overflow: hidden;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-wide { grid-column: 1 / -1; }
.field span { font-size: 0.92rem; }
.field input, .field select, .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.75rem 0;
  border-radius: 0;
  min-height: 48px;
}
.field textarea { min-height: 9rem; resize: vertical; }
.req { color: var(--muted); }
.form-note, .error, .banner { font-size: 0.98rem; }
.error { color: #8a2e24; margin: 0.15rem 0 0; }
.banner { padding: 0.9rem 1rem; border-radius: 1rem; background: var(--sage); margin-bottom: 1rem; }
.banner.is-error { background: #f6d6d1; }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 0.4rem; }
button.btn { cursor: pointer; font: inherit; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: start;
}

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; }
.panel { background: var(--lilac); border-radius: var(--radius); padding: 1.3rem; }
.panel-sage { background: var(--sage); }
.panel h3 { margin-top: 0; }

@media (max-width: 1024px) {
  .mosaic, .gallery, .footer-grid { grid-template-columns: 1fr 1fr; }
  .split, .cta-band, .related, .two, .frames, .stack { grid-template-columns: 1fr; }
}

@media (min-width: 861px) {
  .menu-toggle { display: none; }
}

@media (max-width: 860px) {
  .site-header { height: auto; min-height: var(--header); }
  .header-inner, .nav { flex-wrap: wrap; }
  .nav-ready .site-header { height: var(--header); }
  .nav-ready .header-inner { flex-wrap: nowrap; }
  .header-inner { position: relative; padding-right: 5.2rem; }
  .nav-ready .logo { font-size: 1.15rem; }
  .menu-toggle {
    position: absolute;
    top: 0.55rem;
    right: 0;
    z-index: 5;
    background: var(--paper);
  }
  .nav-ready .nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.2rem 2rem;
    gap: 1.1rem;
    overflow: auto;
    visibility: hidden;
    pointer-events: none;
  }
  .nav-ready .nav.is-open { visibility: visible; pointer-events: auto; }
  .nav-ready .nav a:not(.btn) { font-size: 1.8rem; font-family: var(--serif); letter-spacing: -0.03em; }
  .nav:not(.is-open) .btn { min-height: 48px; }
}

@media (max-width: 700px) {
  .shell, .header-inner { width: min(1360px, calc(100% - 1.6rem)); }
  h1, .page-hero h1 { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .form-grid, .mosaic, .gallery, .facts, .footer-grid { grid-template-columns: 1fr; }
  .hero-wrap { min-height: min(calc(100svh - var(--header)), 36rem); }
  .page-hero { min-height: 28rem; }
  .steps li { grid-template-columns: 3.2rem minmax(0, 1fr); }
}

@media (max-width: 380px) {
  h1 { font-size: 1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
