/*
Theme Name: Naike Tableware
Theme URI: https://naiketableware.com/
Author: Naike Group
Description: Custom B2B theme for portable meal systems and carry-ready tableware programs.
Version: 0.2.0
Text Domain: naiketableware
*/

:root {
  --ink: #14251f;
  --muted: #5b6962;
  --line: #d7ddd5;
  --paper: #fffdf8;
  --mist: #f1f4ec;
  --sand: #f5efe2;
  --forest: #24533f;
  --navy: #173f53;
  --blue: #286b7d;
  --copper: #d4773d;
  --radius: 22px;
  --shadow: 0 22px 70px rgba(17, 27, 34, .10);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1.15rem; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { font-size: clamp(2.65rem, 5vw, 4.7rem); }
h1 { overflow-wrap: normal; word-break: normal; hyphens: none; text-wrap: balance; }
h2 { font-size: clamp(2rem, 3.7vw, 3.45rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { margin: 0 0 18px; color: var(--blue); font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.lede { max-width: 720px; color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.section { padding: clamp(76px, 9vw, 130px) 0; }
.section--mist { background: var(--mist); }
.section--sand { background: var(--sand); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .65fr); align-items: end; gap: 40px; margin-bottom: 48px; }
.section-head p { color: var(--muted); }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid rgba(215,221,213,.9); background: rgba(255,253,248,.95); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-grid; line-height: 1; }
.brand-logo { width: 86px; height: auto; }
.brand--footer .brand-logo { width: 176px; filter: brightness(0) invert(1); }
.brand strong { font-size: 1.05rem; letter-spacing: .12em; }
.brand span { margin-top: 6px; color: var(--muted); font-size: .61rem; letter-spacing: .17em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 26px; font-size: .88rem; font-weight: 700; }
.nav-item { position: relative; }
.nav-parent { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 29px 0; }
.nav-parent::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 20px; height: 2px; background: var(--copper); transition: right .2s ease; }
.nav-parent:hover::after, .nav-parent:focus-visible::after, .nav-item:focus-within .nav-parent::after { right: 0; }
.nav-caret { color: var(--copper); font-size: .95rem; line-height: 1; transition: transform .2s ease; }
.subnav { position: absolute; top: calc(100% - 7px); left: -22px; z-index: 110; width: max-content; min-width: 260px; display: grid; gap: 3px; padding: 14px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255,253,248,.99); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility .18s ease; }
.subnav a { min-height: 42px; display: flex; align-items: center; padding: 9px 12px; border-radius: 10px; color: var(--ink); font-size: .86rem; white-space: nowrap; }
.subnav a:hover, .subnav a:focus-visible { background: var(--mist); color: var(--forest); }
.nav-item:hover .subnav, .nav-item:focus-within .subnav { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-item:hover .nav-caret, .nav-item:focus-within .nav-caret { transform: rotate(180deg); }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1rem; font-weight: 800; }

.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 13px 22px; border: 1px solid var(--forest); border-radius: 999px; background: var(--forest); color: white; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(17,27,34,.18); }
.button--light { border-color: white; background: white; color: var(--ink); }
.button--ghost { border-color: var(--forest); background: transparent; color: var(--forest); }
.button--warm { border-color: var(--copper); background: var(--copper); }
.button--sm { min-height: 42px; padding: 9px 17px; font-size: .82rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero { position: relative; min-height: 650px; display: grid; align-items: stretch; overflow: hidden; background: var(--sand); }
.hero::before { content: ""; position: absolute; inset: auto auto -160px -130px; width: 360px; height: 360px; border: 52px solid rgba(36,83,63,.08); border-radius: 50%; }
.hero-inner { position: relative; z-index: 1; width: min(calc(100% - 40px), 1440px); margin: 0 auto; display: grid; grid-template-columns: minmax(520px, .95fr) minmax(560px, 1.25fr); align-items: center; gap: 44px; }
.hero-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 78px 0; }
.hero-copy h1 { max-width: 690px; font-size: clamp(3rem, 4.7vw, 4.45rem); line-height: 1.04; }
.hero-copy h1 span { display: block; color: var(--blue); }
.hero-copy .lede { margin-top: 26px; }
.hero-media { overflow: hidden; border-radius: 30px; box-shadow: var(--shadow); }
.hero-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; object-position: center; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 42px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.trust-row span::before { content: "•"; margin-right: 9px; color: var(--copper); }

