/* ==========================================================================
   Southeast Insurance, v3 styles
   Same colors and Playfair Display headings as v2; body text is Jost. Layout, scale and details rebuilt around the
   logo's eight-point star and the black-and-gold lobby.
   ========================================================================== */
:root {
  --cream: #F5F0E6; --ink: #121212; --brown: #453113; --gold: #CBA667;
  --gold-text: #7A5D28;  /* gold for text on light backgrounds */
  --gold-light: #d8b87e; --text: #2a2418; --white: #FFFFFF;
  --cream-muted: rgba(245, 240, 230, 0.85);
  --line: rgba(69, 49, 19, 0.18); --gold-line: rgba(203, 166, 103, 0.45);
  --serif-display: 'Playfair Display', Georgia, serif;
  --sans-body: 'Jost', 'Century Gothic', Futura, sans-serif;
  --gutter: clamp(22px, 5vw, 72px);
  --max: 1360px;
  --edge: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter)));
  --section-y: clamp(72px, 9vw, 136px);
  --gap: clamp(40px, 6vw, 96px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 18.5px/1.6 var(--sans-body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--brown); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-family: var(--serif-display); font-weight: 400; text-wrap: balance; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.section--ink :focus-visible, .panel--ink :focus-visible, .hero--ink :focus-visible, .site-footer :focus-visible, .stat-band :focus-visible, .skip-link:focus-visible { outline-color: var(--gold); }
.form :focus-visible { outline-color: var(--ink); }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ink); color: var(--gold); padding: 12px 20px; }
.skip-link:focus { left: 12px; top: 12px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* ---------- Layout ---------- */
.container { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--center { text-align: center; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; }
.split--7-5 { grid-template-columns: 7fr 5fr; }
.split--5-7 { grid-template-columns: 5fr 7fr; }
.split--6-5 { grid-template-columns: 6fr 5fr; }
.split--5-6 { grid-template-columns: 5fr 7fr; align-items: start; }
.split > *, .rows > *, .ledger > * { min-width: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4vw, 64px); }

/* ---------- Type ---------- */
.display { font-size: clamp(42px, 5.4vw, 80px); line-height: 1.06; letter-spacing: -0.012em; margin-bottom: 28px; }
.h2 { font-size: clamp(34px, 3.9vw, 56px); line-height: 1.12; letter-spacing: -0.008em; margin-bottom: 28px; }
.h2--spaced { margin-bottom: clamp(40px, 5vw, 72px); max-width: 24ch; }
.h3 { font-size: clamp(25px, 2vw, 30px); line-height: 1.2; margin-bottom: 12px; }
.lead { font-size: clamp(19.5px, 1.5vw, 22px); line-height: 1.55; color: var(--text); max-width: 46ch; }
.body { line-height: 1.6; color: var(--text); max-width: 64ch; }
.body + .body { margin-top: 20px; }
.body--last { margin-bottom: 32px; }
.stack > * + * { margin-top: 22px; }
.strong { font-family: var(--serif-display); font-weight: 600; color: inherit; }
.eyebrow { font-family: var(--serif-display); font-size: 15px; line-height: 1.5; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 20px; }
.section--ink .eyebrow, .hero--ink .eyebrow, .stat-band .eyebrow { color: var(--gold); }
.eyebrow--small { font-size: 14px; }
.caption { font-size: 17px; font-style: italic; color: var(--brown); margin-top: 18px; }
main p a:not(.btn), .details a, .contact__phone a, .cta-row__note a { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 5px; }

/* ---------- Buttons and links ---------- */
.btn { display: inline-block; padding: 17px 36px; background: var(--ink); color: var(--gold); border: 1px solid var(--ink); font: 18px/1.3 var(--serif-display); letter-spacing: 0.03em; text-align: center; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.btn:hover { background: var(--brown); border-color: var(--brown); color: var(--gold-light); }
.btn--small { padding: 12px 26px; font-size: 16px; }
.btn--gold, .hero--ink .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn--gold:hover, .hero--ink .btn:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.btn--outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn--outline:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.form .btn { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.form .btn:hover { background: var(--brown); border-color: var(--brown); color: var(--gold-light); }
.link-arrow { font-family: var(--serif-display); font-size: 19px; padding-bottom: 5px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 100% 1px no-repeat; transition: background-size .35s; }
.link-arrow:hover { background-size: 35% 1px; }
.link-arrow--gold, .link-arrow--gold:hover { color: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; margin-top: 40px; }
.cta-row--center { justify-content: center; }
.cta-row__note { color: var(--brown); }
.hero--ink .cta-row__note { color: var(--cream-muted); }
.hero--ink .strong, .hero--ink .strong:hover { color: var(--gold); }

/* ---------- Ornament ---------- */
.diamond { display: inline-block; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.diamond-mark { display: none; }
.diamond-list { display: grid; gap: 14px; color: var(--text); }
.diamond-list li { position: relative; padding-left: 26px; }
.diamond-list li::before { content: ''; position: absolute; left: 2px; top: .56em; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); }
/* Double keyline frame, after the nested lines in the logo */
.frame { position: relative; padding: 14px; border: 1px solid var(--gold); }
.frame img { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--cream); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding-block: 12px; }
.site-header__logo img { width: 72px; height: 72px; }
.site-nav { display: flex; align-items: center; gap: clamp(22px, 2.6vw, 40px); font-size: 17px; }
.site-nav a:not(.btn) { padding-block: 6px; background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 1px no-repeat; transition: background-size .3s; }
.site-nav a:not(.btn):hover, .site-nav a[aria-current="page"] { color: var(--ink); background-size: 100% 1px; }
.site-nav .btn { color: var(--gold); }
.header-call, .nav-toggle { display: none; }
.nav-toggle { background: none; border: 0; padding: 10px; min-width: 46px; min-height: 46px; cursor: pointer; color: var(--ink); }
.nav-toggle__bar { display: block; width: 26px; height: 2px; background: currentColor; margin: 6px 0; transition: transform .2s, opacity .2s; }
.nav-open .nav-toggle__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Heroes ---------- */
.hero { padding-inline: var(--edge); padding-block: clamp(56px, 7vw, 112px); }
.hero--ink { background: var(--ink); color: var(--cream); }
.hero--ink .lead { color: var(--cream-muted); }
/* photo runs to the right edge of the window */
.hero--bleed { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); gap: clamp(36px, 4vw, 72px); padding-block: 0; padding-right: 0; min-height: min(740px, calc(100vh - 97px)); }
.hero--bleed .hero__text { align-self: center; padding-block: 64px; }
.hero--bleed .display { font-size: clamp(42px, 4.9vw, 76px); }
.hero--bleed .hero__media { position: relative; min-height: 420px; }
.hero--bleed .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--bleed .hero__media::after { content: ''; position: absolute; inset: 20px; border: 1px solid var(--gold); pointer-events: none; }
.hero--bleed figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
/* framed portrait */
.hero--framed { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: center; }
.hero--framed .hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero__cutout { background: rgba(203, 166, 103, 0.28); padding-top: 36px; }
.hero__cutout img { object-fit: contain !important; object-position: 50% 100%; }
/* text only, star behind */
.hero--plain { background: var(--ink) url(../images/star.svg) no-repeat right calc(var(--edge) - 60px) center / clamp(320px, 38vw, 560px); }
.hero--plain .display { max-width: 15ch; }
.hero--plain .lead { max-width: 40ch; }
.hero--plain .diamond-list { color: var(--cream); margin-top: 32px; }
.hero--plain .diamond-list a { color: var(--cream); }
.hero--plain .prose__meta { color: var(--cream-muted); }

/* ---------- Figures strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__list li { padding: 40px clamp(18px, 2vw, 32px); border-left: 1px solid var(--line); font-size: 18px; line-height: 1.35; color: var(--brown); }
.trust__list li:first-child { border-left: 0; padding-left: 0; }
.trust__list strong, .highlights strong { display: block; font: 400 clamp(34px, 3.2vw, 46px)/1.1 var(--serif-display); font-variant-numeric: lining-nums; color: var(--ink); margin-bottom: 8px; }

/* ---------- Rows: heading at left, ruled rows at right ---------- */
.rows { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: start; }
.rows__head { position: sticky; top: 150px; }
.rows__head .h2 { margin: 0; }
.row { display: grid; grid-template-columns: 90px 1fr; padding-block: 36px; border-top: 1px solid var(--gold); }
.row:last-child { border-bottom: 1px solid var(--gold); }
.row p { color: var(--text); max-width: 54ch; }
.row__num { font: 400 46px/1 var(--serif-display); font-variant-numeric: lining-nums; color: var(--gold-text); }
.rows--plain .row { display: block; padding-block: 30px; }

/* ---------- Ruled grid ---------- */
.cells { display: grid; grid-template-columns: repeat(6, 1fr); border: 1px solid var(--line); background: var(--white); }
.cells > * { grid-column: span 2; padding: clamp(28px, 3vw, 44px); border: 0 solid var(--line); box-shadow: 0 0 0 .5px var(--line); }
.cells--5 > :nth-child(n+4) { grid-column: span 3; }
.cells p { color: var(--text); }
.cells .cell--ink { background: var(--ink); }
.cell--ink .h3 { color: var(--gold); }
.cells .cell--ink p, .cell--ink a, .cell--ink a:hover { color: var(--cream); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; padding: 44px 40px 0 0; border-top: 1px solid var(--gold); }
.step::before { content: ''; position: absolute; top: -7px; left: 0; width: 13px; height: 13px; background: var(--gold); transform: rotate(45deg); }
.step p { color: var(--text); max-width: 34ch; }

/* ---------- Quote ---------- */
.quote-band { background: var(--ink) url(../images/star.svg) no-repeat center / min(620px, 120vw); }
.quote { font: italic 400 clamp(32px, 4.2vw, 60px)/1.25 var(--serif-display); color: var(--gold); max-width: 21ch; margin: 0 auto; text-wrap: balance; }
.quote--small { font-size: clamp(25px, 2.7vw, 38px); line-height: 1.4; max-width: 36ch; }
.quote-label { font-size: 16px; letter-spacing: .16em; text-transform: uppercase; color: var(--cream); margin-bottom: 28px; }
.quote-light .quote { color: var(--brown); }
.quote-light .quote-label { color: var(--gold-text); }
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; }

