/* Gladiator Holdings — single stylesheet. No frameworks, no build step. */

:root {
  --bg:      #0b0b0d;
  --surface: #121216;
  --text:    #ece9e4;
  --muted:   #90909a;
  --rule:    #22222a;
  --accent:     #e8a713;   /* sampled from the logo */
  --accent-dim: #7a5c17;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
           Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
           Arial, sans-serif;

  --measure: 33rem;
  --gutter: 1.5rem;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ---------- shared ---------- */

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

.label {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-weight: 500;
}

a { color: var(--text); }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: var(--gutter);
  top: 0.75rem;
  z-index: 10;
  background: var(--surface);
  color: var(--text);
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--rule);
  text-decoration: none;
}

/* ---------- header ---------- */

.site-head {
  border-bottom: 1px solid var(--rule);
}

.site-head .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 0.9375rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;        /* five items incl. the language switcher: wrap, never overflow */
  gap: 0.5rem 1.75rem;
}

.site-nav a {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover { color: var(--text); }

.site-nav a[aria-current="page"] {
  color: var(--text);
  border-bottom-color: var(--accent);
}

/* Language switcher. Set apart from the section links because it changes the
   whole site rather than moving within it. Quebec's language requirements mean
   this must be as easy to find as any other link, so it sits in the primary
   nav rather than tucked into the footer. */
.site-nav .lang {
  color: var(--accent);
  padding-left: 1.25rem;
  border-left: 1px solid var(--rule);
}

.site-nav .lang:hover { color: var(--text); }

/* ---------- main ---------- */

main { flex: 1 0 auto; }

.hero {
  padding: clamp(4rem, 13vh, 8.5rem) 0 clamp(3rem, 8vh, 5rem);
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.125rem, 6.2vw, 3.75rem);
  line-height: 1.07;
  letter-spacing: -0.012em;
  margin: 0;
  max-width: 24ch;
}

.lead {
  font-size: clamp(1.0625rem, 1.9vw, 1.1875rem);
  line-height: 1.68;
  color: #cfccc6;
  max-width: var(--measure);
  margin: 2rem 0 0;
}

.page-head {
  padding: clamp(3.5rem, 10vh, 6rem) 0 clamp(2rem, 5vh, 3rem);
}

.page-head h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.875rem, 4.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
}

.prose {
  max-width: var(--measure);
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.prose p { margin: 0 0 1.25rem; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- facts strip ---------- */

.facts {
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 2.5rem;
  margin: 0;
  padding: 2.5rem 0 clamp(3rem, 9vh, 5.5rem);
}

.facts div { margin: 0; }

.facts dt {
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.facts dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.125rem;
}

.facts dd a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dim);
  padding-bottom: 1px;
  transition: border-color 0.15s ease;
}

.facts dd a:hover { border-bottom-color: var(--accent); }

/* ---------- person ---------- */

.person {
  border-top: 1px solid var(--rule);
  padding: 2.5rem 0 0;
  max-width: 44rem;
}

.person h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
}

.person .role {
  font-size: 0.75rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.25rem;
}

.person p { max-width: var(--measure); margin: 0 0 1rem; }
.person p:last-child { margin-bottom: 0; }

/* ---------- location ---------- */

.address {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.6;
  font-style: normal;
  margin: 0 0 1.5rem;
}

.directions {
  display: inline-block;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
}

.directions:hover { color: var(--text); }

.map {
  margin: clamp(2.5rem, 6vh, 3.5rem) 0 clamp(3rem, 9vh, 5rem);
  border: 1px solid var(--rule);
  background: var(--surface);
  position: relative;
  aspect-ratio: 16 / 9;
  max-height: 28rem;
  overflow: hidden;
}

.map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-load {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  background: var(--surface);
  color: var(--muted);
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.map-load:hover { color: var(--text); }
.map-load svg { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; stroke-width: 1.25; }
.map-load small { font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: none; color: #6e6e78; }


/* ---------- footer ---------- */

.site-foot {
  border-top: 1px solid var(--rule);
  margin-top: auto;
}

.site-foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  justify-content: space-between;
  padding-top: 2rem;
  padding-bottom: 2rem;
  font-size: 0.75rem;
  color: var(--muted);
}

.site-foot p { margin: 0; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--text); }

@media (max-width: 34rem) {
  .site-head .wrap { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .site-nav { gap: 0.5rem 1.25rem; }
  .site-nav .lang { padding-left: 0; border-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}


/* ---------- masthead lockup ---------- */

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.wordmark img {
  display: block;
  height: 34px;
  width: auto;
}

/* ---------- home hero crest ---------- */

.hero--home { text-align: center; }

.hero--home .hero-logo {
  display: block;
  width: min(270px, 62vw);
  height: auto;
  margin: 0 auto clamp(2.25rem, 6vh, 3.25rem);
}

.hero--home h1 { margin-inline: auto; }
.hero--home .lead { margin-inline: auto; }

.facts--home { text-align: center; }

/* ---------- forms ---------- */

.form { max-width: 34rem; padding-bottom: clamp(3rem, 9vh, 5rem); }

.field { margin-bottom: 1.75rem; }

.field label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.625rem;
}

.field input,
.field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--rule);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  padding: 0.75rem 0.875rem;
  border-radius: 2px;
  transition: border-color 0.15s ease;
}

.field textarea { resize: vertical; min-height: 9rem; }

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.hint {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0.5rem 0 0.75rem;
}

.captcha {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.captcha img {
  display: block;
  border: 1px solid var(--rule);
  border-radius: 2px;
  background: var(--surface);
  max-width: 100%;
  height: auto;
}

.captcha-new {
  background: none;
  border: 0;
  border-bottom: 1px solid var(--accent-dim);
  color: var(--accent);
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 0 0 2px;
  cursor: pointer;
}

.captcha-new:hover { color: var(--text); border-bottom-color: var(--text); }

.submit {
  background: var(--accent);
  color: #15100a;
  border: 0;
  border-radius: 2px;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9375rem 2rem;
  cursor: pointer;
  transition: filter 0.15s ease;
}

.submit:hover { filter: brightness(1.1); }

/* Honeypot — present in the DOM, unreachable for people. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- notices ---------- */

.notice {
  max-width: 34rem;
  border: 1px solid var(--rule);
  border-left-width: 2px;
  background: var(--surface);
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.5rem;
  font-size: 0.9375rem;
}

.notice p { margin: 0 0 0.5rem; }
.notice p:last-child { margin-bottom: 0; }
.notice ul { margin: 0.5rem 0 0; padding-left: 1.1rem; }
.notice li { margin-bottom: 0.25rem; }

.notice--ok  { border-left-color: var(--accent); }
.notice--bad { border-left-color: #c2554a; }

.notice--ok + p, .notice a { color: var(--accent); }
