/* ברונסקי קידוחים — one dark canvas.
   Startup DNA (bento grid, hairline borders, micro-labels, glow) with Apple
   typography and media presentation. Hebrew RTL by design. */

@font-face {
  font-family: "Rubik";
  src: url("./assets/fonts/Rubik-Variable.ttf") format("truetype");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --bg: #000000;
  --bg-2: #0a0a0b;
  --tile: #131315;
  --tile-2: #1a1a1d;
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --ink-3: #86868b;
  --hair: rgba(255, 255, 255, 0.1);
  --hair-2: rgba(255, 255, 255, 0.18);
  --blue: #0071e3;
  --blue-hover: #0a84ff;
  --blue-text: #2997ff;
  --radius: 22px;
  --radius-l: 28px;
  --header: 52px;
  --bar: 0px;
  --narrow: 820px;
  --wide: 1120px;
  --gutter: 20px;
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 24px);
  scroll-padding-bottom: calc(var(--bar) + var(--consent, 0px) + 24px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  font-family: "Rubik", -apple-system, system-ui, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.47;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: var(--bar);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: anywhere;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.06;
  text-wrap: balance;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: var(--blue-text);
  text-decoration: none;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}
video:focus,
video:focus-visible,
video:focus-within {
  outline: 3px solid var(--blue);
  outline-offset: -4px;
}
.container {
  width: min(100% - 2 * var(--gutter), var(--wide));
  margin-inline: auto;
}
.container-narrow {
  width: min(100% - 2 * var(--gutter), var(--narrow));
  margin-inline: auto;
}