/* ---------- Where we serve ---------- */
.markets { padding-block: clamp(56px, 6vw, 88px); text-align: center; }
.markets__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; font: clamp(27px, 3vw, 42px)/1.3 var(--serif-display); }
.markets__list li { display: flex; align-items: center; gap: 28px; }
.markets__list li + li::before { content: ''; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.markets__more { display: block; margin-top: 14px; font-style: italic; font-size: 22px; color: var(--brown); }

/* ---------- Panels ---------- */
.panel { background: var(--white); border: 1px solid var(--line); padding: clamp(32px, 4vw, 56px); }
.panel--cream { background: var(--cream); }
.panel--ink { background: var(--ink); color: var(--cream); }
.panel--ink .h3 { color: var(--gold); }
.panel--ink .body, .panel--ink .diamond-list { color: var(--cream); }
.panel__rule { width: 48px; height: 1px; background: var(--gold); margin: 20px 0 26px; }
.doors { display: grid; grid-template-columns: 1fr 1fr; }
.doors .panel { border: 0; display: flex; flex-direction: column; align-items: flex-start; padding-block: clamp(56px, 6vw, 96px); }
.doors .panel:first-child { padding-left: var(--edge); padding-right: var(--gap); }
.doors .panel:last-child { padding-right: var(--edge); padding-left: var(--gap); }
.doors .h3 { font-size: clamp(32px, 3.2vw, 46px); margin: 0; }
.doors .body { margin-bottom: 28px; max-width: 40ch; }
.doors .diamond-list { margin-bottom: 40px; }
.doors .link-arrow { margin-top: auto; }
.lead-in { padding-bottom: clamp(40px, 5vw, 72px); }
.lead-in .h2 { margin: 0; max-width: 22ch; }

/* ---------- Photos ---------- */
.photo-tall { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pos-12 { object-position: 50% 12%; } .pos-15 { object-position: 50% 15%; }
.pos-20 { object-position: 50% 20%; } .pos-30 { object-position: 50% 30%; }
.heading-row { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gap); align-items: end; margin-bottom: clamp(40px, 4vw, 64px); }
.heading-row .h2 { margin: 0; }
.heading-row p { color: var(--text); }
.mosaic { display: grid; grid-template-columns: 7fr 5fr; grid-template-rows: repeat(2, clamp(200px, 23vw, 330px)); gap: 16px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; }
.mosaic img:first-child { grid-row: span 2; }

/* ---------- About ---------- */
.highlights { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--gold); margin-bottom: clamp(48px, 6vw, 88px); }
.highlights li { padding: 32px clamp(18px, 2.5vw, 40px); border-left: 1px solid var(--line); color: var(--brown); }
.highlights li:first-child { border: 0; padding-left: 0; }
.bio { color: var(--text); line-height: 1.65; }
.bio > p:first-child { font-size: 21px; line-height: 1.55; }
.more summary { cursor: pointer; font: 19px var(--serif-display); color: var(--brown); padding-block: 8px; }
.more .stack { margin-top: 14px; }
.carriers { display: flex; flex-wrap: wrap; gap: 10px 32px; font: 21px var(--serif-display); color: var(--ink); margin-top: 0 !important; }
.bio .eyebrow { margin: 44px 0 14px; padding-top: 32px; border-top: 1px solid var(--line); }
.plaque { border: 1px solid var(--gold); outline: 1px solid var(--gold-line); outline-offset: -10px; padding: clamp(36px, 4vw, 56px); text-align: center; }
.plaque .h3 { color: var(--gold); }
.plaque p { color: var(--cream-muted); }
.rule-card__meta { font-style: italic; color: var(--cream); margin-bottom: 18px; }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 44px 24px; }
.team-grid li { width: calc((100% - 96px) / 5); }
.team-grid__photo { overflow: hidden; }
.team-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; transition: transform .6s; }
.team-grid li:hover img { transform: scale(1.03); }
.team-grid__name { font: 23px/1.25 var(--serif-display); margin-top: 18px; }
.team-grid__role { font-size: 16.5px; line-height: 1.35; color: var(--brown); }

