/* Follows the TSA Business Brand Deck 2026: #141414 ground, white type,
   Avenir uppercase headings (Nunito Sans on machines without Avenir), Poppins ExtraBold
   for big display lines, white outline buttons, thin white rules, full-bleed photography,
   orange used only for location dots. Single dark look, matching the deck. */
:root {
  --bg: #141414;
  --bg-2: #1c1c1c;
  --panel: #232323;
  --white: #ffffff;
  --grey: #dbdcdd;
  --muted: #a3a4a7;
  --rule: rgba(255, 255, 255, 0.85);
  --hair: rgba(255, 255, 255, 0.16);
  --orange: #e28723;
  --paper: #ffffff;
  --ink: #141414;

  --f-head: "Avenir Next", Avenir, "Nunito Sans", "Helvetica Neue", Arial, sans-serif;
  --f-display: Poppins, "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  --f-body: "Avenir Next", Avenir, "Nunito Sans", "Helvetica Neue", Arial, sans-serif;

  --s-display: clamp(2.8rem, 8vw, 6.8rem);
  --s-1: clamp(2rem, 4.6vw, 3.6rem);
  --s-2: clamp(1.15rem, 1.6vw, 1.35rem);
  --s-body: 1.0625rem;
  --s-small: 0.875rem;

  --wrap: 1240px;
  --gut-l: max(20px, env(safe-area-inset-left, 0px));
  --gut-r: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--bg); color: var(--white);
  font: 500 var(--s-body)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
p { margin: 0; max-width: 64ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
.band { padding-block: clamp(64px, 9vw, 120px); }
.band--paper { background: var(--paper); color: var(--ink); }

/* Deck-style headings */
.kicker { font: 800 clamp(1.25rem, 2vw, 1.6rem)/1.1 var(--f-head); text-transform: uppercase; letter-spacing: 0.01em; margin: 0; }
.sub { font: 700 1rem/1.3 var(--f-head); text-transform: uppercase; letter-spacing: 0.02em; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; margin: 0; }
.caps { font: 700 var(--s-small)/1.35 var(--f-head); text-transform: uppercase; letter-spacing: 0.03em; }
.display { font: 800 var(--s-display)/0.92 var(--f-display); text-transform: uppercase; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h2.h { font: 800 var(--s-1)/1 var(--f-display); text-transform: uppercase; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h3 { font: 800 var(--s-2)/1.2 var(--f-head); text-transform: uppercase; margin: 0; letter-spacing: 0.01em; }
.lede { font-size: 1.15rem; line-height: 1.6; color: var(--grey); }
.band--paper .lede { color: #3d3e40; }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 72px); }

/* Buttons: white outline, uppercase (deck "VIEW BRAND") */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-decoration: none;
  font: 700 var(--s-small)/1 var(--f-head); text-transform: uppercase; letter-spacing: 0.04em;
  min-width: 200px; padding: 17px 26px; border: 1.5px solid var(--white); color: var(--white); background: transparent; cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.btn:hover { background: var(--white); color: var(--ink); }
.btn--solid { background: var(--white); color: var(--ink); }
.btn--solid:hover { background: transparent; color: var(--white); }
.band--paper .btn { border-color: var(--ink); color: var(--ink); }
.band--paper .btn:hover, .band--paper .btn--solid { background: var(--ink); color: var(--white); }
.btn--sm { min-width: 0; padding: 11px 16px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(20, 20, 20, 0.96); border-bottom: 1px solid var(--hair); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brandmark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brandmark img { width: 52px; height: 52px; }
.brandmark span { font: 400 1rem/1 var(--f-head); text-transform: uppercase; letter-spacing: 0.12em; white-space: nowrap; }
.brandmark span b { font-weight: 800; }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a { text-decoration: none; font: 700 0.8rem/1 var(--f-head); text-transform: uppercase; letter-spacing: 0.06em; color: var(--grey); }
.nav a:hover { color: var(--white); }
.nav .btn { color: var(--white); }
.nav .btn:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--white); color: var(--white); font: 700 0.8rem var(--f-head); text-transform: uppercase; letter-spacing: .06em; padding: 10px 14px; cursor: pointer; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--white); color: var(--ink); padding: 10px 14px; text-decoration: none; font-weight: 700; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* Hero: full-bleed photo */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,.35) 0%, rgba(20,20,20,.25) 45%, rgba(20,20,20,.92) 100%); }
.hero .wrap { position: relative; display: grid; gap: 28px; padding-block: clamp(120px, 20vw, 260px) clamp(48px, 7vw, 80px); }
.hero .display { max-width: 12ch; }
.hero .lede { color: var(--white); max-width: 54ch; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Who we are: icons over thin vertical rules (deck p.2) */
.who { text-align: center; }
.who .kicker { text-align: left; }
.who-statement { margin: clamp(40px, 6vw, 72px) auto; max-width: 54ch; font-size: clamp(1.15rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--white); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; max-width: 980px; margin: 0 auto; }
.stat { display: grid; justify-items: center; gap: 18px; }
.stat svg { width: 58px; height: 58px; }
.stat .line { width: 1.5px; height: 96px; background: var(--rule); }
.stat .caps { font-size: 0.95rem; max-width: 16ch; }

/* Brands we own: logo-led cards */
.owned { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.owned-card { position: relative; display: grid; align-content: end; min-height: clamp(420px, 52vw, 620px); overflow: hidden; text-decoration: none; background: var(--bg-2); }
.owned-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.owned-card:hover > img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .owned-card > img { transition: none; } .owned-card:hover > img { transform: none; } }
.owned-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,20,0) 30%, rgba(20,20,20,.9) 100%); }
.owned-card--studio::after { background: linear-gradient(180deg, rgba(20,20,20,0) 25%, rgba(20,20,20,.75) 55%, rgba(20,20,20,.95) 100%); }
.owned-body { position: relative; z-index: 1; display: grid; gap: 16px; padding: clamp(22px, 3vw, 36px); justify-items: start; }
.owned-body .wordmark { height: clamp(48px, 6vw, 76px); width: auto; max-width: 100%; }
.owned-body p { color: var(--grey); font-size: 1rem; }
.owned-body .btn { min-width: 180px; }

