/* ==========================================================================
   TACET, INC. — company site
   --------------------------------------------------------------------------
   Dark, restrained parent brand: one ground, one accent. Type is the same
   self-hosted IBM Plex Sans the Campus site uses; no CDN is contacted.
   No scripts run on this site.
   ========================================================================== */

@font-face {
  font-family: 'IBM Plex Sans';
  src: url('fonts/ibm-plex-sans-latin-var.woff2') format('woff2-variations'),
       url('fonts/ibm-plex-sans-latin-var.woff2') format('woff2');
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   Tokens
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Grounds */
  --bg:      #0b1118;
  --band:    #101924;
  --surface: #141f2b;
  --line:    #223142;

  /* Ink — every pair below is at least 7:1 on --bg and --band */
  --ink:   #eef2f6;
  --ink-2: #b4c0cc;
  --ink-3: #93a1af;

  /* The one accent */
  --accent:     #8fb4ff;
  --accent-ink: #0b1118;

  --radius: 10px;
  --max: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); max-width: 20ch; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1em; }

a { color: var(--accent); text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

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

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 10;
  padding: 10px 14px; border-radius: 6px;
  background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

main:focus { outline: none; }

/* ==========================================================================
   Header and footer
   ========================================================================== */

.site-header { border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 28px;
}
.header-inner { min-height: 68px; padding-top: 12px; padding-bottom: 12px; }

.wordmark {
  color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: 1.125rem; letter-spacing: .04em;
}

.site-nav, .footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-nav a, .footer-nav a { color: var(--ink-2); text-decoration: none; font-size: .9375rem; }
.site-nav a:hover, .footer-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--accent); }

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--ink-3); font-size: .9375rem; }
.site-footer p { margin: 0; }

/* ==========================================================================
   Sections
   ========================================================================== */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.investor-band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.kicker {
  margin: 0 0 .75em;
  color: var(--accent); font-size: .8125rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
}

.evidence-lede { max-width: 62ch; color: var(--ink-2); font-size: clamp(1.125rem, 1.6vw, 1.3rem); }
.heading-accent { color: var(--ink-2); }

.section-heading { max-width: 46ch; margin-bottom: 32px; }

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 64px; }
.evidence-copy p { color: var(--ink-2); }
.evidence-copy h2, .evidence-copy h3 { color: var(--ink); }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: var(--ink-3); font-size: .9375rem; }
.breadcrumb a { color: var(--ink-2); }

/* Buttons */
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 20px; border-radius: 8px;
  font-weight: 600; font-size: 1rem; text-decoration: none;
  border: 1px solid var(--accent);
}
.button-primary { background: var(--accent); color: var(--accent-ink); }
.button-primary:hover { background: var(--ink); border-color: var(--ink); }
.button-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.button-secondary:hover { border-color: var(--ink-2); }

/* Fact rows */
.investor-facts, .investor-metrics {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 48px 0 0; border-top: 1px solid var(--line);
}
.investor-facts > div, .investor-metrics > div { padding: 18px 24px 0 0; }
.investor-facts dt, .investor-metrics dt { color: var(--ink-3); font-size: .875rem; }
.investor-facts dd { margin: 4px 0 0; font-weight: 600; }
.investor-metrics { margin-top: 0; }
.investor-metrics dd { margin: 4px 0 0; font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 600; letter-spacing: -0.02em; }