/* --- Primitives -------------------------------------------------------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition:
    background-color 0.2s var(--ease),
    box-shadow 0.3s var(--ease),
    transform 0.2s var(--ease);
}
.button:active {
  transform: scale(0.98);
}
.button-accent {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 0 rgba(10, 132, 255, 0);
}
.button-accent:hover {
  background: var(--blue-hover);
  box-shadow: 0 8px 32px rgba(10, 132, 255, 0.35);
}
.button-light {
  background: #fff;
  color: #000;
}
.button-light:hover {
  background: #e8e8ed;
}
.button-outline-light {
  color: #fff;
  border: 1px solid var(--hair-2);
  background: transparent;
}
.button-outline-light:hover {
  border-color: #fff;
}
.text-link,
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 500;
  color: var(--blue-text);
}
.text-link span,
.link-arrow span {
  font-size: 1.2em;
  line-height: 1;
  transition: transform 0.2s var(--ease);
}
.text-link:hover span,
.link-arrow:hover span {
  transform: translateX(-3px);
}
.tile-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 36px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(34px, 5.4vw, 60px);
  margin-bottom: 14px;
}
.section-head p {
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.4;
  color: var(--ink-2);
  text-wrap: pretty;
  margin-inline: auto;
}
.section-head-start {
  text-align: start;
  margin: 0;
}

/* --- Reveal (scripted + motion-welcome only) --------------------------- */
.reveal {
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.js .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .js .reveal:not(.is-visible) {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Skip link, preview notice ---------------------------------------- */
.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -100px;
  z-index: 60;
  padding: 12px 18px;
  min-height: 44px;
  background: #fff;
  color: #000;
  border-radius: 999px;
}
.skip-link:focus {
  top: 12px;
}
.preview-notice {
  background: #ffd60a;
  color: #1d1d1f;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  padding: 6px 12px;
}

/* --- Header ------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.78);
  border-bottom-color: var(--hair);
}
.site-header {
  overflow: hidden;
}
.header-inner {
  width: min(100% - 2 * var(--gutter), var(--wide));
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  min-width: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand-symbol {
  width: 20px;
  height: 20px;
}
.site-header nav {
  display: none;
  flex: 1;
  justify-content: center;
  gap: 4px;
}
.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 15px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}
.site-header nav a:hover {
  color: #fff;
}
.header-contact {
  margin-inline-start: auto;
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  transition: background-color 0.2s var(--ease);
}
.header-contact:hover {
  background: #e8e8ed;
}
@media (min-width: 900px) {
  .site-header nav {
    display: flex;
  }
}

/* --- Hero: one cinematic screen ---------------------------------------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(32px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--header));
}
.hero-ambient {
  position: absolute;
  inset: -14%;
  z-index: -2;
  background: url("./assets/media/drilling-site-03-poster.jpg") center / cover
    no-repeat;
  filter: blur(60px) saturate(1.3) brightness(0.42);
  transform: translateY(var(--parallax, 0px)) scale(1.12);
  will-change: transform;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      110% 55% at 50% 0%,
      rgba(0, 0, 0, 0.82),
      rgba(0, 0, 0, 0.4) 60%,
      rgba(0, 0, 0, 0) 100%
    ),
    linear-gradient(to bottom, rgba(0, 0, 0, 0) 55%, #000 100%);
}
.hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.hero-copy > * {
  animation: rise 1s var(--ease) both;
}
.hero-copy > :nth-child(2) {
  animation-delay: 0.12s;
}
.hero-copy > :nth-child(3) {
  animation-delay: 0.26s;
}
.hero-copy > :nth-child(4) {
  animation-delay: 0.4s;
}
.reservist-intro,
.reservist-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 5px 14px 5px 7px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
}
.reservist-intro {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--hair);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--ink);
  margin-bottom: clamp(18px, 3vw, 26px);
}
.reservist-intro svg,
.reservist-badge svg {
  border-radius: 3px;
  flex: none;
}
.hero h1 {
  font-size: clamp(46px, 10.5vw, 96px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-name {
  color: #fff;
}
.hero-statement {
  background: linear-gradient(100deg, #f5f5f7 0%, #9a9aa0 55%, #d8d8dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}
.hero-statement br {
  display: inline;
}
.hero-description {
  margin-top: clamp(16px, 3vw, 24px);
  max-width: 560px;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.4;
  color: var(--ink-2);
}
.hero-description br {
  display: none;
}
@media (min-width: 700px) {
  .hero-description br {
    display: inline;
  }
}
.hero-actions {
  margin-top: clamp(20px, 3vw, 28px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 24px;
}
.hero-phone {
  gap: 8px;
  min-height: 48px;
  color: #fff;
}
.hero-phone-label {
  color: var(--ink-2);
  font-weight: 400;
}
@media (min-width: 900px) {
  .hero {
    padding-top: 52px;
  }
  .hero h1 {
    font-size: clamp(56px, 5.8vw, 76px);
  }
  .hero-statement br {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-copy > * {
    animation: none;
  }
  .hero-ambient {
    transform: scale(1.12);
  }
}
.hero-stage {
  position: relative;
  margin-top: clamp(24px, 4vw, 44px);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.photo-frame {
  position: relative;
  width: 100%;
  margin-inline: auto;
}
.hero-video {
  width: 100%;
  height: min(74vh, 700px);
  min-height: 400px;
  object-fit: cover;
  background: #000;
}
.motion-toggle {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.motion-toggle[hidden] {
  display: none;
}
.motion-icon {
  font-size: 11px;
}
@media (min-width: 700px) {
  .hero-stage {
    padding: 0 var(--gutter);
    display: block;
    text-align: center;
  }
  .photo-frame {
    width: auto;
    max-width: 100%;
    display: inline-block;
    vertical-align: top;
    border-radius: var(--radius-l);
    overflow: hidden;
    box-shadow:
      0 40px 90px rgba(0, 0, 0, 0.6),
      0 0 0 1px var(--hair);
  }
  .hero-video {
    width: auto;
    height: min(72vh, 700px);
    aspect-ratio: 9 / 16;
    object-fit: contain;
  }
}
.film-caption {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  padding: 14px 0 clamp(20px, 3vw, 36px);
  font-size: 13px;
  color: var(--ink-2);
}
.film-caption strong {
  color: var(--ink);
  font-weight: 500;
}
.film-caption .full-photo {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  color: var(--blue-text);
  font-weight: 500;
}
.film-error {
  flex-basis: 100%;
  color: #ffb340;
}
.film-error[hidden] {
  display: none;
}

/* --- Bento ------------------------------------------------------------- */
.bento-section {
  position: relative;
  padding: clamp(56px, 8vw, 110px) 0 clamp(40px, 6vw, 80px);
  background-image: radial-gradient(var(--hair) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: center top;
}
.bento-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, #000 0%, rgba(0, 0, 0, 0.2) 25%, rgba(0, 0, 0, 0.2) 75%, #000 100%);
  pointer-events: none;
}
.bento-section > .container {
  position: relative;
}
.bento {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, auto);
  grid-auto-flow: dense;
}
.tile {
  position: relative;
  overflow: hidden;
  background: var(--tile);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  transition:
    border-color 0.3s var(--ease),
    transform 0.4s var(--ease);
}
.tile:hover {
  border-color: var(--hair-2);
}
.t-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}
.t-2x1 {
  grid-column: span 2;
}
.t-1x2 {
  grid-row: span 2;
}
.tile-stat .tile-value {
  margin-top: auto;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-size: clamp(44px, 7vw, 76px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  background: linear-gradient(180deg, #fff 30%, #a1a1a6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tile-unit,
.tile-x {
  font-size: 0.34em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-2);
  -webkit-text-fill-color: var(--ink-2);
}
.tile-x {
  font-size: 0.5em;
  margin: 0 2px;
}
/* Must outrank .tile-stat .tile-value, or two numbers overflow the tile.
   Sized from the tile's own width: tile widths don't follow the viewport. */
.tile-stat:has(.tile-value-pair) {
  container-type: inline-size;
}
.tile-stat .tile-value-pair {
  font-size: clamp(28px, 100cqi / 3.9, 58px);
  flex-wrap: nowrap;
  white-space: nowrap;
}
.tile-note {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
}
.tile-media {
  padding: 0;
  background: #000;
}
.tile-media video {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  background: #000;
}
.tile-media figcaption {
  padding: 12px 16px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 14px;
  background: var(--tile);
  border-top: 1px solid var(--hair);
}
.tile-media figcaption strong {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.tile-media figcaption .tile-label {
  flex-basis: 100%;
}
.tile-media .text-link {
  margin-inline-start: auto;
  font-size: 14px;
}
.tile-media.t-2x2 video {
  aspect-ratio: 1 / 1;
}
.tile-media.t-1x1 video {
  aspect-ratio: 1 / 1;
}
.tile-portrait {
  padding: 0;
  justify-content: flex-end;
}
.tile-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 84% 30%;
}
.tile-portrait figcaption {
  position: relative;
  padding: 90px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 40%, rgba(0, 0, 0, 0));
}
.tile-portrait strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.tile-portrait figcaption > span {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}
.reservist-badge {
  align-self: flex-start;
  background: #1d1d1f;
  border: 1px solid var(--hair);
  color: var(--ink);
  margin-bottom: 6px;
}
.tile-services {
  gap: 12px;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  flex: 1;
}
.service {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--tile-2);
  border: 1px solid var(--hair);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.25;
}
.service svg {
  flex: none;
  width: 26px;
  height: 26px;
  stroke: var(--blue-text);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.spec-note {
  margin: 18px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-3);
}
@media (min-width: 900px) {
  .bento {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(224px, auto);
    gap: 14px;
  }
  .tile {
    padding: 22px;
  }
  .tile-media.t-2x2 video {
    aspect-ratio: auto;
    flex: 1 1 0;
    min-height: 0;
    height: auto;
  }
  .tile-media.t-2x2 {
    min-height: 560px;
  }
  .tile-media figcaption {
    flex: none;
  }
  /* Small film tile: the film fills the tile; its link floats at the top so
     the bottom strip (native controls, when they are shown) stays uncovered. */
  .tile-media.t-1x1 video {
    aspect-ratio: auto;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .tile-media.t-1x1 figcaption {
    position: absolute;
    top: 0;
    inset-inline: 0;
    padding: 6px 12px 22px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
    border-top: 0;
    flex-wrap: nowrap;
  }
  .tile-media.t-1x1 figcaption .tile-label,
  .tile-media.t-1x1 figcaption strong {
    display: none;
  }
  .tile-media.t-1x1 .text-link {
    margin-inline-start: 0;
    white-space: nowrap;
  }
  .tile-media figcaption .tile-label {
    flex-basis: auto;
  }
}

/* --- FAQ --------------------------------------------------------------- */
.faq-section {
  padding: clamp(40px, 6vw, 80px) 0;
}
.faq-layout {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 900px) {
  .faq-layout {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }
}
.faq-list {
  border-top: 1px solid var(--hair);
}
.faq-list details {
  border-bottom: 1px solid var(--hair);
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 16px 0;
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-icon {
  position: relative;
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--hair-2);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease);
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.faq-list details[open] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.faq-list details p {
  padding: 0 0 20px;
  max-width: 600px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.55;
}

/* --- Contact ----------------------------------------------------------- */
.contact-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(72px, 10vw, 140px) 0;
  text-align: center;
  border-top: 1px solid var(--hair);
}
.contact-glow {
  position: absolute;
  inset: auto 0 -40%;
  height: 90%;
  z-index: -1;
  background: radial-gradient(
    60% 60% at 50% 100%,
    rgba(10, 132, 255, 0.35),
    rgba(10, 132, 255, 0) 70%
  );
  pointer-events: none;
}
.contact-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-section h2 {
  font-size: clamp(38px, 6.6vw, 80px);
  letter-spacing: -0.04em;
  line-height: 1.02;
  background: linear-gradient(100deg, #ffffff 0%, #c7c7cc 60%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.08em;
}
.steps {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px 0 8px;
  border-radius: 999px;
  border: 1px solid var(--hair);
  background: rgba(255, 255, 255, 0.04);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.steps li span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue-text);
}
.service-area {
  margin-top: 12px;
  color: var(--ink-2);
}
.contact-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.contact-actions .button {
  min-height: 54px;
  padding: 0 28px;
  font-size: 17px;
}
.contact-actions .button-outline-light {
  gap: 10px;
}
.phone-number {
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.contact-note {
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-2);
}
.contact-pending {
  background: var(--tile);
  border: 1px solid var(--hair);
  border-radius: var(--radius);
  padding: 22px;
}
.contact-pending p {
  color: var(--ink-2);
  margin-top: 6px;
}

