/* ScreenITology 2026 identity: Midnight Navy, Signal gradient (mint to cyan), Inter. */
@font-face { font-family: "Inter"; src: url("/fonts/inter-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --midnight: #061A35;
  --deep: #092746;
  --raised: #0E3158;
  --mint: #00DFA3;
  --cyan: #00BFF3;
  --ice: #F7FBFE;
  --mist: #E4EEF5;
  --slate: #627E96;      /* decorative only: fails AA as small text */
  --slate-text: #56708A; /* Slate darkened to pass AA on Ice and White (4.95:1) */
  --ink: #061A35;
  --on-dark: #C9D8E5;
  --white: #FFFFFF;
  --signal: linear-gradient(90deg, var(--mint), var(--cyan));
  --font: "Inter", Arial, Helvetica, sans-serif;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --max: 76rem;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ice); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); font-optical-sizing: auto; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--deep); text-underline-offset: 0.2em; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin: 0; }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); max-width: 20ch; }
h3 { font-size: 1.3rem; letter-spacing: -0.015em; }

.skip { position: absolute; left: -999px; top: 0; background: var(--mint); color: var(--midnight); padding: 0.75rem 1rem; z-index: 10; font-weight: 600; }
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* Header (sits on the dark hero) */
.top { background: var(--midnight); }
.top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem var(--pad); flex-wrap: wrap; }
.brand { display: block; line-height: 0; }
.brand img { height: 34px; width: auto; }
.top nav { display: flex; gap: 1.6rem; align-items: center; font-weight: 600; font-size: 0.95rem; }
.top nav a { color: var(--on-dark); text-decoration: none; }
.top nav a:hover { color: var(--white); }
.top nav .nav-cta { color: var(--midnight); background: var(--mint); padding: 0.55rem 1rem; border-radius: 999px; }
.top nav .nav-cta:hover { background: var(--white); color: var(--midnight); }
@media (max-width: 640px) { .top nav a:not(.nav-cta) { display: none; } .brand img { height: 28px; } }

