/* Agent site — Design 3 "Signature": midnight navy, warm gold, ivory; Cormorant Garamond + Manrope + Allura. */
:root {
    --night: #0e1a2b;
    --night-2: #15253b;
    --gold: #c9a35a;
    --gold-lt: #e3c993;
    --ivory: #f8f4ec;
    --ink: #1b2433;
    --muted: #5d6676;
    --line: #e5dfd2;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Manrope', system-ui, sans-serif;
    --script: 'Allura', cursive;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.7 var(--sans); color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.8rem, 5.6vw, 4.8rem); color: #fff; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--gold-lt); }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.icon { width: 1.1em; height: 1.1em; flex: none; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2em; }
.lead { font-size: 1.12rem; }
.signature { font-family: var(--script); font-size: 2.6rem; line-height: 1; color: var(--gold-lt); }

.btn { display: inline-flex; align-items: center; gap: .6em; padding: 1em 1.8em; font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background .25s, color .25s; }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.btn-gold { background: var(--gold); color: var(--night); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-line { border-color: rgba(201, 163, 90, .6); color: var(--gold-lt); }
.btn-line:hover { background: var(--gold); color: var(--night); }
.btn-sm { padding: .6em 1.2em; font-size: .78rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5em; color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .35); padding-bottom: .15em; }
.link-arrow:hover { border-color: var(--gold); color: var(--gold-lt); }

