:root {
  --navy: #06194a;
  --navy-2: #0a2b67;
  --blue: #075ed1;
  --cyan: #24a7e5;
  --orange: #ff4f0a;
  --orange-dark: #dc3f00;
  --white: #ffffff;
  --ice: #edf7ff;
  --ice-2: #f6fbff;
  --ink: #091b45;
  --muted: #52627f;
  --line: #cbd9ea;
  --line-strong: #9db6d4;
  --success: #087b62;
  --warning-bg: #fff5e8;
  --warning-text: #6a3900;
  --max: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(76px, 9vw, 132px);
  --radius-sm: 10px;
  --radius: 18px;
  --shadow: 0 22px 70px rgba(6, 25, 74, 0.12);
  --font: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 132px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

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

a {
  color: var(--blue);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

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

::selection {
  color: var(--white);
  background: var(--blue);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  font-weight: 800;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

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

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

.status-bar {
  min-height: 38px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: linear-gradient(90deg, #0870d6, #0455ad);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.status-bar .container {
  display: flex;
  align-items: center;
  gap: 9px;
}

.status-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(157, 182, 212, 0.36);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--navy);
  text-decoration: none;
}

.brand-logo {
  width: 66px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-wording {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.brand-title .soft-blue {
  color: #78b4ec;
}

.brand-title .blue {
  color: var(--blue);
}

.brand-subtitle {
  margin-top: 7px;
  color: #60749b;
  font-size: 0.76rem;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(17px, 2.5vw, 34px);
}

.site-nav a {
  position: relative;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -9px;
  left: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after,
.site-nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.nav-cta,
.btn-primary {
  color: var(--white) !important;
  background: var(--orange);
  box-shadow: 0 10px 24px rgba(255, 79, 10, 0.2);
}

.nav-cta {
  padding: 13px 18px;
  border-radius: 8px;
}

.nav-cta:hover,
.btn-primary:hover {
  background: var(--orange-dark);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 0;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
}

.menu-toggle svg {
  width: 100%;
  height: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(110deg, var(--ice) 0%, #f9fcff 52%, var(--white) 100%);
}

.home-hero {
  min-height: 670px;
  display: grid;
  align-items: center;
  background-image: url("hero-viaggio.webp"), linear-gradient(110deg, var(--ice) 0%, #f9fcff 52%, var(--white) 100%);
  background-position: right center, center;
  background-repeat: no-repeat;
  background-size: auto 100%, cover;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(51%, 660px);
  padding-block: 84px 92px;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 11ch;
  color: var(--navy);
  font-size: clamp(3.75rem, 6.6vw, 6.65rem);
  font-weight: 900;
  letter-spacing: -0.068em;
  line-height: 0.92;
  text-wrap: balance;
}

.hero h1 .accent,
.page-hero h1 .accent,
.display-title .accent,
.section-heading .accent {
  color: var(--blue);
}

.hero-lead,
.page-lead {
  max-width: 600px;
  margin: 30px 0 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 1.8vw, 1.42rem);
  line-height: 1.46;
}

.hero-lead strong,
.page-lead strong {
  color: var(--blue);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  color: var(--navy);
  background: transparent;
  font-size: 0.98rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: rgba(255, 255, 255, 0.68);
}

.btn-outline:hover {
  background: var(--white);
  box-shadow: 0 10px 28px rgba(6, 25, 74, 0.1);
}

.btn-link {
  min-height: 48px;
  padding-inline: 4px;
  border-bottom: 2px solid var(--blue);
  border-radius: 0;
  color: var(--blue);
}

.mobile-hero-art {
  display: none;
}

.section {
  padding-block: var(--section);
}

.section-ice {
  background: var(--ice-2);
}

.section-navy {
  color: var(--white);
  background: var(--navy);
}

.section-header {
  max-width: 850px;
  margin-bottom: clamp(42px, 6vw, 70px);
}

.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-label::before {
  content: "";
  width: 30px;
  height: 2px;
  background: currentColor;
}

.section-navy .section-label {
  color: #78ccff;
}

.section-heading,
.display-title {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.65rem, 5vw, 5.3rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.98;
  text-wrap: balance;
}

.section-navy .section-heading {
  color: var(--white);
}

.section-intro {
  max-width: 720px;
  margin: 23px 0 0;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.6vw, 1.28rem);
}

.section-navy .section-intro {
  color: #c9d9f0;
}

.idea-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  align-items: center;
  gap: clamp(50px, 8vw, 110px);
}

.idea-title {
  margin: 0;
  max-width: 10ch;
  color: var(--navy);
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.idea-title .accent {
  color: var(--blue);
}

.idea-copy > p {
  margin-top: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
}

.pending-note {
  margin-top: 28px;
  padding: 24px 0 24px 25px;
  border-left: 3px solid var(--blue);
}

.pending-note strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1.1rem;
}

.pending-note p {
  margin: 0;
  color: var(--muted);
}

.journey {
  position: relative;
}

.journey-line {
  position: absolute;
  z-index: 0;
  top: 86px;
  right: 8%;
  left: 8%;
  height: 145px;
  color: var(--blue);
  pointer-events: none;
}

.journey-line path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 9 12;
}

.journey-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 5vw, 68px);
  padding-top: 30px;
}

.journey-step {
  min-height: 315px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.journey-step:nth-child(2) {
  transform: translateY(28px);
}

.journey-step:nth-child(3) {
  transform: translateY(-14px);
}

.step-number {
  margin-bottom: 9px;
  color: var(--blue);
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.8;
}

.journey-step:last-child .step-number,
.journey-step:last-child h3 {
  color: var(--orange);
}

.journey-step h3 {
  margin: 0;
  color: var(--blue);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.journey-step p {
  max-width: 31ch;
  margin: 12px 0 0;
  padding-left: 18px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink);
}

.journey-footer {
  margin-top: 70px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.plain-note {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 750;
}

.plain-note svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
}

.bryan-teaser {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(420px, 1.16fr);
  align-items: center;
  gap: clamp(40px, 7vw, 92px);
}

.bryan-teaser h2 {
  max-width: 9ch;
}

.bryan-visual {
  position: relative;
}

.bryan-visual img {
  width: 100%;
  border-radius: 0;
}

.ethical-note {
  max-width: 620px;
  margin-top: 28px;
  color: var(--muted);
}

.support-rail {
  margin-top: 58px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.support-item {
  min-width: 0;
  padding: 0 26px;
  border-left: 1px solid var(--line);
}

.support-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.support-item svg {
  width: 35px;
  height: 35px;
  margin-bottom: 18px;
  color: var(--blue);
}

.support-item h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 1rem;
}

.support-item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
}

.commitments {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.commitment-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.commitment-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.commitment-list strong {
  color: #65c4ff;
  font-size: 2.2rem;
  line-height: 1;
}

.commitment-list span {
  color: #e7effb;
}

.cta-section {
  padding-block: clamp(64px, 8vw, 104px);
  background: var(--ice-2);
}

.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 300px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  padding: clamp(38px, 6vw, 70px);
  color: var(--white);
  background: var(--navy);
  border-radius: 20px;
}

.cta-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: -130px;
  bottom: -170px;
  width: 520px;
  height: 320px;
  border: 3px dashed rgba(69, 176, 255, 0.45);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.cta-band h2 {
  max-width: 15ch;
  margin: 0;
  color: var(--white);
  font-size: clamp(2.4rem, 4.6vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.cta-band p {
  max-width: 650px;
  margin: 18px 0 0;
  color: #cedbf0;
}

.page-hero {
  min-height: 590px;
  display: grid;
  align-items: center;
  background-color: var(--ice-2);
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
}

.project-hero {
  background-image: url("banconote-busta.webp");
}

.bryan-hero {
  background-image: url("bryan-ripartenza.webp");
}

.page-hero-copy {
  width: min(52%, 680px);
  padding-block: 72px;
}

.page-hero h1 {
  font-size: clamp(3.3rem, 5.8vw, 5.9rem);
}

.fact-note {
  margin-top: 25px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
}

.fact-note svg {
  width: 23px;
  height: 23px;
  color: var(--blue);
  flex: 0 0 auto;
  margin-top: 2px;
}

.guide-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.guide-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 20px;
  padding: 35px clamp(20px, 3vw, 40px);
  border-left: 1px solid var(--line);
}

.guide-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.guide-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
}

.guide-icon svg {
  width: 28px;
  height: 28px;
}

.guide-item h2,
.guide-item h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 0.96rem;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.guide-item p {
  margin: 0;
  color: var(--ink);
}

.status-timeline {
  margin-top: 56px;
}

.status-timeline h2 {
  margin: 0 0 28px;
  color: var(--navy);
  font-size: 1.28rem;
}

.status-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.status-track::before {
  content: "";
  position: absolute;
  top: 11px;
  right: 11%;
  left: 11%;
  height: 2px;
  background: var(--line);
}

.status-stage {
  position: relative;
  z-index: 1;
  padding: 38px 18px 0;
  text-align: center;
}

.status-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 11px);
  width: 22px;
  height: 22px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: #a9b4c4;
  box-shadow: 0 0 0 2px #a9b4c4;
}