/* ---------- Employers ---------- */
.stat-band { background: var(--ink); color: var(--cream); padding-block: clamp(64px, 7vw, 112px); }
.stat__number { font: 400 clamp(64px, 8.6vw, 132px)/1 var(--serif-display); font-variant-numeric: lining-nums; color: var(--gold); white-space: nowrap; }
.stat__label { font: italic 24px var(--serif-display); margin-top: 20px; }
.stat-copy { font-size: clamp(22px, 2vw, 28px); line-height: 1.45; }
.stat-copy .strong { color: var(--gold); }

/* ---------- Community ---------- */
.feature .split { align-items: start; }
.feature-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature .body { margin-bottom: 8px; }
.feature .diamond-list { gap: 0; margin-top: 28px; }
.feature .diamond-list li { padding: 20px 0; border-top: 1px solid var(--line); }
.feature .diamond-list li::before { display: none; }
.feature .diamond-list strong { display: block; font: 500 22px/1.3 var(--serif-display); color: var(--ink); margin-bottom: 4px; }
.feature__num { font: 400 clamp(56px, 6vw, 88px)/1 var(--serif-display); font-variant-numeric: lining-nums; color: var(--gold-text); margin-bottom: 20px; }
/* stands in until the client supplies a photo */
.photo-standin { aspect-ratio: 4 / 5; background: var(--ink) url(../images/star-bright.svg) no-repeat center / 62%; }

