/* The Introverted Networker — site styles
   Tokens copied from the TIN design system (reference/brand/tin in the context directory).
   Brand rules: navy base, gold accent only, blue for links and chevrons only,
   never more than three colors in one section. Oswald for headings, Source Serif 4 for body. */

:root {
  --tin-navy: #1B2255;
  --tin-navy-700: #2A3270;
  --tin-navy-600: #3B4488;
  --tin-navy-100: #D7DAE6;
  --tin-gold: #C8922A;
  --tin-gold-700: #A9781F;
  --tin-blue: #4A7EC7;
  --tin-blue-700: #35619E;
  --tin-cream: #F5F0E8;
  --tin-cream-dark: #EAE2D3;
  --tin-cream-100: #FBF8F3;
  --tin-white: #FFFFFF;

  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --container: 1120px;
  --prose: 720px;
  --radius: 12px;
  --shadow: 0 6px 18px rgba(27, 34, 85, 0.10);
}

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

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

body {
  margin: 0;
  background: var(--tin-cream);
  color: var(--tin-navy);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.65;
}

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

a { color: var(--tin-blue); }
a:hover { color: var(--tin-blue-700); }
:focus-visible { outline: 3px solid var(--tin-blue); outline-offset: 3px; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.prose { max-width: var(--prose); }

/* ---------- Header ---------- */
.site-header {
  background: var(--tin-white);
  border-bottom: 1px solid var(--tin-cream-dark);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 72px;
}
.site-header .brand img { height: 44px; width: auto; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-nav a {
  font-family: var(--font-heading); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px;
  color: var(--tin-navy); text-decoration: none;
}
.site-nav a:hover { color: var(--tin-gold-700); }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-family: var(--font-heading); font-weight: 700;
  text-transform: uppercase; line-height: 1.1; letter-spacing: -0.005em;
  margin: 0 0 16px;
}
h1 { font-size: clamp(36px, 6vw, 60px); }
h2 { font-size: clamp(28px, 4vw, 38px); }
h3 { font-size: 22px; }

.eyebrow {
  font-family: var(--font-heading); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 14px;
  color: var(--tin-gold-700); margin: 0 0 12px;
}
.lead { font-size: 21px; font-style: italic; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--tin-cream-dark); }

.hero { background: var(--tin-white); padding: 80px 0 88px; position: relative; overflow: hidden; }
.hero .banner { width: min(560px, 100%); margin: 0 0 32px; }

.navy { background: var(--tin-navy); color: var(--tin-white); }
.navy .eyebrow { color: var(--tin-gold); }
.navy a:not(.btn) { color: #8AB3E8; }

.split { display: grid; gap: 48px; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .split { grid-template-columns: 1.2fr 1fr; } }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; padding: 14px 26px; border-radius: 8px;
  font-family: var(--font-heading); font-weight: 600; font-size: 16px;
  text-transform: uppercase; letter-spacing: 0.08em; text-decoration: none;
  border: 2px solid transparent; transition: background 200ms ease, color 200ms ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--tin-navy); color: var(--tin-white); }
.btn-primary:hover { background: var(--tin-navy-700); color: var(--tin-white); }
.btn-accent { background: var(--tin-gold); color: var(--tin-navy); }
.btn-accent:hover { background: var(--tin-gold-700); color: var(--tin-white); }
.btn-outline { border-color: var(--tin-navy); color: var(--tin-navy); }
.btn-outline:hover { background: var(--tin-navy); color: var(--tin-white); }
.navy .btn-outline { border-color: var(--tin-white); color: var(--tin-white); }
.navy .btn-outline:hover { background: var(--tin-white); color: var(--tin-navy); }

/* ---------- Cards ---------- */
.card {
  background: var(--tin-white); border: 1px solid var(--tin-cream-dark);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
}
.navy .card { color: var(--tin-navy); }

/* ---------- Placeholders (remove the class once Greg's copy is in) ---------- */
.todo {
  display: block; border: 2px dashed var(--tin-gold); border-radius: 8px;
  background: rgba(200, 146, 42, 0.08); padding: 12px 16px; margin: 0 0 16px;
  font-family: var(--font-heading); font-size: 15px; font-weight: 500;
  letter-spacing: 0.02em; text-transform: none; font-style: normal;
}
.navy .todo { background: rgba(200, 146, 42, 0.15); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tin-navy); color: var(--tin-white);
  padding: 48px 0; font-size: 16px;
}
.site-footer .wrap { display: grid; gap: 20px; }
.site-footer .signoff {
  font-family: var(--font-heading); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--tin-gold);
}
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: var(--tin-white); }
.site-footer small { color: var(--tin-navy-100); }

@media (max-width: 600px) {
  section { padding: 56px 0; }
  .hero { padding: 56px 0 64px; }
  .site-header .brand img { height: 36px; }
  .site-nav { gap: 14px; }
}
