/* ==========================================================================
   www.overseaslend.com -- css/site.css
   Purpose : Styles for the OverseasLend corporate site. Palette from the
             OverseasLend logo (navy key, sunset orange, sun yellow, sea blue)
             on limestone and white. Fraunces for display, Nunito Sans for
             text, both self-hosted.
   Version : 1.1  2026-11-16 12:12:00
   Changelog:
     1.1  2026-11-16 12:12:00  Header logo twice the size on wide screens (468 by 80), one and a
                              half times below 1180px and larger on phones within the space
                              beside the menu button. Space above and below the logo so it
                              never touches the header edge or its bottom line.
     1.0  2026-11-15 17:40:00  First cut.
   ========================================================================== */

@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-wght-normal.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-wght-italic.woff2') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('../fonts/nunito-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'Nunito Sans'; src: url('../fonts/nunito-sans-latin-wght-italic.woff2') format('woff2'); font-weight: 200 1000; font-style: italic; font-display: swap; }

:root {
  --navy: #293688;
  --navy-900: #151a45;
  --navy-100: #e9ebf6;
  --orange: #f4832e;
  --orange-deep: #b9541a;
  --sun: #fbdd46;
  --sun-soft: #fff6cf;
  --sea: #37b6e9;
  --sea-deep: #126f99;
  --ink: #171c3a;
  --text: #2b304b;
  --muted: #565c7a;
  --stone: #f6f1e7;
  --line: #ddd5c6;
  --radius: 6px;
  --wrap: 1120px;
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-body: 'Nunito Sans', 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--text); font: 400 1.0625rem/1.65 var(--f-body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: 2px; }
a:hover { color: var(--orange-deep); }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; font-weight: 650; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.2rem; font-family: var(--f-body); font-weight: 800; }
p, ul, ol { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sea-deep); outline-offset: 2px; border-radius: 2px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.small { font-size: .9rem; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--sun); color: var(--ink); padding: .6rem 1rem; z-index: 50; font-weight: 800; }
.skip:focus { left: 1rem; }

/* ---------- header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.brand img { display: block; width: 468px; height: 80px; }
@media (max-width: 1180px) { .brand img { width: 351px; height: 60px; } }
@media (max-width: 1000px) { .brand img { width: 263px; height: 45px; } }
.brand { flex-shrink: 0; padding: 16px 0; }
.brand img { object-fit: contain; }
.site-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.site-nav a { display: block; padding: .55rem .7rem; color: var(--ink); text-decoration: none; font-weight: 700; border-radius: 4px; }
.site-nav a:hover { background: var(--navy-100); color: var(--navy); }
.site-nav a[aria-current] { box-shadow: inset 0 -3px 0 var(--orange); border-radius: 0; }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); color: var(--navy); font: 800 1rem var(--f-body); padding: .45rem .9rem; border-radius: var(--radius); cursor: pointer; }
@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .header-inner { flex-wrap: wrap; padding-top: .6rem; padding-bottom: .6rem; }
  .site-nav ul { flex-direction: column; padding-bottom: .6rem; }
  .brand img { width: 263px; height: 45px; max-width: calc(100vw - 150px); height: auto; }
  .brand { padding: 4px 0; }
}

/* ---------- home hero ---------- */
.home-hero { background: var(--stone); }
.home-hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; padding-top: clamp(2.5rem, 6vw, 4.5rem); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.home-hero .eyebrow { color: var(--orange-deep); }
.home-hero .lede { font-size: 1.2rem; max-width: 36em; }
.hero-photo { border-radius: 10px; overflow: hidden; transform: rotate(1.2deg); box-shadow: 0 10px 30px rgba(21, 26, 69, .18); border: 6px solid #fff; }
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .home-hero .wrap { grid-template-columns: 1fr; } .hero-photo { transform: none; max-width: 520px; } .hero-photo img { aspect-ratio: 3 / 2; } }

.eyebrow { font-weight: 900; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; margin: 0 0 .5rem; color: var(--sea-deep); }
.btn { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .7rem 1.2rem; border-radius: var(--radius); border: 2px solid transparent; font: 800 1rem/1.2 var(--f-body); text-decoration: none; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-900); color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* ---------- page hero ---------- */
.page-hero { background: var(--navy); color: #e6e9f8; }
.page-hero .wrap { padding-top: clamp(2.2rem, 5vw, 3.5rem); padding-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.page-hero h1 { color: #fff; max-width: 22em; }
.page-hero .eyebrow { color: var(--sun); }
.page-hero .lede { font-size: 1.15rem; max-width: 40em; margin: 0; }
.page-hero .lede a { color: var(--sun); }

/* ---------- sections ---------- */
.section { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: var(--stone); }
.prose { max-width: 46em; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.split-photo img { border-radius: 10px; aspect-ratio: 3 / 2; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.answer { background: var(--sun-soft); border-left: 6px solid var(--sun); padding: 1.1rem 1.35rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 2rem; }
.answer p:last-child { margin-bottom: 0; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 1.9rem; margin-bottom: .7rem; }
.checks li::before { content: ''; position: absolute; left: 0; top: .45em; width: 1.05rem; height: .6rem; border-left: 3px solid var(--sea-deep); border-bottom: 3px solid var(--sea-deep); transform: rotate(-45deg); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 1.2rem; }
.steps li { counter-increment: s; position: relative; padding-left: 3.4rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--orange); color: var(--ink); font: 900 1.1rem/2.4rem var(--f-body); text-align: center; }
.steps h3 { margin-bottom: .25rem; }

/* ---------- brands ---------- */
.brand-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.brand-card { border: 1px solid var(--line); border-radius: 10px; padding: 1.4rem; background: #fff; display: flex; flex-direction: column; gap: .8rem; }
.brand-card img { height: 92px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.brand-card h3 { margin: 0; }
.brand-card p { margin: 0; }
.brand-status { font-size: .85rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.brand-status.live { color: #1c6b3c; }
.brand-status.soon { color: var(--muted); }
.brand-card a.visit { margin-top: auto; font-weight: 800; }
.brand-strip { display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; align-items: center; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.brand-strip img { height: 64px; width: auto; }

/* ---------- facts table ---------- */
.facts { width: 100%; border-collapse: collapse; margin: 0 0 1.5rem; }
.facts th, .facts td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts th { width: 34%; color: var(--ink); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-900); color: #cfd3ea; margin-top: 0; padding-top: 2.5rem; }
.site-footer a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.site-footer a:hover { color: var(--sun); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; padding-bottom: 1.5rem; }
.footer-name { font: 650 1.4rem var(--f-display); color: #fff; margin-bottom: .4rem; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; }
.footer-nav li { margin-bottom: .45rem; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 1.2rem; padding-bottom: 1.5rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }

@media print { .site-header nav, .nav-toggle, .site-footer nav { display: none !important; } .page-hero { background: none; color: #000; } .page-hero h1 { color: #000; } }
