/* Fahrenheit Technical Services
   Palette: logo blue, Lufthansa yellow, logo green, white. */

:root {
  --blue: #053a94;
  --blue-dark: #042c70;
  --yellow: #ffad00;
  --green: #106d36;
  --white: #ffffff;
  --tint: #f3f5f9;
  --text: #1c2433;
  --muted: #5a6475;
  --border: #dde2ea;
  --wrap: 1180px;
  --pad: clamp(16px, 4vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font: 400 17px/1.6 "Barlow", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
}
img { display: block; max-width: 100%; }
a { color: var(--blue); }
h1, h2, h3, h4 { color: var(--blue); line-height: 1.15; margin: 0; font-weight: 700; }
h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 16px; }
h3 { font-size: 21px; }
p { margin: 0 0 16px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(64px, 8vw, 104px) 0; }
.section--tint { background: var(--tint); }
.kicker { color: var(--muted); font-weight: 600; font-size: 15px; margin-bottom: 8px; }
.kicker::before { content: ""; display: inline-block; width: 12px; height: 10.5px; background: var(--yellow); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); vertical-align: 0; margin-right: 10px; }
.intro { color: var(--muted); max-width: 640px; margin-bottom: 40px; }
.lead { font-size: 20px; color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 24px; border-radius: 4px; border: 2px solid transparent;
  font: 600 16px/1.2 "Barlow", Arial, sans-serif; text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--yellow { background: var(--yellow); color: var(--blue); }
.btn--yellow:hover { background: #ffbe33; }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--blue-dark); }
.btn--outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn--outline-light:hover { background: var(--white); color: var(--blue); }

/* Top bar + header */
.topbar { background: var(--blue); color: rgba(255,255,255,.85); font-size: 14px; }
.topbar__inner { display: flex; justify-content: space-between; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--white); text-decoration: none; margin-left: 24px; }
.topbar a:hover { text-decoration: underline; }

.header { position: sticky; top: 0; z-index: 20; background: var(--white); border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(5,58,148,.1); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; position: relative; }
.header__brand img { height: 46px; width: auto; }
.menu { display: flex; align-items: center; gap: 32px; }
.menu a:not(.btn) { color: var(--text); text-decoration: none; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.menu a:not(.btn):hover, .menu a.is-current { color: var(--blue); border-bottom-color: var(--yellow); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--blue); margin: 5px 0; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--blue); color: var(--white); }
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero__place { display: flex; align-items: center; gap: 10px; font-weight: 600; color: rgba(255,255,255,.8); margin-bottom: 18px; }
.hexdot { width: 14px; height: 12px; color: var(--yellow); flex: none; }
.hero h1 { color: var(--white); font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; margin-bottom: 22px; }
.hero__lead { color: rgba(255,255,255,.88); font-size: 19px; max-width: 34em; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__deco1 { position: absolute; width: 420px; height: 374px; left: -150px; bottom: -170px; color: rgba(255,255,255,.08); }

/* Hexagon photo frame built from the brand shapes */
.hexframe { position: relative; aspect-ratio: 334 / 297; }
.hexframe img {
  position: absolute; inset: 8% 8.5%; width: 83%; height: 84%; object-fit: cover;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
}
.hexframe__line { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--yellow); pointer-events: none; }
.hexframe--blue .hexframe__line { color: var(--blue); }
.hero__photo { position: relative; margin: 0 0 0 24px; }
.hero__photo img { width: 100%; aspect-ratio: 1299 / 1211; object-fit: cover; border-radius: 4px; position: relative; z-index: 1; }
.hero__photo-hex { position: absolute; pointer-events: none; }
.hero__photo-hex--a { width: 46%; height: 41%; left: -18%; bottom: -12%; color: var(--yellow); z-index: 2; }
.hero__photo-hex--b { width: 42%; height: 37%; right: -12%; top: -9%; color: rgba(255,255,255,.3); z-index: 0; }
.hero__photo-hex--c { width: 38%; height: 34%; left: -8%; bottom: -20%; color: var(--green); z-index: 2; }

