/* =========================================================================
   Hexacell — inner pages (about, products, product, applications, custom
   packaging, sustainability, contact, 404). Loaded after main.css.
   ========================================================================= */

/* ---------- Page hero (dark, connected honeycomb canvas) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: calc(var(--header-h) + clamp(40px, 2rem + 3vw, 88px)) 0 clamp(56px, 3rem + 3vw, 112px);
  background:
    radial-gradient(60% 80% at 85% 20%, rgb(0 122 162 / 0.55), transparent 70%),
    radial-gradient(40% 60% at 10% 100%, rgb(172 116 71 / 0.28), transparent 70%),
    linear-gradient(160deg, var(--blue-night), var(--blue-ink) 70%);
}
.ph-bg { position: absolute; inset: 0; z-index: -1; background: var(--hex-line-dark) center / 40px 69.3px; }
.ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 42 54 / 0.85), rgb(10 42 54 / 0.2) 60%, transparent); }
.ph-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.js .ph-bg:has(.ph-canvas) { background: none; }
.ph-inner { position: relative; display: grid; gap: clamp(32px, 2rem + 2vw, 64px); align-items: center; }
@media (min-width: 960px) { .ph-inner.has-media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.ph-copy { max-width: 720px; }
.ph-copy .breadcrumb { margin-bottom: 28px; color: var(--sky-ink); }
.ph-copy .h1 { margin-bottom: 20px; }
.ph-copy .lead { max-width: 54ch; }
.ph-copy .btn-row { margin-top: 32px; }
.ph-note { margin-top: 28px; max-width: 60ch; font-size: 0.88rem; color: var(--sky-ink); }
.ph-media { position: relative; }
.ph-render {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
  background: var(--stage, #b3b3b3);
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.08);
}
.ph-render img { width: 100%; height: 100%; object-fit: cover; }
.ph-render .tag-chip { position: absolute; left: 16px; top: 16px; }
.page-hero--compact { padding-bottom: clamp(48px, 2.5rem + 2vw, 88px); }
.page-hero--short .ph-copy .lead { margin-bottom: 0; }
.page-hero--kraft {
  background:
    radial-gradient(60% 80% at 85% 20%, rgb(201 151 106 / 0.45), transparent 70%),
    linear-gradient(160deg, var(--kraft-deep), var(--espresso) 75%);
}
.page-hero--kraft .ph-bg::after { background: linear-gradient(90deg, rgb(34 24 16 / 0.85), rgb(34 24 16 / 0.15) 65%, transparent); }

/* family jump links (products hero) */
.fam-jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.fam-jump__link {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 48px; padding: 4px 16px 4px 6px;
  border-radius: var(--r-pill);
  border: 1px solid rgb(255 255 255 / 0.2);
  background: rgb(255 255 255 / 0.06);
  color: var(--white);
  font-family: var(--font-ui); font-size: 0.88rem; font-weight: 700;
  text-decoration: none;
  transition: background-color var(--t-ui), border-color var(--t-ui), transform var(--t-ui) var(--ease-out);
}
.fam-jump__link .hex-badge { --hb: 34px; color: var(--peach); }
.fam-jump__link .hex-badge::before { opacity: 0.2; }
.fam-jump__n { display: grid; place-items: center; min-width: 22px; height: 22px; border-radius: 11px; background: rgb(255 255 255 / 0.14); font-size: 0.72rem; }
.fam-jump__link:hover { background: rgb(255 255 255 / 0.14); border-color: rgb(255 255 255 / 0.45); transform: translateY(-2px); }

/* ---------- Shared section variants ---------- */
.section--paper { background: var(--paper); }
.section--kraft { background: var(--kraft-paper) var(--hex-line-kraft) center / 34.64px 60px; }
.hex-badge--lg { --hb: 72px; }
.hex-badge--sm { --hb: 30px; }
.eyebrow .hex-badge--sm { margin-right: 2px; }

.product-grid { display: grid; gap: 20px; }
.product-grid > div { display: flex; }
.product-grid > div > .p-card { width: 100%; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1200px) { .product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.render-note { display: flex; gap: 10px; align-items: flex-start; max-width: 80ch; color: var(--muted); font-size: 0.9rem; }
.render-note svg { width: 20px; height: 20px; flex: none; color: var(--blue); margin-top: 2px; }

/* pending / placeholder card */
.pending-card {
  display: grid; gap: 24px 48px;
  padding: clamp(24px, 1rem + 2vw, 44px);
  border: 1.5px dashed rgb(172 116 71 / 0.55);
  border-radius: var(--r-lg);
  background: var(--peach-soft);
}
.pending-card .h3 { margin: 14px 0 10px; color: var(--espresso); }
.pending-card p { color: var(--muted); max-width: 60ch; }
@media (min-width: 900px) { .pending-card { grid-template-columns: 1.4fr 1fr; align-items: center; } }
.pending-list { display: grid; gap: 10px; }
.pending-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 16px; border-radius: var(--r-md); background: rgb(255 255 255 / 0.7); }
.pending-list dt { font-weight: 600; color: var(--espresso); }
.pending-list dd { color: var(--kraft-dark); font-size: 0.9rem; text-align: right; }

/* four inputs strip */
.inputs-strip { display: grid; gap: 16px; list-style: none; counter-reset: none; }
@media (min-width: 640px) { .inputs-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .inputs-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.input-step {
  position: relative;
  display: flex; flex-direction: column; gap: 8px;
  padding: 26px 24px 28px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui), border-color var(--t-ui);
}
.input-step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.input-step .hex-badge { margin-bottom: 10px; }
.input-step__idx { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.1em; color: var(--kraft-dark); }
.input-step p { color: var(--muted); font-size: 0.95rem; }
.inputs-strip--compact .input-step { background: var(--paper); border-color: transparent; }

