/* Shree Kadaeswara Compacters — site styles. Layout after adithyaatextiles.com, in the brand green. */
:root {
  --g9: #04261a;
  --g8: #073523;
  --g7: #0a4630;
  --g6: #006231;
  --g5: #11804a;
  --g2: #cfe6d8;
  --g1: #e8f2ec;
  --pale: #f3f7f4;
  --ink: #15201b;
  --text: #2b3631;
  --mut: #5c6a63;
  --line: #dce5df;
  --hl: #a8e6c1;
  --container: 1152px;
  --gut: 24px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --knit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='24' viewBox='0 0 20 24'%3E%3Cg fill='none' stroke='%23ffffff' stroke-width='1.4'%3E%3Cpath d='M10 23C4.5 19 1.8 10.5 3 2.2c4 3 6.6 11 7 20.8z'/%3E%3Cpath d='M10 23c5.5-4 8.2-12.5 7-20.8-4 3-6.6 11-7 20.8z'/%3E%3C/g%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 150px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
address { font-style: normal; }
.ic { width: 20px; height: 20px; flex: none; }
:focus-visible { outline: 2px solid var(--g5); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; font-weight: 600; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gut)); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }

/* ---------- type ---------- */
.eyebrow { margin: 0 0 14px; font-size: 12.5px; font-weight: 600; line-height: 1.5; letter-spacing: .22em; text-transform: uppercase; }
.h1, .h2, .h3 { margin: 0; font-weight: 400; text-transform: uppercase; letter-spacing: .005em; text-wrap: balance; }
.h1 { font-size: clamp(32px, 4.1vw, 48px); line-height: 1.1; }
.h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
.h3 { font-size: 18px; line-height: 1.3; font-weight: 500; }
.nw { white-space: nowrap; }
.lead { margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: var(--text); text-wrap: pretty; }

/* ---------- buttons ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border: 1.5px solid transparent; font-size: 15px; font-weight: 600; line-height: 1.2; text-align: center; transition: background-color .2s, color .2s, border-color .2s; }
.btn .ic { width: 18px; height: 18px; }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: 14px; font-weight: 500; }
.btn-dark { background: var(--g8); color: #fff; }
.btn-dark:hover { background: var(--g6); }
.btn-light { background: #fff; color: var(--g8); }
.btn-light:hover { background: var(--g1); }
.btn-outline { border-color: var(--g8); color: var(--g8); background: transparent; font-weight: 500; }
.btn-outline:hover { background: var(--g8); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, .65); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--g8); border-color: #fff; }

/* green panels with a faint knit-stitch texture */
.knit-bg { position: relative; isolation: isolate; color: #fff; background: radial-gradient(70% 75% at 62% 45%, rgba(38, 150, 92, .5) 0%, rgba(38, 150, 92, 0) 70%), linear-gradient(125deg, #06301f 0%, #0a4630 52%, #04261a 100%); }
.knit-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--knit); background-size: 20px 24px; opacity: .05; pointer-events: none; }

