/* Adin Investments, Inc. — site styles
   Theme: Slate & Brass. Every color lives in :root below; change it there. */

/* ---------- Fonts (self-hosted, SIL OFL — see fonts/LICENSE.txt) ---------- */
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;

  --bg: #182127;          /* page background */
  --band: #1d272e;        /* "Work with us" band */
  --card: #212d34;        /* tiles and routing cards */
  --ink: #eee8dc;         /* main text */
  --muted: #aeb7b4;       /* secondary text */
  --rule: #2f3d45;        /* borders and dividers */
  --accent: #cfae6a;      /* brass */
  --line: #c9c2b3;        /* line-art strokes */
  --button-ink: #182127;  /* text on brass buttons */
  --dark: #10171b;        /* contact + footer */
  --dark-muted: #a6aeac;
  --dark-rule: #2a363d;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-pad: clamp(56px, 7vw, 88px);
  --radius: 4px;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .route { transition: none; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
svg { display: block; }

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

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
.label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.lede { color: var(--muted); }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: 0.01em; }
.brand-sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.site-nav a { text-decoration: none; padding: 10px 0; }
.site-nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero-copy { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.hero-lede { font-size: 20px; line-height: 1.55; color: var(--muted); max-width: 34em; }
.hero-art { flex: 1 1 400px; min-width: 0; }
.hero-art svg { width: 100%; height: auto; }
.art-line { stroke: var(--line); }
.art-accent { stroke: var(--accent); }

.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 3px;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary { background: var(--accent); color: var(--button-ink); }
.btn-primary:hover { background: #dcbf80; }
.btn-secondary { border: 1px solid var(--ink); color: var(--ink); font-weight: 500; }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
.section { border-top: 1px solid var(--rule); }
.section > .wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-block: var(--section-pad);
}
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 46em; }
.section h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.section-band { background: var(--band); border-bottom: 1px solid var(--rule); }

.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.card h3 { font-size: 23px; line-height: 1.2; }
.card p { color: var(--muted); font-size: 16px; }
.card-icon { width: 30px; height: 30px; stroke: var(--accent); }

/* Routing cards are whole-card links */
.route {
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.route p { flex-grow: 1; }
.route:hover { transform: translateY(-2px); border-color: var(--accent); }
.route-cta { font-weight: 600; font-size: 15px; color: var(--accent); }

/* About */
.section.about > .wrap {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 48px;
  padding-block: var(--section-pad);
}
.about-head { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.about-body { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.about-body .lead { font-size: 19px; }
.facts {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Contact ---------- */
.contact { background: var(--dark); }
.contact .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 48px;
  padding-block: var(--section-pad);
}
.contact-head { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact h2 { font-size: clamp(34px, 4.5vw, 52px); line-height: 1.08; }
.contact .lede { color: var(--dark-muted); max-width: 30em; }
.notice {
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px solid var(--dark-rule);
  border-radius: var(--radius);
  font-size: 15px;
  line-height: 1.55;
  max-width: 32em;
}
.contact-list { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 24px; margin: 0; }
.contact-item { display: flex; flex-direction: column; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--dark-rule); }
.contact-item:last-child { padding-bottom: 0; border-bottom: 0; }
.contact-item dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--dark-muted); }
.contact-item dd { margin: 0; font-size: 18px; }
.contact-email {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 28px);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  overflow-wrap: anywhere;
}
.contact-email:hover { color: var(--accent); }
address { font-style: normal; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--dark-muted); border-top: 1px solid var(--dark-rule); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 28px;
  font-size: 14px;
  line-height: 1.5;
}
.site-footer .disclosure { max-width: 44em; }

/* ---------- 404 ---------- */
.notfound .wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-block: clamp(72px, 12vw, 140px);
}
.notfound h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.05; }
