:root {
  --page: #f7f4ee;
  --panel: #fffdf8;
  --ink: #272727;
  --muted: #68645f;
  --soft: #8a837a;
  --line: #ded8cf;
  --black: #111111;
  --white: #ffffff;
  --accent: #8a2635;
  --accent-dark: #641b27;
  --accent-soft: #f3e5e3;
  --max: 1080px;
  --content-max: 760px;
  --gutter: clamp(18px, 4vw, 56px);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.is-scrolled .site-header {
  background: rgba(247, 244, 238, 0.92);
  border-color: rgba(222, 216, 207, 0.85);
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  color: #242424;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 56px;
}

.brand,
.header-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  min-width: 0;
  font-size: 1rem;
  font-weight: 650;
  white-space: nowrap;
}

.header-links a {
  font-size: 0.95rem;
  color: #373737;
}

.header-links a:hover,
.site-footer a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 74svh;
  overflow: hidden;
  padding: 112px var(--gutter) 134px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.hero-inner {
  display: grid;
  justify-items: center;
  row-gap: clamp(24px, 3.4vw, 42px);
  width: min(var(--max), 100%);
  margin-inline: auto;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 600px) clamp(184px, 15vw, 236px);
  align-items: center;
  justify-content: center;
  gap: clamp(32px, 5.4vw, 76px);
  width: min(990px, 100%);
  margin-inline: auto;
}

.hero-content {
  position: relative;
  width: 100%;
  min-width: 0;
  text-align: left;
}

.hero-portrait {
  width: clamp(184px, 15vw, 236px);
  margin: 0;
  justify-self: center;
}

.hero-crop {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--accent-soft);
}

.hero-crop img {
  width: 100%;
  height: 110%;
  object-fit: cover;
  object-position: center top;
}

.eyebrow,
.kicker {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 30px;
  color: #202020;
  font-size: clamp(1.9rem, 2.2vw, 2.58rem);
  line-height: 1.12;
  font-weight: 730;
  letter-spacing: 0;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(1.48rem, 1.82vw, 2.12rem);
  line-height: 1.08;
  font-weight: 710;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.18rem, 1.18vw, 1.36rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.hero-lede {
  width: min(560px, 100%);
  margin: 0;
  color: #3f3d3a;
  font-size: clamp(1.08rem, 1.08vw, 1.2rem);
}

.hero-cta-panel {
  width: min(520px, 100%);
  margin-top: 4px;
  text-align: left;
}

.hero-cta-line {
  margin: 0 0 14px;
  color: #202020;
  font-size: clamp(1.1rem, 1.12vw, 1.28rem);
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  min-height: 42px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1;
  opacity: 1;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.hero-actions .button {
  min-width: 132px;
  min-height: 48px;
  padding: 13px 28px;
  font-size: 1.08rem;
}

.button-primary {
  background: var(--accent);
  color: var(--white);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-primary:active {
  background: #4f151f;
}

.button-secondary {
  background: var(--white);
  border-color: #d1ccc4;
  color: var(--ink);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--white);
}

.button-secondary:active {
  border-color: var(--ink);
  background: #eee9e0;
}

.scroll-arrow {
  position: absolute;
  left: 50%;
  bottom: 24px;
  display: grid;
  place-items: center;
  width: 48px;
  height: 58px;
  color: var(--accent);
  transform: translateX(-50%);
}

.scroll-arrow svg {
  width: 42px;
  height: 58px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.image-rhythm,
.article-shell,
.timeline-section,
.gallery-section,
.faq-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 900px;
}

.timeline article,
.cta-panel,
.faq-list details {
  border: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.62);
}

.gallery-copy p,
.timeline p,
.faq-list p,
.site-footer {
  color: var(--muted);
}

.image-rhythm {
  padding: clamp(40px, 5vw, 72px) var(--gutter);
}

.image-rhythm-inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.38fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: center;
}

.feature-photo {
  margin: 0;
  max-width: 260px;
}

.feature-photo img,
.inline-photo img,
.gallery-grid img {
  width: 100%;
  object-fit: cover;
  background: var(--accent-soft);
}

.feature-photo img {
  aspect-ratio: 4 / 5;
}

.gallery-copy h2 {
  max-width: 520px;
  font-size: clamp(1.28rem, 1.4vw, 1.66rem);
}

.gallery-copy p {
  max-width: 540px;
  font-size: clamp(1.04rem, 1vw, 1.12rem);
  line-height: 1.6;
}

.image-rhythm .kicker {
  margin-bottom: 8px;
  font-size: 0.84rem;
}

.feature-photo figcaption {
  font-size: 0.94rem;
  line-height: 1.42;
}

