/* Blue Nile Funding — site styles */

@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4-italic.woff2") format("woff2");
  font-weight: 500 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy-950: #061230;
  --navy-900: #0a1a42;
  --navy-800: #0e2456;
  --navy-700: #15306c;
  --royal: #1f46a6;
  --ink: #0e1d4a;
  --text: #27324f;
  --muted: #59647f;
  --on-navy: #e3e9f7;
  --on-navy-muted: #b9c4de;
  --gold-100: #fbf1d4;
  --gold-200: #f4dc96;
  --gold-300: #ecc96d;
  --gold-400: #ddae47;
  --gold-500: #c79430;
  --gold-600: #a97a1f;
  --gold-ink: #a8771c;
  --paper: #ffffff;
  --marble: #f7f5f0;
  --line: #e8e1d2;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --shadow: 0 14px 34px rgba(8, 22, 58, 0.12);
  --gold-grad: linear-gradient(180deg, #fbe7a3 0%, #f0c95f 36%, #dba63d 68%, #c48f2b 100%);
  --gold-line: linear-gradient(90deg, rgba(201, 148, 48, 0) 0%, #c79430 18%, #f0cf7a 50%, #c79430 82%, rgba(201, 148, 48, 0) 100%);
  --gold-vline: linear-gradient(180deg, rgba(201, 148, 48, 0) 0%, #d6a645 22%, #f0cf7a 50%, #d6a645 78%, rgba(201, 148, 48, 0) 100%);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); color: var(--ink); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy-900); color: #fff; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 3px; }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Gold accent words ----------------------------------------------------- */
.gold { font-style: italic; font-weight: 600; color: var(--gold-ink); }
.gold-dark { color: var(--gold-ink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .gold {
    background: linear-gradient(180deg, #d9a63d 0%, #b9862a 55%, #94661a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding-right: 0.06em;
  }
  .on-navy .gold, .gold.on-navy {
    background: linear-gradient(180deg, #fbe6a2 0%, #efc965 50%, #d9a443 100%);
    -webkit-background-clip: text;
    background-clip: text;
  }
}
.on-navy .gold { color: var(--gold-300); }

/* Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem; line-height: 1.1;
  padding: 0.82em 1.5em; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-gold {
  color: var(--ink); background: var(--gold-grad); border-color: #b8852a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 -2px 0 rgba(150, 100, 20, 0.18), 0 8px 18px rgba(176, 125, 33, 0.28);
}
.btn-gold:hover { filter: brightness(1.05) saturate(1.05); transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 12px 24px rgba(176, 125, 33, 0.35); }
.btn-gold:active { transform: translateY(0); }
.btn-sm { font-size: 1rem; padding: 0.62em 1.15em; border-radius: 8px; }
.btn-lg { font-size: clamp(1.25rem, 2vw, 1.55rem); padding: 0.8em 1.7em; }
.btn-block { display: flex; width: 100%; }

/* Header ---------------------------------------------------------------- */
.site-header { position: relative; z-index: 30; background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 104px; padding-top: 8px; padding-bottom: 6px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: clamp(220px, 25vw, 318px); height: auto; }
.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 3vw, 46px); }
.site-nav a:not(.btn) {
  position: relative; display: inline-block; padding: 8px 2px; font-family: var(--serif); font-size: 1.22rem;
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: -6px; right: -6px; bottom: -2px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, #c79430, #f1cf78, #c79430); transform: scaleX(0); transform-origin: center; transition: transform 0.2s ease;
}
.site-nav a:not(.btn):hover::after { transform: scaleX(0.7); }
.site-nav a[aria-current="page"] { font-weight: 700; }
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; }

/* Header curve that sits on top of every hero */
.hero-curve { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: clamp(34px, 5vw, 70px); z-index: 3; pointer-events: none; }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(31, 70, 166, 0.35) 0%, rgba(31, 70, 166, 0) 60%),
    linear-gradient(180deg, #0b1d4b 0%, #0a1940 100%);
}
.hero-media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: -1; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: right center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 16%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 16%, #000 34%);
}
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(10, 25, 64, 0.55) 0%, rgba(10, 25, 64, 0.35) 36%, rgba(10, 25, 64, 0) 58%); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(440px, 40vw, 560px); padding-top: clamp(56px, 6vw, 84px); padding-bottom: clamp(36px, 4vw, 56px); }
.hero-copy { max-width: 640px; }
.hero--home .hero-copy { max-width: 740px; }
.hero--services .hero-copy { max-width: 760px; }
.eyebrow { margin: 0 0 0.55em; font-family: var(--sans); font-weight: 600; font-size: clamp(0.82rem, 1.2vw, 1.02rem); letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-300); }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.5rem); line-height: 1.02; letter-spacing: -0.015em; text-shadow: 0 2px 18px rgba(4, 12, 34, 0.35); }
.hero h1 .gold { font-weight: 600; }
.hero .hero-sub { margin: 0.38em 0 0.4em; color: #fff; font-family: var(--serif); font-size: clamp(1.45rem, 2.6vw, 2.15rem); font-weight: 600; line-height: 1.15; }
.hero .hero-lead { font-size: clamp(1.02rem, 1.4vw, 1.18rem); color: var(--on-navy); max-width: 520px; line-height: 1.5; }
.hero h1 + .hero-lead { margin-top: 0.9rem; }
.hero .hero-tag { margin-top: 0.5em; font-family: var(--serif); font-size: clamp(1.2rem, 1.9vw, 1.6rem); color: #fff; font-weight: 500; }
.hero .btn { margin-top: 0.7rem; }
.hero .hero-note { margin: 0.9rem 0 0; font-size: 0.93rem; color: var(--on-navy); }
.hero--home h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); }
.hero--services h1 { font-size: clamp(2.4rem, 4.5vw, 3.75rem); }
.hero--about .hero-inner { min-height: clamp(360px, 30vw, 440px); }
.hero--about h1 { font-size: clamp(2.7rem, 5.8vw, 4.8rem); line-height: 0.98; }
.hero--about .hero-media { width: 62%; }
.hero--services .hero-media { width: 56%; }
.hero--apply .hero-inner { min-height: clamp(320px, 26vw, 380px); }
.hero--apply .hero-media { width: 58%; }
.hero--apply h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); }

