/* Self-hosted fonts (SIL Open Font License). No request to Google. */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/barlow-condensed-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/source-sans-3-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/source-sans-3-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/source-sans-3-600.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/source-sans-3-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #12110e;
  --bg-2: #1b1814;
  --bg-3: #26221c;
  --fg: #f4f0e6;
  --muted: #b7aea0;
  --line: #3a342c;
  --ember: #e4572e;
  --ember-ink: #1c0e09;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1120px;
  --pad: clamp(1.15rem, 3.2vw, 2.1rem);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 1.05rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

button,
[role="button"],
summary { cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--pad);
  top: -4rem;
  background: var(--ember);
  color: var(--ember-ink);
  padding: 0.6rem 0.9rem;
  z-index: 20;
  font-weight: 700;
}
.skip:focus { top: 0.6rem; }

.topbar {
  background: #0c0b09;
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--line);
}
.topbar-inner,
.nav-inner,
.wrap,
.footer-inner {
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin-inline: auto;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  flex-wrap: wrap;
}
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--fg); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(18, 17, 14, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--ember);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.4rem;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  line-height: 0.9;
}
.brand img {
  height: 2.85rem;
  width: auto;
}
.brand-name {
  display: flex;
  flex-direction: column;
}
.brand strong {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 1.45rem;
}
.brand span {
  font-family: var(--display);
  letter-spacing: 0.28em;
  font-size: 0.78rem;
  color: var(--ember);
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  min-width: 2.75rem;
  min-height: 2.75rem;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 0.2rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.05rem;
  color: var(--muted);
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--fg);
  border-bottom-color: var(--ember);
}

.hero {
  position: relative;
  min-height: min(88vh, 760px);
  display: grid;
  align-items: end;
  background: #000;
  overflow: hidden;
}
.hero img.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.88) 0%, rgba(12, 10, 8, 0.55) 46%, rgba(12, 10, 8, 0.15) 100%),
    linear-gradient(180deg, rgba(12, 10, 8, 0.15), rgba(12, 10, 8, 0.55));
}
.hero-copy {
  position: relative;
  width: min(var(--max), calc(100% - var(--pad) * 2));
  margin: 0 auto;
  padding: 4.5rem 0 3.2rem;
  max-width: 40rem;
  margin-left: max(var(--pad), calc((100% - var(--max)) / 2));
}
.kicker {
  font-family: var(--display);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember);
  margin: 0 0 0.7rem;
  font-size: 1rem;
}
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0;
}
h1 { font-size: clamp(3.2rem, 8vw, 6.1rem); text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.5rem, 2vw, 1.9rem); line-height: 1.05; }
.lede {
  font-size: 1.2rem;
  color: var(--fg);
  max-width: 38rem;
  margin: 1rem 0 0;
}
.muted { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.5rem; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.55rem 1.1rem;
  background: var(--ember);
  color: var(--ember-ink);
  text-decoration: none;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 1.08rem;
  border: 1px solid var(--ember);
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--fg); }

.wrap { padding: 3.4rem 0; }
.wrap-tight { padding-top: 2rem; }

.pagehead {
  padding: 2.6rem 0 0.4rem;
  border-bottom: 1px solid var(--line);
}
.pagehead .wrap { padding-top: 0; padding-bottom: 1.6rem; }
.pagehead h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); }
.pagehead h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.2rem;
  align-items: center;
}
.split.reverse { grid-template-columns: 0.9fr 1.1fr; }
.split img { width: 100%; height: 100%; object-fit: cover; max-height: 560px; }