/* --- Footer ------------------------------------------------------------ */
.site-footer {
  border-top: 1px solid var(--hair);
  color: var(--ink-3);
  font-size: 13px;
  padding: 18px 0;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 20px;
}
.footer-brand,
.back-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--ink);
  font-weight: 500;
}
.back-top {
  color: var(--blue-text);
}

/* --- Accessibility menu ------------------------------------------------ */
.a11y-toggle {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  min-width: 44px;
  padding: 0 12px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s var(--ease);
}
.a11y-toggle[hidden] {
  display: none;
}
.a11y-toggle:hover,
.a11y-toggle[aria-expanded="true"] {
  border-color: var(--hair-2);
}
.a11y-toggle svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 480px) {
  .a11y-toggle span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .a11y-toggle {
    padding: 0;
    justify-content: center;
  }
}
.a11y-panel {
  position: fixed;
  top: calc(var(--header) + 8px);
  inset-inline-end: var(--gutter);
  width: min(300px, calc(100vw - 2 * var(--gutter)));
  z-index: 60;
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--tile);
  border: 1px solid var(--hair-2);
  border-radius: 18px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  color: var(--ink);
}
.a11y-panel[hidden] {
  display: none;
}
.a11y-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  padding: 4px 6px 2px;
}
.a11y-panel button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--hair);
  border-radius: 12px;
  background: var(--tile-2);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-align: start;
}
.a11y-panel button[aria-pressed="true"] {
  background: #fff;
  color: #000;
  border-color: #fff;
}
.a11y-state {
  font-size: 12px;
  opacity: 0.8;
}
.a11y-reset {
  justify-content: center;
  background: transparent;
}
.a11y-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
}

