:root {
  --navy: #14283d;
  --navy-deep: #0c1b2a;
  --navy-soft: #294660;
  --ink: #1b2936;
  --muted: #6c7780;
  --paper: #fbfaf7;
  --paper-warm: #f1eee7;
  --line: #deded9;
  --white: #fff;
  --gold: #c89d66;
  --gold-soft: #e6d2b1;
  --blue: #4663db;
  --serif: "Californian FB", "Baskerville", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Californian FB", "Baskerville", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --shadow: 0 24px 60px rgba(18, 35, 54, .12);
}

@font-face { font-family: "Tree Open Sans"; src: url("assets/open-sans.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "Tree Titillium"; src: url("assets/titillium.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 15.5px; line-height: 1.7; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.shell { width: min(1180px, calc(100% - 72px)); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 50; padding: 8px 12px; color: var(--navy); background: var(--gold-soft); transform: translateY(-150%); transition: transform .2s; }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; color: var(--white); background: linear-gradient(180deg, rgba(12, 27, 42, .68), transparent); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(12, 27, 42, .96); box-shadow: 0 1px 0 rgba(255, 255, 255, .12); backdrop-filter: blur(16px); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; width: 160px; color: var(--white); }
.brand-image { display: block; width: 160px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.primary-nav > a:not(.nav-cta) { opacity: .8; transition: opacity .2s; }
.primary-nav > a:not(.nav-cta):hover { opacity: 1; }
.nav-dropdown { position: relative; }
.nav-drop-trigger { display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; color: inherit; background: transparent; cursor: pointer; font-size: inherit; font-weight: inherit; letter-spacing: inherit; text-transform: inherit; white-space: nowrap; }
.nav-drop-trigger:hover, .nav-dropdown:focus-within .nav-drop-trigger { color: var(--white); }
.nav-drop-trigger > span { color: var(--gold-soft); font-size: 14px; line-height: 1; transition: transform .2s; }
.nav-dropdown.open .nav-drop-trigger > span { transform: rotate(45deg); }
.nav-dropdown::after { position: absolute; top: 100%; right: 0; left: 0; height: 18px; content: ""; }
.nav-dropdown-menu { position: absolute; z-index: 21; top: calc(100% + 18px); left: 50%; width: 220px; padding: 9px; border: 1px solid rgba(200, 157, 102, .34); color: var(--navy); background: rgba(251, 250, 247, .98); box-shadow: 0 18px 38px rgba(9, 25, 40, .22); opacity: 0; pointer-events: none; transform: translate(-50%, -7px); transition: opacity .2s, transform .2s; }
.nav-dropdown-menu::before { position: absolute; top: -6px; left: calc(50% - 5px); width: 10px; height: 10px; border-top: 1px solid rgba(200, 157, 102, .34); border-left: 1px solid rgba(200, 157, 102, .34); background: var(--paper); content: ""; transform: rotate(45deg); }
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.nav-dropdown-menu a { display: block; padding: 10px 12px; color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; transition: color .2s, background .2s; }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { color: var(--navy-deep); background: var(--gold-soft); }
.nav-divider { width: 1px; height: 25px; background: rgba(247, 245, 239, .3); }
.nav-login, .nav-signup { padding: 8px 15px; border: 1px solid rgba(247, 245, 239, .72); border-radius: 999px; opacity: 1 !important; }
.nav-signup { background: rgba(247, 245, 239, .04); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; color: var(--white); cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; width: 23px; height: 2px; margin: 4px 0; background: currentColor; }

.hero { position: relative; overflow: hidden; min-height: 805px; padding: 210px 0 120px; color: var(--white); background: var(--navy); }
.hero-media, .hero-media-shade { position: absolute; inset: 0; }
.hero-media { z-index: 0; }
.hero-media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; opacity: .93; }
.hero-media-shade { background: linear-gradient(90deg, rgba(12, 27, 42, .86) 0%, rgba(20, 40, 61, .62) 48%, rgba(20, 40, 61, .12) 100%), linear-gradient(0deg, rgba(8, 18, 28, .48), transparent 48%); }
.hero-orb { display: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-copy { max-width: 790px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 12px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.light, .section-kicker.light { color: var(--gold-soft); }
.eyebrow span, .kicker-rule { display: inline-block; width: 32px; height: 1px; background: currentColor; opacity: .8; }
.hero h1 { max-width: 850px; margin: 28px 0 24px; font-family: var(--serif); font-size: clamp(53px, 6.2vw, 94px); font-weight: 400; letter-spacing: -.055em; line-height: .98; }
em { color: var(--gold); font-style: italic; }
.hero h1 span { color: var(--gold-soft); font-style: normal; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-lede { max-width: 515px; margin: 0; color: rgba(247, 245, 239, .78); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 16px; min-height: 50px; padding: 0 24px; border: 1px solid transparent; border-radius: 999px; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transition: transform .2s, background .2s, border-color .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-gold { color: var(--white); background: transparent; border-color: rgba(247, 245, 239, .78); }
.button-gold:hover { color: var(--navy-deep); background: var(--gold-soft); border-color: var(--gold-soft); }
.button span { font-size: 18px; line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.text-link span { font-size: 18px; transition: transform .2s; }
.text-link:hover span { transform: translateX(4px); }
.light-link { color: var(--gold-soft); }
.dark-link { color: var(--navy); }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 82px; color: rgba(247, 245, 239, .55); font-size: 11px; letter-spacing: .03em; }
.note-line { width: 28px; height: 1px; background: var(--gold); }

.hero .reveal { opacity: 1; transform: none; }
.route-visual { color: var(--navy); background-color: #efede6; background-image: radial-gradient(rgba(43, 67, 98, .14) .8px, transparent .8px); background-size: 23px 23px; }
.route-label { position: absolute; z-index: 2; top: 43px; left: 45px; color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .19em; text-transform: uppercase; }
.route-map { position: absolute; inset: 92px 30px 104px; width: calc(100% - 60px); height: calc(100% - 196px); overflow: visible; }
.route-map path { fill: none; stroke: #6b829d; stroke-width: 1.7; }
.route-node { position: absolute; z-index: 2; display: grid; place-items: center; width: 86px; height: 86px; border: 1px solid var(--navy); border-radius: 50%; color: var(--navy); background: rgba(247, 245, 239, .88); font-family: var(--serif); font-size: 21px; letter-spacing: -.02em; }
.route-node::after { position: absolute; inset: 8px; border: 1px dashed var(--gold); border-radius: 50%; content: ""; }
.route-now { top: 39%; left: 7%; }
.route-next { top: 19%; left: 51%; }
.route-there { top: 59%; right: 5%; }
.route-quote { position: absolute; z-index: 2; left: 45px; bottom: 38px; color: var(--navy); font-family: var(--serif); font-size: clamp(25px, 2.2vw, 34px); letter-spacing: -.035em; line-height: 1.08; }
.route-quote em { color: var(--navy); font-style: italic; }
.scroll-cue { position: absolute; z-index: 2; bottom: 29px; left: 50%; display: flex; align-items: center; gap: 11px; color: rgba(247, 245, 239, .5); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue span { width: 31px; height: 1px; background: currentColor; }

.service-ribbon { display: block; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ribbon-inner { display: flex; align-items: center; justify-content: space-around; min-height: 78px; color: var(--navy); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ribbon-inner i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

.section { padding: 132px 0; }
.intro-section { display: block; background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: minmax(145px, .27fr) minmax(210px, .36fr) minmax(0, .72fr); gap: clamp(28px, 5vw, 76px); align-items: start; }
.section-kicker { color: var(--navy-soft); }
.kicker-number { color: var(--gold); font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: 0; }
.intro-visual { position: relative; min-height: 355px; margin: 0; overflow: hidden; background: var(--paper-warm); }
.intro-visual::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 27, 42, 0) 45%, rgba(12, 27, 42, .72) 100%); content: ""; }
.intro-visual img { display: block; width: 100%; height: 355px; object-fit: cover; object-position: center; }
.intro-visual figcaption { position: absolute; z-index: 1; right: 18px; bottom: 17px; left: 18px; color: var(--white); font-family: var(--serif); font-size: 24px; font-style: italic; }
.intro-copy { max-width: 730px; }
h2 { margin: 0; font-family: var(--serif); font-size: clamp(41px, 5vw, 70px); font-weight: 400; letter-spacing: -.04em; line-height: 1.03; }
.intro-copy h2 { max-width: 720px; margin-bottom: 31px; }
.intro-copy p { max-width: 610px; margin: 0 0 18px; color: var(--muted); font-size: 16px; line-height: 1.85; }
.intro-copy .text-link { margin-top: 21px; }

.services-section { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .58fr); gap: 80px; align-items: end; }
.section-heading h2 { max-width: 620px; margin-top: 22px; }
.section-heading > p { max-width: 390px; margin: 0 0 3px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 70px; border-top: 1px solid var(--line); }
.service-card { position: relative; display: flex; min-height: 319px; padding: 39px 31px 28px; flex-direction: column; background: transparent; border: 0; border-right: 1px solid var(--line); text-align: left; transition: background .2s, box-shadow .2s, transform .2s; }
.service-card:nth-child(3n) { border-right: 0; }
.service-card:hover { z-index: 1; background: rgba(255, 255, 255, .68); box-shadow: 0 18px 35px rgba(35, 57, 86, .06); transform: translateY(-3px); }
.service-card-featured { background: transparent; color: var(--ink); }
.service-number { position: absolute; top: 22px; right: 26px; color: var(--gold); font-family: var(--serif); font-size: 18px; }
.service-icon { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 0 23px; color: var(--blue); border: 1px solid currentColor; border-radius: 50%; }
.service-card-featured .service-icon { color: var(--navy); }
.service-icon::before { position: absolute; inset: 5px; border: 1px dashed currentColor; border-radius: 50%; content: ""; opacity: .52; }
.service-icon > * { position: relative; z-index: 1; }
.icon-book span { display: block; width: 15px; height: 18px; border: 1px solid currentColor; }
.icon-book span:first-child { position: absolute; margin: -3px 0 0 -5px; background: currentColor; opacity: .25; }
.icon-book span:last-child { position: absolute; margin: 3px 0 0 5px; }
.icon-arrow span:first-child { width: 20px; height: 1px; background: currentColor; transform: rotate(-45deg) translate(-1px, 2px); }
.icon-arrow span:last-child { width: 8px; height: 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: translate(7px, -5px); }
.icon-star span { font-size: 22px; }
.icon-language { display: flex; gap: 2px; }
.icon-language span { font-family: var(--serif); font-size: 13px; }
.icon-compass span { width: 18px; height: 18px; border: 1px solid currentColor; border-radius: 50%; }
.icon-compass span::after { display: block; width: 1px; height: 11px; margin: 3px auto; background: currentColor; content: ""; transform: rotate(38deg); }
.icon-path span { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.icon-path span:nth-child(2) { margin-left: 16px; }
.icon-path span:nth-child(3) { position: absolute; width: 21px; height: 1px; background: currentColor; transform: rotate(-28deg); }
.service-card h3 { max-width: 220px; margin: 0 0 11px; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1.07; }
.service-card p { max-width: 290px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.service-card-featured p { color: var(--muted); }
.card-link { display: block; margin-top: auto; padding-top: 24px; color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-align: left; text-transform: uppercase; }
.service-card-featured .card-link { color: var(--navy); }
.card-link b { margin-left: 9px; font-size: 15px; font-weight: 400; }

.approach-section { position: relative; overflow: hidden; color: var(--white); background: var(--navy); }
.approach-section::after { position: absolute; right: -180px; bottom: -220px; width: 530px; height: 530px; border: 1px solid rgba(237, 220, 185, .12); border-radius: 50%; content: ""; }
.approach-heading { position: relative; z-index: 1; }
.approach-heading h2 { margin-top: 22px; }
.approach-heading > p { color: rgba(247, 245, 239, .67); }
.process-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 83px; border-top: 1px solid rgba(237, 220, 185, .23); }
.process-step { padding: 28px 38px 0 0; border-right: 1px solid rgba(237, 220, 185, .23); }
.process-step + .process-step { padding-left: 38px; }
.process-step:last-child { border-right: 0; }
.process-step > span { color: var(--gold); font-family: var(--serif); font-size: 23px; }
.process-step h3 { margin: 20px 0 10px; font-family: var(--serif); font-size: 32px; font-weight: 400; }
.process-step p { max-width: 285px; margin: 0; color: rgba(247, 245, 239, .62); font-size: 13px; line-height: 1.8; }

.difference-section { background: var(--paper); }
.difference-grid { display: grid; grid-template-columns: minmax(340px, .88fr) minmax(0, 1fr); gap: clamp(60px, 10vw, 150px); align-items: center; }
.difference-visual { position: relative; min-height: 500px; overflow: hidden; background: var(--paper-warm); }
.image-collage { isolation: isolate; }
.image-collage::before { position: absolute; inset: 0; z-index: -1; background: var(--paper-warm); content: ""; }
.collage-main { position: absolute; inset: 0 0 126px 0; overflow: hidden; }
.collage-main::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 36, 68, .02) 35%, rgba(24, 36, 68, .58) 100%); content: ""; }
.collage-main img, .collage-books img, .collage-careers img { display: block; width: 100%; height: 100%; object-fit: cover; }
.collage-main img { object-position: center; }
.collage-stamp { position: absolute; z-index: 1; top: 27px; left: 28px; display: grid; place-items: center; width: 92px; height: 92px; border: 1px solid var(--gold-soft); border-radius: 50%; color: var(--white); background: rgba(24, 36, 68, .73); font-family: var(--serif); font-size: 18px; transform: rotate(-8deg); }
.collage-caption { position: absolute; z-index: 1; right: 29px; bottom: 25px; color: var(--gold-soft); font-family: var(--serif); font-size: 25px; font-style: italic; }
.collage-books { position: absolute; z-index: 2; right: 0; bottom: 0; width: 57%; height: 145px; overflow: hidden; border: 12px solid var(--paper); border-right: 0; }
.collage-books img { object-position: center; }
.collage-card { position: absolute; z-index: 3; left: 0; bottom: 0; display: flex; flex-direction: column; justify-content: space-between; width: 48%; height: 126px; padding: 19px 23px; color: var(--white); background: var(--navy); }
.collage-card-label { color: var(--gold-soft); font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.collage-card strong { font-family: var(--serif); font-size: 23px; font-weight: 400; line-height: 1.03; }
.collage-careers { position: absolute; z-index: 4; right: 21px; top: 40%; width: 112px; height: 112px; overflow: hidden; border: 7px solid var(--paper); box-shadow: 0 10px 25px rgba(18, 35, 54, .15); transform: rotate(4deg); }
.collage-careers img { object-position: center; }
.difference-copy h2 { margin: 22px 0 28px; }
.difference-copy > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.8; }
.check-list { display: grid; gap: 13px; margin: 31px 0 34px; padding: 0; list-style: none; color: var(--navy); font-size: 13px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; }
.check-list li span { color: var(--gold); }

.contact-section { padding: 126px 0; color: var(--white); background: var(--navy-deep); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(370px, .78fr); gap: clamp(50px, 10vw, 150px); align-items: start; }
.contact-copy h2 { max-width: 570px; margin: 22px 0 28px; }
.contact-copy > p { max-width: 445px; margin: 0; color: rgba(247, 245, 239, .67); font-size: 16px; line-height: 1.8; }
.contact-details { display: grid; gap: 17px; margin-top: 62px; }
.contact-details a { display: flex; align-items: flex-start; gap: 12px; color: rgba(247, 245, 239, .76); font-size: 13px; line-height: 1.55; transition: color .2s; }
.contact-details a:hover { color: var(--gold-soft); }
.detail-icon { display: inline-grid; flex: 0 0 22px; place-items: center; width: 22px; height: 22px; color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; font-size: 11px; }
.contact-form { padding: 36px; background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }

/* Contact page: keep the left-side copy readable on the paper background. */
.page-section .contact-copy h2 {
  color: var(--navy);
}

.page-section .contact-copy .section-kicker {
  color: var(--navy-soft);
}

.page-section .contact-copy > p {
  color: var(--navy-soft);
  opacity: 1;
}

.page-section .contact-copy .contact-details a {
  color: var(--navy-soft);
  opacity: 1;
}

.page-section .contact-copy .contact-details a:hover {
  color: var(--navy);
}

.page-section .contact-copy > .dark-link {
  color: var(--navy);
  opacity: 1;
}

.page-section .contact-copy > .dark-link:hover {
  color: var(--navy-soft);
}
.form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.form-heading span { font-family: var(--serif); font-size: 28px; }
.form-heading small { color: var(--muted); font-size: 10px; line-height: 1.4; text-align: right; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 16px; }
.contact-form label > span { color: var(--navy-soft); font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 11px 0; border: 0; border-bottom: 1px solid var(--line); outline: 0; color: var(--ink); background: transparent; font-size: 14px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--navy); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #a3a7aa; }
.contact-form .button { width: 100%; margin-top: 8px; }
.contact-form .button-gold { color: var(--navy-deep); border-color: var(--navy); }
.contact-form .button-gold:hover { color: var(--white); background: var(--navy); border-color: var(--navy); }
.form-status { min-height: 20px; margin: 11px 0 0; color: var(--navy-soft); font-size: 12px; text-align: center; }

.site-footer { color: rgba(247, 245, 239, .9); background: #2d4c71; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 60px; align-items: center; padding: 63px 0 42px; }
.footer-links { display: grid; justify-items: start; gap: 7px; padding-left: 18px; list-style: disc; font-size: 12px; }
.footer-links a { position: relative; transition: color .2s; }
.footer-legal a::before { position: absolute; top: .7em; left: -17px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; content: ""; }
.footer-contact, .footer-details { display: grid; gap: 12px; font-size: 12px; }
.footer-contact a, .footer-details a { display: flex; align-items: flex-start; gap: 12px; }
.footer-icon { display: inline-grid; place-items: center; width: 17px; flex: 0 0 17px; color: var(--white); font-size: 16px; line-height: 1.35; }
.footer-facebook { font-family: Arial, sans-serif; font-size: 20px; font-weight: 700; }
.footer-details b { color: #66a8e8; font-weight: 500; }
.footer-links a:hover, .footer-contact a:hover, .footer-details a:hover, .footer-bottom a:hover { color: var(--gold-soft); }
.footer-payment-row { display: flex; justify-content: center; padding-bottom: 18px; }
.footer-payment-image { display: block; width: 300px; max-width: 100%; height: auto; }
.footer-bottom { display: flex; justify-content: center; gap: 30px; padding: 15px 0 23px; border-top: 1px solid rgba(247, 245, 239, .16); color: rgba(247, 245, 239, .9); font-size: 10px; text-align: center; }
.footer-bottom a { color: #66a8e8; }
.footer-bottom div { display: flex; gap: 10px; }
.footer-dot { color: var(--gold); }

.chat-bubble { position: fixed; z-index: 10; right: 26px; bottom: 25px; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 15px; border: 1px solid var(--gold); border-radius: 24px; color: var(--navy); background: var(--gold-soft); box-shadow: 0 12px 30px rgba(18, 35, 54, .2); cursor: pointer; }
.chat-bubble span { font-size: 15px; }
.chat-bubble small { font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.chat-toast { position: fixed; z-index: 11; right: 26px; bottom: 80px; width: min(310px, calc(100% - 52px)); padding: 17px; color: var(--navy); background: var(--white); box-shadow: var(--shadow); font-size: 12px; line-height: 1.6; opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s, transform .2s; }
.chat-toast.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay { transition-delay: .12s; }

@media (max-width: 900px) {
  .shell { width: min(100% - 44px, 720px); }
  .hero { min-height: auto; padding: 145px 0 76px; }
  .hero-grid, .difference-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .primary-nav { gap: 12px; font-size: 10px; }
  .brand { width: 126px; }
  .scroll-cue { display: none; }
  .intro-grid { gap: 35px; }
  .section { padding: 92px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .section-heading { gap: 35px; }
  .process-grid { margin-top: 60px; }
  .contact-section { padding: 92px 0; }
}

@media (max-width: 680px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 78px; }
  .menu-toggle { display: block; }
  .brand { width: 118px; }
  .brand-image { width: 118px; }
  .primary-nav { position: absolute; top: 78px; right: 18px; left: 18px; display: grid; gap: 0; padding: 8px; background: rgba(21, 39, 64, .98); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s; }
  .primary-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav a { padding: 14px; }
  .nav-dropdown { border-bottom: 1px solid rgba(247, 245, 239, .12); }
  .nav-dropdown:last-of-type { border-bottom: 0; }
  .nav-drop-trigger { width: 100%; justify-content: space-between; padding: 14px; color: var(--white); text-align: left; }
  .nav-dropdown-menu, .nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu, .nav-dropdown.open .nav-dropdown-menu { position: static; display: none; width: auto; padding: 0 8px 8px; border: 0; background: transparent; box-shadow: none; opacity: 1; pointer-events: auto; transform: none; }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu::before { display: none; }
  .nav-dropdown-menu a { padding: 11px 14px; color: rgba(247, 245, 239, .74); font-size: 9px; }
  .nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { color: var(--white); background: rgba(230, 210, 177, .16); }
  .nav-cta { text-align: center; }
  .hero { min-height: 760px; padding-top: 142px; padding-bottom: 210px; }
  .hero-media { top: 300px; bottom: auto; height: 460px; }
  .hero-media img { object-position: center 34%; }
  .hero-media-shade { background: linear-gradient(180deg, rgba(24, 36, 68, 1) 0%, rgba(24, 36, 68, .86) 15%, rgba(24, 36, 68, .22) 40%, rgba(16, 26, 52, .92) 100%); }
  .hero h1 { font-size: clamp(43px, 11.5vw, 70px); line-height: 1.08; }
  .hero-lede { font-size: 16px; }
  .hero-note { margin-top: 54px; }
  .ribbon-inner { justify-content: flex-start; gap: 13px; overflow: hidden; min-height: 63px; white-space: nowrap; font-size: 9px; }
  .ribbon-inner i { flex: 0 0 4px; }
  .section { padding: 78px 0; }
  h2 { font-size: clamp(39px, 12vw, 56px); }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-visual { min-height: 250px; }
  .intro-visual img { height: 250px; }
  .section-heading { grid-template-columns: 1fr; }
  .section-heading > p { max-width: none; }
  .services-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .service-card { min-height: 290px; }
  .process-grid { grid-template-columns: 1fr; margin-top: 48px; }
  .process-step, .process-step + .process-step { padding: 25px 0; border-right: 0; border-bottom: 1px solid rgba(237, 220, 185, .23); }
  .process-step:last-child { border-bottom: 0; }
  .difference-visual { min-height: 410px; }
  .difference-copy h2 { margin-bottom: 22px; }
  .contact-form { padding: 25px 20px; }
  .form-heading { display: grid; gap: 5px; }
  .form-heading small { text-align: left; }
  .footer-top { grid-template-columns: 1fr; gap: 27px; padding: 48px 0 37px; }
  .footer-bottom { display: grid; gap: 14px; }
  .chat-bubble { right: 16px; bottom: 16px; }
  .chat-toast { right: 16px; bottom: 69px; width: calc(100% - 32px); }
}

/* Keep tutor applications available through signup without promoting them in the primary navigation. */
.primary-nav a[href*="become-a-tutor"] {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Internal pages keep the live site's quieter white header and blue title band. */
.inner-page { color: var(--ink); background: var(--white); }
.inner-page .site-header { color: var(--navy); background: var(--white); box-shadow: 0 1px 0 rgba(24, 36, 68, .12); }
.inner-page .site-header.scrolled { background: rgba(255, 255, 255, .96); box-shadow: 0 1px 0 rgba(24, 36, 68, .14); }
.inner-page .primary-nav > a:not(.nav-cta) { opacity: .88; }
.inner-page .nav-divider { background: rgba(24, 36, 68, .22); }
.inner-page .nav-login, .inner-page .nav-signup { border-color: rgba(20, 40, 61, .42); }
.inner-page .menu-toggle { color: var(--navy); }
.page-hero { padding: 164px 0 38px; color: var(--white); background: var(--navy); }
.page-hero h1 { max-width: 800px; margin: 22px 0 18px; font-family: var(--serif); font-size: clamp(46px, 5.5vw, 78px); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 9px; color: rgba(247, 245, 239, .78); font-size: 13px; }
.breadcrumbs a { color: var(--white); }
.page-section { padding: 108px 0; }
.page-intro-section { background: var(--white); }
.page-intro-grid { display: grid; grid-template-columns: minmax(280px, .72fr) minmax(0, 1fr); gap: clamp(48px, 8vw, 118px); align-items: center; }
.page-lead-image { position: relative; margin: 0; }
.page-lead-image img { display: block; width: 100%; height: 350px; object-fit: cover; object-position: center; }
.founder-portrait img { object-position: center 32%; }
.page-lead-image figcaption { position: absolute; right: 16px; bottom: 16px; padding: 7px 10px; color: var(--white); background: rgba(24, 36, 68, .82); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.page-intro-copy { max-width: 660px; color: var(--muted); font-size: 17px; line-height: 1.85; }
.page-intro-copy p { margin: 0 0 22px; }
.page-kicker { margin: 0 0 21px; color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.page-details-section { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.page-details-grid { display: grid; grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr); gap: clamp(50px, 9vw, 140px); align-items: start; }
.aside-card { padding: 28px; color: var(--white); background: var(--navy); }
.aside-number { color: var(--gold-soft); font-family: var(--serif); font-size: 24px; }
.aside-card h2 { margin: 40px 0 18px; color: var(--white); font-size: 35px; line-height: 1.04; }
.aside-card p { margin: 0 0 29px; color: rgba(247, 245, 239, .7); font-size: 14px; line-height: 1.7; }
.aside-card .dark-link { color: var(--gold-soft); }
.page-copy { max-width: 700px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.page-heading-line { display: flex; align-items: center; gap: 13px; margin-bottom: 24px; color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.page-heading-line i { width: 38px; height: 1px; background: var(--gold); }
.page-copy > p { margin: 0 0 31px; }
.page-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 38px; padding-top: 28px; border-top: 1px solid var(--line); }
.page-feature-grid strong { color: var(--navy); font-family: var(--serif); font-size: 25px; font-weight: 400; }
.page-feature-grid p { margin: 7px 0 0; font-size: 13px; line-height: 1.65; }
.destination-section { background: var(--white); }
.destination-intro { max-width: 760px; margin: 0 0 54px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.destination-groups { display: grid; gap: 70px; }
.destination-group { padding-top: 34px; border-top: 1px solid var(--line); }
.destination-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 8vw, 120px); }
.destination-columns h3 { margin: 0 0 18px; color: var(--navy); font-family: var(--serif); font-size: 30px; font-weight: 400; }
.destination-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 28px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; line-height: 1.45; }
.destination-list li { position: relative; padding-left: 14px; }
.destination-list li::before { position: absolute; top: .62em; left: 0; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); content: ""; }
.tutor-application-section { background: var(--paper-warm); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.tutor-form { margin-top: 26px; }
.inline-link { color: var(--navy); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }

.recovered-content { background: var(--cream); }
.recovered-copy { max-width: 1180px; }
.recovered-copy > p { max-width: 850px; }
.legacy-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin-top: 2.5rem; border: 1px solid rgba(21, 47, 73, .14); background: rgba(21, 47, 73, .14); }
.legacy-catalog-card { padding: 2rem; background: rgba(255, 255, 255, .58); }
.legacy-catalog-card h3 { margin: 0 0 1rem; color: var(--navy); font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2.25rem); line-height: 1.02; }
.legacy-catalog-card p { margin: 0 0 1.25rem; }
.legacy-catalog-list { display: grid; gap: .55rem; margin: 0 0 1.45rem; padding: 0; list-style: none; color: var(--navy); }
.legacy-catalog-list li { position: relative; padding-left: 1.15rem; }
.legacy-catalog-list li::before { content: '✦'; position: absolute; left: 0; color: var(--gold); }
.legacy-catalog-links { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid rgba(21, 47, 73, .12); }
.legacy-catalog-links a { color: var(--navy); font-size: .9rem; font-weight: 700; }
.legacy-catalog-links a:hover { color: var(--gold); }
.legacy-catalog-links a span { color: var(--gold); margin-left: .25rem; }
@media (max-width: 760px) {
  .legacy-catalog-grid { grid-template-columns: 1fr; }
  .legacy-catalog-card { padding: 1.4rem; }
}

  .legacy-page-title { margin: 0 0 1rem; color: var(--navy); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.6rem); line-height: .98; }
  .legacy-back-link { margin-top: 2rem; }
.page-regions-section { background: var(--white); }
.page-regions-section h2 { max-width: 650px; margin: 0 0 47px; }
.region-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.region-card { position: relative; min-height: 235px; overflow: hidden; color: var(--white); background: var(--navy); }
.region-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(24, 36, 68, .05), rgba(16, 26, 52, .92)); content: ""; }
.region-card img { display: block; width: 100%; height: 235px; object-fit: cover; transition: transform .3s; }
.region-card:hover img { transform: scale(1.04); }
.region-card span { position: absolute; z-index: 1; right: 18px; bottom: 17px; left: 18px; display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 24px; }
.region-card .region-card-label { position: static; right: auto; bottom: auto; left: auto; display: inline-flex; align-items: center; gap: .55rem; }
.region-card .region-flag { position: static; right: auto; bottom: auto; left: auto; display: inline-block; font-family: var(--sans); font-size: .78em; line-height: 1; }
.region-card b { color: var(--gold-soft); font-family: var(--sans); font-size: 18px; font-weight: 400; }
.page-callout { padding: 82px 0; color: var(--white); background: var(--navy); }
.page-callout-inner { display: flex; justify-content: space-between; align-items: end; gap: 45px; }
.page-callout h2 { max-width: 650px; font-size: clamp(38px, 4.5vw, 61px); }
.page-callout .page-kicker { color: var(--gold-soft); }

@media (max-width: 680px) {
  .inner-page .primary-nav { background: rgba(255, 255, 255, .98); }
  .inner-page .primary-nav a { color: var(--navy); }
  .inner-page .nav-drop-trigger { color: var(--navy); }
  .inner-page .nav-divider { background: rgba(24, 36, 68, .16); }
  .page-hero { padding-top: 119px; }
  .page-hero h1 { font-size: clamp(41px, 12vw, 62px); }
  .page-section { padding: 75px 0; }
  .page-intro-grid, .page-details-grid { grid-template-columns: 1fr; gap: 40px; }
  .page-lead-image img { height: 255px; }
  .page-intro-copy { font-size: 16px; }
  .page-feature-grid { grid-template-columns: 1fr; }
  .destination-columns { grid-template-columns: 1fr; gap: 42px; }
  .destination-list { grid-template-columns: 1fr; }
  .region-grid { grid-template-columns: 1fr; }
  .region-card, .region-card img { min-height: 220px; height: 220px; }
  .page-callout-inner { display: grid; align-items: start; }
  .page-callout h2 { font-size: clamp(38px, 11vw, 56px); }
}

/* Login preview follows the same editorial system while keeping the live form destination. */
.login-hero { min-height: calc(100vh - 104px); padding: 176px 0 118px; background: var(--paper-warm); }
.login-grid { display: grid; grid-template-columns: minmax(0, .84fr) minmax(390px, .7fr); gap: clamp(60px, 10vw, 150px); align-items: center; }
.login-copy { max-width: 590px; }
.login-copy .eyebrow { color: var(--navy); }
.login-copy h1 { margin: 24px 0 23px; color: var(--navy); font-family: var(--serif); font-size: clamp(58px, 7vw, 100px); font-weight: 400; letter-spacing: -.06em; line-height: .95; }
.login-copy > p:not(.eyebrow) { max-width: 420px; margin: 0 0 37px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.login-photo { position: relative; margin: 0; overflow: hidden; background: var(--navy); }
.login-photo::after { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 27, 42, .05) 28%, rgba(12, 27, 42, .82) 100%); content: ""; }
.login-photo img { display: block; width: 100%; height: 260px; object-fit: cover; object-position: center 38%; }
.login-photo figcaption { position: absolute; z-index: 1; right: 22px; bottom: 19px; left: 22px; color: var(--white); font-family: var(--serif); font-size: 26px; font-style: italic; }
.login-card { padding: clamp(30px, 4vw, 48px); border: 1px solid rgba(20, 40, 61, .13); color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
.login-card-heading { margin-bottom: 31px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.login-card-heading .section-kicker { margin-bottom: 20px; color: var(--navy-soft); }
.login-card h2 { margin: 0 0 8px; color: var(--navy); font-size: 45px; }
.login-card-heading p { margin: 0; color: var(--muted); font-size: 13px; }
.login-field { display: grid; gap: 8px; margin-bottom: 22px; }
.login-field > span:first-child { color: var(--navy-soft); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.login-field input { width: 100%; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); outline: 0; color: var(--ink); background: transparent; font-size: 15px; }
.login-field input:focus { border-color: var(--navy); }
.password-control { position: relative; display: block; }
.password-control input { padding-right: 52px; }
.password-control button { position: absolute; top: 50%; right: 0; padding: 4px 0; border: 0; color: var(--navy); background: transparent; cursor: pointer; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transform: translateY(-50%); }
.login-forgot { display: inline-block; margin: 1px 0 27px; color: var(--navy-soft); font-size: 12px; font-weight: 700; }
.login-forgot:hover, .login-register a:hover { color: var(--gold); }
.login-submit { width: 100%; color: var(--white); background: var(--navy); border-color: var(--navy); }
.login-submit:hover { color: var(--navy); background: transparent; border-color: var(--navy); }
.login-register { margin: 22px 0 25px; color: var(--muted); font-size: 12px; text-align: center; }
.login-register a { color: var(--navy); font-weight: 700; }
.login-rule { display: flex; align-items: center; gap: 13px; margin: 0 0 18px; color: var(--muted); font-size: 11px; text-transform: uppercase; }
.login-rule::before, .login-rule::after { flex: 1; height: 1px; background: var(--line); content: ""; }
.social-login { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.social-login a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 10px; border: 1px solid var(--line); color: var(--navy); background: var(--white); font-size: 11px; font-weight: 700; transition: border-color .2s, background .2s; }
.social-login a:hover { border-color: var(--gold); background: var(--gold-soft); }
.social-mark { display: inline-grid; place-items: center; width: 22px; margin-right: 8px; font-family: Arial, sans-serif; font-size: 20px; font-weight: 700; line-height: 1; }
.google-mark { color: #4285f4; }
.facebook-mark { color: #4267b2; }

/* The live login page uses a simple blue title band, centered card and the same footer palette. */
.login-hero { min-height: 0; padding: 0 0 108px; background: var(--white); }
.login-banner { padding: 164px 0 36px; color: var(--white); background: #2d4c71; }
.login-banner h1 { margin: 0 0 9px; font-family: var(--sans); font-size: clamp(43px, 4.2vw, 58px); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
.login-banner .breadcrumbs { color: rgba(247, 245, 239, .94); }
.login-grid { display: block; }
.login-copy { display: none; }
.login-card { width: min(700px, 100%); margin: 110px auto 0; padding: 45px 62px 47px; border: 0; background: var(--white); box-shadow: 0 10px 28px rgba(18, 35, 54, .2); }
.login-card-heading { display: none; }
.login-field { gap: 0; margin-bottom: 40px; }
.login-field > span:first-child { display: none; }
.login-field input { min-height: 59px; padding: 0 17px; border: 1px solid #cfcfcf; border-radius: 5px; color: var(--ink); background: var(--white); box-shadow: 0 4px 8px rgba(18, 35, 54, .14); font-size: 16px; }
.login-field input:focus { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(45, 76, 113, .12); }
.password-control input { padding-right: 52px; }
.password-control button { right: 16px; color: #7c7c7c; font-size: 0; }
.password-control button::before { content: "◉"; font-size: 18px; }
.login-forgot { display: inline-block; margin: -11px 0 26px; color: #2879d8; font-size: 16px; }
.login-submit { width: 100%; min-height: 46px; border: 0; border-radius: 5px; color: var(--white); background: #2d4c71; font-size: 14px; letter-spacing: 0; }
.login-submit:hover { color: var(--white); background: var(--navy); }
.login-register { margin: 26px 0 30px; color: var(--ink); font-size: 16px; }
.login-register a { color: #2879d8; font-weight: 400; }
.login-rule { margin-bottom: 19px; font-size: 16px; text-transform: none; }
.social-login { gap: 12px; }
.social-login a { min-height: 44px; border-color: #cfcfcf; border-radius: 4px; color: #4d6f9a; background: var(--white); font-size: 15px; font-weight: 400; }
.social-login a:hover { border-color: #2879d8; background: #f7fbff; }
.login-page .nav-divider, .login-page .nav-login, .login-page .nav-signup { display: none; }
.login-page .primary-nav { order: 2; }

/* Keep the account-page navigation readable at desktop sizes. */
.site-header .primary-nav {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  gap: clamp(18px, 1.7vw, 30px);
  flex-wrap: nowrap;
}

.site-header > .shell {
  width: min(1600px, calc(100% - 72px));
}

.site-header .header-inner {
  min-height: 112px;
}

.site-header .brand,
.site-header .brand-image {
  width: 174px;
}

@media (max-width: 1100px) and (min-width: 901px) {
  .site-header .primary-nav {
    font-size: 11px;
    gap: 12px;
  }

  .site-header .nav-login,
  .site-header .nav-signup {
    min-width: 88px;
    min-height: 38px;
  }

  .site-header > .shell {
    width: min(100% - 44px, 1200px);
  }

  .site-header .brand,
  .site-header .brand-image {
    width: 136px;
  }
}

.site-header .nav-login,
.site-header .nav-signup {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 104px;
  min-height: 48px;
  white-space: nowrap;
}
.login-page .menu-toggle { display: none; order: 3; color: var(--navy); outline: none; }
.login-page .menu-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

@media (max-width: 900px) {
  .login-grid { grid-template-columns: 1fr; gap: 55px; }
  .login-card { max-width: 620px; }
}

@media (max-width: 680px) {
  .login-page .menu-toggle { display: block; }
  .login-banner { padding-top: 119px; }
  .login-card { margin-top: 62px; padding: 31px 22px 32px; }
  .social-login { grid-template-columns: 1fr; }
}

/* Sign-up choices mirror the live role-selection overlay while keeping each card a real link. */
.signup-overlay { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 42px 24px; overflow-y: auto; color: var(--white); background: #2d4c71; }
.signup-overlay[hidden] { display: none; }
.signup-backdrop { position: absolute; inset: 0; }
.signup-dialog { position: relative; width: min(930px, 100%); padding: 26px 0 44px; text-align: center; }
.signup-dialog h2 { margin: 0 0 34px; color: var(--white); font-family: var(--sans); font-size: clamp(34px, 4vw, 50px); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.signup-close { position: absolute; top: 0; right: 0; display: grid; place-items: center; width: 42px; height: 42px; border: 0; color: var(--white); background: transparent; font-family: var(--sans); font-size: 42px; font-weight: 300; line-height: 1; cursor: pointer; }
.signup-close:hover { color: var(--gold-soft); }
.signup-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.signup-card { display: grid; place-items: center; align-content: center; min-height: 360px; padding: 30px 20px; border: 1px solid rgba(255,255,255,.7); border-radius: 17px; color: #777; background: var(--white); box-shadow: 0 14px 28px rgba(11, 30, 52, .24); transition: transform .2s, box-shadow .2s, color .2s; }
.signup-card:hover, .signup-card:focus-visible { color: var(--navy); box-shadow: 0 18px 35px rgba(11, 30, 52, .34); transform: translateY(-5px); }
.signup-icon { width: 128px; height: 128px; margin-bottom: 22px; fill: var(--navy); stroke: var(--navy); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.signup-card:nth-child(2) .signup-icon, .signup-card:nth-child(3) .signup-icon { fill: none; }
.signup-card span { font-family: var(--sans); font-size: 30px; font-weight: 700; letter-spacing: -.04em; }
body.signup-open { overflow: hidden; }

@media (max-width: 680px) {
  .signup-overlay { padding: 28px 18px; }
  .signup-dialog { padding-top: 35px; }
  .signup-dialog h2 { margin-bottom: 23px; }
  .signup-close { top: 0; right: -4px; }
  .signup-cards { grid-template-columns: 1fr; max-width: 320px; margin: 0 auto; }
  .signup-card { min-height: 205px; }
  .signup-icon { width: 85px; height: 85px; margin-bottom: 11px; }
  .signup-card span { font-size: 25px; }
}

/* Login page: use the same editorial layout, palette and navigation as the refreshed inner pages. */
.login-page .login-page-hero { padding: 164px 0 42px; }
.login-content-section { background: var(--paper-warm); border-top: 1px solid var(--line); }
.login-content-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(390px, .82fr); gap: clamp(50px, 9vw, 132px); align-items: center; }
.login-copy { max-width: 560px; }
.login-copy h2 { margin: 21px 0 24px; color: var(--navy); font-family: var(--serif); font-size: clamp(52px, 6vw, 82px); font-weight: 400; letter-spacing: -.055em; line-height: .94; }
.login-copy > p:not(.page-kicker) { max-width: 460px; margin: 0 0 29px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.login-benefits { display: grid; gap: 13px; margin: 0 0 34px; padding: 0; color: var(--navy); list-style: none; font-size: 14px; line-height: 1.55; }
.login-benefits li { position: relative; padding-left: 25px; }
.login-benefits li::before { position: absolute; top: .1em; left: 0; color: var(--gold); content: "✦"; font-size: 15px; }
.login-card { width: auto; max-width: none; margin: 0; padding: clamp(30px, 4vw, 48px); border: 1px solid rgba(20, 40, 61, .13); color: var(--ink); background: var(--white); box-shadow: var(--shadow); }
.login-card .form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 27px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.login-card .form-heading span { color: var(--navy); font-family: var(--serif); font-size: 28px; }
.login-card .form-heading small { max-width: 180px; color: var(--muted); font-size: 10px; line-height: 1.45; text-align: right; }
.login-field { display: grid; gap: 8px; margin-bottom: 22px; }
.login-field > span:first-child { display: block; color: var(--navy-soft); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.login-field input { min-height: 0; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--ink); background: transparent; box-shadow: none; font-size: 15px; }
.login-field input:focus { border-color: var(--navy); box-shadow: none; }
.password-control button { right: 0; color: var(--navy); font-size: 10px; }
.password-control button::before { content: none; }
.login-forgot { display: inline-block; margin: 1px 0 27px; color: var(--navy-soft); font-size: 12px; font-weight: 700; }
.login-forgot:hover, .login-register a:hover { color: var(--gold); }
.login-submit { width: 100%; min-height: 46px; border: 1px solid var(--navy); border-radius: 0; color: var(--white); background: var(--navy); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.login-submit:hover { color: var(--navy); background: var(--gold-soft); border-color: var(--gold-soft); }
.login-register { margin: 26px 0 30px; color: var(--ink); font-size: 14px; }
.login-register a { color: var(--navy-soft); font-weight: 700; }
.login-rule { margin-bottom: 19px; color: var(--muted); font-size: 12px; text-transform: lowercase; }
.social-login { gap: 10px; }
.social-login a { min-height: 42px; border-color: var(--line); border-radius: 0; color: var(--navy); background: var(--paper); font-size: 11px; font-weight: 700; }
.social-login a:hover { border-color: var(--gold); background: var(--gold-soft); }
.login-page .nav-divider { display: block; }
.login-page .nav-login, .login-page .nav-signup { display: inline-flex; }
.login-page .menu-toggle { display: none; }

@media (max-width: 900px) {
  .login-content-grid { grid-template-columns: 1fr; gap: 54px; }
  .login-copy { max-width: 700px; }
  .login-card { max-width: 680px; }
}

@media (max-width: 680px) {
  .login-page .login-page-hero { padding-top: 119px; }
  .login-page .menu-toggle { display: block; }
  .login-card { padding: 31px 22px 32px; }
  .login-card .form-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .login-card .form-heading small { max-width: none; text-align: left; }
  .social-login { grid-template-columns: 1fr; }
}

/* Final login treatment: the preview uses the editorial heading and split
   composition from the refreshed pages, while the form still submits to the
   live account service. */
.login-page .login-page-hero { padding: 164px 0 42px; background: var(--navy); }
.login-page .login-page-hero h1 { margin: 22px 0 18px; color: var(--white); font-family: var(--serif); font-size: clamp(46px, 5.5vw, 78px); font-weight: 400; letter-spacing: -.045em; line-height: .98; }
.login-page .login-content-section { padding: 108px 0; background: var(--paper-warm); border-top: 1px solid var(--line); }
.login-page .login-content-grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(390px, .82fr); gap: clamp(50px, 9vw, 132px); align-items: center; }
.login-page .login-copy { display: block; max-width: 560px; }
.login-page .login-copy h2 { margin: 21px 0 24px; color: var(--navy); font-family: var(--serif); font-size: clamp(52px, 6vw, 82px); font-weight: 400; letter-spacing: -.055em; line-height: .94; }
.login-page .login-copy > p:not(.page-kicker) { max-width: 460px; margin: 0 0 29px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.login-page .login-card { width: auto; max-width: none; margin: 0; padding: clamp(30px, 4vw, 48px); border: 1px solid rgba(20, 40, 61, .13); background: var(--white); box-shadow: var(--shadow); }
.login-page .login-card .form-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; margin-bottom: 27px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.login-page .login-card .form-heading span { color: var(--navy); font-family: var(--serif); font-size: 28px; }
.login-page .login-card .form-heading small { max-width: 180px; color: var(--muted); font-size: 10px; line-height: 1.45; text-align: right; }
.login-page .login-field { display: grid; gap: 8px; margin-bottom: 22px; }
.login-page .login-field > span:first-child { display: block; color: var(--navy-soft); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.login-page .login-field input { min-height: 0; padding: 13px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; font-size: 15px; }
.login-page .login-field input:focus { border-color: var(--navy); box-shadow: none; }
.login-page .password-control button { right: 0; color: var(--navy); font-size: 10px; }
.login-page .password-control button::before { content: none; }
.login-page .login-forgot { margin: 1px 0 27px; color: var(--navy-soft); font-size: 12px; font-weight: 700; }
.login-page .login-submit { width: 100%; min-height: 50px; border: 1px solid var(--navy); border-radius: 999px; color: var(--white); background: var(--navy); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.login-page .login-submit:hover { color: var(--navy); background: var(--gold-soft); border-color: var(--gold-soft); }
.login-page .login-register { margin: 26px 0 30px; color: var(--ink); font-size: 14px; }
.login-page .login-register a { color: var(--navy-soft); font-weight: 700; }
.login-page .login-rule { margin-bottom: 19px; color: var(--muted); font-size: 12px; text-transform: lowercase; }
.login-page .social-login { gap: 10px; }
.login-page .social-login a { min-height: 42px; border-color: var(--line); border-radius: 0; color: var(--navy); background: var(--paper); font-size: 11px; font-weight: 700; }
.login-page .social-login a:hover { border-color: var(--gold); background: var(--gold-soft); }

@media (max-width: 900px) {
  .login-page .login-content-grid { grid-template-columns: 1fr; gap: 54px; }
  .login-page .login-copy { max-width: 700px; }
  .login-page .login-card { max-width: 680px; }
}

@media (max-width: 680px) {
  .login-page .login-page-hero { padding-top: 119px; }
  .login-page .login-content-section { padding: 75px 0; }
  .login-page .login-card { padding: 31px 22px 32px; }
  .login-page .login-card .form-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .login-page .login-card .form-heading small { max-width: none; text-align: left; }
  .login-page .social-login { grid-template-columns: 1fr; }
}

/* The account page follows the live site's more focused sign-in composition. */
.login-page .login-page-hero { padding: 164px 0 36px; }
.login-page .login-page-hero h1 { margin: 0 0 9px; font-family: var(--sans); font-size: clamp(43px, 4.2vw, 58px); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
.login-content-section { padding: 0 0 108px; background: var(--white); border-top: 0; }
.login-content-grid { display: block; }
.login-copy { display: none; }
.login-card { width: min(700px, 100%); margin: 110px auto 0; padding: 45px 62px 47px; border: 0; background: var(--white); box-shadow: 0 10px 28px rgba(18, 35, 54, .2); }
.login-card .form-heading { display: none; }
.login-field { gap: 0; margin-bottom: 40px; }
.login-field > span:first-child { display: none; }
.login-field input { min-height: 59px; padding: 0 17px; border: 1px solid #cfcfcf; border-radius: 5px; color: var(--ink); background: var(--white); box-shadow: 0 4px 8px rgba(18, 35, 54, .14); font-size: 16px; }
.login-field input:focus { border-color: var(--navy); box-shadow: 0 0 0 2px rgba(45, 76, 113, .12); }
.password-control input { padding-right: 52px; }
.password-control button { right: 16px; color: #7c7c7c; font-size: 0; }
.password-control button::before { content: "◉"; font-size: 18px; }
.login-forgot { display: inline-block; margin: -11px 0 26px; color: #2879d8; font-size: 16px; }
.login-submit { width: 100%; min-height: 46px; border: 0; border-radius: 5px; color: var(--white); background: #2d4c71; font-size: 14px; letter-spacing: 0; text-transform: uppercase; }
.login-submit:hover { color: var(--white); background: var(--navy); }
.login-register { margin: 26px 0 30px; color: var(--ink); font-size: 16px; }
.login-register a { color: #2879d8; font-weight: 400; }
.login-rule { margin-bottom: 19px; color: var(--muted); font-size: 16px; text-transform: none; }
.social-login { gap: 12px; }
.social-login a { min-height: 44px; border-color: #cfcfcf; border-radius: 4px; color: #4d6f9a; background: var(--white); font-size: 15px; font-weight: 400; }
.social-login a:hover { border-color: #2879d8; background: #f7fbff; }
.login-page .nav-divider, .login-page .nav-login, .login-page .nav-signup { display: none; }
.login-page .menu-toggle { display: none; order: 3; color: var(--navy); outline: none; }

@media (max-width: 900px) {
  .login-card { max-width: 620px; }
}

@media (max-width: 680px) {
  .login-page .login-page-hero { padding-top: 119px; }
  .login-card { margin-top: 62px; padding: 31px 22px 32px; }
  .social-login { grid-template-columns: 1fr; }
}

/* Final login balance: simple enough for an account page, with a little polish. */
.login-page .login-page-hero { padding: 118px 0 34px; background: var(--navy); }
.login-page .login-page-hero .eyebrow { margin-bottom: 16px; }
.login-page .login-page-hero h1 { margin: 0 0 10px; color: var(--white); font-family: var(--sans); font-size: clamp(40px, 4vw, 54px); font-weight: 400; letter-spacing: -.045em; line-height: 1.05; }
.login-page .login-content-section { padding: 84px 0 100px; background: var(--paper-warm); border-top: 1px solid var(--line); }
.login-page .login-content-grid { display: flex; justify-content: center; }
.login-page .login-card { position: relative; width: min(620px, 100%); max-width: none; margin: 0; padding: 42px 48px 44px; border: 1px solid rgba(20, 40, 61, .12); background: var(--white); box-shadow: 0 18px 42px rgba(18, 35, 54, .14); }
.login-page .login-card::before { position: absolute; top: 0; right: 48px; left: 48px; height: 3px; background: var(--gold); content: ""; }
.login-page .login-card .form-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; margin: 0 0 31px; padding: 0 0 23px; border-bottom: 1px solid var(--line); }
.login-page .login-card .form-heading span { color: var(--navy); font-family: var(--serif); font-size: 34px; line-height: 1; }
.login-page .login-card .form-heading small { max-width: none; color: var(--muted); font-size: 13px; line-height: 1.45; text-align: left; }
.login-page .login-field { gap: 8px; margin-bottom: 24px; }
.login-page .login-field > span:first-child { display: block; color: var(--navy-soft); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.login-page .login-field input { min-height: 0; padding: 12px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; font-size: 16px; }
.login-page .login-forgot { margin: 1px 0 25px; color: var(--navy-soft); font-size: 13px; }
.login-page .login-submit { min-height: 48px; border-radius: 999px; font-size: 10px; letter-spacing: .12em; }
.login-page .login-register { margin: 24px 0 27px; font-size: 14px; }
.login-page .login-rule { margin-bottom: 17px; font-size: 12px; }
.login-page .social-login a { min-height: 43px; font-size: 12px; }

@media (max-width: 680px) {
  .site-header > .shell { width: calc(100% - 36px); }
  .site-header .header-inner { min-height: 78px; }
  .site-header .brand,
  .site-header .brand-image { width: 100px; }
  .site-header .primary-nav { font-size: 10px; gap: 12px; }
  .login-page .login-page-hero { padding-top: 108px; }
  .login-page .login-content-section { padding: 58px 0 72px; }
  .login-page .login-card { padding: 36px 24px 30px; }
  .login-page .login-card::before { right: 24px; left: 24px; }
  .login-page .menu-toggle { display: block; }
}
