@font-face {
  font-family: Cormorant;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-regular.woff2') format('woff2');
}

@font-face {
  font-family: Cormorant;
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-garamond-italic.woff2') format('woff2');
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/manrope-regular.woff2') format('woff2');
}

@font-face {
  font-family: Manrope;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/manrope-semibold.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --paper: #f5f1e9;
  --ink: #432b30;
  --muted: #71665f;
  --gold: #a18459;
  --line: #d9d1c4;
  --serif: Cormorant, Georgia, 'Times New Roman', serif;
  --sans: Manrope, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body::before { position: fixed; inset: 0; z-index: -1; background: url('/assets/grain.svg'); opacity: .24; pointer-events: none; content: ''; }
body:has(dialog[open]) { overflow: hidden; }
::selection { color: var(--paper); background: var(--ink); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
svg { display: block; }
.page-shell { display: flex; flex-direction: column; max-width: 1440px; min-height: 100svh; margin-inline: auto; padding-inline: clamp(24px, 5.6vw, 88px); }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 18px; color: var(--paper); background: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 136px; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand-signet { width: 48px; height: 56px; color: var(--ink); transition: color .2s; }
.brand:hover .brand-signet { color: var(--gold); }
.brand-name { font-family: var(--serif); font-size: 33px; line-height: .95; letter-spacing: -.035em; }
.brand-prefix { font-size: .7em; font-style: italic; }
.brand-caption { display: block; margin-top: 11px; padding-left: 2px; font-family: var(--sans); font-size: 8px; line-height: 1.3; letter-spacing: .23em; text-transform: uppercase; }
.masthead-note { display: flex; align-items: center; gap: 13px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.tiny-diamond { width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg); }
main { flex: 1; }
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: clamp(36px, 6vw, 90px); padding-block: 55px 59px; }
.hero-copy { padding-bottom: 5px; animation: rise-in .9s both; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0; color: var(--muted); font-size: 9px; font-weight: 600; line-height: 1.8; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-rule { width: 30px; height: 1px; background: var(--gold); }
h1 { margin: 30px 0 0; font-family: var(--serif); font-size: clamp(88px, 10.2vw, 146px); font-weight: 400; line-height: .89; letter-spacing: -.052em; }
.headline-first { display: block; margin-bottom: 5px; font-size: .7em; line-height: 1; white-space: nowrap; }
.headline-last { display: block; white-space: nowrap; }
.accent-letter { color: #FF5673; }
.exclamation { margin-left: 1px; }
.introduction { margin-top: 35px; }
.introduction h2 { margin: 0 0 15px; font-family: var(--serif); font-size: 31px; font-weight: 400; line-height: 1.12; letter-spacing: -.02em; }
.introduction p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.status-note { display: flex; align-items: center; gap: 11px; margin-top: 31px; color: var(--muted); font-size: 10px; letter-spacing: .02em; }
.status-mark { display: grid; width: 17px; height: 17px; place-items: center; border: 1px solid #b19c7c66; border-radius: 50%; }
.status-mark span { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.hero-art { width: 100%; max-width: 460px; justify-self: end; animation: rise-in 1.1s .12s both; }
.art-annotation { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; color: var(--muted); font-size: 7px; font-weight: 600; letter-spacing: .18em; }
.art-annotation svg { width: 12px; height: 12px; fill: var(--gold); }
.emblem-panel { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 460 / 510; background: radial-gradient(ellipse at 24% 0%, #71554b80, transparent 65%), linear-gradient(125deg, #4b3437 0%, #342428 60%, #402c2d 100%); box-shadow: 0 18px 32px -18px #3b222941, inset 0 0 0 1px #5e4544; }
.emblem-panel::after { position: absolute; inset: 7px; border: 1px solid #c5a47b24; pointer-events: none; content: ''; }
.panel-grain { position: absolute; inset: 0; background: url('/assets/grain.svg'); mix-blend-mode: soft-light; opacity: .5; }
.architectural-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.panel-center { position: absolute; inset: 25% 0 auto; display: flex; align-items: center; flex-direction: column; color: #d5b88a; }
.panel-overline { margin-bottom: 22px; font-size: 7px; letter-spacing: .25em; }
.panel-signet { width: 111px; height: 124px; filter: drop-shadow(0 2px 1px #1e111f66); }
.panel-name { margin-top: 14px; font-family: var(--serif); font-size: 30px; letter-spacing: -.035em; }
.panel-name > span { font-size: .72em; font-style: italic; }
.panel-divider { width: 22px; height: 1px; margin-top: 17px; background: #c4a5797a; }
.panel-motto { margin-top: 16px; font-size: 6px; letter-spacing: .24em; }
.art-caption { display: flex; justify-content: space-between; gap: 15px; margin-top: 14px; color: var(--muted); font-family: var(--serif); font-size: 14px; font-style: italic; }
.closing-note { display: flex; align-items: center; gap: 23px; min-height: 100px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.closing-ornament { flex: 0 0 50px; width: 50px; height: 30px; stroke: var(--gold); stroke-width: .8; }
.closing-note p { margin: 0; font-family: var(--serif); font-size: 26px; font-style: italic; letter-spacing: -.015em; }
.closing-aside { margin-left: auto; padding-left: 20px; color: var(--muted); font-size: 8px; letter-spacing: .17em; text-transform: uppercase; white-space: nowrap; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; color: var(--muted); font-size: 10px; }
.copyright { white-space: nowrap; }
.footer-motto { font-family: var(--serif); font-size: 13px; font-style: italic; }
.legal-nav { display: flex; gap: 26px; }
.legal-nav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding-block: 12px; transition: color .2s; }
.legal-nav a:hover { color: var(--ink); }
.legal-nav svg { width: 11px; height: 11px; stroke: currentColor; stroke-width: 1; fill: none; transition: transform .2s; }
.legal-nav a:hover svg { transform: translate(2px, -2px); }
.legal-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 48px); padding: 0; overflow: auto; color: var(--ink); background: var(--paper) url('/assets/grain.svg'); border: 1px solid var(--line); box-shadow: 0 28px 100px #21171e40; }
.legal-dialog::backdrop { background: #281b24a6; backdrop-filter: blur(5px); }
.legal-dialog[open] { animation: rise-in .25s both; }
.dialog-content { position: relative; padding: 45px 45px 35px; }
.dialog-close { position: absolute; top: 17px; right: 17px; display: grid; width: 44px; height: 44px; place-items: center; padding: 8px; color: var(--muted); background: transparent; border: 1px solid var(--line); cursor: pointer; }
.dialog-close:hover { color: var(--ink); border-color: var(--gold); }
.dialog-close svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 1; fill: none; }
.dialog-signet { width: 36px; height: 42px; margin-bottom: 28px; color: var(--gold); }
.legal-dialog .eyebrow { font-size: 8px; letter-spacing: .15em; }
.legal-dialog h2 { margin: 12px 0 24px; font-family: var(--serif); font-size: 57px; font-weight: 400; line-height: 1; letter-spacing: -.04em; }
.gold-period { color: var(--gold); }
.legal-copy { color: var(--muted); font-size: 13px; line-height: 1.9; }
.legal-copy p { margin: 0 0 18px; }
.legal-copy p:last-child { margin-bottom: 0; }
.legal-copy .legal-intro { color: var(--ink); font-family: var(--serif); font-size: 25px; line-height: 1.35; }
.legal-copy .legal-owner { color: var(--ink); font-size: 14px; font-weight: 600; }
.legal-placeholder { font-family: monospace; }
.dialog-back { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; margin-top: 32px; padding: 17px 0 0; color: var(--ink); background: none; border: 0; border-top: 1px solid var(--line); font-size: 10px; text-align: left; cursor: pointer; }
.dialog-back span { color: var(--gold); font-size: 17px; }
.legal-page { max-width: 680px; min-height: 580px; padding: 45px 0 90px; }
.back-link { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 58px; color: var(--muted); font-size: 11px; }
.back-link svg { width: 18px; height: 18px; stroke: currentColor; fill: none; }
.legal-page h1 { margin: 15px 0 32px; font-size: clamp(60px, 7vw, 90px); line-height: 1; }
.legal-page .legal-copy { max-width: 500px; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(13px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 1600px) {
  .hero { padding-block: 75px; }
}

@media (max-width: 1050px) {
  .masthead { min-height: 115px; }
  .hero { gap: 36px; padding-block: 48px; }
  h1 { font-size: 11vw; }
  .introduction { margin-top: 28px; }
  .introduction h2 { font-size: 28px; }
  .introduction p { font-size: 11px; }
  .desktop-break { display: none; }
  .panel-center { top: 22%; }
  .panel-overline { margin-bottom: 16px; font-size: 6px; }
  .panel-signet { width: 90px; height: 101px; }
  .panel-name { margin-top: 9px; font-size: 25px; }
  .panel-divider { margin-top: 12px; }
  .panel-motto { margin-top: 12px; font-size: 5px; }
  .closing-note p { font-size: 23px; }
  .closing-aside { font-size: 7px; }
}

@media (max-width: 760px) {
  .page-shell { max-width: 600px; padding-inline: 27px; }
  .masthead { min-height: 103px; }
  .brand { gap: 10px; }
  .brand-signet { width: 39px; height: 46px; }
  .brand-name { font-size: 28px; }
  .brand-caption { margin-top: 9px; font-size: 6.5px; }
  .masthead-note { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 43px; padding-block: 42px 37px; }
  .hero-copy { padding-bottom: 0; }
  .eyebrow { font-size: 8px; letter-spacing: .17em; }
  h1 { margin-top: 26px; font-size: clamp(75px, 24vw, 137px); }
  .headline-first { font-size: .7em; }
  .introduction { margin-top: 29px; }
  .introduction h2 { font-size: 30px; }
  .introduction p { max-width: 330px; font-size: 12px; }
  .status-note { margin-top: 26px; font-size: 10px; }
  .hero-art { max-width: none; }
  .emblem-panel { aspect-ratio: 460 / 460; }
  .architectural-lines { inset: -3% 0; height: 106%; }
  .panel-center { top: 18%; }
  .panel-overline { margin-bottom: 16px; font-size: 7px; }
  .panel-signet { width: 93px; height: 104px; }
  .panel-name { margin-top: 12px; font-size: 28px; }
  .panel-divider { margin-top: 12px; }
  .panel-motto { margin-top: 12px; font-size: 6px; }
  .closing-note { justify-content: center; flex-wrap: wrap; gap: 10px; padding-block: 24px; }
  .closing-ornament { flex-basis: 100%; width: 36px; height: 19px; }
  .closing-note p { font-size: clamp(20px, 5.3vw, 27px); text-align: center; }
  .closing-aside { display: none; }
  .footer { flex-wrap: wrap; justify-content: center; gap: 7px 25px; padding-block: 22px; }
  .copyright { flex-basis: 100%; text-align: center; }
  .footer-motto { display: none; }
  .legal-nav { gap: 24px; font-size: 11px; }
  .legal-nav a { padding-block: 9px; }
  .dialog-content { padding: 40px 27px 27px; }
  .legal-dialog h2 { font-size: 49px; }
  .legal-dialog .eyebrow { max-width: 240px; font-size: 7px; }
  .legal-page { min-height: 65svh; padding-block: 30px 60px; }
}

@media (max-width: 370px) {
  .page-shell { padding-inline: 20px; }
  h1 { font-size: clamp(75px, 24vw, 88px); }
  .panel-center { top: 17%; }
  .panel-overline { margin-bottom: 13px; font-size: 6px; }
  .panel-signet { width: 87px; height: 98px; }
  .panel-name { font-size: 25px; }
  .panel-motto { font-size: 5px; }
}

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