/* ============================================================
   Hook-Tech — shared stylesheet
   Palette sampled from the logo: the sphere's cyan (#0098b0) and
   the wordmark's navy (#002068), so the site and the mark agree.
   Spacing is deliberately tight — the product grid should be on
   screen when the page opens, not below a hero.
   ============================================================ */

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

:root {
  /* From the logo */
  --cyan:       #0098b0;
  --cyan-dark:  #00718a;
  --cyan-bright:#00b0c8;
  --cyan-mid:   #7fd0dd;
  --cyan-pale:  #e4f5f8;
  --navy:       #002068;
  --navy-deep:  #001233;
  --navy-mid:   #0a2f7a;

  --slate: #3d5166; --muted: #74879a;
  --light: #f4f9fb; --white: #ffffff; --border: #d8e7ec;
  --rose: #d92d4f;

  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--navy-deep); font-family: var(--font-sans); overflow-x: hidden; line-height: 1.55; }
a { color: var(--cyan-dark); }

/* ---------- nav ---------- */
nav {
  background: var(--navy); height: 70px; padding: 0 3rem;
  display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
/* The logo is the real artwork with the wordmark recoloured white for the
   dark nav — sphere and name together, exactly as the logo is drawn. */
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 13.5px; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { padding: 0.42rem 1.1rem; background: var(--cyan) !important; color: #fff !important; border-radius: 6px; font-weight: 500; }
.nav-cta:hover { background: var(--cyan-bright) !important; }

.nav-drop { position: relative; }
.nav-drop > a { display: flex; align-items: center; gap: 5px; }
.nav-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(5px);
  background: var(--navy-mid); border: 1px solid rgba(255,255,255,0.12); border-radius: 10px;
  padding: 0.9rem 1.2rem; box-shadow: 0 18px 50px rgba(0,10,40,0.5); min-width: 215px;
  opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.16s ease;
}
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu {
  opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0);
}
.nav-menu a { display: block; padding: 0.36rem 0; white-space: nowrap; font-size: 13.5px; }

/* ---------- masthead: small on purpose ---------- */
.masthead { background: linear-gradient(150deg, #fbfeff 0%, var(--light) 100%); border-bottom: 1px solid var(--border); padding: 1.5rem 3rem 1.5rem; }
.masthead-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.masthead img { height: 104px; width: auto; display: block; }
.masthead-copy { flex: 1; min-width: 300px; }
.masthead-copy h1 { font-family: var(--font-serif); font-size: 1.62rem; font-weight: 400; line-height: 1.25; color: var(--navy); margin-bottom: 0.3rem; }
.masthead-copy p { font-size: 0.94rem; color: var(--slate); font-weight: 300; max-width: 66ch; }

/* ---------- shared ---------- */
.eyebrow { font-size: 11.5px; font-weight: 500; color: var(--cyan-dark); letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.55rem; }
.section-title { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.8vw, 2.1rem); line-height: 1.2; font-weight: 400; color: var(--navy); margin-bottom: 0.7rem; }
.section-sub { font-size: 0.95rem; color: var(--muted); font-weight: 300; max-width: 70ch; line-height: 1.65; }
section { padding: 3.2rem 3rem; }
.inner { max-width: 1200px; margin: 0 auto; }

.btn-primary, .btn-outline {
  display: inline-block; padding: 0.68rem 1.5rem; border-radius: 7px; text-decoration: none;
  font-size: 14.5px; font-weight: 500; transition: all 0.2s; border: 1px solid transparent;
  cursor: pointer; font-family: inherit;
}
.btn-primary { background: var(--cyan); color: #fff; }
.btn-primary:hover { background: var(--cyan-bright); }
.btn-primary:disabled { opacity: 0.55; cursor: default; }
.btn-outline { border-color: var(--border); color: var(--navy); background: transparent; }
.btn-outline:hover { border-color: var(--cyan-mid); color: var(--cyan-dark); }

/* ---------- product cards ---------- */
.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; margin-top: 1.6rem; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 1.4rem 1.45rem;
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
  position: relative; overflow: hidden; transition: all 0.22s;
}
.product-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.product-card:hover { border-color: var(--cyan-mid); box-shadow: 0 6px 26px rgba(0,152,176,0.14); transform: translateY(-3px); }
.product-card:hover::after { transform: scaleX(1); }
.card-kicker { font-size: 10.5px; font-weight: 500; color: var(--muted); letter-spacing: 0.13em; text-transform: uppercase; margin-bottom: 0.6rem; }
.card-title { font-family: var(--font-serif); font-size: 1.28rem; font-weight: 400; color: var(--navy); margin-bottom: 0.3rem; }
.card-price { font-family: var(--font-mono); font-size: 13px; color: var(--cyan-dark); font-weight: 500; margin-bottom: 0.65rem; }
.card-desc { font-size: 0.875rem; color: var(--muted); font-weight: 300; line-height: 1.55; flex: 1; }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 1rem; font-size: 13.5px; font-weight: 500; color: var(--cyan-dark); }
.product-card:hover .card-link svg { transform: translateX(4px); }
.card-link svg { transition: transform 0.2s; }