.page-hero { padding: 58px 0; background: linear-gradient(110deg, var(--sand), var(--mist)); }
.page-hero-grid { display: grid; grid-template-columns: minmax(430px, .96fr) minmax(0, 1.04fr); align-items: center; gap: 54px; }
.page-hero-copy { padding: 30px 0; }
.page-hero-copy h1 { max-width: 680px; font-size: clamp(2.5rem, 3.8vw, 3.9rem); line-height: 1.06; }
.page-hero-copy .lede { margin-top: 24px; }
.page-hero-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #e6ebe4; }
.page-hero-media img { aspect-ratio: 3/2; object-fit: cover; object-position: center; }

.formula { display: grid; grid-template-columns: repeat(4, 1fr) auto; align-items: center; gap: 14px; }
.formula-item { min-height: 160px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); }
.formula-item b { font-size: 1.1rem; }
.formula-item small { color: var(--muted); }
.formula-sign { color: var(--copper); font-size: 2rem; font-weight: 900; }

.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { min-height: 260px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-5px); border-color: #aebbc2; box-shadow: var(--shadow); }
.card-index { margin-bottom: auto; color: var(--copper); font-size: .74rem; font-weight: 900; letter-spacing: .16em; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: .94rem; }
.card-link { margin-top: auto; font-size: .84rem; font-weight: 900; }
.image-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row; align-items: stretch; gap: 24px; }
.image-card-grid > p, .image-card > p:empty, .image-card-copy > p:empty { display: none; }
.image-card { overflow: hidden; display: flex; min-width: 0; height: 100%; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: white; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.image-card:hover, .image-card:focus-visible { transform: translateY(-4px); border-color: #aebbc2; box-shadow: var(--shadow); }
.image-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); }
.image-card-media { display: block; overflow: hidden; background: var(--mist); }
.image-card-media img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; transition: transform .35s ease; }
.image-card:hover .image-card-media img { transform: scale(1.025); }
.image-card-copy { display: flex; min-height: 220px; flex-direction: column; padding: 28px; }
.image-card-copy .card-index { margin-bottom: 34px; }
.image-card-copy h3 { margin-bottom: 12px; }
.image-card-copy h3 a { color: inherit; }
.image-card-copy p { color: var(--muted); font-size: .94rem; }
.image-card-copy .card-link { margin-top: auto; }
.image-card:first-child .image-card-copy { justify-content: center; }
.child-visual { margin: 28px auto 52px !important; }
.child-visual img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: contain; object-position: center; border-radius: var(--radius); background: var(--mist); }
.child-visual figcaption { margin-top: 12px; color: var(--muted); font-size: .85rem; line-height: 1.55; }

