:root {
  color-scheme: light;
  --navy-950: #06101f;
  --navy-900: #081426;
  --navy-850: #0b1a31;
  --navy-800: #0d213e;
  --navy-700: #14345f;
  --blue-700: #1f66b1;
  --red-700: #c92837;
  --red-800: #941925;
  --gold-500: #f7c84b;
  --gold-600: #d99b25;
  --cream-100: #fff7e7;
  --paper: #f6ecdb;
  --white: #ffffff;
  --ink: #101827;
  --muted: #506177;
  --muted-soft: #748094;
  --line: rgba(8, 20, 38, 0.13);
  --line-strong: rgba(8, 20, 38, 0.2);
  --line-light: rgba(255, 255, 255, 0.16);
  --shadow-soft: 0 16px 48px rgba(8, 20, 38, 0.12);
  --shadow-card: 0 22px 60px rgba(8, 20, 38, 0.16);
  --shadow-deep: 0 30px 80px rgba(5, 13, 26, 0.32);
  --radius-sm: 0.875rem;
  --radius-md: 1.25rem;
  --radius-lg: 1.75rem;
  --radius-xl: 2.25rem;
  --container: 1180px;
  --gutter: clamp(1rem, 3.8vw, 2rem);
  --header-height: 4.75rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 0%, rgba(31, 102, 177, 0.22), transparent 34rem),
    radial-gradient(circle at 96% 12%, rgba(201, 40, 55, 0.18), transparent 31rem),
    linear-gradient(180deg, var(--navy-900) 0 39rem, var(--paper) 39rem 100%);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

::selection {
  color: var(--navy-900);
  background: var(--gold-500);
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

.container {
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset: 1rem auto auto 1rem;
  z-index: 100;
  translate: 0 -160%;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: var(--navy-900);
  background: var(--gold-500);
  font-weight: 900;
  text-decoration: none;
  transition: translate 180ms ease;
}

.skip-link:focus {
  translate: 0 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  color: var(--white);
  background: rgba(8, 20, 38, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-scrolled,
.nav-open .site-header {
  background: rgba(8, 20, 38, 0.97);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  width: 2.875rem;
  height: 2.875rem;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 0.9rem;
  color: var(--navy-900);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), transparent 36%),
    linear-gradient(135deg, var(--gold-500), #f09a23 55%, var(--red-700));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28), 0 14px 38px rgba(0, 0, 0, 0.28);
  font-weight: 1000;
  letter-spacing: -0.08em;
}

.brand-copy {
  min-width: 0;
}

.brand-name,
.brand-role {
  display: block;
  white-space: nowrap;
}

.brand-name {
  font-weight: 1000;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-transform: uppercase;
}

.brand-role {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}

.nav-link,
.nav-button {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: translate 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.nav-link:hover,
.nav-link[aria-current="true"],
.nav-button:hover {
  translate: 0 -1px;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.nav-cta {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-700), var(--red-800));
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 12px 30px rgba(201, 40, 55, 0.35);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.62rem 0.85rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  font-weight: 900;
  cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  width: 1.05rem;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -0.34rem;
}

.hamburger::after {
  top: 0.34rem;
}

.nav-open .hamburger {
  background: transparent;
}

.nav-open .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-open .hamburger::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.25rem, 5vw, 3.75rem);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -2;
  pointer-events: none;
}

.hero::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0 12%, transparent 12% 100%),
    repeating-linear-gradient(180deg, rgba(191, 30, 46, 0.28) 0 22px, rgba(191, 30, 46, 0.28) 22px 44px, rgba(255, 255, 255, 0.08) 44px 66px, rgba(255, 255, 255, 0.08) 66px 88px),
    linear-gradient(135deg, #07111f 0%, #102b51 48%, #07111f 100%);
  opacity: 0.72;
}

