:root {
  --ink: #111111;
  --paper: #f2f0ea;
  --white: #ffffff;
  --muted: #6c6a66;
  --line: rgba(17, 17, 17, 0.16);
  --red: #c5242d;
  --navy: #173763;
  --header-height: 84px;
  --page: min(100% - 48px, 1380px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; width: 100%; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 200;
  padding: 12px 16px;
  background: var(--white);
  color: var(--ink);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  padding: 0 max(24px, calc((100vw - 1380px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  transition: color 280ms ease, background 280ms ease, height 280ms ease, border-color 280ms ease;
}

.site-header.is-scrolled {
  height: 68px;
  color: var(--ink);
  background: rgba(242, 240, 234, 0.94);
  border-color: var(--line);
  backdrop-filter: blur(18px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 190px;
  height: 48px;
}
.brand-logo {
  width: 100%;
  height: auto;
  filter: brightness(0) invert(1);
  transition: filter 280ms ease;
}
.site-header.is-scrolled .brand-logo { filter: none; }
.footer-brand { margin-bottom: 64px; }
.footer-brand-logo {
  width: min(300px, 72vw);
  height: auto;
  filter: brightness(0) invert(1);
}

.site-nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); }
.site-nav > a {
  font-size: 13px;
  font-weight: 520;
  transition: opacity 180ms ease;
}
.site-nav > a:hover { opacity: 0.58; }
.site-nav .nav-cta {
  padding: 11px 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--white);
}
.site-header.is-scrolled .nav-cta { color: var(--white); background: var(--ink); border-color: var(--ink); }
.menu-toggle { display: none; }

.language-picker { position: relative; }
.language-toggle {
  min-width: 55px;
  height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  cursor: pointer;
  font-size: 12px;
  font-weight: 680;
}
.language-toggle i { width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 180ms ease; }
.language-toggle[aria-expanded="true"] i { transform: translateY(2px) rotate(225deg); }
.language-menu {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 180px;
  padding: 6px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(17,17,17,.15);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}
.language-menu.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
.language-menu button {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 13px;
}
.language-menu button:hover,
.language-menu button[aria-current="true"] { background: #efede7; }
.language-menu button span { width: 24px; color: var(--muted); font-size: 10px; font-weight: 720; }

.hero {
  position: relative;
  min-height: 720px;
  height: 100svh;
  overflow: hidden;
  color: var(--white);
  background: #131313;
}
.hero-media,
.hero-media video,
.hero-shade,
.hero-grain { position: absolute; inset: 0; }
.hero-media { transform: scale(1.035); will-change: transform; }
.hero-media video { height: 100%; object-fit: cover; object-position: center; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.26) 56%, rgba(0, 0, 0, 0.13) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 42%);
}
.hero-grain {
  opacity: 0.12;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.36'/%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 2;
  width: var(--page);
  height: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 72px;
  padding-bottom: 120px;
}
.hero-location {
  margin: 0 0 28px;
  font-size: 13px;
  font-weight: 620;
  text-transform: uppercase;
}
.hero-location::before { content: ""; display: inline-block; width: 28px; height: 1px; margin-right: 11px; vertical-align: middle; background: currentColor; }
.hero h1 {
  margin: 0;
  max-width: 900px;
  font-size: clamp(68px, 10.8vw, 164px);
  line-height: 0.78;
  font-weight: 660;
}
.hero h1 span { font-weight: 280; }
.hero-copy { max-width: 540px; margin: 38px 0 0; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.5; color: rgba(255,255,255,.82); }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 34px; }
.button {
  min-height: 50px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 620;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: var(--white); }
.button-dark { color: var(--white); background: var(--ink); }
.text-link, .inline-link { display: inline-flex; align-items: center; gap: 16px; font-size: 14px; font-weight: 570; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.hero-foot {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  min-height: 62px;
  padding: 0 max(24px, calc((100vw - 1380px) / 2));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.7);
  font-size: 12px;
}
.hero-foot span + span { border-left: 1px solid rgba(255,255,255,.22); padding-left: 26px; }

