/* Wowie Inc showcase — one stylesheet. Colors come from the logo (green #006837, grey #b3b3b3). */
:root {
  --green: #006837;
  --green-deep: #0e3a2a;
  --green-ink: #0a2a1f;
  --sand: #f4efe6;
  --sand-2: #e9e0d0;
  --grey: #b3b3b3;
  --ink: #18201c;
  --muted: #59625c;
  --line: #e3ddd2;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(16, 32, 24, .06), 0 8px 24px rgba(16, 32, 24, .06);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;   /* the "Wowie" wordmark only (Jeff, Nov 11: headings in Inter) */
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); }
@media (hover: hover) and (pointer: fine) { a:hover { color: var(--green-deep); } }
h1, h2, h3 { font-family: var(--sans); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h3 { font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.i { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 860px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: var(--white); padding: 8px 12px; }
:focus-visible { outline: 3px solid #4f9d76; outline-offset: 2px; }

.eyebrow { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: .6em; }
.eyebrow.light { color: #bfe0cc; }
.lede { font-size: 1.12rem; color: var(--muted); max-width: 46rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .78em 1.25em; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--sans); transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn-primary { background: var(--green); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .btn-primary:hover { background: var(--green-deep); color: var(--white); } }
.btn-outline { border-color: var(--green); color: var(--green); background: transparent; }
@media (hover: hover) and (pointer: fine) { .btn-outline:hover { background: var(--green); color: var(--white); } }
.btn-light { background: var(--white); color: var(--green-deep); }
@media (hover: hover) and (pointer: fine) { .btn-light:hover { background: var(--sand); color: var(--green-deep); } }
.btn-outline-light { border-color: rgba(255,255,255,.6); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .btn-outline-light:hover { background: rgba(255,255,255,.12); color: var(--white); } }
.text-link { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; text-decoration: none; white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--serif); font-size: 1.45rem; font-weight: 600; }
.brand small { font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.brand img { width: 40px; height: auto; }
.brand-light { color: var(--white); }
.brand-light small { color: #bfe0cc; }
.main-nav { display: flex; align-items: center; gap: 2px; }
.nav-link, .nav-btn { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font: 500 .95rem var(--sans); background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav-link[aria-current="page"], .nav-btn[aria-current="page"], .has-menu.open > .nav-btn { color: var(--green); background: var(--sand); }
@media (hover: hover) and (pointer: fine) { .nav-link:hover, .nav-btn:hover { color: var(--green); background: var(--sand); } }
.nav-btn .i { width: 16px; height: 16px; transition: transform .15s; }
.has-menu.open > .nav-btn .i { transform: rotate(180deg); }
.nav-item { position: relative; }
.menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 260px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(16,32,24,.14); z-index: 60; }
.menu a { display: block; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .94rem; }
@media (hover: hover) and (pointer: fine) { .menu a:hover { background: var(--sand); color: var(--green); } }
.menu-wide { width: min(860px, 90vw); display: none; grid-template-columns: repeat(4, 1fr); gap: 4px 10px; }
.menu-col { display: flex; flex-direction: column; }
.menu .menu-head { font-family: var(--sans); font-weight: 600; font-size: 1.02rem; color: var(--green-deep); }
.menu-col a:not(.menu-head) { color: var(--muted); padding-top: 6px; padding-bottom: 6px; }
.menu .menu-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); border-radius: 0; font-weight: 600; color: var(--green); grid-column: 1 / -1; }
.has-menu.open > .menu { display: block; }
.has-menu.open > .menu-wide { display: grid; }
@media (hover: hover) and (min-width: 1081px) {
  .has-menu:hover > .menu { display: block; }
  .has-menu:hover > .menu-wide { display: grid; }
  .has-menu::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
}
.btn-shop { margin-left: 8px; background: var(--green); color: var(--white); padding: .62em 1.1em; }
@media (hover: hover) and (pointer: fine) { .btn-shop:hover { background: var(--green-deep); color: var(--white); } }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--ink); cursor: pointer; }
.nav-toggle .i { width: 28px; height: 28px; }
.nav-toggle .i + .i { display: none; }
.nav-toggle[aria-expanded="true"] .i { display: none; }
.nav-toggle[aria-expanded="true"] .i + .i { display: block; }

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 72px); max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .main-nav.open { display: flex; }
  .nav-link, .nav-btn { width: 100%; justify-content: space-between; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav-link:hover, .nav-btn:hover, .nav-link[aria-current="page"], .nav-btn[aria-current="page"], .has-menu.open > .nav-btn { background: none; }
  .menu, .menu-wide { position: static; width: auto; min-width: 0; box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 12px 12px; }
  .has-menu.open > .menu-wide { grid-template-columns: 1fr 1fr; }
  .btn-shop { margin: 16px 0 0; justify-content: center; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.wrap.section-tight { padding-inline: var(--gutter); }   /* keep the side gutter when both classes meet (contact, category, industries) */
.sand { background: var(--sand); }
.deep { background: var(--green-deep); color: var(--white); }
.deep h2, .deep h3 { color: var(--white); }
.section-head { margin-bottom: 32px; max-width: 760px; }
.section-head p { color: var(--muted); margin: 0; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.section-head.split h2 { margin-bottom: .2em; }

/* Hero */
.hero { background: radial-gradient(1200px 600px at 85% 20%, #175a40 0%, var(--green-deep) 55%, var(--green-ink) 100%); color: var(--white); padding: clamp(56px, 8vw, 104px) 0; overflow: hidden; }
.hero h1 { color: var(--white); max-width: 15ch; }
.hero .lede { color: #d5e7dc; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mosaic .m { background: var(--white); border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; box-shadow: 0 12px 30px rgba(0,0,0,.22); }
.mosaic .m img { width: 100%; height: 100%; object-fit: contain; }
.mosaic .m2, .mosaic .m4 { transform: translateY(28px); }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.services.three { grid-template-columns: repeat(3, 1fr); }
.service { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.service .num { font-family: var(--sans); font-weight: 700; color: var(--green); font-size: 1.1rem; display: block; margin-bottom: 18px; }
.service p { color: var(--muted); margin: 0; }

/* Custom page: example designs */
.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.case-img { aspect-ratio: 1; background: var(--sand); overflow: hidden; }
.case-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.23, 1, .32, 1); }
.case-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.case-body .eyebrow { margin-bottom: .4em; }
.case-body h3 { margin: 0 0 .35em; }
.case-body p { color: var(--muted); margin: 0 0 .6em; }
.case-body .case-made { font-size: .9rem; }
.case-made a { color: var(--green); font-weight: 600; }
.case-cta { margin-top: auto; align-self: flex-start; }
.case-body p + .case-cta, .case-made + .case-cta { margin-top: auto; }
.cases-note { margin: 16px 0 0; font-size: .85rem; color: var(--muted); }
.custom-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 32px; padding: 28px 32px; border-radius: var(--radius); background: var(--sand); }
.custom-cta h2 { margin: 0 0 .25em; }
.custom-cta p { margin: 0; color: var(--muted); }
@media (hover: hover) and (pointer: fine) { .case:hover .case-img img { transform: scale(1.03); } }
@media (max-width: 960px) { .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cases { grid-template-columns: 1fr; } .custom-cta { padding: 22px; } }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid.cats { grid-template-columns: repeat(3, 1fr); }
.grid.products { grid-template-columns: repeat(4, 1fr); }
.grid.products.small { grid-template-columns: repeat(4, 1fr); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s, border-color .2s; }
@media (hover: hover) and (pointer: fine) { .card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d4ccbe; color: var(--ink); } }
.card-img { aspect-ratio: 1; background: var(--white); border-bottom: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { padding: 16px 18px 20px; }
.card-body h3 { font-size: 1.05rem; margin: 0; }
.card-body p { color: var(--muted); font-size: .95rem; margin: .4em 0 0; }
.card-body .eyebrow { font-size: .7rem; margin-bottom: .4em; }
.cat-card .card-img { aspect-ratio: 4 / 3; }
.cat-card .card-body h3 { font-size: 1.25rem; }
.more { display: inline-flex; align-items: center; gap: .4em; margin-top: 12px; font-weight: 600; color: var(--green); font-size: .92rem; }

/* Industry tiles */
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind-grid.two { grid-template-columns: repeat(2, 1fr); }
.ind-tile { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); background: var(--tint, var(--sand)); transition: transform .2s, box-shadow .2s; }
@media (hover: hover) and (pointer: fine) { .ind-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--ink); } }
.ind-img { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 18px; }
.ind-img img { width: 72%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ind-body { padding: 0 20px 22px; }
.ind-body h3 { margin-bottom: .3em; }
.ind-body p { color: var(--muted); font-size: .95rem; margin: 0; }
.ind-tile.large .ind-img { aspect-ratio: 16 / 9; }
.ind-tile.large h2 { font-size: 1.6rem; margin-bottom: .3em; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.steps li { padding: 24px; border-radius: var(--radius); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.steps p { color: #cfe2d6; margin: 0; }
.steps.dark li { background: var(--white); border-color: var(--line); }
.steps.dark p { color: var(--muted); }
.step-num { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--white); color: var(--green-deep); font-weight: 600; margin-bottom: 16px; }
.steps.dark .step-num { background: var(--green); color: var(--white); }

/* Contact lines */
.contact-line { display: flex; align-items: center; gap: 10px; }
.newsletter { margin-top: 32px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.18); }
.newsletter label { display: block; font-weight: 600; margin-bottom: 10px; color: var(--white); }
.inline-field { display: flex; gap: 8px; }
.inline-field input { flex: 1; min-width: 0; }

/* Forms */
.panel { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-bottom: 22px; }
.form-grid .full { grid-column: 1 / -1; }
label, legend { display: block; font-weight: 500; font-size: .92rem; margin-bottom: 6px; color: var(--ink); }
.req { color: #b23b2a; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; padding: .7em .85em; border: 1.5px solid #d6d0c5; border-radius: 10px; background: var(--white); color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(0,104,55,.15); }
input[type="file"] { padding: .5em; }
fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }
fieldset legend { width: 100%; }
.check { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; margin: 0; }
.check input { width: auto; accent-color: var(--green); }
.hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.form-status { margin: 14px 0 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-info { padding: 12px 14px; border-radius: 10px; background: #fdf6e3; color: #6b5310; border: 1px solid #f0dfae; }
.form-status.is-ok { padding: 12px 14px; border-radius: 10px; background: #e5f3ea; color: #0e4f2d; }

/* Page head */
.page-head { background: var(--sand); padding: clamp(40px, 6vw, 72px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* Packaging index */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; }
.chip { display: inline-block; padding: .45em .95em; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .9rem; background: var(--white); }
@media (hover: hover) and (pointer: fine) { a.chip:hover { border-color: var(--green); color: var(--green); } }
.chip.static { background: var(--sand); border-color: var(--sand-2); }
.cat-block { padding: 40px 0 16px; border-bottom: 1px solid var(--line); }
.cat-block:last-child { border-bottom: 0; padding-bottom: 56px; }
.cat-block .section-head { margin-bottom: 24px; }

/* Product page */
.product-wrap { padding-top: 28px; padding-bottom: 48px; }
.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.gallery { position: sticky; top: 96px; }
.gallery-main { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 76px; height: 76px; padding: 0; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); cursor: pointer; }
.thumb.is-active { border-color: var(--green); }
.thumb img { width: 100%; height: 100%; object-fit: contain; }
.product-info h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.opt { margin: 18px 0; }
.opt h3 { font-family: var(--sans); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.opt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 34px; }
.specs, table.data { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 28px; }
.specs th, .specs td, table.data th, table.data td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; font-weight: 500; color: var(--muted); }
table.data thead th { font-weight: 600; background: var(--sand); }
.table-wrap { overflow-x: auto; }
.custom-note { padding: 18px 20px; border-radius: var(--radius); background: var(--sand); margin-bottom: 20px; }
.custom-note h3 { font-size: 1.05rem; margin-bottom: .3em; }
.custom-note p { margin: 0; color: var(--muted); }
.used-in { color: var(--muted); font-size: .95rem; }
/* Product labels (Jeff, Nov 8: labels instead of a description sentence) */
.labels { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 14px 0 22px; }
.labels li { padding: .38em .85em; border-radius: 999px; background: var(--sand); border: 1px solid var(--sand-2); color: var(--ink); font-size: .88rem; font-weight: 500; line-height: 1.3; }
.labels li.key { background: var(--green); border-color: var(--green); color: var(--white); }

/* Industry page */
.ind-hero { background: var(--tint, var(--sand)); padding: clamp(32px, 5vw, 56px) 0; }
.ind-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.ind-hero-img img { mix-blend-mode: multiply; max-height: 360px; margin: 0 auto; object-fit: contain; }
.other-inds { margin-top: 48px; }

/* Catalog / about */
.catalog-grid, .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about-grid { grid-template-columns: 1.4fr .6fr; }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list li { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cat-list span { color: var(--muted); font-size: .92rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .6em; }
.privacy { max-width: 720px; }
.privacy h2 { margin: 1.6em 0 .4em; }
.form-note { margin: 12px 0 0; font-size: .85rem; color: var(--muted); }
.form-note a { color: var(--green); font-weight: 600; }

/* Footer */
.site-footer { background: var(--green-ink); color: #c9dbd0; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #e7f1eb; text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--white); text-decoration: underline; } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #8fb9a1; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand p { margin: 12px 0 0; }
.footer-contact { display: flex; align-items: center; gap: 8px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: #8fb9a1; }

/* Responsive */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .grid.products, .grid.products.small { grid-template-columns: repeat(3, 1fr); }
  .ind-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .hero-grid, .product, .ind-hero-grid, .catalog-grid, .about-grid { grid-template-columns: 1fr; }
  .mosaic { max-width: 520px; }
  .grid.cats { grid-template-columns: repeat(2, 1fr); }
  .gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .services.three { grid-template-columns: 1fr; }
  .ind-hero-img { order: -1; }
  .ind-hero-img img { max-height: 220px; }
}
@media (max-width: 560px) {
  .ind-grid, .ind-grid.two, .steps, .services { grid-template-columns: 1fr; }
  .grid.cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cat-card .card-img { aspect-ratio: 1; }
  .cat-card .card-body h3 { font-size: 1rem; }
  .cat-card .card-body p { display: none; }
  .mosaic .m2, .mosaic .m4 { transform: translateY(16px); }
  .grid.products, .grid.products.small { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 12px 12px 14px; }
  .card-body h3 { font-size: .95rem; }
  .form-grid { grid-template-columns: 1fr; }
  .inline-field { flex-direction: column; }
  .btn { white-space: normal; }
  .hero-actions .btn, .actions .btn { flex: 1 1 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* v2 additions */
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; padding: 4px 10px; border-radius: 999px; background: var(--green); color: var(--white); font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.badge.soon { background: #8a6d1f; }
.card-img, .gallery-main { position: relative; }
.group-block { margin-bottom: 40px; }
.group-block h2, .group-block h3 { margin-bottom: 16px; }
.fit-note { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.ind-grid.three { grid-template-columns: repeat(3, 1fr); }
.who { color: var(--muted); }
.opt { font-weight: 400; color: var(--muted); font-size: .85rem; }
.contact-page { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: start; }
.contact-side p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.fact { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.fact-value { display: block; font-family: var(--sans); font-weight: 700; letter-spacing: -.02em; font-size: clamp(1.6rem, 3vw, 2.2rem); color: var(--green-deep); line-height: 1.1; }
.fact-label { display: block; margin-top: 6px; color: var(--muted); font-size: .92rem; }
.new-list { columns: 2; }
.stack { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.stack .btn { justify-content: center; }
.mosaic .m2, .mosaic .m4 { transform: translateY(28px); }
@media (max-width: 1080px) { .ind-grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .contact-page { grid-template-columns: 1fr; } .facts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ind-grid.three { grid-template-columns: 1fr; } .new-list { columns: 1; } .badge { top: 8px; left: 8px; font-size: .65rem; } }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: #b23b2a; }
.thumbs { flex-wrap: wrap; }
@media (max-width: 560px) { .thumb { width: 60px; height: 60px; } }

/* Industries dropdown: two columns on desktop */
.menu-two { width: 520px; }
.has-menu.open > .menu-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; }
@media (hover: hover) and (min-width: 1081px) { .has-menu:hover > .menu-two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 8px; } }
@media (max-width: 1080px) { .menu-two { width: auto; } .has-menu.open > .menu-two { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .has-menu.open > .menu-two, .has-menu.open > .menu-wide { grid-template-columns: 1fr; } }

/* Industry page: one row per industry, no product grids */
.chips.jump { margin: 0 0 28px; }
.ind-list { display: grid; gap: 18px; }
.ind-row { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding: 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: 96px; }
.ind-row:target { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,104,55,.12); }
.ind-row-img { background: var(--tint, var(--sand)); border-radius: 12px; aspect-ratio: 1; display: grid; place-items: center; padding: 18px; }
.ind-row-img img { width: 80%; height: 80%; object-fit: contain; mix-blend-mode: multiply; }
.ind-row-body h2 { font-size: 1.5rem; margin-bottom: .35em; }
.ind-why { font-size: 1.05rem; margin-bottom: .5em; }
.ind-fit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.ind-fit > span { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ind-fit .chips { margin: 0; }
@media (max-width: 640px) { .ind-row { grid-template-columns: 96px 1fr; gap: 16px; padding: 14px; align-items: start; } .ind-row-img { padding: 8px; } .ind-row-body h2 { font-size: 1.2rem; } }

/* Six industries: three per row on the home page; About facts stretch to fill the row */
.ind-grid { grid-template-columns: repeat(3, 1fr); }
.facts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
@media (max-width: 1080px) { .ind-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ind-grid { grid-template-columns: 1fr; } }

/* Industry application photos fill their frame (no tint blend) */
.ind-img.has-photo, .ind-row-img.has-photo { padding: 0; overflow: hidden; }
.ind-img.has-photo img.photo, .ind-row-img.has-photo img.photo { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: normal; }
.ind-tile .ind-img.has-photo { aspect-ratio: 4 / 3; }

/* Eight industries: four per row on wide screens */
@media (min-width: 1081px) { .ind-grid { grid-template-columns: repeat(4, 1fr); } }

/* Age check (Jeff, Nov 8). Shown only while <html> has .age-pending (set before paint when the cookie is missing). */
.age-gate { display: none; }
.age-pending body { overflow: hidden; }
.age-pending .age-gate { display: flex; position: fixed; inset: 0; z-index: 1000; align-items: center; justify-content: center; padding: 16px; background: var(--green-deep); }
.age-box { width: 100%; max-width: 420px; padding: 36px 28px; border-radius: var(--radius); background: var(--white); text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.age-box img { margin: 0 auto 14px; }
.age-box h2 { margin: 0 0 8px; }
.age-box p { color: var(--muted); margin: 0 0 22px; }
.age-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.age-box .age-refused { margin: 18px 0 0; color: #8a2f1f; font-weight: 500; }

/* Home conversion blocks (Nov 8, modeled on 168tw.ai): reassurance under the hero buttons, three paths, FAQ */
.hero-assure { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #cfe2d6; font-size: .92rem; }
.hero-assure li { display: flex; align-items: center; gap: 7px; }
.hero-assure .i { width: 1em; height: 1em; color: #8fd3a8; }
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.path { display: flex; flex-direction: column; align-items: flex-start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.path h3 { font-size: 1.35rem; margin-bottom: .4em; }
.path p:not(.eyebrow) { flex: 1; color: var(--muted); margin-bottom: 22px; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; cursor: pointer; list-style: none; font-weight: 600; font-size: 1.02rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .i { color: var(--green); transition: transform .2s var(--ease-out); }
.faq-item[open] summary .i { transform: rotate(45deg); }
.faq-item p { margin: 0 0 20px; color: var(--muted); max-width: 44rem; }
.faq-item .text-link { white-space: normal; }
.case-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--muted); font-size: .95rem; }
.case-note .i { color: var(--green); margin-top: .3em; }
@media (max-width: 820px) {
  .paths, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid { gap: 8px; }
  .faq-grid .section-head { margin-bottom: 16px; }
}

/* Motion polish, after Emil Kowalski's design-engineering rules: strong ease-out, press feedback,
   hover lift only where there is a real pointer, no tap flash. Reduced motion turns transitions off (above). */
:root { --ease-out: cubic-bezier(0.23, 1, 0.32, 1); }
html { -webkit-tap-highlight-color: transparent; }
.btn { transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .16s var(--ease-out); }
.btn:active { transform: scale(.97); }
.card, .ind-tile { transition: box-shadow .2s var(--ease-out), transform .2s var(--ease-out), border-color .2s ease; }
@media (hover: hover) and (pointer: fine) { .faq-item summary:hover { color: var(--green); } }

/* Phones (Emil Kowalski's mobile-native skill, Nov 9): every :hover above is gated to real pointers so a tap
   does not leave it stuck; taps fire without the double-tap delay; long-press does not select control labels;
   touch gets feedback on press instead. Real-phone check still needed (emulation does not show these). */
a, button, summary { touch-action: manipulation; }
.btn, .nav-btn, .nav-toggle, .chip, .thumb, .faq-item summary { user-select: none; -webkit-user-select: none; }
.nav-link:active, .nav-btn:active, .menu a:active { color: var(--green); }
.card:active, .ind-tile:active { transform: scale(.98); }

/* Worst case (Emil Kowalski's break-ui skill, Nov 9): on a 320px phone with text at 200%, long words
   (an email address, "Polypropylene", spec labels) widened grid columns past the screen. Grid children may
   shrink, and words break only when they cannot fit. */
.hero-grid > *, .paths > *, .faq-grid > *, .product > *, .ind-row > *, .footer-grid > *, .contact-page > *, .about-grid > * { min-width: 0; }
h1, h2, h3, .path p, .labels li { overflow-wrap: break-word; }
.specs th, .specs td, table.data td, .footer-contact a, .contact-line a { overflow-wrap: anywhere; }
body { overflow-wrap: break-word; }   /* an email address inside a sentence must not push the page wider */
.chip { max-width: 100%; overflow-wrap: anywhere; }
@media (max-width: 560px) { .path { padding: 22px 20px; } }

/* Guides (the blog), laid out like 168tw.ai/en/blog: cards by industry; an article with quick navigation, FAQ,
   a call to action and related guides */
.grid.guides { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-card .card-img { aspect-ratio: 16 / 10; overflow: hidden; }
.guide-card .card-img img { position: absolute; inset: 0; object-fit: contain; padding: 12px; }
.guide-card .card-img.is-photo img { object-fit: cover; padding: 0; }
.guide-card .card-body { display: flex; flex-direction: column; flex: 1; }
.guide-card .card-body h3 { font-size: 1.12rem; line-height: 1.25; }
.guide-meta { font-size: .85rem; color: var(--muted); margin: 12px 0 0; }
.guide-card .guide-meta { margin-top: auto; padding-top: 14px; }
.guide-chips { margin-top: 0; margin-bottom: 28px; }
.guide-chips .chip[aria-current="page"] { background: var(--green); border-color: var(--green); color: var(--white); }
.guide-more { margin: 28px 0 0; }

.guide-wrap { padding-top: 24px; }
.guide { display: grid; grid-template-columns: minmax(0, 1fr) 280px; grid-template-areas: "head aside" "body aside"; column-gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: 18px; }
.guide-head { grid-area: head; max-width: 760px; padding-bottom: 22px; margin-bottom: 26px; border-bottom: 1px solid var(--line); }
.guide-head .guide-meta { margin: 0; }
.guide-body > p:first-child { font-size: 1.12rem; }
.guide-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.guide-head .eyebrow a { color: inherit; text-decoration: none; }
.guide-head .lede { font-size: 1.1rem; margin-bottom: .6em; }
.guide-aside { grid-area: aside; position: sticky; top: 96px; display: grid; gap: 16px; }
.guide-body { grid-area: body; max-width: 760px; }
.toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: var(--white); }
.toc-title { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .7em; }
.toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; display: grid; gap: 9px; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 28px 1fr; font-size: .92rem; line-height: 1.35; }
.toc li::before { content: counter(toc, decimal-leading-zero); color: var(--green); font-weight: 600; font-variant-numeric: tabular-nums; }
.toc a { color: var(--ink); text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .toc a:hover { color: var(--green); text-decoration: underline; } }
.aside-cta { background: var(--sand); border-radius: var(--radius); padding: 18px 20px; }
.aside-cta-title { font-family: var(--sans); font-weight: 600; font-size: 1.12rem; margin-bottom: .3em; }
.aside-cta p { font-size: .92rem; color: var(--muted); }
.guide-body h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 1.8em 0 .5em; scroll-margin-top: 96px; }
.guide-body h3 { margin: 1.4em 0 .4em; }
.guide-body > p, .guide-body > ul li, .guide-body > ol li { font-size: 1.04rem; }
.guide-body table.data { margin: 8px 0 20px; font-size: .92rem; }
.guide-table th[scope="row"] { font-weight: 500; min-width: 150px; }
.guide-table td { white-space: nowrap; }
.guide-body .grid.guide-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .guide-body .grid.guide-products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.guide-table a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .guide-table a:hover { text-decoration: underline; } }
.callout { border-left: 4px solid var(--green); background: #f2f7f3; border-radius: 0 10px 10px 0; padding: 14px 18px; margin: 20px 0; }
.callout p { margin: 0; }
.guide-products { margin: 24px 0 8px; }
.guide-body .guide-products .card-body h3 { font-size: .98rem; }
.guide-faq { margin-top: 8px; }
.guide-faq .faq-item p { margin: 0 0 16px; }
.guide-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: var(--green-deep); border-radius: var(--radius); padding: 24px 28px; margin: 40px 0 24px; }
.guide-cta h2 { color: var(--white); margin: 0 0 .3em; font-size: 1.3rem; }
.guide-cta p { margin: 0; color: #cfe3d7; font-size: .95rem; }
.guide-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.guide-cta .btn-primary { background: var(--white); color: var(--green-deep); }
.guide-cta .btn-outline { border-color: rgba(255,255,255,.6); color: var(--white); }
@media (hover: hover) and (pointer: fine) {
  .guide-cta .btn-primary:hover { background: var(--sand); color: var(--green-deep); }
  .guide-cta .btn-outline:hover { background: rgba(255,255,255,.12); color: var(--white); }
}
.guide-foot { display: flex; align-items: center; gap: 10px 12px; flex-wrap: wrap; }
.guide-foot > span, .ind-guides > span { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.guide-foot .chips { margin: 0; }
.guide-note { font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 20px; }
.guide-related { border-top: 1px solid var(--line); margin-top: 32px; }
.ind-guides { margin-top: 16px; }
.ind-guides ul { margin: 6px 0 8px; padding-left: 1.1em; }
.ind-guides li { margin-bottom: 4px; }
.ind-guides .text-link { white-space: normal; font-size: .92rem; }
@media (max-width: 1080px) { .grid.guides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .guide { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "aside" "body"; }
  .guide-aside { position: static; margin: 0 0 28px; }
  .aside-cta { display: none; }
}
@media (max-width: 600px) {
  .grid.guides { grid-template-columns: minmax(0, 1fr); }
  .guide-cta { flex-direction: column; align-items: flex-start; padding: 22px; }
}

/* Cards use one typeface (Jeff, Nov 10: "字體太多", and Fraunces' curled j looked crooked in card titles).
   Card titles are Inter like the rest of the card. Since Nov 11 every heading is Inter (Jeff: "當然要換字體"); Fraunces is left
   for the "Wowie" wordmark. */
.card-body h3, .ind-body h3 { font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
.ind-body h3 { font-size: 1.08rem; }
.cat-card .card-body h3 { font-size: 1.12rem; }

/* Industry tiles with a photo: a white card like the product cards, with room between the photo and the
   title (Jeff, Nov 10: the titles sat right on the photos) */
.ind-tile:has(.ind-img.has-photo) { background: var(--white); border: 1px solid var(--line); }
.ind-img.has-photo + .ind-body { padding-top: 16px; }