.hero::after {
  z-index: -1;
  background:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    radial-gradient(circle at 14% 20%, rgba(247, 200, 75, 0.25), transparent 19rem),
    radial-gradient(circle at 90% 16%, rgba(31, 102, 177, 0.44), transparent 24rem),
    linear-gradient(180deg, rgba(8, 20, 38, 0.02), rgba(8, 20, 38, 0.9));
  background-size: 74px 74px, 74px 74px, auto, auto, auto;
  mask-image: linear-gradient(180deg, black 0 76%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, black 0 76%, transparent 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.9fr);
  align-items: center;
  gap: clamp(2rem, 5.4vw, 4rem);
}

.hero-copy-block {
  min-width: 0;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--red-700);
  font-size: 0.78rem;
  font-weight: 1000;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow {
  width: fit-content;
  max-width: 100%;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.58rem 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  line-height: 1.2;
  text-wrap: balance;
}

.eyebrow::before {
  content: "★";
  display: inline-block;
  margin-right: 0.55rem;
  color: var(--gold-500);
}

.section-kicker-gold {
  color: var(--gold-500);
}

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

h1 {
  margin-block-end: 0;
  font-size: clamp(4rem, 10vw, 9rem);
  line-height: 0.82;
  letter-spacing: -0.092em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 span {
  display: block;
}

h1 span:last-child {
  color: var(--cream-100);
  text-shadow: 0 20px 50px rgba(0, 0, 0, 0.36);
}

h2 {
  margin: 0;
  color: var(--navy-900);
  font-size: clamp(2.15rem, 5.4vw, 4.45rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

h3 {
  margin: 1rem 0 0.55rem;
  color: var(--navy-900);
  font-size: 1.35rem;
  line-height: 1.07;
  letter-spacing: -0.04em;
}

.hero-subtitle {
  max-width: 48rem;
  margin: 1.35rem 0 0;
  font-size: clamp(1.35rem, 3vw, 2.42rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 1000;
  text-wrap: balance;
}

.hero-subtitle strong {
  color: #ff5666;
}

.hero-copy {
  max-width: 46rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.button {
  min-height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.95rem;
  padding: 0.82rem 1.05rem;
  font-weight: 1000;
  letter-spacing: 0.015em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.23);
  transition: translate 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  translate: 0 -1px;
  filter: brightness(1.04);
}

.button-red {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-700), var(--red-800));
}

.button-gold {
  color: var(--navy-900);
  background: linear-gradient(135deg, #ffe08a, var(--gold-500));
  border-color: rgba(255, 255, 255, 0.35);
}

.button-ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
}

.legal-note {
  max-width: 39rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.82rem;
}

.portrait-card {
  position: relative;
  min-height: clamp(34rem, 47vw, 42rem);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(247, 200, 75, 0.24), transparent 18rem),
    linear-gradient(160deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04)),
    #0b1930;
  box-shadow: var(--shadow-deep);
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 28px),
    radial-gradient(circle at 85% 10%, rgba(201, 40, 55, 0.25), transparent 14rem);
  pointer-events: none;
}

.portrait-shell {
  position: absolute;
  inset: 1.75rem 1.75rem 8.6rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.75rem;
  background: var(--navy-900);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 28px 74px rgba(0, 0, 0, 0.24);
}

.portrait-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 42%, rgba(8, 20, 38, 0.3)),
    radial-gradient(circle at 50% 12%, rgba(255, 255, 255, 0.22), transparent 13rem);
  pointer-events: none;
}

.portrait-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.02) saturate(1.02);
}

.portrait-badges {
  position: absolute;
  inset: 1rem 1rem auto;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.55rem;
}

