/* InSeason Interactive — corporate site. Single stylesheet, no build step. */
:root {
  --bg: #fafaf8;
  --surface: #ffffff;
  --ink: #0a1f33;
  --ink-soft: #3d4b5a;
  --muted: #6b7280;
  --line: #d9ddd9;
  --line-strong: #b9c0ba;
  --accent: #0a1f33; /* corporate navy; no secondary brand color yet */
  --accent-ink: #3d4b5a;
  --navy-hover: #17324e;
  --max: 1120px;
  --gutter: clamp(20px, 5vw, 48px);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.02em; }

:focus-visible { outline: 3px solid #2f6fb0; outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }

/* Wordmark. To use a logo later, replace the .brand-text span with an <img> or inline <svg class="brand-logo">. */
.brand { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; line-height: 1; }
.brand-text { font-weight: 700; font-size: 1.0625rem; letter-spacing: -0.01em; }
.brand-text span { font-weight: 400; color: var(--ink-soft); }
.brand-logo { height: 28px; width: auto; }

.nav ul { display: flex; gap: clamp(16px, 4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav a { text-decoration: none; font-size: 0.9375rem; font-weight: 500; color: var(--ink-soft); padding: 8px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--ink); border-bottom-color: var(--accent); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero .wrap { position: relative; padding-block: clamp(72px, 14vw, 168px) clamp(64px, 11vw, 128px); }
/* Court markings never share space with text: beside the copy on wide screens, in a strip below it otherwise. */
.hero-lines { position: absolute; color: var(--ink); opacity: .2; pointer-events: none; overflow: visible; }
.hero-lines-wide { display: none; }
.hero-lines-narrow { display: block; left: 0; bottom: 0; width: 100%; height: 220px; opacity: .22; overflow: hidden;
  -webkit-mask-image: linear-gradient(to top, #000 45%, transparent); mask-image: linear-gradient(to top, #000 45%, transparent); }
.hero .wrap { padding-bottom: 260px; }
.hero-lines .draw { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.8s ease-out 0.15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (min-width: 1100px) {
  .hero-lines-narrow { display: none; }
  /* Open geometry, no boundary: dissolves into the page and runs off the right edge. */
  .hero-lines-wide { display: block; top: 50%; right: -8%; width: 52%; height: auto; transform: translateY(-50%);
    -webkit-mask-image: radial-gradient(ellipse 62% 70% at 62% 50%, #000 25%, transparent 100%);
    mask-image: radial-gradient(ellipse 62% 70% at 62% 50%, #000 25%, transparent 100%); }
  .hero .wrap { padding-bottom: clamp(64px, 11vw, 128px); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }

.hero h1 {
  margin-top: 24px; max-width: 12ch;
  font-size: clamp(2.6rem, 7.2vw, 5.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02;
}
.hero-copy { margin-top: 28px; max-width: 30em; font-size: clamp(1.125rem, 2vw, 1.3125rem); color: var(--ink-soft); }
.hero-cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 24px; font: inherit; font-size: 0.9375rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; border: 1.5px solid var(--ink); border-radius: 2px;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); border-color: var(--navy-hover); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: #fff; }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 120px); border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.section h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 700; }
.section-label {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 12px; margin-bottom: 20px;
}
.section-label::before { content: ""; width: 28px; height: 1px; background: var(--line-strong); }

.split { display: grid; gap: clamp(32px, 6vw, 80px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px) { .split { grid-template-columns: 1.2fr 1fr; align-items: start; } }
.split h2 { text-wrap: balance; }
.prose p + p { margin-top: 1.1em; }
.prose p { color: var(--ink-soft); max-width: 40em; }
.prose .lead { font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }

/* Products */
.products-intro { margin-top: 20px; max-width: 40em; color: var(--ink-soft); }
.products::before { content: ""; position: absolute; top: -48px; left: 24px; width: 1px; height: 48px; background: var(--line-strong); }
.card-kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.products { position: relative; display: grid; gap: 24px; margin-top: 48px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .products { grid-template-columns: 3fr 2fr; } }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); padding: clamp(28px, 4vw, 44px);
  display: flex; flex-direction: column; min-height: 300px;
}
.card::before { /* court-corner mark */
  content: ""; position: absolute; top: -1px; left: -1px; width: 40px; height: 40px;
  border-top: 3px solid var(--ink); border-left: 3px solid var(--ink);
}
.card .card-kicker + h3 { margin-top: 0; }
.card h3 { font-size: 1.75rem; font-weight: 800; letter-spacing: 0.04em; }
.card p { margin-top: 18px; color: var(--ink-soft); }
.card-meta { margin-top: auto; padding-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  font-size: 0.8125rem; font-weight: 600; color: var(--ink);
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.domain { font-size: 0.9375rem; color: var(--muted); font-weight: 500; }
.card-future { background: transparent; border-style: dashed; border-color: var(--line-strong); justify-content: center; align-items: flex-start; }
.card-future::before { display: none; }
.card-future h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-soft); }
.card-future p { margin-top: 10px; color: var(--muted); font-size: 0.9375rem; }

/* Principles */
.principles { list-style: none; padding: 0; margin: 48px 0 0; display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--line-strong); }
@media (min-width: 820px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principles li { padding: 32px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 820px) {
  .principles li { padding: 36px 32px 8px 0; border-bottom: 0; }
  .principles li + li { padding-left: 32px; border-left: 1px solid var(--line); }
}
.principles .num { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.14em; color: var(--muted); }
.principles h3 { margin-top: 14px; font-size: 1.5rem; font-weight: 700; }
.principles p { margin-top: 12px; color: var(--ink-soft); }

/* Contact */
.contact { background: var(--ink); color: #fff; border-bottom: 0; position: relative; overflow: hidden; }
.contact .section-label { color: #9fb0c0; }
.contact .section-label::before { background: #4a6178; }
.contact p { color: #c9d3dc; max-width: 32em; margin-top: 20px; font-size: 1.125rem; }
.contact-link {
  display: inline-block; margin-top: 36px; color: #fff; font-weight: 700; text-decoration: none;
  font-size: clamp(1.25rem, 4.6vw, 2.5rem); letter-spacing: -0.02em; overflow-wrap: anywhere;
  border-bottom: 2px solid #6f87a0; padding-bottom: 6px;
}
.contact-link:hover { border-bottom-color: #fff; }
.contact :focus-visible { outline-color: #9cc4ec; }
.contact-lines { position: absolute; right: -80px; bottom: -120px; width: 520px; color: #fff; opacity: .08; pointer-events: none; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding-block: 40px; font-size: 0.9375rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 48px; }
.footer-name { color: var(--ink); font-weight: 600; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 0; margin: 0; }
.site-footer a { text-decoration: none; color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { margin-top: 6px; font-size: 0.875rem; }

/* Legal pages */
.legal { padding-block: clamp(56px, 9vw, 104px); }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.03em; }
.legal .updated { margin-top: 12px; color: var(--muted); font-size: 0.9375rem; }
.legal h2 { margin-top: 44px; font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em; }
.legal p, .legal li { margin-top: 12px; color: var(--ink-soft); }
.legal ul { padding-left: 1.25em; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.back { display: inline-block; margin-bottom: 32px; font-size: 0.9375rem; color: var(--ink-soft); text-decoration: none; }
.back:hover { color: var(--ink); text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-lines .draw { animation: none; stroke-dashoffset: 0; }
}
