/* Texnografima — v2
   Palette taken from the press sheet: process inks + brand teal. */
:root {
  --paper: #ffffff;
  --sheet: #f1f4f4;
  --ink: #16191b;
  --ink-soft: #4b5559;
  --rule: #d9e0e1;
  --teal: #008c99;
  --teal-deep: #003c43;
  --teal-night: #002a30;
  --cyan: #00a0d2;
  --magenta: #e5007d;
  --yellow: #ffd200;
  --key: #16191b;

  --radius-s: 4px;
  --radius-m: 10px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: "Commissioner", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--magenta); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type scale (1.25 ratio) ---------- */
h1, h2, h3 { font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.t-display { font-size: clamp(2.4rem, 5.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
.t-h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.t-h3 { font-size: 1.35rem; }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-soft); max-width: 60ch; }
p { max-width: 68ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px; border-radius: var(--radius-s);
  font: 600 1rem/1 var(--font); border: 2px solid transparent;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn-ink { background: var(--magenta); color: #fff; }
.btn-ink:hover { background: #c4006b; }
.btn-line { border-color: currentColor; }
.btn-line:hover { background: #fff; color: var(--teal-deep); border-color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--teal-deep); }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--teal-night); color: #cfe3e5; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.topbar a:hover { color: #fff; }
.topbar .contact { display: flex; gap: 24px; flex-wrap: wrap; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.logo img { height: 58px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-weight: 500; }
.nav > a, .nav .drop > button { position: relative; padding: 6px 0; }
.nav > a::after, .nav .drop > button::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--teal); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav > a:hover::after, .nav > a[aria-current]::after, .nav .drop.is-current > button::after { transform: scaleX(1); }
.nav .btn { padding: 11px 20px; }
.nav .btn::after { display: none; }
.drop { position: relative; }
.drop > button { background: none; border: 0; font: inherit; color: inherit; cursor: pointer; display: flex; gap: 6px; align-items: center; }
.drop > button svg { width: 10px; transition: transform .2s; }
.drop-menu {
  position: absolute; top: calc(100% + 12px); left: -20px; min-width: 260px;
  background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-m);
  padding: 8px; box-shadow: 0 18px 40px -18px rgba(0,42,48,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s;
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu, .drop.open .drop-menu { opacity: 1; visibility: visible; transform: none; }
.drop:hover > button svg, .drop.open > button svg { transform: rotate(180deg); }
.drop-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 6px; }
.drop-menu a:hover { background: var(--sheet); }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: .2s; }

/* ink patch — the little process-colour square used as a marker */
.patch { width: 12px; height: 12px; border-radius: 2px; flex: none; display: inline-block; }
.p-c { background: var(--cyan); } .p-m { background: var(--magenta); }
.p-y { background: var(--yellow); } .p-k { background: var(--key); } .p-t { background: var(--teal); }

/* ---------- Crop marks (corner registration) ---------- */
.cropped { position: relative; }
.cropped > .mark { position: absolute; width: 22px; height: 22px; pointer-events: none; z-index: 3; }
.mark::before, .mark::after { content: ""; position: absolute; background: currentColor; }
.mark::before { width: 22px; height: 1px; } .mark::after { width: 1px; height: 22px; }
.mark.tl { top: 14px; left: 14px; } .mark.tl::before { top: 0; left: 0; } .mark.tl::after { top: 0; left: 0; }
.mark.tr { top: 14px; right: 14px; } .mark.tr::before { top: 0; right: 0; } .mark.tr::after { top: 0; right: 0; }
.mark.bl { bottom: 14px; left: 14px; } .mark.bl::before { bottom: 0; left: 0; } .mark.bl::after { bottom: 0; left: 0; }
.mark.br { bottom: 14px; right: 14px; } .mark.br::before { bottom: 0; right: 0; } .mark.br::after { bottom: 0; right: 0; }

/* ---------- HERO slideshow ---------- */
.hero {
  color: #fff; background: var(--teal-deep);
  min-height: min(calc(100svh - 116px), 760px);
  display: grid; overflow: hidden; isolation: isolate;
}
.hero .mark { color: rgba(255,255,255,.55); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg video, .hero-bg .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,42,48,.92) 0%, rgba(0,42,48,.7) 45%, rgba(0,42,48,.15) 100%); }
.hero-bg .photo { background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.2s ease, transform 7s linear; }
.hero-bg .photo.on { opacity: 1; transform: scale(1); }
/* halftone dot texture, only when no photo/video is used */
.hero:not(.has-media) .hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.6px);
  background-size: 14px 14px;
  mask-image: linear-gradient(100deg, transparent 30%, #000 85%);
}
.hero:not(.has-media) .hero-bg::after { display: none; }

.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.hero-tag { display: flex; align-items: center; gap: 10px; font-size: 1rem; font-weight: 500; color: #bfe0e3; margin-bottom: 22px; }
.hero h1.hero-tag { letter-spacing: 0; line-height: 1.4; }

.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s .6s; }
.slide.on { opacity: 1; visibility: visible; transition: opacity .6s ease .15s, visibility 0s; }
.slide .t-display { margin-bottom: 22px; max-width: 14ch; }
.slide p { font-size: 1.15rem; color: #d6eaec; max-width: 44ch; margin-bottom: 32px; }
.slide .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.slide .t-display, .slide p, .slide .actions { transform: translateY(14px); transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.slide.on .t-display { transform: none; transition-delay: .1s; }
.slide.on p { transform: none; transition-delay: .18s; }
.slide.on .actions { transform: none; transition-delay: .26s; }

/* art stage */
.art { position: relative; display: grid; aspect-ratio: 6 / 5; width: 100%; max-width: 580px; justify-self: end; }
.hero.has-media .art { display: none; }
.art svg { grid-area: 1 / 1; width: 100%; height: 100%; opacity: 0; transform: translateX(30px) scale(.97); transition: opacity .7s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.art svg.on { opacity: 1; transform: none; }

/* colour-bar indicator */
.colorbar { display: flex; align-items: center; gap: 18px; margin-top: 44px; }
.colorbar ol { display: flex; gap: 6px; list-style: none; }
.colorbar button {
  position: relative; width: 54px; height: 22px; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden;
}
.colorbar button i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--c); }
.colorbar button.done i { transform: scaleX(1); opacity: .45; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.colorbar button.on i { opacity: 1; animation: fill var(--dur, 6.5s) linear forwards; }
.hero.paused .colorbar button.on i { animation-play-state: paused; }
.colorbar .label { font-size: .9rem; color: #bfe0e3; min-width: 13ch; }
.colorbar .pause { background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.colorbar .pause:hover { border-color: #fff; }
.colorbar .pause svg { width: 12px; height: 12px; }

/* SVG scene motion (only for the active scene) */
@keyframes feed { 0% { transform: translate(-120px, 30px) rotate(-8deg); opacity: 0; } 25%,100% { transform: none; opacity: 1; } }
@keyframes bob { 50% { transform: translateY(-8px); } }
@keyframes web { to { transform: translateX(-520px); } }
@keyframes spin { to { transform: rotate(-360deg); } }
.art svg.on .feed { animation: feed 1.1s cubic-bezier(.2,.7,.2,1) both; }
.art svg.on .feed.d2 { animation-delay: .25s; }
.art svg.on .feed.d3 { animation-delay: .5s; }
.art svg.on .bob { animation: bob 5s ease-in-out infinite; }
.art svg.on .web { animation: web 12.8s linear infinite; }
.art svg.on .roll { animation: spin 12.8s linear infinite; transform-box: fill-box; transform-origin: center; }
.fan g.card { transform-box: view-box; transform-origin: 170px 430px; transition: transform 1s cubic-bezier(.2,.7,.2,1); }
.art svg.on.fan g.card:nth-of-type(1) { transform: rotate(-24deg); }
.art svg.on.fan g.card:nth-of-type(2) { transform: rotate(-12deg); transition-delay: .08s; }
.art svg.on.fan g.card:nth-of-type(3) { transform: rotate(0deg); transition-delay: .16s; }
.art svg.on.fan g.card:nth-of-type(4) { transform: rotate(12deg); transition-delay: .24s; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section.alt { background: var(--sheet); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.section-head .lead { margin: 0; }

/* job-ticket spec strip */
.ticket { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: repeat(4, 1fr); }
.ticket div { padding: 22px 24px 24px 0; }
.ticket div + div { padding-left: 24px; border-left: 1px solid var(--rule); }
.ticket dt { font-size: .88rem; color: var(--ink-soft); margin-bottom: 6px; display: flex; gap: 8px; align-items: center; }
.ticket dd { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.ticket dd small { display: block; font-size: .95rem; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); margin-top: 4px; }

/* services index */
.svc-list { border-top: 1px solid var(--ink); }
.svc-row {
  display: grid; grid-template-columns: 28px minmax(0, 1.1fr) minmax(0, 1.4fr) 140px; gap: 24px; align-items: center;
  padding: 28px 0; border-bottom: 1px solid var(--rule); position: relative;
}
.svc-row h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); letter-spacing: -0.025em; transition: color .2s; }
.svc-row p { color: var(--ink-soft); }
.svc-row .go { justify-self: end; font-weight: 600; color: var(--teal); display: flex; gap: 8px; align-items: center; }
.svc-row .go svg { width: 18px; transition: transform .2s; }
.svc-row .patch { width: 18px; height: 18px; }
.svc-row:hover h3 { color: var(--teal); }
.svc-row:hover .go svg { transform: translateX(4px); }
.svc-row a.go { position: static; }
.svc-row a.go::before { content: ""; position: absolute; inset: 0; z-index: 1; }

/* reasons */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.reasons h3 { font-size: 1.2rem; margin: 18px 0 8px; }
.reasons p { color: var(--ink-soft); font-size: 1rem; }
.reasons .patch { width: 28px; height: 6px; border-radius: 1px; }

/* offer band */
.offer { background: var(--magenta); color: #fff; }
.offer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: 44px; padding-bottom: 44px; }
.offer-text { display: flex; align-items: baseline; gap: 12px 28px; flex-wrap: wrap; }
.offer-text span { font-size: 1.05rem; opacity: .9; }
.offer-text strong { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.offer .btn { background: #fff; color: var(--magenta); }
.offer .btn:hover { background: var(--ink); color: #fff; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.gallery figure { position: relative; border-radius: var(--radius-m); overflow: hidden; background: var(--sheet); aspect-ratio: 4 / 3; }
.gallery figure:first-child { grid-row: span 2; aspect-ratio: auto; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: #fff; padding: 6px 12px; border-radius: var(--radius-s); font-weight: 600; font-size: .95rem; }

/* CTA */
.cta { background: var(--teal-deep); color: #fff; }
.cta .mark { color: rgba(255,255,255,.4); }
.cta .wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px 64px; align-items: center; padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(64px, 8vw, 104px); }
.cta p { color: #cfe3e5; font-size: 1.15rem; margin-top: 16px; }
.cta .actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }

/* ---------- Inner pages ---------- */
.page-head { background: var(--teal-deep); color: #fff; overflow: hidden; }
.page-head .mark { color: rgba(255,255,255,.45); }
.page-head .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; padding-top: clamp(48px, 7vw, 88px); padding-bottom: clamp(48px, 7vw, 88px); }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: #a9d0d4; margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a { text-decoration: underline; text-underline-offset: 3px; }
.crumbs a:hover { color: #fff; }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; margin-bottom: 18px; }
.page-head p { font-size: 1.2rem; color: #d6eaec; max-width: 46ch; }
.page-head .head-art { justify-self: end; width: 100%; max-width: 440px; }
.page-head .head-art img { width: 100%; border-radius: var(--radius-m); box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }

.intro { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.intro .t-h2 { margin-bottom: 20px; }
.intro p + p { margin-top: 16px; }
.intro .btn { margin-top: 28px; }

.spec { background: var(--sheet); border-radius: var(--radius-m); padding: 32px; border-top: 4px solid var(--teal); }
.spec h3 { font-size: 1.15rem; margin-bottom: 14px; }
.ticks li { position: relative; padding: 10px 0 10px 30px; border-bottom: 1px solid var(--rule); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 7px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

.items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; }
.items.cols-2 { grid-template-columns: repeat(2, 1fr); }
.items.cols-4 { grid-template-columns: repeat(4, 1fr); }
.item { border-top: 1px solid var(--ink); padding: 22px 0 36px; }
.item h3 { display: flex; align-items: center; gap: 12px; font-size: 1.2rem; margin-bottom: 8px; }
.item p { color: var(--ink-soft); font-size: 1rem; }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare > div { padding: 32px; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--rule); }
.compare h3 { font-size: 1.3rem; margin-bottom: 12px; }
.compare a { display: inline-block; margin-top: 18px; color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.form { background: #fff; border: 1px solid var(--rule); border-radius: var(--radius-m); padding: clamp(24px, 4vw, 40px); }
.form .t-h2 { margin-bottom: 8px; }
.form > p { color: var(--ink-soft); margin-bottom: 28px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--sheet); border: 1px solid transparent; border-bottom: 2px solid var(--rule); border-radius: var(--radius-s);
  transition: border-color .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--rule); border-bottom-color: var(--teal); }
.field textarea { min-height: 140px; resize: vertical; }
.form .btn { width: 100%; justify-content: center; }
.info dl > div { padding: 20px 0; border-bottom: 1px solid var(--rule); }
.info dl > div:first-child { border-top: 2px solid var(--ink); }
.info dt { font-size: .9rem; color: var(--ink-soft); display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.info dd { font-size: 1.2rem; font-weight: 600; }
.info dd a { text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 4px; }
.info dd a:hover { text-decoration-color: var(--teal); }
.map { width: 100%; height: 420px; border: 0; border-radius: var(--radius-m); filter: grayscale(.4); }

/* ---------- Footer ---------- */
.footer { background: var(--teal-night); color: #a9c4c7; font-size: .95rem; }
.footer .wrap { padding-top: 64px; padding-bottom: 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: #fff; }
.footer .about-line { max-width: 34ch; margin-top: 16px; }
.footer .logo-chip { display: inline-block; background: #fff; padding: 8px 12px; border-radius: var(--radius-s); }
.footer .logo-chip img { height: 48px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; }
.footer-bottom .bar { display: flex; gap: 4px; }
.footer-bottom .bar .patch { width: 18px; height: 8px; }

.sticky-quote { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 24px; max-height: calc(100vh - 80px); overflow: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav > a, .nav .drop > button { padding: 14px 0; border-bottom: 1px solid var(--rule); width: 100%; text-align: left; }
  .nav > a::after, .nav .drop > button::after { display: none; }
  .nav .btn { margin-top: 16px; justify-content: center; padding: 14px; }
  .drop-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 8px; display: none; }
  .drop.open .drop-menu { display: block; }
  .burger { display: block; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .hero-inner { grid-template-columns: 1fr; padding-top: 40px; }
  .art { order: -1; max-width: 360px; justify-self: start; margin-bottom: -8px; }
  .section-head, .intro, .contact-grid, .cta .wrap, .page-head .wrap { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
  .page-head .head-art { justify-self: start; max-width: 320px; }
  .ticket { grid-template-columns: 1fr 1fr; }
  .ticket div:nth-child(3) { border-left: 0; padding-left: 0; }
  .ticket div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .reasons, .items.cols-4 { grid-template-columns: 1fr 1fr; }
  .items { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .svc-row { grid-template-columns: 22px 1fr; gap: 8px 16px; }
  .svc-row p { grid-column: 2; }
  .svc-row .go { grid-column: 2; justify-self: start; }
  .sticky-quote { display: inline-flex; position: fixed; right: 16px; bottom: 16px; z-index: 40; box-shadow: 0 10px 30px -8px rgba(0,0,0,.4); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s; }
  body.scrolled .sticky-quote { opacity: 1; visibility: visible; transform: none; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header .wrap { height: 68px; }
  .logo img { height: 46px; }
  .topbar .addr { display: none; }
  .ticket, .reasons, .items, .items.cols-2, .items.cols-4, .compare, .gallery, .footer-grid, .field-row { grid-template-columns: 1fr; }
  .ticket div, .ticket div + div { padding-left: 0; border-left: 0; }
  .ticket div + div { border-top: 1px solid var(--rule); }
  .gallery figure:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
  .colorbar { gap: 12px; flex-wrap: wrap; }
  .colorbar button { width: 40px; }
  .colorbar .label { display: none; }
  .art { max-width: 300px; }
}

/* =================================================================== v2.1 inner pages */
/* image tiles: illustration by default, real photo when img/photos/<name>.jpg exists */
.media { position: relative; overflow: hidden; border-radius: 16px; display: grid; place-items: center; background-size: cover; background-position: center; }
.media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.media.has-photo img { object-fit: cover; }
.media.has-photo { background-color: #dfe5e6; }
.tint-c { background-color: #e3f4fa; } .tint-m { background-color: #fbe5f0; } .tint-y { background-color: #fff6cc; }
.tint-t { background-color: #dff0f1; } .tint-g { background-color: #eef2f3; }
.section.alt .tint-g { background-color: #fff; }
.gallery .media { width: 100%; height: 100%; border-radius: 0; }
.gallery .media img { object-fit: contain; }
.gallery figure:hover .media img { transform: scale(1.05); }

/* page hero */
.phero { background: var(--teal-deep); color: #fff; overflow: hidden; isolation: isolate; }
.phero .mark { color: rgba(255,255,255,.45); }
.phero-bg { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.07) 1.2px, transparent 1.6px); background-size: 14px 14px; mask-image: linear-gradient(100deg, transparent 30%, #000 85%); -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 85%); }
.phero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 84px); }
.phero h1 { font-size: clamp(2.6rem, 6vw, 4.9rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-bottom: 20px; }
.phero p { font-size: 1.2rem; color: #d6eaec; max-width: 44ch; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 34px; }
.chips li { display: flex; align-items: center; gap: 9px; padding: 8px 15px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .95rem; background: rgba(255,255,255,.05); }
.phero .actions { display: flex; flex-wrap: wrap; gap: 14px; }
.phero-art { max-width: 580px; justify-self: end; }
.phero-img { justify-self: end; width: 100%; max-width: 500px; background: #e3f4fa; border-radius: 24px; transform: rotate(2deg); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); overflow: hidden; }

/* showcase: big image + story */
.showcase { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.showcase.flip .media { order: 2; }
.media.big { aspect-ratio: 5 / 4; border-radius: 24px; }
.showcase-text .t-h2 { margin-bottom: 20px; }
.showcase-text p + p { margin-top: 14px; }
.feat-title { font-size: 1rem; font-weight: 600; color: var(--ink-soft); margin: 32px 0 14px; letter-spacing: 0; }
.feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.feats li { position: relative; padding-left: 32px; font-weight: 500; line-height: 1.4; }
.feats li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); }
.feats li::after { content: ""; position: absolute; left: 7px; top: 6px; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }

/* bento product tiles */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.tile.span-2 { grid-column: span 2; }
.tile .media { height: clamp(210px, 19vw, 280px); }
.tile:hover .media img { transform: scale(1.06); }
.tile-body { padding: 18px 4px 0; }
.tile-body h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin-bottom: 6px; }
.tile-body p { color: var(--ink-soft); font-size: 1rem; }

/* process steps — a real sequence, so numbered */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: 14%; height: 2px; background: repeating-linear-gradient(90deg, var(--g, #b9c6c8) 0 8px, transparent 8px 14px); }
.step-n { position: relative; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 20px; box-shadow: 0 0 0 8px var(--sheet); }
.section:not(.alt) .step-n { box-shadow: 0 0 0 8px var(--paper); }
.step-n.p-y { color: var(--ink); }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { color: var(--ink-soft); font-size: 1rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 64px; align-items: start; }
.faq .lead { margin-top: 16px; }
.faq .lead a { color: var(--teal); font-weight: 600; white-space: nowrap; }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 2px solid var(--ink); }
.faq-list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-weight: 600; font-size: 1.15rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover { color: var(--teal); }
.plus { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--sheet); flex: none; transition: background .2s; }
.section.alt .plus { background: #fff; }
.plus::before, .plus::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 2px; background: var(--ink); transition: transform .25s; }
.plus::after { transform: rotate(90deg); }
details[open] .plus, .section.alt details[open] .plus { background: var(--magenta); }
details[open] .plus::before, details[open] .plus::after { background: #fff; }
details[open] .plus::after { transform: rotate(0); }
.faq-list details p { padding: 0 56px 24px 0; color: var(--ink-soft); }

/* related services */
.section-head.single { grid-template-columns: 1fr; margin-bottom: 40px; }
.rels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.rels.cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rel { background: var(--teal-deep); color: #fff; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.rel:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(0,42,48,.7); }
.rel-art { padding: 14px 14px 0; background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.6px); background-size: 12px 12px; }
.rel-art svg { width: 100%; height: auto; }
.rel-art .fan g.card { transform-box: view-box; transform-origin: 170px 430px; }
.rel-art .fan g.card:nth-of-type(1) { transform: rotate(-24deg); }
.rel-art .fan g.card:nth-of-type(2) { transform: rotate(-12deg); }
.rel-art .fan g.card:nth-of-type(4) { transform: rotate(12deg); }
.rel-body { padding: 6px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.rel-body h3 { font-size: 1.2rem; margin-bottom: 4px; }
.rel-body p { color: #bfe0e3; font-size: .95rem; }
.rel .go { margin-top: auto; padding-top: 14px; display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--yellow); }
.rel .go svg { width: 16px; transition: transform .2s; }
.rel:hover .go svg { transform: translateX(4px); }

/* offset vs digital */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vs-card { background: #fff; border: 1px solid var(--rule); border-radius: 20px; overflow: hidden; }
.vs-card .media { height: 230px; border-radius: 0; }
.vs-body { padding: 28px 32px 32px; }
.vs-body h3 { font-size: 1.3rem; margin-bottom: 10px; }
.text-link { display: inline-block; margin-top: 18px; color: var(--teal); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

.info-img { margin-top: 28px; aspect-ratio: 4 / 3; }

@media (max-width: 1000px) {
  .phero .wrap, .showcase, .faq { grid-template-columns: 1fr; }
  .phero-art { order: 0; justify-self: start; max-width: 440px; margin: 0; }
  .phero-img { justify-self: start; max-width: 420px; }
  .showcase.flip .media { order: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before { display: none; }
  .rels, .rels.cols-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .bento, .steps, .rels, .rels.cols-5, .versus, .feats { grid-template-columns: 1fr; }
  .tile.span-2 { grid-column: auto; }
  .phero h1 { font-size: 2.5rem; }
  .faq-list details p { padding-right: 0; }
}


/* quote form: bot trap + status */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form { position: relative; }
.form-status { margin-top: 16px; font-weight: 600; min-height: 1.6em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #c4006b; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.footer .logo-chip img { width: auto; height: 48px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .colorbar button.on i { transform: scaleX(1); }
}