.portrait-badges span {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.55rem 0.75rem;
  color: var(--navy-900);
  background: rgba(247, 200, 75, 0.92);
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.portrait-caption {
  position: absolute;
  inset: auto 1.75rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.5rem;
  padding: 1.25rem;
  background: rgba(8, 20, 38, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.portrait-caption strong,
.portrait-caption span {
  display: block;
}

.portrait-caption strong {
  color: var(--white);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.portrait-caption span {
  margin-top: 0.48rem;
  color: rgba(255, 255, 255, 0.74);
}

.stat-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: -2.6rem;
}

.stat-card,
.feature-card,
.receipt-card,
.message-card,
.share-panel,
.metric-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-soft);
}

.stat-card {
  min-height: 8.8rem;
  padding: 1.45rem;
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(247, 200, 75, 0.16), transparent 9rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    #0b1930;
  border-color: rgba(255, 255, 255, 0.14);
}

.stat-card b {
  display: block;
  color: var(--gold-500);
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

.stat-card span {
  display: block;
  margin-top: 0.7rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 850;
}

.section {
  padding-top: clamp(3.5rem, 7vw, 5rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(17rem, 0.55fr);
  gap: 1.75rem;
  align-items: end;
  margin-bottom: 1.6rem;
}

.section-heading > p,
.wide-panel > p,
.closing-panel > p,
.contact-panel > p,
.feature-card p,
.receipt-card p,
.message-card p,
.share-panel p {
  color: var(--muted);
}

.card-grid,
.receipt-grid,
.classification-grid,
.work-grid,
.message-grid,
.contact-grid,
.metric-grid {
  display: grid;
  gap: 1.1rem;
}

.card-grid-3,
.receipt-grid,
.metric-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.receipt-card,
.metric-card {
  padding: clamp(1.35rem, 2.4vw, 1.7rem);
}

.feature-card::before,
.receipt-card::before,
.metric-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.42rem;
  background: linear-gradient(90deg, var(--red-700), var(--gold-500), var(--blue-700));
}

.card-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 15px 32px rgba(8, 20, 38, 0.24);
  font-size: 1.35rem;
}

.metric-card {
  min-height: 12rem;
  background:
    radial-gradient(circle at 92% 0%, rgba(247, 200, 75, 0.2), transparent 8.5rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.88));
}

.metric-card b {
  display: block;
  color: var(--red-700);
  font-size: clamp(2.7rem, 8vw, 5.3rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.metric-card span {
  display: block;
  max-width: 20rem;
  margin-top: 1rem;
  color: var(--navy-900);
  font-size: clamp(1rem, 1.7vw, 1.16rem);
  font-weight: 1000;
  line-height: 1.14;
}

.receipt-card {
  min-height: 19rem;
}

.receipt-year {
  width: fit-content;
  min-width: 4.6rem;
  min-height: 2.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: var(--gold-500);
  background: var(--navy-900);
  font-weight: 1000;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 26px rgba(8, 20, 38, 0.16);
}

.receipt-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  color: #123d73;
  font-size: 0.86rem;
  font-weight: 1000;
  text-decoration: none;
}

.receipt-card a::after {
  content: "↗";
}

.receipt-card a:hover {
  text-decoration: underline;
}

.wide-panel,
.closing-panel,
.contact-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  color: var(--white);
  background:
    radial-gradient(circle at 14% 10%, rgba(247, 200, 75, 0.23), transparent 23rem),
    linear-gradient(135deg, #07111f, #13345f 63%, #07111f);
  box-shadow: var(--shadow-deep);
}

.wide-panel::before,
.closing-panel::before,
.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 22px),
    radial-gradient(circle at 92% 22%, rgba(201, 40, 55, 0.38), transparent 19rem);
  pointer-events: none;
}

.wide-panel > *,
.closing-panel > *,
.contact-panel > * {
  position: relative;
  z-index: 1;
}

.wide-panel,
.closing-panel,
.contact-panel {
  padding: clamp(1.75rem, 5vw, 3.2rem);
}

.wide-panel h2,
.closing-panel h2,
.contact-panel h2 {
  color: var(--white);
}

.wide-panel > p,
.closing-panel > p,
.contact-panel > p {
  max-width: 56rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.06rem;
}

.classification-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-top: 1.6rem;
}