/* Header */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 1rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: #fff; }
.brand-sub { font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.brand-agent { font-family: var(--script); font-size: 1.75rem; line-height: .9; color: var(--gold-lt); margin-top: .15rem; }
.nav-links { display: flex; align-items: center; gap: 2.2rem; }
.nav-links a:not(.btn) { color: #d7dce5; text-decoration: none; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.nav-links a:not(.btn):hover { color: var(--gold-lt); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: #fff; margin: 6px 0; }

/* Hero */
.hero { background: radial-gradient(900px 600px at 80% 30%, #1f3553 0%, transparent 70%), var(--night); color: #c5cdd9; padding: 170px 0 110px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.window { display: flex; flex-wrap: wrap; align-items: center; gap: .3em .7em; font-size: .9rem; font-weight: 600; color: var(--gold-lt); margin-bottom: 1.8rem; }
.window em { font-style: normal; font-weight: 400; color: #9aa6b8; }
.rule { width: 40px; height: 1px; background: var(--gold); }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1.8rem; margin: 2.2rem 0 3rem; }
.hero-facts { display: flex; gap: 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1.6rem; }
.hero-facts div { flex: 1; padding-right: 1.2rem; }
.hero-facts div + div { padding-left: 1.4rem; border-left: 1px solid rgba(255, 255, 255, .12); }
.hero-facts dt { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: #fff; line-height: 1; }
.hero-facts dd { margin: .3em 0 0; font-size: .85rem; letter-spacing: .06em; color: #9aa6b8; }

.portrait { position: relative; margin: 0; }
.portrait-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--photo-pos, 50% 50%); filter: saturate(.95); }
.portrait::before { content: ""; position: absolute; inset: -20px 20px 20px -20px; border: 1px solid var(--gold); pointer-events: none; }
.portrait figcaption { position: absolute; left: -2.2rem; bottom: -1.6rem; background: var(--night); padding: 1rem 1.6rem 1.1rem; border-left: 2px solid var(--gold); }
.sig-title { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: #9aa6b8; margin-top: .3em; }

/* TPMO */
.tpmo { background: var(--night-2); color: #b9c3d1; border-top: 1px solid rgba(201, 163, 90, .25); }
.tpmo p { margin: 0; padding: 1.1rem 0; font-size: .88rem; text-align: center; }

/* Sections */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-head { max-width: 680px; margin-bottom: 3.2rem; }
.section-dark { background: var(--night); color: #c5cdd9; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-ivory { background: var(--ivory); }

.service-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.service { padding: 2.2rem 2rem 2.4rem 0; border-bottom: 1px solid var(--line); }
.service:not(:nth-child(3n + 1)) { padding-left: 2rem; border-left: 1px solid var(--line); }
.service-num { display: block; font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold); margin-bottom: .6rem; }
.service p { color: var(--muted); font-size: 1rem; margin: 0; }

.approach-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.approach-photo { position: relative; }
.approach-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: var(--photo-pos, 50% 50%); }
.approach-photo::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(201, 163, 90, .5); outline: 1px solid rgba(201, 163, 90, .35); outline-offset: 14px; pointer-events: none; }
.steps { list-style: none; margin: 2rem 0 0; padding: 0; }
.steps li { display: flex; gap: 1.6rem; padding: 1.4rem 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.steps h3 { font-size: 1.45rem; margin-bottom: .2em; }
.steps p { margin: 0; font-size: 1rem; }
.step-num { flex: none; width: 48px; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold); }

.quote { background: linear-gradient(rgba(14, 26, 43, .82), rgba(14, 26, 43, .82)), var(--quote-photo) var(--photo-pos, 50% 30%) / cover; padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 900px; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.3; color: #fff; }
.quote .signature { font-size: 3.2rem; }

.periods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }
.period { background: #fff; padding: 2rem 1.6rem; border-top: 2px solid var(--gold); box-shadow: 0 20px 40px -32px rgba(14, 26, 43, .5); }
.period-abbr { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; color: var(--night); line-height: 1; margin-bottom: .4em; }
.period h3 { font-size: 1.3rem; }
.period .when { font-weight: 700; font-size: .95rem; color: #9a7a3a; margin-bottom: .5em; }
.period p:last-child { color: var(--muted); font-size: .98rem; margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.contact .lead { color: var(--muted); margin-bottom: 2rem; }
.contact .btn-gold { background: var(--night); color: var(--gold-lt); }
.contact .btn-gold:hover { background: var(--night-2); }
.contact-dl { margin: 0; border-top: 1px solid var(--line); }
.contact-dl div { display: grid; grid-template-columns: 120px 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.contact-dl dt { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: #9a7a3a; font-weight: 700; padding-top: .3em; }
.contact-dl dd { margin: 0; font-weight: 600; }
.contact-dl dd span { font-weight: 400; color: var(--muted); font-size: .95rem; }
.contact-dl a { text-decoration: none; border-bottom: 1px solid var(--gold); }

/* Footer / compliance */
.footer { background: var(--night); color: #95a1b3; padding: 3.5rem 0 4rem; }
.footer-brand { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; padding-bottom: 1.6rem; margin-bottom: 1.8rem; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.legal { font-size: .88rem; max-width: 960px; }
.legal p { margin: 0 0 .9em; }
.legal-tpmo { color: #e4e8ee; font-weight: 600; }
.legal a { color: var(--gold-lt); }

@media (max-width: 1000px) {
    .nav-toggle { display: block; }
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1.2rem; padding: 1.6rem 24px 2rem; background: var(--night); border-bottom: 1px solid rgba(201, 163, 90, .3); }
    .nav-links.open { display: flex; }
    .hero { padding-top: 140px; }
    .hero-grid, .approach-grid, .contact-grid { grid-template-columns: 1fr; }
    .portrait { order: -1; max-width: 380px; width: 82%; margin: 0 auto 2.5rem; }
    .portrait figcaption { left: 0; }
    .service-list { grid-template-columns: 1fr 1fr; }
    .service, .service:not(:nth-child(3n + 1)) { padding: 2rem 1.6rem 2rem 0; border-left: 0; }
    .service:nth-child(even) { padding-left: 1.6rem; border-left: 1px solid var(--line); }
    .periods { grid-template-columns: 1fr 1fr; }
    .approach-photo { max-width: 420px; }
}
@media (max-width: 620px) {
    body { font-size: 17px; }
    .service-list, .periods { grid-template-columns: 1fr; }
    .service:nth-child(even) { padding-left: 0; border-left: 0; }
    .hero-facts { flex-wrap: wrap; gap: 1rem; }
    .portrait::before { display: none; }
    .contact-dl div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---- Mobile polish ---- */
:root { --m-bar-bg: rgba(14, 26, 43, .94); --m-bar-fg: #e3c993; --m-call-bg: #c9a35a; --m-call-fg: #0e1a2b; --m-menu-bg: #0e1a2b; --m-menu-fg: #fff; --m-line: rgba(255, 255, 255, .12); }
@media (max-width: 1000px) {
    .header { position: sticky; top: 0; background: rgba(14, 26, 43, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
    .nav { min-height: 72px; }
    .hero { padding-top: 2.2rem; }
}
@media (max-width: 620px) {
    .portrait figcaption { padding: .7rem 1.1rem .8rem; bottom: -1.2rem; }
    .portrait .signature { font-size: 2.1rem; }
    .sig-title { display: none; }
    .hero-cta { gap: 1rem; }
    .hero-cta .btn { width: 100%; justify-content: center; }
    .link-arrow { padding: .7em 0; }
    .contact .btn-gold { width: 100%; justify-content: center; }
}
