@font-face {
  font-family: Rubik;
  src: url('/assets/fonts/rubik.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --bg: #f1f0eb;
  --panel: #ffffff;
  --panel-2: #e6e8eb;
  --text: #18202a;
  --muted: #657181;
  --line: #cfd4da;
  --accent: #2457d6;
  --accent-dark: #183d9b;
  --accent-soft: #dfe7fb;
  --navy: #111a28;
  --navy-2: #1a2637;
  --white: #f8fafc;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Rubik, Arial, sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.skip { position: absolute; left: -9999px; }
.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: var(--accent);
  color: #fff;
  padding: .7rem;
}

.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  z-index: 10;
}
.brand {
  font-size: 1.35rem;
  font-weight: 850;
  letter-spacing: -.055em;
  white-space: nowrap;
}
.brand b { color: var(--accent); }
.brand span { color: var(--navy); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}
.main-nav a,
.footer-links a {
  color: #455262;
  font-size: .85rem;
  font-weight: 550;
}
.main-nav a:hover,
.footer-links a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.lang {
  border: 1px solid var(--line);
  color: var(--navy);
  padding: .55rem;
}
.menu-button {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
  padding: .6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  padding: .9rem 1.25rem;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}
.button--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.button--ghost:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .7);
}
.button--small { padding: .65rem .9rem; font-size: .83rem; }
.button--light {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.button--light:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--navy);
}