/* Sections -------------------------------------------------------------- */
.section { padding: clamp(48px, 6vw, 84px) 0; }
.section-tight { padding: clamp(36px, 4.5vw, 60px) 0; }
.section-title { text-align: center; font-size: clamp(1.95rem, 3.4vw, 2.75rem); }
.section-intro { text-align: center; max-width: 760px; margin: 0.7rem auto 0; font-size: 1.12rem; color: var(--text); }
.serif-copy { font-family: var(--serif); }

/* Feature columns with gold dividers */
.feature-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(28px, 3.5vw, 44px); }
.feature { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 6px clamp(10px, 2vw, 26px) 0; }
.feature + .feature::before { content: ""; position: absolute; left: 0; top: 8%; bottom: 8%; width: 2px; background: var(--gold-vline); }
.feature-icon { height: 88px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; }
.feature-icon img { max-height: 88px; width: auto; }
.feature h3 { font-size: clamp(1.15rem, 1.6vw, 1.32rem); font-weight: 600; line-height: 1.2; }
.feature h3::after { content: ""; display: block; width: 72px; height: 2px; margin: 12px auto 0; background: var(--gold-line); }
.feature p { margin: 12px 0 0; font-family: var(--serif); font-size: 1.07rem; color: var(--text); line-height: 1.45; }
.feature-caption { margin: clamp(26px, 3vw, 36px) auto 0; text-align: center; font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink); max-width: 860px; }

