/* Neekunj Print Process — design system */
:root {
  --ivory: #F3F6F8; --white: #FFFFFF; --ink: #131A23; --green: #27384F; --deep: #1A2638;
  --sage: #DCE5EC; --slate: #526D83; --mist: #9DB1BE; --blue: #3E6E96; --grey: #66737F; --line: #D5DDE3;
  --blue-dark: #2F587D;
  --gut: 12px; --pad: clamp(20px, 2.4vw, 36px); --r: 6px;
  --font-head: "Manrope", "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 88px; scrollbar-gutter: stable; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ivory); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 1.6; overflow-x: hidden; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.04; letter-spacing: -.035em; margin: 0; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; border-radius: 4px; }
.skip:focus { left: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* type */
.eyebrow { font: 700 .72rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: #526D83; display: block; margin-bottom: 14px; }
.on-dark .eyebrow, .eyebrow.light, .panel.green .eyebrow, .panel.deep .eyebrow, .panel.dark .eyebrow { color: #9DB1BE; }
.h-xl { font-size: clamp(2.5rem, 5.2vw, 5rem); }
.h-lg { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.h-md { font-size: clamp(1.45rem, 2.2vw, 2rem); letter-spacing: -.03em; }
.h-sm { font-size: 1.1rem; letter-spacing: -.02em; }
.lede { font-size: clamp(1rem, 1.25vw, 1.15rem); color: #3a3f3b; max-width: 56ch; }
.on-dark .lede, .on-dark p { color: rgba(243,246,248,.82); }
.muted { color: var(--grey); }
.small { font-size: .85rem; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 4px; font: 700 .92rem var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--blue); }
.on-dark .btn-primary, .panel.green .btn-primary, .panel.deep .btn-primary, .cta .txt .btn-primary, .panel.dark .btn-primary { background: #fff; color: var(--green); }
.on-dark .btn-primary:hover, .cta .txt .btn-primary:hover, .panel.dark .btn-primary:hover { background: var(--sage); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--ivory); }
.on-dark .btn-ghost, .btn-ghost.light { border-color: rgba(243,246,248,.7); color: var(--ivory); }
.on-dark .btn-ghost:hover, .btn-ghost.light:hover { background: var(--ivory); color: var(--ink); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .84rem; }
.link-arrow { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: .88rem; color: var(--blue); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.on-dark .link-arrow { color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ivory); border-bottom: 1px solid var(--line); }
.hdr { display: flex; align-items: center; gap: 24px; height: 68px; padding: 0 var(--pad); max-width: 1680px; margin: 0 auto; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 800 1.2rem/1 var(--font-head); letter-spacing: -.04em; text-decoration: none; white-space: nowrap; }
.wm-mark { height: 38px; width: auto; }
.ft-logo { height: 120px; width: auto; }
.wordmark span { font-weight: 500; color: var(--slate); letter-spacing: -.02em; font-size: .9em; margin-left: 4px; }
.nav { display: flex; gap: 26px; margin: 0 auto; }
.nav a { position: relative; font-size: .86rem; font-weight: 600; text-decoration: none; padding: 8px 0; color: #2b302c; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 2px solid var(--ink); background: transparent; border-radius: 4px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.mobile-nav { display: none; }

/* the board: thick dark gutters, editorial grid */
.board { background: var(--ink); padding: var(--gut); display: grid; gap: var(--gut); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.board > * { min-width: 0; }
.panel { background: var(--ivory); border-radius: var(--r); padding: var(--pad); position: relative; overflow: hidden; }
.panel.white { background: var(--white); }
.panel.sage { background: var(--sage); }
.panel.green { background: var(--green); color: var(--ivory); }
.panel.deep { background: var(--deep); color: var(--ivory); }
.panel.dark { background: var(--ink); color: var(--ivory); outline: 1px solid rgba(255,255,255,.12); outline-offset: -1px; }
.panel.flush { padding: 0; }
.panel.green p, .panel.deep p, .panel.dark p { color: rgba(243,246,248,.82); }
.c12 { grid-column: span 12; } .c8 { grid-column: span 8; } .c7 { grid-column: span 7; } .c6 { grid-column: span 6; }
.c5 { grid-column: span 5; } .c4 { grid-column: span 4; } .c3 { grid-column: span 3; }
.art { width: 100%; height: 100%; object-fit: cover; }
.panel.flush .art { position: absolute; inset: 0; }
.fill { min-height: 280px; }
.media, .cta .media { background: #0F161E; }
.media.gr, .cta .media.gr { background: #111A28; }
.cap { position: absolute; left: 14px; bottom: 12px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; background: rgba(19,26,35,.7); color: var(--ivory); padding: 4px 8px; border-radius: 3px; }

/* hero */
.hero { display: grid; grid-template-columns: 5fr 7fr; grid-column: span 12; gap: var(--gut); }
.hero .txt { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: clamp(28px, 4vw, 60px); }
.hero .media { min-height: 520px; padding: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* service icon cards */
.svc-grid { flex: 1; grid-auto-rows: 1fr; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; margin-top: 20px; }
.svc { background: var(--white); padding: 18px 14px; justify-content: space-between; text-decoration: none; display: flex; flex-direction: column; gap: 10px; transition: background .25s; }
.svc:hover { background: var(--sage); }
.svc svg { width: 28px; height: 28px; stroke: var(--green); }
.svc b { font: 700 .88rem/1.25 var(--font-head); letter-spacing: -.01em; }

.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.mini { text-decoration: none; display: block; }
.mini .ph { aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background: var(--ink); }
.mini .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mini:hover .ph img { transform: scale(1.05); }
.mini b { display: block; font-size: .84rem; margin-top: 8px; line-height: 1.25; }
.mini small { color: var(--grey); font-size: .74rem; }

/* spec strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px var(--pad); border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .n { font: 800 clamp(1.8rem, 2.6vw, 2.7rem)/1 var(--font-head); letter-spacing: -.04em; color: var(--green); }
.stat .l { font-weight: 700; font-size: .9rem; margin-top: 10px; line-height: 1.3; }
.stat .d { font-size: .78rem; color: var(--grey); margin-top: 4px; line-height: 1.4; }
.panel.deep .stat { border-color: rgba(255,255,255,.16); }
.panel.deep .stat .n { color: #fff; }
.panel.deep .stat .d { color: rgba(243,246,248,.6); }

/* process */
.flow { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; margin: 28px 0 8px; counter-reset: s; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .ic { width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: var(--white); border: 2px solid var(--green); position: relative; z-index: 1; }
.step .ic svg { width: 24px; height: 24px; stroke: var(--green); }
.step::before { content: ""; position: absolute; top: 26px; left: -50%; width: 100%; height: 2px; background: var(--line); }
.step:first-child::before { display: none; }
.step b { font: 700 .86rem/1.25 var(--font-head); display: block; }
.step small { display: block; color: var(--grey); font-size: .74rem; margin-top: 4px; line-height: 1.35; }
.panel.deep .step .ic, .panel.green .step .ic { background: var(--deep); border-color: var(--sage); }
.panel.deep .step .ic svg, .panel.green .step .ic svg { stroke: var(--sage); }
.panel.deep .step::before, .panel.green .step::before { background: rgba(255,255,255,.22); }
.panel.deep .step small, .panel.green .step small { color: rgba(243,246,248,.65); }
.note { font-size: .8rem; color: var(--grey); margin-top: 14px; }
.panel.deep .note, .panel.green .note { color: rgba(243,246,248,.62); }

/* page layouts */
.wrap { max-width: 1680px; margin: 0 auto; }
.crumbs { padding: 16px var(--pad); font-size: .8rem; color: var(--grey); }
.crumbs ol { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { text-decoration: none; } .crumbs a:hover { text-decoration: underline; }
.page-hero { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gut); grid-column: span 12; }
.page-hero .txt { padding: clamp(28px, 4vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.page-hero .media { min-height: 420px; padding: 0; }
.hero-online { background: var(--deep); color: var(--ivory); }
.hero-online h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 5.6rem); }

.lists { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.lists li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; }
.lists svg { width: 18px; height: 18px; flex: none; margin-top: 3px; stroke: var(--green); }
.on-dark .lists svg, .panel.green .lists svg, .panel.deep .lists svg { stroke: var(--sage); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.two-col p + p { margin-top: 14px; }

.service-row { display: grid; grid-template-columns: 1fr 1fr; grid-column: span 12; gap: var(--gut); }
.service-row.flip .media { order: 2; }
.service-row .media { padding: 0; min-height: 400px; }
.service-row .txt { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.num { font: 800 .8rem var(--font-head); color: var(--grey); letter-spacing: .1em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: .76rem; font-weight: 600; padding: 5px 11px; border: 1px solid var(--line); border-radius: 99px; background: var(--white); }
.panel.green .chip, .panel.deep .chip { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: var(--ivory); }

/* machinery catalogue */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding: 20px var(--pad); background: var(--ivory); }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search input { width: 100%; height: 46px; padding: 0 14px 0 42px; border: 1.5px solid var(--ink); border-radius: 4px; font: 500 .95rem var(--font-body); background: var(--white); }
.search svg { position: absolute; left: 13px; top: 13px; width: 20px; height: 20px; stroke: var(--grey); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { height: 40px; padding: 0 16px; border-radius: 99px; border: 1.5px solid var(--ink); background: transparent; font: 600 .84rem var(--font-body); cursor: pointer; transition: background .2s, color .2s; }
.filters button:hover { background: var(--sage); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--ivory); }
.catalog { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gut); background: var(--ink); padding: var(--gut); }
.mcard { background: var(--ivory); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), opacity .3s; animation: pop .45s var(--ease) both; }
.mcard:hover { transform: translateY(-4px); }
.mcard .ph { aspect-ratio: 4/3; background: var(--ink); overflow: hidden; }
.mcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.mcard .bd { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tag { font: 700 .68rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: #526D83; }
.mcard dl { margin: 4px 0 0; display: grid; gap: 4px; font-size: .82rem; }
.mcard dl div { display: flex; gap: 6px; } .mcard dt { color: var(--grey); min-width: 70px; } .mcard dd { margin: 0; font-weight: 600; }
.mcard .btn { margin-top: auto; }
.empty { grid-column: 1/-1; background: var(--ivory); padding: 48px; text-align: center; border-radius: var(--r); }
@keyframes pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* dialog (spec panel) */
dialog.spec { border: 0; padding: 0; border-radius: 8px; width: min(680px, calc(100vw - 24px)); max-height: calc(100vh - 32px); background: var(--ivory); color: var(--ink); overflow: auto; }
dialog.spec::backdrop { background: rgba(19,26,35,.72); }
.spec-hd { aspect-ratio: 16/7; background: var(--ink); } .spec-hd img { width: 100%; height: 100%; object-fit: cover; }
.spec-bd { padding: 26px; display: grid; gap: 18px; }
.spec-close { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ivory); cursor: pointer; display: grid; place-items: center; }
.spec-close svg { width: 20px; height: 20px; }

/* spec tables */
.table-wrap { margin-top: 16px; }
table.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table caption { text-align: left; font: 700 1rem var(--font-head); padding-bottom: 12px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { font-weight: 600; color: var(--grey); width: 42%; font-size: .85rem; }
.spec-table td { font-weight: 600; }
.panel.deep .spec-table th, .panel.deep .spec-table td, .panel.green .spec-table th, .panel.green .spec-table td { border-color: rgba(255,255,255,.16); }
.panel.deep .spec-table th { color: rgba(243,246,248,.65); }
.spec-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gut); grid-column: span 12; }
.spec-card { background: var(--ivory); border-radius: var(--r); padding: var(--pad); }
.spec-card h3 { margin-bottom: 4px; }
.big-num { font: 800 clamp(3rem, 7vw, 6.5rem)/.95 var(--font-head); letter-spacing: -.05em; color: #fff; }

/* comparison list for flow */
.flow-v { display: none; }

/* accordion */
details.acc { border-top: 1px solid var(--line); }
details.acc:last-of-type { border-bottom: 1px solid var(--line); }
details.acc summary { cursor: pointer; padding: 18px 0; font: 700 1.05rem var(--font-head); display: flex; justify-content: space-between; list-style: none; letter-spacing: -.02em; }
details.acc summary::-webkit-details-marker { display: none; }
details.acc summary::after { content: "+"; font-size: 1.5rem; line-height: 1; transition: transform .3s var(--ease); }
details.acc[open] summary::after { transform: rotate(45deg); }
details.acc .acc-body { padding: 0 0 20px; color: #3a3f3b; max-width: 70ch; }

/* contact + form */
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .86rem; }
.field label i { color: #B3261E; font-style: normal; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #bdbcb0; border-radius: 4px; background: var(--white); font: 500 1rem var(--font-body); color: var(--ink); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(62,110,150,.25); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #B3261E; background: #FFF6F5; }
.err { color: #B3261E; font-size: .82rem; font-weight: 600; min-height: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1/-1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: 4px; font-size: .92rem; border-left: 4px solid; }
.alert.error { background: #FFF1EF; border-color: #B3261E; color: #5b130e; }
.alert.ok { background: #E6EEF4; border-color: var(--green); color: #1A2638; }
.alert.info { background: #E8EEF3; border-color: var(--blue); color: #1A2638; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.spinner { width: 18px; height: 18px; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.contact-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; }
.contact-list svg { width: 22px; height: 22px; flex: none; stroke: var(--sage); margin-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 600; } .contact-list a:hover { text-decoration: underline; }
.contact-list small { display: block; color: rgba(243,246,248,.6); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }

/* cta */
.cta { display: grid; grid-template-columns: 1fr 1fr; grid-column: span 12; gap: var(--gut); }
.cta .txt { padding: clamp(32px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 22px; background: var(--green); color: var(--ivory); border-radius: var(--r); }
.cta .media { padding: 0; min-height: 360px; border-radius: var(--r); overflow: hidden; position: relative; background: var(--ink); }

/* footer */
.site-footer { background: var(--ivory); border-top: 1px solid var(--line); padding: 56px var(--pad) 28px; }
.ft { max-width: 1680px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h2 { font: 700 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .9rem; }
.site-footer a { text-decoration: none; } .site-footer a:hover { text-decoration: underline; }
.ft-base { max-width: 1680px; margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--grey); }

/* motion */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.img-reveal img { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease); }
.img-reveal.in img, .no-js .img-reveal img { clip-path: inset(0); }
.hero-in > * { animation: rise .9s var(--ease) both; }
.hero-in > *:nth-child(2) { animation-delay: .08s; } .hero-in > *:nth-child(3) { animation-delay: .16s; } .hero-in > *:nth-child(4) { animation-delay: .24s; } .hero-in > *:nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; } .img-reveal img { clip-path: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .nav { gap: 16px; } .hdr .btn { padding: 0 14px; }
  .hero { grid-template-columns: 1fr; } .hero .media { min-height: 420px; order: -1; }
  .c8, .c7, .c6, .c5, .c4 { grid-column: span 12; }
  .c3 { grid-column: span 6; }
  .catalog { grid-template-columns: repeat(2, 1fr); }
  .ft { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .panel.deep .stat:nth-child(-n+2) { border-color: rgba(255,255,255,.16); }
}
/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .hdr { height: 62px; } .nav, .hdr > .btn { display: none; }
  .menu-btn { display: inline-flex; }
  .mobile-nav { position: fixed; inset: 62px 0 0 0; background: var(--ivory); z-index: 49; padding: 24px var(--pad); flex-direction: column; gap: 4px; overflow: auto; }
  .mobile-nav.open { display: flex; }
  .mobile-nav a { font: 700 1.5rem var(--font-head); letter-spacing: -.03em; text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .mobile-nav a.btn { margin-top: 20px; font: 700 1rem var(--font-body); border: 2px solid transparent; justify-content: center; }
  .page-hero, .service-row, .two-col, .cta, .spec-cards, .form-grid { grid-template-columns: 1fr; }
  .page-hero .media, .service-row .media { min-height: 280px; order: -1; }
  .service-row.flip .media { order: -1; }
  .c3 { grid-column: span 12; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .mini-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-auto-flow: row; grid-auto-columns: auto; gap: 0; margin-left: 4px; }
  .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; text-align: left; padding: 0 0 22px; align-items: start; }
  .step .ic { margin: 0; grid-row: span 2; } .step b { padding-top: 6px; }
  .step::before { display: none; }
  .step:not(:last-child)::after { content: ""; position: absolute; left: 26px; top: 56px; width: 2px; bottom: 2px; background: var(--line); }
  .panel.deep .step:not(:last-child)::after, .panel.green .step:not(:last-child)::after { background: rgba(255,255,255,.22); }
  .stat { padding: 20px var(--pad); }
  .catalog { grid-template-columns: 1fr; }
  .ft { grid-template-columns: 1fr; gap: 28px; }
  .btn { min-height: 52px; }
  .actions .btn { flex: 1 1 100%; }
  /* stacked spec rows */
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table th, .spec-table td { display: block; width: 100%; }
  .spec-table tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .spec-table th, .spec-table td { border: 0; padding: 0; }
  .spec-table th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
  .panel.deep .spec-table tr { border-color: rgba(255,255,255,.16); }
}
@media (max-width: 480px) { .svc-grid { grid-template-columns: 1fr 1fr; } .stats { grid-template-columns: 1fr; } .stat { border-right: 0 !important; border-bottom: 1px solid var(--line); } .panel.deep .stat { border-color: rgba(255,255,255,.16); } .stat:last-child { border-bottom: 0; } }

.gallery4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.gallery4 figure, .gallery3 figure { margin: 0; }
.gallery3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ph-photo { aspect-ratio: 4/3; overflow: hidden; border-radius: 4px; background: var(--ink); }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ph-photo:hover img { transform: scale(1.04); }
figcaption { font-size: .8rem; color: var(--grey); margin-top: 8px; line-height: 1.35; }
@media (max-width: 860px) { .gallery4, .gallery3 { grid-template-columns: repeat(2, 1fr); } .wordmark > span { font-size: 1.05rem; } .wm-mark { height: 34px; } }
@media (max-width: 420px) { .gallery4, .gallery3 { grid-template-columns: 1fr; } }

/* ---------- home v2 ---------- */
.topbar { background: var(--deep); color: var(--mist); font-size: .76rem; }
.topbar .in { max-width: 1680px; margin: 0 auto; padding: 8px var(--pad); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { text-decoration: none; color: #fff; font-weight: 600; } .topbar a:hover { text-decoration: underline; }
.topbar span + span, .topbar a + a { margin-left: 18px; }
img[src*="/photos/"] { filter: saturate(1.06) contrast(1.03); }
.hero { grid-template-columns: 5fr 7fr; }
.hero .txt { background: var(--white); }
.hero-facts { list-style: none; padding: 20px 0 0; margin: 4px 0 0; display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 28px; border-top: 1px solid var(--line); }
.hero-facts b { display: block; font: 800 1.5rem/1 var(--font-head); letter-spacing: -.03em; color: var(--green); }
.hero-facts span { font-size: .78rem; color: var(--grey); }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1.55fr 1fr; gap: var(--gut); min-height: 620px; }
.tile { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink); min-height: 200px; }
.tile.big { grid-column: span 2; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.04); }
.ticker-panel { display: flex; align-items: center; gap: 24px; padding: 18px var(--pad); }
.ticker-label { flex: none; font: 700 .72rem var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.ticker { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker-track { display: flex; gap: 40px; width: max-content; animation: tick 60s linear infinite; }
.ticker-track span { font: 700 1rem var(--font-head); letter-spacing: -.02em; color: var(--ivory); white-space: nowrap; }
.ticker-track span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--slate); margin-right: 40px; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }
.about-home { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--pad); align-items: stretch; }
.about-img { min-height: 320px; border-radius: 4px; }
.svc-panel { display: flex; flex-direction: column; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; padding: 36px var(--pad) 20px; background: var(--ivory); border-radius: var(--r); }
.section-head .lede { max-width: 44ch; }
.capcard { display: flex; flex-direction: column; transition: transform .4s var(--ease); }
.capcard:hover { transform: translateY(-4px); }
.capimg { position: relative; aspect-ratio: 16/10; background: var(--ink); overflow: hidden; }
.capimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.capcard:hover .capimg img { transform: scale(1.05); }
.capbody { padding: var(--pad); display: flex; flex-direction: column; gap: 10px; flex: 1; position: relative; }
.capbody .link-arrow { margin-top: auto; padding-top: 10px; }
.capic { width: 44px; height: 44px; border-radius: 50%; background: var(--sage); display: grid; place-items: center; flex: none; }
.capic svg { width: 22px; height: 22px; stroke: var(--green); }
.capbody p { color: #3a4550; font-size: .95rem; }
.feat { display: flex; flex-direction: column; justify-content: center; }
.feat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.16); margin-top: 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 4px; overflow: hidden; }
.feat-grid div { background: var(--deep); padding: 16px 18px; }
.feat-grid b { display: block; color: #fff; font: 700 1rem var(--font-head); letter-spacing: -.02em; }
.feat-grid span { font-size: .82rem; color: rgba(243,246,248,.7); line-height: 1.4; display: block; margin-top: 4px; }
.feat-img, .press-img { min-height: 380px; }
.press-list { display: grid; margin-top: 18px; }
.press-row { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-top: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.press-row:last-child { border-bottom: 1px solid var(--line); }
.press-row b { font: 700 1.05rem var(--font-head); letter-spacing: -.02em; display: block; }
.press-row span { font-size: .85rem; color: var(--grey); }
.cap-fig { text-align: right; font-weight: 700; font-size: .95rem; color: var(--green); }
.cap-fig small { display: block; font-weight: 600; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; }
.why-item { padding: var(--pad); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.why-item:last-child { border-right: 0; }
.why-item p { font-size: .92rem; color: #3a4550; }
.method-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 18px; }
.method-list li { display: flex; gap: 14px; align-items: flex-start; }
.method-list .capic { background: var(--white); }
.method-list b { font: 700 1.05rem var(--font-head); letter-spacing: -.02em; }
.method-list p { font-size: .9rem; color: #33404c; margin-top: 2px; }
.enq { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
@media (max-width: 1100px) { .why { grid-template-columns: 1fr 1fr; } .why-item:nth-child(2) { border-right: 0; } .why-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } .mosaic { min-height: 520px; } .about-home { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
  .topbar .in { justify-content: center; } .topbar .hide-sm { display: none; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 160px; min-height: 0; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .ticker-panel { flex-direction: column; align-items: flex-start; gap: 10px; }
  .feat-grid { grid-template-columns: 1fr; }
  .why { grid-template-columns: 1fr; } .why-item { border-right: 0; border-bottom: 1px solid var(--line); } .why-item:last-child { border-bottom: 0; }
  .feat-img, .press-img { min-height: 260px; }
  .section-head { padding: 28px var(--pad) 16px; }
}
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; flex-wrap: wrap; width: auto; } .ticker-track span[aria-hidden] { display: none; } }

@media (max-width: 1100px) { .hero { grid-template-columns: 1fr; } .hero .txt { order: 0; } }
@media (max-width: 860px) { .hero .txt { padding: 28px 22px; } .hero-facts span { font-size: .72rem; } }

@media (max-width: 860px) { .tile { min-height: 0; } .mosaic { grid-template-rows: 230px 170px; } }

/* images in previously empty spaces */
.mcard .ph { position: relative; }
.spec-img { position: relative; margin-top: 18px; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; background: var(--ink); }
.spec-img img { width: 100%; height: 100%; object-fit: cover; }
.trim-card { display: grid; grid-template-columns: 1fr 1fr; gap: var(--pad); align-items: center; }
.trim-card .spec-img { margin-top: 0; aspect-ratio: 4/3; }
.contact-form { grid-row: span 2; }
.contact-img { min-height: 260px; }
.contact-tile { min-height: 260px; }
.press-img img, .feat-img img { object-position: 60% 50%; }
@media (max-width: 1100px) { .contact-form { grid-row: auto; } }
@media (max-width: 860px) { .trim-card { grid-template-columns: 1fr; } .contact-tile { min-height: 200px; } }

/* ===== motion layer (only active when JS adds html.fx; disabled for reduced motion) ===== */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 100; background: linear-gradient(90deg, var(--slate), var(--blue), var(--mist)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.site-header { transition: box-shadow .35s, background .35s; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(19,26,35,.12); }
.fx body { animation: pagein .7s var(--ease) both; }
@keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
.fx .hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.fx .hero h1 .w > span { display: inline-block; transform: translateY(110%); animation: wordup .9s var(--ease) forwards; }
@keyframes wordup { to { transform: none; } }
.fx .hero .lede, .fx .hero .actions, .fx .hero-facts, .fx .hero .eyebrow { opacity: 0; animation: rise .9s var(--ease) forwards; }
.fx .hero .eyebrow { animation-delay: .05s; } .fx .hero .lede { animation-delay: .55s; } .fx .hero .actions { animation-delay: .7s; } .fx .hero-facts { animation-delay: .85s; }
.fx .hero .mosaic .tile { opacity: 0; animation: tilein 1s var(--ease) forwards; }
.fx .hero .mosaic .tile:nth-child(2) { animation-delay: .15s; } .fx .hero .mosaic .tile:nth-child(3) { animation-delay: .3s; }
@keyframes tilein { from { opacity: 0; transform: scale(.94) translateY(24px); } to { opacity: 1; transform: none; } }
.fx .hero .tile.big img { animation: kenburns 18s ease-in-out infinite alternate; }
@keyframes kenburns { from { scale: 1.02; } to { scale: 1.14; } }

.fx .rv { opacity: 0; translate: 0 34px; transition: opacity .9s var(--ease) var(--d, 0ms), translate .9s var(--ease) var(--d, 0ms); }
.fx .rv.in { opacity: 1; translate: 0 0; }
.fx .tilt.rv { transition: opacity .9s var(--ease) var(--d, 0ms), translate .9s var(--ease) var(--d, 0ms), transform .25s ease-out, box-shadow .3s; }
.tilt { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transform-style: preserve-3d; will-change: transform; }
.tilt::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.22), transparent 60%); }
.tilt:hover::after { opacity: 1; }
.tilt:hover { box-shadow: 0 22px 48px rgba(19,26,35,.22); }

.px { scale: 1.14; will-change: transform; transition: scale .9s var(--ease); }
.px:hover, *:hover > .px { scale: 1.2; }

.fx .btn { transition: transform .25s var(--ease), translate .2s ease-out, background .25s, color .25s, border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.fx .btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.fx .btn:hover::after { transform: translateX(120%); transition: transform .8s var(--ease); }
.fx .btn-primary:hover { box-shadow: 0 10px 26px rgba(39,56,79,.35); }
.ticker:hover .ticker-track { animation-play-state: paused; }
.fx .eyebrow { position: relative; }
.fx .eyebrow::before { content: ""; display: inline-block; width: 28px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 10px; transform-origin: 0 50%; animation: grow 1.1s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.has-deco { isolation: isolate; }
.fx-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.fx-orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .5; background: radial-gradient(circle, var(--mist), transparent 70%); will-change: transform; }
.fx-orb.o1 { width: 340px; height: 340px; top: -90px; right: -70px; animation: drift1 16s ease-in-out infinite alternate; }
.fx-orb.o2 { width: 280px; height: 280px; bottom: -110px; left: 10%; background: radial-gradient(circle, var(--blue), transparent 70%); opacity: .38; animation: drift2 20s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(-70px, 60px) scale(1.2); } }
@keyframes drift2 { to { transform: translate(90px, -50px) scale(.85); } }
.regmark { position: absolute; width: 150px; height: 150px; right: 28px; bottom: 24px; color: var(--slate); opacity: .22; animation: spin 40s linear infinite; }
.panel.green .regmark, .panel.deep .regmark, .panel.dark .regmark, .cta .regmark { color: var(--mist); opacity: .28; }

@media (max-width: 860px) { .regmark { width: 100px; height: 100px; } .fx-orb { filter: blur(34px); } .px { scale: 1.1; } }
@media (prefers-reduced-motion: reduce) { .progress, .fx-deco { display: none; } }

/* native scrolling: contain nested scroll areas, keep layout stable */
dialog.spec, .mobile-nav, .table-wrap { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.table-wrap { overflow-x: auto; max-width: 100%; }
#catalog { min-height: 60vh; }
img, video { height: auto; }
[id] { scroll-margin-top: 88px; }
@media (max-width: 860px) { html { scroll-padding-top: 72px; } [id] { scroll-margin-top: 72px; } }

/* smooth only for in-page section links (class set briefly by JS), never for restores or route changes */
@media (prefers-reduced-motion: no-preference) { html.nav-smooth { scroll-behavior: smooth; } }
