/* ALPHAONE USA — site styles.
   Layout: navy-and-white bands, one 1200px column, serif headings over a sans body. Single light theme by design. */
:root {
  --navy: #002C6F;
  --navy-deep: #001A44;
  --ink: #14213D;
  --muted: #4A5568;
  --line: #E3E6EC;
  --mist: #F2F3F5;
  --white: #FFFFFF;
  --on-navy: #D8E1F0;
  --gold: #D4AF5A;      /* on navy */
  --gold-ink: #8A6A1F;  /* on light */
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --body: "Source Sans 3", "Segoe UI", Helvetica, Arial, sans-serif;
  --wrap: 1200px;
  --radius: 10px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); color: var(--navy); }
h3 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); color: var(--navy); }
p { margin: 0; }

.wrap { max-width: calc(var(--wrap) + 48px); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
.band { padding-block: clamp(56px, 8vw, 96px); }
.band--mist { background: var(--mist); }
.band--navy { background: var(--navy); color: var(--white); }
.band--deep { background: var(--navy-deep); color: var(--white); }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack--lg { gap: 40px; }
.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-ink); }
.band--navy .eyebrow, .band--deep .eyebrow, .hero .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40rem; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 46rem; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: 6px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; }
.btn--solid { background: var(--navy); color: var(--white); }
.btn--solid:hover { background: var(--navy-deep); color: var(--white); }
.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--mist); color: var(--navy); }
.btn--ghost { border-color: currentColor; color: var(--white); }
.btn--ghost:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.textlink { font-weight: 700; text-decoration: none; }
.textlink:hover { text-decoration: underline; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 50; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 6px; }
.skip:focus { left: 16px; color: var(--white); }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--white); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 20px; font-weight: 600; font-size: 1rem; }
.nav a { color: var(--ink); text-decoration: none; white-space: nowrap; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); box-shadow: inset 0 -2px 0 var(--navy); }
.nav .btn { color: var(--white); box-shadow: none; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 10px; padding: 0 16px; border: 1.5px solid var(--navy); border-radius: 6px; font-weight: 700; color: var(--navy); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,26,68,0.16); padding: 10px; display: flex; flex-direction: column; }
.menu nav a { padding: 12px 14px; border-radius: 6px; text-decoration: none; color: var(--ink); font-weight: 600; }
.menu nav a:hover, .menu nav a[aria-current="page"] { background: var(--mist); color: var(--navy); }
.menu nav .btn { margin-top: 8px; color: var(--white); }
@media (max-width: 1360px) { .nav { display: none; } .menu { display: block; } .logo img { height: 40px; } .site-header .wrap { min-height: 70px; } }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--navy); color: var(--white); }
.hero .wrap { position: relative; padding-block: clamp(64px, 9vw, 112px); }
.hero p { color: var(--on-navy); font-size: 1.22rem; max-width: 38rem; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-photo { position: relative; justify-self: end; width: min(100%, 440px); }
.hero-photo > img:not(.hero-badge) { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,0.25); }
.hero-badge { position: absolute; left: -28px; bottom: -28px; width: 116px; height: 116px; border-radius: 50%; background: var(--navy); padding: 6px; }
.hero--photo .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--photo .hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,26,68,0.95) 0%, rgba(0,44,111,0.82) 55%, rgba(0,44,111,0.4) 100%); }
.breadcrumb { font-size: 0.95rem; color: var(--on-navy); }
.breadcrumb a { color: var(--on-navy); }
.facts { border-top: 1px solid rgba(255,255,255,0.18); }
.facts .wrap { display: flex; flex-wrap: wrap; gap: 20px 56px; padding-block: 26px; color: var(--on-navy); font-size: 0.95rem; }
.facts strong { display: block; font-family: var(--body); font-weight: 700; font-size: 1.9rem; color: var(--white); line-height: 1.15; font-variant-numeric: lining-nums; }
.tagline { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--gold); }
.sans { font-family: var(--body); font-weight: 700; font-size: 0.86em; letter-spacing: 0; }

/* Top bar */
.topbar { background: var(--navy-deep); color: var(--on-navy); font-size: 0.9rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 20px; min-height: 38px; padding-block: 6px; }
.topbar strong { color: var(--gold); letter-spacing: 0.04em; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: var(--white); }