.classification-grid span {
  min-height: 5.4rem;
  display: grid;
  align-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1.15rem;
  padding: 1rem 0.75rem;
  color: var(--navy-900);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 13px 32px rgba(0, 0, 0, 0.12);
  font-weight: 1000;
  text-align: center;
}

.classification-grid small {
  display: block;
  margin-top: 0.2rem;
  color: #64748b;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.work-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
}

.work-grid article {
  min-height: 6rem;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 1.15rem;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 950;
}

.work-grid span {
  display: block;
}

.message-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(20rem, 1.08fr);
}

.message-card {
  padding: clamp(1.55rem, 4vw, 2.45rem);
}

.message-card-dark {
  color: var(--white);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)), var(--navy-900);
}

.message-card-dark h3 {
  color: var(--white);
}

.message-card-dark p {
  color: rgba(255, 255, 255, 0.76);
}

.record-list,
.check-list {
  display: grid;
  gap: 0.78rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.record-list li,
.check-list li {
  display: grid;
  gap: 0.7rem;
  align-items: start;
  font-weight: 850;
}

.record-list li {
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.08);
}

.record-list b {
  color: var(--gold-500);
  text-align: center;
}

.record-list span {
  color: rgba(255, 255, 255, 0.84);
}

.check-list li {
  grid-template-columns: 1.8rem minmax(0, 1fr);
  color: #334155;
}

.check-list li::before {
  content: "✓";
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy-900);
  background: var(--gold-500);
  font-weight: 1000;
  line-height: 1;
}

.closing-panel {
  margin-top: clamp(3.5rem, 7vw, 5rem);
  background:
    linear-gradient(105deg, rgba(8, 20, 38, 0.94) 0 50%, rgba(8, 20, 38, 0.72) 50% 100%),
    linear-gradient(135deg, var(--red-700), var(--blue-700));
}

.closing-panel > p:last-child {
  max-width: 66rem;
  margin-bottom: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.72rem);
  line-height: 1.22;
  font-weight: 850;
}

.contact-grid {
  grid-template-columns: minmax(0, 1.12fr) minmax(19rem, 0.88fr);
  align-items: stretch;
  margin-block: clamp(3.5rem, 7vw, 5rem) 3.6rem;
}

.contact-panel {
  background: var(--navy-900);
}

.share-panel {
  padding: 1.6rem;
  background: var(--white);
}

.share-panel h3 {
  margin-top: 0;
}