/* Navy feature band */
.band {
  position: relative; overflow: hidden; color: var(--on-navy); isolation: isolate;
  background:
    radial-gradient(70% 120% at 50% -20%, rgba(54, 96, 196, 0.32), rgba(54, 96, 196, 0) 60%),
    linear-gradient(180deg, #0c1e4c 0%, #0a173d 100%);
}
.band-skyline { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 75%; z-index: -1; opacity: 0.55; pointer-events: none; }
.band .section-title { color: #fff; }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(24px, 3vw, 36px); }
.stat-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.stat-row.cols-3 .stat-value { font-size: clamp(1.2rem, 1.9vw, 1.6rem); }
.stat { position: relative; text-align: center; padding: 0 clamp(8px, 1.6vw, 22px); }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 4%; bottom: 4%; width: 2px; background: var(--gold-vline); }
.stat-icon { height: 64px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 14px; }
.stat-icon svg { width: 56px; height: 56px; }
.stat-icon img { max-height: 64px; width: auto; }
.stat-value { display: block; font-family: var(--serif); font-weight: 700; color: #fff; font-size: clamp(1.25rem, 2.1vw, 1.8rem); line-height: 1.15; }
.stat-label { display: block; margin-top: 6px; color: var(--on-navy-muted); font-size: clamp(0.92rem, 1.2vw, 1.05rem); }
.band-rule { height: 2px; max-width: 980px; margin: clamp(26px, 3vw, 36px) auto 0; background: var(--gold-line); }
.band-fine { max-width: 900px; margin: 16px auto 0; text-align: center; font-size: 0.97rem; color: var(--on-navy); line-height: 1.55; }
.band-fine p { margin: 0; }

/* Check lists */
.checklist { display: grid; gap: 12px; align-content: start; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-family: var(--serif); font-size: 1.12rem; color: var(--ink); line-height: 1.35; }
.checklist svg { width: 26px; height: 26px; flex: none; margin-top: 1px; }
.check-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 18px; }
.check-cols > .checklist { padding-right: clamp(14px, 2.4vw, 34px); }
.check-cols > .checklist + .checklist { position: relative; padding-left: clamp(14px, 2.4vw, 34px); padding-right: 0; }
.check-cols > .checklist + .checklist::before { content: ""; position: absolute; left: 0; top: 2%; bottom: 2%; width: 2px; background: var(--gold-vline); }

/* Split section: copy left, art right fading into white */
.split { position: relative; overflow: hidden; }
.split-art { position: absolute; top: 0; right: 0; bottom: 0; width: 34%; z-index: 0; }
.split-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 22%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 22%, #000 42%);
}
.split .container { position: relative; z-index: 1; }
.split-copy { max-width: 820px; }
.split-copy h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); }
.split-copy .lead { margin: 10px 0 0; font-size: 1.12rem; color: var(--ink); }
.split-copy .note { margin: 22px 0 0; font-family: var(--serif); font-size: 1.08rem; color: var(--ink); }