.section { width: var(--page); margin: 0 auto; }
.intro { padding-top: clamp(110px, 13vw, 200px); padding-bottom: clamp(90px, 11vw, 170px); }
.section-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 52px;
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
}
.section-kicker span { color: var(--muted); }
.intro-grid,
.safety-head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: 9vw; align-items: end; }
.display-title {
  margin: 0;
  font-size: clamp(50px, 7.5vw, 116px);
  font-weight: 540;
  line-height: .93;
}
.intro-copy { max-width: 540px; padding-bottom: 8px; }
.intro-copy p { margin: 0 0 34px; font-size: clamp(18px, 1.7vw, 25px); line-height: 1.5; color: #383735; }
.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: clamp(90px, 11vw, 150px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.metric { min-height: 190px; padding: 32px 28px; display: flex; flex-direction: column; justify-content: space-between; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric strong { font-size: clamp(44px, 5.4vw, 76px); line-height: 1; font-weight: 440; }
.metric p { margin: 24px 0 0; font-size: 14px; color: var(--muted); }

.feature-band { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(380px, .8fr); background: var(--ink); color: var(--white); }
.feature-image { margin: 0; min-height: 760px; overflow: hidden; }
.feature-image img { height: 100%; object-fit: cover; filter: saturate(.78) contrast(1.04); }
.feature-copy { width: 100%; padding: clamp(80px, 9vw, 140px) clamp(42px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.feature-index { margin-bottom: 60px; font-size: 12px; color: rgba(255,255,255,.56); }
.feature-copy h2, .split-copy h2 { margin: 0 0 30px; font-size: clamp(48px, 5vw, 78px); line-height: .98; font-weight: 510; }
.feature-copy > p, .split-copy > p { max-width: 540px; margin: 0; font-size: clamp(17px, 1.4vw, 21px); color: rgba(255,255,255,.68); }
.detail-list { list-style: none; margin: 70px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.18); }
.detail-list li { padding: 17px 0; display: grid; grid-template-columns: 110px 1fr; border-bottom: 1px solid rgba(255,255,255,.18); font-size: 13px; }
.detail-list span { color: rgba(255,255,255,.48); }

.split-feature { padding-top: clamp(110px, 12vw, 180px); padding-bottom: clamp(110px, 12vw, 180px); display: grid; grid-template-columns: .85fr 1.15fr; gap: 9vw; align-items: center; }
.split-copy { padding-left: 5vw; }
.split-copy .feature-index { color: var(--muted); }
.split-copy > p { color: #484744; }
.split-image { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; }
.split-image img { height: 100%; object-fit: cover; }

.safety {
  position: relative;
  width: 100%;
  max-width: none;
  padding: clamp(100px, 12vw, 180px) max(24px, calc((100vw - 1380px) / 2));
  color: var(--white);
  background: var(--navy);
}
.section-kicker-light span { color: rgba(255,255,255,.48); }
.safety-head { align-items: end; }
.safety-head p { max-width: 500px; margin: 0 0 8px; color: rgba(255,255,255,.7); font-size: clamp(17px, 1.5vw, 22px); }
.safety-steps { list-style: none; margin: 110px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.24); }
.safety-steps li { min-height: 240px; padding: 28px 30px 24px 0; display: flex; flex-direction: column; justify-content: space-between; }
.safety-steps li + li { border-left: 1px solid rgba(255,255,255,.24); padding-left: 30px; }
.safety-steps > li > span { font-size: 12px; color: rgba(255,255,255,.48); }
.safety-steps h3 { margin: 0 0 10px; font-size: 24px; font-weight: 520; }
.safety-steps p { margin: 0; max-width: 280px; font-size: 14px; color: rgba(255,255,255,.62); }

.focus-panel { position: relative; height: min(88vh, 940px); min-height: 620px; overflow: hidden; color: var(--white); }
.focus-panel > img { height: 100%; object-fit: cover; }
.focus-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.05) 70%); }
.focus-copy { position: absolute; left: max(24px, calc((100vw - 1380px) / 2)); bottom: 11%; }
.focus-copy p { margin: 0 0 34px; font-size: 12px; color: rgba(255,255,255,.62); }
.focus-copy h2 { margin: 0 0 16px; font-size: clamp(60px, 8vw, 128px); line-height: .9; font-weight: 540; }
.focus-copy span { font-size: clamp(17px, 1.5vw, 22px); color: rgba(255,255,255,.72); }

.gallery { padding-top: clamp(110px, 12vw, 180px); padding-bottom: clamp(110px, 12vw, 180px); }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 70px; }
.gallery-head .section-kicker { margin-bottom: 36px; }
.gallery-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 16px; }
.gallery-grid figure { margin: 0; height: 360px; overflow: hidden; background: #ddd; }
.gallery-grid .gallery-large { height: 736px; grid-row: span 2; }
.gallery-grid .gallery-wide { height: 440px; grid-column: 1 / -1; }
.gallery-grid img { height: 100%; object-fit: cover; transition: transform 900ms cubic-bezier(.2,.8,.2,1); }
.gallery-grid figure:hover img { transform: scale(1.025); }

.contact { width: 100%; max-width: none; padding: clamp(100px, 12vw, 180px) max(24px, calc((100vw - 1380px) / 2)); display: grid; grid-template-columns: 1.35fr .65fr; gap: 10vw; background: var(--red); color: var(--white); }
.contact-eyebrow { margin: 0 0 48px; font-size: 13px; font-weight: 650; }
.contact-main h2 { margin: 0; font-size: clamp(70px, 10vw, 156px); line-height: .8; font-weight: 570; }
.contact-actions { display: flex; align-items: center; gap: 30px; margin-top: 60px; }
.phone-link { font-size: 16px; border-bottom: 1px solid rgba(255,255,255,.7); padding-bottom: 4px; }
.contact-aside { align-self: end; display: grid; gap: 34px; padding-bottom: 7px; }
.contact-aside div { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.3); }
.contact-aside span { display: block; margin-bottom: 8px; font-size: 12px; color: rgba(255,255,255,.62); }
.contact-aside strong, .contact-aside a { font-size: 17px; font-weight: 530; }
.contact-aside .inline-link { width: fit-content; margin-top: 18px; font-size: 14px; }