/* ---------- About ---------- */
.fam-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .fam-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.fam-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: var(--paper) var(--hex-line-light) right -20px top -20px / 34.64px 60px no-repeat;
  border: 1px solid var(--line);
  transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui);
}
.fam-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.fam-card__count { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kraft-dark); margin-top: 8px; }
.fam-card .h3 { color: var(--espresso); }
.fam-card__list { list-style: none; display: grid; gap: 6px; margin: 8px 0 16px; }
.fam-card__list a {
  display: flex; align-items: center; gap: 12px;
  min-height: 52px; padding: 6px 10px 6px 6px;
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.fam-card__list img { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; background: var(--sky-soft); }
.fam-card__list a:hover { background: var(--sky-soft); color: var(--blue-deep); }
.fam-card .link-arrow { margin-top: auto; }

.about-structure { position: relative; overflow: hidden; background: var(--kraft-paper); }
.about-structure__canvas { position: absolute; inset: 0 0 0 auto; width: 100%; height: 100%; display: block; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 70%); mask-image: linear-gradient(90deg, transparent 30%, #000 70%); }
.about-structure__inner { position: relative; }
.about-structure__copy { max-width: 560px; padding: clamp(24px, 1rem + 2vw, 40px); margin-left: calc(-1 * clamp(24px, 1rem + 2vw, 40px)); border-radius: var(--r-lg); background: rgb(243 232 220 / 0.82); backdrop-filter: blur(6px); }
.about-structure .em { color: var(--kraft-dark); }
.about-structure .eyebrow { color: var(--kraft-dark); }
.about-structure .lead { color: var(--ink); }
.about-topics { list-style: none; display: grid; gap: 14px; margin-top: 28px; }
.about-topic { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow-sm); }
.about-topic__n { font-family: var(--font-ui); font-weight: 800; font-size: 0.8rem; color: var(--white); background: var(--kraft); width: 34px; height: 39px; display: grid; place-items: center; flex: none; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.about-topic .h3 { color: var(--espresso); margin-bottom: 4px; }
.about-topic p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 899px) {
  .about-structure__canvas { -webkit-mask-image: linear-gradient(180deg, transparent, #000 60%); mask-image: linear-gradient(180deg, transparent, #000 60%); }
  .about-structure__copy { margin-left: 0; }
}

/* ---------- Products listing ---------- */
.fam-section { scroll-margin-top: var(--header-h); }
.fam-section--alt { background: var(--paper); }
.fam-section__head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(28px, 1.5rem + 1.5vw, 48px); }
.fam-section__head .eyebrow { margin-bottom: 6px; }
.fam-section__head .hex-badge { color: var(--blue); }
.fam-section__count { margin-left: auto; }

/* ---------- Product page ---------- */
.pd-hero {
  padding: calc(var(--header-h) + 28px) 0 clamp(48px, 3rem + 2vw, 96px);
  background: linear-gradient(180deg, var(--paper), var(--white));
}
.pd-hero .breadcrumb { margin-bottom: 28px; color: var(--muted); }
.pd-grid { display: grid; gap: clamp(32px, 2rem + 2vw, 72px); align-items: start; }
@media (min-width: 960px) { .pd-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); } }
.pd-gallery { position: relative; }
@media (min-width: 960px) { .pd-gallery { position: sticky; top: calc(var(--header-h) + 20px); } }
.pg-stage {
  position: relative; overflow: hidden;
  aspect-ratio: 5 / 4;
  border-radius: var(--r-lg);
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
}
.pg-stage--render { background: var(--stage, #b3b3b3); }
.pg-stage--render .pg-main { width: 100%; height: 100%; object-fit: contain; }
.pg-stage--photo, .pg-stage--photo-cover {
  background: radial-gradient(circle at 50% 60%, #fff, rgb(255 255 255 / 0) 65%), var(--hex-line-light) center / 34.64px 60px, linear-gradient(180deg, var(--sky-soft), var(--paper));
}
.pg-stage--photo .pg-main { width: 66%; height: 78%; object-fit: contain; filter: drop-shadow(0 24px 24px rgb(var(--shadow-rgb) / 0.2)); }
.pg-stage--photo-cover .pg-main { width: 100%; height: 100%; object-fit: cover; }
.pg-main { transition: opacity 260ms var(--ease-out), transform 600ms var(--ease-out); }
.pg-main.is-swapping { opacity: 0; transform: scale(0.98); }
.pg-chip { position: absolute; left: 16px; top: 16px; }
.pg-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pg-thumb {
  position: relative;
  width: 76px; aspect-ratio: 1;
  padding: 0; overflow: hidden;
  border-radius: var(--r-md);
  border: 2px solid transparent;
  background: var(--sky-soft);
  cursor: pointer;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.pg-thumb--render { background: var(--stage, #b3b3b3); }
.pg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumb--photo img { object-fit: contain; padding: 6px; }
.pg-thumb:hover { transform: translateY(-2px); }
.pg-thumb[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 3px rgb(var(--brand-rgb) / 0.18); }
.pd-copy .eyebrow { margin-bottom: 14px; }
.pd-copy .h1 { color: var(--espresso); margin-bottom: 18px; }
.pd-copy .btn-row { margin-top: 28px; }
.pd-notes { margin-top: 36px; padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.pd-notes__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-notes ul { list-style: none; display: grid; gap: 10px; }
.pd-notes li { position: relative; padding-left: 26px; color: var(--ink); }
.pd-notes li::before { content: ""; position: absolute; left: 0; top: 0.42em; width: 12px; height: 13.8px; background: var(--kraft); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }

.fit-section { background: var(--blue-ink); }
.fit-section .eyebrow { color: var(--sky-ink); }
.fit-section .eyebrow .idx { color: var(--peach); }
.fit-section .h2 { color: var(--white); }
.fit-section .em { color: var(--peach); }
.fit-section .lead { color: rgb(255 255 255 / 0.78); }
.fit-section .placeholder-flag { color: var(--peach); background: rgb(244 199 167 / 0.08); }
.fit-section .render-tile figcaption { color: var(--white); }
.fit-section .rt-group { background: rgb(255 255 255 / 0.1); color: var(--sky-ink); }

/* render grid + tiles */
.render-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .render-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .render-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.render-tile { display: flex; flex-direction: column; gap: 12px; }
.rt-media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  background: var(--stage, #b3b3b3);
  cursor: zoom-in;
}
.rt-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1000ms var(--ease-out); }
.rt-media:hover img, .rt-media:focus-visible img { transform: scale(1.06); }
.rt-zoom {
  position: absolute; right: 14px; bottom: 14px;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgb(255 255 255 / 0.92); color: var(--blue-deep);
  opacity: 0; transform: translateY(8px) scale(0.9);
  transition: opacity var(--t-ui), transform var(--t-ui) var(--ease-spring);
}
.rt-zoom svg { width: 20px; height: 20px; }
.rt-media:hover .rt-zoom, .rt-media:focus-visible .rt-zoom { opacity: 1; transform: none; }
@media (hover: none) { .rt-zoom { opacity: 1; transform: none; } }
.render-tile figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--espresso); }
.rt-group { padding: 3px 10px; border-radius: var(--r-pill); background: var(--sky-soft); color: var(--blue-deep); font-family: var(--font-ui); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

/* specs */
.pd-specs { display: grid; gap: 32px 64px; align-items: start; }
@media (min-width: 960px) { .pd-specs { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.pd-specs .lead { margin-top: 16px; }
.spec-card { padding: 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.spec-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { padding: 14px 4px; border-top: 1px solid var(--line); text-align: left; font-size: 0.95rem; }
.spec-table th { font-weight: 600; color: var(--espresso); width: 50%; }
.spec-table td { color: var(--kraft-dark); font-style: italic; }
.pd-inputs { padding-top: 0; }
.related-section { background: var(--paper); }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100vw; max-width: none; height: 100vh; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgb(10 20 26 / 0.94);
  color: var(--white);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(0 0 0 / 0.6); }
.lb-figure { display: grid; justify-items: center; gap: 14px; padding: 64px 16px; }
.lb-img { max-width: min(92vw, 1400px); max-height: calc(100vh - 160px); width: auto; height: auto; border-radius: var(--r-md); object-fit: contain; transition: opacity 220ms; }
.lightbox.is-swapping .lb-img { opacity: 0.25; }
.lb-cap { color: var(--sky-ink); text-align: center; }
.lightbox .icon-btn { position: absolute; background: rgb(255 255 255 / 0.1); color: var(--white); border-color: rgb(255 255 255 / 0.25); width: 48px; height: 48px; }
.lightbox .icon-btn:hover { background: var(--white); color: var(--espresso); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } }

/* ---------- Applications ---------- */
.app-blocks { display: grid; gap: clamp(56px, 3rem + 3vw, 120px); }
.app-block { display: grid; gap: 32px 64px; align-items: center; }
@media (min-width: 960px) {
  .app-block { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); }
  .app-block--flip .app-mosaic { order: 2; }
}
.app-mosaic { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.am-lead, .am-small { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--stage, #b3b3b3); }
.am-lead { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.am-small { aspect-ratio: 1; border-radius: var(--r-md); }
.am-lead img, .am-small img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.app-block:hover .am-lead img { transform: scale(1.05); }
.app-block__copy .h2 { color: var(--espresso); margin-bottom: 16px; }
.app-block__copy .lead { margin-bottom: 24px; }
.app-block__label { margin-bottom: 12px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-bottom: 28px; }
.chip-list a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); color: var(--ink); font-size: 0.9rem; font-weight: 500; text-decoration: none; transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast); }
.chip-list a:hover { background: var(--sky-soft); border-color: var(--sky); color: var(--blue-deep); }

.other-apps__title { margin-bottom: 20px; color: var(--espresso); }
.other-apps { display: grid; gap: 16px; }
@media (min-width: 640px) { .other-apps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.other-app { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: var(--r-lg); background: var(--stage); text-decoration: none; }
.other-app img { width: 100%; height: 100%; object-fit: cover; transition: transform 1000ms var(--ease-out); }
.other-app span { position: absolute; left: 12px; bottom: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 14px; border-radius: var(--r-md); background: rgb(255 255 255 / 0.94); color: var(--espresso); font-weight: 600; }
.other-app span svg { width: 14px; height: 14px; color: var(--blue); transition: transform var(--t-ui) var(--ease-out); }
.other-app:hover img { transform: scale(1.06); }
.other-app:hover span svg { transform: translateX(4px); }

/* ---------- Custom packaging ---------- */
.brief-grid { display: grid; gap: 32px 64px; align-items: start; }
@media (min-width: 960px) { .brief-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.brief-visual__frame { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--paper); }
.brief-visual__frame img { width: 100%; height: 100%; object-fit: cover; transition: opacity 260ms var(--ease-out), transform 800ms var(--ease-out); }
.brief-visual__frame img.is-swapping { opacity: 0; transform: scale(1.03); }
.brief-visual figcaption { margin-top: 14px; }
@media (min-width: 960px) { .brief-visual { position: sticky; top: calc(var(--header-h) + 24px); } }
.brief-acc .acc-item:first-child { border-top: 1px solid var(--line); }
.acc-trigger { gap: 16px; }
.acc-num { font-family: var(--font-ui); font-size: 0.75rem; font-weight: 800; color: var(--kraft-dark); letter-spacing: 0.08em; min-width: 26px; }
.acc-label { flex: 1; }
.acc-item h3 { font: inherit; }
.brief-acc .acc-panel p { padding-left: 42px; }

.reel-section { position: relative; overflow: hidden; isolation: isolate; }
.reel-bg { position: absolute; inset: 0; z-index: -1; background: var(--hex-line-dark) center / 40px 69.3px, radial-gradient(50% 70% at 80% 50%, rgb(0 122 162 / 0.4), transparent 70%), linear-gradient(160deg, var(--blue-ink), var(--espresso)); }
.reel-grid { display: grid; gap: 40px 64px; align-items: center; }
@media (min-width: 960px) { .reel-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.reel-section .lead { margin-top: 16px; }
.reel-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 28px; }
.reel-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 4px 14px 4px 4px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.08); border: 1px solid rgb(255 255 255 / 0.16); font-family: var(--font-ui); font-weight: 700; font-size: 0.85rem; color: var(--white); }
.reel-chip__img { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--stage); }
.reel-chip__img img { width: 100%; height: 100%; object-fit: cover; }
.reel-player { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--r-lg); background: #b3b3b3; box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.7); }
.reel-player video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  display: inline-flex; align-items: center; gap: 12px;
  min-height: 56px; padding: 6px 22px 6px 6px;
  border: 0; border-radius: var(--r-pill);
  background: var(--white); color: var(--espresso);
  font-family: var(--font-ui); font-weight: 700; font-size: 0.9rem; white-space: nowrap;
  box-shadow: var(--shadow-lg); cursor: pointer;
  transition: transform var(--t-ui) var(--ease-spring), opacity var(--t-ui), top var(--t-ui) var(--ease-out);
}
.reel-play:hover { transform: translate(-50%, -50%) scale(1.04); }
.reel-play__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: var(--white); }
.reel-play__ico svg { width: 18px; height: 18px; }
.reel-play .i-pause, .is-playing .reel-play .i-play { display: none; }
.is-playing .reel-play .i-pause { display: block; }
.is-playing .reel-play { top: auto; bottom: 16px; transform: translate(-50%, 0) scale(0.9); opacity: 0.85; }
.is-playing .reel-play:hover { opacity: 1; transform: translate(-50%, 0) scale(0.94); }
.reel-chip { position: absolute; left: 16px; top: 16px; }


/* ---------- Sustainability ---------- */
.sus-grid { display: grid; gap: 20px; }
@media (min-width: 900px) { .sus-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.sus-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); transition: transform var(--t-ui) var(--ease-out), box-shadow var(--t-ui); }
.sus-card .hex-badge { color: var(--kraft); margin-bottom: 8px; }
.sus-card .h3 { color: var(--espresso); }
.sus-card p { color: var(--muted); }
.sus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.section--kraft .em, .section--kraft .eyebrow { color: var(--kraft-dark); }
.section--kraft .eyebrow .idx { color: var(--kraft-deep); }
.mat-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mat-tile__media { overflow: hidden; border-radius: var(--r-lg); background: var(--white); height: 100%; }
.mat-tile { display: flex; flex-direction: column; gap: 10px; }
.mat-tile figcaption { color: var(--kraft-deep); }
.mat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.mat-tile:hover img { transform: scale(1.04); }
.mat-tile--tall .mat-tile__media { aspect-ratio: 3 / 4; }
.mat-tile--wide { grid-column: 1 / -1; }
.mat-tile--wide .mat-tile__media { aspect-ratio: 16 / 10; }
.mat-tile--product .mat-tile__media { aspect-ratio: 1; display: grid; place-items: center; background: var(--white) var(--hex-line-kraft) center / 34.64px 60px; }
.mat-tile--product img { width: 72%; height: 72%; object-fit: contain; }
.mat-tile--product.is-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .mat-grid { grid-template-columns: 1fr 1.6fr 1fr; grid-template-rows: auto auto; gap: 20px; }
  .mat-tile--tall { grid-row: span 2; }
  .mat-tile--wide { grid-column: 2; grid-row: span 2; }
  .mat-tile--tall .mat-tile__media, .mat-tile--wide .mat-tile__media { aspect-ratio: auto; height: 100%; min-height: 420px; }
}

