/* ============================================================
   INTERDEPENDENT LLC — corporate site
   Static, no JS. Light mode. Restrained holding-company aesthetic.
   ============================================================ */

@font-face {
  font-family: "Eurostile Next Pro";
  src: url("fonts/eurostile-light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Eurostile Next Pro";
  src: url("fonts/eurostile-regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Eurostile Next Pro";
  src: url("fonts/eurostile-semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Eurostile Next Pro";
  src: url("fonts/eurostile-bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-soft: #faf9f7;
  --bg-card: #ffffff;
  --border: #e6e4df;
  --border-strong: #cfccc6;
  --rule: #1a1a1a;
  --text: #111111;
  --text-2: #4a4a4a;
  --text-muted: #8a877f;
  --red: #c20000;
  --red-strong: #a30000;

  --font: "Eurostile Next Pro", "Helvetica Neue", Arial, sans-serif;

  --max: 1080px;
  --max-narrow: 720px;
  --pad-x: clamp(20px, 5vw, 40px);
  --section-y: clamp(72px, 9vw, 128px);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  transition: color 160ms ease, border-color 160ms ease;
}
a:hover, a:focus-visible {
  color: var(--red);
  outline: none;
}

::selection { background: #f1d5d5; color: var(--text); }

/* ---------- Layout primitives ---------- */

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--pad-x);
}
.narrow { max-width: var(--max-narrow); margin: 0 auto; }

.section { padding-block: var(--section-y); }
.section + .section { border-top: 1px solid var(--border); }

.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.section-title {
  font-weight: 600;
  font-size: clamp(26px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--text);
  max-width: 28ch;
  margin-bottom: 24px;
}

.lede {
  font-size: clamp(17px, 1.7vw, 19px);
  line-height: 1.6;
  color: var(--text-2);
  max-width: 60ch;
}

p { color: var(--text-2); }
p + p { margin-top: 16px; }
strong { color: var(--text); font-weight: 600; }

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-block: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: none;
}
.brand-mark { width: 22px; height: auto; }
.brand-name {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text);
}
.brand-suffix {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(16px, 3vw, 36px);
}
.nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
  border-bottom: none;
}
.nav a:hover, .nav a:focus-visible { color: var(--red); }

/* On narrow screens, let the nav wrap onto its own row below the brand
   instead of disappearing. Smaller font + tighter letter-spacing keeps
   6 nav items readable on phones. */
@media (max-width: 720px) {
  .nav {
    width: 100%;
    gap: 8px 14px;
    font-size: 11px;
  }
  .nav a {
    letter-spacing: 0.12em;
  }
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(96px, 14vw, 168px);
  border-bottom: 1px solid var(--border);
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--red);
}
.hero-title {
  font-weight: 700;
  font-size: clamp(38px, 6.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 24px;
}
.hero-title .llc {
  font-weight: 300;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-left: 0.3em;
}
.hero-statement {
  font-weight: 300;
  font-size: clamp(20px, 2.6vw, 28px);
  line-height: 1.4;
  color: var(--text);
  max-width: 28ch;
  margin-bottom: 48px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 48px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-top: 28px;
  border-top: 1px solid var(--border);
  max-width: 720px;
}
.hero-meta dt { font-weight: 500; opacity: 0.7; margin-bottom: 6px; }
.hero-meta dd { font-weight: 600; color: var(--text); letter-spacing: 0.12em; }

/* ---------- About ---------- */

.about p { max-width: 64ch; }
.about p + p { margin-top: 18px; }

/* ---------- Operating segments ---------- */

.segments {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--border);
}
.segment {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding-block: 32px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 720px) {
  .segment {
    grid-template-columns: 1fr 2fr auto;
    gap: 32px;
    align-items: baseline;
  }
}
.segment-name {
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--text);
}
.segment-name .tld { color: var(--text-muted); font-weight: 400; }
.segment-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
  max-width: 56ch;
}
.segment-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  border-bottom: 1px solid transparent;
}
.segment-link:hover, .segment-link:focus-visible {
  color: var(--red-strong);
  border-bottom-color: currentColor;
}

/* ---------- Governance ---------- */

.governance dl {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}
.governance .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  padding-block: 20px;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 720px) {
  .governance .row {
    grid-template-columns: 220px 1fr;
    gap: 32px;
    align-items: baseline;
  }
}
.governance dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.governance dd {
  font-size: 16px;
  color: var(--text);
  line-height: 1.55;
}

/* ---------- Leadership ---------- */

.leader {
  margin-top: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.leader-name {
  font-weight: 600;
  font-size: 22px;
  color: var(--text);
  margin-bottom: 4px;
}
.leader-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.leader-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 64ch;
}

/* ---------- Contact ---------- */

.contact {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}
@media (min-width: 720px) {
  .contact-grid { grid-template-columns: 1fr 1fr 1fr; gap: 48px; }
}
.contact-block .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.contact-block .value {
  font-size: 16px;
  color: var(--text);
}
.contact-block .value a {
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
}
.contact-block .value a:hover { color: var(--red); border-color: var(--red); }
.contact-block address { font-style: normal; line-height: 1.55; }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 40px;
  font-size: 12px;
  color: var(--text-muted);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  align-items: center;
}
.footer-entity { color: var(--text-2); letter-spacing: 0.06em; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.footer-links a { color: var(--text-2); border-bottom: none; }
.footer-links a:hover { color: var(--red); }

/* ---------- Legal pages ---------- */

.legal {
  padding-block: clamp(64px, 10vw, 112px);
  max-width: 720px;
  margin: 0 auto;
}
.legal h1 {
  font-weight: 600;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text);
}
.legal .updated {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.legal h2 {
  font-weight: 600;
  font-size: 17px;
  margin-top: 36px;
  margin-bottom: 10px;
  color: var(--text);
  letter-spacing: 0.02em;
}
.legal p, .legal li { color: var(--text-2); margin-bottom: 12px; line-height: 1.65; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--red); border-bottom: 1px solid transparent; }
.legal a:hover { border-bottom-color: var(--red); }

/* ---------- 404 ---------- */

.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 24px;
}
.notfound .code {
  font-weight: 300;
  font-size: clamp(72px, 14vw, 144px);
  line-height: 1;
  color: var(--text);
  letter-spacing: -0.02em;
}
.notfound .code .accent { color: var(--red); }
.notfound p {
  margin-top: 24px;
  font-size: 16px;
  color: var(--text-2);
}
.notfound a {
  margin-top: 32px;
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid var(--text);
  color: var(--text);
  padding: 14px 28px;
  border-bottom: 1px solid var(--text);
}
.notfound a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
