/* ═══════════════════════════════════════════════════════════════
   Skyseed Tech LLC — corporate site
   Dark, large-scale, product-led. The three brands' own photography
   carries the page; the company record reads as a spec sheet.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --void:      #05080b;
  --surface:   #0b1218;
  --surface-2: #101b24;
  --line:      #1c2a36;

  --text:      #f4f7f9;
  --text-dim:  #93a7b6;
  --text-mute: #5f7384;

  --blue:      #12344d;
  --mint:      #7dd3a8;
  --mint-dim:  #5bbd8e;

  --light:     #f5f7f8;
  --light-ink: #0d1a24;
  --light-dim: #51687a;
  --light-line:#dce3e8;

  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --gutter: 22px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 16px; top: 12px; z-index: 200;
  background: var(--mint); color: #052014;
  padding: 10px 18px; border-radius: 8px; font-weight: 600;
}

/* ── Display type ─────────────────────────────────── */

h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.032em; line-height: 1.06; }
.display  { font-size: clamp(44px, 8.4vw, 92px); font-weight: 700; letter-spacing: -0.042em; }
.headline { font-size: clamp(32px, 5.4vw, 56px); }
.sub      { font-size: clamp(19px, 2.5vw, 26px); font-weight: 400; letter-spacing: -0.018em; line-height: 1.35; }
p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

/* ── Sticky nav ───────────────────────────────────── */

.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 8, 11, .72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
          backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; height: 52px; }
.wordmark {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none; font-size: 16px; font-weight: 600; letter-spacing: -0.02em;
}
.wordmark svg { display: block; flex: none; }
.nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  font-size: 13.5px; color: var(--text-dim); text-decoration: none;
  transition: color .18s ease;
}
.nav ul a:hover { color: var(--text); }

