/* ==========================================================
   Patrick Senguin Advisory — site styles
   ========================================================== */
:root {
  --navy: #0b1f44;
  --navy-deep: #07142e;
  --red: #a50f19;
  --red-dark: #8a0b14;
  --red-bright: #d9202a;
  --red-tint: #fbeaec;
  --ink: #1b2233;
  --muted: #4b5468;
  --line: #dfe3ec;
  --bg: #ffffff;
  --bg-soft: #f2f4f9;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(11, 31, 68, .08);
  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--bg);
  line-height: 1.6; font-size: 16px; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid rgba(11,31,68,.06); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: flex; align-items: center; }
.logo img { height: 60px; width: auto; display: block; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-weight: 500; color: var(--navy); padding: 8px 0; border-bottom: 3px solid transparent; font-size: 1.02rem; }
.nav a:hover { color: var(--red); }
.nav a.active { color: var(--red); border-color: var(--red); font-weight: 600; }
.nav a.btn, .nav a.btn:hover { color: #fff; padding: 12px 22px; border-bottom: 1px solid transparent; font-weight: 600; font-size: 1rem; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px; color: var(--navy); cursor: pointer; }
.nav-toggle .icon { width: 26px; height: 26px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 600 1rem var(--sans); padding: 13px 24px; border-radius: 8px; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(180deg, #b5121b, var(--red-dark)); color: #fff; box-shadow: 0 6px 16px rgba(165,15,25,.28); }
.btn-primary:hover { background: linear-gradient(180deg, #c4141e, var(--red)); }
.btn-outline { color: #fff; border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.04); }
.btn-outline:hover { background: rgba(255,255,255,.14); }
.btn-white { background: #fff; color: var(--red); box-shadow: 0 8px 22px rgba(0,0,0,.18); padding: 15px 34px; font-size: 1.1rem; }
.btn-block { width: 100%; justify-content: center; padding: 16px; font-size: 1.1rem; }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--hero-img) right center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,31,68,.94) 34%, rgba(11,31,68,.45) 62%, rgba(11,31,68,0) 82%); }
.hero .wrap { padding-top: 56px; padding-bottom: 120px; }
.hero-compact .wrap { padding-top: 44px; padding-bottom: 104px; }
.hero-curve { position: absolute; left: 0; right: 0; bottom: -1px; height: 70px; width: 100%; background: url("../images/hero-curve.svg") center bottom / 100% 100% no-repeat; }
.hero .eyebrow { color: #fff; }
.eyebrow { display: inline-block; font-weight: 600; font-size: .86rem; letter-spacing: .42em; text-transform: uppercase; color: var(--red); margin-bottom: 20px; }
.eyebrow::after { content: ""; display: block; width: 78px; height: 3px; background: var(--red-bright); margin-top: 14px; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 14em; margin-bottom: .45em; font-weight: 600; }
.hero h1 em { font-style: italic; font-weight: 500; }
.hero p.lead { max-width: 33em; font-size: 1.12rem; color: #e6ecf7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding: 64px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .eyebrow { display: flex; align-items: center; justify-content: center; gap: 22px; letter-spacing: .4em; margin-bottom: 8px; }
.section-head .eyebrow::before, .section-head .eyebrow::after { content: ""; width: min(24vw, 240px); height: 1px; background: #b9c0d0; margin: 0; }
.section-head h2 { font-size: clamp(2rem, 3.4vw, 2.7rem); }
.section-head p { color: var(--ink); font-size: 1.05rem; margin: 0; }
.accent-title { border-left: 3px solid var(--red); padding-left: 18px; }

/* Home: feature row */
.features { display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 0 10px; }
.feature { text-align: center; padding: 6px 26px; }
.feature + .feature { border-left: 1px solid var(--line); }
.feature .icon { width: 56px; height: 56px; color: var(--red); margin: 0 auto 10px; stroke-width: 1.6; }
.feature h3 { font-size: 1.28rem; margin-bottom: .3em; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Home: How we help strip */
.help-strip { display: grid; grid-template-columns: 300px 1fr; align-items: center; gap: 24px; background: var(--bg-soft); border-radius: 24px; padding: 28px 34px; box-shadow: inset 0 0 0 1px #eceff6; margin: 28px 0 70px; }
.help-strip h2 { font-size: 2.1rem; border-left: 3px solid var(--red); padding-left: 18px; margin-bottom: .1em; }
.help-strip .sub { padding-left: 21px; margin: 0; font-size: 1.05rem; }
.mini-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: center; }
.mini-step { display: flex; gap: 14px; align-items: center; position: relative; padding-right: 22px; }
.mini-step:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 50%; width: 9px; height: 9px; border-top: 2px solid #5a6477; border-right: 2px solid #5a6477; transform: translateY(-50%) rotate(45deg); }
.circle-icon { width: 62px; height: 62px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(11,31,68,.12); display: grid; place-items: center; color: var(--red); flex: none; }
.circle-icon .icon { width: 28px; height: 28px; }
.mini-step h3 { font-size: 1.1rem; margin: 0 0 .15em; }
.mini-step p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.4; }

/* About */
.about-grid { display: grid; grid-template-columns: 320px 1fr 300px; gap: 36px; align-items: start; padding: 48px 0 40px; }
.portrait { width: 100%; aspect-ratio: 4/5.1; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #1c3a70, var(--navy-deep)); display: grid; place-items: center; box-shadow: var(--shadow); position: relative; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .monogram { font-family: var(--serif); font-size: 6.5rem; font-weight: 700; color: #fff; letter-spacing: .04em; opacity: .92; }
.portrait .monogram-note { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: .78rem; color: rgba(255,255,255,.65); letter-spacing: .08em; }
.about-copy h2 { font-size: 2.2rem; margin-bottom: .8em; }
.about-copy p { color: #2a3347; font-size: 1.04rem; }
.stats { border-left: 1px solid var(--line); padding-left: 32px; display: grid; gap: 28px; }
.stat { display: flex; gap: 16px; align-items: flex-start; }
.stat .icon { width: 40px; height: 40px; color: var(--red); margin-top: 2px; }
.stat h3 { font-size: 1.12rem; margin: 0 0 .1em; }
.stat p { font-size: .94rem; margin: 0; color: var(--muted); line-height: 1.4; }

.band { display: flex; align-items: center; gap: 28px; background: var(--bg-soft); border-radius: 18px; padding: 26px 34px; box-shadow: inset 0 0 0 1px #eceff6; margin-bottom: 64px; }
.band > .icon { width: 64px; height: 64px; color: var(--red); stroke-width: 1.5; }
.band .band-text { border-left: 2px solid var(--red); padding-left: 24px; flex: 1; }
.band h2 { font-size: 1.9rem; margin: 0 0 .1em; }
.band p { margin: 0; font-size: 1.06rem; }

/* Services */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { display: flex; align-items: center; gap: 22px; padding: 22px 26px; background: linear-gradient(180deg, #fff, #fafbfd); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 2px 10px rgba(11,31,68,.04); transition: box-shadow .2s, transform .2s; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.tile { width: 84px; height: 84px; border-radius: 16px; background: var(--red-tint); display: grid; place-items: center; color: var(--red); flex: none; }
.tile .icon { width: 42px; height: 42px; }
.service-card .body { border-left: 2px solid var(--red); padding-left: 22px; }
.service-card h3 { font-size: 1.35rem; margin-bottom: .25em; }
.service-card p { margin: 0; font-size: .98rem; }

.approach { display: grid; grid-template-columns: 1fr 1px 1fr; gap: 48px; align-items: center; }
.approach .divider { align-self: stretch; background: #cdd3e0; }
.approach h2 { font-size: 2.6rem; }
.approach h2::after { content: ""; display: block; width: 70px; height: 3px; background: var(--red); margin-top: 18px; }
.exp-card { background: #fff; border-radius: 16px; padding: 22px 24px; box-shadow: var(--shadow); }
.exp-card h3 { font-size: 1.5rem; margin-bottom: .7em; }
.exp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.exp-list li { display: flex; align-items: center; gap: 18px; background: linear-gradient(90deg, #fcecee, #fff 85%); padding: 8px 18px 8px 8px; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.num { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(180deg, #c4141e, var(--red-dark)); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .95rem; flex: none; }

/* CTA band */
.cta { color: #fff; text-align: center; padding: 38px 0 44px; background: radial-gradient(120% 140% at 15% 0%, #c1121c 0%, var(--red) 40%, #6f0910 100%); }
.cta h2 { color: #fff; font-size: 2.4rem; margin-bottom: .2em; }
.cta p { margin: 0 0 20px; font-size: 1.08rem; }

/* How it works */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.step { position: relative; background: linear-gradient(180deg, #fff, #fafbfd); border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 24px; box-shadow: 0 2px 10px rgba(11,31,68,.04); }
.step .tile { width: 104px; height: 80px; margin: 0 auto 6px; border-radius: 14px; }
.step .num-pill { display: block; width: max-content; margin: 0 auto 12px; background: linear-gradient(180deg, #c4141e, var(--red-dark)); color: #fff; font-weight: 700; font-size: .85rem; padding: 2px 12px; border-radius: 99px; }
.step h3 { font-size: 1.5rem; margin-bottom: .55em; }
.step h3::after { content: ""; display: block; width: 52px; height: 2px; background: var(--red); margin-top: 12px; }
.step p { margin: 0; font-size: .98rem; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -22px; top: 50%; z-index: 2; width: 28px; height: 28px; border-radius: 50%; transform: translateY(-50%); background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / 60% no-repeat; }

.choice { display: grid; grid-template-columns: minmax(0, 0.9fr) 1.1fr; background: var(--bg-soft); min-height: 190px; margin-top: 56px; }
.choice-img { background: url("../images/hero-building.svg") center / cover no-repeat; }
.choice-body { display: flex; align-items: center; padding: 28px 40px; }
.choice-body > div { border-left: 2px solid var(--red); padding-left: 36px; }
.choice-body h2 { font-size: 2.2rem; }
.choice-body p { margin: 0; max-width: 36em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; padding: 52px 0 40px; align-items: start; }
.contact-info h2 { font-size: 2.6rem; border-left: 3px solid var(--red); padding-left: 18px; margin-bottom: .45em; }
.contact-info > p { padding-left: 21px; max-width: 28em; }
.contact-card { display: flex; align-items: center; gap: 22px; padding: 18px 22px; background: linear-gradient(180deg, #fff, #fafbfd); border: 1px solid var(--line); border-radius: 12px; margin-top: 16px; }
.contact-card .tile { width: 62px; height: 62px; border-radius: 12px; }
.contact-card .tile .icon { width: 30px; height: 30px; }
.contact-card h3 { font-size: 1.4rem; margin: 0; }
.contact-card p, .contact-card a { margin: 0; font-size: 1.05rem; }
.contact-card a:hover { color: var(--red); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 32px 32px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 2.1rem; margin-bottom: .6em; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; margin-bottom: 5px; color: var(--navy); }
.field label .req { color: var(--red); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border: 1px solid #c9cfdc; border-radius: 8px; background: #f7f8fb; color: var(--ink); transition: border .15s, box-shadow .15s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(165,15,25,.14); background: #fff; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red-bright); }
.field .err { color: var(--red-bright); font-size: .86rem; margin-top: 4px; display: none; }
.field.has-error .err { display: block; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 8px; display: none; font-weight: 500; }
.form-status.ok { display: block; background: #e8f6ec; color: #17612f; }
.form-status.fail { display: block; background: var(--red-tint); color: var(--red-dark); }
.btn[disabled] { opacity: .65; cursor: progress; }

.assure { padding: 34px 0 52px; background: #fbfcfe; }
.assure .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.assure-item { display: flex; gap: 18px; align-items: center; padding: 0 34px; }
.assure-item + .assure-item { border-left: 1px solid var(--line); }
.assure-item .icon { width: 46px; height: 46px; color: var(--red); }
.assure-item h3 { font-size: 1.35rem; margin: 0 0 .1em; }
.assure-item p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.4; }

/* Legal / privacy rows */
.legal { padding: 28px 0 56px; display: grid; gap: 12px; }
.legal-item { display: flex; align-items: center; gap: 24px; padding: 18px 26px 18px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 8px rgba(11,31,68,.04); }
.legal-item:first-child { border-color: transparent; box-shadow: none; }
.legal-item.highlight { background: var(--red-tint); border-color: #f5d3d7; }
.legal-item .tile { width: 82px; height: 74px; border-radius: 12px; }
.legal-item .body { border-left: 2px solid var(--red); padding-left: 24px; }
.legal-item h2 { font-size: 1.5rem; margin-bottom: .2em; }
.legal-item p { margin: 0; font-size: .98rem; line-height: 1.5; }
.legal-item a { color: var(--red); font-weight: 700; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #e5eaf5; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 44px; min-height: 134px; padding-top: 22px; padding-bottom: 22px; }
.site-footer .logo img { height: 56px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 18px 32px; border-left: 1px solid rgba(255,255,255,.35); padding-left: 44px; }
.foot-legal { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-left: 1px solid rgba(255,255,255,.35); padding-left: 36px; }
.site-footer a { padding: 6px 0; border-bottom: 3px solid transparent; font-weight: 500; }
.site-footer a:hover { color: #fff; }
.site-footer a.active { border-color: var(--red-bright); color: #fff; font-weight: 600; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); text-align: center; font-size: .82rem; color: #9ba7c2; padding: 14px 24px; }

/* Error pages */
.error-page { text-align: center; padding: 90px 0 110px; }
.error-page .code { font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; color: var(--navy); line-height: 1; }
.error-page .code span { color: var(--red); }
.error-page h1 { font-size: 2.2rem; margin: .3em 0 .3em; }
.error-page p { color: var(--muted); max-width: 32em; margin: 0 auto 28px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .about-grid { grid-template-columns: 280px 1fr; }
  .stats { grid-column: 1 / -1; border-left: 0; padding-left: 0; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); padding-top: 28px; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .step:nth-child(2)::after { display: none; }
  .site-footer .wrap { grid-template-columns: 1fr; gap: 20px; }
  .foot-nav, .foot-legal { border-left: 0; padding-left: 0; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 22px; border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(11,31,68,.1); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a.btn { margin-top: 16px; justify-content: center; }
  .features { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .feature:nth-child(3) { border-left: 0; }
  .help-strip { grid-template-columns: 1fr; padding: 26px 22px; }
  .mini-steps { grid-template-columns: 1fr; gap: 20px; }
  .mini-step:not(:last-child)::after { display: none; }
  .card-grid { grid-template-columns: 1fr; }
  .approach { grid-template-columns: 1fr; gap: 28px; }
  .approach .divider { display: none; }
  .choice { grid-template-columns: 1fr; }
  .choice-img { min-height: 180px; }
  .choice-body > div { padding-left: 22px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .assure .wrap { grid-template-columns: 1fr; gap: 22px; }
  .assure-item + .assure-item { border-left: 0; }
  .hero::after { background: linear-gradient(90deg, var(--navy) 0%, rgba(11,31,68,.88) 55%, rgba(11,31,68,.55) 100%); }
}
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  .site-header .wrap { min-height: 72px; }
  .logo img { height: 48px; }
  .eyebrow { letter-spacing: .28em; font-size: .78rem; }
  .hero .wrap { padding-bottom: 100px; }
  .features { grid-template-columns: 1fr; }
  .feature + .feature { border-left: 0; border-top: 1px solid var(--line); padding-top: 22px; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
  .stats { grid-template-columns: 1fr; }
  .band { flex-direction: column; text-align: center; padding: 24px 20px; }
  .band .band-text { border-left: 0; padding-left: 0; }
  .service-card, .legal-item, .contact-card { flex-direction: column; align-items: flex-start; }
  .service-card .body, .legal-item .body { border-left: 0; padding-left: 0; border-top: 2px solid var(--red); padding-top: 14px; }
  .process { grid-template-columns: 1fr; }
  .step::after { display: none !important; }
  .section-head .eyebrow::before, .section-head .eyebrow::after { display: none; }
  .form-card { padding: 22px 18px; }
  .cta h2 { font-size: 1.9rem; }
}

/* ---------- About: credentials (BrokerCheck) ---------- */
.about-sub { padding: 8px 0 0; }
.snapshot { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 0 8px; }
.snap { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 22px 20px; text-align: center; box-shadow: 0 2px 10px rgba(11,31,68,.04); }
.snap strong { display: block; font-family: var(--serif); font-size: 2.3rem; line-height: 1; color: var(--red); margin-bottom: 8px; }
.snap span { font-size: .95rem; color: var(--muted); line-height: 1.35; display: block; }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 148px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 132px 1fr; gap: 36px; position: relative; padding: 0 0 26px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 141px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--red); }
.tl-item.current::before { background: var(--red); box-shadow: 0 0 0 5px var(--red-tint); }
.tl-date { font-weight: 600; font-size: .92rem; color: var(--navy); text-align: right; padding-top: 3px; }
.tl-body h3 { font-size: 1.3rem; margin: 0 0 .15em; }
.tl-body p { margin: 0; color: var(--muted); font-size: .96rem; }
.tl-tag { display: inline-block; margin-left: 8px; vertical-align: middle; background: var(--red-tint); color: var(--red-dark); font: 700 .68rem var(--sans); letter-spacing: .08em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; }

.exam-group + .exam-group { margin-top: 34px; }
.exam-group > h3 { font-size: 1.15rem; letter-spacing: .02em; color: var(--muted); font-family: var(--sans); font-weight: 600; text-transform: uppercase; font-size: .82rem; letter-spacing: .14em; margin-bottom: 14px; }
.exam-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.exam { background: linear-gradient(180deg, #fff, #fafbfd); border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 12px; padding: 18px 20px 20px; box-shadow: 0 2px 10px rgba(11,31,68,.04); }
.exam .code { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--navy); line-height: 1.1; }
.exam h4 { font-family: var(--sans); font-size: .98rem; font-weight: 600; color: var(--ink); margin: 6px 0 12px; line-height: 1.35; }
.exam .meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 10px; }
.exam .meta time { font-weight: 600; color: var(--navy); }

.reg-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.reg-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.reg-item .icon { width: 26px; height: 26px; color: var(--red); margin-top: 2px; }
.reg-item h3 { font-size: 1.08rem; margin: 0 0 .1em; }
.reg-item p { margin: 0; font-size: .92rem; color: var(--muted); line-height: 1.45; }

.report-card { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: linear-gradient(120deg, var(--navy) 0%, #14306a 100%); color: #fff; border-radius: 20px; padding: 32px 38px; box-shadow: var(--shadow); }
.report-card > .icon { width: 68px; height: 68px; color: #ff7d86; stroke-width: 1.4; }
.report-card h2 { color: #fff; font-size: 1.9rem; margin: 0 0 .2em; }
.report-card p { margin: 0; color: #dbe4f5; max-width: 42em; font-size: 1rem; }
.report-card .file-note { display: block; margin-top: 8px; font-size: .84rem; color: #aab8d6; }
.report-card .btn-white { white-space: nowrap; padding: 14px 26px; font-size: 1.02rem; }
.source-note { font-size: .86rem; color: var(--muted); text-align: center; max-width: 48em; margin: 22px auto 0; }
.source-note a { color: var(--red); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.about-section { padding: 56px 0 8px; }
.about-section:last-of-type { padding-bottom: 64px; }
.btn-ghost { color: var(--navy); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--red); color: var(--red); }
.copy-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }

@media (max-width: 1100px) {
  .snapshot { grid-template-columns: repeat(2, 1fr); }
  .exam-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .reg-list { grid-template-columns: 1fr; }
  .report-card { grid-template-columns: 1fr; text-align: left; padding: 26px 22px; gap: 18px; }
  .report-card > .icon { width: 52px; height: 52px; }
}
@media (max-width: 640px) {
  .snapshot { grid-template-columns: 1fr 1fr; gap: 12px; }
  .snap strong { font-size: 1.9rem; }
  .exam-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 7px; }
  .tl-item { grid-template-columns: 1fr; gap: 4px; padding-left: 32px; }
  .tl-item::before { left: 0; }
  .tl-date { text-align: left; order: -1; }
}
@media print { .site-header, .site-footer, .hero-curve, .report-card .btn { display: none; } }

.about-photo { margin: 0 0 8px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); position: relative; }
.about-photo img { width: 100%; max-height: 520px; object-fit: cover; object-position: center 60%; display: block; }
.about-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 24px 16px; color: #fff; font-size: .95rem; background: linear-gradient(0deg, rgba(11,31,68,.85), rgba(11,31,68,0)); }
