@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-500-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-400-italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/libre-baskerville-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Libre Baskerville';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/libre-baskerville-latin-700-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/jost-latin-300-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/jost-latin-400-normal.woff2') format('woff2');
}

@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/jost-latin-500-normal.woff2') format('woff2');
}

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

:root {
  --navy:      #0c1527;
  --navy-mid:  #172035;
  --navy-card: #1a2640;
  --navy-lift: #203050;
  --slate:     #8494ae;
  --slate-dim: rgba(132,148,174,0.45);
  --slate-rule: rgba(132,148,174,0.14);
  --gold:      #c9a96e;
  --gold-dim:  rgba(201,169,110,0.18);
  --gold-rule: rgba(201,169,110,0.35);
  --cream:     #f2ede4;
  --cream-dim: rgba(242,237,228,0.72);
  --cream-faint: rgba(242,237,228,0.12);
  --white:     #ffffff;
  --display:   'Playfair Display', Georgia, serif;
  --body:      'Libre Baskerville', Georgia, serif;
  --ui:        'Jost', sans-serif;
}

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

body {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--ui);
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3.5rem;
  background: rgba(12,21,39,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-rule);
}

.nav-logo {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--cream);
  text-decoration: none;
}

.nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2.75rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  padding: 0;
}

.hero-left {
  padding: 7rem 4.5rem 5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--slate-rule);
  position: relative;
}

.hero-left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse 80% 60% at 20% 50%, rgba(201,169,110,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-label {
  font-family: var(--ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: fadeUp 0.7s ease both;
}

.hero-label::before {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold-rule);
}

.hero-headline {
  font-family: var(--display);
  font-size: clamp(2.8rem, 4.8vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 2.25rem;
  animation: fadeUp 0.7s ease 0.1s both;
}

.hero-headline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-family: var(--ui);
  font-size: 1rem;
  color: var(--slate);
  max-width: 42ch;
  line-height: 1.8;
  margin-bottom: 3.25rem;
  font-weight: 300;
  animation: fadeUp 0.7s ease 0.2s both;
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeUp 0.7s ease 0.3s both;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover { background: #d9bc84; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  padding: 0.9rem 2.25rem;
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold-rule);
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.hero-right {
  background: var(--navy-mid);
  padding: 7rem 3.5rem 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2.5rem;
  animation: fadeUp 0.7s ease 0.15s both;
}

.hero-case {
  border-left: 2px solid var(--gold-rule);
  padding-left: 1.75rem;
}

.hero-case-label {
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.hero-case-text {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--cream-dim);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: 0.6rem;
}

.hero-case-meta {
  font-family: var(--ui);
  font-size: 0.78rem;
  color: var(--slate);
  font-weight: 300;
}

/* ─── SECTIONS BASE ─── */
section { padding: 6.5rem 3.5rem; }
.section-inner { max-width: 1120px; margin: 0 auto; }

.section-tag {
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.section-tag::before {
  content: '';
  display: block;
  width: 1.75rem;
  height: 1px;
  background: var(--gold-rule);
}

.section-title {
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.6vw, 3.1rem);
  font-weight: 400;
  line-height: 1.18;
  color: var(--cream);
  margin-bottom: 1.75rem;
}

.section-title em { font-style: italic; color: var(--gold); }

/* ─── SITUATIONS ─── */
.situations {
  background: var(--navy-mid);
  border-top: 1px solid var(--slate-rule);
}

.situations-intro {
  font-family: var(--ui);
  font-size: 1rem;
  color: var(--slate);
  max-width: 58ch;
  line-height: 1.85;
  margin-bottom: 3.75rem;
  font-weight: 300;
}

.situations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--slate-rule);
  border: 1px solid var(--slate-rule);
}

.situation-card {
  background: var(--navy-mid);
  padding: 2.75rem;
  transition: background 0.25s;
}

.situation-card:hover { background: var(--navy-card); }

.situation-num {
  font-family: var(--display);
  font-size: 2.75rem;
  font-weight: 400;
  color: rgba(201,169,110,0.15);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.situation-title {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.85rem;
}

.situation-body {
  font-family: var(--ui);
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.8;
  font-weight: 300;
}

/* ─── HOW IT WORKS ─── */
.how {
  background: var(--navy);
  border-top: 1px solid var(--slate-rule);
}

.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  margin-top: 4.5rem;
  align-items: start;
}

.how-steps {
  display: flex;
  flex-direction: column;
}

.how-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1.5rem;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--slate-rule);
  align-items: start;
}

.how-step:first-child { border-top: 1px solid var(--slate-rule); }

.how-step-num {
  font-family: var(--display);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  padding-top: 0.1rem;
  opacity: 0.55;
}

.how-step-title {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.how-step-body {
  font-family: var(--ui);
  font-size: 0.87rem;
  color: var(--slate);
  line-height: 1.8;
  font-weight: 300;
}

.how-detail {
  background: var(--navy-card);
  padding: 2.75rem;
  border: 1px solid var(--slate-rule);
  border-top: 2px solid var(--gold-rule);
  position: relative;
}

.how-detail::before {
  content: '';
  position: absolute;
  top: -2px; left: 0;
  width: 3rem;
  height: 2px;
  background: var(--gold);
}

.how-detail-label {
  font-family: var(--ui);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 1.75rem;
}

.how-detail-item {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}

.how-detail-item:last-child { margin-bottom: 0; }

.how-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.6rem;
  flex-shrink: 0;
  opacity: 0.7;
}

