/* ===========================================
   VISH / SIGNA TYPOGRAPHY SYSTEM
   Self-Hosted: URW DIN + Inter
   =========================================== */

/* ===== URW DIN ===== */
@font-face {
  font-family: "URW DIN";
  src: url("../fonts/urw-din/urwdin-light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "URW DIN";
  src: url("../fonts/urw-din/urwdin-regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "URW DIN";
  src: url("../fonts/urw-din/urwdin-medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "URW DIN";
  src: url("../fonts/urw-din/urwdin-bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== INTER ===== */
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter_18pt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter_18pt-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter_18pt-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter/Inter_18pt-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ===== GLOBAL VARIABLES ===== */
:root {
  /* Font families */
  --font-head: "URW DIN", "DIN", "Bahnschrift", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Scale (responsive) */
  --fs-h1: clamp(2.25em, 4vw + 1em, 3em);
  --fs-h2: clamp(1.5em, 2.5vw + 0.5em, 1.75em);
  --fs-h3: clamp(1.125em, 1.5vw + 0.4em, 1.25em);
  --fs-body: clamp(0.95em, 0.3vw + 0.9em, 1em);
  --fs-cap: clamp(0.75em, 0.2vw + 0.7em, 0.8125em);

  /* Rhythm */
  --lh: 1.6;
}

/* ===== BASE BODY ===== */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh);
  color: #141414;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "lnum" 1;
  margin: 0;
}

/* ===== PARAGRAPHS ===== */
p {
  max-width: 70ch;
  margin: 0 0 1em;
  text-wrap: pretty;
  hyphens: auto;
}
.lead {
  font-size: clamp(1.05em, 0.6vw + 1em, 1.25em);
  line-height: 1.7;
}

/* ===== HEADINGS ===== */
h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 .5em;
}
h1 { font-size: var(--fs-h1); line-height: 1.1; font-weight: 700; }
h2 { font-size: var(--fs-h2); line-height: 1.2; font-weight: 500; }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 600; }

h2 { color: var(--vish-red, #C80000); }
h2 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

h2 a:hover {
  color: #a00000; /* darker tone of Vish Red */
}

h3 { color: var(--vish-red, #C80000); }
h3 a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

h3 a:hover {
  color: #a00000; /* darker tone of Vish Red */
}

/* ===== EYEBROW & CAPTION ===== */
.eyebrow {
  font-family: var(--font-head);
  font-size: clamp(.7rem, .25vw + .6rem, .8rem);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C80000;
}
.caption {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--fs-cap);
  line-height: 1.4;
  opacity: .8;
}

/* ===== NAVIGATION ===== */
.main-nav a {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 700;               /* Inter Bold */
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(0.8rem, 0.2vw + 0.75rem, 0.9rem);
  color: var(--charcoal, #222);
  transition: color .2s ease;
}
.main-nav a:hover { color: #C80000; }

/* ===== BUTTONS ===== */
.btn, button {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .02em;
  font-weight: 500;
  font-size: clamp(.78rem, .2vw + .7rem, .9rem);
  background: #C80000;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: filter .2s ease, transform .1s ease;
}
.btn:hover, button:hover { filter: brightness(.92); }
.btn:active, button:active { transform: translateY(1px); }

/* ===== PAGEHEAD HERO ===== */
.pagehead {
  height: calc(100vh - var(--header-h, 64px));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
  gap: .75rem;
}
.pagehead h1 { max-width: 18ch; }
.pagehead .lead { text-wrap: balance; }

/* ===== UTILITIES ===== */
.max-60 { max-width: 60ch; }
.center { text-align: center; }

/* ===== RESPONSIVE TUNING ===== */
@media (min-width: 1600px) {
  :root { --fs-h1: clamp(2.25em, 3.25vw + 1em, 3.2em); }
}
@media (max-width: 360px) {
  :root {
    --fs-h2: clamp(1.35em, 2.5vw + 0.5em, 1.6em);
    --fs-h3: clamp(1.05em, 1.5vw + 0.35em, 1.2em);
  }
}