/* ---------- Contact ---------- */
.contact-section { background: var(--paper); }
.contact-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.8fr); gap: 32px; } }
.form-card { padding: clamp(20px, 1rem + 2vw, 44px); border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-md); }
.form-banner { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; margin-bottom: 28px; border-radius: var(--r-md); background: var(--peach-soft); border: 1px dashed rgb(172 116 71 / 0.6); color: var(--ink); font-size: 0.92rem; }
.form-banner svg { width: 20px; height: 20px; flex: none; color: var(--kraft-dark); margin-top: 1px; }
.enquiry-form { display: grid; gap: 20px; }
.form-two { display: grid; gap: 20px; }
@media (min-width: 640px) { .form-two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; align-content: start; }
.field-label { font-weight: 600; font-size: 0.95rem; color: var(--espresso); }
.field-label .req, .field-label .opt { font-weight: 400; font-size: 0.82rem; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid #d7cbc2;
  border-radius: var(--r-md);
  background: var(--white);
  font: inherit; color: var(--espresso);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #9a877a; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--sky); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgb(var(--brand-rgb) / 0.16); }
.field [aria-invalid="true"] { border-color: var(--error); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 40px; }
.select-wrap::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.field-error { color: var(--error); font-size: 0.88rem; font-weight: 500; }
.error-summary { padding: 16px 18px; margin-bottom: 20px; border-radius: var(--r-md); border: 2px solid var(--error); background: #fdf1f1; color: var(--error); }
.error-summary ul { margin: 8px 0 0 18px; }
.error-summary a { color: var(--error); font-weight: 600; }
.enquiry-preset { margin-bottom: 20px; padding: 12px 16px; border-radius: var(--r-md); background: var(--sky-soft); color: var(--blue-deep); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 4px; }
.form-note { font-size: 0.85rem; color: var(--muted); max-width: 40ch; }
.enquiry-preview .h3 { color: var(--espresso); }
.preview-notice { display: inline-block; margin: 10px 0 20px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--peach-soft); color: var(--kraft-deep); font-weight: 600; font-size: 0.9rem; }
.preview-list { display: grid; gap: 0; margin-bottom: 24px; border-top: 1px solid var(--line); }
.preview-row { display: grid; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .preview-row { grid-template-columns: 200px 1fr; } }
.preview-row dt { font-weight: 600; color: var(--espresso); }
.preview-row dd { color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-aside { display: grid; gap: 20px; }
@media (min-width: 1000px) { .contact-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.aside-card { padding: 24px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.aside-card > .caption { margin-bottom: 16px; }
.aside-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.aside-steps { list-style: none; display: grid; gap: 14px; }
.aside-steps li { display: flex; gap: 14px; align-items: flex-start; }
.aside-steps strong { display: block; color: var(--espresso); }
.aside-steps span:not(.hex-badge) { display: block; font-size: 0.9rem; color: var(--muted); }
.aside-card--details { background: var(--peach-soft); border-style: dashed; border-color: rgb(172 116 71 / 0.5); }
.contact-dl { display: grid; gap: 10px; }
.contact-dl div { display: grid; gap: 2px; }
.contact-dl dt { font-weight: 600; color: var(--espresso); font-size: 0.9rem; }
.contact-dl dd { color: var(--kraft-dark); font-size: 0.9rem; font-style: italic; }

/* ---------- 404 ---------- */
.nf {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background: radial-gradient(60% 70% at 70% 40%, rgb(0 122 162 / 0.5), transparent 70%), linear-gradient(160deg, var(--blue-night), var(--blue-ink));
}
.nf-canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }
.nf-inner { text-align: center; display: grid; justify-items: center; }
.nf-code { display: flex; align-items: center; gap: 0.1em; font-family: var(--font-ui); font-weight: 800; font-size: clamp(5rem, 3rem + 10vw, 11rem); line-height: 1; color: var(--white); letter-spacing: -0.04em; margin-bottom: 24px; }
.nf-hex { display: inline-block; width: 0.78em; color: var(--peach); }
.nf-hex svg { width: 100%; height: auto; display: block; }
.js-motion .nf-hex svg { animation: nf-spin 14s linear infinite; }
@keyframes nf-spin { to { transform: rotate(360deg); } }
.nf .lead { margin: 16px 0 32px; }
.nf .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  .rt-media img, .am-lead img, .other-app img, .mat-tile img, .input-step, .fam-card, .sus-card { transition: none !important; }
}

/* compact mobile layouts */
@media (max-width: 639px) {
  .input-step { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; row-gap: 2px; padding: 20px; }
  .input-step .hex-badge { grid-row: span 3; margin: 0; --hb: 46px; }
  .render-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .render-tile figcaption { font-size: 0.88rem; }
  .rt-group { display: none; }
  .rt-zoom { width: 34px; height: 34px; right: 8px; bottom: 8px; }
  .rt-zoom svg { width: 16px; height: 16px; }
}
@media (min-width: 640px) and (max-width: 999px) { .related-section .product-grid > div:nth-child(3) { display: none; } }

/* =====================================================================
   v2 (11 Oct 2026): About quality, Career, Job, Blog, Post
   ===================================================================== */

/* sample badge (career + blog) */
.sample-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: var(--r-pill);
  background: var(--espresso); color: var(--peach);
  font-family: var(--font-ui); font-size: 0.66rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  white-space: nowrap;
}
.sample-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--peach); }
.on-dark .sample-badge { background: var(--peach); color: var(--espresso); }
.on-dark .sample-badge::before { background: var(--kraft-deep); }

