/* Exxo Packaging — shared styles for Insights pages */
:root {
  --bg: #F6F2EA;
  --surface-1: #FFFFFF;
  --surface-2: #FBF7EF;
  --amber: #E0890A;
  --amber-ink: #9A5C05;
  --amber-bright: #F3B95A;
  --amber-soft: rgba(224, 137, 10, 0.10);
  --amber-line: rgba(224, 137, 10, 0.32);
  --text: #20180E;
  --muted: #6B5F4F;
  --line: rgba(32, 24, 14, 0.09);
  --line-strong: rgba(32, 24, 14, 0.16);
  --max: 1240px;
  --measure: 720px;
  --radius: 14px;
  --font-display: 'Montserrat', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Epilogue', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.08;
  margin: 0;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--amber-ink);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--amber); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 242, 234, 0.85);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.logo { display: inline-flex; align-items: center; }
.logo-img { height: 36px; width: auto; display: block; }
.logo-name {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  line-height: 1.04; letter-spacing: -0.02em; color: var(--text);
  margin-left: 12px; padding-left: 13px; border-left: 1px solid var(--line-strong);
}
.logo-name em {
  font-style: normal; font-weight: 600; font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted);
}
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--muted); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; padding: 0; cursor: pointer; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--text); margin: 0 auto; border-radius: 2px; transition: transform 0.3s ease, opacity 0.2s ease; }
.nav.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-menu-cta { display: none; }
.nav-links { margin-left: auto; }
.menu-toggle { margin-left: auto; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 999px;
  font-size: 14px; font-weight: 600;
  background: var(--amber); color: #14110a;
  transition: background 0.25s, transform 0.25s;
}
.btn:hover { background: var(--amber-bright); transform: translateY(-1px); }

/* ---------- Listing ---------- */
.page-head { padding: 72px 0 48px; }
.page-head h1 { font-size: clamp(36px, 5vw, 60px); margin-top: 16px; }
.page-head p { color: var(--muted); font-size: 16px; max-width: 560px; margin: 18px 0 0; }

.featured {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 0;
  background: var(--surface-1); border: 1px solid var(--line);
  border-radius: 18px; overflow: hidden; margin-bottom: 56px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.featured:hover { border-color: var(--amber-line); box-shadow: 0 18px 50px -24px rgba(32,24,14,0.18); }
.featured .f-media {
  position: relative; min-height: 340px; background: #1B130B;
}
.featured .f-media .scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(80deg, rgba(150,82,16,0.40) 0%, rgba(120,64,12,0.14) 55%, transparent 100%);
}
.featured .f-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
.featured .f-body { padding: 44px; display: flex; flex-direction: column; gap: 16px; }
.featured .f-body h2 { font-size: clamp(24px, 2.6vw, 36px); }
.featured .f-body h2 a:hover { color: var(--amber-ink); }
.featured .f-body p { color: var(--muted); margin: 0; font-size: 15px; }

.post-meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.post-meta .cat { color: var(--amber-ink); }
.post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }

.read-more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto;
  color: var(--amber-ink); font-weight: 600; font-size: 14px;
  transition: gap 0.25s;
}
.featured:hover .read-more, .post-row:hover .read-more { gap: 13px; }

.post-list { display: flex; flex-direction: column; margin-bottom: 96px; }
.post-row {
  display: grid; grid-template-columns: 200px 1fr auto; gap: 32px;
  align-items: center; padding: 30px 8px;
  border-top: 1px solid var(--line);
  transition: background 0.2s;
}
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row:hover { background: rgba(255,255,255,0.6); }
.post-row .r-meta { display: flex; flex-direction: column; gap: 8px; }
.post-row h3 { font-size: 21px; letter-spacing: -0.015em; }
.post-row h3 a:hover { color: var(--amber-ink); }
.post-row p { color: var(--muted); font-size: 14px; margin: 8px 0 0; max-width: 640px; }
.post-row .read-more { margin: 0; }