/* Licensed brands */
.licensed { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.lic-card { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); background: var(--bg-2); text-decoration: none; min-height: 300px; }
.lic-card .photo { position: relative; background: #f4f4f4; overflow: hidden; }
.lic-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.lic-body { display: grid; gap: 14px; align-content: center; justify-items: start; padding: clamp(22px, 3vw, 32px); }
.lic-body .wordmark { height: 40px; width: auto; max-width: 100%; }
.lic-body p { color: var(--grey); font-size: 0.98rem; }

/* Partner logo wall (deck p.8) */
.logo-wall { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px 48px; align-items: center; justify-items: center; padding-block: 48px; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.logo-wall img { max-height: 54px; width: auto; opacity: .92; }
.people-list { display: grid; gap: 10px; margin-top: 8px; }
.people-list li { font: 700 0.95rem/1.35 var(--f-head); text-transform: uppercase; letter-spacing: .02em; }
.people-list ul, ul.people-list { list-style: none; margin: 0; padding: 0; }
.partners-text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 48px; }
.partners-text > div { display: grid; gap: 16px; align-content: start; }

/* Offerings: full-bleed photo band with big display list (deck "OFFERINGS") */
.offer { position: relative; overflow: hidden; }
.offer-photo { position: absolute; inset: 0; }
.offer-photo img { width: 100%; height: 100%; object-fit: cover; }
.offer-photo::after { content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.72); }
.offer .wrap { position: relative; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1.5px solid var(--rule); }
.service { padding: 28px 28px 34px 0; display: grid; gap: 12px; align-content: start; border-bottom: 1px solid var(--hair); }
.service:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--hair); }
.service p { color: var(--grey); font-size: 1rem; }

/* Global reach */
.reach { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.market { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 1.5px solid var(--rule); }
.market .where { display: flex; align-items: center; gap: 10px; }
.market .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(226,135,35,.2); }
.market .time { display: grid; gap: 6px; }
.market .clock { font: 700 1.9rem/1 var(--f-display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.market .clock .ampm { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; margin-left: 2px; }
.market .city { font: 700 0.78rem/1.2 var(--f-head); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.market ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--grey); font-size: .95rem; }
.ship-note { margin-top: 40px; display: flex; align-items: center; gap: 12px; color: var(--grey); }

/* Retailer logins */
.portals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.portal { display: grid; gap: 14px; align-content: start; justify-items: start; padding: 28px; border: 1.5px solid var(--hair); background: var(--bg-2); }
.portal-head { display: flex; align-items: center; gap: 10px; }
.portal .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(226,135,35,.2); }
.portal-url { color: var(--muted); font-size: .9rem; overflow-wrap: anywhere; }
.portal-alt { color: var(--grey); text-decoration: underline; text-underline-offset: 3px; font-size: .78rem; }
.portal-alt:hover { color: var(--white); }
.portal-contact { display: grid; gap: 2px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--hair); width: 100%; }
.portal-contact .caps { color: var(--muted); font-size: .72rem; }
.portal-contact a { color: var(--grey); font-size: .95rem; text-decoration: none; overflow-wrap: anywhere; }
.portal-contact a:hover { color: var(--white); text-decoration: underline; }
.portal-note { margin-top: 32px; color: var(--grey); }
.portal-note a { color: var(--white); font-weight: 700; }