/* About: quality */
.about-process-link { margin-top: 24px; }
.quality-card {
  display: grid; gap: 20px; align-items: center;
  padding: clamp(24px, 1rem + 2vw, 40px); border-radius: var(--r-lg);
  background: linear-gradient(120deg, var(--blue-deep), var(--blue-night)); color: var(--white);
  box-shadow: var(--shadow-md);
}
@media (min-width: 700px) { .quality-card { grid-template-columns: auto 1fr; gap: 28px; } }
.quality-card__hex {
  display: grid; place-items: center; width: 76px; height: 88px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: rgb(244 199 167 / 0.16); color: var(--peach);
}
.quality-card__hex svg { width: 38px; }
.quality-card .eyebrow { color: var(--sky-ink); }
.quality-card .h3 { margin: 8px 0 8px; color: var(--white); font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); }
.quality-card p:last-child { color: var(--sky-ink); max-width: 62ch; }

/* filter chips (career + blog) */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); color: var(--ink);
  font-family: var(--font-ui); font-size: 0.88rem; font-weight: 700; cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.filter-chip span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--paper); font-size: 0.74rem; color: var(--muted); }
.filter-chip:hover { border-color: var(--blue); color: var(--blue-deep); }
.filter-chip[aria-pressed="true"] { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--white); }
.filter-chip[aria-pressed="true"] span { background: rgb(255 255 255 / 0.18); color: var(--white); }
.filter-chip:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.filter-count { margin: 18px 0 14px; color: var(--muted); }
.is-entering { animation: card-in 600ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Career hero photo */
.ph-photo { position: relative; overflow: hidden; aspect-ratio: 5 / 4; border-radius: var(--r-lg); box-shadow: 0 40px 80px -30px rgb(0 0 0 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.08); }
.ph-photo img { width: 100%; height: 100%; object-fit: cover; }
.ph-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, transparent 50%, rgb(0 56 75 / 0.35)); }

