@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-latin-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-italic-latin-ext.woff2") format("woff2");
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-latin.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+20AC;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-latin-ext.woff2") format("woff2");
  font-weight: 300 600;
  font-display: swap;
  unicode-range: U+0100-02FF, U+1E00-1EFF;
}

:root {
  --charcoal: #303136;
  --header: #292a2e;
  --mid: #36373c;
  --light: #f7f2e9;
  --light-muted: #dedbd4;
  --paper: #f4ede1;
  --ink: #292a2e;
  --gold: #debb79;
  --gold-bright: #f1ce8d;
  --line: #debb7954;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--light);
  background: var(--charcoal);
  font: 400 1.075rem / 1.55 var(--sans);
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 4px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1.04; }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.3rem, 4vw, 3.5rem); }
h3 { font-size: 1.8rem; }
[id="practica"], [id="presa"], [id="contact"], #main-content { scroll-margin-top: 8rem; }

.container {
  width: min(100% - 3rem, 73rem);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 3;
  padding: .6rem 1rem;
  transform: translateY(-180%);
  color: var(--ink);
  background: var(--paper);
}
.skip-link:focus { transform: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--header);
}
.topbar { border-bottom: 1px solid var(--line); }
.topbar-inner, .header-inner, .footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-inner {
  min-height: 36px;
  justify-content: flex-end;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.locale { display: flex; align-items: center; gap: .6rem; white-space: nowrap; }
.language { padding-block: .48rem; color: var(--light-muted); text-decoration: none; }
.language:hover { color: var(--gold-bright); text-decoration: underline; }
.header-nav { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 78px; }
.brand {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: clamp(.35rem, 1.25vw, 1rem);
  font: 700 clamp(.85rem, min(6.1vw, calc(10vw - .875rem)), 2.55rem) / 1 var(--serif);
  text-decoration: none;
  white-space: nowrap;
}
.brand-name { letter-spacing: .08em; }
.brand-legal { color: var(--gold); letter-spacing: .06em; }
.brand-crest {
  display: block;
  flex: none;
  width: clamp(2.6rem, 12vw, 3.4rem);
  height: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .brand-legal { animation: brand-flicker 2s linear infinite; }
}

@keyframes brand-flicker {
  0%, 22%, 49%, 66%, 88%, 100% {
    color: var(--gold);
    text-shadow: none;
  }
  8%, 35%, 75% {
    color: var(--light);
    text-shadow: 0 0 .5em #f1ce8db3;
  }
  14%, 53% { color: #b99b68; text-shadow: none; }
}

.nav-links { display: flex; align-items: center; gap: clamp(.9rem, 2.7vw, 2.35rem); }
.nav-links a:not(.button) { text-decoration: none; color: var(--light-muted); }
.nav-links a:not(.button):hover { color: var(--gold-bright); text-decoration: underline; text-underline-offset: .35em; }

.menu-toggle, .menu-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--gold);
  font: inherit;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}
