:root {
  --ink: #0b0d10;
  --paper: #f6f5ef;
  --muted: #6e746f;
  --line: rgba(11, 13, 16, 0.14);
  --white: #ffffff;
  --red: #df2935;
  --teal: #0d9488;
  --amber: #f4c430;
  --deep: #15171b;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  overflow-x: hidden;
}

body[data-lang="en"] .hr,
body:not([data-lang="en"]) .en {
  display: none !important;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--amber);
  color: var(--ink);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 3vw, 2.5rem);
  color: var(--white);
  background: rgba(11, 13, 16, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.brand img {
  width: 116px;
  height: auto;
  filter: brightness(0) invert(1);
}

.brand span {
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 2vw, 2rem);
  font-size: 0.88rem;
  text-transform: uppercase;
  font-weight: 760;
}

.nav-links a,
.footer-links a {
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--amber);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.language-toggle,
.header-cta,
.btn {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1rem;
  font: inherit;
  font-weight: 780;
  text-decoration: none;
  cursor: pointer;
}

.language-toggle {
  width: 46px;
  padding-inline: 0;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.header-cta,
.btn.primary {
  color: var(--white);
  background: var(--red);
}

.btn.secondary {
  color: var(--ink);
  background: var(--amber);
}

.btn.ghost {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: end;
  gap: 1.5rem;
  padding: min(22vh, 10rem) clamp(1rem, 5vw, 4.5rem) clamp(2rem, 7vw, 5rem);
  color: var(--white);
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84) 0%, rgba(0, 0, 0, 0.58) 43%, rgba(0, 0, 0, 0.18) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.08) 54%);
}

.hero-content {
  max-width: 760px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 0.85rem;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 11ch;
  font-size: clamp(3.25rem, 9vw, 8.25rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
  overflow-wrap: normal;
  word-break: normal;
}

.hero-copy {
  max-width: 620px;
  margin: 1.35rem 0 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero-panel {
  display: grid;
  gap: 0.75rem;
  align-self: end;
}

.hero-panel div {
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.metric {
  display: block;
  color: var(--white);
  font-size: 1.55rem;
  font-weight: 880;
}

.hero-panel span:not(.metric) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.quick-strip a {
  min-width: 0;
  padding: 1.15rem clamp(1rem, 2vw, 1.6rem);
  text-decoration: none;
  border-right: 1px solid var(--line);
}

.quick-strip strong,
.quick-strip span {
  display: block;
}

.quick-strip strong {
  margin-bottom: 0.2rem;
  font-size: 0.98rem;
}

.quick-strip span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(3.5rem, 7vw, 6rem) clamp(1rem, 5vw, 4.5rem);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(300px, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.section-copy,
.contact-copy {
  max-width: 660px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-copy p,
.contact-copy p {
  margin: 1.2rem 0 0;
  color: #414642;
  font-size: 1.05rem;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.fact-grid div,
.class-grid article,
.visit-card,
.lead-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.fact-grid div {
  padding: 1rem;
}

.fact-grid strong,
.fact-grid span {
  display: block;
}

.fact-grid span {
  color: var(--muted);
}

.image-stack {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 0.85rem;
  align-items: end;
}

.image-stack img,
.gallery img,
.visit-image {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  height: min(62vw, 560px);
}

.image-stack img:last-child {
  height: min(45vw, 420px);
}

.gallery-section,
.classes {
  background: var(--deep);
  color: var(--white);
}

.section-heading {
  max-width: 920px;
  margin-bottom: 1.8rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.gallery figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
}

.gallery img {
  height: clamp(230px, 28vw, 410px);
  border-radius: 0;
  box-shadow: none;
}

.gallery figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.62);
  font-weight: 800;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.class-grid article {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  padding: 1.1rem;
}

.class-grid h3 {
  margin: 0 0 0.55rem;
  color: var(--amber);
}

.class-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.wide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.wide-cta strong,
.wide-cta span {
  display: block;
}

.wide-cta span {
  color: rgba(255, 255, 255, 0.72);
}

.visit {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(300px, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.visit-card {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.visit-card h2 {
  font-size: clamp(1.65rem, 3.5vw, 3rem);
}

dl {
  display: grid;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

dl div {
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

dt {
  font-weight: 820;
}

dd {
  margin: 0.15rem 0 0;
  color: var(--muted);
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.visit-image {
  height: 100%;
  min-height: 430px;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 520px);
  gap: clamp(2rem, 5vw, 4rem);
  background: var(--white);
}

.contact-list {
  display: grid;
  gap: 0.55rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.contact-list a {
  color: var(--teal);
  font-weight: 760;
}

.lead-form {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 780;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf6;
  color: var(--ink);
  font: inherit;
  padding: 0.78rem 0.85rem;
}

textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem clamp(1rem, 5vw, 4.5rem) 5rem;
  color: var(--white);
  background: var(--ink);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1rem;
}

.mobile-bar {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 12;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
}

.mobile-bar a {
  display: grid;
  gap: 0.1rem;
  min-height: 58px;
  place-items: center;
  padding: 0.45rem;
  color: var(--white);
  background: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 820;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.mobile-bar a:last-child {
  background: var(--red);
  border-right: 0;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand span,
  .nav-links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-strip,
  .split,
  .gallery,
  .class-grid,
  .visit,
  .contact {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    padding: 0.65rem 0.8rem;
  }

  .brand img {
    width: 96px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 91svh;
    padding: 7.5rem 1rem 2rem;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.46)),
      linear-gradient(0deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.12) 58%);
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.8rem, 15vw, 3.85rem);
  }

  .hero-actions {
    display: grid;
  }

  .hero-panel,
  .quick-strip,
  .split,
  .gallery,
  .class-grid,
  .visit,
  .contact,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .quick-strip a {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 3.25rem 1rem;
  }

  .image-stack {
    grid-template-columns: 1fr;
  }

  .image-stack img:first-child,
  .image-stack img:last-child,
  .visit-image {
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .wide-cta,
  .site-footer {
    display: grid;
  }

  .wide-cta .btn {
    width: 100%;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .mobile-bar {
    display: grid;
  }
}