main,
.site-footer {
  max-width: var(--max);
  margin: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.hero {
  min-height: 620px;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  margin-top: 32px;
  padding: clamp(4rem, 7vw, 7rem) clamp(2rem, 5vw, 5rem);
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, #000, transparent 75%);
}
.hero > * { position: relative; z-index: 1; min-width: 0; }
.hero h1,
.page-head h1,
.detail-hero h1 {
  font-size: clamp(2.65rem, 5.5vw, 5.8rem);
  line-height: .98;
  letter-spacing: -.055em;
  margin: .55rem 0 1.5rem;
  max-width: 1020px;
}
.hero .lead {
  color: #cbd4df;
  max-width: 760px;
}
.lead {
  color: #566374;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  max-width: 790px;
}
.eyebrow {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero .eyebrow { color: #8eacff; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

.event-invite {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.25fr) 260px;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: start;
  margin-top: 24px;
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--navy);
  background: #eef3ff;
  box-shadow: 10px 10px 0 var(--accent);
}
.event-invite__visual {
  display: block;
  overflow: hidden;
  border: 1px solid var(--navy);
  background: #fff;
}
.event-invite__visual img { display: block; width: 100%; height: auto; }
.event-invite h2 {
  margin: .6rem 0 1rem;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.event-invite__copy > p:not(.eyebrow) { max-width: 860px; color: var(--muted); }
.event-invite__copy > strong { display: block; margin-top: 1rem; color: var(--navy); }
.event-invite__ticket {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  padding: 1.5rem;
  background: var(--navy);
  color: #fff;
  text-align: center;
}
.event-invite__ticket small { font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.event-invite__ticket code { color: #9eb7ff; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 850; letter-spacing: .08em; }
.event-invite__ticket .button { width: 100%; }

.floor-stack {
  align-self: center;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .04);
  box-shadow: 24px 24px 0 rgba(36, 87, 214, .2);
}
.floor-stack__head {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: .6rem .55rem 1.4rem;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.floor-stack__head small {
  color: #8eacff;
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .12em;
}
.floor-stack__head strong {
  color: #fff;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.1;
}
.floor-stack span {
  min-height: 68px;
  display: flex;
  align-items: center;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
  color: #fff;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .04em;
  background: rgba(255,255,255,.035);
}
.floor-stack span:first-of-type {
  background: var(--accent);
  border-color: var(--accent);
}
.floor-stack span:nth-of-type(2) { background: #34435a; }
.floor-stack span:nth-of-type(3) { background: #263448; }
.floor-stack span:nth-of-type(4) { background: #1c2839; border-bottom: 0; }

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 0;
}
.metrics div { padding: 2rem; border-right: 1px solid var(--line); }
.metrics div:last-child { border-right: 0; }
.metrics strong {
  display: block;
  color: var(--accent);
  font-size: 3rem;
  line-height: 1;
}
.metrics span { color: var(--muted); }

.section { padding: 5rem 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.section h2,
.split h2,
.page-head h1 { margin-top: 0; }
.section h2,
.split h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -.045em;
}
.text-link { color: var(--accent); font-weight: 700; }
.text-link:hover { color: var(--accent-dark); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.card { background: var(--panel); min-width: 0; }
.card[hidden] { display: none; }
.card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--panel-2);
}
.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .4s ease;
}
.card:hover .card__image { transform: scale(1.025); filter: saturate(1.06); }
.image-placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  background: linear-gradient(135deg, #e3e6ea, #cbd2da);
}
.image-placeholder span { color: var(--accent); font-size: 3rem; font-weight: 850; }
.card__body {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
}
.card h3 { font-size: 1.15rem; line-height: 1.18; margin: .5rem 0; }
.card p:not(.eyebrow) { color: var(--muted); font-size: .9rem; }
.card .text-link { margin-top: auto; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5vw;
  margin: 2rem 0 5rem;
  padding: clamp(3rem, 6vw, 6rem);
  background: var(--navy);
  color: #fff;
}
.split .eyebrow { color: #8eacff; }
.split > div:last-child { color: #cbd4df; font-size: 1.1rem; }
.split .text-link { color: #9eb7ff; }
.split .text-link:hover { color: #fff; }

.contact-strip {
  max-width: var(--max);
  margin: 3rem auto 0;
  padding: 2rem max(24px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: var(--navy);
  color: #fff;
}
.contact-strip strong,
.contact-strip span { display: block; }
.contact-strip strong { font-size: clamp(1.35rem, 2.4vw, 2rem); }
.contact-strip span { margin-top: .3rem; color: #cbd4df; }
.contact-strip__actions { display: flex; gap: .75rem; flex-wrap: wrap; }

.site-footer {
  display: grid;
  grid-template-columns: 1.6fr 1fr auto;
  gap: 3rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,.4);
}
.site-footer p { color: var(--muted); max-width: 600px; }
.footer-links { display: flex; flex-direction: column; gap: 1rem; }
.muted { color: var(--muted); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding-top: 2rem;
  color: var(--muted);
  font-size: .82rem;
}
.breadcrumbs a:hover { color: var(--accent); }
.page-head { padding: 4rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-head h1 { color: var(--navy); font-size: clamp(3rem, 7vw, 7rem); }

.catalog-tools {
  display: grid;
  grid-template-columns: 2fr 1fr auto;
  gap: 1rem;
  align-items: end;
  padding: 2rem 0;
}
.result-count {
  min-width: 76px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.result-count small {
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.result-count strong { color: var(--accent); font-size: 1.35rem; }
.catalog-tools label,
.brief-form label {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
input,
select,
textarea {
  width: 100%;
  padding: .9rem;
  background: #fff;
  border: 1px solid #bfc6cf;
  color: var(--text);
  font: inherit;
  letter-spacing: normal;
  text-transform: none;
}
input:focus,
select:focus,
textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.empty-state { padding: 3rem; text-align: center; border: 1px solid var(--line); }

.detail-hero {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 4rem;
  padding: 4rem 0;
}
.detail-hero h1 { color: var(--navy); font-size: clamp(2.5rem, 5vw, 5rem); }
.detail-media { min-height: 460px; background: var(--panel-2); }
.detail-image { width: 100%; height: 100%; max-height: 600px; object-fit: cover; }
.notice {
  margin: 2rem 0;
  padding: 1rem 1.2rem;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
  color: #394a62;
}
.notice.large { margin: 3rem 0; padding: 2rem; font-size: 1.2rem; }
.spec-grid,
.number-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 5rem;
  background: var(--panel);
  border: 1px solid var(--line);
}
.spec-grid div,
.number-grid article { padding: 2rem; border-right: 1px solid var(--line); }
.spec-grid span { display: block; color: var(--muted); font-size: .8rem; margin-bottom: .6rem; }
.number-grid { grid-template-columns: repeat(2, 1fr); margin-top: 3rem; }
.number-grid article { min-height: 220px; }
.number-grid span { color: var(--accent); font-weight: 850; }
.number-grid h2 { font-size: 1.5rem; }

.brief-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  max-width: 900px;
  margin: 3rem 0;
}
.brief-form label:nth-of-type(4),
.brief-form label:nth-of-type(5),
.brief-form .button { grid-column: 1 / -1; }
.brief-result { margin: 2rem 0; padding: 2rem; background: var(--panel); border: 1px solid var(--line); }
.brief-result pre { color: #324155; white-space: pre-wrap; }
.brief-result__actions { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.faq-list { max-width: 900px; margin: 3rem 0 6rem; }
.faq-list details { padding: 1.3rem 0; border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-size: 1.2rem; font-weight: 650; }
.faq-list p { color: var(--muted); }

@media (max-width: 1040px) {
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 75px;
    padding: 1.2rem 24px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
  }
  .main-nav.is-open { display: flex; }
  .menu-button { display: block; margin-left: auto; }
  .header-actions .button { display: none; }
  .hero,
  .detail-hero,
  .event-invite { grid-template-columns: 1fr; }
  .event-invite__ticket { max-width: 420px; }
  .hero { padding-top: 4rem; }
  .floor-stack { min-height: 360px; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .contact-strip { padding: 2rem 24px; }
  .site-footer > .muted { grid-column: 1 / -1; }
  .detail-media { min-height: 340px; }
}

@media (max-width: 640px) {
  .site-header { padding: 0 16px; gap: .7rem; }
  .header-actions { gap: .4rem; }
  .brand { font-size: 1.15rem; }
  main,
  .site-footer { padding-left: 16px; padding-right: 16px; }
  .hero {
    min-height: auto;
    margin-top: 16px;
    padding: 3rem 1rem 2rem;
  }
  .hero h1,
  .page-head h1,
  .detail-hero h1 {
    font-size: clamp(2.05rem, 10vw, 3.2rem);
    overflow-wrap: anywhere;
  }
  .hero .lead { font-size: 1.03rem; }
  .event-invite { margin-top: 16px; padding: 1.5rem 1rem; box-shadow: 6px 6px 0 var(--accent); }
  .event-invite__ticket { width: 100%; padding: 1.25rem 1rem; }
  .event-invite__ticket code { overflow-wrap: anywhere; }
  .floor-stack { min-height: 0; margin-top: 1.25rem; box-shadow: 10px 10px 0 rgba(36,87,214,.22); }
  .floor-stack span { min-height: 56px; }
  .metrics { grid-template-columns: 1fr; }
  .metrics div { border-right: 0; border-bottom: 1px solid var(--line); }
  .metrics div:last-child { border-bottom: 0; }
  .card-grid { grid-template-columns: 1fr; }
  .section { padding: 3.5rem 0; }
  .split { grid-template-columns: 1fr; margin-bottom: 3rem; padding: 3rem 1.35rem; }
  .catalog-tools { grid-template-columns: 1fr; }
  .result-count { align-items: flex-start; }
  .detail-hero { gap: 2rem; padding: 2.5rem 0; }
  .detail-media { min-height: 260px; }
  .spec-grid,
  .number-grid { grid-template-columns: 1fr; }
  .spec-grid div,
  .number-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .brief-form { grid-template-columns: 1fr; }
  .brief-form label,
  .brief-form label:nth-of-type(4),
  .brief-form label:nth-of-type(5),
  .brief-form .button { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; }
  .contact-strip { align-items: stretch; flex-direction: column; padding: 1.5rem 16px; }
  .contact-strip__actions { flex-direction: column; }
  .section-head { align-items: start; gap: 1rem; flex-direction: column; }
}