/* ---------- Article ---------- */
.article-head { padding-top: 64px; padding-bottom: 40px; max-width: 860px; margin: 0 auto; }
.article-head .crumbs {
  font-size: 13px; color: var(--muted); margin-bottom: 26px;
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.article-head .crumbs a { color: var(--amber-ink); font-weight: 500; }
.article-head .crumbs a:hover { text-decoration: underline; }
.article-head h1 { font-size: clamp(32px, 4.4vw, 52px); }
.article-head .post-meta { margin-top: 22px; }

.article-body {
  max-width: var(--measure); margin: 0 auto; padding: 0 28px 80px;
  font-size: 17px; line-height: 1.75;
}
.article-body > p:first-of-type {
  font-size: 20px; line-height: 1.6; color: #4A4136;
}
.article-body h2 {
  font-size: 26px; margin: 44px 0 14px; letter-spacing: -0.015em;
}
.article-body h3 { font-size: 20px; margin: 32px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 26px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { color: var(--text); }
.article-body .callout {
  background: var(--amber-soft); border: 1px solid var(--amber-line);
  border-radius: var(--radius); padding: 20px 24px; margin: 28px 0;
  font-size: 15px;
}
.article-body .callout strong { color: var(--amber-ink); }
.article-body table {
  width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 15px;
}
.article-body th, .article-body td {
  text-align: left; padding: 10px 14px; border: 1px solid var(--line-strong);
}
.article-body th { background: var(--surface-2); font-weight: 600; }

.article-cta {
  max-width: var(--measure); margin: 0 auto 96px; padding: 0 28px;
}
.article-cta .card {
  background: #1B130B; color: #EDE6DA; border-radius: 18px;
  padding: 40px; display: flex; align-items: center; gap: 28px;
  justify-content: space-between; flex-wrap: wrap;
}
.article-cta .card h3 { color: #fff; font-size: 24px; }
.article-cta .card p { color: rgba(237,230,218,0.75); margin: 8px 0 0; font-size: 15px; }

/* ---------- Nav dropdown ---------- */
.nav-dd { position: relative; }
.nav-dd-trigger { display: inline-flex; align-items: center; gap: 5px; cursor: pointer; }
.nav-dd-trigger svg { transition: transform 0.25s; }
.nav-dd:hover .nav-dd-trigger, .nav-dd:focus-within .nav-dd-trigger { color: var(--text); }
.nav-dd:hover .nav-dd-trigger svg, .nav-dd:focus-within .nav-dd-trigger svg { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(6px);
  min-width: 250px; background: var(--surface-1); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 20px 50px -18px rgba(32,24,14,0.28);
  padding: 8px; opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease; z-index: 110;
}
.nav-dd::before { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 18px; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu { opacity: 1; visibility: visible; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-dd-menu a { display: block; padding: 10px 14px; border-radius: 8px; font-size: 14px; color: var(--text); font-weight: 500; white-space: nowrap; transition: background 0.15s, color 0.15s; }
.nav-dd-menu a:hover { background: var(--amber-soft); color: var(--amber-ink); }
.nav-dd-menu .nav-dd-all { margin-top: 6px; border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; color: var(--amber-ink); font-weight: 600; }

/* ---------- Product page ---------- */
.specs { display: flex; flex-wrap: wrap; gap: 6px; }
.spec { font-size: 12px; color: var(--muted); padding: 4px 10px; border-radius: 6px; background: rgba(32,24,14,0.03); border: 1px solid var(--line); }
.product-head { padding-top: 48px; padding-bottom: 20px; }
.product-hero { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; margin-top: 26px; }
.product-ico { width: 54px; height: 54px; border-radius: 12px; border: 1px solid var(--amber-line); background: var(--amber-soft); color: var(--amber-ink); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.product-hero-copy h1 { font-size: clamp(32px, 4.4vw, 52px); margin: 14px 0 0; }
.product-hero-copy > .eyebrow { margin-bottom: 4px; }
.product-hero-copy p { color: var(--muted); font-size: 17px; line-height: 1.6; margin: 18px 0 0; max-width: 520px; }
.product-specs { margin-top: 22px; }
.product-cta-row { display: flex; align-items: center; gap: 20px; margin-top: 30px; }
.btn-text { color: var(--amber-ink); font-weight: 600; font-size: 14px; }
.btn-text:hover { text-decoration: underline; }
.tool-nudge { margin: 18px 0 0; font-size: 14px; color: var(--muted); }
.tool-nudge a { color: var(--amber-ink); font-weight: 600; }
.tool-nudge a:hover { text-decoration: underline; }
.product-hero-media { position: relative; aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.product-hero-media image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }

.product-detail { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 60px 28px; align-items: start; }
.pd-main h2 { font-size: 26px; margin: 0 0 12px; }
.pd-main h2:not(:first-child) { margin-top: 36px; }
.pd-main p { color: var(--muted); font-size: 16px; line-height: 1.7; margin: 0; }
.use-list { margin: 0; padding-left: 20px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.use-list li { margin-bottom: 8px; }
.pd-card { background: var(--surface-1); border: 1px solid var(--line); border-radius: 16px; padding: 28px; position: sticky; top: 96px; }
.pd-card h3 { font-size: 18px; margin: 0 0 14px; }
.pd-card ul { list-style: none; margin: 0 0 16px; padding: 0; }
.pd-card li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--text); }
.pd-card li:last-child { border-bottom: none; }
.pd-note { color: var(--muted); font-size: 13px; margin: 0 0 18px; }
.pd-card .btn { width: 100%; justify-content: center; }

.product-related { padding: 20px 28px 60px; }
.product-related h2 { font-size: 24px; margin: 0 0 22px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { display: flex; align-items: center; gap: 14px; padding: 20px; background: var(--surface-1); border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.25s, transform 0.25s; }
.related-card:hover { border-color: var(--amber-line); transform: translateY(-3px); }
.related-ico { width: 40px; height: 40px; flex: none; border-radius: 9px; background: var(--amber-soft); border: 1px solid var(--amber-line); color: var(--amber-ink); display: flex; align-items: center; justify-content: center; }
.related-name { font-weight: 600; font-size: 15px; flex: 1; }
.related-arr { color: var(--amber-ink); font-weight: 700; }

@media (max-width: 860px) {
  .product-hero { grid-template-columns: 1fr; gap: 28px; }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .pd-card { position: static; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ---------- Show & Tell (box types + flutes) ---------- */
.showtell { padding: 60px 28px; }
.showtell.alt { background: var(--surface-2); border-radius: 20px; }
.showtell-head { max-width: 640px; margin: 0 auto 40px; text-align: center; }
.showtell-head .eyebrow { justify-content: center; margin-bottom: 14px; }
.showtell-head h2 { font-size: clamp(26px, 3.2vw, 40px); }
.showtell-head p { color: var(--muted); font-size: 16px; margin: 16px 0 0; }

.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dl-card { background: var(--surface-1); border: 1px solid var(--line); border-radius: 14px; padding: 24px; transition: border-color 0.25s, transform 0.25s; }
.dl-card:hover { border-color: var(--amber-line); transform: translateY(-3px); }
.dl-fig { background: var(--surface-2); border: 1px solid var(--line); border-radius: 10px; padding: 18px; margin-bottom: 18px; }
.dl-fig.box-photo { background: #fff; display: flex; align-items: center; justify-content: center; position: relative; aspect-ratio: 4/3; overflow: hidden; }
.dl-fig.box-photo img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; transition: opacity 0.3s ease; }
.dl-fig.box-photo .box-2d { opacity: 0; }
.dl-card:hover .dl-fig.box-photo .box-3d { opacity: 0; }
.dl-card:hover .dl-fig.box-photo .box-2d { opacity: 1; }
.dl-fig.box-photo .flip-hint { position: absolute; right: 10px; bottom: 8px; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); border-radius: 20px; padding: 3px 9px; transition: opacity 0.25s; }
.dl-card:hover .dl-fig.box-photo .flip-hint { opacity: 0; }
.dl-card h3 { font-size: 17px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.dl-code { font-family: var(--font-display); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--amber-ink); background: var(--amber-soft); border: 1px solid var(--amber-line); padding: 3px 8px; border-radius: 6px; }
.dl-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 10px 0 0; }

.dieline-svg { width: 100%; height: auto; display: block; }
.dieline-svg .panel { fill: #EAD6B4; stroke: #9A7A4E; stroke-width: 2; stroke-linejoin: round; }
.dieline-svg .fold { stroke: #B89A6E; stroke-width: 1.5; stroke-dasharray: 5 4; }

.flute-group-title { font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-ink); margin: 8px 0 16px; text-align: center; }
.flute-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 34px; }
.flute-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 640px; margin-left: auto; margin-right: auto; }
.flute-card { background: var(--surface-1); border: 1px solid var(--line); border-radius: 14px; padding: 22px; text-align: center; }
.flute-fig { display: flex; align-items: center; justify-content: center; min-height: 70px; margin-bottom: 14px; }
.flute-svg { width: 78%; height: auto; }
.flute-svg .fl-liner { fill: #C79A63; }
.flute-svg .fl-wave { fill: none; stroke: #9A7A4E; stroke-width: 3; }
.flute-card h4 { font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.flute-card h4 span { font-family: var(--font-display); font-size: 12px; font-weight: 700; color: var(--amber-ink); background: var(--amber-soft); border: 1px solid var(--amber-line); padding: 2px 8px; border-radius: 20px; }
.flute-card p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 8px 0 0; }

@media (max-width: 860px) {
  .dl-grid, .flute-grid, .flute-grid.two { grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.foot {
  --foot-bg: #FDA614; --foot-ink: #20180E; --foot-soft: #5A3F14;
  position: relative; overflow: hidden;
  background-color: var(--foot-bg);
  background-image: linear-gradient(180deg, #F6F2EA 0%, rgba(246,242,234,0.92) 14%, rgba(246,242,234,0.55) 30%, rgba(253,166,20,0) 52%), url("images/footer-box.webp");
  background-repeat: no-repeat, no-repeat;
  background-position: top center, center bottom;
  background-size: 100% 100%, max(100%, 1100px) auto;
  color: var(--foot-ink); padding: 84px 0 clamp(300px, 34vw, 600px);
}
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 40px; }
.foot-col h5 { font-family: 'Epilogue', sans-serif; font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--foot-ink); margin: 0 0 18px; }
.foot-col h5::after { content: ""; display: block; width: 28px; height: 2px; background: var(--foot-ink); margin-top: 12px; opacity: 0.85; }
.foot-col a { display: block; color: var(--foot-ink); font-size: 15px; padding: 5px 0; transition: opacity 0.2s, transform 0.2s; }
.foot-col a:hover { opacity: 0.65; transform: translateX(2px); }
.foot-col p { color: var(--foot-soft); font-size: 14px; line-height: 1.65; margin: 0; }
.foot-col p b, .foot-col p strong { color: var(--foot-ink); }
.foot-brand .logo { margin-bottom: 18px; }
.foot-brand .logo-img { height: 46px; }
.foot-brand p { max-width: 340px; }
.foot-contact { display: flex; flex-direction: column; gap: 6px; margin-top: 18px; font-size: 14px; }
.foot-contact a { padding: 0; font-weight: 600; }
.foot-social { display: flex; gap: 10px; margin-top: 22px; }
.foot-social a { width: 40px; height: 40px; border-radius: 10px; padding: 0; display: flex; align-items: center; justify-content: center; border: 1.5px solid rgba(32,24,14,0.35); color: var(--foot-ink); transition: background 0.2s, color 0.2s, border-color 0.2s; }
.foot-social a:hover { background: var(--foot-ink); color: var(--foot-bg); border-color: var(--foot-ink); opacity: 1; transform: none; }
.foot-social .xhs-txt { font-family: var(--font-display); font-weight: 800; font-size: 12px; letter-spacing: 0.02em; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(32,24,14,0.25); display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--foot-soft); font-size: 13px; flex-wrap: wrap; }
.foot :focus-visible { outline-color: #20180E; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 2px solid var(--amber-ink); outline-offset: 3px; border-radius: 4px; }
.btn:focus-visible { outline-offset: 4px; border-radius: 999px; }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 200; background: var(--amber); color: #111; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.skip-link:focus { left: 12px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; } }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 130; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 28px -6px rgba(37,211,102,0.6); transition: transform 0.25s, box-shadow 0.25s; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 14px 34px -6px rgba(37,211,102,0.7); }
.wa-float svg { width: 30px; height: 30px; }
@media (max-width: 600px) { .wa-float { width: 52px; height: 52px; right: 16px; bottom: 16px; } .wa-float svg { width: 27px; height: 27px; } }

@media (max-width: 960px) {
  .featured { grid-template-columns: 1fr; }
  .featured .f-media { min-height: 240px; }
  .featured .f-body { padding: 30px; }
  .post-row { grid-template-columns: 1fr; gap: 10px; }
  .post-row .read-more { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface-1); border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px; box-shadow: 0 24px 40px -22px rgba(32,24,14,0.28);
    max-height: calc(100vh - 120px); overflow-y: auto;
  }
  .nav.menu-open .nav-links { display: flex; }
  .nav-links > a { padding: 15px 4px; border-bottom: 1px solid var(--line); font-size: 16px; color: var(--text); }
  .nav-dd { width: 100%; }
  .nav-dd::before { display: none; }
  .nav-dd-trigger { width: 100%; justify-content: space-between; padding: 15px 4px; border-bottom: 1px solid var(--line); }
  .nav-dd:hover .nav-dd-trigger svg, .nav-dd:focus-within .nav-dd-trigger svg { transform: none; }
  .nav-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; pointer-events: auto; min-width: 0; box-shadow: none; border: none; border-radius: 0; padding: 0; background: transparent; }
  .nav-dd-menu a { padding: 13px 4px 13px 20px; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
  .nav-dd-menu a:hover { background: transparent; color: var(--amber-ink); }
  .nav-menu-cta { display: inline-flex !important; justify-content: center; margin-top: 18px; }
  .logo-name { display: none; }
}

/* ---------- Nav extras ---------- */
.nav-dd-menu a small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.nav-dd-label { display: block; padding: 12px 14px 4px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Mobile quote bar ---------- */
.quote-bar { display: none; }
@media (max-width: 860px) {
  .quote-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 125; display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(246,242,234,0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .quote-bar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 999px; font-weight: 700; font-size: 15px; }
  .qb-quote { background: var(--amber); color: #14110a; }
  .qb-wa { background: #25D366; color: #fff; }
  .quote-bar ~ .wa-float { display: none; }
  body:has(.quote-bar) { padding-bottom: 70px; }
}

/* ---------- Industry pages ---------- */
.need-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 18px; }
.need-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--surface-1); border: 1px solid var(--line); border-radius: 14px; transition: border-color 0.25s, transform 0.25s; }
.need-card:hover { border-color: var(--amber-line); transform: translateY(-2px); }
.need-card strong { font-size: 16px; display: flex; justify-content: space-between; gap: 10px; }
.need-card strong span { color: var(--amber-ink); }
.need-card p { color: var(--muted); font-size: 14px; line-height: 1.55; margin: 0; }
.ind-note { margin-top: 26px; padding: 16px 20px; border-radius: 12px; background: var(--amber-soft); border: 1px solid var(--amber-line); font-size: 15px; line-height: 1.6; }
@media (max-width: 860px) { .need-grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.nf { padding-top: 110px; padding-bottom: 120px; text-align: center; }
.nf .nf-code { font-family: var(--font-display); font-weight: 800; font-size: clamp(80px, 14vw, 160px); line-height: 1; color: var(--amber); letter-spacing: -0.04em; }
.nf h1 { font-size: clamp(28px, 4vw, 42px); margin: 18px 0 0; }
.nf p { color: var(--muted); font-size: 16px; max-width: 480px; margin: 16px auto 0; }
.nf-links { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.nf-links a { padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line-strong); font-weight: 600; font-size: 14px; }
.nf-links a:hover { border-color: var(--amber-line); color: var(--amber-ink); }
.nf-links a.btn { border-color: var(--amber); }

/* ---------- Nav mid-width ---------- */
@media (min-width: 861px) and (max-width: 1180px) {
  .logo-name { display: none; }
  .nav-links { gap: 18px; }
  .nav-links a, .nav-dd-trigger { font-size: 13.5px; }
  .nav-inner { gap: 18px; }
}

/* ---------- Nav contact button ---------- */
.nav-links a.nav-contact { color: #14110a; font-weight: 600; }
.nav-links a.nav-contact:hover { color: #14110a; }
@media (max-width: 860px) { .nav-links > a.nav-contact { justify-content: center; margin-top: 16px; padding: 13px 20px; border-bottom: 0; color: #14110a; } }

/* ---------- Recent jobs ---------- */
.jobs { padding-top: 64px; padding-bottom: 64px; }
.jobs .showtell-head { margin-bottom: 28px; }
.jobs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.job { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line); }
.job image-slot { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 860px) { .jobs-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Audit fixes ---------- */
@media (max-width: 960px) {
  .nav-dd-menu { display: none; }
  .nav-dd.open .nav-dd-menu { display: block; }
  .nav-dd.open .nav-dd-trigger svg { transform: rotate(180deg); }
}
.foot-social { display: none !important; } /* hidden until real profile URLs are added */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 24px 0; border: 1px solid var(--line-strong); border-radius: 10px; }
.table-scroll table { margin: 0; min-width: 560px; border: 0; }
.table-scroll th, .table-scroll td { border-left: 0; border-right: 0; }
.table-scroll tr:first-child th { border-top: 0; }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
button.flip-hint { font: inherit; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; cursor: pointer; min-height: 28px; padding: 4px 10px; }
.flip-hint .fh-touch, .flip-hint .fh-back { display: none; }
@media (hover: none) { .flip-hint .fh-hover { display: none; } .flip-hint .fh-touch { display: inline; } }
.dl-card.show-2d .dl-fig.box-photo .box-3d { opacity: 0; }
.dl-card.show-2d .dl-fig.box-photo .box-2d { opacity: 1; }
.dl-card.show-2d .dl-fig.box-photo .flip-hint { opacity: 1; }
.dl-card.show-2d .flip-hint .fh-hover, .dl-card.show-2d .flip-hint .fh-touch { display: none; }
.dl-card.show-2d .flip-hint .fh-back { display: inline; }
.dl-card:focus-within .dl-fig.box-photo .flip-hint { opacity: 1; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: 2px; cursor: help; }

.slot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
