:root {
  --ink: #121416;
  --paper: #f4f1ea;
  --white: #ffffff;
  --gold: #f4bf00;
  --gold-dark: #f4bf00;
  --muted: #676967;
  --line: rgba(18, 20, 22, 0.16);
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-180%);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 10;
  max-width: var(--max);
  min-height: 90px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  line-height: 1;
}

.brand-mark {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.brand strong,
.brand small { display: block; }

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.brand small {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav { display: flex; gap: 1.8rem; }

nav a {
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

nav a:hover,
nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible { color: var(--gold); }

.button {
  min-height: 3.2rem;
  padding: 0.8rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--gold);
  border: 2px solid var(--gold);
  font-weight: 800;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}

.button-small {
  min-height: 2.75rem;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
}

.button-dark {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.button-dark:hover,
.button-dark:focus-visible {
  background: #2c3033;
  border-color: #2c3033;
}

.hero {
  position: relative;
  max-width: var(--max);
  min-height: 660px;
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 8rem) clamp(1.5rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(270px, 0.7fr);
  align-items: end;
  gap: clamp(3rem, 8vw, 8rem);
  color: var(--white);
  background:
    linear-gradient(118deg, rgba(13,15,16,0.98) 0%, rgba(13,15,16,0.9) 47%, rgba(13,15,16,0.58) 100%),
    linear-gradient(0deg, rgba(201,165,94,0.14), rgba(201,165,94,0.14)),
    url("assets/trinity-training.webp") center / cover no-repeat,
    #171a1c;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: -8%;
  right: 12%;
  width: 1px;
  height: 120%;
  background: rgba(255,255,255,0.16);
  transform: rotate(19deg);
  box-shadow: 58px 0 0 rgba(255,255,255,0.08), 116px 0 0 rgba(255,255,255,0.04);
}

.hero-content,
.class-card { position: relative; z-index: 1; }

.eyebrow,
.card-label {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.06;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: clamp(3.5rem, 7.8vw, 7.2rem);
  font-weight: 600;
  letter-spacing: -0.055em;
}

h1 span { color: #e8d19e; }

h2 {
  margin-bottom: 1.4rem;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: 1.6rem;
}

.hero-copy {
  max-width: 670px;
  margin-bottom: 2rem;
  color: rgba(255,255,255,0.78);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.text-link,
.phone-link {
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.35rem;
}

.class-card {
  padding: 2rem;
  border-top: 4px solid var(--gold);
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(8px);
}

.class-card .card-label { color: #e8d19e; }

.class-day {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 700;
}

.class-time { color: rgba(255,255,255,0.72); }

.class-card hr {
  margin: 1.4rem 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.2);
}

.class-card .address { line-height: 1.5; }

.class-card a {
  color: #e8d19e;
  font-size: 0.9rem;
  font-weight: 800;
  text-underline-offset: 0.3rem;
}

.trust-strip {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2rem clamp(1.5rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  color: var(--ink);
  background: var(--gold);
}

.trust-strip p { margin: 0; }
.trust-strip strong,
.trust-strip span { display: block; }
.trust-strip strong { font-size: 1.05rem; }
.trust-strip span { color: rgba(18,20,22,0.72); font-size: 0.86rem; }

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 6vw, 5.5rem);
}

.section-intro {
  max-width: 760px;
  margin-bottom: 4rem;
}

.section-intro > p:last-child {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.12rem;
}

.disciplines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.disciplines article {
  min-height: 280px;
  padding: 2rem 2rem 1rem 0;
  border-right: 1px solid var(--line);
}

.disciplines article + article { padding-left: 2rem; }
.disciplines article:last-child { border-right: 0; }

.number {
  display: block;
  margin-bottom: 4.5rem;
  color: var(--gold-dark);
  font-weight: 850;
  letter-spacing: 0.1em;
}

.disciplines p { color: var(--muted); }

.first-class {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 9vw, 8rem);
  background: var(--white);
}

.first-class-copy > p:not(.eyebrow) { color: var(--muted); }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  padding: 1.6rem 0;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
}

.steps li > span {
  color: var(--gold-dark);
  font-size: 0.8rem;
  font-weight: 850;
}

.steps strong { font-size: 1.06rem; }
.steps p { margin: 0.35rem 0 0; color: var(--muted); }

.instructor {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
}

.portrait {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #24282a;
}

.portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 50% 28%;
}

.instructor-copy .credential {
  color: var(--gold-dark);
  font-weight: 800;
}

.instructor-copy > p:not(.eyebrow):not(.credential) { color: var(--muted); }

.testimonials {
  color: var(--white);
  background: var(--ink);
}

.compact { margin-bottom: 3rem; }

.testimonial-lead {
  margin-bottom: 3rem;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: end;
  gap: clamp(2rem, 6vw, 5rem);
}

.testimonial-lead .section-intro { margin-bottom: 0; }

.testimonial-lead img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  object-position: center 34%;
  filter: saturate(0.72) contrast(1.07);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.14);
}

blockquote {
  margin: 0;
  padding: clamp(2rem, 5vw, 4rem);
  background: var(--ink);
}

blockquote p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  line-height: 1.45;
}

blockquote cite {
  color: #e8d19e;
  font-style: normal;
  font-weight: 800;
}

.location {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: start;
  gap: clamp(3rem, 9vw, 8rem);
}

.location > div:first-child > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.1rem;
}

.location-card {
  padding: 2rem;
  border-top: 4px solid var(--gold);
  background: var(--white);
  box-shadow: 0 20px 60px rgba(18,20,22,0.10);
}

.location-card address {
  margin-bottom: 1.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}

.location-card a { color: var(--gold-dark); font-weight: 800; }

footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem clamp(1.5rem, 6vw, 5.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem 3rem;
  color: rgba(255,255,255,0.7);
  background: #090a0b;
  font-size: 0.85rem;
}

footer p { margin: 0; }
footer p:last-child { grid-column: 2; }
footer a:hover,
footer a:focus-visible { color: var(--white); }
.footer-brand { grid-row: 1 / span 2; color: var(--white); }
.footer-brand small { color: rgba(255,255,255,0.55); }

@media (max-width: 900px) {
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .class-card { max-width: 420px; }
  .disciplines { grid-template-columns: 1fr; }
  .disciplines article,
  .disciplines article + article {
    min-height: auto;
    padding: 2rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .number { margin-bottom: 1.5rem; }
  .first-class,
  .instructor,
  .location,
  .testimonial-lead { grid-template-columns: 1fr; }
  .portrait { max-width: 520px; }
}

@media (max-width: 640px) {
  .site-header { min-height: 76px; }
  .site-header .button { display: none; }
  .brand strong { font-size: 1.2rem; }
  .hero { padding-top: 4rem; }
  h1 { font-size: clamp(3.1rem, 16vw, 4.5rem); }
  .trust-strip { grid-template-columns: 1fr; gap: 1rem; }
  .trust-strip p { padding-bottom: 1rem; border-bottom: 1px solid rgba(18,20,22,0.22); }
  .quotes { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .footer-brand,
  footer p:last-child { grid-column: 1; grid-row: auto; }
}

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