/* Why */
.why-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .why-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.why-card {
  position: relative; padding: 28px 24px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line);
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out), background-color 400ms;
}
.why-card .hex-badge { margin-bottom: 20px; }
.why-card .h3 { color: var(--espresso); margin-bottom: 8px; }
.why-card p { color: var(--muted); }
.why-card:hover { transform: translateY(-4px); background: var(--white); box-shadow: var(--shadow-md); }

/* Culture */
.culture-section { background: var(--kraft-paper); overflow: hidden; }
.culture-bg { position: absolute; inset: 0; background: var(--hex-line-kraft) center / 48px 83.1px; -webkit-mask-image: radial-gradient(ellipse at 0% 100%, #000, transparent 60%); mask-image: radial-gradient(ellipse at 0% 100%, #000, transparent 60%); }
.culture-grid { position: relative; display: grid; gap: 32px 64px; align-items: start; }
@media (min-width: 960px) { .culture-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.culture-grid .lead { margin: 16px 0 18px; color: var(--muted); }
.value-list { list-style: none; display: grid; gap: 0; border-top: 1px solid rgb(172 116 71 / 0.3); }
.value-item { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid rgb(172 116 71 / 0.3); }
.value-item__n { font-size: 2.2rem; font-weight: 300; line-height: 1; letter-spacing: -0.04em; color: var(--kraft-dark); }
.value-item__t { font-size: var(--fs-h3); font-weight: 600; color: var(--espresso); margin-bottom: 4px; }
.value-item p { color: var(--ink); }

/* Jobs */
.jobs-section { background: var(--white); }
.jobs-note, .jd-note, .post-sample-note {
  display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md);
  background: var(--peach-soft); border: 1px dashed rgb(172 116 71 / 0.6); color: var(--ink); font-size: 0.92rem;
}
.jobs-note svg, .jd-note svg, .post-sample-note svg, .post-note svg { width: 20px; height: 20px; flex: none; color: var(--kraft-dark); margin-top: 1px; }
.job-list { list-style: none; display: grid; gap: 14px; }
.job-card {
  position: relative; display: grid; gap: 18px 32px; padding: 26px clamp(20px, 1rem + 1.5vw, 32px);
  border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line);
  transition: border-color 400ms, box-shadow 500ms var(--ease-out), background-color 400ms, transform 500ms var(--ease-out);
}
@media (min-width: 1000px) { .job-card { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; align-items: center; } }
.job-card::before { content: ""; position: absolute; left: -1px; top: 22px; bottom: 22px; width: 4px; border-radius: 0 4px 4px 0; background: var(--kraft); transform: scaleY(0); transition: transform 450ms var(--ease-out); }
.job-card:hover, .job-card:focus-within { background: var(--white); border-color: rgb(var(--brand-rgb) / 0.25); box-shadow: var(--shadow-md); }
.job-card:hover::before, .job-card:focus-within::before { transform: none; }
.job-card__tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 10px; }
.job-dept { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-deep); }
.eyebrow .job-dept { margin-right: 10px; }
.job-card__title { font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; }
.job-card__title a { color: var(--espresso); text-decoration: none; }
.job-card__title a:hover { color: var(--blue-deep); }
.job-card__sum { margin-top: 6px; color: var(--muted); max-width: 60ch; }
.job-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 20px; margin: 0; }
.job-meta > div { min-width: 0; }
.job-meta dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.job-meta dd { margin: 2px 0 0; font-size: 0.92rem; color: var(--espresso); font-weight: 500; }
@media (max-width: 520px) { .job-meta { grid-template-columns: 1fr 1fr; } }
.job-card__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.job-apply {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--r-pill);
  border: 1.5px solid var(--blue); color: var(--blue-deep); font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.job-apply:hover { background: var(--blue); color: var(--white); }