.site-footer { padding: 78px max(24px, calc((100vw - 1380px) / 2)) 34px; background: var(--ink); color: var(--white); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 30px; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); }
.footer-links a { font-size: 13px; color: rgba(255,255,255,.68); }
.legal-note { max-width: 780px; margin: 34px 0 60px; font-size: 12px; line-height: 1.7; color: rgba(255,255,255,.42); }
.footer-bottom { display: flex; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.42); }

.floating-contact { display: none; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 720ms ease, transform 720ms cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-media { overflow: hidden; }
.reveal-media img { opacity: 0; transform: scale(1.035); transition: opacity 850ms ease, transform 1.2s cubic-bezier(.2,.75,.2,1); }
.reveal-media.is-visible img { opacity: 1; transform: scale(1); }

@media (max-width: 980px) {
  :root { --page: min(100% - 36px, 1380px); }
  .site-header { padding-inline: 18px; }
  .menu-toggle {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-content: center;
    gap: 7px;
    border: 0;
    background: transparent;
    color: currentColor;
  }
  .menu-toggle span { display: block; width: 23px; height: 1px; background: currentColor; transition: transform 200ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav {
    position: fixed;
    inset: 0;
    padding: 110px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 18px;
    color: var(--white);
    background: var(--ink);
    visibility: hidden;
    opacity: 0;
    transition: opacity 220ms ease, visibility 220ms ease;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav > a { font-size: clamp(34px, 10vw, 58px); line-height: 1.05; font-weight: 480; }
  .site-nav .nav-cta { margin-top: 20px; padding: 14px 18px; font-size: 16px; }
  .language-picker { margin-top: 10px; }
  .language-toggle { color: var(--white); }
  .language-menu { top: auto; right: auto; bottom: calc(100% + 10px); left: 0; }
  .site-header.menu-active { color: var(--white); background: transparent; border-color: transparent; }
  .site-header.menu-active .brand-logo { filter: brightness(0) invert(1); }

  .hero { min-height: 680px; }
  .hero-content { justify-content: flex-end; padding-bottom: 150px; }
  .hero h1 { font-size: clamp(64px, 19vw, 112px); line-height: .82; }
  .hero-shade { background: linear-gradient(0deg, rgba(0,0,0,.76), rgba(0,0,0,.08) 80%); }
  .hero-foot { grid-template-columns: 1fr; padding-inline: 18px; }
  .hero-foot span:nth-child(n+2) { display: none; }
  .intro-grid, .safety-head { grid-template-columns: 1fr; gap: 46px; }
  .intro-copy { max-width: 680px; }
  .feature-band { grid-template-columns: 1fr; }
  .feature-image { min-height: 62vw; }
  .feature-copy { padding-inline: 24px; }
  .split-feature { grid-template-columns: 1fr; }
  .split-copy { padding-left: 0; }
  .split-image { width: min(84%, 680px); margin-left: auto; }
  .safety-steps { grid-template-columns: 1fr; }
  .safety-steps li { min-height: 170px; padding: 24px 0; }
  .safety-steps li + li { border-left: 0; border-top: 1px solid rgba(255,255,255,.24); padding-left: 0; }
  .contact { grid-template-columns: 1fr; }
  .contact-aside { margin-top: 70px; }
}

@media (max-width: 640px) {
  :root { --header-height: 70px; }
  .brand { width: 164px; height: 42px; }
  .hero { min-height: 640px; }
  .hero-media video { object-position: 62% center; }
  .hero-location { margin-bottom: 20px; }
  .hero-copy { margin-top: 26px; font-size: 16px; max-width: 340px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; margin-top: 26px; }
  .hero-foot { min-height: 52px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { min-height: 140px; }
  .metric + .metric { border-left: 0; border-top: 1px solid var(--line); }
  .feature-image { min-height: 78vw; }
  .feature-copy { padding-block: 80px; }
  .feature-index { margin-bottom: 40px; }
  .detail-list { margin-top: 52px; }
  .split-feature { gap: 60px; }
  .split-image { width: 92%; }
  .focus-panel { height: 78vh; min-height: 580px; }
  .focus-panel > img { object-position: 62% center; }
  .gallery-head { align-items: flex-start; flex-direction: column; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-grid figure,
  .gallery-grid .gallery-large,
  .gallery-grid .gallery-wide { grid-column: auto; grid-row: auto; height: 104vw; }
  .gallery-grid .gallery-wide { height: 72vw; }
  .contact-actions { align-items: flex-start; flex-direction: column; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
  .footer-bottom { align-items: flex-start; flex-direction: column; gap: 8px; }
  .floating-contact {
    position: fixed;
    z-index: 90;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    min-width: 124px;
    height: 48px;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--white);
    background: var(--red);
    box-shadow: 0 14px 30px rgba(0,0,0,.24);
    font-size: 13px;
    font-weight: 650;
  }
}

html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .hero-location::before { margin-right: 0; margin-left: 11px; }
html[dir="rtl"] .focus-copy { left: auto; right: max(24px, calc((100vw - 1380px) / 2)); }
html[dir="rtl"] .language-menu { right: auto; left: 0; }
html[dir="rtl"] .language-menu button { text-align: right; }
html[dir="rtl"] .floating-contact { right: auto; left: 14px; }
html[dir="rtl"] .site-nav .nav-cta span,
html[dir="rtl"] .button span,
html[dir="rtl"] .inline-link span { transform: scaleX(-1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-media { transform: none !important; }
  .hero-media video { display: none; }
  .hero-media { background: url('/images/poligon-hero.webp') center / cover no-repeat; }
  .reveal, .reveal-media img { opacity: 1; transform: none; }
}