/* ── Hero ─────────────────────────────────────────── */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(94vh, 880px);
  display: flex; align-items: center;
  padding: clamp(96px, 14vw, 160px) 0 clamp(80px, 12vw, 130px);
  text-align: center;
}
/* mesh: four coloured lobes, slowly drifting past each other */
.hero::before {
  content: ''; position: absolute; inset: -35%; z-index: -2;
  background:
    radial-gradient(38% 34% at 24% 30%, rgba(18,88,140,.72),  transparent 66%),
    radial-gradient(34% 30% at 76% 24%, rgba(125,211,168,.30), transparent 64%),
    radial-gradient(44% 38% at 62% 74%, rgba(18,52,77,.92),   transparent 70%),
    radial-gradient(30% 26% at 12% 78%, rgba(46,140,190,.34), transparent 66%);
  filter: blur(14px);
  animation: drift 26s ease-in-out infinite alternate;
}
/* fine grain, so the gradients never band */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}
@keyframes drift {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(-3%, 2.5%, 0) scale(1.08); }
  100% { transform: translate3d(2.5%, -2%, 0) scale(1.04); }
}
.hero .wrap { position: relative; }
.hero .display {
  max-width: 15ch; margin: 0 auto;
  background: linear-gradient(176deg, #ffffff 34%, #cfe9dc 72%, #7dd3a8 118%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-bottom: .08em;   /* descenders get clipped by background-clip without this */
}
.hero .sub { color: rgba(255,255,255,.80); max-width: 46ch; margin: 26px auto 0; }
.eyebrow {
  display: inline-block; margin-bottom: 28px;
  font-size: 13px; font-weight: 500; letter-spacing: .01em;
  color: var(--mint);
  padding: 7px 17px; border-radius: 999px;
  background: rgba(125,211,168,.09);
  border: 1px solid rgba(125,211,168,.24);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 40px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px;
  font-size: 15.5px; font-weight: 500; text-decoration: none;
  transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.btn-primary {
  background: linear-gradient(180deg, #9fe6c3, #6cc79a);
  color: #042013;
  box-shadow: 0 10px 30px -10px rgba(125,211,168,.6);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost {
  border: 1px solid rgba(255,255,255,.24); color: var(--text);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: var(--mint); color: var(--mint); transform: translateY(-1px); }

/* ── Brand showcases: full-bleed photo, text over a scrim ── */

.showcase {
  position: relative; isolation: isolate;
  min-height: min(84vh, 780px);
  display: flex; align-items: flex-end;
  padding: clamp(48px, 7vw, 88px) 0;
  overflow: hidden;
}
.showcase .bg {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.07);
  transition: transform 1.6s cubic-bezier(.19,.7,.28,1);
}
.showcase.in .bg { transform: scale(1); }
.showcase::after {                     /* scrim: dark at the text edge, clear at the far one */
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(5,8,11,.94) 0%, rgba(5,8,11,.76) 34%, rgba(5,8,11,.14) 68%, rgba(5,8,11,.32) 100%),
    linear-gradient(to top, rgba(5,8,11,.72), transparent 46%);
}
.showcase:nth-of-type(even)::after {
  background:
    linear-gradient(260deg, rgba(5,8,11,.94) 0%, rgba(5,8,11,.76) 34%, rgba(5,8,11,.14) 68%, rgba(5,8,11,.32) 100%),
    linear-gradient(to top, rgba(5,8,11,.72), transparent 46%);
}
.showcase .content { max-width: 40ch; }
.showcase:nth-of-type(even) .content { margin-left: auto; text-align: right; }
.showcase .content > p.kicker {   /* must out-specify `.showcase .content > p` below */
  font-size: 13px; font-weight: 500; color: var(--mint);
  letter-spacing: .02em; margin-bottom: 15px; text-shadow: 0 1px 14px rgba(0,0,0,.7);
}
.showcase h2 { margin-bottom: 16px; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.showcase .content > p {
  color: rgba(255,255,255,.84); font-size: 18px; line-height: 1.55;
  text-shadow: 0 1px 20px rgba(0,0,0,.6);
}
.visit {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px; font-size: 16px; font-weight: 500;
  color: var(--mint); text-decoration: none;
  padding: 10px 20px; border-radius: 999px;
  border: 1px solid rgba(125,211,168,.34);
  background: rgba(125,211,168,.08);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: background .2s ease, border-color .2s ease;
}
.visit:hover { background: rgba(125,211,168,.16); border-color: var(--mint); }
.visit::after {
  content: ''; width: 14px; height: 14px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M9 7h8v8' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M9 7h8v8' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ── Section scaffolding ──────────────────────────── */

.section { padding: clamp(64px, 9vw, 108px) 0; border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head .kicker { font-size: 13px; font-weight: 500; color: var(--mint); margin-bottom: 14px; }
.section-head p { color: var(--text-dim); max-width: 56ch; margin-top: 16px; font-size: 17.5px; }

/* ── Contact panel (company record lives here) ────── */

.panel {
  border-radius: 20px;
  padding: clamp(24px, 3.4vw, 40px) clamp(22px, 3.4vw, 44px);
  background: linear-gradient(165deg, rgba(255,255,255,.055), rgba(255,255,255,.015));
  border: 1px solid rgba(255,255,255,.09);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 30px 70px -40px rgba(0,0,0,.9);
}
.panel .note { margin-top: 22px; color: var(--text-mute); font-size: 15px; }
.contact-card p { font-size: 18px; line-height: 1.6; max-width: none; }
.contact-card p + p { margin-top: 20px; }
.contact-card a { color: var(--text); text-decoration-color: var(--mint-dim); text-underline-offset: 4px; }
.contact-card a:hover { color: var(--mint); }

.specs {
  margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 0 clamp(28px, 4vw, 56px);
}
.specs > div {
  display: grid; grid-template-columns: 158px minmax(0, 1fr);
  gap: 4px 18px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.specs > div.wide { grid-column: 1 / -1; }
.specs dt { color: var(--text-mute); font-size: 14.5px; }
.specs dd { margin: 0; font-size: 16.5px; font-weight: 500; }
.specs dd a { color: var(--text); text-decoration-color: var(--mint-dim); text-underline-offset: 4px; }
.specs dd a:hover { color: var(--mint); }

/* ── Light section (about) ────────────────────────── */

.light { background: var(--light); color: var(--light-ink); border-top: 0; }
.light .section-head .kicker { color: var(--mint-dim); }
.light .section-head p, .light p { color: var(--light-dim); }
.light h2 { color: var(--light-ink); }
.light .prose p { font-size: 18px; max-width: 58ch; color: #3d5567; }

/* ── Contact ──────────────────────────────────────── */

.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px; }
.contact h3 { font-size: 13.5px; font-weight: 500; color: var(--text-mute); letter-spacing: .01em; margin-bottom: 9px; }
.contact address { font-style: normal; color: var(--text-dim); }
.contact p { color: var(--text-dim); }
.contact a { color: var(--text); text-decoration-color: var(--mint-dim); text-underline-offset: 4px; }
.contact a:hover { color: var(--mint); }

/* ── Footer ───────────────────────────────────────── */

.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--text-mute); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
.foot nav { display: flex; gap: 24px; }
.foot a { text-decoration: none; color: var(--text-mute); }
.foot a:hover { color: var(--text); }

/* ── Legal pages ──────────────────────────────────── */

.legal { background: var(--light); color: var(--light-ink); padding: clamp(48px, 7vw, 76px) 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(34px, 5.6vw, 52px); letter-spacing: -0.035em; }
.legal .updated { color: var(--light-dim); font-size: 15px; margin-top: 12px; }
.legal h2 { margin: 44px 0 14px; font-size: clamp(21px, 3.4vw, 27px); letter-spacing: -0.024em; }
.legal h2:first-of-type { margin-top: 38px; }
.legal p, .legal li { color: #344c5e; font-size: 17px; line-height: 1.68; }
.legal ul { padding-left: 20px; margin: 0 0 1.05em; }
.legal li { margin-bottom: 9px; }
.legal a { color: var(--light-ink); text-decoration-color: var(--mint-dim); text-underline-offset: 4px; }

/* ── Scroll reveal (one orchestrated device) ──────── */

.reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s cubic-bezier(.22,.7,.3,1), transform .7s cubic-bezier(.22,.7,.3,1); }

/* ── Responsive ───────────────────────────────────── */

@media (max-width: 820px) {
  .showcase { min-height: min(72vh, 620px); }
  .showcase .content { max-width: none; }
  .showcase:nth-of-type(even) .content { margin-left: 0; text-align: left; }
  .showcase::after, .showcase:nth-of-type(even)::after {
    background: linear-gradient(to top, rgba(5,8,11,.95) 12%, rgba(5,8,11,.72) 46%, rgba(5,8,11,.34) 100%);
  }
  .specs > div { grid-template-columns: 140px minmax(0,1fr); }
}
@media (max-width: 560px) {
  :root { --gutter: 18px; }
  body { font-size: 16.5px; }
  /* four nav links + the wordmark do not fit at 375px — keep the mark, drop its text */
  .wordmark .wm-text { display: none; }
  .nav ul { gap: 17px; }
  .nav ul a { font-size: 12.5px; }
  .specs > div { grid-template-columns: minmax(0,1fr); gap: 2px; padding: 14px 0; }
  .hero { min-height: 0; text-align: left; }
  .hero .display, .hero .sub { margin-left: 0; margin-right: 0; }
  .hero-actions { justify-content: flex-start; }
  .btn { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero::before { animation: none; }
  .showcase .bg { transform: none; }
  * { transition: none !important; animation: none !important; }
}