/* Apply */
.apply-section { background: var(--paper); }
.apply-grid { display: grid; gap: 32px 56px; align-items: start; }
@media (min-width: 1000px) { .apply-grid { grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr); } .apply-intro { position: sticky; top: calc(var(--header-h) + 32px); } }
.apply-intro .lead { margin-top: 16px; color: var(--muted); }
.apply-points { list-style: none; display: grid; gap: 10px; margin-top: 24px; }
.apply-points li { display: flex; gap: 10px; align-items: center; color: var(--ink); }
.apply-points svg { width: 20px; height: 20px; color: var(--blue); flex: none; }
.field-hint { font-size: 0.85rem; color: var(--muted); margin-top: -4px; }
.field-count { justify-self: end; font-size: 0.8rem; color: var(--muted); }
.file-drop {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 84px; padding: 16px 18px;
  border: 1.5px dashed #c9b8ab; border-radius: var(--r-md); background: var(--paper);
  transition: border-color var(--t-fast), background-color var(--t-fast);
}
.file-drop:hover, .file-drop:focus-within { border-color: var(--blue); background: var(--sky-soft); }
.file-drop.has-file { border-style: solid; border-color: var(--blue); background: var(--white); }
.file-drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; opacity: 0; cursor: pointer; }
.file-drop:focus-within { box-shadow: 0 0 0 4px rgb(var(--brand-rgb) / 0.16); }
.file-drop__ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--white); color: var(--blue); box-shadow: var(--shadow-sm); }
.file-drop__ico svg { width: 24px; height: 24px; }
.file-drop__text { display: grid; gap: 2px; font-size: 0.92rem; color: var(--ink); }
.file-drop__text strong { color: var(--blue-deep); }
.file-drop__text [data-file-name] { font-size: 0.84rem; color: var(--muted); overflow-wrap: anywhere; }
.field:has([aria-invalid="true"]) .file-drop { border-color: var(--error); }

/* Job detail */
.job-hero { padding: calc(var(--header-h) + clamp(28px, 1.5rem + 2vw, 56px)) 0 clamp(40px, 2rem + 2vw, 72px); background: linear-gradient(180deg, var(--sky-soft), var(--paper)); }
.job-hero .breadcrumb { margin-bottom: 28px; }
.job-hero__grid { display: grid; gap: 32px 56px; align-items: start; }
@media (min-width: 1000px) { .job-hero__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); align-items: end; } }
.job-hero .h1 { margin: 10px 0 16px; color: var(--espresso); }
.job-hero .lead { color: var(--muted); max-width: 58ch; }
.job-hero .btn-row { margin-top: 28px; }
.job-facts { display: grid; gap: 0; padding: 8px 24px; border-radius: var(--r-lg); background: var(--white); box-shadow: var(--shadow-md); }
.job-facts > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.job-facts > div:last-child { border-bottom: 0; }
.job-facts dt { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.job-facts dd { font-weight: 600; color: var(--espresso); font-size: 0.95rem; }
.sample-dot { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--kraft); vertical-align: 1px; }
.job-layout { display: grid; gap: 40px 64px; align-items: start; }
@media (min-width: 1000px) { .job-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); } .job-aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.job-jd { max-width: 72ch; }
.job-jd .jd-note { margin-bottom: 32px; }
.job-jd .h3 { margin: 32px 0 12px; color: var(--espresso); }
.job-jd .h3:first-of-type { margin-top: 0; }
.job-jd p { color: var(--ink); }
.job-jd p a { color: var(--blue-deep); font-weight: 600; }
.jd-list { list-style: none; display: grid; gap: 10px; }
.jd-list li { position: relative; padding-left: 28px; color: var(--ink); }
.jd-list li::before { content: ""; position: absolute; left: 2px; top: 0.45em; width: 12px; height: 14px; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--blue); }
.jd-list--soft li::before { background: var(--kraft-light); }
.job-aside { display: grid; gap: 16px; }
.job-apply-card p { color: var(--muted); margin: 8px 0 16px; }
.job-apply-card .form-note { margin: 12px 0 0; }
.other-roles { list-style: none; display: grid; gap: 4px; margin-top: 12px; }
.other-roles a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 12px; margin: 0 -12px; border-radius: 12px; text-decoration: none; color: var(--espresso); transition: background-color var(--t-fast); }
.other-roles a span { grid-column: 1; font-size: 0.82rem; color: var(--muted); }
.other-roles a svg { grid-row: 1 / 3; grid-column: 2; width: 14px; height: 14px; color: var(--blue); }
.other-roles a:hover { background: var(--sky-soft); }