/* Corner clusters, as on the company profile pages */
.has-deco { position: relative; overflow: hidden; }
.has-deco > .wrap { position: relative; z-index: 1; }
.deco-cluster { position: absolute; width: 300px; height: 270px; pointer-events: none; }
.deco-cluster svg { position: absolute; }
.deco-cluster .c1 { width: 100%; height: 100%; color: var(--blue); opacity: .9; }
.deco-cluster .c2 { width: 70%; height: 63%; color: var(--yellow); }
.deco-cluster .c3 { width: 80%; height: 71%; color: var(--green); }
.deco-cluster--tr { top: -120px; right: -110px; }
.deco-cluster--tr .c2 { left: -22%; top: 46%; }
.deco-cluster--tr .c3 { left: -46%; top: 4%; }
.deco-cluster--bl { bottom: -120px; left: -120px; }
.deco-cluster--bl .c2 { right: -18%; top: -12%; }
.deco-cluster--bl .c3 { right: -52%; top: 22%; }
.deco-cluster--sm { width: 200px; height: 180px; top: -80px; right: -70px; }
.deco-cluster--sm .c1 { opacity: .5; }
.deco-cluster--sm .c3 { width: 70%; height: 62%; left: -30%; top: 34%; }
.deco-cluster--light .c1 { color: rgba(255,255,255,.18); opacity: 1; }
.deco-cluster--light .c3 { color: #2a9a5a; }

/* Figures */
.figures { border-bottom: 1px solid var(--border); }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.figures__grid div { padding: 32px 24px; border-left: 1px solid var(--border); }
.figures__grid div:first-child { border-left: 0; padding-left: 0; }
.figures strong { display: block; position: relative; font-size: 40px; font-weight: 700; color: var(--blue); line-height: 1; }
.figures span { display: block; color: var(--muted); margin-top: 8px; font-size: 15px; }

/* About */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.about > div > p:not(.kicker):not(.lead) { color: var(--muted); }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--border); }
.vm h3 { margin-bottom: 10px; }
.vm p { color: var(--muted); font-size: 16px; margin: 0; }
.about__img { margin: 0; }
.about__img figcaption { font-size: 14px; color: var(--muted); padding-top: 6px; text-align: center; }
.about { align-items: center; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service { background: var(--white); border-top: 4px solid var(--yellow); padding: 28px 24px; display: flex; flex-direction: column; transition: translate .35s ease, box-shadow .35s ease; }
.service:hover { translate: 0 -6px; box-shadow: 0 18px 36px rgba(5,58,148,.1); }
.service__icon { position: relative; width: 56px; height: 56px; margin-bottom: 18px; }
.service__icon svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.service__hex { color: var(--yellow); transition: rotate .6s cubic-bezier(.2,.7,.2,1); }
.service:hover .service__hex { rotate: 60deg; }
.service__glyph { color: var(--blue); }
.service h3 { margin-bottom: 16px; min-height: 2.3em; }
.service ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.service li { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
.service li:last-child { border-bottom: 0; }
.service a { font-weight: 600; text-decoration: none; }
.service a::after { content: " →"; }
.service a:hover { text-decoration: underline; }

/* Projects */
.tabs { display: flex; flex-wrap: wrap; gap: 4px 28px; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.tabs button { background: none; border: 0; padding: 12px 0; margin-bottom: -1px; font: 500 16px "Barlow", Arial, sans-serif; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.tabs button:hover { color: var(--blue); }
.tabs button.is-active { color: var(--blue); font-weight: 600; border-bottom-color: var(--yellow); }

.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.card { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.card__img { aspect-ratio: 4 / 3; background: var(--tint); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card__img img { transform: scale(1.04); }
.card__img--empty { display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; color: var(--muted); font-size: 14px; }
.card__img--empty svg { width: 96px; height: 86px; color: var(--blue); opacity: .35; }
.modal__empty svg { width: 120px; height: 107px; color: var(--blue); opacity: .3; }
.card__meta { font-size: 14px; color: var(--muted); margin: 14px 0 4px; }
.card__title { font-size: 20px; font-weight: 700; color: var(--blue); line-height: 1.2; }
.card:hover .card__title { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.card__client { color: var(--muted); font-size: 15px; margin-top: 4px; }
.projects__more { text-align: center; margin-top: 44px; }

/* Modal */
.modal { border: 0; padding: 0; width: min(1000px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border-radius: 4px; }
.modal[open] { display: grid; grid-template-columns: 1.25fr 1fr; }
.modal::backdrop { background: rgba(4, 20, 50, .7); }
.modal__media { background: var(--tint); display: flex; flex-direction: column; }
.modal__media > img { width: 100%; flex: 1; min-height: 300px; max-height: 70vh; object-fit: cover; }
.modal__thumbs { display: flex; gap: 6px; padding: 8px; overflow-x: auto; }
.modal__thumbs button { flex: none; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; opacity: .65; }
.modal__thumbs button.is-active { border-color: var(--yellow); opacity: 1; }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__empty { flex: 1; min-height: 300px; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; color: var(--muted); }
.modal__body { position: relative; padding: 36px 32px; overflow-y: auto; }
.modal__body h3 { font-size: 28px; margin-bottom: 20px; padding-right: 32px; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: none; font-size: 30px; line-height: 1; color: var(--blue); cursor: pointer; }
.spec { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 16px; }
.spec th, .spec td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.spec th { width: 110px; color: var(--muted); font-weight: 500; }
.modal h4 { font-size: 17px; margin-bottom: 8px; }
.modal ul { margin: 0 0 16px; padding-left: 20px; }
.modal li { margin-bottom: 4px; }
.modal li::marker { color: var(--yellow); }
.modal__note { color: var(--muted); font-size: 15px; }

/* QHSE */
.qhse { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 48px; margin-top: 24px; align-items: start; }
.qhse__img { align-self: center; }
.qhse h3 { margin-bottom: 14px; }
.qhse p { color: var(--muted); }
.list { margin: 0; }
.list dt { font-weight: 600; color: var(--text); padding-top: 14px; border-top: 1px solid var(--border); }
.list dd { margin: 4px 0 14px; color: var(--muted); font-size: 16px; }
.qhse__img { margin: 0; }


/* Why */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 24px; }
.why > div { border-left: 4px solid var(--yellow); padding-left: 24px; }
.why h3 { margin-bottom: 12px; }
.why p { color: var(--muted); margin: 0; }

/* Quote */
.quote { background: var(--blue); padding: clamp(64px, 8vw, 104px) 0; }
.quote__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.quote__info h2 { color: var(--white); }
.quote__info p { color: rgba(255,255,255,.85); }
.quote__hotline { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.25); }
.quote__hotline span { display: block; color: rgba(255,255,255,.75); font-size: 15px; }
.quote__hotline a { color: var(--yellow); font-size: 28px; font-weight: 700; text-decoration: none; }

.form { position: relative; background: var(--white); padding: clamp(24px, 4vw, 40px); border-radius: 4px; }
.form label { display: block; font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 18px; }
.form input:not([type=checkbox]), .form select, .form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 11px 12px;
  font: 400 16px "Barlow", Arial, sans-serif; color: var(--text);
  border: 1px solid #c3cad6; border-radius: 4px; background: var(--white);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(5,58,148,.15); }
.form .is-invalid { border-color: #c62828 !important; }
.form textarea { resize: vertical; }
.form__services { border: 0; padding: 0; margin: 0 0 22px; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.form__services legend { font-size: 15px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.form__services label { display: flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; cursor: pointer; }
.form__services input { width: 18px; height: 18px; accent-color: var(--blue); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { font-weight: 600; min-height: 1.2em; margin-bottom: 12px; }
.form__status.is-err { color: #c62828; }
.form__status.is-ok { color: var(--green); }
.btn[disabled] { opacity: .6; cursor: progress; }
.form__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: stretch; }
.contact__list { margin: 24px 0 32px; }
.contact__list dt { color: var(--muted); font-size: 15px; }
.contact__list dd { margin: 2px 0 20px; font-size: 22px; font-weight: 600; color: var(--blue); }
.contact__list a { text-decoration: none; }
.contact__list a:hover { text-decoration: underline; }
.contact__map { min-height: 400px; border: 1px solid var(--border); }
.contact__map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* Footer */
.footer { background: var(--blue-dark); color: rgba(255,255,255,.8); padding-top: 48px; }
.footer > .wrap { position: relative; z-index: 1; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; padding-bottom: 32px; }
.footer__logo { height: 44px; width: auto; margin-bottom: 10px; }
.footer p { margin: 0; color: var(--yellow); }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer nav a { color: var(--white); text-decoration: none; }
.footer nav a:hover { text-decoration: underline; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.15); padding-top: 20px; padding-bottom: 24px; font-size: 14px; }

/* Responsive */
@media (max-width: 1024px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .qhse { grid-template-columns: 1fr 1fr; }
  .qhse__img { grid-column: 1 / -1; max-width: 380px; margin: 0 auto; width: 100%; }
}
@media (max-width: 880px) {
  .burger { display: block; }
  .menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--border); padding: 8px var(--pad) 20px;
  }
  .menu.is-open { display: flex; }
  .menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--border); }
  .menu .btn { margin-top: 16px; text-align: center; }

  .hero__grid { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; padding-bottom: 56px; }
  .hero__photo { max-width: 520px; width: 100%; margin: 0 auto 24px; }
  .hero__photo-hex--a { left: -8%; }
  .hero__photo-hex--b { right: -6%; }
  .hero__photo-hex--c { left: 2%; }
  .about__img { max-width: 440px; margin: 0 auto; width: 100%; }
  .deco-cluster { transform: scale(.7); transform-origin: top right; }
  .deco-cluster--bl { transform-origin: bottom left; }
  .figures__grid { grid-template-columns: 1fr 1fr; }
  .figures__grid div { padding: 24px 16px; }
  .figures__grid div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .figures__grid div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .about, .quote__grid, .contact { grid-template-columns: 1fr; gap: 40px; }
  .projects { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; gap: 28px; }
  .modal[open] { grid-template-columns: 1fr; overflow-y: auto; }
  .modal__media > img { max-height: 45vh; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar span:first-child { display: none; }
  .topbar__inner { justify-content: center; }
  .topbar a { margin: 0 10px; }
  .header__brand img { height: 38px; }
  .services, .projects, .vm, .qhse, .form__row { grid-template-columns: 1fr; }
  .service h3 { min-height: 0; }
  .figures strong { font-size: 32px; }
  .modal__body { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .js .service__hex { stroke-dashoffset: 0; }
}

/* ---------- Motion ---------- */
/* Hero entrance: copy rises, photo slides in, hexagons fly in and settle */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { opacity: 0; transform: translateX(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes hex-in { from { opacity: 0; transform: translate(var(--hx), var(--hy)) rotate(var(--hr)) scale(.5); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(28px, -34px) rotate(9deg); } }
.js .hero__place, .js .hero h1, .js .hero__lead, .js .hero__cta { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.js .hero h1 { animation-delay: .1s; }
.js .hero__lead { animation-delay: .2s; }
.js .hero__cta { animation-delay: .3s; }
.js .hero__photo img { animation: photo-in .9s cubic-bezier(.2,.7,.2,1) .15s both; }
.js .hero__photo-hex--a { --hx: -70px; --hy: 70px; --hr: -40deg; animation: hex-in 1s cubic-bezier(.2,.7,.2,1) .5s both, float-a 7s ease-in-out 1.5s infinite alternate; }
.js .hero__photo-hex--b { --hx: 70px; --hy: -60px; --hr: 35deg; animation: hex-in 1s cubic-bezier(.2,.7,.2,1) .65s both, float-b 8s ease-in-out 1.65s infinite alternate; }
.js .hero__photo-hex--c { --hx: -30px; --hy: 90px; --hr: 50deg; animation: hex-in 1s cubic-bezier(.2,.7,.2,1) .8s both, float-c 6.5s ease-in-out 1.8s infinite alternate; }
.hero__deco1 { animation: drift 16s ease-in-out infinite alternate; }

/* Continuous float: hexagons keep breathing even when the page is still */
@keyframes float-a { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(12px, -18px) rotate(4deg); } }
@keyframes float-b { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-14px, 14px) rotate(-5deg); } }
@keyframes float-c { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(10px, 16px) rotate(3deg); } }
.hero__photo-hex--a { animation: float-a 7s ease-in-out infinite alternate; }
.hero__photo-hex--b { animation: float-b 8s ease-in-out infinite alternate; }
.hero__photo-hex--c { animation: float-c 6.5s ease-in-out infinite alternate; }
.deco-cluster .c1 { animation: float-a 10s ease-in-out infinite alternate; }
.deco-cluster .c2 { animation: float-b 7.5s ease-in-out -3s infinite alternate; }
.deco-cluster .c3 { animation: float-c 8.5s ease-in-out -5s infinite alternate; }
.deco-cluster--bl .c1 { animation-duration: 11s; animation-delay: -4s; }
.deco-cluster--bl .c3 { animation-delay: -2s; }
@keyframes float-s { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(5px, -6px) rotate(1.5deg); } }
.hexframe__line { animation: float-s 9s ease-in-out infinite alternate; }
.hexframe--blue .hexframe__line { animation-duration: 11s; animation-delay: -3s; }

/* Parallax layers: main.js writes translate/rotate as you scroll */
.deco-cluster svg, .hero__photo-hex, .hero__deco1, .hexframe__line { will-change: transform, translate, rotate; }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transition: opacity .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s), transform .9s cubic-bezier(.2,.7,.2,1) var(--d, 0s); }
.js [data-reveal="up"] { transform: translateY(32px); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="scale"] { transform: scale(.9); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* Service icon hexagon draws itself when the card appears */
.js .service__hex { stroke-dasharray: 132; stroke-dashoffset: 132; transition: stroke-dashoffset 1.3s ease calc(var(--d, 0s) + .3s), rotate .6s cubic-bezier(.2,.7,.2,1); }
.js .service.is-in .service__hex { stroke-dashoffset: 0; }

/* Key figures: yellow rule grows, numbers count up (JS) */
.js .figures strong::before { content: ""; position: absolute; left: 0; top: -14px; height: 4px; width: 0; background: var(--yellow); transition: width .9s cubic-bezier(.2,.7,.2,1) calc(var(--d, 0s) + .2s); }
.js .figures__grid div.is-in strong::before { width: 36px; }
