@import url('brand.css');

:root {
  --paper: #f4f1eb;
  --white: #fffefa;
  --ink: #20211f;
  --muted: #62645e;
  --red: #a30f1d;
  --red-dark: #800b16;
  --line: #dcd8cf;
  --display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
  --heavy: 'Anton', Impact, sans-serif;
  --body: 'Inter', Arial, sans-serif;
  --width: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 112px; }
body { position: relative; min-height: 100vh; isolation: isolate; margin: 0; background: #dbd2c9; color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.65; }

/* One proportional backdrop stays fixed as content and the scrim scroll. */
#bg { position: fixed; inset: 0; z-index: -2; background-image: url('images/hero-bg.jpg'); background-size: cover; background-position: center 22%; background-repeat: no-repeat; }
@media (min-width: 900px) {
  #bg { inset: 12px; background-color: #dbd2c9; background-size: cover; background-position: center 22%; }
}
#scrim { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,.15) 12%, rgba(120,116,112,.35) 45%, rgba(40,38,36,.72) 75%, rgba(15,14,13,.92) 100%); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-underline-offset: 4px; }
a:hover { color: var(--red-dark); }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
.founder-feature :focus-visible, .about-cta :focus-visible, .affiliation :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
::selection { background: #ead0ce; color: var(--ink); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 400; }
.container { width: min(var(--width), calc(100% - 64px)); margin-inline: auto; }
.section { padding-block: 96px; }
.eyebrow { margin-bottom: 14px; color: var(--red); font-size: 11px; font-weight: 700; line-height: 1.5; letter-spacing: .17em; text-transform: uppercase; }
.section-title { margin-bottom: 20px; font-family: var(--display); font-size: clamp(40px, 5vw, 62px); line-height: 1.05; letter-spacing: .015em; }
.section-intro { max-width: 560px; margin-bottom: 0; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--red); font-size: 13px; font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.arrow { font-size: 20px; font-family: Arial, sans-serif; font-weight: 400; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 18px; padding: 14px 25px; border: 1px solid var(--red); background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .035em; line-height: 1.5; text-decoration: none; transition: background .15s, border-color .15s; }
.button:hover { border-color: var(--red-dark); background: var(--red-dark); color: #fff; }
.button-secondary { border-color: #999990; background: transparent; color: var(--ink); }
.button-secondary:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.skip-link { position: fixed; top: 10px; left: 16px; z-index: 100; padding: 10px 20px; background: var(--white); color: var(--red); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

/* A compact, shared header. Navigation stays visible if JavaScript is unavailable. */
.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(32, 33, 31, .09); background: rgba(250, 248, 243, .97); backdrop-filter: blur(12px); }
.site-nav { position: relative; display: flex; min-height: 94px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex: 0 0 auto; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.brand img { width: 72px; height: 72px; object-fit: contain; border-radius: 50%; }
.brand-name { font-family: var(--display); font-size: 20px; line-height: 1.05; letter-spacing: .035em; }
.brand-name span { display: block; margin-top: 4px; color: var(--muted); font-family: var(--body); font-size: 9px; font-weight: 600; letter-spacing: .15em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current='page'] { color: var(--red); }
.nav-links .nav-contact { padding: 11px 17px; border: 1px solid var(--line); }
.nav-links .nav-contact:hover { border-color: var(--red); }
.nav-toggle { display: none; min-width: 46px; min-height: 46px; align-items: center; justify-content: center; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }

.hero { position: relative; display: grid; min-height: min(740px, calc(100svh - 94px)); align-items: center; overflow: hidden; text-align: center; }
.hero-content { padding-block: 76px 84px; }
.hero .eyebrow { margin-bottom: 28px; }
.hero h1 { max-width: 950px; margin: 0 auto 24px; font-family: var(--heavy); font-size: clamp(48px, 6.8vw, 86px); line-height: 1.05; letter-spacing: -.015em; text-shadow: 0 4px 24px rgba(255,255,255,.45); }
.hero h1 span { display: block; }
.hero-tagline { margin-bottom: 16px; font-family: var(--display); font-size: clamp(19px, 2.4vw, 25px); letter-spacing: .065em; text-shadow: 0 2px 14px rgba(255,255,255,.4); }
.hero-description { max-width: 460px; margin: 0 auto 30px; color: #494c46; font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-footnote { margin: 36px 0 0; color: #55574f; font-size: 11px; letter-spacing: .045em; }
.hero-footnote span { padding-inline: 10px; color: var(--red); }
.hero-description, .hero-footnote, .about-lede { text-shadow: 0 1px 2px rgba(255,255,255,.9), 0 2px 14px rgba(255,255,255,.8); }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 38px; }
.section-heading .section-title { margin-bottom: 0; }
.schedule-note { max-width: 225px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.class-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.class-card { display: flex; flex-direction: column; padding: 30px 28px 28px; border: 1px solid var(--line); border-top: 3px solid var(--red); background: rgba(255,255,255,.08); }
.class-card h3 { margin-bottom: 20px; font-family: var(--display); font-size: 32px; line-height: 1.1; }
.class-days { margin-bottom: 6px; color: var(--red); font-size: 12px; font-weight: 600; }
.class-time { margin-bottom: 22px; font-family: var(--display); font-size: clamp(27px, 3vw, 36px); line-height: 1.1; white-space: nowrap; }
.class-time small { font-size: 22px; }
.class-description { margin-bottom: 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.8; }
.schedule-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 24px; }
.schedule-footer p { margin: 0; color: var(--muted); font-size: 12px; }

.gallery-section { padding-top: 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; align-items: start; }
.gallery-item { min-width: 0; margin: 0; }
.gallery-photo { position: relative; display: block; overflow: hidden; border: 1px solid rgba(32,33,31,.15); background: rgba(255,255,255,.08); }
.gallery-photo img { width: 100%; height: auto; }
.gallery-expand { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 8px 14px; background: rgba(20,19,18,.85); color: #fff; font-size: 11px; font-weight: 600; }
.gallery-photo:hover .gallery-expand { background: var(--red); }
.gallery-item figcaption { padding-top: 14px; color: var(--muted); font-size: 12px; }
.gallery-viewer { width: min(1200px, calc(100vw - 32px)); max-width: none; max-height: calc(100svh - 32px); padding: 18px; border: 1px solid rgba(255,255,255,.25); background: #171815; color: #fff; }
.gallery-viewer::backdrop { background: rgba(10,10,8,.85); }
.gallery-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.gallery-viewer-header h2 { margin: 0; font-family: var(--display); font-size: 26px; line-height: 1.2; }
.gallery-viewer-header form { margin: 0; }
.gallery-close { display: inline-flex; min-height: 44px; align-items: center; gap: 18px; padding: 8px 14px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; font-size: 12px; cursor: pointer; }
.gallery-close span { font-size: 24px; line-height: 1; }
.gallery-close:hover { background: rgba(255,255,255,.12); }
.gallery-viewer :focus-visible { outline-color: #fff; }
.gallery-viewer figure { margin: 0; }
.gallery-viewer-figure { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: 14px; row-gap: 12px; }
.gallery-viewer-figure img { grid-column: 1 / -1; }
.gallery-step { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; padding: 0; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.gallery-step:hover { background: rgba(255,255,255,.22); }
.gallery-step[hidden] { display: none; }
.gallery-viewer-figure figcaption { margin-top: 0; text-align: center; }
.gallery-viewer img { width: 100%; max-height: calc(100svh - 250px); object-fit: contain; }
.gallery-viewer figcaption { margin-top: 14px; color: #deded6; font-size: 13px; }
html.gallery-open { overflow: hidden; }

.first-visit { padding-top: 0; }
.visit-layout > * { min-width: 0; }
.visit-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; padding-top: 70px; border-top: 1px solid var(--line); }
.visit-copy .text-link { margin-top: 25px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 22px 32px 22px 0; cursor: pointer; list-style: none; font-size: 14px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; top: 19px; right: 3px; color: var(--red); font-size: 23px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p a { overflow-wrap: anywhere; }
.faq details p { margin-bottom: 24px; padding-right: 20px; color: var(--muted); font-size: 13px; line-height: 1.8; }

.founder-feature { position: relative; overflow: hidden; background: rgba(20,19,18,.72); color: var(--white); }
.founder-feature .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 100px; }
.founder-feature .eyebrow { color: #e49193; }
.founder-feature .section-title { margin-bottom: 0; }
.founder-feature p:not(.eyebrow) { margin-bottom: 24px; color: #d1d1c9; font-size: 14px; line-height: 1.85; }
.founder-feature .text-link { color: var(--white); }
.founder-feature .text-link .arrow { color: #e49193; }

.location-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: center; }
.location-address { margin-bottom: 25px; color: var(--muted); font-size: 14px; }
.location-contact { margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--line); }
.location-contact p { margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.email-link { display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; font-size: 13px; font-weight: 600; }
.map-frame { padding: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.08); }
.map-frame iframe { display: block; width: 100%; height: 340px; border: 0; }
.map-caption { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 10px 6px; color: var(--muted); font-size: 11px; }
.map-caption a { flex-shrink: 0; color: var(--red); font-size: 11px; }
.affiliation { padding-block: 30px; border-top: 1px solid var(--line); }
.affiliation-inner { display: flex; align-items: center; justify-content: center; gap: 24px; }
.affiliation img { width: 60px; height: auto; border-radius: 50%; }
.affiliation p { margin: 0; color: #d8d5d2; font-size: 11px; }
.affiliation strong { display: block; margin-top: 2px; color: var(--white); font-size: 12px; font-weight: 600; }
.site-footer { padding-block: 30px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-inner p { margin: 0; color: #d8d5d2; font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--white); font-size: 11px; text-decoration: none; }
.footer-links a:hover { color: #e8b4b8; text-decoration: underline; }

/* Founder page: the supplied story, set in a quieter, readable layout. */
.about-hero { position: relative; overflow: hidden; padding-block: 65px 76px; border-bottom: 1px solid var(--line); }
.about-hero .container { position: relative; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-height: 44px; margin-bottom: 46px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.breadcrumb-part { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; min-width: 0; }
.breadcrumb [aria-current="page"] { overflow-wrap: anywhere; }
.breadcrumb a { color: var(--muted); }
.about-hero h1 { margin-bottom: 20px; font-family: var(--heavy); font-size: clamp(44px, 6vw, 76px); line-height: 1.12; letter-spacing: -.01em; }
.founder-rank { margin-bottom: 26px; color: var(--red); font-family: var(--display); font-size: 19px; letter-spacing: .045em; }
.about-lede { max-width: 680px; margin-bottom: 0; color: #4b4f48; font-size: 17px; line-height: 1.85; }
.story-layout { display: grid; grid-template-columns: 250px 1fr; gap: 80px; }
.story-heading .section-title { font-size: 44px; }
.timeline { margin: 0; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 22px; padding-block: 24px; border-top: 1px solid var(--line); }
.timeline li:last-child { border-bottom: 1px solid var(--line); }
.timeline-year { color: var(--red); font-family: var(--display); font-size: 26px; line-height: 1.3; }
.timeline p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.story-block { padding-block: 70px; border-top: 1px solid var(--line); }
.story-copy p { margin-bottom: 20px; color: var(--muted); font-size: 14px; line-height: 1.95; }
.story-copy p:last-child { margin-bottom: 0; }
.community-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.community-grid h3 { margin-bottom: 12px; font-family: var(--display); font-size: 27px; line-height: 1.2; }
.community-grid p { margin-bottom: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.community-title { margin-bottom: 34px; }
.honours { margin: 0; padding: 0; list-style: none; }
.honours li { position: relative; padding: 16px 0 16px 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.honours li::before { content: ''; position: absolute; top: 25px; left: 0; width: 5px; height: 5px; background: var(--red); }
.about-cta { padding-block: 65px; background: rgba(20,19,18,.72); color: var(--white); text-align: center; }
.about-cta p { max-width: 500px; margin: 0 auto 28px; color: #d1d1c9; font-size: 14px; }
.about-cta .section-title { margin-bottom: 16px; }

/* Translucent reading surfaces let the continuous artwork remain visible below. */
.section:not(.founder-feature) > .container, .story-block { --muted: #363a33; --red: var(--red-dark); position: relative; isolation: isolate; }
.section:not(.founder-feature) > .container::before, .story-block::before { content: ''; position: absolute; inset: 0 -24px; z-index: -1; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.68); backdrop-filter: blur(1px); pointer-events: none; }

@media (min-width: 761px) and (max-width: 1100px) {
  .nav-links { gap: 14px; }
}
@media (max-width: 1000px) {
  .brand-name { display: none; }
  .visit-layout { gap: 48px; }
  .location-layout { gap: 42px; }
  .founder-feature .container { gap: 50px; }
  .story-layout { grid-template-columns: 210px 1fr; gap: 48px; }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 94px; }
  .container { width: calc(100% - 40px); }
  .section { padding-block: 64px; }
  .site-nav { min-height: 78px; flex-wrap: wrap; gap: 0; }
  .brand img { width: 58px; height: 58px; }
  .brand-name { display: block; font-size: 17px; }
  .brand-name span { font-size: 8px; }
  .nav-links { flex: 1 0 100%; flex-wrap: wrap; gap: 0 20px; padding: 0 0 14px; }
  .nav-links a { padding-block: 12px; }
  .nav-links .nav-contact { padding: 10px 16px; }
  .site-nav[data-enhanced] .nav-toggle:not([hidden]) { display: flex; }
  .site-nav[data-enhanced] .nav-links { display: none; }
  .site-nav[data-menu-open='true'] .nav-links { display: flex; flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; max-height: calc(100svh - 78px); padding: 10px 0 20px; overflow-y: auto; }
  .site-nav[data-menu-open='true'] .nav-links a { padding: 13px 8px; }
  .site-nav[data-menu-open='true'] .nav-links .nav-contact { margin-top: 6px; text-align: center; }
  .hero { min-height: 650px; }
  .hero-content { padding-block: 70px 66px; }
  .hero .eyebrow { margin-bottom: 24px; font-size: 10px; }
  .hero h1 { font-size: clamp(40px, 8.6vw, 62px); line-height: 1.1; }
  .hero-tagline { max-width: 320px; margin-inline: auto; font-size: 20px; line-height: 1.5; }
  .hero-description { max-width: 320px; font-size: 13px; }
  .hero-footnote { max-width: 290px; margin: 28px auto 0; font-size: 10px; }
  .hero-actions { gap: 10px; }
  .hero-actions .button { min-width: 145px; padding-inline: 17px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 16px; margin-bottom: 28px; }
  .schedule-note { max-width: none; text-align: left; }
  .class-grid { grid-template-columns: 1fr; gap: 16px; }
  .class-card { padding: 26px; }
  .class-card h3 { margin-bottom: 16px; }
  .class-time { font-size: 36px; }
  .schedule-footer { margin-top: 22px; }
  .gallery-section { padding-top: 0; }
  .first-visit { padding-top: 0; }
  .visit-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 48px; }
  .founder-feature .container { grid-template-columns: 1fr; gap: 28px; }
  .founder-feature p:not(.eyebrow) { margin-bottom: 18px; }
  .location-layout { grid-template-columns: 1fr; gap: 34px; }
  .map-frame iframe { height: 280px; }
  .map-caption { align-items: flex-start; flex-direction: column; gap: 5px; }
  .affiliation-inner { gap: 18px; }
  .affiliation p { font-size: 10px; }
  .affiliation strong { font-size: 11px; }
  .affiliation img { width: 52px; flex-shrink: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 18px; }
  .about-hero { padding-block: 35px 52px; }
  .breadcrumb { margin-bottom: 34px; }
  .about-hero h1 { font-size: clamp(38px, 8.4vw, 62px); }
  .founder-rank { max-width: 280px; font-size: 17px; line-height: 1.5; }
  .about-lede { font-size: 15px; }
  .story-layout { grid-template-columns: 1fr; gap: 14px; }
  .story-heading .section-title { font-size: 38px; }
  .timeline li { grid-template-columns: 94px 1fr; gap: 16px; padding-block: 22px; }
  .timeline-year { font-size: 23px; }
  .timeline p { font-size: 13px; }
  .story-block { padding-block: 48px; }
  .community-grid { grid-template-columns: 1fr; gap: 28px; }
  .community-title { margin-bottom: 26px; }
  .about-cta { padding-block: 52px; }
  .section:not(.founder-feature) > .container::before, .story-block::before { inset: -12px; }
}
@media (max-width: 360px) {
  .brand-name { font-size: 15px; }
  .brand-name span { font-size: 7px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .timeline li { grid-template-columns: 1fr; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