/* Blog list */
.blog-section { background: var(--paper); }
.post-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .post-grid:not(.post-grid--2) { grid-template-columns: repeat(3, minmax(0, 1fr)); } .post-grid:not(:has(> :nth-child(4))) { grid-template-columns: repeat(2, minmax(0, 1fr)); } } /* feature + 2 posts: two even columns */
.post-card {
  display: flex; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out);
}
.post-card:hover, .post-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--stage, #b3b3b3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.post-card__tags { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.post-cat { font-family: var(--font-ui); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kraft-dark); text-decoration: none; }
a.post-cat:hover { color: var(--blue-deep); }
.eyebrow .post-cat { margin-right: 10px; }
.post-card__title { font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }
.post-card__title a { color: var(--espresso); text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card__title a:hover { color: var(--blue-deep); }
.post-card__title a:focus-visible { outline: none; }
.post-card:focus-within { outline: 2px solid var(--blue); outline-offset: 3px; }
.post-card__excerpt { margin-top: 10px; color: var(--muted); font-size: 0.95rem; }
.post-meta { margin-top: auto; padding-top: 16px; display: flex; gap: 8px; font-size: 0.85rem; color: var(--muted); }
@media (min-width: 1000px) {
  .post-card--feature { grid-column: 1 / -1; flex-direction: row; }
  .post-card--feature .post-card__media { flex: 1.35; aspect-ratio: auto; min-height: 380px; }
  .post-card--feature .post-card__body { flex: 1; padding: 40px; justify-content: center; }
  .post-card--feature .post-card__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); }
  .post-card--feature .post-meta { margin-top: 20px; }
}

/* Post */
.post-hero { padding: calc(var(--header-h) + clamp(28px, 1.5rem + 2vw, 56px)) 0 clamp(28px, 1.5rem + 1.5vw, 48px); background: linear-gradient(180deg, var(--kraft-paper), var(--white)); }
.post-hero__inner { max-width: 880px; }
.post-hero .breadcrumb { margin-bottom: 28px; }
.post-title { margin: 12px 0 18px; color: var(--espresso); font-size: clamp(2rem, 1.3rem + 2.4vw, 3.4rem); }
.post-hero .lead { color: var(--muted); max-width: 62ch; }
.post-byline { display: flex; gap: 14px; align-items: center; margin-top: 26px; font-size: 0.9rem; color: var(--muted); }
.post-byline strong { color: var(--espresso); margin-right: 6px; }
.post-avatar { display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); overflow: hidden; }
.post-avatar img { width: 36px; height: auto; } /* hexacell-symbol.svg */
.post-cover-section { background: linear-gradient(180deg, var(--white) 50%, var(--white)); }
.post-cover { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--stage, #b3b3b3); aspect-ratio: 21 / 10; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-cover figcaption { position: absolute; left: 16px; bottom: 14px; z-index: 3; padding: 6px 12px; border-radius: var(--r-pill); background: rgb(255 255 255 / 0.9); color: var(--espresso); }
@media (max-width: 640px) { .post-cover { aspect-ratio: 4 / 3; } }
.post-layout { display: grid; gap: 32px 64px; align-items: start; }
@media (min-width: 1000px) { .post-layout { grid-template-columns: 220px minmax(0, 1fr); } .post-toc { position: sticky; top: calc(var(--header-h) + 28px); } }
.post-toc ol { list-style: none; display: grid; gap: 2px; margin-top: 12px; border-left: 2px solid var(--line); }
.post-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; font-size: 0.88rem; color: var(--muted); text-decoration: none; transition: color var(--t-fast), border-color var(--t-fast); }
.post-toc a:hover { color: var(--blue-deep); border-left-color: var(--blue); }
@media (max-width: 999px) { .post-toc { padding: 18px 20px; border-radius: var(--r-md); background: var(--paper); } .post-toc ol { border-left: 0; } .post-toc a { padding-left: 0; border-left: 0; } }
.post-body { max-width: 72ch; font-size: clamp(1.02rem, 0.98rem + 0.15vw, 1.1rem); line-height: 1.75; color: var(--ink); }
.post-body > * + * { margin-top: 1.1em; }
.post-body h2 { margin-top: 2em; font-size: clamp(1.35rem, 1.15rem + 0.7vw, 1.75rem); line-height: 1.25; letter-spacing: -0.02em; color: var(--espresso); scroll-margin-top: calc(var(--header-h) + 24px); }
.post-body ul, .post-body ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.post-body li::marker { color: var(--kraft-dark); font-weight: 700; }
.post-body strong { color: var(--espresso); }
.post-note { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: var(--sky-soft); border-left: 4px solid var(--blue); font-size: 0.98rem; }
.post-note svg { color: var(--blue); }
.post-sample-note { margin-bottom: 8px; }
.post-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2.2em !important; padding-top: 24px; border-top: 1px solid var(--line); }
.post-tags li { padding: 6px 12px; border-radius: var(--r-pill); background: var(--paper); border: 1px solid var(--line); font-size: 0.82rem; color: var(--ink); }

