:root {
  --graphite: #242424;
  --dark: #333333;
  --dark-soft: #414141;
  --light: #f3f3f1;
  --white: #ffffff;
  --line: #d8d8d4;
  --muted: #70706c;
  --header-height: 78px;
  --container: 1240px;
  --section-y: clamp(78px, 9vw, 132px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--light);
  color: var(--graphite);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-menu-open { overflow: hidden; }

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: var(--header-height);
  color: var(--white);
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,.16);
  transition: background .25s ease, backdrop-filter .25s ease, border-color .25s ease;
}
.site-header.is-scrolled {
  background: rgba(36,36,36,.96);
  backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,.08);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; flex-direction: column; gap: 1px; flex-shrink: 0; }
.brand-name { font-size: 14px; font-weight: 700; letter-spacing: .18em; line-height: 1; }
.brand-type { font-size: 9px; font-weight: 500; letter-spacing: .28em; opacity: .68; line-height: 1.5; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.3vw, 34px); margin-left: auto; }
.main-nav a { position: relative; font-size: 12px; font-weight: 500; letter-spacing: .04em; opacity: .86; transition: opacity .2s ease; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -7px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .22s ease;
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.language-switcher { display: flex; gap: 7px; align-items: center; margin-left: 2px; font-size: 11px; letter-spacing: .08em; }
.language-switcher span { opacity: .35; }
.language-button { border: 0; background: transparent; color: inherit; padding: 0; opacity: .42; font-size: 11px; letter-spacing: .08em; }
.language-button.is-active { opacity: 1; }
.menu-toggle { display: none; margin-left: auto; width: 40px; height: 40px; padding: 0; border: 1px solid rgba(255,255,255,.22); background: transparent; color: white; }
.menu-toggle span { display: block; width: 17px; height: 1px; margin: 4px auto; background: currentColor; }

.hero { position: relative; min-height: 100svh; display: flex; align-items: stretch; color: white; overflow: hidden; background: var(--graphite); }
.hero-media { position: absolute; inset: 0; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
          90deg,
          rgba(12, 12, 12, .78) 0%,
          rgba(20, 20, 20, .58) 48%,
          rgba(20, 20, 20, .42) 100%
  );
}
.hero-inner { position: relative; z-index: 2; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--header-height); padding-bottom: 66px; }
.hero-copy { width: min(760px, 85vw); }
.eyebrow { margin: 0 0 22px; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; opacity: .74; }
.eyebrow-dark { color: var(--muted); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 850px; margin-bottom: 28px; font-size: clamp(38px, 6.5vw, 72px); font-weight: 600; }
.hero-text { max-width: 620px; margin-bottom: 34px; font-size: clamp(16px, 1.6vw, 20px); color: rgba(255,255,255,.78); }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border: 1px solid transparent; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { background: var(--white); color: var(--graphite); }
.button-dark { background: var(--graphite); color: white; border-color: var(--graphite); }
.inline-link { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.inline-link span { font-size: 17px; line-height: 1; transition: transform .2s ease; }
.inline-link:hover span { transform: translateX(4px); }
.inline-link-light { color: white; }
.hero-meta { display: flex; gap: 9px; margin-top: auto; padding-top: 50px; font-size: 9px; letter-spacing: .2em; opacity: .62; }

.section { padding-block: var(--section-y); }
.section-light { background: var(--light); }
.section-dark { background: var(--graphite); color: white; }
.section-intro-grid { display: grid; grid-template-columns: minmax(160px, .33fr) minmax(0, 1fr); gap: 40px; padding-bottom: 70px; border-bottom: 1px solid var(--line); }
h2 { margin-bottom: 24px; font-size: clamp(34px, 4.7vw, 64px); font-weight: 600; }
.section-intro-grid h2 { max-width: 850px; }
.lead { max-width: 760px; margin-bottom: 0; font-size: 16px; color: #666661; }
.section-dark .lead { color: rgba(255,255,255,.66); }

.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.activity-card { min-height: 250px; padding: 32px 34px 0; border-right: 1px solid var(--line); }
.activity-card:first-child { padding-left: 0; }
.activity-card:last-child { border-right: 0; }
.activity-card + .activity-card { padding-left: 38px; }
.item-number { display: block; margin-bottom: 64px; font-size: 10px; color: #858580; letter-spacing: .14em; }
.activity-card h3 { margin-bottom: 16px; font-size: 21px; font-weight: 600; }
.activity-card p { max-width: 320px; margin: 0; font-size: 14px; color: #777771; }

.section-equipment { background: #e9e9e6; }
.section-heading { max-width: 940px; margin-bottom: 64px; }
.equipment-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.equipment-card { background: var(--light); }
.card-media { position: relative; height: clamp(320px, 38vw, 560px); overflow: hidden; background: #d6d6d1; }
.card-media img { transition: transform .6s ease; }
.equipment-card:hover .card-media img { transform: scale(1.025); }
.card-index { position: absolute; top: 20px; right: 22px; color: white; font-size: 11px; letter-spacing: .12em; }
.card-body { padding: 32px 34px 36px; }
.card-kicker { margin-bottom: 16px; color: #7e7e79; font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.card-body h3 { margin-bottom: 16px; font-size: 32px; font-weight: 600; }
.card-body p { max-width: 500px; margin-bottom: 26px; color: #6f6f6a; font-size: 14px; }

.image-break { position: relative; height: clamp(360px, 49vw, 690px); overflow: hidden; background: #31312f; color: white; }
.image-break-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,15,15,.45), rgba(15,15,15,.1)); }
.image-break-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: flex-end; padding-bottom: 34px; }
.image-break-content p { margin: 0; font-size: 9px; letter-spacing: .22em; opacity: .68; }

.service-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(340px, .78fr); gap: clamp(50px, 8vw, 130px); align-items: center; }
.service-copy h2 { max-width: 700px; }
.process-list { margin-top: 58px; border-top: 1px solid rgba(255,255,255,.15); }
.process-item { display: grid; grid-template-columns: 38px 1fr; gap: 22px; padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.process-item > span { color: rgba(255,255,255,.35); font-size: 10px; letter-spacing: .12em; }
.process-item h3 { margin-bottom: 7px; font-size: 18px; }
.process-item p { max-width: 540px; margin: 0; color: rgba(255,255,255,.55); font-size: 13px; }
.service-media { min-height: 560px; background: #30302e; }

.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr); gap: 70px 100px; align-items: start; }
.about-copy { padding-top: 8px; }
.about-copy h2 { margin-bottom: 28px; }
.about-copy .lead + .lead { margin-top: 16px; }
.about-media { height: clamp(380px, 42vw, 580px); grid-row: span 2; }
.about-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.fact { padding: 22px 28px 0 0; }
.fact + .fact { padding-left: 28px; border-left: 1px solid var(--line); }
.fact span { display: block; margin-bottom: 30px; font-size: 10px; color: #888883; }
.fact strong { display: block; margin-bottom: 4px; font-size: 13px; letter-spacing: .1em; }
.fact small { color: #777771; font-size: 12px; }

.contact-section { background: #e6e6e2; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(420px, 1fr); gap: clamp(50px, 8vw, 130px); align-items: start; }
.contact-copy h2 { max-width: 620px; }
.contact-details { margin-top: 52px; border-top: 1px solid #cecec9; }
.contact-detail { display: flex; justify-content: space-between; gap: 30px; padding: 18px 0; border-bottom: 1px solid #cecec9; }
.contact-detail span { color: #7a7a75; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.contact-detail strong { font-size: 13px; font-weight: 500; text-align: right; }
.contact-form { padding: 34px; background: var(--white); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; }
.contact-form label span { font-size: 10px; color: #6f6f6a; letter-spacing: .12em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 0; border-bottom: 1px solid #cfcfca; background: transparent; color: var(--graphite); outline: none; border-radius: 0; padding: 10px 0 12px; }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: var(--graphite); }
.full-width { grid-column: 1 / -1; }
.contact-form .button { margin-top: 26px; }
.form-note { margin: 14px 0 0; color: #8a8a84; font-size: 11px; }

.site-footer { background: var(--graphite); color: white; padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 60px; padding-bottom: 62px; }
.brand-footer { margin-bottom: 20px; }
.footer-brand p { margin: 0; color: rgba(255,255,255,.48); font-size: 12px; }
.footer-column { display: flex; flex-direction: column; gap: 10px; }
.footer-title { margin: 0 0 10px; color: rgba(255,255,255,.42); font-size: 9px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.footer-column a, .footer-column span { color: rgba(255,255,255,.75); font-size: 12px; }
.footer-column a:hover { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 18px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.38); font-size: 10px; }
.footer-bottom a:hover { color: white; }

.media-placeholder { position: relative; overflow: hidden; background: linear-gradient(135deg, #3c3c3a, #242424); }
.media-placeholder img { position: absolute; inset: 0; z-index: 1; }
.placeholder-content { position: absolute; inset: 0; z-index: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 7px; color: rgba(255,255,255,.35); text-align: center; }
.placeholder-content span { font-size: 10px; font-weight: 600; letter-spacing: .2em; }
.placeholder-content small { font-size: 10px; opacity: .55; }
.placeholder-content-dark { color: rgba(255,255,255,.5); }

@media (max-width: 1020px) {
  .main-nav { gap: 18px; }
  .main-nav a { font-size: 11px; }
  .section-intro-grid, .contact-grid, .service-grid, .about-grid { gap: 42px; }
  .service-grid { grid-template-columns: 1fr .85fr; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-media { grid-row: auto; }
  .about-facts { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  :root { --header-height: 70px; }
  .container { width: min(calc(100% - 36px), var(--container)); }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 18px 18px 26px;
    background: rgba(36,36,36,.98);
    border-top: 1px solid rgba(255,255,255,.08);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .main-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav a { width: 100%; padding: 14px 0; font-size: 12px; border-bottom: 1px solid rgba(255,255,255,.07); }
  .main-nav a::after { display: none; }
  .language-switcher { margin-left: 0; }
  .header-inner { gap: 14px; }
  .brand { margin-right: auto; }
  .section-intro-grid, .service-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .section-intro-grid { padding-bottom: 45px; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-card, .activity-card + .activity-card, .activity-card:first-child { min-height: auto; padding: 27px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .activity-card:last-child { border-bottom: 0; }
  .item-number { margin-bottom: 32px; }
  .equipment-grid { grid-template-columns: 1fr; }
  .service-grid { gap: 45px; }
  .service-media { min-height: 420px; }
  .about-media { height: 420px; }
  .contact-form { padding: 25px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 540px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand-name { font-size: 12px; }
  .brand-type { font-size: 8px; }
  .language-switcher { font-size: 10px; }
  .hero-inner { padding-bottom: 38px; }
  h1 { font-size: clamp(38px, 12vw, 58px); }
  .hero-copy { width: 100%; }
  .hero-text { font-size: 15px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .section-heading { margin-bottom: 42px; }
  .card-media { height: 300px; }
  .card-body { padding: 28px 24px 32px; }
  .service-media { min-height: 330px; }
  .about-facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 21px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .fact:last-child { border-bottom: 0; }
  .contact-detail { flex-direction: column; gap: 8px; }
  .contact-detail strong { text-align: left; }
  .form-grid { grid-template-columns: 1fr; }
  .full-width { grid-column: auto; }
  .footer-top { grid-template-columns: 1fr; gap: 38px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-bottom-color: #9a3f35;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Smooth section navigation is handled by script.js for consistent timing and header offset. */
html { scroll-behavior: auto; }