/* Navy CTA band with skyline */
.cta-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: linear-gradient(180deg, #0b1c49 0%, #0a173c 100%); }
.cta-band-art { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; z-index: -1; }
.cta-band-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: center bottom;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 38%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.6) 18%, #000 38%);
}
.cta-band .container { position: relative; padding-top: clamp(40px, 5vw, 62px); padding-bottom: clamp(48px, 5.5vw, 70px); }
.cta-band h2 { color: #fff; font-size: clamp(1.95rem, 3.6vw, 2.9rem); max-width: 760px; }
.cta-band p { margin: 14px 0 0; max-width: 560px; font-size: 1.08rem; color: var(--on-navy); }
.cta-band .btn { margin-top: 22px; }
.cta-swoosh { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(40px, 5vw, 70px); z-index: 1; pointer-events: none; }

/* Footer ---------------------------------------------------------------- */
.footer-cta {
  position: relative; overflow: hidden; text-align: center; padding: clamp(44px, 5vw, 64px) 0 clamp(26px, 3vw, 34px);
  background: #faf9f6 url("../img/marble.webp") center / cover no-repeat;
}
.footer-swoosh { position: absolute; top: 0; width: clamp(180px, 22vw, 330px); height: 100%; pointer-events: none; }
.footer-swoosh.left { left: 0; }
.footer-swoosh.right { right: 0; transform: scaleX(-1); }
.footer-cta h2 { position: relative; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.contact-row { position: relative; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; margin: clamp(22px, 2.6vw, 30px) auto 0; }
.contact-row li { position: relative; padding: 4px clamp(16px, 3vw, 44px); }
.contact-row li + li::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--gold-vline); }
.contact-link { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-size: clamp(1rem, 1.4vw, 1.14rem); font-weight: 500; }
.contact-link:hover { color: var(--royal); }
.ci {
  display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #23408a 0%, #0c1d4c 70%); box-shadow: 0 0 0 2px #d9ab4a, 0 4px 10px rgba(10, 26, 64, 0.25);
}
.ci svg { width: 22px; height: 22px; }
.footer-fine { position: relative; max-width: 820px; margin: clamp(20px, 2.4vw, 28px) auto 0; font-family: var(--serif); font-size: 0.95rem; color: var(--ink); line-height: 1.5; }
.footer-fine p { margin: 0; }
.footer-bar { position: relative; background: linear-gradient(180deg, #0c1d4a, #081536); color: var(--on-navy-muted); text-align: center; padding: 26px 0 22px; }
.footer-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #a87a22, #f3d688 30%, #c79430 60%, #f3d688 85%, #a87a22); }
.footer-name { display: flex; align-items: center; justify-content: center; gap: 16px; font-family: var(--serif); font-size: 1.12rem; color: #fff; }
.footer-name::before, .footer-name::after { content: ""; width: clamp(40px, 10vw, 120px); height: 1px; background: linear-gradient(90deg, rgba(212, 166, 69, 0), #d4a645); }
.footer-name::after { transform: scaleX(-1); }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 12px; font-size: 0.92rem; }
.footer-nav a { color: var(--on-navy); text-decoration: none; }
.footer-nav a:hover { color: var(--gold-200); }
.footer-copy { margin: 12px 0 0; font-size: 0.82rem; color: #8e9bbd; }

/* Home: credit-story band copy */
.credit-band .cta-band-art { width: 52%; }

/* About ----------------------------------------------------------------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.framed { position: relative; padding: 4px; border-radius: 16px; background: linear-gradient(135deg, #f4d98f, #c48f2b 40%, #f1d282 70%, #b9852a); box-shadow: var(--shadow); }
.framed img { border-radius: 12px; width: 100%; }
.about-copy h2 { font-size: clamp(2.8rem, 5.4vw, 4.4rem); line-height: 1; margin-bottom: 0.32em; }
.about-copy p { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink); line-height: 1.6; }
.about-copy p:last-child { margin-bottom: 0; }
.marble-strip { position: relative; background: #f6f4ef url("../img/marble.webp") center / cover no-repeat; border-top: 1px solid #efe8d8; border-bottom: 1px solid #efe8d8; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: clamp(24px, 3vw, 34px) 0; }
.about-stat { position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.6vw, 22px); padding: 6px 12px; }
.about-stat + .about-stat::before { content: ""; position: absolute; left: 0; top: 6%; bottom: 6%; width: 2px; background: var(--gold-vline); }
.about-stat img { height: clamp(54px, 6vw, 80px); width: auto; flex: none; }
.about-stat strong { display: block; font-family: var(--serif); font-weight: 700; color: var(--ink); font-size: clamp(1.7rem, 3.4vw, 2.8rem); line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.about-stat span { display: block; margin-top: 6px; text-align: center; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(0.95rem, 1.3vw, 1.15rem); }
.about-stat span::after { content: ""; display: block; width: 64px; height: 2px; margin: 8px auto 0; background: var(--gold-line); }

/* Services -------------------------------------------------------------- */
.noein { padding-bottom: clamp(26px, 3vw, 36px); }
.noein .split-art { width: 40%; }
.noein .split-copy { max-width: 720px; }
.review-card {
  position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(14px, 2.4vw, 30px);
  padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.8vw, 34px); border-radius: 16px; background: rgba(255, 255, 255, 0.96);
  border: 2px solid transparent; background-clip: padding-box; box-shadow: 0 12px 28px rgba(14, 29, 74, 0.1);
}
.review-card::before { content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 17px; background: linear-gradient(135deg, #f3d68b, #c99632 45%, #f3d68b 75%, #c08b28); }
.review-card::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 15px; background: #fff; }
.review-icon img { width: clamp(58px, 6vw, 78px); height: auto; }
.review-card h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
.review-points { margin: 6px 0 2px; font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: clamp(1rem, 1.4vw, 1.15rem); }
.review-points span { white-space: nowrap; }
.review-fine { margin: 0; font-size: 0.88rem; color: var(--muted); }
.center-note { text-align: center; max-width: 760px; margin: clamp(22px, 2.6vw, 30px) auto 0; font-family: var(--serif); font-size: 1.06rem; color: var(--ink); }

.gold-band {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(60% 90% at 78% 40%, rgba(227, 168, 56, 0.35) 0%, rgba(227, 168, 56, 0) 70%),
    linear-gradient(90deg, #070d22 0%, #0b1534 40%, #1d160a 100%);
}
.gold-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, #8f6619, #f3d688 40%, #c79430 70%, #f3d688); }
.gold-band-art { position: absolute; top: 0; right: 0; bottom: 0; width: 50%; z-index: -1; }
.gold-band-art img {
  width: 100%; height: 100%; object-fit: cover; object-position: left center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 14%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 14%);
}
.gold-band .container { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.gold-band-copy { max-width: 600px; }
.gold-band h2 { color: #fff; font-size: clamp(2rem, 3.8vw, 3rem); line-height: 1.05; }
.gold-band p { margin: 16px 0 0; font-size: clamp(1.02rem, 1.4vw, 1.14rem); color: #eef1f8; }
.gold-band .small { margin-top: 10px; font-size: 0.97rem; color: #d9deea; }
.gold-band .btn { margin-top: 22px; }

.sub-cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 40px); max-width: 980px; margin: clamp(22px, 2.8vw, 32px) auto 0; }
.sub-card { display: flex; gap: 18px; align-items: center; padding: 20px 24px; border-radius: 14px; background: #f3f5f9; border: 1px solid #e6eaf2; }
.sub-card svg { width: 58px; height: 58px; flex: none; }
.sub-card h3 { font-size: 1.28rem; font-weight: 600; }
.sub-card p { margin: 4px 0 0; font-family: var(--serif); color: var(--ink); font-size: 1.04rem; line-height: 1.4; }

/* Contact --------------------------------------------------------------- */
.contact-main { position: relative; overflow: hidden; display: flex; align-items: center; min-height: calc(100vh - 250px); padding: clamp(24px, 3.5vw, 48px) 0 clamp(44px, 5vw, 72px); }
.contact-main > .container { width: 100%; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.contact-photo { margin-left: calc(-1 * max(var(--gutter), (100vw - var(--container)) / 2)); }
.contact-photo img { display: block; width: 100%; height: auto; }
.contact-copy h1 { font-size: clamp(2.8rem, 6vw, 5.1rem); line-height: 0.98; letter-spacing: -0.02em; }
.contact-copy h1 .line2 { display: block; font-size: 1.08em; color: var(--gold-ink); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .contact-copy h1 .line2 { background: linear-gradient(180deg, #f2cf75 0%, #dcaa45 42%, #b8842a 78%, #9c6d1c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: 0.06em; }
}
.contact-copy .rule { height: 2px; margin: 18px 0 26px; background: linear-gradient(90deg, #c79430, #f0cf7a 60%, rgba(199, 148, 48, 0)); }
.contact-list { display: grid; gap: 22px; }
.contact-item { display: flex; align-items: center; gap: 18px; text-decoration: none; color: var(--ink); }
.contact-item .ci { width: 62px; height: 62px; box-shadow: 0 0 0 3px #d9ab4a, 0 6px 14px rgba(10, 26, 64, 0.25); }
.contact-item .ci svg { width: 30px; height: 30px; }
.contact-item strong { display: block; font-weight: 700; font-size: 1.2rem; color: var(--ink); line-height: 1.2; }
.contact-item span.val { display: block; font-size: clamp(1.15rem, 1.8vw, 1.45rem); color: var(--ink); }
.contact-item:hover span.val { color: var(--royal); }
.contact-copy .btn { margin-top: 30px; }

/* Apply ----------------------------------------------------------------- */
/* The EmailMeForm theme wallpaper is set to #f4f2ec too, so the embedded form blends in. */
.apply-wrap { position: relative; padding: clamp(24px, 3.5vw, 48px) 0 clamp(40px, 5vw, 72px); background: #f4f2ec; }
.emf-embed { max-width: 900px; min-height: 900px; margin: 0 auto; }
.emf-embed iframe { display: block; width: 100%; border: 0; }
.emf-fallback { margin: 40px 0; text-align: center; }

/* Thank you / 404 ------------------------------------------------------- */
.simple-page { text-align: center; padding: clamp(56px, 8vw, 110px) 0; }
.simple-page h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.simple-page p { max-width: 620px; margin: 16px auto 0; font-size: 1.12rem; color: var(--text); }
.simple-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 28px; }
.btn-outline { color: var(--ink); background: #fff; border: 1.5px solid #c99632; }
.btn-outline:hover { background: #fdf7e8; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1100px) {
  .site-nav a:not(.btn) { font-size: 1.1rem; }
  .hero-media, .hero--about .hero-media, .hero--services .hero-media, .hero--apply .hero-media { width: 62%; }
  .hero-copy, .hero--home .hero-copy, .hero--services .hero-copy { max-width: 540px; }
  .hero .hero-lead { max-width: 460px; }
}
@media (max-width: 900px) {
  .hero::after { display: none; }
}

@media (max-width: 900px) {
  .header-inner { min-height: 84px; }
  .brand img { width: 230px; }
  .nav-toggle {
    display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px; border: 1.5px solid #d9dfec; background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  .nav-toggle .i-close { display: none; }
  .nav-open .nav-toggle .i-close { display: block; }
  .nav-open .nav-toggle .i-menu { display: none; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid #eee5d3; box-shadow: 0 18px 30px rgba(8, 22, 58, 0.14); display: none; }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 18px; }
  .site-nav li a:not(.btn) { display: block; padding: 14px 4px; font-size: 1.2rem; border-bottom: 1px solid #f0ebe0; }
  .site-nav a:not(.btn)::after { left: 4px; right: auto; width: 46px; bottom: 8px; transform-origin: left; }
  .site-nav .nav-cta { padding-top: 16px; }
  .site-nav .nav-cta .btn { width: 100%; font-size: 1.15rem; padding: 0.8em 1em; }

  .hero { display: flex; flex-direction: column; }
  .hero-media { position: relative; order: 2; width: 100%; height: auto; aspect-ratio: 16 / 9; margin-top: -1px; }
  .hero-media img { object-position: center; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%); mask-image: linear-gradient(180deg, transparent 0%, #000 26%); }
  .hero--about .hero-media, .hero--services .hero-media, .hero--apply .hero-media { width: 100%; }
  .hero--about .hero-media { aspect-ratio: 2 / 1; }
  .hero-inner, .hero--about .hero-inner, .hero--apply .hero-inner { min-height: 0; padding-top: 64px; padding-bottom: 10px; }
  .hero-copy { max-width: none; }

  .feature-row { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .feature:nth-child(3)::before { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
  .stat:nth-child(3)::before { display: none; }
  .stat-row.cols-3 { grid-template-columns: 1fr; }
  .stat-row.cols-3 .stat + .stat::before { left: 25%; right: 25%; top: -16px; bottom: auto; width: auto; height: 2px; background: var(--gold-line); }

  .split-art { position: relative; width: 100%; height: 260px; margin-top: 30px; }
  .split-art img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%); }
  .split { display: flex; flex-direction: column; }
  .split .split-art { order: 2; }
  .noein .split-art { width: 100%; }

  .cta-band-art, .credit-band .cta-band-art { position: relative; width: 100%; height: 220px; order: 2; }
  .cta-band-art img { -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 35%); mask-image: linear-gradient(180deg, transparent 0%, #000 35%); }
  .cta-band { display: flex; flex-direction: column; }
  .cta-band .container { padding-bottom: 8px; }

  .about-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; row-gap: 26px; }
  .about-stat + .about-stat::before { left: 30%; right: 30%; top: -14px; bottom: auto; width: auto; height: 2px; background: var(--gold-line); }

  .review-card { grid-template-columns: auto 1fr; }
  .review-card .btn { grid-column: 1 / -1; }

  .gold-band { display: flex; flex-direction: column; }
  .gold-band-art { position: relative; width: 100%; height: auto; aspect-ratio: 1100 / 638; order: 2; }
  .gold-band-art img { object-position: center; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%); mask-image: linear-gradient(180deg, transparent 0%, #000 22%); }
  .gold-band .container { padding-bottom: 10px; }

  .sub-cards { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-main { min-height: 0; }
  .contact-photo { margin-left: calc(var(--gutter) * -1); margin-right: calc(var(--gutter) * -1); }
}

@media (max-width: 640px) {
  .brand img { width: 196px; }
  .header-inner { min-height: 74px; }
  .hero h1 { font-size: clamp(2.35rem, 11vw, 3rem); }
  .feature { padding-left: 8px; padding-right: 8px; }
  .feature-icon { height: 70px; margin-bottom: 10px; }
  .feature-icon img { max-height: 70px; }
  .feature p { font-size: 0.98rem; }
  .stat { padding: 0 6px; }
  .stat-icon { height: 52px; margin-bottom: 10px; }
  .stat-icon svg { width: 46px; height: 46px; }
  .stat-icon img { max-height: 52px; }
  .check-cols { grid-template-columns: 1fr; gap: 12px; }
  .check-cols > .checklist, .check-cols > .checklist + .checklist { padding: 0; }
  .check-cols > .checklist + .checklist::before { display: none; }
  .contact-row { flex-direction: column; align-items: flex-start; gap: 14px; width: max-content; max-width: 100%; }
  .contact-row li { padding: 0; }
  .contact-row li + li::before { display: none; }
  .review-card { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .review-points span { white-space: normal; }
  .contact-item .ci { width: 54px; height: 54px; }
}

@media print {
  .site-header, .site-footer, .hero-media, .nav-toggle { display: none !important; }
  .hero { background: none; color: #000; }
}