/* Cards */
.capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.capability-card { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.capability-card p { margin: 0; color: var(--ink-2); font-size: .9875rem; }
.capability-card .kicker { margin-bottom: 12px; }

.investor-note { margin-top: 28px; max-width: 80ch; color: var(--ink-3); font-size: .9375rem; }
.evidence-copy .investor-note { color: var(--ink-3); }
.investor-legal { margin-top: 40px; }

/* Founder rows */
.founder-name-row { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.founder-name-row h1, .founder-name-row h3 { margin: 0; }
.investor-founder span { display: block; margin-top: 4px; color: var(--ink-3); font-size: .9375rem; font-weight: 400; letter-spacing: 0; }

.icon-button {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; border-radius: 8px;
  border: 1px solid var(--line); color: var(--ink-2);
}
.icon-button:hover { color: var(--ink); border-color: var(--ink-2); }
.icon-button svg { width: 20px; height: 20px; fill: currentColor; }
.icon-links { display: flex; gap: 10px; margin-top: 20px; }

.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.evidence-callout {
  padding: clamp(28px, 5vw, 48px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
}
.evidence-callout p { color: var(--ink-2); max-width: 60ch; }

/* ==========================================================================
   Founder page
   ========================================================================== */

.founder-hero { padding-bottom: 32px; }
.founder-role { color: var(--ink-2); font-size: 1.125rem; }
.founder-body { padding-top: 32px; }
.founder-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 64px; align-items: start; }
.founder-bio p { font-size: 1.125rem; }
.founder-facts { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.founder-facts h2 { font-size: 1.125rem; }
.founder-facts dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 16px 0 0; }
.founder-facts dt { color: var(--ink-3); font-size: .9375rem; }
.founder-facts dd { margin: 0; }

/* ==========================================================================
   Privacy Policy
   ========================================================================== */

.policy-intro { padding-bottom: 32px; }
.policy-updated { color: var(--ink-3); }
.policy-layout {
  display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 32px 64px;
  align-items: start; padding-bottom: clamp(56px, 8vw, 96px);
}
.policy-toc { position: sticky; top: 24px; font-size: .9375rem; }
.policy-toc summary { cursor: pointer; list-style: none; }
.policy-toc summary::-webkit-details-marker { display: none; }
.policy-toc summary h2 { display: inline; margin: 0; color: var(--ink-3); font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; }
.policy-toc ol { margin: 14px 0 0; padding-left: 1.25em; color: var(--ink-3); }
.policy-toc li { margin: 6px 0; }
.policy-toc a { color: var(--ink-2); text-decoration: none; }
.policy-toc a:hover { color: var(--ink); text-decoration: underline; }
.policy-related { display: inline-block; margin-top: 20px; font-weight: 600; text-decoration: none; }

.policy-copy { max-width: 72ch; color: var(--ink-2); }
.policy-copy section { padding-top: 24px; scroll-margin-top: 24px; }
.policy-copy h2 { color: var(--ink); font-size: 1.375rem; margin-top: .5em; }
.policy-copy strong { color: var(--ink); font-weight: 600; }
.policy-copy ul { padding-left: 1.25em; }
.policy-copy li { margin: 6px 0; }

/* ==========================================================================
   Narrow screens
   ========================================================================== */

@media (max-width: 960px) {
  .capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .about-grid, .founder-grid, .policy-layout { grid-template-columns: minmax(0, 1fr); }
  .policy-toc { position: static; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); }
  .policy-toc summary h2::after { content: ' +'; }
  .policy-toc details[open] summary h2::after { content: ' −'; }
}

@media (max-width: 600px) {
  .capability-grid, .investor-facts, .investor-metrics { grid-template-columns: minmax(0, 1fr); }
  .investor-facts > div, .investor-metrics > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .hero-actions .button { flex: 1 1 100%; }
  .header-inner { justify-content: flex-start; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}


/* Parent-brand landing page. Other company routes retain their existing layout. */
.company-shell {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
.company-shell > .company-home { flex: 1; }
.company-home { --statement-gap: clamp(18px, 2vw, 24px); }
.company-home .company-label {
  color: var(--accent);
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.company-hero {
  padding: clamp(40px, 6vw, 80px) 0 var(--statement-gap);
  text-align: left;
  background: radial-gradient(ellipse at 50% 0, #182a40, transparent 72%);
}
.company-hero h1 {
  max-width: 32ch;
  margin: 0;
  font-size: clamp(2.25rem, 5.3vw, 4.25rem);
  letter-spacing: -.045em;
  line-height: 1.06;
  text-wrap: balance;
}
.company-hero h1 > span { display: block; color: var(--accent); }
.company-hero p {
  max-width: 100%;
  margin: var(--statement-gap) 0 0;
  text-align: left;
  color: var(--ink-2);
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  text-wrap: pretty;
}
.company-hero a { color: var(--ink); text-decoration-color: var(--accent); }
.company-products { padding: 0 0 clamp(48px, 7vw, 88px); }
.company-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.company-product {
  display: flex; flex-direction: column; align-items: start;
  min-width: 0; padding: 24px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--surface);
}
.company-campus { --product-accent: #7bd8ce; }
.company-events { --product-accent: #8fb4ff; }
.company-intelligence { --product-accent: #a8caff; }
.product-top { display: flex; flex-direction: column; align-items: stretch; width: 100%; gap: 0; margin-bottom: 0; }
.company-product .product-logo {
  display: grid;
  place-items: center;
  align-self: center;
  width: min(93%, 20rem);
  /* Size every row for the tallest of the three full-width SVG lockups. */
  aspect-ratio: 1938 / 440;
  margin: clamp(6px, 1vw, 14px) 0 0;
  line-height: 1;
}
.product-logo img { display: block; width: 100%; height: auto; }
.product-context, .product-purpose { font-size: 1rem; }
.product-link { font-size: .9375rem; }
.product-context {
  padding-block: 27px 23px;
  color: var(--product-accent);
  align-self: center;
  text-align: left;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}
/* Account for the descenders in “Support” when centering visible lettering. */
.company-intelligence .product-context { padding-block: 24.5px 25.5px; }
.product-purpose { color: var(--ink); font-weight: 500; line-height: 1.4; margin: 0 0 22px; }
.product-description { color: var(--ink-2); font-size: 1rem; flex: 1; margin: 0 0 32px; }
.product-link {
  display: inline-flex; align-items: center; min-height: 44px;
  width: 100%; padding-top: 12px; border-top: 1px solid var(--line);
  color: var(--product-accent); font-weight: 600; text-decoration: none;
}
/* Give the copy and its footer link the same centered text column. */
.company-product { align-items: center; text-align: center; }
.company-product .product-context,
.company-product .product-purpose,
.company-product .product-description,
.company-product .product-link {
  width: 100%;
  max-width: 17rem;
}
.company-product .product-purpose,
.company-product .product-description { text-align: left; }
.company-product .product-link {
  justify-content: flex-end;
  text-align: right;
}
.product-link:hover { text-decoration: underline; }

.company-contact {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding: 24px 32px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.company-contact h2 { margin: 0 0 10px; }
.company-contact p:not(.company-label) { color: var(--ink-2); max-width: 58ch; margin: 0; }
.company-contact .button { flex: none; border-radius: 999px; }
.company-footer { padding: 24px 0; }

/* On wide screens Contact remains a full-width banner below the portfolio. */
@media (min-width: 901px) {
  .company-products { padding-bottom: 0; }
  .company-contact {
    position: relative;
    isolation: isolate;
    margin-top: clamp(16px, 2vw, 28px);
    padding: clamp(28px, 3vw, 40px) 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }
  .company-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--band);
    box-shadow: 0 0 0 100vmax var(--band);
    clip-path: inset(0 -100vmax);
  }
  .company-contact .button { border-radius: 8px; }
}

@media (max-width: 900px) {
  .company-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-description { max-width: 65ch; }
  .company-contact {
    grid-column: auto;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: 24px;
    border-radius: 14px;
  }
  .company-contact-copy,
  .company-contact .button { width: 100%; max-width: 17rem; align-self: center; }
}
@media (max-width: 640px) {
  .company-product-grid { grid-template-columns: minmax(0, 1fr); }
  .company-product, .company-contact { grid-column: auto; padding: clamp(16px, 4vw, 24px); }
}
@media (max-width: 480px) {
  .company-hero h1 { font-size: clamp(2.25rem, 10vw, 3.1rem); }
  .company-home .button { max-width: 100%; }
  .company-products { padding-bottom: 48px; }
}
