/* DOMENSI — static site styles (Ocean palette) */

/* ---------- Fonts (self-hosted, no external requests) ---------- */
/* Hanken Grotesk is a variable font: one file covers weights 400–800. */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/hanken-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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/fonts/hanken-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;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/spacemono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/spacemono-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;
}

:root {
  --bg: #f3eee4;
  --surface: #fbf8f2;
  --ink: #15202b;
  --muted: #5c6770;
  --accent: #2f6f97;        /* AA on light backgrounds */
  --accent-dark: #6fb1d8;   /* AA on the dark partner band */
  --accent-ink: #fbf8f2;
  --line: rgba(21, 32, 43, .12);
  --line-soft: rgba(21, 32, 43, .08);
  --ph: #e8e1d4;
  --phline: rgba(21, 32, 43, .06);
  --r: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  font-family: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }

.mono {
  font-family: 'Space Mono', ui-monospace, monospace;
}

.eyebrow {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.eyebrow--hero { margin-bottom: 24px; }
.eyebrow--on-dark { color: var(--accent-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-name { font-weight: 800; font-size: 21px; letter-spacing: -.03em; }
.brand-domain {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s; }
.nav-link:hover { color: var(--ink); }

.lang { display: flex; gap: 4px; padding-left: 4px; }
.lang-btn {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: .06em;
  padding: 6px 11px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all .15s;
}
.lang-btn:hover { color: var(--ink); }
.lang-btn.active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--bg);
}

/* Mobile nav (CSS-only) */
.nav-toggle { display: none; }
.burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  cursor: pointer;
}
.burger svg { display: block; }
.burger .icon-close { display: none; }
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .10);
  padding: 6px 24px 22px;
  flex-direction: column;
}
.nav-mobile a {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  padding: 17px 2px;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile .lang { padding: 20px 0 0; gap: 10px; }
.nav-mobile .lang-btn { flex: 1; padding: 13px 0; font-size: 14px; text-align: center; }

@media (max-width: 759px) {
  .nav-desktop { display: none; }
  .burger { display: flex; }
  .nav-toggle:checked ~ .burger .icon-open { display: none; }
  .nav-toggle:checked ~ .burger .icon-close { display: block; }
  .nav-toggle:checked ~ .nav-mobile { display: flex; }
}

/* ---------- Hero ---------- */
.hero { padding-top: 56px; padding-bottom: 88px; }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 440px; min-width: 300px; }
.hero h1 {
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 78px);
  line-height: 1.0;
  letter-spacing: -.025em;
  margin: 0 0 26px;
  text-wrap: balance;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 34px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  font-size: 15px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: var(--r);
  transition: all .15s;
  display: inline-block;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.07); }
.btn-ghost { border: 1px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

.hero-figure { flex: 1 1 400px; min-width: 300px; }
.figure {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, var(--phline), var(--phline) 1px, transparent 1px, transparent 11px),
    var(--ph);
  display: flex;
}
.figure--hero { min-height: clamp(340px, 48vh, 540px); align-items: flex-end; padding: 18px; }
.figure-cap {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg);
  padding: 6px 10px;
  border-radius: 6px;
}

/* ---------- Brands ---------- */
.brands {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.brands .wrap { padding-top: 64px; padding-bottom: 64px; }
.section-head { margin-bottom: 40px; }
.section-head h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 44px);
  letter-spacing: -.02em;
  margin: 0;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}
.brand-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  background: var(--bg);
  transition: border-color .15s;
}
.brand-card:hover { border-color: var(--accent); }
.brand-card-name { font-weight: 800; font-size: 28px; letter-spacing: -.02em; }
.brand-card-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.brand-card-tag {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.brand-card-arrow {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 14px;
  color: var(--accent);
}

/* ---------- Sports ---------- */
.sports .wrap { padding-top: 84px; padding-bottom: 84px; }
.sports-head { margin-bottom: 48px; max-width: 620px; }
.sports-head h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.sport { display: flex; flex-direction: column; }
.figure--sport {
  aspect-ratio: 4 / 3;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
}
.figure--sport .figure-cap { font-size: 10px; letter-spacing: .12em; padding: 5px 8px; border-radius: 5px; }
.sport-num { font-family: 'Space Mono', ui-monospace, monospace; font-size: 11px; color: var(--muted); }
.sport h3 { font-weight: 700; font-size: 20px; letter-spacing: -.01em; margin: 18px 0 8px; }
.sport p { font-size: 14.5px; line-height: 1.5; color: var(--muted); margin: 0; }

/* ---------- Partner band ---------- */
.partner { background: var(--ink); color: var(--bg); }
.partner .wrap {
  padding-top: 84px;
  padding-bottom: 84px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  justify-content: space-between;
}
.partner-copy { flex: 1 1 460px; min-width: 300px; }
.partner h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 46px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 0 0 20px;
  text-wrap: balance;
}
.partner-sub {
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.55;
  color: rgba(255, 255, 255, .74);
  max-width: 540px;
  margin: 0;
}
.btn-lg { font-size: 16px; padding: 18px 34px; white-space: nowrap; }
.btn-lg:hover { filter: brightness(1.08); }

/* ---------- Contact ---------- */
.contact .wrap { padding-top: 84px; padding-bottom: 64px; }
.contact-head { max-width: 620px; margin-bottom: 48px; }
.contact-head h2 {
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 60px);
  letter-spacing: -.025em;
  margin: 0 0 18px;
}
.contact-sub { font-size: clamp(15px, 1.3vw, 18px); line-height: 1.55; color: var(--muted); margin: 0; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 28px;
  background: var(--surface);
  display: block;
  transition: border-color .15s;
}
.contact-card:hover { border-color: var(--accent); }
.contact-label {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.contact-value {
  font-weight: 700;
  font-size: clamp(18px, 1.9vw, 24px);
  letter-spacing: -.01em;
  word-break: break-word;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  padding-top: 40px;
  padding-bottom: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}
.footer-brand { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.footer-brand .brand-name { font-size: 18px; }
.footer-tagline { font-size: 13.5px; color: var(--muted); }
.footer-meta {
  font-family: 'Space Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Video: hero ambient loop ---------- */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.figure--hero .figure-cap { position: relative; z-index: 2; }
.figure-link { transition: color .15s, border-color .15s; }
.figure-link:hover { color: var(--ink); }

/* ---------- Video: "In action" film section ---------- */
.film .wrap { padding-top: 0; padding-bottom: 84px; }
.film-head { max-width: 620px; margin-bottom: 32px; }
.film-head h2 {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 48px);
  letter-spacing: -.025em;
  margin: 0;
  text-wrap: balance;
}
.film-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 22px;
}
.film-item { margin: 0; }
.film-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(135deg, var(--phline), var(--phline) 1px, transparent 1px, transparent 11px),
    var(--ph);
}
.film-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #000;
}
