:root {
  --ink: #141618;
  --paper: #f4f3ef;
  --white: #fff;
  --blue: #1748e8;
  --acid: #c6f436;
  --muted: #686d75;
  --line: #d8d8d2;
  --radius: 1.6rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button, input, textarea { font: inherit; }
.skip-link { position: fixed; top: .6rem; left: .6rem; z-index: 99; padding: .8rem 1rem; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(320px, 1fr); align-items: center; gap: 2rem; padding: .8rem 3vw; background: rgba(244,243,239,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: flex; align-items: center; gap: .75rem; width: max-content; }
.brand-mark { display: grid; place-items: center; width: 3rem; height: 3rem; color: var(--white); background: var(--blue); border-radius: .7rem; font: 800 .9rem Onest, sans-serif; transform: rotate(-4deg); }
.brand-name { font: 700 .78rem/1.15 Onest, sans-serif; letter-spacing: -.02em; }
.main-nav { display: flex; align-items: center; gap: 1.8rem; font-size: .9rem; font-weight: 600; }
.main-nav a, .header-phone, .header-address { transition: color .2s; }
.main-nav a:hover, .header-phone:hover, .header-address:hover { color: var(--blue); }
.menu-button { display: flex; gap: .6rem; align-items: center; padding: .65rem .9rem; color: var(--white); background: var(--ink); border: 0; border-radius: 999px; cursor: pointer; }
.header-contacts { justify-self: end; display: grid; grid-template-columns: auto auto; align-items: center; gap: .25rem 1rem; text-align: right; }
.header-address { grid-column: 1 / -1; width: fit-content; margin-left: auto; padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: .68rem; font-weight: 600; cursor: pointer; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: .25em; }

.map-modal[hidden] { display: none; }
.map-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 1rem; }
.map-modal__backdrop { position: absolute; inset: 0; background: rgba(13,13,15,.68); backdrop-filter: blur(7px); }
.map-card { position: relative; z-index: 1; width: min(720px, 100%); padding: 1.4rem; border-radius: 1.4rem; background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.map-card h2 { max-width: 14ch; margin: .35rem 0 .7rem; font-family: Onest, sans-serif; font-size: clamp(1.8rem, 5vw, 3.4rem); line-height: .96; letter-spacing: -.045em; }
.map-card p { color: var(--muted); line-height: 1.55; }
.map-card iframe { display: block; width: 100%; height: min(42vh, 330px); margin: 1rem 0; border: 1px solid var(--line); border-radius: 1rem; background: #deddd7; }
.map-card__close { position: absolute; top: 1rem; right: 1rem; display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--white); font-size: 1.5rem; cursor: pointer; }
.map-card__route { display: inline-flex; padding: .8rem 1rem; border-radius: 999px; background: var(--blue); color: var(--white); font-weight: 700; }
body.has-modal { overflow: hidden; }
.trap-field { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.header-phone { font-size: .86rem; font-weight: 800; }
.header-socials { display: flex; justify-content: flex-end; gap: .35rem; }
.header-socials a { display: grid; place-items: center; min-width: 1.8rem; height: 1.8rem; padding: 0 .35rem; color: var(--white); background: var(--blue); border-radius: 50%; font: 800 .58rem Onest, sans-serif; transition: transform .2s, background .2s; }
.header-socials a:last-child { color: var(--ink); background: var(--acid); }
.header-socials a:hover { transform: translateY(-2px); background: var(--ink); }
.menu-panel { position: fixed; z-index: 19; inset: 5rem 0 auto; padding: 2rem 3vw 3rem; background: var(--ink); color: var(--white); }
.menu-panel__inner { max-width: 110rem; margin: auto; }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem 2rem; margin-top: 1.5rem; }
.menu-grid a { padding: .8rem 0; border-bottom: 1px solid #393b3d; }
.menu-grid a:hover { color: var(--acid); }

.hero { min-height: 780px; display: grid; grid-template-columns: 1.03fr .97fr; gap: 3vw; align-items: stretch; padding: 3.2rem 3vw 4rem; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 2vw 1vw 2vw 3vw; }
.eyebrow { margin: 0 0 1.2rem; color: var(--blue); font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero h1 { max-width: 900px; margin: 0; font: 700 clamp(3.8rem, 7.5vw, 8rem)/.88 Onest, sans-serif; letter-spacing: -.075em; }
.hero-lead { max-width: 39rem; margin: 2.2rem 0 2.5rem; color: #42464c; font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.55; }
.hero-actions { display: flex; align-items: center; gap: 1.7rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 1rem 1.25rem; border: 0; border-radius: 999px; font-weight: 700; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button--primary { color: var(--white); background: var(--blue); }
.button--dark { color: var(--white); background: var(--ink); }
.button--light { color: var(--ink); background: var(--acid); }
.text-link { padding-bottom: .25rem; font-size: .9rem; font-weight: 700; border-bottom: 1px solid; }
.hero-media { position: relative; min-height: 640px; margin: 0; overflow: hidden; border-radius: var(--radius); }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.65)); }
.hero-media img { height: 100%; object-fit: cover; }
.hero-media figcaption { position: absolute; z-index: 1; right: 2rem; bottom: 1.8rem; left: 2rem; display: flex; justify-content: space-between; color: var(--white); font-size: .82rem; font-weight: 700; }

.ticker { display: flex; justify-content: center; align-items: center; gap: 1.8rem; padding: 1.2rem 3vw; overflow: hidden; color: var(--white); background: var(--blue); white-space: nowrap; font-size: .86rem; font-weight: 700; }
.ticker i { width: .4rem; height: .4rem; background: var(--acid); border-radius: 50%; }
.section { padding: 8rem 6vw; }
.section-heading { max-width: 50rem; margin-bottom: 3.5rem; }
.section-heading--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; }
.section-heading h2, .about h2, .contact h2 { margin: 0; font: 650 clamp(2.8rem, 5.6vw, 6.2rem)/.95 Onest, sans-serif; letter-spacing: -.06em; }
.section-heading > p:last-child { max-width: 34rem; color: var(--muted); line-height: 1.6; }
.events { background: var(--white); }
.event-empty { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2rem; padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); }
.event-date { display: grid; place-items: center; width: 6.5rem; aspect-ratio: 1; color: var(--white); background: var(--blue); border-radius: 1.1rem; }
.event-date span { font: 700 2rem Onest, sans-serif; }
.event-date small { margin-top: -1.4rem; text-transform: uppercase; }
.event-empty h3 { margin: 0 0 .4rem; font-size: 1.35rem; }
.event-empty p { margin: 0; color: var(--muted); }
.round-link { display: grid; place-items: center; width: 3.2rem; height: 3.2rem; color: var(--white); background: var(--ink); border-radius: 50%; }

.news-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 1.2rem; }
.news-card img { height: 24vw; min-height: 300px; object-fit: cover; border-radius: 1.1rem; filter: saturate(.9); transition: transform .35s, filter .35s; }
.news-card a:hover img { transform: scale(.985); filter: saturate(1.08); }
.news-meta { display: flex; gap: .7rem; margin: 1rem 0 .7rem; color: var(--muted); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.news-meta span { color: var(--blue); }
.news-card h3 { margin: 0; font: 650 clamp(1.2rem, 1.7vw, 1.8rem)/1.15 Onest, sans-serif; letter-spacing: -.035em; }

.about { display: grid; grid-template-columns: .25fr 1.75fr; gap: 3rem; color: var(--white); background: var(--blue); }
.about .eyebrow { color: var(--acid); }
.about-number { font: 600 1rem Onest, sans-serif; }
.about-copy > p:not(.eyebrow) { max-width: 45rem; margin: 2rem 0; color: #dbe2ff; font-size: 1.1rem; line-height: 1.7; }
.contact { display: grid; grid-template-columns: 1.65fr .35fr; gap: 1.2rem; align-items: end; }
.contact-card, .contact-aside { border-radius: var(--radius); }
.contact-card { padding: clamp(2rem, 4vw, 4.5rem); color: var(--white); background: var(--ink); }
.contact-card .eyebrow { color: var(--acid); }
.contact-card > p:not(.eyebrow) { max-width: 40rem; color: #aeb1b6; line-height: 1.6; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 3rem; }
.contact-form label { display: grid; gap: .55rem; color: #b9bcc0; font-size: .75rem; }
.contact-form input:not([type="checkbox"]), .contact-form textarea { width: 100%; padding: .85rem 0; color: var(--white); background: transparent; border: 0; border-bottom: 1px solid #5a5d62; outline: 0; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--acid); }
.field-wide { grid-column: 1 / -1; }
.consent { display: flex !important; grid-template-columns: auto 1fr; align-items: center; }
.contact-form .button { width: max-content; }
.form-note { margin: 1rem 0 0 !important; color: var(--acid) !important; }
.contact-aside { align-self: end; display: flex; min-height: 260px; flex-direction: column; justify-content: flex-end; padding: 1.8rem; background: var(--acid); }
.contact-icon { font-size: 2rem; }
.contact-aside p { margin: auto 0 .7rem; font-size: .78rem; }
.contact-aside > a { font: 650 clamp(1.35rem, 2vw, 2.2rem)/1.05 Onest, sans-serif; letter-spacing: -.05em; }
.contact-aside address { margin-top: 1.5rem; font-size: .72rem; font-style: normal; line-height: 1.55; }

.site-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding: 5rem 6vw 2rem; color: var(--white); background: var(--ink); }
.footer-title { font: 650 clamp(2.5rem, 5vw, 6rem)/.9 Onest, sans-serif; letter-spacing: -.06em; }
.footer-links { display: grid; align-content: end; gap: .7rem; }
.footer-links a:hover { color: var(--acid); }
.footer-meta { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-top: 2rem; color: #8e9297; border-top: 1px solid #33363a; font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto auto; gap: 1rem; }
  .main-nav > a { display: none; }
  .header-address { display: none; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 0; grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { padding: 2rem 0; }
  .hero-media { min-height: 540px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card--wide { grid-column: 1 / -1; }
  .news-card img { height: 45vw; }
  .about { grid-template-columns: auto 1fr; }
  .contact { grid-template-columns: 1fr; }
  .contact-aside { min-height: 240px; }
}

@media (max-width: 640px) {
  .site-header { padding: .8rem 1rem; }
  .brand-name { display: none; }
  .site-header { grid-template-columns: auto 1fr; }
  .main-nav { justify-self: end; }
  .header-contacts { grid-column: 1 / -1; justify-self: stretch; grid-template-columns: 1fr auto; padding-top: .65rem; border-top: 1px solid var(--line); text-align: left; }
  .header-address { display: block; grid-column: 1 / -1; margin-left: 0; text-align: left; }
  .header-phone { font-size: .78rem; }
  .header-socials { justify-content: flex-end; }
  .menu-panel { inset: 4.6rem 0 auto; }
  .menu-grid { grid-template-columns: 1fr; max-height: 68vh; overflow: auto; }
  .hero { padding: 2.8rem 1rem 2rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-media { min-height: 440px; }
  .hero-media figcaption { right: 1rem; left: 1rem; }
  .ticker { justify-content: flex-start; }
  .section { padding: 5rem 1rem; }
  .section-heading--row { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .event-empty { grid-template-columns: auto 1fr; }
  .round-link { display: none; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--wide { grid-column: auto; }
  .news-card img { height: 75vw; min-height: 260px; }
  .about { grid-template-columns: 1fr; gap: 2rem; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-card { padding: 2rem 1.2rem; }
  .contact-aside { min-height: 220px; padding: 1.5rem 1.4rem; }
  .site-footer { grid-template-columns: 1fr; gap: 3rem; padding: 4rem 1rem 2rem; }
  .footer-meta { grid-column: auto; align-items: flex-start; flex-direction: column; gap: 1rem; }
}