/* ---------- suite band ---------- */
.suite-band { background: var(--navy); color: #fff; padding: 2.6rem 3rem; }
.suite-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; flex-wrap: wrap; }
.suite-band h2 { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 400; color: #fff; margin-bottom: 0.35rem; }
.suite-band p { font-size: 0.9rem; color: rgba(255,255,255,0.62); font-weight: 300; max-width: 62ch; }
.suite-apps { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.9rem; }
.suite-chip { border: 1px solid rgba(255,255,255,0.18); border-radius: 100px; padding: 0.25rem 0.8rem; font-size: 12px; color: rgba(255,255,255,0.78); }

/* ---------- about ---------- */
.about { background: var(--light); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 3rem; align-items: start; }
.about-body p { font-size: 0.94rem; color: var(--slate); font-weight: 300; line-height: 1.7; margin-bottom: 0.85rem; }
.about-body p:last-child { margin-bottom: 0; }
.cred-list { list-style: none; margin-top: 1.2rem; }
.cred-list li { display: flex; gap: 11px; align-items: baseline; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; color: var(--slate); font-weight: 300; }
.cred-list li:last-child { border-bottom: none; }
.cred-num { font-family: var(--font-serif); font-size: 1.2rem; color: var(--cyan); line-height: 1; min-width: 2.4rem; }

/* ---------- forms ---------- */
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 1.6rem; box-shadow: 0 5px 24px rgba(0,32,104,0.05); }
.field { margin-bottom: 0.85rem; }
.field label { display: block; font-size: 12.5px; font-weight: 500; color: var(--slate); margin-bottom: 0.3rem; }
.field .req { color: var(--rose); }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.58rem 0.75rem; border: 1px solid var(--border); border-radius: 7px;
  font-family: inherit; font-size: 14px; color: var(--navy-deep); background: var(--white); transition: border-color 0.15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan-mid); box-shadow: 0 0 0 3px rgba(0,152,176,0.13); }