.how-detail-text {
  font-family: var(--ui);
  font-size: 0.88rem;
  color: var(--slate);
  line-height: 1.7;
  font-weight: 300;
}

/* ─── CASES ─── */
.cases {
  background: var(--navy-mid);
  border-top: 1px solid var(--slate-rule);
}

.cases-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
  margin-top: 3.75rem;
}

.case-card {
  background: var(--navy);
  padding: 2.5rem;
  border: 1px solid var(--slate-rule);
  position: relative;
  transition: border-color 0.25s, transform 0.2s;
}

.case-card:hover {
  border-color: var(--gold-rule);
  transform: translateY(-2px);
}

.case-tag {
  font-family: var(--ui);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 1.25rem;
  display: inline-block;
  background: var(--gold-dim);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--gold-rule);
}

.case-situation {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1.1rem;
  line-height: 1.3;
}

.case-body {
  font-family: var(--ui);
  font-size: 0.87rem;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.case-result {
  border-top: 1px solid var(--slate-rule);
  padding-top: 1.25rem;
  font-family: var(--ui);
  font-size: 0.84rem;
  color: var(--cream-dim);
  font-weight: 300;
}

.case-result strong { color: var(--gold); font-weight: 400; }

/* ─── ABOUT ─── */
.about {
  background: var(--navy-card);
  border-top: 1px solid var(--slate-rule);
}

.about-intro {
  font-family: var(--ui);
  font-size: 1rem;
  color: var(--slate);
  max-width: 58ch;
  line-height: 1.85;
  margin-bottom: 3.75rem;
  font-weight: 300;
}

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo {
  position: relative;
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: 4px;
  display: block;
  filter: grayscale(12%) contrast(1.02);
}

.about-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(201,169,110,0.18);
  pointer-events: none;
}

.about-text p {
  font-family: var(--body);
  font-size: 0.93rem;
  color: rgba(242,237,228,0.62);
  line-height: 1.9;
  margin-bottom: 1.4rem;
}

.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--cream); font-weight: 700; }

.creds {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--slate-rule);
}

.cred {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--slate-rule);
  transition: background 0.2s;
}

.cred:hover { background: var(--cream-faint); }
.cred:last-child { border-bottom: none; }

.cred-title {
  font-family: var(--ui);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.25rem;
}

.cred-sub {
  font-family: var(--ui);
  font-size: 0.76rem;
  color: var(--slate);
  font-weight: 300;
}

/* ─── CTA ─── */
.cta {
  background: var(--navy-mid);
  padding: 7rem 3.5rem;
  text-align: center;
  border-top: 1px solid var(--slate-rule);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; }

.cta-title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  font-weight: 400;
  color: var(--cream);
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.cta-title em { font-style: italic; color: var(--gold); }

.cta-sub {
  font-family: var(--ui);
  font-size: 1rem;
  color: var(--slate);
  margin-bottom: 3rem;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.8;
}

.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn-cta-primary {
  display: inline-block;
  padding: 1rem 2.75rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.btn-cta-primary:hover { background: #d9bc84; transform: translateY(-1px); }

.btn-cta-ghost {
  display: inline-block;
  padding: 1rem 2.75rem;
  background: transparent;
  color: var(--cream-dim);
  border: 1px solid var(--slate-rule);
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.btn-cta-ghost:hover { border-color: var(--gold-rule); color: var(--gold); }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  padding: 2rem 3.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--slate-rule);
}

.footer-logo {
  font-family: var(--display);
  font-size: 1rem;
  color: var(--slate);
  letter-spacing: 0.04em;
}

.footer-copy {
  font-family: var(--ui);
  font-size: 0.75rem;
  color: var(--slate);
  font-weight: 300;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  html { scroll-padding-top: 64px; }
  nav { padding: 1rem 1.5rem; }
  .nav-links { gap: 1.25rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 5rem 1.5rem 3rem; border-right: none; border-bottom: 1px solid var(--slate-rule); }
  .hero-right { padding: 3rem 1.5rem; gap: 1.75rem; }
  section { padding: 4rem 1.5rem; }
  .situations-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; gap: 3rem; }
  .cases-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  footer { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ─── ADDITIONS ─── */
.skip-link {
  position: absolute;
  top: -4rem; left: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--ui);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}

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

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

.btn:focus-visible,
.btn-cta-primary:focus-visible { outline-color: var(--cream); }

@media (max-width: 640px) {
  .nav-links { gap: 0; }
  .nav-links .nav-section { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-label, .hero-headline, .hero-sub, .btn-group, .hero-right { animation: none; }
  .btn, .btn-outline, .btn-cta-primary, .btn-cta-ghost,
  .situation-card, .case-card, .cred, .nav-links a { transition: none; }
  .btn:hover, .btn-cta-primary:hover, .case-card:hover { transform: none; }
}

.notfound {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
}

.notfound .section-tag { justify-content: center; }