/* Modes */
html.a11y-text-1 body {
  zoom: 1.15;
}
html.a11y-text-2 body {
  zoom: 1.3;
}
html.a11y-contrast {
  --bg: #000;
  --bg-2: #000;
  --tile: #000;
  --tile-2: #000;
  --ink: #fff;
  --ink-2: #fff;
  --ink-3: #e5e5ea;
  --hair: rgba(255, 255, 255, 0.6);
  --hair-2: #fff;
  --blue: #0047ab;
  --blue-hover: #0055cc;
  --blue-text: #8ec5ff;
}
html.a11y-contrast .hero-ambient,
html.a11y-contrast .hero::after,
html.a11y-contrast .contact-glow,
html.a11y-contrast .bento-section::before {
  display: none;
}
html.a11y-contrast .bento-section {
  background-image: none;
}
html.a11y-contrast .hero-statement,
html.a11y-contrast .tile-stat .tile-value,
html.a11y-contrast .contact-section h2 {
  background: none;
  color: #fff;
  -webkit-text-fill-color: #fff;
}
html.a11y-contrast .tile-portrait figcaption {
  background: rgba(0, 0, 0, 0.92);
}
html.a11y-contrast .site-header,
html.a11y-contrast .mobile-contact,
html.a11y-contrast .motion-toggle,
html.a11y-contrast .consent {
  background: #000;
}
html.a11y-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}
html.a11y-font body,
html.a11y-font h1,
html.a11y-font h2,
html.a11y-font h3 {
  font-family: Arial, "Segoe UI", system-ui, sans-serif;
  letter-spacing: 0;
}
html.a11y-motion-off *,
html.a11y-motion-off *::before,
html.a11y-motion-off *::after {
  animation: none !important;
  transition: none !important;
}
html.a11y-motion-off .reveal {
  opacity: 1;
  transform: none;
}
html.a11y-motion-off .hero-ambient {
  transform: scale(1.12);
}