.dark-panel { position: relative; overflow: hidden; padding: clamp(60px, 8vw, 110px); border-radius: 34px; background: linear-gradient(135deg, var(--forest), var(--navy)); color: white; }
.dark-panel::after { content: ""; position: absolute; width: 420px; height: 420px; right: -160px; bottom: -220px; border: 80px solid rgba(255,255,255,.06); border-radius: 50%; }
.dark-panel h2 { max-width: 800px; }
.dark-panel p { max-width: 660px; margin-top: 24px; color: #c5d0d6; font-size: 1.12rem; }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.step { counter-increment: step; min-height: 210px; padding: 26px; background: white; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 45px; color: var(--copper); font-size: .78rem; font-weight: 900; letter-spacing: .15em; }
.step p { margin-top: 10px; color: var(--muted); font-size: .9rem; }
.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.process-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: 0 14px 40px rgba(20,37,31,.07); }
.process-media { overflow: hidden; background: var(--mist); }
.process-media img { aspect-ratio: 3/2; object-fit: cover; }
.process-copy { padding: 28px; }
.process-copy span { color: var(--copper); font-size: .75rem; font-weight: 900; letter-spacing: .14em; }
.process-copy h3 { margin: 10px 0 12px; }
.process-copy p { margin: 0; color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.product-card-media { overflow: hidden; background: var(--mist); }
.product-card-media img { aspect-ratio: 4/3; object-fit: contain; padding: 10px; transition: transform .35s ease; }
.product-card:hover img { transform: scale(1.035); }
.product-card-body { padding: 24px; }
.product-card .meta { color: var(--copper); font-size: .74rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.product-card h3 { margin: 10px 0; font-size: 1.35rem; }
.product-card p { color: var(--muted); font-size: .92rem; }

.content-shell { padding: 86px 0 120px; }
.content-shell .entry-content > * { max-width: 900px; margin-left: auto; margin-right: auto; }
.content-shell .entry-content > .wide { max-width: var(--max); }
.entry-content h2 { margin: 80px auto 24px; font-size: clamp(2rem, 4vw, 3.5rem); }
.entry-content h3 { margin: 38px auto 16px; }
.entry-content ul, .entry-content ol { padding-left: 1.2rem; }
.entry-content .intro { color: var(--muted); font-size: 1.25rem; }
.content-band { margin-top: 82px; padding: clamp(34px, 5vw, 62px); border-radius: 28px; background: var(--sand); }
.content-band h2 { margin-top: 0; }
.content-band--green { background: var(--forest); color: white; }
.content-band--green p { color: #dce8e1; }
.filter-links { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 26px; }
.filter-links a { display: inline-flex; min-height: 44px; align-items: center; padding: 9px 15px; border: 1px solid #b9c6ba; border-radius: 999px; background: white; color: var(--forest); font-size: .9rem; font-weight: 800; }
.filter-links a:hover, .filter-links a:focus-visible { border-color: var(--forest); background: var(--forest); color: white; }
.decision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 30px; }
.decision-item { padding: 24px; border-radius: 18px; background: rgba(255,255,255,.72); }
.decision-item b { display: block; margin-bottom: 8px; font-size: 1.05rem; }
.decision-item p { margin: 0; color: var(--muted); font-size: .92rem; }
.faq-list { margin-top: 34px; border-top: 1px solid var(--line); }
.faq-list details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 800; }
.faq-list details p { margin: 12px 0 0; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.metric-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.metric { padding: 22px; border-top: 2px solid var(--ink); background: var(--mist); }
.metric b { display: block; margin-bottom: 7px; }
.metric span { color: var(--muted); font-size: .9rem; }

.rfq-layout { display: grid; grid-template-columns: .7fr 1.3fr; gap: 60px; align-items: start; }
.rfq-form { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1/-1; }
.field label, fieldset legend { font-size: .82rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #bec9cf; border-radius: 10px; background: white; color: var(--ink); font: inherit; }
.field textarea { min-height: 130px; resize: vertical; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.check { display: flex; align-items: center; gap: 9px; font-size: .9rem; }
.check input { width: auto; min-height: auto; }
.form-note { margin-top: 18px; color: var(--muted); font-size: .82rem; }

.single-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; padding-top: 70px; }
.single-product-image { border-radius: var(--radius); overflow: hidden; background: var(--mist); }
.single-product-image img { aspect-ratio: 4/3; object-fit: contain; padding: 16px; }
.single-product-copy h1 { max-width: 680px; font-size: clamp(2.35rem, 3.8vw, 3.9rem); line-height: 1.06; }
.product-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 34px 0; background: var(--line); border: 1px solid var(--line); }
.product-fact { padding: 18px; background: white; }
.product-fact small { display: block; color: var(--muted); }
.product-fact strong { display: block; margin-top: 4px; }
.product-role { display: inline-flex; margin-bottom: 18px; padding: 7px 11px; border-radius: 999px; background: var(--sand); color: var(--forest); font-size: .74rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.product-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 34px; }
.product-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--mist); }
.product-gallery img { aspect-ratio: 4/3; object-fit: contain; padding: 10px; }
.system-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 28px 0 40px; }
.system-flow div { position: relative; padding: 24px; border-radius: 16px; background: var(--mist); }
.system-flow div:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -13px; z-index: 2; color: var(--copper); font-weight: 900; transform: translateY(-50%); }
.system-flow b { display: block; margin-bottom: 6px; }
.spec-table { width: 100%; border-collapse: collapse; margin: 28px 0 48px; }
.spec-table th, .spec-table td { padding: 17px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.spec-table th { width: 29%; color: var(--forest); }

.geo-answer { margin: 58px 0 10px; padding: clamp(28px, 4vw, 48px); border: 1px solid #c8d4cc; border-left: 6px solid var(--copper); border-radius: 20px; background: linear-gradient(135deg, #f2f6f1 0%, #fffaf3 100%); }
.geo-answer h2 { max-width: 900px; margin: 8px 0 14px; font-size: clamp(1.65rem, 3vw, 2.65rem); line-height: 1.12; }
.geo-answer > p:last-of-type { max-width: 920px; margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.75; }
.geo-answer-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 26px 0 0; }
.geo-answer-facts div { padding: 18px; border-radius: 13px; background: rgba(255,255,255,.78); }
.geo-answer-facts dt { margin-bottom: 6px; color: var(--forest); font-size: .74rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.geo-answer-facts dd { margin: 0; color: var(--ink); line-height: 1.55; }

.inquiry-gateway { padding: 38px 0; background: var(--copper); color: white; }
.inquiry-gateway-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.inquiry-gateway h2 { max-width: 780px; font-size: clamp(1.65rem, 3vw, 2.65rem); }
.inquiry-gateway p { margin: 10px 0 0; color: #fff5ed; }
.inquiry-gateway .button { flex: 0 0 auto; border-color: white; background: white; color: var(--forest); }
.site-footer { padding: 74px 0 30px; background: #10251e; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 42px; }
.footer-grid h3 { margin-bottom: 17px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.footer-grid a { display: block; margin: 9px 0; color: #b9c5cc; font-size: .9rem; }
.footer-brand p { max-width: 350px; margin-top: 20px; color: #b9c5cc; }
.footer-contact a { overflow-wrap: anywhere; }
.footer-contact strong { color: white; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 24px; border-top: 1px solid #28343b; color: #8d9ca5; font-size: .78rem; }

@media (max-width: 1120px) {
  .menu-toggle { display: block; }
  .main-nav { position: fixed; inset: 82px 0 auto; display: none; padding: 24px 20px 32px; background: white; border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start; }
  .main-nav.is-open { display: flex; }
  .nav-item { width: 100%; }
  .nav-parent { width: 100%; justify-content: space-between; padding: 10px 0; font-size: 1rem; }
  .nav-parent::after { display: none; }
  .subnav { position: static; width: 100%; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; margin: 4px 0 10px; padding: 8px 0 8px 14px; border: 0; border-left: 2px solid var(--copper); border-radius: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .subnav a { min-height: 38px; padding: 7px 10px; white-space: normal; }
  .nav-caret { display: none; }
  .hero-inner, .page-hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding: 80px 30px 55px; }
  .hero-inner { width: min(calc(100% - 40px), var(--max)); gap: 0; }
  .hero-media { margin-bottom: 46px; }
  .page-hero-copy { padding-bottom: 25px; }
  .formula { grid-template-columns: repeat(2, 1fr); }
  .formula-sign { display: none; }
  .card-grid, .steps, .process-grid, .image-card-grid { grid-template-columns: repeat(2, 1fr); }
  .image-card:first-child { grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 72px; }
  .main-nav { top: 72px; }
  .main-nav { max-height: calc(100vh - 72px); overflow-y: auto; }
  .subnav { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-copy { padding: 58px 0 40px; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(2.3rem, 9.5vw, 3.25rem); line-height: 1.05; }
  .page-hero-copy h1, .single-product-copy h1 { max-width: 100%; font-size: clamp(2.2rem, 8.8vw, 3.05rem); line-height: 1.07; }
  .hero-media { min-height: 0; }
  .hero-media img { aspect-ratio: 4/3; object-position: center; }
  .section-head, .split, .rfq-layout, .single-product-layout, .footer-grid, .decision-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; gap: 18px; }
  .card-grid, .card-grid--3, .product-grid, .steps, .process-grid, .image-card-grid, .formula, .form-grid, .metric-list, .system-flow, .geo-answer-facts { grid-template-columns: 1fr; }
  .image-card:first-child { grid-column: auto; display: flex; }
  .image-card-copy { min-height: 0; padding: 22px; }
  .image-card-copy .card-index { margin-bottom: 18px; }
  .image-card-media img { aspect-ratio: 16 / 10; }
  .system-flow div:not(:last-child)::after { content: "↓"; top: auto; right: 50%; bottom: -18px; transform: translateX(50%); }
  .page-hero { padding: 28px 0 42px; }
  .page-hero-grid { gap: 25px; }
  .page-hero-copy { padding: 35px 0 0; }
  .dark-panel { padding: 50px 28px; }
  .rfq-form { padding: 24px 18px; }
  .check-grid { grid-template-columns: 1fr; }
  .single-product-layout { gap: 34px; }
  .footer-bottom { flex-direction: column; }
  .inquiry-gateway-inner { align-items: flex-start; flex-direction: column; }
}