/* Emergency band */
.emergency { background: var(--gold); color: var(--navy-deep); }
.emergency .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; padding-block: 32px; }
.emergency .em-text { display: flex; gap: 18px; align-items: flex-start; flex: 999 1 520px; min-width: 0; }
.emergency svg { flex: none; width: 44px; height: 44px; fill: none; stroke: var(--navy-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.emergency h2 { color: var(--navy-deep); font-size: clamp(1.7rem, 3vw, 2.3rem); }
.emergency p { color: var(--navy-deep); font-size: 1.05rem; margin-top: 6px; max-width: 46rem; }
.emergency .btn--solid { background: var(--navy-deep); }
.emergency .btn--outline { border-color: var(--navy-deep); color: var(--navy-deep); }

/* Five division cards: 3 over 2 */
.cards.cards--five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cards.cards--five > * { grid-column: span 2; }
.cards.cards--five > :nth-child(n+4) { grid-column: span 3; }
.cards.cards--five > :nth-child(n+4) img { aspect-ratio: 21 / 9; }
@media (max-width: 960px) { .cards.cards--five { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards.cards--five > *, .cards.cards--five > :nth-child(n+4) { grid-column: span 1; } .cards.cards--five > :nth-child(n+4) img { aspect-ratio: 16 / 10; } .cards.cards--five > :last-child { grid-column: 1 / -1; } }
@media (max-width: 600px) { .cards.cards--five { grid-template-columns: 1fr; } }

/* Zones */
.zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.zone { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; }
.zone strong { font-family: var(--display); font-size: 1.75rem; line-height: 1.1; color: var(--navy); }
.zone span { color: var(--muted); }
.zone--home { background: var(--navy); color: var(--white); }
.zone--home strong { color: var(--white); }
.zone--home span { color: var(--on-navy); }
.photo-band .zone--home { border: 1px solid rgba(255,255,255,0.5); }

/* Trust strip */
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.trust strong { color: var(--navy); }

/* Legal pages */
.legal-copy { max-width: 46rem; display: flex; flex-direction: column; gap: 14px; }
.legal-copy h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 18px; }
.legal-copy ul { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 4px; }

/* Member badges */
.badges { background: var(--white); border-radius: 8px; padding: 10px 14px; display: inline-block; }
.badges img { width: 280px; height: auto; }
.key-border { display: block; width: 100%; height: 18px; }
@media (max-width: 860px) { .hero-split { grid-template-columns: 1fr; } .hero-photo { justify-self: start; width: min(100%, 360px); margin-left: 28px; } }

/* Customers */
.customers { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.customers li { list-style: none; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 14px 20px; font-weight: 700; color: #3A4458; }
.customers { margin: 0; padding: 0; }
.center { align-items: center; text-align: center; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); background: var(--white); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,26,68,0.12); color: var(--ink); }
.card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 24px 24px 26px; flex: 1; }
.card-body p { color: var(--muted); }
.card-body .more { margin-top: auto; font-weight: 700; color: var(--navy); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tile { display: flex; gap: 18px; align-items: center; background: var(--mist); border-radius: var(--radius); padding: 22px 26px; text-decoration: none; color: var(--ink); }
.tile strong { display: block; font-size: 1.15rem; color: var(--navy); }
.tile span { color: var(--muted); }
.tile svg { flex: none; width: 34px; height: 34px; }

/* Reasons / steps */
.reasons { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 40px; margin: 0; padding: 0; list-style: none; }
.reasons li { border-top: 2px solid var(--navy); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.reasons .num { font-family: var(--body); font-size: 1.1rem; font-weight: 700; color: var(--gold-ink); font-variant-numeric: lining-nums; }
.reasons strong { font-size: 1.15rem; color: var(--navy); }
.reasons span { color: var(--muted); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 56px; }
.motto { font-family: var(--display); font-style: italic; font-size: 1.75rem; color: #3A4458; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* Feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.feature > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.feature--flip > img { order: 2; }
.feature p { color: var(--muted); }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; gap: 28px; } .feature--flip > img { order: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { background: var(--mist); border-radius: 999px; padding: 6px 14px; font-size: 0.95rem; }
.checklist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px 28px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 14px; height: 8px; border-left: 2.5px solid var(--navy); border-bottom: 2.5px solid var(--navy); transform: rotate(-45deg); }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }

/* Photo band */
.photo-band { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--white); }
.photo-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: rgba(0,26,68,0.84); }
.photo-band .wrap { position: relative; z-index: 1; }
.photo-band h2 { color: var(--white); }
.ports { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.port { background: var(--white); color: var(--navy); border-radius: var(--radius); padding: 26px; text-decoration: none; display: flex; flex-direction: column; gap: 4px; }
.port strong { font-family: var(--display); font-size: 1.75rem; line-height: 1.1; }
.port span { color: var(--muted); }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.on-navy { color: var(--on-navy); }
.band--navy h2, .band--deep h2 { color: var(--white); }

/* Yacht departments */
.depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.dept { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 10px; background: var(--white); }
.dept svg { width: 40px; height: 40px; fill: none; stroke: var(--navy); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dept h3 { font-size: 1.6rem; }
.dept p { color: var(--muted); }
.dept--accent { background: var(--navy); border-color: var(--navy); }
.dept--accent h3 { color: var(--white); }
.dept--accent p { color: var(--on-navy); }
.dept--accent svg { stroke: var(--gold); }

/* Quote form */
.quote-form { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.fields label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.fields .wide { grid-column: 1 / -1; }
.fields input, .fields select, .fields textarea { font: inherit; font-weight: 400; color: var(--ink); background: var(--white); border: 1.5px solid #C9CFDA; border-radius: 6px; min-height: 48px; padding: 10px 12px; width: 100%; }
.fields input[type="file"] { padding: 10px; }
.fields input:focus, .fields select:focus, .fields textarea:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(0,44,111,0.15); }
.quote-form .btn { align-self: flex-start; min-width: 220px; }
@media (max-width: 640px) { .fields { grid-template-columns: 1fr; } .quote-form .btn { align-self: stretch; } }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy); font-size: 0.95rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr; gap: 40px 48px; padding-block: 64px 40px; }
.site-footer strong { color: var(--white); display: block; margin-bottom: 10px; }
.site-footer a { color: var(--on-navy); text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--white); }
.site-footer .contact a { color: var(--white); }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,0.18); }
.site-footer .legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px; font-size: 0.88rem; }
.site-footer .legal a { display: inline; color: var(--white); }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer .cols { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }

/* ===== Facility photos (2026-10-20) ===== */
.facility { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.facility figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--mist); }
.facility figure.big { grid-column: span 2; grid-row: span 2; }
.facility figure.wide { grid-column: span 2; }
.facility img { width: 100%; height: 100%; object-fit: cover; display: block; }
.facility figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 10px; font-size: 0.9rem; font-weight: 600; color: #fff; background: linear-gradient(transparent, rgba(0,26,68,0.85)); }
.hero-portrait { width: min(100%, 420px); justify-self: center; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); border: 4px solid rgba(255,255,255,0.12); }
.panel-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--radius) - 2px); display: block; margin-bottom: 18px; }
.split-photo { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.split-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 900px) {
  .facility { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; }
  .split-photo { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
  .facility { grid-auto-rows: 130px; }
  .facility figure.big { grid-row: span 1; }
}

.logo-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; width: 100%; }
.logo-wall li { background: #fff; border: 1px solid var(--line); border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.logo-wall img { width: 100%; height: auto; max-width: 180px; display: block; }
@media (max-width: 900px) { .logo-wall { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px) { .logo-wall { grid-template-columns: repeat(3, 1fr); gap: 8px; } .logo-wall li { padding: 6px; } }

/* Emergency nav link */
.nav a.nav-em, .menu a.nav-em { color: var(--gold-ink); font-weight: 700; }
.nav a.nav-em:hover, .nav a.nav-em[aria-current="page"] { color: var(--gold-ink); box-shadow: inset 0 -2px 0 var(--gold-ink); }
@media (max-width: 1100px) and (min-width: 861px) { .site-footer .cols { grid-template-columns: 1fr 1fr 1fr; } }