/* ---------- Contact and form ---------- */
.contact .h2 { color: var(--cream); }
.contact .body { color: var(--cream-muted); margin-bottom: 28px; max-width: 38ch; }
.contact__phone { color: var(--cream-muted); }
.contact__phone a, .contact__phone a:hover { display: inline-block; font: 600 clamp(28px, 2.6vw, 36px) var(--serif-display); font-variant-numeric: lining-nums; color: var(--gold); }
.contact--cta .container > * { margin-inline: auto; }
.contact--cta { background: var(--ink) url(../images/star.svg) no-repeat center / min(620px, 120vw); }
.contact--cta .h2 { font-size: clamp(38px, 5vw, 72px); }
.contact--cta .body { font-size: 22px; max-width: 46ch; }
.contact--bordered { border: 0; }
.form { background: var(--cream); color: var(--text); padding: clamp(26px, 4vw, 56px); display: grid; gap: 24px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form label { display: grid; gap: 8px; font: 500 17px var(--serif-display); color: var(--brown); align-content: start; }
.form input, .form select, .form textarea { width: 100%; min-height: 54px; padding: 12px 14px; background: var(--white); color: var(--ink); border: 1px solid rgba(69, 49, 19, .6); border-radius: 0; font: 19px var(--sans-body); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--ink); }
.form textarea { resize: vertical; min-height: 120px; }
.form .btn { justify-self: start; }
.form__note { font-size: 17px; color: var(--brown); }
.form__req { color: var(--gold-text); }
.hp-field { display: none; }
.details { display: grid; }
.details dt { font: 16px var(--serif-display); color: var(--gold-text); padding-top: 18px; border-top: 1px solid var(--line); }
.details dt:first-child { border: 0; padding-top: 0; }
.details dd { padding-bottom: 18px; font-size: 21px; overflow-wrap: anywhere; }
.details dd:last-child { padding: 0; }

