/* Transparent header, richer hero, and horizontal edge-to-edge sections. */
:root {
  --hero-display: 'Syne', 'Inter', Arial, sans-serif;
  --hero-body: 'DM Sans', 'Inter', Arial, sans-serif;
  --brand-face: 'Cinzel', Georgia, serif;
}

.site-header--on-image {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  background: transparent;
  color: #fff;
}
.site-header--on-image .header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  min-height: 138px;
  padding-block: 23px;
  border-bottom: 1px solid #ffffff26;
}
.site-header--on-image nav { grid-column: 1; grid-row: 1; justify-self: start; }
.site-header--on-image .valsain-logo { grid-column: 2; grid-row: 1; justify-self: center; gap: 14px; }
.site-header--on-image .valsain-logo__emblem {
  width: 39px;
  height: 47px;
  background: transparent;
  color: #fff;
  border: 1px solid #ffffff80;
}
.site-header--on-image .valsain-logo__emblem svg { width: 32px; height: 32px; }
.site-header--on-image .valsain-logo__title {
  font: 400 32px/1.1 var(--brand-face);
  letter-spacing: 6px;
}
.site-header--on-image .brand-subtitle {
  font: 400 6px/1.5 var(--hero-body);
  letter-spacing: 2px;
  margin-top: 8px;
  text-align: center;
  color: #eee6d8;
}
.site-header--on-image nav ul { gap: 32px; }
.site-header--on-image nav a {
  font: 500 10px/1.6 var(--hero-body);
  text-transform: uppercase;
  letter-spacing: 1.7px;
  padding-block: 11px;
}
.site-header--on-image nav a::after { background: currentColor; }
.site-header--on-image .lang-switch {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  padding: 0;
  border: 0;
  gap: 12px;
  font: 500 10px/1.5 var(--hero-body);
  letter-spacing: 1px;
}
.site-header--on-image .lang-switch > span { color: #ffffff70; }
.site-header--on-image .lang-switch button { opacity: .6; }
.site-header--on-image .lang-switch button:hover,
.site-header--on-image .lang-switch button[aria-pressed="true"] { opacity: 1; }
.site-header--on-image :focus-visible,
.hero--editorial :focus-visible { outline-color: #fff; }

.hero--editorial {
  height: auto;
  min-height: 100svh;
  max-height: none;
  padding-block: 196px 100px;
  justify-content: center;
}
.hero--editorial .hero-image { object-position: center; }
.hero--editorial .hero-shade {
  background: linear-gradient(180deg, #101b1566, #101b156e 50%, #101b1542), radial-gradient(ellipse at 50% 46%, #101b152e, transparent 72%);
}
.hero--editorial .hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  text-align: center;
}
.hero--editorial .hero-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
  max-width: none;
  margin-bottom: 28px;
  font: 500 9px/1.7 var(--hero-body);
  letter-spacing: 2.5px;
  color: #eddfc2;
}
.hero--editorial .hero-eyebrow::before,
.hero--editorial .hero-eyebrow::after {
  content: '';
  width: 38px;
  height: 1px;
  flex-shrink: 0;
  background: currentColor;
}
.hero--editorial h1 {
  max-width: 1150px;
  margin-inline: auto;
  font: 400 clamp(48px, 4.7vw, 82px)/1.14 var(--hero-display);
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 2px 24px #00000026;
}
.hero--editorial h1 em {
  font-style: normal;
  font-weight: 500;
  color: #e4d4b7;
}
.hero-description {
  max-width: 610px;
  margin-inline: auto;
  margin-top: 28px;
  font: 400 15px/1.85 var(--hero-body);
  color: #f2f1e9;
  text-wrap: pretty;
}
.hero--editorial .hero-tagline {
  margin-top: 22px;
  font: 500 10px/1.7 var(--hero-body);
  text-transform: uppercase;
  letter-spacing: 1.65px;
  color: #d4d8cb;
}
.hero--editorial .button-light {
  margin-top: 29px;
  min-height: 52px;
  min-width: 228px;
  gap: 32px;
  padding: 14px 22px;
  background: #ffffff0a;
  color: #fff;
  border: 1px solid #ffffff80;
  font: 500 11px/1.6 var(--hero-body);
  letter-spacing: .5px;
}
.hero--editorial .button-light:hover { background: #ffffff1a; border-color: #fff; color: #fff; }
.hero--editorial .button-light svg { transition: transform .2s; }
.hero--editorial .button-light:hover svg { transform: translateX(5px); }

.expertise--edge-to-edge.section-space { padding: 0; }
.expertise--edge-to-edge .quarry-band {
  width: 100%;
  height: clamp(320px, 34vw, 660px);
  margin: 0;
}
.expertise--edge-to-edge .quarry-band img { width: 100%; height: 100%; object-fit: cover; }
.expertise--edge-to-edge .quarry-band figcaption {
  left: var(--gutter);
  right: var(--gutter);
  bottom: 30px;
}
.expertise-body { padding-block: clamp(76px, 8.2vw, 132px); }

.contact-section { padding: 0; }
.contact-section > .container { width: 100%; max-width: none; margin: 0; }
.contact-section .contact-panel { width: 100%; min-height: 650px; }
.contact-section .contact-intro { padding: clamp(58px, 5vw, 96px) clamp(28px, 6vw, 112px); }
.contact-section .contact-details { padding: clamp(58px, 5vw, 96px) clamp(28px, 5vw, 96px) 42px; }
.contact-section .contact-email > span { min-width: 0; overflow-wrap: anywhere; }
.contact-section .contact-email { max-width: 100%; }

@media (min-width: 1800px) {
  .hero--editorial { padding-block: 220px 116px; }
  .hero--editorial .hero-inner { padding: 0; }
  .hero--editorial h1 { font-size: 90px; }
}

@media (max-width: 1100px) {
  .site-header--on-image .header-inner { gap: 24px; min-height: 120px; }
  .site-header--on-image .valsain-logo__title { font-size: 28px; letter-spacing: 4px; }
  .hero--editorial { padding-block: 174px 90px; }
  .hero--editorial h1 { font-size: clamp(48px, 5.7vw, 65px); }
  .hero-description { font-size: 14px; }
  .contact-section .contact-intro { padding-inline: 42px; }
  .contact-section .contact-details { padding-inline: 38px; }
}

@media (max-width: 680px) {
  .site-header--on-image .header-inner {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    gap: 18px 12px;
    min-height: 0;
    padding-block: 23px 13px;
  }
  .site-header--on-image .valsain-logo { grid-column: 1 / -1; grid-row: 1; gap: 11px; }
  .site-header--on-image .valsain-logo__emblem { width: 31px; height: 39px; }
  .site-header--on-image .valsain-logo__emblem svg { width: 27px; height: 27px; }
  .site-header--on-image .valsain-logo__title { font-size: 27px; letter-spacing: 5px; }
  .site-header--on-image .brand-subtitle { font-size: 5px; letter-spacing: 1.4px; margin-top: 6px; }
  .site-header--on-image nav { grid-column: 1 / 3; grid-row: 2; }
  .site-header--on-image nav ul { gap: 23px; }
  .site-header--on-image nav a { font-size: 9px; letter-spacing: 1.2px; }
  .site-header--on-image .lang-switch { grid-column: 3; grid-row: 2; gap: 5px; font-size: 9px; }
  .hero--editorial { min-height: 100svh; padding-block: 198px 72px; }
  .hero--editorial .hero-image { object-position: 57% center; }
  .hero--editorial .hero-shade {
    background: linear-gradient(180deg, #101b156e, #101b1580 55%, #101b1552);
  }
  .hero--editorial .hero-eyebrow { margin-bottom: 23px; font-size: 7px; letter-spacing: 1.6px; gap: 11px; }
  .hero--editorial .hero-eyebrow::before,
  .hero--editorial .hero-eyebrow::after { width: 25px; }
  .hero--editorial h1 { font-size: clamp(37px, 7.1vw, 48px); line-height: 1.16; letter-spacing: -.045em; }
  .hero--editorial h1 br { display: block; }
  .hero-description { max-width: 470px; margin-top: 23px; font-size: 13px; line-height: 1.8; }
  .hero--editorial .hero-tagline { margin-top: 20px; font-size: 8px; letter-spacing: 1px; }
  .hero--editorial .button-light { margin-top: 23px; font-size: 10px; gap: 30px; }
  .expertise--edge-to-edge .quarry-band { height: 340px; }
  .expertise--edge-to-edge .quarry-band figcaption { bottom: 23px; }
  .expertise-body { padding-block: 70px; }
  .contact-section .contact-intro { padding: 55px 30px; }
  .contact-section .contact-details { padding: 50px 30px 35px; }
}

@media (max-width: 380px) {
  .hero--editorial { padding-block: 190px 60px; }
  .hero--editorial h1 { font-size: 34px; }
  .hero-description { font-size: 12px; }
  .hero--editorial .hero-tagline { font-size: 7px; letter-spacing: .8px; }
  .expertise--edge-to-edge .quarry-band { height: 300px; }
  .contact-section .contact-intro,
  .contact-section .contact-details { padding-inline: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero--editorial .button-light svg { transition: none; }
}