.menu-toggle { flex: none; }
.menu-toggle[hidden] { display: none; }
.menu-bars { width: 19px; height: 13px; border-block: 1px solid currentColor; }
.menu-bars::after { content: ""; display: block; border-top: 1px solid currentColor; margin-top: 5px; }
.mobile-menu {
  width: min(100% - 2rem, 29rem);
  padding: 3.5rem 1.5rem 1.5rem;
  color: var(--light);
  background: var(--header);
  border: 1px solid var(--line);
}
.mobile-menu::backdrop { background: #19191acf; }
.mobile-menu a {
  display: block;
  padding: .65rem .2rem;
  border-top: 1px solid var(--line);
  font: 600 1.8rem / 1.25 var(--serif);
  text-decoration: none;
}
.mobile-menu a:hover { color: var(--gold-bright); }
.menu-close { position: absolute; top: .5rem; right: .5rem; border-color: transparent; font-size: 1.9rem; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(34rem, calc(100svh - 115px), 43rem);
  background: var(--charcoal);
}
.hero-photo, .hero::after { position: absolute; inset: 0; }
.hero-photo { z-index: -2; }
.hero-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 46%; }
.hero::after {
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, #303136 0%, #303136ed 33%, #303136b3 72%, #30313680 100%);
}
.hero-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "team team"
    "lead member"
    "rule rule"
    "intro practice";
  align-items: start;
  column-gap: clamp(.75rem, 5vw, 5rem);
  padding-block: clamp(3.5rem, 6vw, 6rem);
}
.hero-team-label {
  grid-area: team;
  margin-bottom: clamp(.85rem, 2.5vw, 1.5rem);
  color: var(--gold);
  font: 600 clamp(1.1rem, 3.5vw, 1.75rem) / 1.2 var(--serif);
  letter-spacing: .08em;
  text-align: center;
}
.hero-lead-name { grid-area: lead; }
.hero-team-name { grid-area: member; text-align: right; }
.hero-copy { grid-area: intro; }
.hero-name, .page-heading h1 {
  font-weight: 500;
  letter-spacing: -.035em;
}
.page-heading h1 { font-size: clamp(3.4rem, 7vw, 6.25rem); }
.hero-name {
  margin: 0;
  font-size: clamp(1.375rem, 7.5vw, 6.25rem);
  overflow-wrap: anywhere;
}
.hero-name em { color: var(--gold-bright); font-weight: 400; }
.hero-rule {
  --rule-length: clamp(3rem, 13%, 7rem);
  grid-area: rule;
  height: 2px;
  margin-top: clamp(.85rem, 2vw, 1.55rem);
  overflow: hidden;
}
.hero-rule::before {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent) left / var(--rule-length) 100% no-repeat;
  content: "";
}
@media (prefers-reduced-motion: no-preference) {
  .hero-rule::before { animation: hero-rule-slide 5s ease-in-out infinite alternate; }
}
@keyframes hero-rule-slide {
  to { transform: translateX(calc(100% - var(--rule-length))); }
}
.intro { max-width: 34rem; margin-block: 1.2rem 1.6rem; color: var(--light-muted); font-size: 1.3rem; }
.intro p { margin: 0; }
.intro p + p { margin-top: .85em; }
.eyebrow {
  margin-bottom: 1.15rem;
  color: var(--gold);
  font: 600 .78rem / 1.4 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-media {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: end;
  gap: .5rem;
  max-width: 34rem;
  margin-bottom: 1.25rem;
}
.hero-film {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 76 / 33;
  border: 1px solid var(--line);
  background: var(--header);
}
.hero-film img { display: block; width: 100%; height: auto; }
.hero-sound:not([hidden]) { display: inline-flex; }
.hero-sound {
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  padding: .3rem .7rem;
  border: 1px solid var(--line);
  background: var(--header);
  color: var(--light);
  font: 600 .875rem / 1.25 var(--sans);
  cursor: pointer;
}
.hero-sound:hover { border-color: var(--gold); }
.hero-sound-state {
  padding: .24rem .48rem;
  border-radius: 1rem;
  background: var(--mid);
  color: var(--light-muted);
}
.hero-sound-state::after { content: attr(data-off); }
.hero-sound[aria-pressed="true"] .hero-sound-state { background: var(--gold); color: var(--ink); }
.hero-sound[aria-pressed="true"] .hero-sound-state::after { content: attr(data-on); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-practice {
  grid-area: practice;
  width: min(100%, 24rem);
  margin-top: .85rem;
  padding: 1.25rem 1.5rem 1rem;
  border: 1px solid var(--line);
  background: #333438ed;
}
.hero-practice h2 { margin-bottom: .8rem; font-size: 1.95rem; }
.hero-practice .practice-card { min-height: 0; padding: .7rem .6rem; }
.hero-practice .practice-card h3 { font-size: 1.55rem; }
.hero-practice .practice-navigation { margin-top: .5rem; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 48px;
  padding: .65rem 1.25rem;
  color: var(--ink);
  background: var(--gold);
  border: 1px solid var(--gold);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.button:hover { background: var(--gold-bright); }
.button-outline { color: var(--light); background: transparent; border-color: #ddd5c9a8; }
.button-outline:hover { color: var(--gold-bright); border-color: var(--gold-bright); background: #2d2e32b0; }
.text-link { color: var(--gold-bright); font-weight: 600; text-underline-offset: .2em; }
.arrow { position: relative; display: inline-block; flex: 0 0 auto; width: .85em; height: .7em; vertical-align: -.03em; }
.arrow::before, .arrow::after { position: absolute; top: 50%; content: ""; }
.arrow::before { left: 0; right: 0; border-top: 1px solid currentColor; }
.arrow::after {
  right: 1px;
  width: .41em;
  height: .41em;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.arrow-up { transform: rotate(-45deg); }
.arrow-back { transform: rotate(180deg); }

.band { padding-block: clamp(3rem, 7vw, 5.75rem); }
.contact-inner, .practice-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.6rem, 6vw, 5.5rem);
}
.press { max-width: 45rem; padding: 1.35rem 1.5rem; border-top: 2px solid var(--gold); background: var(--mid); }
.press .eyebrow { margin-bottom: .4rem; }
.press time { display: block; margin-bottom: .4rem; color: var(--light-muted); font-size: .9rem; }
.press-title { font: italic 400 2rem / 1.12 var(--serif); }

#practica, .practice-detail { color: var(--light); }
#practica { background: var(--mid); }
#practica h2 { text-align: center; margin-bottom: 2rem; }
.practice-slider { max-width: 45rem; margin-inline: auto; }
.practice-track {
  position: relative;
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.practice-card {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  gap: .65rem;
  justify-content: center;
  min-height: 11rem;
  padding: clamp(1.2rem, 4vw, 2.4rem);
  background: var(--charcoal);
  border: 1px solid var(--line);
  text-decoration: none;
  scroll-snap-align: start;
}
.practice-card:hover { border-color: var(--gold); background: #3e3e40; }
.practice-card:focus-visible { outline-offset: -4px; }
.practice-card p { margin: 0; color: var(--light-muted); }
.practice-navigation { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: .95rem; }
.practice-navigation[hidden] { display: none; }
.practice-navigation button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--gold-bright);
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
}
.practice-navigation button[aria-disabled="true"] { color: var(--light-muted); opacity: .55; cursor: default; }
.practice-navigation button[aria-disabled="false"]:hover { border-color: var(--gold); }
.practice-chevron { width: .65rem; height: .65rem; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(-45deg); }
[data-practice-step="-1"] .practice-chevron { transform: rotate(135deg); }
.practice-position { min-width: 2.5rem; text-align: center; color: var(--light-muted); }

.page-heading { padding-block: clamp(3rem, 7vw, 5.5rem); background: var(--mid); }
.page-heading h1 { font-size: clamp(3rem, 6vw, 5rem); }
.page-heading .intro { margin-bottom: 0; }
.breadcrumb { display: inline-block; margin-bottom: 1.15rem; text-decoration: none; }
.breadcrumb:hover { text-decoration: underline; text-underline-offset: .25em; }
.topics { margin: 0 0 1.25rem; padding-left: 1.25rem; color: var(--light-muted); }
.topics li { margin-bottom: .5rem; }
.topics li::marker { color: var(--gold); }

.contact { border-top: 1px solid var(--line); background: var(--mid); }
.contact-inner { align-items: center; }
.phone { display: block; width: fit-content; margin-top: .8rem; text-underline-offset: .3em; }
.office-card { padding: 1.5rem 1.75rem; color: var(--ink); background: var(--paper); border-top: 2px solid var(--gold); }
.office-card p { margin: .55rem 0 0; }
.site-footer { padding-block: 2rem; color: var(--light-muted); background: var(--header); border-top: 1px solid var(--line); font-size: .93rem; }
.footer-brand { color: var(--light); font: 600 1.7rem / 1.2 var(--serif); text-decoration: none; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: end; gap: .3rem 1.2rem; }
.footer-links a { padding-block: .3rem; text-underline-offset: .2em; }
.footer-links a:hover { color: var(--gold-bright); }

@media (max-width: 950px) {
  .nav-links { gap: .9rem; }
  .hero-inner {
    grid-template-areas:
      "team team"
      "lead member"
      "rule rule"
      "intro intro";
  }
  .hero-practice { display: none; }
  .hero-photo img { object-position: right 46%; }
}

@media (width > 780px) and (width <= 950px) {
  .brand { font-size: clamp(2.05rem, calc(5.25vw - .52rem), 2.55rem); }
}

@media (max-width: 780px) {
  .header-inner { min-height: 70px; flex-wrap: wrap; gap: .6rem; padding-block: .6rem; }
  .nav-links { flex-basis: 100%; flex-wrap: wrap; gap: .6rem 1rem; }
  .menu-enabled .nav-links { display: none; }
  .contact-inner, .practice-detail { grid-template-columns: minmax(0, 1fr); }
  .practice-detail h2 { margin-bottom: 0; }
}

@media (max-width: 600px) {
  .container { width: calc(100% - 2rem); }
  .topbar-inner { gap: .5rem; letter-spacing: .08em; font-size: .64rem; }
  .hero { min-height: 32rem; }
  .hero::after { background: linear-gradient(90deg, #303136f2, #303136c9); }
  .hero-inner {
    column-gap: .75rem;
    padding-block: 3.15rem;
  }
  .hero .intro { font-size: 1.2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .footer-inner { align-items: start; flex-direction: column; }
  .footer-links { justify-content: start; }
}

@media (max-height: 560px) {
  .site-header { position: static; }
  [id="practica"], [id="presa"], [id="contact"], #main-content { scroll-margin-top: 1rem; }
}
