:root {
  --ink: #102d46; --ink-soft: #46596a; --teal: #006d77; --yellow: #ffe629; --paper: #f5f7f8; --white: #fff; --line: #dde5e8;
  --tint: #e0eff0; --display: "Bricolage Grotesque", system-ui, sans-serif; --body: "Figtree", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -.02em; margin: 0; }
h2 { font-size: clamp(34px, 5vw, 60px); font-weight: 800; max-width: 16ch; text-wrap: balance; }
h3 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
p { margin: 12px 0 0; max-width: 58ch; }
ul { margin: 16px 0 0; padding-left: 20px; }
li { margin-bottom: 6px; }
li::marker { color: var(--teal); }
section { padding: clamp(64px, 9vw, 128px) var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 20; padding: 10px 16px; background: var(--yellow); color: var(--ink); }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.site-header { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 12px var(--gutter); background: var(--ink); color: var(--white); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { border-radius: 10px; }
.brand strong { display: block; font: 800 22px/1 var(--display); }
.brand small { color: var(--yellow); font-size: 13px; font-weight: 600; }
.site-header nav { display: flex; gap: 28px; }
.site-header nav a { font-size: 16px; font-weight: 600; text-decoration: none; }
.site-header nav a:hover { color: var(--yellow); }

.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; min-height: calc(100svh - 68px); padding-top: 56px; padding-bottom: 0; background: linear-gradient(180deg, var(--ink) 0%, var(--teal) 86%, var(--paper) 100%); color: var(--white); }
.hero-copy { padding-bottom: 110px; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(56px, 10.5vw, 148px); font-weight: 800; letter-spacing: -.03em; line-height: .95; }
.lead { margin-top: 24px; font-size: clamp(19px, 2vw, 24px); line-height: 1.45; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.store { display: flex; align-items: center; gap: 12px; min-width: 214px; padding: 10px 22px 10px 16px; border: 1px solid rgb(255 255 255 / .28); border-radius: 12px; background: #081722; color: var(--white); text-decoration: none; transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease, border-color .25s ease; }
.store:hover { transform: translateY(-3px); border-color: var(--yellow); box-shadow: 0 14px 26px -12px rgb(0 0 0 / .6); }
.store svg { flex: none; }
.store span { display: block; }
.store small { display: block; font-size: 12px; font-weight: 500; line-height: 1.2; }
.store strong { display: block; font: 700 21px/1.15 var(--display); }
.hero-note { font-size: 16px; }
.hero-phone { align-self: end; justify-self: center; width: min(340px, 100%); margin-bottom: -90px; position: relative; z-index: 1; }
.phone { padding: 10px; border-radius: 40px; background: var(--ink); box-shadow: 0 30px 60px -20px rgb(16 45 70 / .5); }
.phone img { width: 100%; border-radius: 31px; }
.trace { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 120px; pointer-events: none; }
.trace path { fill: none; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.trace .base { stroke: rgb(255 255 255 / .16); stroke-width: 2; }
.trace .pulse { stroke: var(--yellow); stroke-width: 3; stroke-dasharray: .16 1; stroke-dashoffset: 1.16; }
.js .trace .pulse { animation: trace 3.6s linear infinite; }
@keyframes trace { to { stroke-dashoffset: 0; } }

/* Hero entrance, then the phone floats gently. */
.js .hero h1, .js .lead, .js .store, .js .hero-note { animation: rise .8s cubic-bezier(.22, 1, .36, 1) both; }
.js .lead { animation-delay: .12s; }
.js .store:first-child { animation-delay: .24s; }
.js .store:last-child { animation-delay: .32s; }
.js .hero-note { animation-delay: .4s; }
.js .hero-phone { animation: phone-in 1s cubic-bezier(.22, 1, .36, 1) .15s both; }
.js .hero-phone .phone { animation: float 6s ease-in-out 1.2s infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(70px) rotate(3deg); } }
@keyframes float { 50% { transform: translateY(-12px); } }

/* Sections arrive as they scroll in. */
.js [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .8s cubic-bezier(.22, 1, .36, 1); transition-delay: var(--delay, 0s); }
.js [data-reveal].seen { opacity: 1; transform: none; }
.feature .phone { transition: transform .5s cubic-bezier(.22, 1, .36, 1); }
.feature:hover .phone { transform: translateY(-8px) rotate(-1.5deg); }
.feature.flip:hover .phone { transform: translateY(-8px) rotate(1.5deg); }
.gallery figure { overflow: hidden; border-radius: 16px; }
.gallery img { transition: transform .7s cubic-bezier(.22, 1, .36, 1); }
.gallery figure:hover img { transform: scale(1.05); }
.who dl div { transition: padding-left .3s ease; }
.who dl div:hover { padding-left: 14px; }
.contact a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s ease; text-decoration: none; width: fit-content; }
.contact a:hover { background-size: 100% 2px; }
.site-header { transition: padding .25s ease, box-shadow .25s ease; }
.site-header.scrolled { padding-top: 6px; padding-bottom: 6px; box-shadow: 0 8px 22px -14px rgb(0 0 0 / .7); }
.progress { position: fixed; top: 0; left: 0; z-index: 30; width: 100%; height: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; }

.app { padding-top: clamp(150px, 16vw, 210px); }
.feature { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(32px, 7vw, 110px); align-items: center; max-width: 1000px; margin: clamp(48px, 7vw, 88px) auto 0; }
.feature.flip { grid-template-columns: minmax(0, 1fr) minmax(220px, 300px); }
.feature.flip .phone { order: 2; }

.who { background: var(--ink); color: var(--white); }
.who dl { margin: 40px 0 0; }
.who dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 8px 40px; padding: 26px 0; border-top: 1px solid rgb(255 255 255 / .2); }
.who dt { font: 700 clamp(24px, 3vw, 36px)/1.1 var(--display); color: var(--yellow); }
.who dd { margin: 0; align-self: center; }

.training { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.training h3 { margin-top: 30px; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery figure { margin: 0; }
.gallery .wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; max-height: 300px; object-fit: cover; border-radius: 16px; }
.gallery figcaption { margin-top: 6px; color: var(--ink-soft); font-size: 15px; }

.placement { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: clamp(32px, 6vw, 88px); align-items: center; background: var(--tint); }
.placement img { border-radius: 16px; }
.muted { color: var(--ink-soft); }

.about { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
blockquote { margin: 0; font: 700 clamp(28px, 3.6vw, 46px)/1.14 var(--display); letter-spacing: -.02em; }

.contact { background: var(--yellow); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 36px; }
.contact a { display: block; font-weight: 600; margin-top: 8px; overflow-wrap: anywhere; }
.contact address { margin-top: 8px; font-style: normal; }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding: 40px var(--gutter); background: var(--ink); color: var(--white); font-size: 15px; }
footer p { margin-top: 6px; max-width: none; color: #cfdde3; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 860px) {
  body { font-size: 17px; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; }
  .hero-phone { width: min(280px, 80%); margin-top: 16px; }
  .hero-copy { padding-bottom: 8px; }
  .trace { display: none; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature .phone, .feature.flip .phone { order: 0; width: min(280px, 80%); margin: 0 auto; }
  .who dl div, .training, .placement, .about, .contact-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hero h1, .js .lead, .js .store, .js .hero-note, .js .hero-phone, .js .hero-phone .phone, .js .trace .pulse { animation: none; }
  .js .trace .pulse { stroke-dasharray: none; stroke-dashoffset: 0; opacity: .5; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .progress { display: none; }
}