/* Group structure (deck "SEASAVE GROUP STRUCTURE") */
.tree { display: grid; justify-items: center; gap: 0; overflow-x: auto; padding-bottom: 8px; }
.node { background: var(--white); color: var(--ink); padding: 12px 18px; text-align: center; min-width: 120px; }
.node strong { display: block; font: 800 1rem/1.1 var(--f-head); text-transform: uppercase; }
.node span { display: block; font: 600 0.72rem/1.25 var(--f-head); text-transform: uppercase; letter-spacing: .02em; color: #55565a; margin-top: 3px; }
.node--top strong { font-size: 1.4rem; }
.node--tag { background: transparent; color: var(--white); border: 1.5px solid var(--white); padding: 6px 14px; min-width: 0; }
.node--tag strong { font-size: .8rem; letter-spacing: .08em; }
.vline { width: 1.5px; height: 28px; background: var(--rule); }
.tree-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 32px; width: 100%; min-width: 760px; position: relative; }
.branch { display: grid; justify-items: center; }
.branch-row { display: flex; gap: 14px; justify-content: center; position: relative; padding-top: 28px; }
.branch-row::before { content: ""; position: absolute; top: 0; left: var(--l, 60px); right: var(--r, 60px); height: 1.5px; background: var(--rule); }
.branch-row .node { position: relative; }
.branch-row .node::before { content: ""; position: absolute; top: -28px; left: 50%; width: 1.5px; height: 28px; background: var(--rule); }
.tree-top-rule { position: relative; width: 100%; min-width: 760px; height: 28px; }
.tree-split .branch { padding-top: 0; }
.tree-top-rule i { position: absolute; top: 0; height: 1.5px; background: var(--rule); }
.branch > .node--tag { position: relative; }
.branch > .node--tag::before { content: ""; position: absolute; bottom: 100%; left: 50%; width: 1.5px; height: 28px; background: var(--rule); }
.legend { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 40px; margin-top: 40px; border-top: 1px solid var(--hair); padding-top: 22px; }
.legend li { font: 600 .82rem/1.4 var(--f-head); text-transform: uppercase; color: var(--grey); }
.legend li b { color: var(--white); }
.legend, .legend ul { list-style: none; padding-left: 0; margin-bottom: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 80px); }
.contact-copy { display: grid; gap: 22px; align-content: start; }
.people { display: grid; gap: 20px; margin-top: 8px; }
.person { display: grid; gap: 2px; }
.person a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
label { display: grid; gap: 6px; font: 700 0.78rem/1.2 var(--f-head); text-transform: uppercase; letter-spacing: .05em; }
input, select, textarea {
  font: 500 1rem var(--f-body); color: var(--ink); background: #f4f4f4;
  border: 1.5px solid #d6d7d8; border-radius: 0; padding: 13px 14px; width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 0; border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: var(--s-small); min-height: 1.4em; }
.form-status.ok { color: #1f7a45; }
.form-status.err { color: #b23b22; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--hair); padding-block: 56px 36px; font-size: var(--s-small); color: var(--muted); }
.site-footer .wrap { display: grid; gap: 36px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 28px; }
.foot-top h4 { margin: 0 0 14px; font: 800 .8rem var(--f-head); text-transform: uppercase; letter-spacing: .08em; color: var(--white); }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-top a { text-decoration: none; }
.foot-top a:hover { color: var(--white); }
.foot-logo { width: 84px; height: 84px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; border-top: 1px solid var(--hair); padding-top: 24px; }

/* Simple pages */
.doc { max-width: 760px; display: grid; gap: 18px; }
.doc h2 { font: 800 1.1rem var(--f-head); text-transform: uppercase; margin-top: 18px; }

/* Responsive */
@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .service:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--hair); }
  .reach { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
  .licensed { grid-template-columns: minmax(0, 1fr); }
  .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .foot-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: var(--bg); padding: 8px var(--gut-r) 22px var(--gut-l); border-bottom: 1px solid var(--hair); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: .95rem; width: 100%; }
  .nav .btn { width: auto; margin-top: 8px; padding: 12px 16px; }
  .nav-toggle { display: inline-block; }
  .owned { grid-template-columns: minmax(0, 1fr); }
  .owned-card { min-height: 600px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .stat .line { height: 56px; }
  .partners-text { grid-template-columns: minmax(0, 1fr); }
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .legend { grid-template-columns: minmax(0, 1fr); }
  .lic-card { grid-template-columns: minmax(0, 1fr); }
  .lic-card .photo { aspect-ratio: 4 / 3; max-width: 100%; }
  .brandmark span { font-size: .85rem; letter-spacing: .08em; }
  .brandmark img { width: 42px; height: 42px; }
}
@media (max-width: 520px) {
  .services, .reach, .portals { grid-template-columns: minmax(0, 1fr); }
  .service:nth-child(even) { padding-left: 0; border-left: 0; }
  .logo-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .foot-top { grid-template-columns: minmax(0, 1fr); }
  .btn { min-width: 0; }
}