/* --- Privacy notice ------------------------------------------------------ */
html.has-consent {
  --consent: 150px;
}
.consent {
  position: fixed;
  inset-inline-start: 12px;
  bottom: calc(var(--bar) + 12px);
  z-index: 45;
  width: min(420px, calc(100vw - 24px));
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  background: rgba(19, 19, 21, 0.9);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid var(--hair-2);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  color: var(--ink);
}
.consent p {
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.consent-actions {
  display: flex;
  align-items: center;
  gap: 6px 16px;
  flex-wrap: wrap;
}
.consent .button {
  min-height: 44px;
  padding: 0 20px;
  font-size: 15px;
}

/* --- Legal pages -------------------------------------------------------- */
.legal {
  padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 100px);
}
.legal-article h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin: 8px 0 20px;
}
.legal-article h2 {
  font-size: 22px;
  margin: 32px 0 10px;
}
.legal-article p,
.legal-article li {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.65;
}
.legal-article p + p {
  margin-top: 10px;
}
.legal-lead {
  color: var(--ink) !important;
  font-size: 19px !important;
}
.legal-article ul {
  margin: 0;
  padding-inline-start: 22px;
  display: grid;
  gap: 8px;
}
.legal-article a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 4px;
}
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--ink-2);
  font-size: 13px;
}
.footer-legal a:hover {
  color: var(--ink);
}

/* --- Mobile contact bar ------------------------------------------------ */
.mobile-contact {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-top: 1px solid var(--hair);
}
.mobile-contact .button {
  flex: 1;
  min-width: 0;
  min-height: 50px;
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-contact .mobile-call {
  flex: 0 1 auto;
}
video.is-ambient {
  cursor: pointer;
}
.mobile-call {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  flex: 0 0 auto;
  padding-inline: 22px;
}
.mobile-call:hover {
  background: rgba(255, 255, 255, 0.2);
}
.has-contact {
  --bar: calc(70px + env(safe-area-inset-bottom));
}
@media (min-width: 900px) {
  .mobile-contact {
    display: none;
  }
  .has-contact {
    --bar: 0px;
  }
}
