/* ============================================================
   SEASTREAM MEDIA — LOCKED BRAND FOUNDATION
   Extracted verbatim from the live site (seastreammedia.com).
   Shared by all three concepts. Do not alter values in this file:
   concept differences live in each concept's own stylesheet.
   ============================================================ */

:root {
  /* ---- Brand colour (LOCKED) ---- */
  --ss-turquoise: #00A99D;
  --ss-turquoise-600: #008C82;
  --ss-turquoise-400: #33BCB1;
  --ss-turquoise-100: #E6F7F5;
  --ss-blue: #004D68;
  --ss-blue-700: #003B52;
  --ss-blue-100: #E6EDF0;
  --ss-navy: #002335;
  --ss-navy-800: #001724;
  --ss-navy-600: #1A3A4A;

  /* ---- Ink scale (LOCKED, blue-tinted) ---- */
  --ss-ink-900: #0B1C26;
  --ss-ink-700: #2B3A44;
  --ss-ink-500: #5E6A73;
  --ss-ink-400: #7D7D7D;
  --ss-ink-300: #A6ACB1;
  --ss-ink-200: #D4D7DA;
  --ss-ink-100: #E9EBED;
  --ss-ink-50: #F4F5F6;
  --ss-ink-0: #FFFFFF;

  --ss-danger: #C8443A;
  --ss-success: #1EB182;

  /* ---- Semantic aliases ---- */
  --fg-1: var(--ss-ink-900);
  --fg-2: var(--ss-ink-700);
  --fg-3: var(--ss-ink-500);
  --fg-muted: var(--ss-ink-400);
  --fg-inverse: #FFFFFF;
  --fg-brand: var(--ss-turquoise);
  --bg-canvas: #FFFFFF;
  --bg-surface: var(--ss-ink-50);
  --border-1: var(--ss-ink-200);
  --border-2: var(--ss-ink-100);

  /* ---- Type (LOCKED families) ---- */
  --font-sans: 'Montserrat', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: Georgia, 'Times New Roman', Times, serif;
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --tracking-eyebrow: 0.16em;

  /* ---- Radius (LOCKED, deliberately tight) ---- */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;

  /* ---- Elevation (LOCKED, navy-tinted) ---- */
  --shadow-1: 0 1px 2px rgba(0,35,53,.06), 0 1px 1px rgba(0,35,53,.04);
  --shadow-2: 0 2px 6px rgba(0,35,53,.06), 0 1px 2px rgba(0,35,53,.04);
  --shadow-3: 0 8px 24px rgba(0,35,53,.08), 0 2px 6px rgba(0,35,53,.04);
  --shadow-focus: 0 0 0 3px rgba(0,169,157,.28);

  /* ---- Motion (LOCKED) ---- */
  --ease-standard: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 320ms;

  /* ---- Layout ---- */
  --nav-h: 72px;
  --container-max: 1220px;
}

/* ---- Self-hosted Montserrat (brand typeface, served locally
        instead of the Google Fonts CDN — see guidelines §10.1) ---- */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                 U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                 U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--fg-2);
  background: var(--bg-canvas);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}
h1, h2, h3, h4, h5 { margin: 0; color: var(--fg-1); font-weight: 700; line-height: 1.1; letter-spacing: -0.015em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* ---- Accessibility: focus treatment (LOCKED) ---- */
:focus-visible {
  outline: 2px solid var(--ss-turquoise);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ss-navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--radius-sm) 0; font-size: 14px; font-weight: 600;
}
.skip-link:focus { left: 0; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ============================================================
   SHARED BRAND COMPONENTS
   ============================================================ */

/* ---- The eyebrow motif (LOCKED — strongest non-logo brand asset) ---- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--fg-brand);
  margin: 0 0 20px 0;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--ss-turquoise);
  flex: none;
}
.on-dark .eyebrow { color: var(--ss-turquoise-400); }
.on-dark .eyebrow::before { background: var(--ss-turquoise-400); }

/* ---- Buttons (LOCKED: 4px radius, 44px min target) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  min-height: 44px;
  white-space: nowrap;
  transition: background var(--dur-base) var(--ease-standard),
              color var(--dur-base) var(--ease-standard),
              border-color var(--dur-base) var(--ease-standard),
              transform var(--dur-fast) var(--ease-standard);
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 14px 22px; font-size: 15px; min-height: 48px; }
.btn-primary { background: var(--ss-turquoise); color: #fff; }
.btn-primary:hover { background: var(--ss-turquoise-600); }
.btn-secondary { background: #fff; color: var(--ss-navy); border-color: var(--border-1); }
.btn-secondary:hover { border-color: var(--ss-ink-300); }
.btn-ghost { background: transparent; color: var(--ss-navy); padding-left: 0; padding-right: 0; }
.on-dark .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,.32); }
.on-dark .btn-secondary:hover { border-color: rgba(255,255,255,.6); }

/* ---- Arrow affordance ---- */
.arr { transition: transform var(--dur-base) var(--ease-standard); }
a:hover .arr, .btn:hover .arr { transform: translateX(3px); }

/* ---- Dark sections (navy punctuation, never black) ---- */
.on-dark { background: var(--ss-navy); color: rgba(255,255,255,.76); }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
}

/* ---- Logo sizing ---- */
.logo { height: 30px; width: auto; }

/* ============================================================
   CONCEPT-SWITCHER BAR (preview chrome only — not part of the design)
   ============================================================ */
.cx-bar {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; gap: 4px;
  padding: 8px 16px;
  background: var(--ss-navy-800);
  border-bottom: 1px solid rgba(255,255,255,.1);
  font-size: 12px;
  overflow-x: auto;
}
.cx-bar__label {
  color: rgba(255,255,255,.45);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-right: 8px;
  white-space: nowrap;
}
.cx-bar a {
  color: rgba(255,255,255,.7);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-standard), color var(--dur-fast);
}
.cx-bar a:hover { background: rgba(255,255,255,.08); color: #fff; }
.cx-bar a[aria-current="true"] { background: var(--ss-turquoise); color: #fff; }
.cx-bar__sp { flex: 1; }

@media (max-width: 900px) {
  .container { padding: 0 28px; }
}
@media (max-width: 600px) {
  .container { padding: 0 20px; }
}

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