/* Hero */
.hero { background: var(--midnight) url("/img/hex-tile.svg") repeat; background-size: 92px 80px; color: var(--white); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--signal); }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 80% at 78% 45%, rgba(0, 191, 243, 0.16), transparent 70%), linear-gradient(180deg, rgba(6, 26, 53, 0.55), rgba(6, 26, 53, 0.92)); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; padding: clamp(3rem, 9vw, 7rem) var(--pad) clamp(3.5rem, 9vw, 7.5rem); display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 7fr 4fr; } }
.eyebrow { font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.78rem; color: var(--mint); margin: 0 0 1.4rem; }
.eyebrow span { color: var(--on-dark); padding: 0 0.25em; }
.hero h1 { font-size: clamp(2.8rem, 7.2vw, 5.6rem); line-height: 1; letter-spacing: -0.04em; max-width: 12ch; }
.hero h1 em { font-style: normal; background: var(--signal); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(1.1rem, 1.8vw, 1.3rem); color: var(--on-dark); max-width: 36ch; margin: 1.6rem 0 2.2rem; }
.lede strong { color: var(--white); font-weight: 600; }
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem 1rem; margin: 0; }
.btn, .btn-ghost { display: inline-flex; align-items: center; min-height: 48px; padding: 0.8rem 1.5rem; border-radius: 999px; font: 600 1rem var(--font); text-decoration: none; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.btn { background: var(--mint); color: var(--midnight); border: 0; }
.btn:hover { background: var(--white); transform: translateY(-1px); }
.btn[disabled] { opacity: 0.6; cursor: wait; transform: none; }
.btn-ghost { color: var(--white); border: 1.5px solid rgba(201, 216, 229, 0.45); background: transparent; }
.btn-ghost:hover { border-color: var(--white); }
.hero-mark { justify-self: center; position: relative; }
.hero-mark img { width: clamp(150px, 22vw, 260px); filter: drop-shadow(0 24px 60px rgba(0, 191, 243, 0.28)); }
@media (max-width: 899px) { .hero-mark { display: none; } }

/* Sections */
section { scroll-margin-top: 1rem; }
.section-head { max-width: var(--max); margin: 0 auto 2.8rem; }
.kicker { font-weight: 700; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--deep); margin: 0 0 1rem; display: flex; gap: 0.75rem; align-items: center; }
.kicker::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--signal); }
.kicker span { color: var(--slate-text); }
.intro { max-width: 50ch; font-size: 1.15rem; color: #2C4560; margin: 1.2rem 0 0; }

/* The four pillars (PSST) */
.pillars { padding: clamp(4rem, 8vw, 6.5rem) var(--pad); }
.cards { list-style: none; margin: 0 auto; padding: 0; max-width: var(--max); display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.card { background: var(--white); border: 1px solid rgba(6, 26, 53, 0.07); border-radius: 18px; padding: 0 1.5rem 1.7rem; overflow: hidden; box-shadow: 0 1px 2px rgba(6, 26, 53, 0.04), 0 28px 50px -26px rgba(6, 26, 53, 0.34); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 1px 2px rgba(6, 26, 53, 0.05), 0 36px 60px -26px rgba(6, 26, 53, 0.42); }
.badge { display: grid; place-items: center; width: 52px; height: 58px; margin: -29px 0 1rem; position: relative; font-weight: 800; font-size: 1.35rem; color: var(--midnight); background: var(--signal); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.card p { margin: 0.6rem 0 0; color: #2C4560; }
.ask { font-size: 0.95rem; color: var(--slate-text) !important; border-top: 1px solid var(--mist); padding-top: 0.8rem; margin-top: 1rem !important; }
.psst { max-width: var(--max); margin: 3.5rem auto 0; background: var(--midnight); color: var(--white); font-weight: 600; font-size: clamp(1.1rem, 2.2vw, 1.45rem); line-height: 1.35; padding: 1.6rem 2rem; border-radius: var(--radius); border-left: 6px solid var(--mint); }
.psst span { color: var(--mint); font-weight: 800; }

/* How we work */
.how { padding: clamp(4rem, 8vw, 6.5rem) var(--pad); background: var(--white); border-top: 1px solid var(--mist); border-bottom: 1px solid var(--mist); }
.steps { list-style: none; padding: 0; margin: 0 auto; max-width: var(--max); display: grid; gap: 2rem; grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 700px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding-top: 1.4rem; border-top: 3px solid var(--mist); }
.steps li::before { content: ""; position: absolute; top: -3px; left: 0; width: 56px; height: 3px; background: var(--signal); }
.steps h3::before { content: "0" counter(step) "  "; color: var(--slate-text); font-weight: 600; white-space: pre; }
.steps p { margin: 0.6rem 0 0; color: #2C4560; }

/* Why */
.why { background: var(--midnight) url("/img/wave.svg") center bottom / 100% auto no-repeat; color: var(--white); padding: clamp(4.5rem, 9vw, 7rem) var(--pad) clamp(9rem, 24vw, 19rem); }
@media (max-width: 700px) { .why { background-size: 220% auto; background-position: 30% bottom; } }
.why-text { max-width: 44rem; margin: 0 auto 0 max(0px, calc((100% - var(--max)) / 2)); }
.why .kicker { color: var(--mint); }
.why .kicker span { color: var(--on-dark); }
.why-text p { font-size: 1.15rem; color: var(--on-dark); margin: 1.2rem 0 0; max-width: 52ch; }

/* Contact */
.contact { padding: clamp(4rem, 8vw, 6.5rem) var(--pad); display: grid; gap: 3rem; grid-template-columns: 1fr; max-width: calc(var(--max) + 2 * var(--pad)); margin: 0 auto; }
@media (min-width: 960px) { .contact { grid-template-columns: 5fr 6fr; } }
.contact-text p:not(.kicker) { font-size: 1.15rem; color: #2C4560; max-width: 36ch; margin-top: 1.2rem; }
.form { background: var(--white); border: 1px solid var(--mist); border-radius: var(--radius); padding: clamp(1.4rem, 4vw, 2.4rem); box-shadow: 0 24px 48px -28px rgba(6, 26, 53, 0.3); }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 0.4rem; }
.opt { font-weight: 400; color: var(--slate-text); }
input[type="text"], input[type="email"], textarea, select { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--ice); border: 1.5px solid #C9D6E2; border-radius: 10px; padding: 0.7rem 0.85rem; min-height: 48px; }
input:focus, textarea:focus, select:focus { border-color: var(--cyan); outline: 3px solid rgba(0, 191, 243, 0.35); outline-offset: 1px; }
textarea { resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; margin: 0.4rem 0 1.3rem; color: #2C4560; }
.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--deep); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.human:not(:empty) { margin-bottom: 1.2rem; }
.form .btn { background: var(--midnight); color: var(--white); }
.form .btn:hover { background: var(--deep); }
.status { margin: 1rem 0 0; font-weight: 600; min-height: 1.5em; }
.status.ok { color: #00795A; }
.status.err { color: #B4232C; }

/* Family: a small, minimal product band */
.family { background: var(--deep); color: var(--white); padding: clamp(2.2rem, 5vw, 3.2rem) 0 clamp(2.4rem, 5vw, 3.4rem); text-align: center; border-top: 1px solid rgba(201, 216, 229, 0.1); }
.family-title { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark); max-width: none; margin: 0 0 1.6rem; }
.band { position: relative; max-width: 46rem; margin: 0 auto; }
.band-track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; justify-content: center; gap: clamp(1.5rem, 6vw, 4.5rem); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.band-track::-webkit-scrollbar { display: none; }
.band-track li { flex: 0 0 auto; scroll-snap-align: center; }
.prod { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; color: var(--on-dark); text-decoration: none; min-width: 8.5rem; padding: 0.4rem 0.5rem; }
.prod .prod-name { opacity: 0.75; }
.prod-main { color: var(--white); }
.prod-main .prod-name { opacity: 1; }
.prod-icon { object-fit: contain; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35)); }
.prod-name { font-weight: 600; font-size: 0.95rem; letter-spacing: -0.005em; }
.prod-main .prod-name { font-size: 1.1rem; font-weight: 700; }
a.prod:hover .prod-name { color: var(--mint); }
a.prod .prod-name::after { content: " \2197"; font-size: 0.8em; color: var(--mint); }
.band-btn { display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(201, 216, 229, 0.3); background: rgba(6, 26, 53, 0.6); color: var(--white); font-size: 1.5rem; line-height: 1; cursor: pointer; z-index: 2; }
.band-btn:hover { border-color: var(--mint); color: var(--mint); }
@media (max-width: 719px) {
  .band { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem 1rem; }
  .band-track { order: 1; width: 100%; justify-content: flex-start; gap: 1rem; padding-inline: calc(50% - 5rem); }
  .band-btn { display: block; position: static; transform: none; order: 2; width: 40px; height: 40px; font-size: 1.3rem; }
}

/* Footer */
.foot { background: var(--midnight); color: var(--on-dark); padding: 3rem var(--pad); text-align: center; font-size: 0.95rem; position: relative; }
.foot::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--signal); }
.foot p { margin: 0.35rem 0; }
.foot a { color: var(--white); }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 1.1rem 0 1.2rem; }
.foot-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1.5px solid rgba(201, 216, 229, 0.3); color: var(--white); font-weight: 600; font-size: 0.9rem; text-decoration: none; transition: border-color 0.15s ease, color 0.15s ease; }
.foot-btn:hover { border-color: var(--mint); color: var(--mint); }
.foot-brand { display: flex; justify-content: center; margin-bottom: 0.8rem !important; }
.foot-brand img { height: 30px; width: auto; }
.small { font-size: 0.82rem; color: var(--on-dark); opacity: 0.85; }

