:root {
  --ink: #0d1b2a;
  --ink-2: #122438;
  --ink-3: #1a3049;
  --gold: #c9912b;
  --gold-light: #e3b45a;
  --copper: #b87333;
  --paper: #f2ecdf;
  --paper-2: #e9e1ce;
  --mist: #c9d6e2;
  --muted: #8fa1b3;
  --line: rgba(201, 145, 43, 0.24);
  --shadow: 0 24px 70px rgba(4, 12, 20, 0.34);
  --display: Georgia, "Times New Roman", serif;
  --body: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

#wrapwrap > header,
#wrapwrap > footer {
  display: none !important;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  background: var(--ink);
  color: #edf4fa;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.austral-homepage {
  max-width: 100vw;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  transform: translateY(-140%);
  z-index: 1000;
  background: var(--gold);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ag-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section-dark {
  background:
    radial-gradient(circle at 80% 10%, rgba(201, 145, 43, 0.15), transparent 30%),
    linear-gradient(135deg, var(--ink), #08131f 70%);
  color: #edf4fa;
}

.section-paper {
  background: var(--paper);
  color: var(--ink);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(13, 27, 42, 0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201, 145, 43, 0.18);
}

.nav-shell {
  width: min(1240px, calc(100% - 32px));
  height: 132px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: clamp(280px, 24vw, 370px);
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.88rem;
  color: #d7e1ea;
}

.nav-menu a {
  text-decoration: none;
  transition: color 180ms var(--ease);
}

.nav-menu a:hover,
.nav-menu a:focus-visible { color: var(--gold-light); }

.nav-action {
  border: 1px solid var(--gold);
  color: var(--gold-light);
  padding: 9px 14px;
  border-radius: 999px;
}

.menu-toggle { display: none; }

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 164px 0 72px;
}

.hero-mark {
  position: absolute;
  right: -10vw;
  top: 7vh;
  width: min(560px, 48vw);
  opacity: 0.09;
  transform: rotate(-8deg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  grid-template-areas: "copy panel";
  gap: clamp(36px, 6vw, 84px);
  align-items: end;
}

.hero-copy { grid-area: copy; }
.hero-panel { grid-area: panel; }

.hero-grid > *,
.risk-layout > *,
.exposure-grid > *,
.method-layout > *,
.cases-layout > *,
.aftercare-grid > *,
.identity-grid > *,
.contact-grid > * { min-width: 0; }

.kicker,
.section-label,
.panel-topline {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hero h1,
.section-copy h2,
.section-header h2,
.contact-copy h2,
.identity-copy h2 {
  margin: 16px 0 18px;
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero h1 {
  max-width: 11.5ch;
  font-size: clamp(3.25rem, 7.6vw, 6rem);
  line-height: 0.96;
}

.hero-lead {
  max-width: 60ch;
  margin: 0 0 30px;
  color: #cfdae4;
  font-size: clamp(1.04rem, 1.5vw, 1.2rem);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 3px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
}

.button:active { transform: scale(0.98); }

.button-primary { background: var(--gold); color: var(--ink); }
.button-primary:hover,
.button-primary:focus-visible { background: var(--gold-light); }
.button-secondary { border-color: rgba(201, 145, 43, 0.55); color: #edf4fa; }
.button-secondary:hover,
.button-secondary:focus-visible { border-color: var(--gold-light); color: var(--gold-light); }

.hero-panel {
  border: 1px solid rgba(201, 145, 43, 0.32);
  background: rgba(18, 36, 56, 0.64);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow);
}

.hero-panel p { margin: 16px 0 24px; color: #d4dee8; }

.proof-list {
  display: grid;
  gap: 1px;
  margin: 0;
  background: rgba(143, 161, 179, 0.2);
  border: 1px solid rgba(143, 161, 179, 0.2);
}

.proof-list div { padding: 16px; background: rgba(13, 27, 42, 0.72); }
.proof-list dt { font-family: var(--display); font-size: 1.55rem; color: var(--gold-light); }
.proof-list dd { margin: 4px 0 0; color: var(--muted); font-size: 0.84rem; }

.trust-strip { padding: 0; background: #08131f; border-top: 1px solid rgba(201, 145, 43, 0.18); border-bottom: 1px solid rgba(201, 145, 43, 0.18); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(201, 145, 43, 0.18); }
.trust-grid p { margin: 0; padding: 20px; background: #0d1b2a; }
.trust-grid strong { display: block; color: var(--gold-light); }
.trust-grid span { display: block; color: var(--muted); font-size: 0.84rem; margin-top: 4px; }

section { padding: clamp(76px, 9vw, 124px) 0; }

.section-copy h2,
.section-header h2,
.contact-copy h2,
.identity-copy h2 { font-size: clamp(2.1rem, 4.3vw, 4rem); line-height: 1.02; }
.section-copy p:not(.section-label),
.section-header p,
.contact-copy p,
.identity-copy p { max-width: 68ch; color: #5c554a; font-size: 1.04rem; }
.section-dark .section-copy p:not(.section-label),
.section-dark .section-header p,
.section-dark .identity-copy p { color: #c5d0dc; }

.risk-layout { display: grid; grid-template-columns: 0.78fr 1.22fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.risk-stories { display: grid; gap: 18px; }
.risk-stories article {
  padding: 28px;
  border: 1px solid #d6ccb8;
  background: rgba(255,255,255,0.52);
  border-radius: 12px;
}
.risk-stories span,
.method-list span,
.timeline span,
.case-stack span,
.plans-grid span { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--copper); }
.risk-stories p { margin: 10px 0 0; color: #403b33; }

.section-header { max-width: 860px; margin-bottom: 42px; }

.line-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid rgba(143, 161, 179, 0.22);
  background: rgba(143, 161, 179, 0.22);
}

.line-card {
  min-height: 220px;
  padding: 28px;
  background: var(--ink-2);
  border: 0;
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}

.line-card:hover,
.line-card:focus-visible { background: var(--ink-3); outline: none; }
.line-card:active { transform: scale(0.99); }
.line-card[data-active="true"] { background: linear-gradient(135deg, rgba(201,145,43,0.18), var(--ink-2)); }
.line-card small { font-family: var(--mono); color: var(--gold); letter-spacing: 0.12em; text-transform: uppercase; }
.line-card h3 { margin: 18px 0 8px; font-family: var(--display); font-size: 1.35rem; line-height: 1.12; }
.line-card p { margin: 0; color: var(--muted); }

.faq-panel { margin-top: 24px; }
.faq-box { border: 1px solid rgba(201, 145, 43, 0.35); background: rgba(18, 36, 56, 0.78); border-radius: 14px; overflow: hidden; }
.faq-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 26px; border-bottom: 1px solid rgba(143,161,179,0.2); }
.faq-head h3 { margin: 0; font-family: var(--display); font-size: 1.35rem; }
.faq-close { background: transparent; color: var(--muted); border: 1px solid rgba(143,161,179,0.35); padding: 8px 12px; border-radius: 999px; cursor: pointer; }
.faq-box details { border-bottom: 1px solid rgba(143,161,179,0.16); }
.faq-box summary { cursor: pointer; padding: 18px 26px; font-weight: 700; }
.faq-box p { margin: 0; padding: 0 26px 20px; color: #c5d0dc; max-width: 80ch; }
.faq-actions { padding: 22px 26px; }

.exposure-grid,
.method-layout,
.cases-layout,
.aftercare-grid,
.identity-grid,
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(34px, 6vw, 78px); align-items: start; }

.exposure-card,
.contact-card {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 18px;
  background: var(--ink);
  color: #edf4fa;
  box-shadow: var(--shadow);
}

.exposure-card label,
.contact-card label { display: block; margin: 0 0 10px; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-light); }
.exposure-card output { float: right; color: #edf4fa; }
input[type="range"] { width: 100%; accent-color: var(--gold); }
.exposure-number { margin: 28px 0 10px; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 4rem); color: var(--gold-light); line-height: 1; }
.exposure-card p:not(.exposure-number) { color: #c9d6e2; }

.method-list { display: grid; gap: 1px; background: #d6ccb8; border: 1px solid #d6ccb8; }
.method-list article { padding: 30px; background: rgba(255,255,255,0.5); }
.method-list h3,
.timeline h3 { margin: 10px 0; font-family: var(--display); font-size: 1.4rem; }
.method-list p,
.timeline p { margin: 0; color: #5c554a; }

.alliances { padding: 34px 0; background: #08131f; border-block: 1px solid rgba(201,145,43,0.18); overflow: hidden; }
.alliances-track { display: flex; flex-wrap: wrap; gap: 18px 36px; justify-content: center; color: #738497; font-family: var(--display); font-size: clamp(1.1rem, 2vw, 1.5rem); }
.alliances-track span::after { content: ""; display: inline-block; width: 5px; height: 5px; margin-left: 28px; background: var(--gold); transform: rotate(45deg); vertical-align: middle; }

.case-stack { display: grid; gap: 18px; }
.case-stack article { padding: 26px; border: 1px solid rgba(143,161,179,0.22); background: var(--ink-2); border-radius: 12px; }
.case-stack strong { display: block; font-family: var(--display); color: var(--gold-light); font-size: 2.2rem; line-height: 1; }
.case-stack p { color: #c5d0dc; }

.timeline { position: relative; display: grid; gap: 16px; }
.timeline article { padding: 24px 0 24px 34px; border-left: 2px solid #d6ccb8; position: relative; }
.timeline article::before { content: ""; position: absolute; left: -8px; top: 30px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); }

.identity-grid { align-items: center; }
.identity-logo { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); max-height: 640px; }
.identity-logo img { width: 100%; height: 100%; object-fit: cover; }
.identity-copy strong { color: #fff; }

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plans-grid article { padding: 30px; background: rgba(255,255,255,0.58); border: 1px solid #d6ccb8; border-radius: 14px; }
.plans-grid article.featured { background: var(--ink); color: #edf4fa; border-color: var(--gold); transform: translateY(-10px); }
.plans-grid h3 { margin: 10px 0 18px; font-family: var(--display); font-size: 1.45rem; }
.plans-grid ul { margin: 0; padding-left: 18px; color: #403b33; }
.plans-grid .featured ul { color: #c9d6e2; }
.plans-grid li { margin: 8px 0; }

.contact-section { background: linear-gradient(135deg, var(--paper), var(--paper-2)); color: var(--ink); }
.contact-card { display: grid; gap: 12px; }
.contact-card,
.contact-card > * {
  max-width: 100%;
}
.contact-card input,
.contact-card select {
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  border: 1px solid rgba(143,161,179,0.42);
  border-radius: 4px;
  background: var(--ink-2);
  color: #edf4fa;
  padding: 0 12px;
  font: inherit;
}
.contact-card input:focus,
.contact-card select:focus { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.contact-card p { margin: 6px 0 0; color: #c9d6e2; font-size: 0.86rem; }
.contact-card a { color: var(--gold-light); }

.site-footer { padding: 36px 0; background: #08131f; color: var(--muted); border-top: 1px solid rgba(201,145,43,0.18); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-grid img { height: 42px; width: auto; }
.footer-grid p { margin: 0; font-size: 0.86rem; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (hover: hover) and (pointer: fine) {
  .button:hover { transform: translateY(-1px); }
}

@media (max-width: 980px) {
  .hero-grid,
  .risk-layout,
  .exposure-grid,
  .method-layout,
  .cases-layout,
  .aftercare-grid,
  .identity-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .line-grid,
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { max-width: 12ch; }
}

@media (max-width: 760px) {
  .ag-container { width: min(100% - 28px, 1180px); }
  .nav-shell { height: 80px; }
  .brand img { width: min(245px, 64vw); }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(201,145,43,0.45);
    color: var(--gold-light);
    background: transparent;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    padding: 0;
    font: 700 0.75rem var(--mono);
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .menu-toggle i,
  .menu-toggle i::before,
  .menu-toggle i::after { display: block; width: 16px; height: 1px; background: currentColor; content: ""; }
  .menu-toggle i::before { transform: translateY(-5px); }
  .menu-toggle i::after { transform: translateY(4px); }
  .nav-menu {
    position: fixed;
    inset: 80px 0 0;
    z-index: 90;
    height: calc(100dvh - 80px);
    overflow-y: auto;
    display: none;
    padding: 28px;
    background: rgba(13, 27, 42, 0.97);
    flex-direction: column;
    align-items: flex-start;
    font-size: 1.15rem;
  }
  .nav-menu.open { display: flex; }
  body.menu-open { overflow: hidden; }
  .hero { padding-top: 126px; align-items: start; }
  .hero-grid { grid-template-areas: "copy" "panel"; }
  .hero-mark { right: -28vw; width: 58vw; max-width: 58vw; overflow: hidden; }
  .hero h1 { font-size: clamp(3rem, 15vw, 4.2rem); max-width: 10.5ch; }
  .hero-panel { padding: 22px; }
  .line-grid,
  .plans-grid,
  .trust-grid { grid-template-columns: 1fr; }
  .plans-grid article.featured { transform: none; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
