:root {
  --ink: #101729;
  --paper: #f5f0e6;
  --gold: #c79d58;
  --gold-light: #e4c889;
  --muted: #687086;
  --line: rgba(16, 23, 41, 0.16);
}

* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .42;
  background-image: radial-gradient(rgba(16, 23, 41, .1) .55px, transparent .65px);
  background-size: 6px 6px;
}

a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.page-shell { position: relative; width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.nav { display: flex; align-items: center; justify-content: space-between; min-height: 102px; border-bottom: 1px solid var(--line); }
.brand { color: inherit; display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font: 700 18px/1 Georgia, serif; }
.brand img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: center; border: 1px solid var(--gold); }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.nav-links a:hover { color: #8e672b; }

.hero { min-height: 605px; display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 34px; padding: 75px 0 55px; }
.eyebrow, .section-kicker { margin: 0 0 15px; color: #8e672b; font-size: 11px; line-height: 1; letter-spacing: .18em; font-weight: 800; text-transform: uppercase; }
h1 { max-width: 600px; margin: 0; font: 700 clamp(74px, 10vw, 142px)/.82 Georgia, "Times New Roman", serif; letter-spacing: -.07em; }
.period { color: var(--gold); }
.ticker { margin: 27px 0 13px; color: #8e672b; letter-spacing: .11em; font-size: 13px; font-weight: 800; }
.intro { max-width: 390px; margin: 0; color: #3e475d; font: 400 20px/1.45 Georgia, serif; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 33px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 11px; min-height: 46px; padding: 0 19px; border: 1px solid var(--ink); color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 800; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: #fff; }
.button-primary:hover { background: #25304b; }
.button-quiet:hover { background: #e9e0cf; }

.portrait-wrap { position: relative; display: grid; place-items: center; min-height: 470px; }
.portrait-glow { position: absolute; width: min(460px, 100%); aspect-ratio: 1; border-radius: 50%; background: var(--gold-light); transform: translate(28px, 8px); }
.portrait { position: relative; width: min(460px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: 14px 17px 0 var(--ink), 0 19px 40px rgba(16, 23, 41, .15); }

.contract { display: flex; justify-content: space-between; gap: 30px; align-items: center; padding: 27px 30px; margin: 15px 0 84px; border: 1px solid var(--line); border-left: 5px solid var(--gold); background: rgba(255, 255, 255, .26); }
.contract .section-kicker { margin-bottom: 9px; }
.contract h2 { margin: 0; font: 700 clamp(24px, 3.5vw, 40px)/1 Georgia, serif; letter-spacing: -.035em; overflow-wrap: anywhere; }
.copy-button { flex: none; display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 15px; border: 1px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); cursor: pointer; font-weight: 800; }
.copy-button:hover { color: #fff; background: var(--ink); }
footer { display: flex; justify-content: space-between; gap: 12px; padding: 0 0 35px; color: var(--muted); font-size: 12px; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 32px, 560px); }
  .nav { min-height: 75px; }
  .nav-links { gap: 15px; }
  .nav-links a { font-size: 12px; }
  .hero { grid-template-columns: 1fr; gap: 19px; min-height: 0; padding: 58px 0 35px; }
  .hero-copy { order: 2; }
  .portrait-wrap { order: 1; min-height: 0; width: min(330px, 85vw); margin: 0 auto; }
  .portrait-glow { transform: translate(17px, 7px); }
  h1 { font-size: clamp(67px, 22vw, 112px); }
  .intro { font-size: 18px; }
  .contract { align-items: flex-start; flex-direction: column; margin: 10px 0 55px; padding: 23px; }
  footer { padding-bottom: 24px; }
}

@media (max-width: 390px) {
  .brand span { display: none; }
  .nav-links { gap: 13px; }
  .actions { display: grid; }
}