.field textarea { min-height: 104px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.form-hint { font-size: 12px; color: var(--muted); font-weight: 300; margin-top: 0.7rem; line-height: 1.5; }
.form-status { margin-top: 0.7rem; font-size: 13.5px; font-weight: 500; min-height: 1.1em; }
.form-status.ok { color: var(--cyan-dark); }
.form-status.err { color: var(--rose); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.subscribe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.subscribe-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.subscribe-form .field { margin-bottom: 0; }
.subscribe-form .full { grid-column: 1 / -1; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3rem; align-items: start; }
.contact-detail { list-style: none; margin-top: 1.2rem; }
.contact-detail li { padding: 0.7rem 0; border-bottom: 1px solid var(--border); }
.contact-detail li:last-child { border-bottom: none; }
.contact-label { display: block; font-size: 10.5px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
.contact-value { font-size: 14px; color: var(--navy); text-decoration: none; line-height: 1.5; }
.contact-value:hover { color: var(--cyan-dark); }

/* ---------- product page ---------- */
.product-hero { background: linear-gradient(150deg, #fbfeff 0%, var(--light) 100%); padding: 2.6rem 3rem 2.4rem; border-bottom: 1px solid var(--border); }
.product-hero .inner { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; }
.product-hero h1 { font-family: var(--font-serif); font-size: clamp(1.9rem, 3.6vw, 2.5rem); font-weight: 400; line-height: 1.15; color: var(--navy); margin-bottom: 0.55rem; }
.price-tag { display: inline-block; font-family: var(--font-mono); font-size: 0.95rem; font-weight: 500; color: var(--cyan-dark); background: var(--cyan-pale); border-radius: 7px; padding: 0.32rem 0.8rem; margin-bottom: 0.9rem; }
.product-lede { font-size: 1rem; color: var(--slate); font-weight: 300; line-height: 1.65; max-width: 66ch; }
.back-link { font-size: 13px; color: var(--muted); text-decoration: none; display: inline-block; margin-bottom: 0.9rem; }
.back-link:hover { color: var(--cyan-dark); }

.plain-list { list-style: none; }
.plain-list li { display: flex; gap: 10px; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.92rem; color: var(--slate); font-weight: 300; line-height: 1.55; }
.plain-list li:last-child { border-bottom: none; }
.check { flex-shrink: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--cyan-pale); color: var(--cyan-dark); display: flex; align-items: center; justify-content: center; margin-top: 2px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.feature-list { list-style: none; }
.feature-list li { padding: 0.75rem 0; border-bottom: 1px solid var(--border); }
.feature-list li:last-child { border-bottom: none; }
.feature-list b { display: block; font-size: 0.94rem; font-weight: 600; color: var(--navy); margin-bottom: 0.15rem; }
.feature-list span { font-size: 0.875rem; color: var(--muted); font-weight: 300; line-height: 1.55; }

/* ---------- galleries ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.9rem; margin-top: 1.4rem; }
.gallery.two-up { grid-template-columns: repeat(2, 1fr); }
.tile {
  border: 1px solid var(--border); border-radius: 11px; overflow: hidden; background: var(--white);
  cursor: pointer; transition: all 0.2s; display: block; width: 100%; text-align: left;
  font-family: inherit; padding: 0;
}
.tile:hover { border-color: var(--cyan-mid); box-shadow: 0 6px 24px rgba(0,152,176,0.15); transform: translateY(-2px); }
.tile img { width: 100%; height: auto; display: block; }
.tile-body { padding: 0.7rem 0.9rem 0.8rem; }
.tile-title { font-size: 0.88rem; font-weight: 500; color: var(--navy); }
.tile-meta { font-size: 11.5px; color: var(--muted); font-weight: 300; margin-top: 0.15rem; }
.tile-empty {
  aspect-ratio: 16 / 10; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.35rem; background: repeating-linear-gradient(45deg, #f2f9fb, #f2f9fb 10px, #eaf4f7 10px, #eaf4f7 20px);
  color: #8fa9b3; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600;
}
.tile-empty small { text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 11.5px; color: #9db4bd; }
.play-badge {
  width: 40px; height: 40px; border-radius: 50%; background: var(--cyan); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 12px rgba(0,152,176,0.4);
}
.tile-shot { position: relative; }
.tile-shot .play-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,32,104,0.18); transition: background 0.2s;
}
.tile:hover .play-overlay { background: rgba(0,32,104,0.3); }

/* lightbox */
.lb { position: fixed; inset: 0; background: rgba(0,10,30,0.92); z-index: 200; display: none; align-items: center; justify-content: center; padding: 2rem; }
.lb.open { display: flex; }
.lb-close { position: absolute; top: 1.2rem; right: 1.6rem; background: none; border: none; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; opacity: 0.75; }
.lb-close:hover { opacity: 1; }
.lb-figure { max-width: 1100px; width: 100%; }
.lb-figure img, .lb-figure video { width: 100%; height: auto; max-height: 78vh; border-radius: 8px; display: block; background: #000; }
.lb-figure figcaption { color: rgba(255,255,255,0.75); font-size: 13px; text-align: center; margin-top: 0.8rem; }
.lb-missing { color: rgba(255,255,255,0.8); text-align: center; padding: 3rem 2rem; border: 2px dashed rgba(255,255,255,0.25); border-radius: 12px; font-size: 14px; line-height: 1.7; }

/* ---------- cta + footer ---------- */
.cta-strip { background: var(--light); border-top: 1px solid var(--border); text-align: center; padding: 2.8rem 2rem; }
.cta-strip h3 { font-family: var(--font-serif); font-size: 1.45rem; font-weight: 400; color: var(--navy); margin-bottom: 0.4rem; }
.cta-strip p { color: var(--muted); font-weight: 300; font-size: 0.92rem; margin-bottom: 1.2rem; }

footer { background: var(--navy-deep); color: rgba(255,255,255,0.55); padding: 2.4rem 3rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand { font-size: 14px; color: #fff; margin-bottom: 0.4rem; font-weight: 500; }
.footer-copy { font-size: 12px; line-height: 1.7; }
.footer-badge { height: 34px; width: auto; margin-top: 1rem; display: block; opacity: 0.85;
  background: #fff; border-radius: 4px; padding: 4px 8px; }
.footer-links { list-style: none; display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 12.5px; }
.footer-links a:hover { color: #fff; }

@media (max-width: 980px) {
  nav { padding: 0 1.2rem; }
  .nav-links { display: none; }
  section, .masthead, .product-hero { padding-left: 1.2rem; padding-right: 1.2rem; }
  section { padding-top: 2.4rem; padding-bottom: 2.4rem; }
  .masthead { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .masthead-inner { gap: 1.2rem; }
  .masthead img { height: 56px; }
  .products-grid, .gallery, .gallery.two-up { grid-template-columns: 1fr; }
  .split, .about-grid, .contact-grid, .subscribe-grid, .field-row, .subscribe-form { grid-template-columns: 1fr; gap: 1.8rem; }
  .subscribe-form { gap: 0.8rem; }
  footer { padding: 2rem 1.2rem; }
}
@media (min-width: 981px) and (max-width: 1200px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