.prose p { margin: 0 0 0.95rem; }
.prose h2 { margin: 1.7rem 0 0.55rem; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.prose strong { font-weight: 650; }

.rule {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

.band {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 320px;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band + .band { border-top: 0; }
.band-copy { padding: clamp(1.4rem, 3vw, 2.4rem); display: flex; flex-direction: column; justify-content: center; }
.band img { width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.band:nth-child(even) .band-copy { order: 2; }
.index-num {
  font-family: var(--display);
  color: var(--ember);
  letter-spacing: 0.14em;
  margin: 0 0 0.4rem;
}

.grid-3, .grid-2, .courses, .gallery, .logos, .price-row {
  display: grid;
  gap: 1rem;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.courses { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line); }
.course {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.course:hover h3 { color: var(--ember); }
.course p { margin: 0.25rem 0 0; color: var(--muted); }
.course .sum {
  font-family: var(--display);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  text-align: right;
}

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.1rem 1.15rem 1.2rem;
}
.card h3 { margin-bottom: 0.45rem; }
.card p { margin: 0; color: var(--muted); }

.gallery { grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.shot {
  margin: 0;
  background: var(--bg-2);
  border: 1px solid var(--line);
}
.shot button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
}
.shot img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.shot figcaption {
  padding: 0.55rem 0.7rem 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.layout-price {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr;
  gap: 1.6rem;
  align-items: start;
}
.price {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 1.2rem;
  position: sticky;
  top: 5.4rem;
}
.price-num {
  font-family: var(--display);
  font-size: 3.2rem;
  line-height: 0.9;
  margin: 0.2rem 0 0.4rem;
}
.checklist { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.checklist li { margin: 0.28rem 0; }

.logos {
  grid-template-columns: repeat(2, minmax(0, 280px));
  align-items: center;
}
.logos figure {
  margin: 0;
  background: var(--fg);
  min-height: 110px;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.logos img { max-height: 72px; width: auto; margin: 0 auto; }
.logos figcaption { display: none; }

.note {
  border-left: 3px solid var(--ember);
  padding: 0.2rem 0 0.2rem 1rem;
  color: var(--fg);
  font-size: 1.15rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
}
label { display: block; font-size: 0.92rem; color: var(--muted); margin-bottom: 0.3rem; }
input, textarea {
  width: 100%;
  background: var(--bg-2);
  color: var(--fg);
  border: 1px solid var(--line);
  padding: 0.7rem 0.75rem;
  font: inherit;
  margin-bottom: 0.85rem;
}
textarea { min-height: 8rem; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }

address { font-style: normal; }
.contact-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1rem;
}
.contact-brand img {
  height: 4.6rem;
  width: auto;
}
.contact-brand h2 { margin: 0; }
.phone-list { list-style: none; padding: 0; margin: 0.6rem 0 0; }
.phone-list a { color: var(--fg); }

.site-footer {
  border-top: 1px solid var(--line);
  background: #0e0d0b;
  padding: 2.4rem 0 1.4rem;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.5rem;
}
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--fg); }
.site-footer h2 {
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  color: var(--fg);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0.28rem 0; }
.legal {
  margin-top: 1.6rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}
.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0 0 0.45rem;
}

dialog.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: min(1100px, 94vw);
  width: min(1100px, 94vw);
}
dialog.lightbox::backdrop { background: rgba(0, 0, 0, 0.82); }
.lb-frame { background: var(--bg); border: 1px solid var(--line); }
.lb-frame img { width: 100%; max-height: 78vh; object-fit: contain; background: #000; }
.lb-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.7rem 0.8rem;
}
.lb-close {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
  min-height: 2.5rem;
  padding: 0 0.8rem;
  font-family: var(--display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #16130f;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.4rem var(--pad) 0.9rem;
    gap: 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 0.7rem 0; border-bottom: 1px solid var(--line); }
  .split, .split.reverse, .band, .layout-price, .contact-grid, .footer-grid, .grid-3, .grid-2, .logos, .form-row {
    grid-template-columns: 1fr;
  }
  .band:nth-child(even) .band-copy { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .course { grid-template-columns: 1fr auto; }
  .course p { grid-column: 1 / -1; }
  .hero { min-height: 78vh; }
  .hero-scrim {
    background: linear-gradient(180deg, rgba(12, 10, 8, 0.2) 10%, rgba(12, 10, 8, 0.88) 78%);
  }
  .price { position: static; }
}

@media (max-width: 520px) {
  .gallery { grid-template-columns: 1fr; }
}

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