.article-shell {
  padding: clamp(52px, 6vw, 96px) var(--gutter);
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.article-inner {
  width: min(var(--content-max), 100%);
  margin-inline: auto;
}

.article-header {
  margin: 0 0 clamp(34px, 5vw, 70px);
  text-align: left;
}

.section-heading {
  width: min(var(--content-max), 100%);
  margin: 0 0 clamp(34px, 5vw, 70px);
  text-align: left;
}

.article-header p,
.section-heading p {
  color: var(--muted);
  font-size: clamp(1.04rem, 1vw, 1.12rem);
}

.article-layout {
  width: 100%;
}

.article-body {
  color: #33312f;
}

.article-body p {
  margin-bottom: 24px;
  color: #4f4b47;
  font-size: clamp(1.1rem, 1.06vw, 1.18rem);
  line-height: 1.68;
}

.article-body h3 {
  margin-top: 34px;
  font-size: clamp(1.22rem, 1.16vw, 1.36rem);
}

.article-body h3:first-child {
  margin-top: 0;
}

.inline-photo {
  margin: 42px 0;
}

.inline-photo img {
  aspect-ratio: 16 / 11;
}

.inline-photo-portrait {
  max-width: 420px;
  margin-inline: auto;
}

.inline-photo-portrait img {
  aspect-ratio: 4 / 5;
}

figcaption {
  margin-top: 12px;
  color: var(--soft);
  font-size: 1rem;
}

.cta-panel {
  margin: 44px 0;
  padding: clamp(22px, 3vw, 36px);
  background: var(--page);
}

.cta-panel h3 {
  max-width: 620px;
}

.cta-panel p {
  max-width: 670px;
}

.timeline-section,
.faq-section {
  padding: clamp(50px, 6vw, 90px) var(--gutter);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}

.timeline article {
  min-height: 188px;
  padding: clamp(18px, 2vw, 28px);
}

.timeline p {
  font-size: clamp(1.04rem, 1vw, 1.12rem);
  line-height: 1.62;
}

.timeline span {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--accent);
  font-size: 0.96rem;
  font-weight: 800;
}

.gallery-section {
  padding: clamp(22px, 5vw, 64px) var(--gutter);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  width: 100%;
  margin: 0;
  background: var(--line);
  border: 1px solid var(--line);
  contain-intrinsic-size: auto 540px;
}

.gallery-grid figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  background: var(--panel);
}

.gallery-grid img {
  aspect-ratio: 3 / 4;
}

.gallery-grid figcaption {
  flex: 1;
  margin: 0;
  padding: 12px 14px 16px;
  color: var(--soft);
  font-size: 0.96rem;
  line-height: 1.42;
}

.faq-section {
  background: var(--panel);
}

.faq-list {
  display: grid;
  gap: 12px;
  width: min(920px, 100%);
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.08vw, 1.2rem);
  font-weight: 700;
  list-style-position: outside;
}

.faq-list p {
  margin: 0;
  padding: 0 24px 24px;
  font-size: 1.08rem;
}

.site-footer {
  padding: 0 var(--gutter);
  border-top: 1px solid var(--line);
  font-size: 1.02rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  font-weight: 750;
}

@media (min-width: 1800px) {
  .hero-layout {
    width: min(1040px, 100%);
  }

  .hero-lede {
    width: min(520px, 100%);
  }
}

@media (max-width: 980px) {
  .timeline {
    grid-template-columns: 1fr;
  }

  .image-rhythm-inner {
    grid-template-columns: 1fr;
    width: min(var(--content-max), 100%);
  }

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

@media (max-width: 680px) {
  .site-header {
    padding-inline: 14px;
  }

  .header-inner {
    min-height: 52px;
  }

  .brand {
    font-size: 0.94rem;
  }

  .brand span:last-child {
    max-width: 172px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-links {
    display: none;
  }

  .hero {
    min-height: 78svh;
    padding: 96px 16px 104px;
    isolation: isolate;
  }

  .hero-inner {
    width: min(340px, 100%);
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
  }

  .hero-content {
    z-index: 2;
  }

  .hero-portrait {
    display: none;
  }

  h1 {
    font-size: clamp(2rem, 8.5vw, 2.72rem);
    line-height: 1.08;
  }

  .hero-content,
  .hero-lede {
    width: 100%;
    max-width: 100%;
    text-align: left;
  }

  .hero-content h1 {
    max-width: 310px;
    margin-bottom: 24px;
    margin-inline: 0;
    overflow-wrap: break-word;
    text-wrap: wrap;
  }

  .hero-lede {
    max-width: 310px;
    font-size: 1.06rem;
    margin-inline: 0;
  }

  .hero-cta-panel {
    width: min(310px, 100%);
    position: relative;
    z-index: 2;
  }

  .hero-cta-line {
    margin-bottom: 12px;
    font-size: 1.06rem;
  }

  .hero-actions {
    width: min(288px, calc(100vw - 48px));
    max-width: none;
    margin-inline: auto;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .scroll-arrow {
    bottom: 12px;
    width: 42px;
    height: 50px;
    z-index: 2;
  }

  .scroll-arrow svg {
    width: 36px;
    height: 50px;
  }

  .hero-actions .button {
    flex: 1 1 0;
    min-width: 0;
    min-height: 48px;
    padding-inline: 14px;
    font-size: 1rem;
  }

  .timeline article {
    min-height: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