/* ---------- top bar and header ---------- */
.topbar { background: var(--g9); color: #fff; font-size: 13px; font-weight: 500; }
.topbar-in { display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.top-links, .top-right { display: flex; gap: 24px; align-items: center; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; opacity: .9; }
.topbar a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.topbar .ic { width: 15px; height: 15px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--g8); color: #fff; transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
.brandrow { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 14px; transition: padding .25s; }
.is-scrolled .brandrow { padding-top: 10px; padding-bottom: 8px; }
.loc, .hdr-brochure { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; opacity: .9; }
.loc:hover, .hdr-brochure:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.loc .ic, .hdr-brochure .ic { width: 17px; height: 17px; }
.loc { justify-self: start; }
.hdr-brochure { justify-self: end; }
.brand { display: flex; align-items: center; gap: 16px; }
.badge { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #fff; flex: none; box-shadow: 0 0 0 3px rgba(255, 255, 255, .12); transition: width .25s, height .25s; }
.badge img { width: 86%; height: 86%; }
.is-scrolled .brand .badge { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; align-items: center; }
.wm { display: block; color: #fff; }
.wm-one { width: 440px; height: auto; }
.wm-two { display: none; }
.tagline { margin-top: 8px; font-size: 10.5px; font-weight: 500; letter-spacing: .42em; text-transform: uppercase; opacity: .8; transition: opacity .2s; }
.icon-btn { display: none; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; padding: 0; }
.icon-btn .ic { width: 24px; height: 24px; }

.mainnav { border-top: 1px solid rgba(255, 255, 255, .1); }
.nav-head, .nav-foot, .nav-home { display: none; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 40px; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-list > li > a { display: block; padding: 13px 0; font-size: 15px; font-weight: 500; position: relative; }
.nav-list > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--hl); transform: scaleX(0); transition: transform .2s; }
.nav-list > li > a:hover::after, .nav-list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.dd-btn { border: 0; background: transparent; padding: 4px; margin-left: 2px; display: grid; place-items: center; opacity: .85; }
.dd-btn .ic { width: 16px; height: 16px; transition: transform .2s; }
.dd { position: absolute; top: 100%; left: 50%; width: 660px; transform: translate(-50%, 8px); background: #fff; color: var(--ink); padding: 20px; box-shadow: 0 18px 40px rgba(4, 38, 26, .22); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility 0s .2s; }
.dd ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.dd li a { display: flex; align-items: center; gap: 12px; padding: 8px; }
.dd li a:hover { background: var(--pale); }
.dd-thumb { width: 60px; height: 60px; flex: none; display: block; background: var(--pale); border: 1px solid var(--line); padding: 6px; }
.dd-thumb img { width: 100%; height: 100%; object-fit: contain; }
.dd b { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.dd small { display: block; font-size: 12.5px; color: var(--mut); }
.dd-all { display: inline-flex; align-items: center; gap: 8px; margin: 14px 8px 0; font-size: 14px; font-weight: 600; color: var(--g6); }
.dd-all .ic { width: 16px; height: 16px; }
@media (min-width: 961px) {
  .has-dd:hover .dd, .has-dd:focus-within .dd, .has-dd.open .dd { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .2s, transform .2s; }
  .has-dd:hover .dd-btn .ic, .has-dd.open .dd-btn .ic { transform: rotate(180deg); }
}
.nav-scrim { display: none; }

/* ---------- home: machine strip ---------- */
.mstrip { border-bottom: 1px solid var(--line); }
.mstrip ul { list-style: none; margin: 0 auto; padding-top: 28px; padding-bottom: 28px; display: flex; justify-content: center; gap: 22px; }
.mstrip a { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 124px; font-size: 13.5px; font-weight: 500; line-height: 1.3; text-align: center; }
.mstrip .thumb { width: 100px; height: 100px; display: block; padding: 10px; background: var(--pale); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.mstrip .thumb img { width: 100%; height: 100%; object-fit: contain; }
.mstrip a:hover .thumb { border-color: var(--g6); transform: translateY(-3px); }

/* ---------- home: hero slider ---------- */
.hero { overflow: hidden; }
/* the machine cut-outs have pale edges that show on dark green, so they sit on a light stage */
.hero-stage { position: absolute; top: 0; bottom: 0; left: 50%; right: 0; z-index: -1; background: radial-gradient(58% 62% at 50% 52%, #ffffff 0%, rgba(255, 255, 255, 0) 72%), linear-gradient(160deg, #eef6f1 0%, #d9eadf 100%); }
.hero-stage::before { content: ""; position: absolute; inset: 0; background-color: var(--g6); -webkit-mask: var(--knit) 0 0 / 20px 24px; mask: var(--knit) 0 0 / 20px 24px; opacity: .045; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.slide.is-active { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.slide-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; min-height: 580px; }
.slide-copy { padding: 64px 64px 100px 0; }
.slide-copy .lead { color: rgba(255, 255, 255, .86); max-width: 500px; }
.slide-copy .eyebrow { color: rgba(255, 255, 255, .9); }
.slide-art { margin: 0; height: 580px; padding: 70px 0 90px 64px; }
.slide-art img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 22px rgba(4, 38, 26, .2)); }
@media (prefers-reduced-motion: no-preference) {
  .slide-art img { opacity: 0; transform: translateX(36px); transition: opacity .9s ease .15s, transform .9s ease .15s; }
  .slide.is-active .slide-art img { opacity: 1; transform: none; }
}
html:not(.js) .slide-art img { opacity: 1; transform: none; }
.hero-dots { position: absolute; left: calc(max(var(--gut), (100% - var(--container)) / 2) - 8px); bottom: 26px; display: flex; gap: 2px; }
.hero-dots button { width: 24px; height: 24px; border: 0; padding: 0; background: transparent; display: grid; place-items: center; }
.hero-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .45); transition: width .3s, background-color .3s; }
.hero-dots button[aria-current="true"] { width: 40px; }
.hero-dots button[aria-current="true"]::before { width: 30px; background: #fff; }
.hero-ctrl { position: absolute; right: max(var(--gut), calc((100% - var(--container)) / 2)); bottom: 18px; display: flex; gap: 10px; }
.hero-ctrl button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--g8); color: #fff; display: grid; place-items: center; transition: background-color .2s; }
.hero-ctrl button:hover { background: var(--g6); }
.hero-ctrl .ic { width: 18px; height: 18px; }
.hero-ctrl .i-play { display: none; }
.hero.is-paused .i-pause { display: none; }
.hero.is-paused .i-play { display: block; }
html:not(.js) .hero-dots, html:not(.js) .hero-ctrl { display: none; }

/* ---------- home: trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; margin: 0 auto; padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 44px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--g8); }
.trust .ic { width: 18px; height: 18px; color: var(--g6); }

/* ---------- home: machine in focus ---------- */
.focus { display: grid; grid-template-columns: 1fr 1fr; }
.focus-copy { display: flex; align-items: center; padding: 96px 64px 96px max(var(--gut), calc(100% - var(--container) / 2)); }
.focus-in { max-width: 480px; }
.focus-copy .eyebrow { color: rgba(255, 255, 255, .9); }
.focus-copy .mnote { color: var(--hl); }
.focus-copy .mcap { background: #fff; color: var(--g8); }
.focus-copy .mcap b { color: var(--g6); }
.focus-text { margin: 18px 0 0; font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, .86); }
.focus-art { position: relative; min-height: 540px; background: radial-gradient(58% 62% at 50% 52%, #ffffff 0%, rgba(255, 255, 255, 0) 72%), linear-gradient(160deg, #eef6f1 0%, #d9eadf 100%); overflow: hidden; }
.focus-art img { position: absolute; top: 60px; left: 60px; width: calc(100% - 120px); height: calc(100% - 120px); object-fit: contain; filter: drop-shadow(0 20px 22px rgba(4, 38, 26, .18)); }
.mnote { margin: 10px 0 0; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--g6); }
.mcap { display: inline-flex; align-items: center; gap: 12px; margin: 26px 0 0; padding: 10px 24px 10px 20px; border-radius: 99px; background: var(--g8); color: #fff; }
.mcap b { font-size: 30px; font-weight: 600; line-height: 1; color: var(--hl); }
.mcap span { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

/* ---------- home: statement ---------- */
.statement { text-align: center; padding-top: 104px; padding-bottom: 88px; }
.statement-text { max-width: 860px; margin: 0 auto 28px; font-size: clamp(22px, 2.5vw, 31px); line-height: 1.35; text-transform: uppercase; text-wrap: balance; }

/* ---------- home: two cards ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-bottom: 104px; }
.duo-card { display: flex; flex-direction: column; min-height: 560px; overflow: hidden; }
.duo-art { position: relative; flex: 1; min-height: 300px; background: radial-gradient(58% 62% at 50% 52%, #ffffff 0%, rgba(255, 255, 255, 0) 72%), linear-gradient(160deg, #eef6f1 0%, #d9eadf 100%); overflow: hidden; }
.duo-art img { position: absolute; top: 36px; left: 36px; width: calc(100% - 72px); height: calc(100% - 60px); object-fit: contain; filter: drop-shadow(0 18px 20px rgba(4, 38, 26, .18)); transition: transform .6s ease; }
.duo-card:hover .duo-art img { transform: scale(1.04); }
.duo-copy { display: block; padding: 26px 28px 30px; }
.duo-copy .eyebrow { display: block; font-size: 11.5px; opacity: .85; margin-bottom: 10px; }
.duo-title { display: block; max-width: 330px; margin-bottom: 18px; font-size: 24px; line-height: 1.3; text-transform: uppercase; }

/* ---------- section heads, process tiles ---------- */
.section-head { text-align: center; margin-bottom: 36px; }
.section-head .h2 { margin-bottom: 22px; }
.section-head .lead { max-width: 700px; margin: 0 auto; }
.processes { padding-bottom: 104px; }
.ptiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.ptile { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--pale); overflow: hidden; }
.ptiles li:nth-child(even) .ptile { background: var(--g1); }
.ptile img { position: absolute; top: 46px; left: 28px; width: calc(100% - 56px); height: calc(100% - 124px); object-fit: contain; transition: transform .5s ease; }
.ptile:hover img { transform: scale(1.05); }
.ptile .chip { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); padding: 9px 16px; background: #fff; font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 2px 10px rgba(4, 38, 26, .08); }
.ptile .pcap { position: absolute; top: 16px; left: 18px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g6); }
.ptile:hover .chip { background: var(--g8); color: #fff; }

/* ---------- certificates ---------- */
.certs { background: var(--pale); padding: 96px 0; }
.cert-row { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.cert { background: #fff; border: 1px solid var(--line); }
.cert-row .cert { width: 152px; height: 152px; display: grid; place-items: center; padding: 18px; }
.cert-logo { display: grid; place-items: center; }
.cert-row .cert-logo { width: 100%; height: 100%; }
.cert-logo img { max-width: 100%; max-height: 104px; object-fit: contain; }
.cert-logo img.wide { max-height: 64px; }

/* ---------- call-to-action band ---------- */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-top: 96px; padding: 56px 48px; border-radius: 24px; overflow: hidden; }
.pg-home .cta { margin-top: 104px; }
.cta-copy { max-width: 600px; }
.cta-copy p { margin: 14px 0 0; font-size: 17px; color: rgba(255, 255, 255, .86); }
.cta-btns { display: flex; flex-direction: column; gap: 12px; flex: none; }
.cta-btns .btn { min-width: 250px; }

/* ---------- home: closing line ---------- */
.quote { text-align: center; padding-top: 88px; padding-bottom: 96px; }
.stitch { display: block; width: 100px; height: 24px; margin: 0 auto 22px; background-color: var(--g6); -webkit-mask: var(--knit) 0 0 / 20px 24px repeat-x; mask: var(--knit) 0 0 / 20px 24px repeat-x; }
.quote-text { margin: 0 auto; max-width: 760px; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.3; text-transform: uppercase; }
.quote-sub { margin: 14px 0 0; font-size: 15px; color: var(--mut); }

/* ---------- footer ---------- */
.site-footer { background: var(--g9); color: #fff; padding-top: 64px; }
.fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1.25fr 1.15fr; gap: 40px; }
.fbrand-lock { display: inline-flex; align-items: center; gap: 14px; }
.fbrand-lock .badge { width: 54px; height: 54px; }
.fbrand-lock .wm { width: 210px; height: auto; }
.fbrand p { margin: 18px 0 0; max-width: 380px; font-size: 14.5px; line-height: 1.65; color: rgba(255, 255, 255, .82); }
.fh { margin: 0 0 14px; font-size: 15px; font-weight: 600; }
.flinks { list-style: none; margin: 0; padding: 0; }
.flinks li { margin-bottom: 8px; }
.flinks a { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; color: rgba(255, 255, 255, .85); }
.flinks a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.flinks .ic { width: 15px; height: 15px; }
.fad { margin-bottom: 12px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .85); }
.mail { overflow-wrap: anywhere; }
.fsmall { margin: 0 0 18px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .82); }
.fbottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 20px; padding-bottom: 22px; position: relative; font-size: 13px; color: rgba(255, 255, 255, .8); }
.fbottom::before { content: ""; position: absolute; top: 0; left: var(--gut); right: var(--gut); height: 1px; background: rgba(255, 255, 255, .12); }

/* floating WhatsApp button and phone tab bar */
.wa-float { position: fixed; left: 24px; bottom: 24px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--g8); color: #fff; box-shadow: 0 8px 24px rgba(4, 38, 26, .35); transition: transform .2s, background-color .2s; }
.wa-float .ic { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); background: var(--g6); }
.tabbar { display: none; }

/* ---------- inner pages ---------- */
.phero { padding-top: 56px; padding-bottom: 72px; }
.phero .lead { color: rgba(255, 255, 255, .86); max-width: 640px; }
.crumbs { display: flex; gap: 10px; margin-bottom: 30px; font-size: 13px; color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.spacer { height: 96px; }

/* machines page */
.chips { padding-top: 28px; padding-bottom: 8px; }
.chips ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: border-color .2s, background-color .2s, color .2s; }
.chips a:hover { border-color: var(--g8); background: var(--g8); color: #fff; }
.mrow { display: grid; grid-template-columns: 1.08fr 1fr; align-items: center; gap: 64px; padding: 64px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.mrow:nth-child(even) .mrow-art { order: 2; }
.mrow-art { position: relative; aspect-ratio: 4 / 3; background: var(--pale); }
.mrow:nth-child(even) .mrow-art { background: var(--g1); }
.mrow-art img { position: absolute; top: 40px; left: 40px; width: calc(100% - 80px); height: calc(100% - 80px); object-fit: contain; filter: drop-shadow(0 18px 20px rgba(4, 38, 26, .14)); }
.mname { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; line-height: 1.08; text-transform: uppercase; }
.mben { margin: 22px 0 0; font-size: clamp(20px, 2vw, 26px); font-weight: 300; line-height: 1.4; }
.captable { padding-top: 88px; }
.table-wrap { overflow-x: auto; }
.ctable { width: 100%; max-width: 860px; margin: 0 auto; border-collapse: collapse; font-size: 15.5px; }
.ctable th, .ctable td { padding: 16px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.ctable thead th { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.ctable tbody th { font-weight: 500; }
.ctable tbody th a:hover { color: var(--g6); text-decoration: underline; }
.ctable td { color: var(--text); }
.ctable .num { text-align: right; }
.ctable td.num { font-size: 22px; font-weight: 600; color: var(--g6); }

/* about page */
.intro { display: grid; grid-template-columns: 1.3fr 1fr; gap: 72px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.stats { list-style: none; margin: 0; padding: 0; }
.stats li { display: flex; align-items: center; gap: 22px; padding: 22px 0; border-top: 1px solid var(--line); }
.stats li:last-child { border-bottom: 1px solid var(--line); }
.stats b { width: 70px; flex: none; font-size: 56px; font-weight: 300; line-height: 1; color: var(--g6); text-align: center; }
.stats span { font-size: 17px; }
.why { background: var(--pale); padding: 96px 0; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-grid li { background: #fff; border: 1px solid var(--line); padding: 30px 28px; }
.why-grid .ic { width: 30px; height: 30px; color: var(--g6); margin-bottom: 18px; }
.why-grid p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.qc { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: center; margin-top: 96px; padding: 56px 48px; border-radius: 24px; overflow: hidden; }
.qc-copy p:last-child { margin: 14px 0 0; font-size: 17px; color: rgba(255, 255, 255, .86); }
.qc-boxes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qc-boxes li { background: #fff; color: var(--ink); padding: 26px 16px; text-align: center; }
.qc-boxes b { display: block; font-size: 19px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--g8); }
.qc-boxes span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--mut); }
.certs-detail { padding-top: 96px; scroll-margin-top: 140px; }
.cert-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert-detail { padding: 0 20px 22px; }
.cert-detail .cert-logo { height: 150px; margin: 0 -20px 18px; border-bottom: 1px solid var(--line); padding: 20px; }
.cert-detail .cert-logo img { max-height: 108px; }
.cert-detail .cert-logo img.wide { max-height: 70px; max-width: 84%; }
.cert-detail b { display: block; font-size: 17px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--g8); }
.cert-detail i { display: block; margin-top: 2px; font-style: normal; font-size: 13.5px; font-weight: 500; color: var(--g6); }
.cert-detail p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--text); }
.cert-seven { padding: 30px 24px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; }
.cert-seven b { font-size: 80px; font-weight: 300; line-height: .9; color: var(--hl); }
.cert-seven span { margin-top: 10px; font-size: 20px; line-height: 1.3; text-transform: uppercase; }
.cert-seven small { margin-top: 10px; font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .82); }
.fine { margin: 22px 0 0; text-align: center; font-size: 14px; color: var(--mut); }

/* contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 56px; align-items: start; padding-top: 80px; }
.cblock { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.cblock:first-child { padding-top: 0; }
.cblock > div { min-width: 0; }
.cblock > .ic { width: 26px; height: 26px; color: var(--g6); margin-top: 2px; }
.cl { margin: 0 0 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--mut); }
.cblock p, .cblock address { margin: 0; font-size: 16px; line-height: 1.6; }
.cblock address + p { margin-top: 10px; }
.cblock a:hover { color: var(--g6); text-decoration: underline; text-underline-offset: 3px; }
.cblock .big { font-size: 24px; font-weight: 500; line-height: 1.4; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--g6); }
.link-arrow .ic { width: 16px; height: 16px; }
.eform { border: 1px solid var(--line); padding: 36px; background: #fff; box-shadow: 0 10px 40px rgba(4, 38, 26, .06); scroll-margin-top: 140px; }
.form-note { margin: 12px 0 24px; font-size: 15px; color: var(--mut); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field > label, .field > legend { font-size: 14px; font-weight: 500; padding: 0; }
.field legend { margin-bottom: 8px; }
.field input:not([type="checkbox"]), .field textarea { width: 100%; font: inherit; font-size: 15px; padding: 12px 14px; color: var(--ink); background: #fff; border: 1px solid #c6d2cb; border-radius: 0; }
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--g6); outline-offset: -1px; border-color: var(--g6); }
.field input::placeholder { color: #8c9993; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); font-size: 14px; line-height: 1.3; cursor: pointer; }
.check:has(input:checked) { border-color: var(--g6); background: var(--g1); }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--g6); flex: none; }
.form-error { margin: 0 0 8px; color: #b42318; font-size: 14px; font-weight: 500; }
.eform .btns { margin-top: 8px; }
.mapwrap { display: grid; grid-template-columns: 1fr auto; gap: 24px; padding-top: 80px; }
.map { position: relative; min-height: 380px; background: var(--pale); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.qrs { display: flex; flex-direction: column; gap: 16px; }
.qrs figure { margin: 0; padding: 16px; border: 1px solid var(--line); text-align: center; }
.qrs img { width: 150px; height: 150px; }
.qrs figcaption { margin-top: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--g8); }

/* reveal on scroll (only when scripts run, and not for reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .wm-one { width: 360px; }
  .nav-list { gap: 30px; }
  .fgrid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- phone and small tablet: drawer menu ---------- */
@media (max-width: 960px) {
  :root { --gut: 20px; }
  html { scroll-padding-top: 90px; }
  .topbar, .loc, .hdr-brochure, .tagline { display: none; }
  .brandrow { grid-template-columns: 44px 1fr 44px; padding-top: 10px; padding-bottom: 10px; gap: 8px; }
  .is-scrolled .brandrow { padding-top: 8px; padding-bottom: 8px; }
  .icon-btn { display: grid; }
  .brand { justify-self: center; gap: 12px; }
  .badge, .is-scrolled .brand .badge { width: 44px; height: 44px; }
  .wm-one { display: none; }
  .wm-two { display: block; width: 168px; height: auto; }

  .mainnav { position: fixed; top: 0; bottom: 0; left: 0; z-index: 60; width: min(86vw, 360px); overflow-y: auto; border: 0; padding: 14px 22px 28px; background: var(--g8); transform: translateX(-102%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
  .nav-open .mainnav { transform: none; visibility: visible; transition: transform .3s ease; }
  .nav-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 10px; margin-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; }
  .nav-head .icon-btn { margin-right: -10px; }
  .nav-home { display: flex; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list > li { flex-wrap: wrap; justify-content: space-between; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .nav-list > li > a { padding: 15px 0; font-size: 17px; flex: 1; }
  .nav-list > li > a::after { display: none; }
  .nav-list > li > a[aria-current="page"] { color: var(--hl); }
  .dd-btn { width: 44px; height: 44px; }
  .dd-btn .ic { width: 20px; height: 20px; }
  .dd { position: static; width: 100%; transform: none; opacity: 1; visibility: visible; display: none; padding: 0 0 14px; background: transparent; color: #fff; box-shadow: none; transition: none; }
  .has-dd.open .dd { display: block; }
  .has-dd.open .dd-btn .ic { transform: rotate(180deg); }
  .dd ul { grid-template-columns: 1fr; gap: 2px; }
  .dd li a { padding: 6px 0; }
  .dd li a:hover { background: transparent; }
  .dd-thumb { width: 48px; height: 48px; background: #fff; border: 0; }
  .dd b { font-size: 15px; }
  .dd small { color: rgba(255, 255, 255, .7); }
  .dd-all { color: var(--hl); margin: 10px 0 0; }
  .nav-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
  .nav-dl { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 14.5px; font-weight: 500; opacity: .9; }
  .nav-scrim { display: block; position: fixed; inset: 0; z-index: 55; background: rgba(2, 20, 13, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  .nav-open .nav-scrim { opacity: 1; visibility: visible; transition: opacity .3s; }
  .nav-open { overflow: hidden; }

  body { padding-bottom: 64px; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; height: 64px; background: var(--g8); color: rgba(255, 255, 255, .72); box-shadow: 0 -4px 18px rgba(0, 0, 0, .15); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 11.5px; font-weight: 500; }
  .tabbar .ic { width: 21px; height: 21px; }
  .tabbar a[aria-current="page"] { color: #fff; }
  .wa-float { left: auto; right: 16px; bottom: 80px; width: 52px; height: 52px; }

  .mstrip ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 10px; padding-top: 22px; padding-bottom: 22px; }
  .mstrip a { width: auto; font-size: 12.5px; }
  .mstrip .thumb { width: 88px; height: 88px; }

  /* slides differ in height; keep each machine picture pinned to the bottom stage */
  .slide { display: flex; flex-direction: column; }
  .slide-in { flex: 1; display: flex; flex-direction: column; min-height: 0; }
  .slide-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 44px 0 40px; }
  .slide-art { flex: none; }
  .slide-art { height: 300px; padding: 22px 0 72px; }
  .hero-stage { left: 0; top: auto; height: 300px; }
  .hero-dots { left: calc(var(--gut) - 8px); bottom: 22px; }
  .hero-dots button::before { background: rgba(7, 53, 35, .3); }
  .hero-dots button[aria-current="true"]::before { background: var(--g8); }
  .hero-ctrl { bottom: 16px; }

  .trust ul { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
  .trust li { font-size: 12px; letter-spacing: .03em; align-items: flex-start; }

  .focus { grid-template-columns: 1fr; }
  .focus-copy { padding: 64px var(--gut); }
  .focus-art { min-height: 320px; }
  .focus-art img { top: 36px; left: var(--gut); width: calc(100% - 2 * var(--gut)); height: calc(100% - 72px); }

  .statement { padding-top: 72px; padding-bottom: 64px; }
  .duo { grid-template-columns: 1fr; padding-bottom: 72px; }
  .duo-card { min-height: 0; }
  .duo-art { min-height: 260px; }
  .processes { padding-bottom: 72px; }
  .ptiles { grid-template-columns: 1fr 1fr; }
  .certs { padding: 72px 0; }
  .cert-row { gap: 10px; }
  .cert-row .cert { width: calc((100% - 20px) / 3); max-width: 160px; height: auto; aspect-ratio: 1; padding: 14px; }
  .cta, .qc { flex-direction: column; align-items: flex-start; grid-template-columns: 1fr; padding: 40px 26px; margin-top: 72px; border-radius: 18px; }
  .pg-home .cta { margin-top: 72px; }
  .cta-btns { width: 100%; }
  .cta-btns .btn { min-width: 0; }
  .quote { padding-top: 64px; padding-bottom: 72px; }

  .mrow, .mrow:nth-child(even) { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .mrow:nth-child(even) .mrow-art { order: 0; }
  .captable { padding-top: 64px; }
  .intro { grid-template-columns: 1fr; gap: 40px; padding-top: 64px; padding-bottom: 64px; }
  .why { padding: 72px 0; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .certs-detail { padding-top: 72px; }
  .cert-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; }
  .mapwrap { grid-template-columns: 1fr; padding-top: 56px; }
  .qrs { flex-direction: row; }
  .qrs figure { flex: 1; }
  .spacer { height: 72px; }
}

@media (max-width: 600px) {
  .lead, .focus-text, .cta-copy p { font-size: 16px; }
  .slide-art, .hero-stage { height: 270px; }
  .ptile { aspect-ratio: 4 / 5; }
  .ptile img { top: 34px; left: 12px; width: calc(100% - 24px); height: calc(100% - 96px); }
  .ptile .chip { bottom: 14px; padding: 7px 10px; font-size: 11px; white-space: normal; text-align: center; width: max-content; max-width: calc(100% - 16px); }
  .ptile .pcap { top: 10px; left: 12px; font-size: 10.5px; }
  .why-grid, .cert-grid, .qc-boxes { grid-template-columns: 1fr; }
  .cert-grid { gap: 10px; }
  .cert-detail { display: grid; grid-template-columns: 88px 1fr; gap: 0 16px; align-items: start; padding: 16px; }
  .cert-detail .cert-logo { grid-row: 1 / 4; height: 88px; margin: 0; padding: 0; border: 0; }
  .cert-detail .cert-logo img, .cert-detail .cert-logo img.wide { max-height: 80px; max-width: 100%; }
  .cert-detail b { font-size: 15.5px; }
  .cert-detail p { margin-top: 6px; font-size: 14px; }
  .cert-seven { min-height: 0; }
  .qc-boxes li { padding: 18px 14px; }
  .row2, .checks { grid-template-columns: 1fr; gap: 0 16px; }
  .checks { gap: 8px; }
  .eform { padding: 26px 18px; margin: 0 calc(var(--gut) * -1 + 8px); }
  .fgrid { grid-template-columns: 1fr; gap: 34px; }
  .fbottom { flex-direction: column; }
  .btns .btn { flex: 1 1 auto; }
  .stats b { font-size: 46px; width: 56px; }
  .qrs img { width: 120px; height: 120px; }
  .map { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