/* Text pages (privacy, 404) */
.page { max-width: 44rem; margin: 0 auto; padding: 3rem var(--pad) 6rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 1.4rem; letter-spacing: -0.035em; }
.page h2 { font-size: 1.4rem; margin: 2.4rem 0 0.5rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-track { scroll-behavior: auto; }
  .btn, .card, .foot-btn { transition: none; }
  .card:hover, .btn:hover { transform: none; }
}

/* Photography: rounded, softly lit, edged in the Signal gradient */
.card-media { position: relative; margin: 0 -1.5rem; }
.card-photo { display: block; width: 100%; max-width: none; aspect-ratio: 4 / 3; object-fit: cover; }
/* a gentle navy fade at the foot of each card photo, so the hexagon badge sits on a calm edge */
.card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 26, 53, 0) 52%, rgba(6, 26, 53, 0.42) 100%); pointer-events: none; }
.card-media::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--signal); z-index: 1; }

.how-photo, .why-photo { position: relative; margin: 0; isolation: isolate; }
.how-photo { max-width: var(--max); margin: 0 auto 3.2rem; }
.how-photo img, .why-photo img { display: block; width: 100%; object-fit: cover; border-radius: 22px; }
.how-photo img { aspect-ratio: 21 / 9; object-position: center 40%; box-shadow: 0 2px 4px rgba(6, 26, 53, 0.08), 0 40px 70px -30px rgba(6, 26, 53, 0.6); }
.why-photo img { aspect-ratio: 4 / 3; object-position: 60% center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 44px 80px -30px rgba(0, 0, 0, 0.75); }
/* a soft mint-and-cyan glow behind the photo */
.how-photo::before, .why-photo::before { content: ""; position: absolute; inset: 8% -3% -9%; z-index: -1; border-radius: 40px; background: radial-gradient(ellipse 60% 70% at 25% 70%, rgba(0, 223, 163, 0.34), transparent 70%), radial-gradient(ellipse 60% 70% at 80% 60%, rgba(0, 191, 243, 0.34), transparent 70%); filter: blur(34px); }
.why-photo::before { background: radial-gradient(ellipse 60% 70% at 25% 70%, rgba(0, 223, 163, 0.3), transparent 70%), radial-gradient(ellipse 60% 70% at 80% 60%, rgba(0, 191, 243, 0.38), transparent 70%); }
/* a fine gradient edge, like a hairline of light */
.how-photo::after, .why-photo::after { content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1.5px; pointer-events: none; background: linear-gradient(135deg, rgba(0, 223, 163, 0.95), rgba(0, 191, 243, 0.15) 45%, rgba(0, 191, 243, 0.95)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }

.why { display: grid; gap: 3rem; grid-template-columns: 1fr; align-items: center; }
.why-text { margin: 0; justify-self: end; }
@media (min-width: 960px) { .why { grid-template-columns: 1fr 1fr; } .why-photo { max-width: 36rem; } }
@media (max-width: 959px) { .why-photo { width: min(100%, 34rem); margin-inline: auto; } }