.status-stage.current::before {
  background: var(--white);
  box-shadow: 0 0 0 3px var(--blue);
}

.status-stage strong {
  display: block;
  color: var(--navy);
}

.status-stage span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.status-stage.current span {
  color: var(--blue);
  font-weight: 800;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(50px, 8vw, 110px);
}

.prose h2,
.prose h3 {
  color: var(--navy);
  line-height: 1.1;
}

.prose h2 {
  margin: 0 0 22px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.05em;
}

.prose h3 {
  margin: 34px 0 10px;
  font-size: 1.35rem;
}

.prose p {
  color: var(--muted);
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
  border-top: 1px solid var(--line);
}

.process-list li {
  counter-increment: process;
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.process-list li::before {
  content: "0" counter(process);
  color: var(--blue);
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.process-list strong {
  display: block;
  color: var(--navy);
  font-size: 1.12rem;
}

.process-list span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
}

.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.role {
  padding: 30px clamp(20px, 3vw, 38px);
  border-left: 1px solid var(--line);
}

.role:first-child {
  padding-left: 0;
  border-left: 0;
}

.role-number {
  display: block;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.role h3 {
  margin: 12px 0;
  color: var(--navy);
  font-size: 1.4rem;
}

.role p {
  margin: 0;
  color: var(--muted);
}

.phase-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.phase-list li {
  display: grid;
  grid-template-columns: minmax(140px, 0.38fr) 1fr;
  gap: 30px;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.phase-list strong {
  color: #68c5ff;
}

.phase-list span {
  color: #e0e9f7;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(50px, 7vw, 94px);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 23px 46px 23px 0;
  color: var(--navy);
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::before,
.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 4px;
  width: 18px;
  height: 2px;
  background: var(--blue);
  transition: transform 0.2s ease;
}

.faq-list summary::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 45px 24px 0;
  color: var(--muted);
}

.faq-answer p {
  margin: 0;
}

.source-list {
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.source-list a {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.source-list a:hover {
  color: var(--blue);
}

.source-list small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 500;
}

.source-list svg {
  width: 21px;
  height: 21px;
}

.quote-box {
  margin-top: 36px;
  padding: 28px;
  background: var(--ice-2);
  border-left: 4px solid var(--orange);
}

.quote-box p {
  margin: 0;
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 750;
}

.quote-box small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
}

.legal-prose {
  padding-block: var(--section);
}

.legal-prose h1 {
  margin: 0 0 34px;
  color: var(--navy);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.legal-prose h2 {
  margin: 42px 0 12px;
  color: var(--navy);
  font-size: 1.6rem;
}

.legal-prose p,
.legal-prose li {
  color: var(--muted);
}

.site-footer {
  color: #cad8ed;
  background: #031233;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(280px, 1.4fr) 0.7fr 0.8fr;
  gap: clamp(40px, 7vw, 100px);
  padding-block: 70px 55px;
}

.footer-brand {
  color: var(--white);
  font-size: 1.7rem;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.footer-copy {
  max-width: 48ch;
  margin: 16px 0 0;
}

.footer-main h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li {
  margin-top: 9px;
}

.footer-links a {
  color: #d9e6f7;
}

.footer-bottom {
  padding-block: 22px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  color: #96aac6;
  font-size: 0.8rem;
}

.footer-bottom p {
  margin: 0;
  max-width: 86ch;
}

.footer-bottom a {
  color: #c9d8ec;
}

.toast {
  position: fixed;
  z-index: 500;
  bottom: 26px;
  left: 50%;
  max-width: min(92vw, 520px);
  padding: 13px 18px;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.modal {
  width: min(92vw, 650px);
  max-height: 88vh;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 30px 110px rgba(4, 18, 51, 0.32);
}

.modal::backdrop {
  background: rgba(3, 18, 51, 0.72);
  backdrop-filter: blur(4px);
}

.modal-inner {
  position: relative;
  padding: clamp(28px, 6vw, 52px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: var(--ice);
  cursor: pointer;
}

.modal-close svg {
  width: 22px;
  height: 22px;
}

.modal h2 {
  max-width: 13ch;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.3rem, 5vw, 3.9rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.modal p {
  color: var(--muted);
}

.contact-form {
  margin-top: 26px;
}

.field {
  display: grid;
  gap: 7px;
  margin-top: 17px;
}

.field label {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 850;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  min-height: 95px;
  resize: vertical;
}

.form-note {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  padding: 14px;
  color: var(--muted);
  background: var(--ice-2);
  border-radius: 8px;
  font-size: 0.84rem;
}

.form-note svg {
  width: 20px;
  height: 20px;
  color: var(--blue);
  flex: 0 0 auto;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 16px;
  }

  .site-nav a {
    font-size: 0.84rem;
  }

  .home-hero,
  .page-hero {
    background-position: 122% center;
  }

  .hero-copy,
  .page-hero-copy {
    width: 56%;
  }

  .support-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .support-item:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .support-item:nth-child(n + 3) {
    padding-top: 28px;
  }
}

@media (max-width: 900px) {
  html {
    scroll-padding-top: 94px;
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 84px;
  }

  .brand-logo {
    width: 52px;
    height: 40px;
  }

  .brand-title {
    font-size: 1.45rem;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 120;
    top: 122px;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 26px var(--gutter) 50px;
    overflow: auto;
    background: var(--white);
    transform: translateX(102%);
    transition: transform 0.24s ease;
  }

  .site-nav.open {
    transform: translateX(0);
  }

  .site-nav a {
    padding: 17px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.16rem;
  }

  .site-nav a::after {
    display: none;
  }

  .site-nav .nav-cta {
    margin-top: 22px;
    padding-inline: 20px;
    border-bottom: 0;
    text-align: center;
  }

  .home-hero,
  .page-hero {
    min-height: auto;
    background-image: none;
  }

  .hero-copy,
  .page-hero-copy {
    width: 100%;
    padding-block: 68px 64px;
  }

  .hero h1,
  .page-hero h1 {
    max-width: 10ch;
  }

  .mobile-hero-art {
    width: calc(100% + (var(--gutter) * 2));
    max-width: none;
    display: block;
    margin: 22px calc(var(--gutter) * -1) 8px;
  }

  .idea-layout,
  .two-column,
  .faq-layout,
  .commitments,
  .bryan-teaser {
    grid-template-columns: 1fr;
  }

  .idea-layout,
  .two-column,
  .faq-layout,
  .commitments,
  .bryan-teaser {
    gap: 44px;
  }

  .idea-title {
    max-width: 12ch;
  }

  .journey-line {
    display: none;
  }

  .journey-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 0;
  }

  .journey-step,
  .journey-step:nth-child(2),
  .journey-step:nth-child(3) {
    min-height: 0;
    display: grid;
    grid-template-columns: 85px 1fr;
    column-gap: 24px;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
    transform: none;
  }

  .step-number {
    grid-row: 1 / span 2;
    margin: 0;
    font-size: 4.2rem;
  }

  .journey-step p {
    max-width: 55ch;
  }

  .journey-footer {
    margin-top: 36px;
  }

  .bryan-teaser .bryan-visual {
    grid-row: 1;
  }

  .guide-list,
  .roles {
    grid-template-columns: 1fr;
  }

  .guide-item,
  .guide-item:first-child,
  .role,
  .role:first-child {
    padding: 28px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .status-track {
    grid-template-columns: 1fr;
    padding-left: 20px;
  }

  .status-track::before {
    top: 11px;
    bottom: 11px;
    left: 30px;
    width: 2px;
    height: auto;
  }

  .status-stage {
    min-height: 80px;
    padding: 0 0 24px 56px;
    text-align: left;
  }

  .status-stage::before {
    top: 0;
    left: 0;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band .btn {
    justify-self: start;
  }

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

  .footer-main > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  :root {
    --gutter: 20px;
    --section: 78px;
  }

  .status-bar {
    min-height: 42px;
    font-size: 0.76rem;
  }

  .header-inner {
    min-height: 86px;
  }

  .brand-logo {
    display: none;
  }

  .brand-title {
    font-size: clamp(1.45rem, 7.5vw, 1.85rem);
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .site-nav {
    top: 128px;
  }

  .hero-copy,
  .page-hero-copy {
    padding-block: 50px 54px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .hero-lead,
  .page-lead {
    margin-top: 24px;
    font-size: 1.08rem;
  }

  .hero-actions,
  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .idea-title,
  .section-heading,
  .display-title {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .journey-step,
  .journey-step:nth-child(2),
  .journey-step:nth-child(3) {
    grid-template-columns: 66px 1fr;
    column-gap: 15px;
  }

  .step-number {
    font-size: 3.25rem;
  }

  .journey-step p {
    padding-left: 0;
    border-left: 0;
  }

  .journey-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .support-rail {
    grid-template-columns: 1fr;
  }

  .support-item,
  .support-item:first-child,
  .support-item:nth-child(3) {
    padding: 24px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .support-item:last-child {
    border-bottom: 0;
  }

  .commitment-list li,
  .process-list li {
    grid-template-columns: 52px 1fr;
    gap: 16px;
  }

  .commitment-list strong,
  .process-list li::before {
    font-size: 1.75rem;
  }

  .guide-item {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .guide-icon {
    width: 46px;
    height: 46px;
  }

  .phase-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cta-band {
    min-height: 0;
    padding: 34px 24px;
    border-radius: 14px;
  }

  .cta-band h2 {
    font-size: 2.7rem;
  }

  .footer-main,
  .footer-bottom {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .footer-main > :first-child {
    grid-column: auto;
  }

  .modal-inner {
    padding-top: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .status-bar,
  .site-header,
  .hero-actions,
  .button-row,
  .cta-section,
  .site-footer,
  .toast,
  .modal {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .hero,
  .page-hero,
  .section,
  .section-navy {
    min-height: auto;
    padding: 28px 0;
    color: #000;
    background: #fff !important;
  }

  .hero-copy,
  .page-hero-copy {
    width: 100%;
    padding: 0;
  }

  h1,
  h2,
  h3,
  p,
  span,
  strong {
    color: #000 !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* QA overrides: keep primary actions visible and soften generated-art seams. */
.btn.btn-primary {
  color: var(--white) !important;
  background: var(--orange);
}

.btn.btn-primary:hover {
  background: var(--orange-dark);
}

.home-hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 23%;
  width: 19%;
  pointer-events: none;
  background: linear-gradient(90deg, var(--ice) 0%, rgba(237, 247, 255, 0) 100%);
}

.page-hero-copy {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  .home-hero::before,
  .page-hero::before {
    display: none;
  }
}

@media (min-width: 1081px) {
  .hero-copy {
    width: min(59%, 760px);
  }

  .hero h1 {
    max-width: 9em;
  }

  .home-hero {
    background-position: 110% center, center;
  }
}

/* Keep internal-page art and blending inside the hero itself. */
.page-hero {
  position: relative;
  isolation: isolate;
}

.page-hero h1 {
  max-width: 9em;
  font-size: clamp(3.2rem, 5vw, 5rem);
}

.page-hero-copy {
  width: min(48%, 650px);
}

.bryan-hero {
  background-position: 126% center;
}

@media (max-width: 1080px) {
  .page-hero-copy {
    width: 55%;
  }

  .bryan-hero {
    background-position: 145% center;
  }
}

@media (max-width: 900px) {
  .page-hero-copy {
    width: 100%;
  }
}

/* Keep the Bryan illustration fully visible without entering the copy column. */
.bryan-hero {
  background-size: auto 88%;
  background-position: right center;
}

@media (max-width: 1080px) {
  .bryan-hero {
    background-size: auto 90%;
    background-position: 118% center;
  }
}

img,
svg {
  height: auto;
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: calc(100vh - 128px);
    display: none;
    transform: none;
  }

  .site-nav.open {
    display: flex;
    transform: none;
  }

  .mobile-hero-art {
    height: auto;
  }
}