/* ---------- About: Mission & Vision (owner request 11 Oct 2026) ---------- */
.mission-vision { background: var(--paper); }
.mv-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(28px, 1rem + 2.5vw, 52px); }
.mv-grid { display: grid; gap: clamp(16px, 0.75rem + 1vw, 28px); }
@media (min-width: 800px) { .mv-grid { grid-template-columns: 1fr 1fr; } }
.mv-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 14px;
  min-height: clamp(240px, 12rem + 6vw, 320px);
  padding: clamp(28px, 1.2rem + 2vw, 48px);
  border-radius: var(--r-lg); border: 1px solid var(--line);
  background: var(--white); color: var(--ink);
  transition: transform 450ms var(--ease-out), box-shadow 450ms var(--ease-out), border-color 450ms var(--ease-out);
}
.mv-panel--vision { background: linear-gradient(150deg, var(--blue-deep) 0%, #003a4e 100%); /* peach label 5.4:1+, white text 8.3:1+ */ border-color: transparent; color: #e6f3f8; }
.mv-panel::after { /* kraft accent bar */
  content: ""; position: absolute; left: 0; top: clamp(28px, 1.2rem + 2vw, 48px); width: 4px; height: 56px; border-radius: 0 4px 4px 0;
  background: var(--kraft); transform-origin: 50% 0; transition: height 450ms var(--ease-out);
}
.mv-panel--vision::after { background: var(--peach); }
.mv-panel__motif {
  position: absolute; z-index: -1; right: -48px; bottom: -64px; width: clamp(190px, 10rem + 6vw, 260px); height: auto;
  fill: none; stroke: rgb(var(--brand-rgb) / 0.12); stroke-width: 2;
  transition: transform 700ms var(--ease-out), stroke 450ms var(--ease-out);
}
.mv-panel--vision .mv-panel__motif { stroke: rgb(255 255 255 / 0.16); }
.mv-panel__badge {
  display: grid; place-items: center; width: 54px; height: 62px;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  background: rgb(var(--brand-rgb) / 0.1); color: var(--blue-deep);
}
.mv-panel--vision .mv-panel__badge { background: rgb(255 255 255 / 0.14); color: var(--white); }
.mv-panel__badge svg { width: 24px; height: 24px; }
.mv-panel__label { font-family: var(--font-ui); font-size: 0.85rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--kraft-dark); margin-top: 6px; }
.mv-panel--vision .mv-panel__label { color: var(--peach); }
.mv-panel__text { font-size: clamp(1.2rem, 1.02rem + 0.6vw, 1.55rem); line-height: 1.45; letter-spacing: -0.01em; font-weight: 500; color: var(--espresso); max-width: 30ch; }
.mv-panel--vision .mv-panel__text { color: var(--white); }
@media (hover: hover) {
  .mv-panel:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgb(var(--brand-rgb) / 0.3); }
  .mv-panel--vision:hover { border-color: transparent; }
  .mv-panel:hover::after { height: 96px; }
  .mv-panel:hover .mv-panel__motif { transform: rotate(30deg) scale(1.06); stroke: rgb(var(--brand-rgb) / 0.2); }
  .mv-panel--vision:hover .mv-panel__motif { stroke: rgb(255 255 255 / 0.26); }
}
@media (prefers-reduced-motion: reduce) {
  .mv-panel, .mv-panel::after, .mv-panel__motif { transition: none; }
  .mv-panel:hover { transform: none; }
  .mv-panel:hover .mv-panel__motif { transform: none; }
}

/* ---------- Forms: privacy consent checkbox + honeypot (11 Oct 2026) ---------- */
.field--consent { margin-top: 4px; }
.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; }
.field .check input[type="checkbox"] {
  appearance: none; -webkit-appearance: none; flex: none;
  width: 24px; height: 24px; min-height: 0; padding: 0; margin-top: 1px;
  border: 1.5px solid #b9a596; border-radius: 6px; background: var(--white); cursor: pointer;
  display: grid; place-items: center;
}
.field .check input[type="checkbox"]::after {
  content: ""; width: 12px; height: 7px; border-left: 2.5px solid var(--white); border-bottom: 2.5px solid var(--white);
  transform: translateY(-2px) rotate(-45deg) scale(0); transition: transform var(--t-fast) var(--ease-out);
}
.field .check input[type="checkbox"]:checked { background: var(--blue); border-color: var(--blue); }
.field .check input[type="checkbox"]:checked::after { transform: translateY(-2px) rotate(-45deg) scale(1); }
.field .check input[type="checkbox"][aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgb(161 38 38 / 0.14); }
.check label { font-size: 0.92rem; line-height: 1.55; color: var(--ink); cursor: pointer; }
.check label a { color: var(--blue-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.check label .req { font-size: 0.82rem; color: var(--muted); }
.field--consent .field-error { padding-left: 36px; }
/* honeypot: off-screen, not display:none (some bots skip hidden fields) */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer legal link ---------- */
.footer-legal a { color: rgb(255 255 255 / 0.82); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.35); text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--white); text-decoration-color: currentColor; }

/* ---------- Long-form Markdown (blog posts + privacy policy) ---------- */
.post-body h3 { margin-top: 1.6em; font-size: clamp(1.1rem, 1.02rem + 0.3vw, 1.25rem); line-height: 1.3; color: var(--espresso); scroll-margin-top: calc(var(--header-h) + 24px); }
.post-body h2 + h3 { margin-top: 0.8em; }
.post-body a:not(.btn) { color: var(--blue-deep); text-decoration: underline; text-decoration-color: rgb(var(--brand-rgb) / 0.4); text-underline-offset: 3px; overflow-wrap: anywhere; }
.post-body a:not(.btn):hover { text-decoration-color: currentColor; }
.post-body blockquote { padding: 16px 20px; border-left: 4px solid var(--kraft); background: var(--paper); border-radius: 0 var(--r-md) var(--r-md) 0; }
.post-body .post-rule { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); -webkit-overflow-scrolling: touch; }
.table-wrap:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.post-body table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 0.94rem; line-height: 1.5; }
.post-body th, .post-body td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.post-body thead th { background: var(--paper); color: var(--espresso); font-family: var(--font-ui); font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; }
.post-body tbody tr:last-child td { border-bottom: 0; }
.post-body tbody td:first-child { font-weight: 600; color: var(--espresso); }

/* ---------- Privacy policy ---------- */
.legal-section { padding-top: clamp(40px, 2rem + 2vw, 72px); }
.legal-body { font-size: 1rem; }
.legal-note { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: var(--peach-soft); border: 1px dashed rgb(172 116 71 / 0.6); font-size: 0.94rem; }
.legal-note svg { width: 20px; height: 20px; flex: none; color: var(--kraft-dark); margin-top: 2px; }
.legal-note p { margin-top: 8px; }
.ph-mark { padding: 0 4px; border-radius: 4px; background: var(--peach-soft); color: var(--kraft-deep); box-shadow: inset 0 0 0 1px rgb(172 116 71 / 0.35); font-weight: 600; }
.post-layout { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .post-layout { grid-template-columns: 220px minmax(0, 1fr); } }
.post-body { min-width: 0; }
