:root {
  --paper: #fbfaf8;
  --stone: #f2efeb;
  --plaster: #e6ddd2;
  --ink: #1d1b19;
  --muted: #77716a;
  --line: #e3ded7;
  --amber: #a85f1e;
  --amber-deep: #7a4418;
  --error: #9b3b3b;
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --gutter: max(28px, env(safe-area-inset-left, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
::selection { background: var(--ink); color: var(--paper); }
a { color: inherit; }
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.notice { background: var(--ink); color: #f4f1ec; text-align: center; padding-block: 9px; padding-inline: var(--gutter); }
.notice .label { font-size: 10.5px; }

/* Header: one hairline, the wordmark, one link */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
  padding-inline: var(--gutter) max(28px, env(safe-area-inset-right, 0px));
  background: rgba(251, 250, 248, .86);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  color: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.top.scrolled { border-bottom-color: var(--line); }
.brand {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.42em;
  margin-right: -0.42em;
  text-decoration: none;
  color: inherit;
}
.top .side { width: 160px; color: var(--muted); }
.top .textlink { color: var(--ink); }
.top .side.right { text-align: right; }
.textlink { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; color: var(--ink); transition: opacity .2s; }
.textlink:hover { opacity: .55; }

/* Opening statement */
.open { padding: clamp(56px, 9vw, 128px) var(--gutter) clamp(32px, 4vw, 56px); }
.open h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 7.6vw, 132px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin: 0;
  max-width: 12em;
  text-wrap: balance;
}
.open .row { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 56px); }
.open p { margin: 0; max-width: 30em; color: var(--muted); font-size: 17px; }

/* Panels: one image, one caption */
.panel { padding-bottom: clamp(56px, 8vw, 120px); }
.panel .frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--plaster);
  overflow: hidden;
}
.panel .frame img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.caption {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  padding: 22px var(--gutter) 0;
}
.caption .title { display: flex; align-items: baseline; gap: 18px; }
.caption .n { color: var(--amber); font-variant-numeric: tabular-nums lining-nums; }
.caption h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.caption p { margin: 0; color: var(--muted); max-width: 40em; font-size: 16px; text-wrap: balance; padding-left: calc(11px * 0.22 + 2ch + 18px); }
.caption p strong { font-weight: 400; color: var(--amber-deep); }

/* Promise: a quiet full-width statement */
.promise { padding: clamp(28px, 4vw, 48px) var(--gutter) clamp(72px, 9vw, 128px); }
.promise { border-top: 1px solid var(--line); }
.promise p {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(30px, 4.2vw, 64px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  max-width: 16em;
  text-wrap: balance;
}

/* Closing: the invitation */
.close {
  background: var(--paper);
  border-top: 1px solid var(--line);
  color: var(--ink);
  padding: clamp(40px, 6vw, 88px) var(--gutter);
}
.close .inner {
  border: 1px solid var(--amber);
  outline: 1px solid var(--amber);
  outline-offset: 5px;
  padding: clamp(56px, 8vw, 120px) clamp(24px, 6vw, 96px);
  display: grid;
  gap: 26px;
  justify-items: center;
  text-align: center;
}
.close .btn { border-color: var(--amber); background: var(--amber); color: #fbf4ea; }
.close .btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.close h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 5.4vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 13em;
  text-wrap: balance;
}
.close p { margin: 0; color: var(--muted); max-width: 30em; font-size: 17px; text-wrap: balance; }
.close .label { color: var(--amber); }

.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  height: 56px; padding: 0 36px;
  border: 1px solid var(--ink);
  background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--amber); border-color: var(--amber); color: #fbf4ea; }
.btn:focus-visible { outline: 1px solid var(--ink); outline-offset: 4px; }
.btn[disabled] { cursor: default; opacity: .7; }

footer { padding: 40px var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: #b9b2a8; background: var(--ink); border-top: 1px solid rgba(255,255,255,.08); }
footer .brand { font-size: 17px; color: #f4f1ec; }

@media (max-width: 760px) {
  :root { --gutter: max(18px, env(safe-area-inset-left, 0px)); }
  .top { height: 58px; }
  .top .side { display: none; }
  .top .side.right { display: block; width: auto; }
  .brand { font-size: 19px; }
  .panel .frame { aspect-ratio: 4 / 5; }
  .caption { grid-template-columns: 1fr; gap: 10px; padding-top: 18px; }
  .panel { padding-bottom: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
