:root {
  --navy: #1a2358;
  --navy-2: #293889;
  --gold: #d6b228;
  --gold-2: #e6c650;
  --cream: #faf7f0;
  --ink: #1d1d1f;
  --muted: #5d6170;
  --line: #e4ddcc;
  --white: #fff;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; }
a { color: var(--navy); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* header */
.site-header { background: var(--white); color: var(--navy); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; }

.nav { display: flex; gap: 28px; }
.nav a { color: var(--navy); text-decoration: none; font-size: .95rem; font-weight: 600; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--navy); font-size: 1.6rem; cursor: pointer; }

/* hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); color: var(--white); padding: 96px 0 104px; }
.hero::after { content: ""; position: absolute; right: -90px; top: 50%; width: 560px; height: 560px; transform: translateY(-50%); background: url(/images/coins/saint-gaudens.webp) center / contain no-repeat; opacity: .16; mix-blend-mode: luminosity; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.1; margin: 0 0 18px; max-width: 760px; }
.hero p { font-size: 1.15rem; color: #c9d0e0; max-width: 620px; margin: 0 0 34px; }
.hero-team { display: inline-flex; align-items: center; gap: 14px; margin-top: 36px; color: #c9d0e0; text-decoration: none; font-size: .95rem; }
.hero-team:hover { color: var(--gold-2); }
.hero-team .faces { display: flex; flex: none; }
.hero-team img { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--gold); background: var(--navy); }
.hero-team img + img { margin-left: -10px; }
.eyebrow { color: var(--gold-2); text-transform: uppercase; letter-spacing: .16em; font-size: .8rem; font-weight: 600; margin-bottom: 14px; }
.btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 2px; font-weight: 600; text-decoration: none; font-size: .95rem; border: 1px solid transparent; cursor: pointer; font-family: var(--sans); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-2); }
.btn-outline { border-color: #8d97b0; color: var(--white); }
.btn-outline:hover { border-color: var(--gold-2); color: var(--gold-2); }

/* sections */
section { padding: 80px 0; }
.page-head { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 56px 0; }
.page-head::after { content: ""; position: absolute; right: -60px; top: 50%; width: 320px; height: 320px; transform: translateY(-50%); background: url(/images/coins/morgan-obverse.webp) center / contain no-repeat; opacity: .12; mix-blend-mode: luminosity; pointer-events: none; }
.page-head .wrap { position: relative; z-index: 1; }
.page-head h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 6px; }
.page-head p { color: #c9d0e0; margin: 0; }
h2 { font-family: var(--serif); font-weight: 400; font-size: 2.1rem; margin: 0 0 28px; color: var(--navy); }
h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; margin: 0 0 8px; color: var(--navy); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 30px 26px; }
.tile svg { width: 36px; height: 36px; color: var(--navy-2); margin-bottom: 14px; }
.tile .coin { width: 72px; height: 72px; margin-bottom: 16px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
.tile p { margin: 0; color: var(--muted); }

.moved { position: relative; overflow: hidden; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 48px 0; }
.moved::after { content: ""; position: absolute; right: 6%; top: 50%; width: 300px; height: 300px; transform: translateY(-50%); background: url(/images/coins/morgan-reverse.webp) center / contain no-repeat; opacity: .1; pointer-events: none; }
.moved .wrap { position: relative; z-index: 1; display: flex; gap: 28px; align-items: center; }
.moved svg { flex: none; width: 44px; height: 44px; color: var(--navy-2); }
.moved h3 { margin-bottom: 4px; }
.moved p { margin: 0; color: var(--muted); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-list { list-style: none; padding: 0; margin: 0 0 24px; }
.info-list li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.info-list li:last-child { border-bottom: 0; }
.info-list svg { flex: none; width: 22px; height: 22px; color: var(--navy-2); margin-top: 2px; }
.map { width: 100%; height: 320px; border: 1px solid var(--line); border-radius: 3px; }

/* forms */
.card { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 32px; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.form .field { margin-bottom: 18px; }
.form input, .form textarea { width: 100%; padding: 11px 13px; border: 1px solid #cfc8b6; border-radius: 2px; font: inherit; background: var(--white); }
.form input:focus, .form textarea:focus { outline: 2px solid var(--gold-2); outline-offset: 0; border-color: var(--gold); }
.form textarea { min-height: 140px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; }
.form .note { font-size: .85rem; color: var(--muted); font-weight: 400; }
.form-status { margin-top: 14px; font-weight: 600; }
.form-status.ok { color: #1d6b3a; }
.form-status.err { color: #a12a2a; }
.cf-turnstile { margin-bottom: 18px; }

.job { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 28px; margin-bottom: 40px; }
.job .meta { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.job ul { margin: 10px 0 0; padding-left: 20px; }

/* footer */
.site-footer { background: var(--navy); color: #b9c1d3; padding: 48px 0 28px; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h4 { color: var(--white); font-family: var(--serif); font-weight: 400; font-size: 1.1rem; margin: 0 0 12px; }
.site-footer a { color: #b9c1d3; text-decoration: none; display: block; margin-bottom: 6px; }
.site-footer a:hover { color: var(--gold-2); }
.site-footer .copy { border-top: 1px solid #2c3b5e; padding-top: 20px; font-size: .82rem; }

@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 8px 20px 16px; }
  .nav.open { display: flex; }
  .nav a { padding: 10px 0; }
  .nav-toggle { display: block; }
}
@media (max-width: 820px) {
  .brand { font-size: 1.05rem; white-space: nowrap; }
  .tiles, .split, .site-footer .cols { grid-template-columns: 1fr; }
  .moved .wrap { flex-direction: column; align-items: flex-start; }
  .hero { padding: 64px 0 72px; }
  section { padding: 56px 0; }
  .card { padding: 22px; }
}

/* shared */
.wrap.narrow { max-width: 760px; }
section.alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.note { color: var(--muted); font-size: .9rem; }
.more { margin: 28px 0 0; font-weight: 600; }
.more a { text-decoration-color: var(--gold); text-underline-offset: 4px; }
.tile ul { margin: 0; padding-left: 18px; color: var(--muted); }
.tile li { margin-bottom: 6px; }
.form select { width: 100%; padding: 11px 13px; border: 1px solid #cfc8b6; border-radius: 2px; font: inherit; background: var(--white); }

/* testimonials */
.quotes { columns: 3 300px; column-gap: 22px; }
.quotes blockquote { break-inside: avoid; margin: 0 0 22px; background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 24px; }
.quotes p { margin: 0 0 12px; font-family: var(--serif); font-size: 1.2rem; line-height: 1.45; color: var(--ink); }
.quotes cite { font-style: normal; font-size: .85rem; font-weight: 600; color: var(--navy-2); }

/* team */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 3px; margin-bottom: 16px; }
.person .role { color: var(--navy-2); font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.person p { color: var(--muted); margin: 0; }
.person .email { margin: -4px 0 10px; font-size: .9rem; }

/* sell */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0 0 20px; }
.steps li { counter-increment: s; display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.steps li::before { content: counter(s); flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: var(--gold-2); display: grid; place-items: center; font-size: .9rem; }
.faq details { border: 1px solid var(--line); background: var(--white); border-radius: 3px; margin-bottom: 10px; }
.faq summary { padding: 16px 20px; font-weight: 600; cursor: pointer; }
.faq details p { margin: 0; padding: 0 20px 16px; color: var(--muted); }

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; text-decoration: none; color: inherit; }
.post-card:hover { border-color: var(--gold); }
.post-card img, .post-card-blank { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--navy); }
.post-card-blank { display: grid; place-items: center; color: var(--gold); }
.post-card-blank svg { width: 56px; height: 56px; }
.post-card-body { padding: 20px 22px 24px; }
.post-card h3 { font-size: 1.3rem; }
.post-card p { margin: 0; color: var(--muted); font-size: .92rem; }
.post-date { color: var(--muted); font-size: .85rem; margin-bottom: 6px; }
.post { padding: 56px 0 80px; }
.post h1 { font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.15; margin: 12px 0 6px; color: var(--navy); }
.back { font-size: .9rem; text-decoration: none; color: var(--muted); }
.post-hero { width: 100%; border-radius: 3px; margin: 24px 0; }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.7rem; margin: 36px 0 12px; }
.prose h3 { margin-top: 28px; }
.prose img { border-radius: 3px; margin: 0 auto; width: auto; max-width: 100%; max-height: 560px; height: auto; }
.prose figure { margin: 24px 0; }
.prose figcaption { color: var(--muted); font-size: .85rem; text-align: center; margin-top: 8px; }
.prose .gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 24px 0; }
.prose .gallery figure { margin: 0; }

@media (max-width: 820px) {
  .team, .post-grid { grid-template-columns: 1fr; }
  .prose .gallery { grid-template-columns: 1fr; }
}

/* careers */
.split.top { align-items: start; }
.split > * { min-width: 0; }
.posting-image { width: 100%; max-width: 440px; height: auto; }
.posting { background: var(--white); border: 1px solid var(--line); border-radius: 3px; padding: 32px; }
@media (max-width: 820px) { .posting { padding: 22px; } }
.posting h2 { margin-bottom: 4px; }
.posting .posted { color: var(--muted); margin-bottom: 20px; }
