/* Je-Mech Engineers | v2 stylesheet. Mobile first. Breakpoints: 700, 960, 1040 */

@font-face {
  font-family: "Unbounded"; font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("../fonts/unbounded-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}
@font-face {
  font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url("../fonts/figtree-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  /* Je-Mech brand palette, sampled from the logo */
  --blue: #009adc;        /* logo blue */
  --blue-dark: #006a9c;   /* blue for text/links on light backgrounds (AA contrast) */
  --blue-light: #72c9ea;  /* logo bubbles */
  --blue-tint: #e4f4fb;
  --grey: #5c5757;        /* logo gear */
  --ink: #12425d;         /* deep logo blue: headings, dark sections, buttons (replaces black) */
  --on-blue: #06283a;     /* text on the bright logo blue (contrast) */
  --ink-2: #1a5578;
  --steel: #5c5757;
  --line: #dbe1e5;
  --chalk: #f2f6f8;
  --chalk-2: #e5edf1;
  --white: #ffffff;
  --cut: clamp(22px, 4.2vw, 64px);
  --font-head: "Unbounded", "Arial Black", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  color: var(--ink); background: var(--chalk); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 999px; }
.skip:focus { left: 8px; }
.ic { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

h1, h2, h3, h4 { margin: 0 0 0.6em; line-height: 1.12; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.025em; }
h1 { font-size: clamp(1.85rem, 5.2vw + 0.4rem, 4rem); line-height: 1.04; }
h2 { font-size: clamp(1.45rem, 2.8vw + 0.6rem, 2.5rem); line-height: 1.1; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; max-width: 68ch; }
.lead { font-size: clamp(1.1rem, 1vw + 0.9rem, 1.35rem); color: var(--steel); max-width: 56ch; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 960px) { .wrap { padding: 0 32px; } }
.section { padding: clamp(56px, 8vw, 112px) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 32px; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head p { margin: 0; color: var(--steel); }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }

/* dots */
.dot { display: inline-block; width: 0.8em; height: 0.8em; border-radius: 50%; background: var(--c, var(--blue)); box-shadow: inset 0 0 0 1px rgba(18,66,93,.18); flex: none; margin-right: 0.55em; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; padding: 0.95em 1.7em;
  border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s; font-family: var(--font-body);
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-accent { background: var(--blue); color: var(--on-blue); }
.btn-accent:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--chalk-2); color: var(--ink); }
.btn-wa { background: var(--blue-tint); color: var(--ink); }
.btn-wa:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 0.75em 1.3em; font-size: 0.95rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 90; padding: 10px 12px 0; }
.nav-shell {
  max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 10px 8px 18px; border-radius: 999px; border: 1px solid rgba(18,66,93,.08);
  background: rgba(255,255,255,.84); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
}
.logo img { height: 44px; width: auto; }
.nav-desktop { display: none; }
.nav-desktop ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav-desktop a, .mega-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 14px; border-radius: 999px; font-size: 0.97rem; font-weight: 600;
  color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav-desktop a:hover, .mega-btn:hover, .has-mega.is-current > .mega-btn { background: var(--chalk-2); }
.nav-desktop a[aria-current="page"] { background: var(--ink); color: #fff; }
.mega-btn .ic { width: 1em; height: 1em; transition: transform .2s; }
.has-mega.open .mega-btn .ic { transform: rotate(180deg); }
.has-mega { position: relative; }
.mega {
  display: none; position: absolute; top: calc(100% + 16px); left: -40px; width: 620px; padding: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 26px; gap: 12px;
  grid-template-columns: 250px 1fr; box-shadow: 0 30px 60px -30px rgba(18,66,93,.4);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.has-mega.open .mega, .has-mega:hover .mega, .has-mega:focus-within .mega { display: grid; }
.nav-desktop .mega-main { display: grid; gap: 8px; align-content: start; }
.nav-desktop .mega-main a {
  display: flex; flex-direction: column; align-items: flex-start; gap: 3px; border-radius: 18px; padding: 14px 16px;
  background: var(--chalk); white-space: normal;
}
.nav-desktop .mega-main a:hover { background: var(--ink); color: #fff; }
.mega-main strong { font-size: 0.98rem; line-height: 1.25; }
.mega-main span { font-weight: 400; font-size: 0.85rem; line-height: 1.35; color: var(--steel); }
.nav-desktop .mega-main a:hover span { color: #b9ccd8; }
.mega-side { padding: 6px 4px 6px 8px; }
.mega-title { margin: 6px 12px 8px; font-weight: 700; font-size: 0.9rem; color: var(--steel); }
.nav-desktop .mega-list { display: grid; gap: 0; padding: 0; margin: 0; }
.nav-desktop .mega-list li { display: block; }
.nav-desktop .mega-list a { display: flex; align-items: center; width: 100%; padding: 10px 12px; font-weight: 600; font-size: 0.95rem; border-radius: 12px; white-space: nowrap; }
.nav-desktop .mega-list a .dot { margin-right: 10px; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; color: var(--ink); text-decoration: none; padding: 0 8px; }
.nav-phone:hover { color: var(--blue-dark); }
.nav-actions .btn-primary { display: none; }
.menu-btn { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 11px 22px; font-weight: 700; cursor: pointer; }
@media (min-width: 700px) { .nav-actions .btn-primary { display: inline-flex; } }
@media (min-width: 1040px) {
  .nav-desktop { display: block; }
  .nav-phone { display: inline-flex; }
  .menu-btn { display: none; }
  .logo img { height: 50px; }
}

/* mobile sheet */
.sheet { position: fixed; inset: 0; z-index: 200; background: var(--ink); color: #fff; overflow-y: auto; padding: 14px 20px calc(24px + env(safe-area-inset-bottom)); }
.sheet:not([hidden]) { display: flex; flex-direction: column; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; padding: 6px 0 18px; }
.sheet-top .logo { background: #fff; border-radius: 14px; padding: 6px 12px; }
::selection { background: var(--blue-light); color: var(--on-blue); }
.sheet-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; }
.sheet-close .ic { width: 22px; height: 22px; }
.sheet-list, .sheet-sub { list-style: none; margin: 0; padding: 0; }
.sheet-list > li { border-bottom: 1px solid rgba(255,255,255,.12); }
.sheet-list a, .sheet-sub-btn {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 2px; background: none; border: 0;
  color: #fff; text-decoration: none; font-family: var(--font-head); font-weight: 500; font-size: 1.35rem; text-align: left; cursor: pointer;
}
.sheet-list a[aria-current="page"] { color: #72c9ea; }
.sheet-sub { padding: 0 0 12px 8px; }
.sheet-sub li a { font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; padding: 11px 2px; }
.sheet-sub li.deep a { font-weight: 400; font-size: 1rem; padding-left: 14px; color: #cfdde6; justify-content: flex-start; }
.sheet-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 10px; }
body.lock { overflow: hidden; }

/* mobile quick contact bar */
.action-bar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 80; display: grid;
  grid-template-columns: 1fr 1fr 1.3fr; gap: 6px; padding: 6px; border-radius: 999px; background: rgba(18,66,93,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.action-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 8px; border-radius: 999px; color: #fff; font-weight: 700; font-size: 0.95rem; text-decoration: none; }
.action-bar a.primary { background: var(--blue); color: var(--on-blue); }
body { padding-bottom: 84px; }
@media (min-width: 960px) { .action-bar { display: none; } body { padding-bottom: 0; } }

/* ---------------------------------------------------------------- hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(20px, 3vw, 40px); }
.hero-grid { display: grid; gap: 26px; grid-template-areas: "copy" "scene" "chips"; }
.hero-copy { grid-area: copy; }
.scene-wrap { grid-area: scene; }
.hero-chips { grid-area: chips; }
.hero h1 { font-size: clamp(1.85rem, 3.6vw + 0.5rem, 3.15rem); max-width: 16ch; margin-bottom: 0.5em; }
.hero .lead { margin-bottom: 26px; max-width: 46ch; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px 7px 12px; font-weight: 700; font-size: 0.92rem; }
.chips li.since { background: var(--ink); color: #fff; border-color: var(--ink); padding-left: 16px; }
.chips .dot { margin-right: 8px; }
.chips-label { margin: 0 0 10px; font-weight: 600; font-size: 0.92rem; color: var(--steel); }
.scene { position: relative; background: var(--ink); border-radius: 32px; overflow: hidden; }
#scene { display: block; width: 100%; height: clamp(360px, 92vw, 400px); touch-action: pan-y; }
.scene-labels { list-style: none; margin: 0; padding: 0; }
.scene-labels li { position: absolute; font-weight: 700; font-size: 0.8rem; color: #fff; background: rgba(255,255,255,.14); border-radius: 999px; padding: 5px 12px; pointer-events: none; white-space: nowrap; }
.scene-labels .l-scrap { left: 14px; top: 14px; }
.scene-labels .l-blade { right: 14px; top: 29%; background: var(--blue); color: var(--on-blue); }
.scene-labels .l-grain { left: 14px; top: 56%; }
.scene-hint { margin: 10px 4px 0; font-size: 0.85rem; color: var(--steel); }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.02fr 1fr; grid-template-rows: auto 1fr; gap: 28px 56px; grid-template-areas: "copy scene" "chips scene"; align-items: start; }
  .hero-chips { align-self: end; }
  #scene { height: 500px; }
  .scene-labels li { font-size: 0.86rem; }
}
@media (min-width: 700px) and (max-width: 959px) { #scene { height: 460px; } }

/* dark band with blade-edge cuts */
.band { background: var(--ink); color: #fff; clip-path: polygon(0 var(--cut), 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding: calc(var(--cut) + clamp(48px, 7vw, 96px)) 0; }
.band-light { background: var(--chalk-2); color: var(--ink); }
.band h2 { color: #fff; }
.band .lead, .band p { color: #cfdde6; }
.vm { display: grid; gap: 36px; }
.vm article { border-top: 3px solid var(--c, var(--blue)); padding-top: 20px; }
.vm h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.1rem; color: #fff; margin-bottom: 0.8em; }
@media (min-width: 800px) { .vm { grid-template-columns: 1fr 1fr; gap: 56px; } }
.stats { display: grid; gap: 28px 20px; grid-template-columns: 1fr 1fr; }
.stat strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1; color: var(--ink); letter-spacing: -0.03em; }
.stat strong span { display: inline; margin: 0; font-size: inherit; color: inherit; }
.stat > span { display: block; margin-top: 10px; color: var(--steel); font-size: 0.98rem; max-width: 24ch; }
@media (min-width: 800px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats-strip { padding: clamp(28px, 4vw, 48px) 0 clamp(8px, 2vw, 24px); }
.stats-strip .stats { border-top: 2px solid var(--ink); padding-top: clamp(24px, 3.5vw, 40px); }

/* facts + who we are */
.about-grid { display: grid; gap: 36px; }
.about-grid h2 { margin-bottom: 0.7em; }
.facts { margin: 0; display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 28px; padding: 6px 24px; align-self: start; }
.facts div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: 0.88rem; font-weight: 600; color: var(--steel); }
.facts dd { margin: 0; font-weight: 700; font-size: 1.1rem; }
@media (min-width: 960px) { .about-grid { grid-template-columns: 1.3fr 1fr; gap: 72px; } .facts div { grid-template-columns: 9.5rem 1fr; gap: 16px; align-items: baseline; } }

/* ---------------------------------------------------------------- what we do */
.do-grid { display: grid; gap: 14px; }
.do-card { background: #fff; border: 1px solid var(--line); border-radius: 30px; overflow: hidden; display: flex; flex-direction: column; }
.do-photo { display: block; aspect-ratio: 16 / 10; background: var(--chalk-2); overflow: hidden; }
.do-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.do-card:hover .do-photo img { transform: scale(1.04); }
.do-body { padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; flex: 1; }
.do-body h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.25rem, 1.4vw + 0.7rem, 1.6rem); letter-spacing: -0.02em; line-height: 1.12; margin-bottom: 0.5em; }
.do-body p { color: var(--steel); }
.do-body .btn { align-self: flex-start; margin-top: auto; }
.varieties { list-style: none; margin: 4px 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.varieties a { display: inline-flex; align-items: center; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--chalk); text-decoration: none; font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.varieties a:hover { background: var(--ink); color: #fff; }
.do-job { background: var(--ink); border-color: var(--ink); color: #fff; }
.do-job .do-body p, .do-job .job-list dd { color: #cfdde6; }
.job-list { margin: 8px 0 26px; display: grid; gap: 16px; }
.job-list div { border-top: 1px solid #2b5d7b; padding-top: 14px; }
.job-list dt { font-weight: 800; font-size: 1.05rem; margin-bottom: 2px; }
.job-list dd { margin: 0; font-size: 0.97rem; }
@media (min-width: 700px) { .do-grid { grid-template-columns: 1fr 1fr; } .do-job { grid-column: span 2; } .job-list { grid-template-columns: 1fr 1fr; gap: 16px 32px; } }
@media (min-width: 1040px) { .do-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; } .do-job { grid-column: auto; } .job-list { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- history timeline (About page) */
.tl { display: grid; gap: 28px; }
.tl-rail { display: none; }
.tl-list { list-style: none; margin: 0; padding: 0; position: relative; --p: 0%; }
.tl-list::before, .tl-list::after { content: ""; position: absolute; left: 10px; top: 14px; width: 3px; border-radius: 2px; }
.tl-list::before { bottom: 14px; background: var(--line); }
.tl-list::after { height: calc(var(--p) - 14px); max-height: calc(100% - 28px); background: var(--ink); }
.tl-item { position: relative; padding: 0 0 clamp(44px, 7vw, 88px) 46px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: 0; top: 14px; width: 23px; height: 23px; border-radius: 50%; background: var(--c); border: 4px solid var(--chalk); box-sizing: border-box; z-index: 1; box-shadow: 0 0 0 2px var(--ink); }
.tl-year { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(3rem, 9vw, 6rem); line-height: 1; letter-spacing: -0.05em; }
.tl-year::after { content: ""; display: block; width: 72px; height: 7px; border-radius: 4px; background: var(--c); margin-top: 14px; }
.tl-item h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin: 22px 0 10px; }
.tl-item p { color: #34495a; max-width: 62ch; }
.tl-tags { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tl-tags li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.88rem; font-weight: 600; color: var(--steel); }
@media (min-width: 960px) {
  .tl { grid-template-columns: 200px 1fr; gap: 72px; }
  .tl-rail { display: grid; gap: 4px; position: sticky; top: 110px; align-self: start; }
  .tl-rail a { font-family: var(--font-head); font-weight: 500; font-size: 1.25rem; padding: 12px 18px; border-radius: 16px; color: var(--steel); text-decoration: none; transition: background .15s, color .15s; }
  .tl-rail a:hover { background: var(--chalk-2); color: var(--ink); }
  .tl-rail a[aria-current="true"] { background: var(--ink); color: #fff; }
  .tl-item { padding-left: 60px; }
  .tl-list::before, .tl-list::after { left: 10px; }
}

/* ---------------------------------------------------------------- clients */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; animation: slide 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-50% - 7px)); } }
.logo-tile { flex: none; width: 168px; height: 92px; background: #fff; border: 1px solid var(--line); border-radius: 20px; display: grid; place-items: center; padding: 14px; }
.logo-tile img { max-height: 100%; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logo-tile:hover img { filter: none; opacity: 1; }
.logo-grid { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.logo-grid .logo-tile { width: auto; height: 110px; }
@media (min-width: 700px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .logo-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } .logo-grid .logo-tile { height: 128px; } }

/* ---------------------------------------------------------------- gallery */
.mosaic, .gallery { display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; grid-auto-flow: dense; }
.g-item { padding: 0; border: 0; background: var(--chalk-2); border-radius: 22px; overflow: hidden; cursor: zoom-in; display: block; width: 100%; height: 100%; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.g-item:hover img { transform: scale(1.06); }
.g-item[hidden] { display: none; }
.mosaic .g-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery .g-item:nth-child(5n+1) { grid-row: span 2; }
.gallery .g-item:nth-child(7n+4) { grid-column: span 2; }
@media (min-width: 700px) { .mosaic, .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; } }
@media (min-width: 960px) { .mosaic, .gallery { grid-auto-rows: 230px; } }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filters button { border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 0.95rem; cursor: pointer; }
.filters button:hover { background: var(--chalk-2); }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.result-count { color: var(--steel); font-size: 0.95rem; margin: -10px 0 22px; }

dialog.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
dialog.lightbox::backdrop { background: rgba(6,11,14,.94); }
.lb-inner { height: 100%; display: grid; grid-template-rows: auto 1fr; padding: 14px; color: #fff; }
.lb-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lb-bar span { font-weight: 600; }
.lb-stage { display: grid; place-items: center; min-height: 0; position: relative; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; border-radius: 18px; }
.lb-btn { background: #fff; color: var(--ink); border: 0; border-radius: 999px; width: 46px; height: 46px; display: grid; place-items: center; cursor: pointer; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 4px; } .lb-next { right: 4px; }

/* ---------------------------------------------------------------- faq */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 22px; margin-bottom: 10px; }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 22px; font-weight: 700; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { width: 22px; height: 22px; transition: transform .2s; color: var(--blue-dark); }
.faq details[open] summary .ic { transform: rotate(45deg); }
.faq details[open] { border-color: var(--ink); }
.faq .answer { padding: 0 22px 22px; color: var(--steel); }
.faq .answer p { margin: 0; max-width: 70ch; color: #34495a; }
.faq-layout { display: grid; gap: 28px; }
.faq-index { display: flex; flex-wrap: wrap; gap: 8px; }
.faq-index a { padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 0.93rem; color: var(--ink); }
.faq-index a:hover { background: var(--ink); color: #fff; }
.faq-group { margin-bottom: 44px; }
.faq-group h2 { font-size: clamp(1.25rem, 2vw + 0.6rem, 1.8rem); margin-bottom: 18px; }
.updated { color: var(--steel); font-size: 0.92rem; margin-top: 8px; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: 250px 1fr; gap: 56px; }
  .faq-index { position: sticky; top: 110px; flex-direction: column; align-self: start; }
  .faq-index a { border-radius: 14px; }
}

/* ---------------------------------------------------------------- inner pages */
.page-hero { padding: clamp(32px, 5vw, 64px) 0 clamp(20px, 3vw, 40px); }
.crumb-bar { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 10px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 14px 0; font-size: 0.9rem; color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #a09b9b; }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--ink); }
.page-hero h1 { max-width: 20ch; margin-bottom: 0.4em; font-size: clamp(1.75rem, 4.6vw + 0.3rem, 3.4rem); }
.page-hero .lead { margin-bottom: 0; }

.prose p { color: #34495a; }
.prose h2 { margin-top: 1.5em; }
.two-col { display: grid; gap: 36px; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; } .two-col.center { align-items: center; } }
.photo-frame { border-radius: 30px; overflow: hidden; background: var(--chalk-2); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.ticks .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--blue); color: #fff; margin-top: 1px; stroke-width: 3; }

.trio { display: grid; gap: 12px; margin-top: 36px; }
.trio .photo-frame { border-radius: 24px; }
@media (min-width: 700px) { .trio { grid-template-columns: repeat(3, 1fr); } }
.quote-block { border-left: 5px solid var(--blue); padding: 6px 0 6px 22px; margin: 28px 0; }
.quote-block p { margin: 0; font-weight: 600; font-size: 1.1rem; max-width: 60ch; }

/* granule cards */
.pgrid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pgrid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .pgrid { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.pcard { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .15s; }
.pcard:hover { border-color: var(--ink); }
.pcard[hidden] { display: none; }
.pcard .ph { aspect-ratio: 4 / 3; background: var(--chalk-2); overflow: hidden; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pcard:hover .ph img { transform: scale(1.05); }
.pcard .pb { padding: 20px 22px 24px; }
.pcard h3 { display: flex; align-items: center; margin-bottom: 12px; font-size: 1.2rem; }
.pcard h3 a { color: var(--ink); text-decoration: none; }
.pcard h3 a::after { content: ""; position: absolute; inset: 0; }
.pcard ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pcard li { background: var(--chalk); border-radius: 999px; padding: 4px 12px; font-size: 0.85rem; font-weight: 600; color: var(--steel); }

/* product page */
.pdp { display: grid; gap: 32px; }
.pdp-photo { position: relative; border-radius: 30px; overflow: hidden; background: var(--chalk-2); }
.pdp-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.pdp-photo .badge { position: absolute; left: 16px; top: 16px; background: #fff; border-radius: 999px; padding: 8px 16px 8px 12px; font-weight: 700; font-size: 0.9rem; display: inline-flex; align-items: center; }
.pdp h2.sub { font-size: 1.1rem; font-family: var(--font-body); font-weight: 800; letter-spacing: 0; margin: 30px 0 12px; }
.spec { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.spec div { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 12px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.spec div:last-child { border-bottom: 0; }
.spec dt { font-weight: 700; color: var(--steel); font-size: 0.95rem; }
.spec dd { margin: 0; font-weight: 600; }
@media (min-width: 960px) { .pdp { grid-template-columns: 0.95fr 1.05fr; gap: 64px; align-items: start; } .pdp-photo { position: sticky; top: 100px; } }
.rail { list-style: none; margin: 0; padding: 4px 20px 18px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; }
.rail li { flex: 0 0 min(70vw, 250px); scroll-snap-align: start; }
@media (min-width: 960px) { .rail { margin-inline: 0; padding-inline: 0; } }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.15fr 0.85fr; gap: 40px; align-items: start; } }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: clamp(22px, 4vw, 40px); }
.form-card h2 { font-size: clamp(1.3rem, 2vw + 0.6rem, 1.9rem); }
.field { margin-bottom: 18px; }
.field label, .field legend { display: block; font-weight: 700; margin-bottom: 8px; padding: 0; font-size: 0.97rem; }
.req { color: #b42318; font-weight: 800; }
.opt { font-weight: 500; color: var(--steel); font-size: 0.9em; }
.field-error { margin: 7px 0 0; color: #b42318; font-size: 0.9rem; font-weight: 600; }
.field-error[hidden] { display: none; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; font: inherit; padding: 14px 16px; border: 1.5px solid #b9b5b5; border-radius: 14px; background: var(--chalk); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 0; border-color: var(--blue); background: #fff; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b42318; background: #fff7f6; }
.field input[aria-invalid="true"]:focus, .field textarea[aria-invalid="true"]:focus { outline-color: #b42318; border-color: #b42318; }
fieldset.field { border: 0; padding: 0; margin: 0 0 18px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { margin: 0; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: inline-block; padding: 10px 18px; border: 1.5px solid #b9b5b5; border-radius: 999px; font-weight: 700; font-size: 0.95rem; background: var(--chalk); }
.choice input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.choice input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 16px 0 0; padding: 14px 18px; border-radius: 16px; background: var(--blue-tint); border: 1px solid #9ad6ef; font-weight: 600; }
.form-note.err { background: #fdeaea; border-color: #eba3a3; }
.form-note[hidden] { display: none; }
.methods { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.methods a, .methods .m { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 24px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.methods a:hover { border-color: var(--ink); }
.methods .ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--chalk-2); flex: none; }
.methods .ico.wa { background: var(--blue-tint); color: var(--ink); }
.methods strong { display: block; font-size: 0.88rem; color: var(--steel); font-weight: 600; }
.methods span.v { font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.map { margin-top: 28px; border-radius: 30px; overflow: hidden; border: 1px solid var(--line); background: var(--chalk-2); }
.map iframe { display: block; width: 100%; height: clamp(300px, 45vw, 440px); border: 0; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: var(--ink); color: #b9ccd8; margin-top: clamp(24px, 4vw, 56px); }
.foot-cta { background: var(--blue); color: #fff; clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), 0 100%); padding: clamp(48px, 7vw, 88px) 0 calc(var(--cut) + clamp(28px, 4vw, 48px)); }
.foot-cta-inner { display: grid; gap: 26px; align-items: center; }
.foot-cta h2 { color: #fff; margin: 0; max-width: 24ch; font-size: clamp(1.4rem, 2.6vw + 0.6rem, 2.4rem); }
@media (min-width: 960px) { .foot-cta-inner { grid-template-columns: 1.4fr auto; gap: 48px; } }
.foot-grid { display: grid; gap: 36px; padding-top: clamp(32px, 5vw, 56px); padding-bottom: 8px; }
@media (min-width: 700px) { .foot-grid { grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 40px; } }
.site-footer h3 { color: #fff; font-family: var(--font-head); font-size: 1rem; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 16px; }
.site-footer a { color: #e5edf1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer a.btn { text-decoration: none; }
.site-footer a.btn-primary { color: #fff; }
.site-footer a.btn-primary:hover { background: #fff; color: var(--ink); }
.site-footer a.btn-wa { color: var(--ink); }
.site-footer a.btn-wa:hover { background: var(--ink); color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer li.sub a { color: #a6bccb; font-size: 0.95rem; padding-left: 14px; }
.site-footer address { font-style: normal; display: grid; gap: 14px; }
.f-line { display: flex; align-items: flex-start; gap: 12px; line-height: 1.5; }
.f-line .ic { width: 38px; height: 38px; padding: 9px; border-radius: 50%; background: rgba(255,255,255,.1); color: var(--blue-light); margin-top: -4px; }
.f-line:hover .ic { background: var(--blue); color: #fff; }
.foot-logo { display: inline-block; background: #fff; border-radius: 14px; padding: 8px 14px; margin-bottom: 16px; }
.foot-logo img { height: 46px; width: auto; }
.legal { margin-top: 40px; border-top: 1px solid #2b5d7b; padding: 20px 0 24px; font-size: 0.92rem; }
.legal .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* legal pages */
.legal-layout { display: grid; gap: 28px; }
.toc { display: none; }
.legal-doc h2 { font-size: clamp(1.15rem, 1.2vw + 0.8rem, 1.5rem); margin: 2.2em 0 0.6em; scroll-margin-top: 110px; letter-spacing: -0.02em; }
.legal-doc h2:first-child { margin-top: 0; }
.legal-doc p, .legal-doc li { color: #34495a; max-width: 72ch; }
.legal-doc ul { padding-left: 1.2em; margin: 0 0 1em; display: grid; gap: 6px; }
.legal-doc li::marker { color: var(--blue-dark); }
.legal-note { background: var(--blue-tint); border-left: 5px solid var(--blue); border-radius: 0 18px 18px 0; padding: 16px 20px; margin: 0 0 32px; max-width: 72ch; }
.legal-note p { margin: 0; }
@media (min-width: 960px) {
  .legal-layout { grid-template-columns: 250px 1fr; gap: 64px; }
  .toc { display: block; position: sticky; top: 110px; align-self: start; }
  .toc p { margin: 0 0 10px 12px; font-weight: 700; font-size: 0.9rem; color: var(--steel); }
  .toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: t; }
  .toc a { display: block; padding: 8px 12px; border-radius: 12px; font-size: 0.93rem; font-weight: 600; text-decoration: none; color: var(--ink); }
  .toc a:hover { background: var(--chalk-2); }
}
.consent { font-size: 0.88rem; color: var(--steel); margin: 4px 0 18px; }
.legal-links { display: inline-flex; gap: 18px; margin-left: 20px; }

/* 404 + sitemap */
.center-page { text-align: left; padding: clamp(60px, 10vw, 140px) 0; }
.sitemap-list, .sitemap-list ul { list-style: none; margin: 0; padding: 0; }
.sitemap-list > li { margin-bottom: 14px; font-weight: 700; }
.sitemap-list ul { padding-left: 18px; margin-top: 8px; font-weight: 500; display: grid; gap: 6px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .marquee-track { width: auto; flex-wrap: wrap; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/*@media only screen and (max-width: 600px) {*/
/*.legal .wrap{*/
/*    display: flex!important;*/
/*    flex-wrap: nowrap!important;*/
/*    gap: 8px 24px;*/
/*}*/
/*}*/

