:root {
  --page: #FFFBF3;
  --paper: #FFFFFF;
  --ink: #382918;
  --body: #4A3520;
  --mute: #8C7456;
  --line: #F7E9D0;
  --gold: #E0A55C;
  --gold-soft: #F4D79C;
  --wash: #FFF1D9;
  --shadow: 0 18px 48px rgba(56, 41, 24, 0.12);
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--page);
  color: var(--body);
  font-family: 'Outfit', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold); }
[hidden] { display: none !important; }

h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.75rem); }
h3 { font-size: 1.2rem; margin-bottom: 8px; }
p { margin: 0 0 12px; }
.lede {
  color: var(--mute);
  font-size: 1.05rem;
  max-width: 38em;
  text-wrap: balance;
}

.shell {
  width: min(1120px, calc(100% - clamp(24px, 5vw, 48px)));
  margin-inline: auto;
}

.kicker,
.brand-line {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.mark img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid color-mix(in srgb, var(--gold) 45%, white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 180ms var(--ease), background 180ms var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn-ink {
  background: var(--ink);
  color: #fff;
}
.btn-ink:hover {
  background: color-mix(in srgb, var(--ink) 88%, var(--gold));
  color: #fff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--page) 86%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
}
.top-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--mute);
}
.top-links a { color: inherit; }
.top-links a:hover { color: var(--ink); }

.foot {
  padding: 64px 0 28px;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #FFF8EC, var(--page));
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 36px;
}
.foot-brand p {
  color: var(--mute);
  max-width: 28em;
  margin-top: 12px;
}
.foot h4 {
  margin: 0 0 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}
.foot a {
  display: block;
  margin-bottom: 8px;
  color: var(--body);
  font-weight: 500;
}
.foot-base {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 0.88rem;
}

.protect-frame {
  position: relative;
  isolation: isolate;
}
.protect-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
}

@media (max-width: 860px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
    min-height: 0;
    gap: 10px;
  }
  .top-links {
    width: 100%;
    justify-content: flex-start;
    gap: 8px 14px;
    font-size: 0.86rem;
  }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .foot-grid { grid-template-columns: 1fr; }
  .top-links { gap: 8px 12px; }
}