.url-box {
  width: 100%;
  margin-top: 1rem;
  border: 1px solid rgba(8, 20, 38, 0.15);
  border-radius: 0.9rem;
  padding: 0.8rem;
  color: #334155;
  background: #f8fafc;
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.share-copy {
  width: 100%;
  min-height: 3rem;
  margin-top: 0.75rem;
  border: 0;
  border-radius: 0.9rem;
  color: var(--white);
  background: linear-gradient(135deg, var(--red-700), var(--red-800));
  font-weight: 1000;
  cursor: pointer;
}

.hint {
  margin: 0.75rem 0 0;
  color: var(--muted-soft);
  font-size: 0.82rem;
}

.site-footer {
  padding: 1.8rem 0;
  color: rgba(255, 255, 255, 0.75);
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.1rem;
  align-items: center;
}

.footer-grid p {
  max-width: 58rem;
  margin: 0;
}

.footer-grid strong {
  color: var(--gold-500);
  white-space: nowrap;
}

.toast {
  position: fixed;
  right: var(--gutter);
  bottom: var(--gutter);
  z-index: 90;
  max-width: min(22rem, calc(100vw - 2rem));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  color: var(--white);
  background: rgba(8, 20, 38, 0.94);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  translate: 0 0.75rem;
  transition: opacity 180ms ease, translate 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (max-width: 1080px) {
  :root {
    --header-height: 4.45rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: fixed;
    inset: calc(var(--header-height) + 0.5rem) var(--gutter) auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    max-height: min(72dvh, calc(100dvh - var(--header-height) - 1.5rem));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 1.25rem;
    background: rgba(8, 20, 38, 0.98);
    box-shadow: var(--shadow-deep);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.6rem) scale(0.98);
    transform-origin: top right;
    transition: opacity 180ms ease, transform 180ms ease;
    -webkit-overflow-scrolling: touch;
  }

  .nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav-link,
  .nav-button {
    width: 100%;
    min-height: 3rem;
    justify-content: flex-start;
    padding-inline: 1rem;
    text-align: left;
  }

  .nav-cta {
    justify-content: center;
    text-align: center;
  }

  .hero-grid,
  .section-heading,
  .message-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    align-items: start;
  }

  .portrait-card {
    width: min(100%, 36rem);
  }

  .receipt-grid,
  .card-grid-3,
  .classification-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 820px) {
  .stat-grid,
  .card-grid-3,
  .metric-grid,
  .receipt-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    margin-top: 1rem;
  }

  .stat-card,
  .metric-card,
  .receipt-card {
    min-height: auto;
  }

  .section-heading {
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 0.9rem;
    --header-height: 4.1rem;
  }

  body {
    background:
      radial-gradient(circle at 8% 0%, rgba(31, 102, 177, 0.22), transparent 26rem),
      linear-gradient(180deg, var(--navy-900) 0 36rem, var(--paper) 36rem 100%);
  }

  .header-inner {
    gap: 0.75rem;
  }

  .brand-role {
    display: none;
  }

  .brand-mark {
    width: 2.55rem;
    height: 2.55rem;
    border-radius: 0.8rem;
  }

  .brand-name {
    font-size: 0.96rem;
  }

  .hero {
    padding-top: 2.45rem;
  }

  .eyebrow {
    width: 100%;
    border-radius: 1rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    overflow-wrap: anywhere;
  }

  h1 {
    font-size: clamp(3.2rem, 18vw, 5.8rem);
    letter-spacing: -0.084em;
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.2rem);
    letter-spacing: -0.064em;
  }

  h3 {
    font-size: 1.22rem;
  }

  .button-row {
    gap: 0.65rem;
  }

  .button-row .button {
    width: 100%;
  }

  .portrait-card {
    min-height: 31rem;
    border-radius: 1.65rem;
  }

  .portrait-shell {
    inset: 1rem 1rem 7.6rem;
    border-radius: 1.35rem;
  }

  .portrait-badges {
    inset: 0.75rem 0.75rem auto;
  }

  .portrait-badges span {
    padding: 0.45rem 0.6rem;
    font-size: 0.63rem;
  }

  .portrait-caption {
    inset: auto 1rem 1rem;
    border-radius: 1.15rem;
    padding: 1rem;
  }

  .feature-card,
  .receipt-card,
  .message-card,
  .metric-card,
  .share-panel,
  .stat-card {
    border-radius: 1.35rem;
    padding: 1.25rem;
  }

  .wide-panel,
  .closing-panel,
  .contact-panel {
    border-radius: 1.65rem;
  }

  .classification-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .record-list li {
    grid-template-columns: 2.2rem minmax(0, 1fr);
  }

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

  .toast {
    right: 0.85rem;
    left: 0.85rem;
    bottom: 0.85rem;
    max-width: none;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .brand-name {
    max-width: 10.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    padding-inline: 0.72rem;
  }

  .nav-toggle span:first-child {
    display: none;
  }

  .portrait-card {
    min-height: 29rem;
  }

  .portrait-shell {
    inset: 0.8rem 0.8rem 7.25rem;
  }

  .portrait-caption {
    inset: auto 0.8rem 0.8rem;
  }
}

@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;
  }
}

@media print {
  .site-header,
  .button-row,
  .share-panel,
  .toast {
    display: none !important;
  }

  body {
    background: var(--white) !important;
  }

  .hero,
  .wide-panel,
  .closing-panel,
  .contact-panel,
  .site-footer {
    color-adjust: exact;
    print-color-adjust: exact;
  }
}