/* ---------- Legal pages ---------- */
.prose { max-width: 720px; margin-inline: auto; }
.prose h2 { font-size: 30px; line-height: 1.25; margin: 48px 0 14px; }
.prose p, .prose li { line-height: 1.65; color: var(--text); }
.prose p + p { margin-top: 16px; }
.prose ul { list-style: disc; padding-left: 1.2em; margin: 14px 0; }
.container.prose { max-width: calc(760px + 2 * var(--gutter)); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream-muted); padding-block: 0 40px; }
.site-footer > .container::before { content: ''; display: block; height: 5px; border-block: 1px solid var(--gold); margin-bottom: 72px; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--gold); }
.site-footer__top { display: grid; grid-template-columns: 5fr 7fr; gap: var(--gap); }
.site-footer__logo { width: 150px; height: 150px; margin-bottom: 20px; }
.site-footer__tagline { font: italic 24px/1.35 var(--serif-display); color: var(--gold); }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 40px; font-size: 17px; }
.site-footer__col { display: grid; gap: 10px; align-content: start; font-style: normal; }
.site-footer__heading { font: 19px var(--serif-display); color: var(--gold); margin-bottom: 8px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 72px; padding-top: 26px; border-top: 1px solid var(--gold-line); font-size: 17px; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.site-footer__legal { margin-top: 16px; font-size: 16px; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 16px; background: var(--cream); border-bottom: 1px solid var(--gold); padding: 24px var(--gutter) 32px; font-size: 22px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .nav-open .site-nav { display: flex; }
  .header-call { display: inline-flex; align-items: center; min-height: 46px; margin: 0 10px 0 auto; padding: 0 22px; background: var(--ink); color: var(--gold); font-family: var(--serif-display); }
  .header-call:hover { background: var(--brown); color: var(--gold); }
  .site-header__logo img { width: 60px; height: 60px; }
  .team-grid li { width: calc((100% - 72px) / 4); }
  .trust__list { grid-template-columns: 1fr 1fr; padding-block: 12px; }
  .trust__list li { padding: 24px 24px 24px 0; border: 0; }
}
@media (max-width: 900px) {
  .split, .split--7-5, .split--5-7, .split--6-5, .split--5-6, .rows, .heading-row, .site-footer__top, .hero--framed, .doors { grid-template-columns: minmax(0, 1fr); }
  .rows__head { position: static; }
  .hero--bleed { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0; min-height: 0; }
  .hero--bleed .hero__text { padding: 60px var(--gutter) 52px; }
  .hero--bleed .hero__media { min-height: 0; aspect-ratio: 3 / 2; }
  .hero--bleed .hero__media::after { inset: 12px; }
  .hero--framed .hero__media { max-width: 520px; }
  .split--media-first > :first-child { order: 2; }
  .feature .split > .feature-photo, .feature .split > .photo-standin { order: -1; aspect-ratio: 3 / 2; }
  .grid-3, .steps { grid-template-columns: 1fr; gap: 32px; }
  .step { padding-top: 32px; }
  .cells, .cells--5 { grid-template-columns: 1fr 1fr; }
  .cells > *, .cells--5 > :nth-child(n+4) { grid-column: auto; }
  .cells--5 > :last-child { grid-column: 1 / -1; }
  .doors .panel:first-child, .doors .panel:last-child { padding-inline: var(--gutter); }
  .hero--plain { background-position: right -140px center; }
  .site-footer > .container::before { margin-bottom: 52px; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 80px; }
  .row { grid-template-columns: 58px 1fr; padding-block: 28px; }
  .row__num { font-size: 38px; }
  .cells, .cells--5, .form__row, .highlights { grid-template-columns: 1fr; }
  .cells--5 > :last-child { grid-column: auto; }
  .highlights li { border-left: 0; padding: 20px 0; border-top: 1px solid var(--line); }
  .trust__list li { padding: 18px 16px 18px 0; font-size: 17px; }
  .team-grid { gap: 32px 16px; }
  .team-grid li { width: calc((100% - 16px) / 2); }
  .team-grid__name { font-size: 21px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 190px; gap: 10px; }
  .mosaic img:first-child { grid-row: auto; grid-column: 1 / -1; }
  .site-footer__cols { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; }
  .markets__list { flex-direction: column; align-items: center; }
  .markets__list li + li::before { display: none; }
  .btn { padding-inline: 28px; }
}

/* ---------- Star ornament sits at the edges so lines never cross text ---------- */
.quote-band, .contact--cta { background: url(../images/star.svg) no-repeat left -330px center / 620px, url(../images/star.svg) no-repeat right -330px center / 620px, var(--ink); }
.hero__text .eyebrow { text-wrap: balance; }
.mosaic { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; gap: 20px; }
.mosaic img, .mosaic img:first-child { grid-row: auto; aspect-ratio: 4 / 5; height: auto; }
@media (max-width: 1250px) { .quote-band, .contact--cta { background-position: left -480px center, right -480px center; } }
@media (max-width: 900px) {
  .quote-band, .contact--cta { background: var(--ink); }
  .hero--plain { background-image: none; }
}
@media (max-width: 600px) {
  .mosaic { grid-template-columns: 1fr 1fr; gap: 10px; }
  .mosaic img:first-child { aspect-ratio: 4 / 3; }
}

/* ---------- Phone button in contact sections ---------- */
.contact__phone .btn--phone, .contact__phone .btn--phone:hover {
  display: inline-block; font: 600 clamp(20px, 1.7vw, 23px)/1.3 var(--serif-display);
  font-variant-numeric: lining-nums; letter-spacing: 0.04em; text-decoration: none;
  padding: 18px 34px; color: var(--ink);
}
.contact__phone .btn--phone:hover { background: var(--cream); border-color: var(--cream); }

/* ---------- "Your account manager handles" card (Employers) ----------
   Certificate-style card: double gold keyline, star crest, ruled rows
   with drawn line icons in place of bullets. */
.duty-card {
  position: relative; background: var(--cream); border: 1px solid var(--gold);
  outline: 1px solid var(--gold-line); outline-offset: -12px;
  padding: clamp(40px, 4.5vw, 64px) clamp(30px, 4vw, 60px) clamp(32px, 3.5vw, 48px);
  box-shadow: 0 24px 50px -32px rgba(69, 49, 19, .35);
}
.duty-card::before, .duty-card::after {
  content: ''; position: absolute; top: 50%; width: 9px; height: 9px;
  background: var(--gold); transform: translateY(-50%) rotate(45deg);
}
.duty-card::before { left: -5px; } .duty-card::after { right: -5px; }
.duty-card__head { text-align: center; margin-bottom: clamp(20px, 2.5vw, 32px); }
.duty-card__star { display: block; width: 46px; height: 46px; margin: 0 auto 14px; background: url(../images/star-bright.svg) no-repeat center / contain; }
.duty-card__title { font: 15px/1.5 var(--serif-display); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.duty-card__title::after { content: ''; display: block; width: 40px; height: 1px; background: var(--gold); margin: 16px auto 0; }
.duty-list li {
  display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: center;
  padding-block: 22px; border-top: 1px solid var(--line);
  font: clamp(20px, 1.6vw, 23px)/1.35 var(--serif-display); color: var(--ink);
}
.duty-list li:first-child { border-top: 0; }
.duty-icon {
  position: static; width: 52px; height: 52px; padding: 11px;
  border: 1px solid var(--gold-line); border-radius: 50%; background: var(--white);
  transition: border-color .3s, background-color .3s;
}
.duty-list li:hover .duty-icon { border-color: var(--gold); }
.duty-list li:hover .pop { animation: icon-pop .7s ease-in-out; }
.duty-list li:hover .check, .duty-list li:hover .pulse { animation: icon-redraw .9s ease-out; }
.duty-list li:hover .sheet { animation: icon-lift .8s ease-in-out; }
@media (max-width: 600px) {
  .duty-list li { grid-template-columns: 44px 1fr; gap: 16px; }
  .duty-icon { width: 44px; height: 44px; padding: 9px; }
}

/* ---------- Figures card (Home) ----------
   One white card that overlaps the bottom of the black hero, with a gold
   top rule and a drawn icon beside each figure. */
.trust { background: none; border: 0; position: relative; z-index: 2; margin-top: clamp(-72px, -5vw, -40px); padding-bottom: clamp(24px, 3vw, 40px); }
.trust__list {
  background: var(--white); border-top: 2px solid var(--gold);
  box-shadow: 0 30px 60px -36px rgba(18, 18, 18, .45); padding: 0;
  max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto;
}
.trust__list li, .trust__list li:first-child {
  display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start;
  padding: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 34px);
  border-left: 1px solid var(--line); font-size: 16.5px; line-height: 1.45; color: var(--brown);
}
.trust__list li:first-child { border-left: 0; }
.trust__list strong { font-size: clamp(30px, 2.6vw, 38px); margin-bottom: 6px; }
.trust__list li:hover .pop { animation: icon-pop .7s ease-in-out; }
.trust__list li:hover .check, .trust__list li:hover .pulse { animation: icon-redraw .9s ease-out; }
.trust__list li:hover .sheet { animation: icon-lift .8s ease-in-out; }
.hero--bleed:has(+ .trust) .hero__text { padding-bottom: clamp(104px, 9vw, 136px); }
@media (max-width: 1100px) {
  .trust__list { grid-template-columns: 1fr 1fr; margin-inline: var(--gutter); }
  .trust__list li:nth-child(3) { border-left: 0; }
  .trust__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 900px) { .hero--bleed:has(+ .trust) .hero__text { padding-bottom: 52px; } }
@media (max-width: 600px) {
  .trust__list { grid-template-columns: 1fr; }
  .trust__list li, .trust__list li:first-child { border-left: 0; padding: 22px 20px; grid-template-columns: 44px 1fr; gap: 16px; }
  .trust__list li + li { border-top: 1px solid var(--line); }
}

/* Careers card on About: same certificate card, white on the cream section */
.duty-card--white { background: var(--white); }
.duty-card--white .duty-list li { font-size: clamp(19px, 1.45vw, 21px); }
.duty-card__title { text-wrap: balance; }

/* ---------- Contact form, refined (Dec 2, 2026) ----------
   Gold top rule and fine inner keyline on the card, quieter labels,
   softer fields with a gold focus glow, and a custom select arrow. */
.form {
  border-top: 3px solid var(--gold);
  outline: 1px solid var(--gold-line); outline-offset: -12px;
  gap: 26px;
}
.form__note { font-size: 15px; font-style: italic; color: var(--brown); opacity: .85; }
.form label { font-size: 16px; letter-spacing: .02em; gap: 10px; }
.form input, .form select, .form textarea {
  border: 1px solid rgba(69, 49, 19, .5); border-bottom-color: rgba(69, 49, 19, .75);
  font-size: 18px; padding: 13px 16px;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.form input:hover, .form select:hover, .form textarea:hover { border-color: var(--brown); }
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(203, 166, 103, .45);
}
.form select {
  appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5l5-5' fill='none' stroke='%237A5D28' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 18px center / 12px 8px;
}
.form textarea { min-height: 140px; line-height: 1.5; }
.form .btn { margin-top: 4px; padding-inline: 44px; }

/* ==========================================================================
   Art Deco icon set (Dec 2, 2026)
   Symmetrical gold-leaf line drawings with diamond accents from the logo.
   A soft glint of light crosses each icon every 7 seconds (SVG animation in
   the markup, staggered per icon). Icons draw in on scroll and lift on hover.
   ========================================================================== */
.deco-icon { display: block; width: 58px; height: 58px; overflow: visible; fill: none; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s cubic-bezier(.3, 0, .2, 1); }
.deco-icon .art .d { fill: none; }
.deco-icon .fine { stroke-width: .9; }
.deco-icon .art .gem { stroke: none; fill: inherit; }
.gl-a { stop-color: #A8864A; }
.gl-b { stop-color: #F7E9C4; }
.cell--ink .gl-a { stop-color: #CBA667; }
.cell--ink .gl-b { stop-color: #FFF6DD; }
.deco-icon .gem { fill-opacity: 1; }
.cells--icons > * { position: relative; }
.cells--icons .h3 { padding-right: 76px; }
.deco-icon--cell { position: absolute; top: clamp(26px, 2.8vw, 40px); right: clamp(26px, 2.8vw, 40px); }
.deco-icon--list { width: 50px; height: 50px; }
.duty-list li, .trust__list li, .trust__list li:first-child { grid-template-columns: 50px 1fr; }
.cell:hover .deco-icon, .duty-list li:hover .deco-icon, .trust__list li:hover .deco-icon { transform: translateY(-4px); }
/* draw-in */
.js-icons .deco-icon .d { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.5s cubic-bezier(.6, 0, .2, 1); }
.js-icons .deco-icon .d.fine { transition-delay: .45s; }
.js-icons .deco-icon .gem { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .5s 1.2s, transform .6s 1.2s cubic-bezier(.3, 1.6, .5, 1); }
.js-icons .deco-icon.is-drawn .d { stroke-dashoffset: 0; }
.js-icons .deco-icon.is-drawn .gem { opacity: 1; transform: none; }
@media (max-width: 600px) {
  .deco-icon--cell { width: 50px; height: 50px; }
  .cells--icons .h3 { padding-right: 64px; }
  .deco-icon--list { width: 44px; height: 44px; }
  .duty-list li, .trust__list li, .trust__list li:first-child { grid-template-columns: 44px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .js-icons .deco-icon .d { stroke-dashoffset: 0; transition: none; }
  .js-icons .deco-icon .gem { opacity: 1; transform: none; transition: none; }
  .deco-icon { transition: none; }
}

/* Home hero: phone number as an outline button beside "Schedule a Call" */
.hero--ink .btn--call { background: transparent; border-color: var(--gold); color: var(--gold); font-variant-numeric: lining-nums; letter-spacing: .04em; }
.hero--ink .btn--call:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
