/*
Theme Name: Tenpos Chef's Knives & Ceramics
Theme URI: https://tenpos-chefsknives.com/
Description: Custom theme for Tenpos Chef's Knives & Ceramics (テンポス包丁館) — Japanese knives, ceramics & sharpening in Akihabara & Namba. Inbound / multilingual (EN root, /ja/, /zh-hant/). Pro to Pro.
Author: Tenpos
Version: 0.1.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: tenpos
*/

/* =========================================================
   Tenpos Chef's Knives & Ceramics — Mock stylesheet
   Design language: Pro to Pro / craft / premium
   Palette: 墨(sumi) 和紙(washi) 藍(ai/indigo) 朱(shu/vermillion) 鋼(steel)
   ========================================================= */

/* ---------- Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@300;400;500;600&family=Noto+Serif+JP:wght@400;500;600&display=swap');

:root {
  --sumi:   #1a1917;   /* near-black charcoal, warm */
  --ink:    #262320;   /* body text on light */
  --washi:  #f7f3ea;   /* warm off-white background */
  --paper:  #fffdf8;   /* card paper */
  --ai:     #1f3a5a;   /* indigo — primary accent */
  --ai-dk:  #16293f;
  --shu:    #b5462b;   /* vermillion — CTA / highlight */
  --steel:  #8b9096;   /* cool grey, blade reference */
  --line:   #e2dacb;   /* hairlines on washi */
  --line-dk:#3a3630;   /* hairlines on sumi */
  --muted:  #6f6a61;

  --serif: 'Cormorant Garamond', 'Noto Serif JP', serif;
  --sans:  'Inter', 'Noto Sans JP', system-ui, sans-serif;
  --jp:    'Noto Serif JP', serif;

  --wrap: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--washi);
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--ai); text-decoration: none; }
a:hover { color: var(--shu); }

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

/* ---------- Typographic helpers ---------- */
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ai);
}
.eyebrow.on-dark { color: #c9a86a; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; }
.display { font-size: clamp(40px, 6vw, 76px); font-weight: 500; letter-spacing: -0.01em; }
.h2 { font-size: clamp(28px, 3.6vw, 44px); }
.h3 { font-size: clamp(20px, 2.2vw, 27px); }
.jp { font-family: var(--jp); font-weight: 500; }

.lead { font-size: 18px; line-height: 1.85; color: #4a453d; }
.small { font-size: 14px; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: 0.08em;
  font-weight: 500;
  padding: 15px 30px;
  border-radius: 2px;
  transition: all .2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-primary { background: var(--shu); color: #fff; }
.btn-primary:hover { background: #9c3722; color: #fff; }
.btn-ghost { border-color: currentColor; color: var(--sumi); background: transparent; }
.btn-ghost:hover { background: var(--sumi); color: var(--washi); }
.btn-ghost.on-dark { color: var(--washi); }
.btn-ghost.on-dark:hover { background: var(--washi); color: var(--sumi); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,243,234,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo { display: flex; flex-direction: column; line-height: 1.05; }
.logo .en { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--sumi); letter-spacing: 0.01em; }
.logo .ja { font-family: var(--jp); font-size: 11px; color: var(--muted); letter-spacing: 0.18em; margin-top: 2px; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--ink); letter-spacing: 0.03em; }
.nav-links a:hover { color: var(--shu); }
/* Stores dropdown (desktop nav) */
.nav-drop { position: relative; display: inline-flex; align-items: center; }
.nav-drop-t { display: inline-flex; align-items: center; gap: 5px; }
.nav-caret { font-size: 10px; opacity: .55; transition: transform .15s ease; }
.nav-drop:hover .nav-caret { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute; top: 100%; left: 50%;
  min-width: 168px; margin-top: 12px; padding: 8px 0;
  background: var(--sumi); border-radius: 6px;
  box-shadow: 0 14px 34px rgba(0,0,0,0.20);
  opacity: 0; visibility: hidden; transform: translateX(-50%) translateY(-6px);
  transition: opacity .16s ease, transform .16s ease; z-index: 60;
}
.nav-drop-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.nav-drop:hover .nav-drop-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a { display: block; padding: 9px 22px; font-size: 14px; color: var(--washi); white-space: nowrap; }
.nav-drop-menu a:hover { background: rgba(255,255,255,0.09); color: #fff; }
.lang { display: flex; gap: 10px; align-items: center; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }
.lang a { color: var(--muted); }
.lang a.active { color: var(--sumi); font-weight: 500; }
.lang .sep { opacity: .4; }
.header-right { display: flex; align-items: center; gap: 20px; }
/* Language dropdown (reuses .nav-drop; menu right-aligned) */
.lang-drop .nav-drop-t { cursor: pointer; font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.lang-drop:hover .nav-drop-t { color: var(--sumi); }
.lang-drop .nav-drop-menu { left: auto; right: 0; min-width: 150px; transform: translateY(-6px); }
.lang-drop:hover .nav-drop-menu { transform: translateY(0); }
.lang-drop .nav-drop-menu a.active::after { content: " •"; color: var(--shu); }
/* Hamburger + mobile panel: hidden on desktop, shown ≤900px */
.mm-burger, .mm-panel { display: none; }

/* ---------- Photo placeholders ---------- */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #2a2d33 0%, #1c1e22 60%, #23262b 100%);
  color: #aeb4bb;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 10px; bottom: 10px; max-width: 82%;
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  font-family: var(--sans); font-weight: 500;
  padding: 5px 9px; border-radius: 2px;
  background: rgba(18,17,15,0.72); color: #f0ece3;
  text-align: left; line-height: 1.35;
}
.ph.washi {
  background:
    repeating-linear-gradient(45deg, rgba(0,0,0,0.015) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #efe7d6 0%, #e6dcc6 100%);
  color: #8a8067;
}
.ph.washi::after { background: rgba(18,17,15,0.62); color: #f7f3ea; }
/* When a stand-in photo is set inline, cover-fit it under the caption */
.ph[style*="url("] { background-size: cover !important; background-position: center !important; background-repeat: no-repeat !important; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 82vh; display: flex; align-items: flex-end; color: var(--washi);
  background:
    linear-gradient(180deg, rgba(18,17,15,0.32) 0%, rgba(18,17,15,0.48) 45%, rgba(18,17,15,0.88) 100%),
    url('img/hero.jpg');
  background-size: cover; background-position: center;
}
.hero-inner { padding: 0 0 80px; max-width: 860px; }
.hero .display { color: #fff; }
.hero .accent { color: #d8b877; font-style: italic; }
.hero-lead { font-size: 19px; color: #e7e2d7; max-width: 620px; margin: 24px 0 34px; line-height: 1.7; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scrim-label {
  position: absolute; top: 24px; right: 32px; font-size: 11px; letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
}

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 54px; }
.section-head .h2 { margin: 14px 0 18px; color: var(--sumi); }

.sumi-section { background: var(--sumi); color: var(--washi); }
.sumi-section .h2, .sumi-section .h3 { color: #fff; }
.sumi-section .lead { color: #cfc9bc; }
.sumi-section .small { color: #9a948a; }

/* one-line definition (LLMO) */
.definition {
  border-left: 3px solid var(--ai);
  padding: 6px 0 6px 24px;
  font-family: var(--serif);
  font-size: 23px;
  line-height: 1.5;
  color: var(--ink);
  max-width: 820px;
}
.sumi-section .definition { border-color: #c9a86a; color: #ece7dc; }

/* ---------- Triptych (3 strengths) ---------- */
.triptych { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--line-dk); }
.trip {
  background: var(--sumi); padding: 44px 34px; position: relative;
}
.trip .num { font-family: var(--serif); font-size: 15px; color: #c9a86a; letter-spacing: 0.2em; }
.trip .verb { font-family: var(--serif); font-size: 30px; color: #fff; margin: 10px 0 4px; }
.trip .verb .jp { display: block; font-size: 15px; color: #9a948a; margin-top: 4px; font-weight: 400; }
.trip p { font-size: 15px; color: #cfc9bc; margin: 14px 0 0; line-height: 1.7; }

/* ---------- Two pillars ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pillar { position: relative; overflow: hidden; border-radius: 3px; min-height: 440px; display: flex; }
.pillar .ph { position: absolute; inset: 0; }
.pillar-body {
  position: relative; z-index: 2; margin-top: auto; padding: 40px;
  background: linear-gradient(180deg, transparent, rgba(20,19,17,0.9));
  color: #fff; width: 100%;
}
.pillar-body .h3 { color: #fff; }
.pillar-body p { color: #ddd7c9; font-size: 15px; margin: 10px 0 18px; }

/* ---------- Cards / grid ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.card .ph { aspect-ratio: 4/3; }
.card-body { padding: 22px 22px 26px; }
.card-body .kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ai); }
.card-body .h3 { font-size: 21px; margin: 8px 0 8px; color: var(--sumi); }
.card-body p { font-size: 14px; color: #56514a; margin: 0 0 14px; }
.card-body .price { font-family: var(--serif); font-size: 20px; color: var(--sumi); }
.card-body .rec { font-size: 13px; color: var(--muted); font-style: italic; border-top: 1px solid var(--line); margin-top: 14px; padding-top: 12px; }
.tag { display: inline-block; font-size: 11px; letter-spacing: 0.08em; padding: 3px 9px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted); margin-right: 6px; }

/* ---------- Whetstone band ---------- */
.band { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.band .ph { min-height: 380px; }
.band-body { padding: 70px; display: flex; flex-direction: column; justify-content: center; }

/* ---------- Stores ---------- */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.store { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--paper); }
.store .ph { aspect-ratio: 16/9; }
.store-body { padding: 30px 32px 34px; }
.store-body .h3 { color: var(--sumi); margin-bottom: 6px; }
.store-meta { font-size: 14px; color: #56514a; line-height: 1.9; margin: 14px 0 20px; }
.store-meta b { font-weight: 500; color: var(--ink); }

/* ---------- Services strip ---------- */
.services { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.svc { background: var(--paper); padding: 34px 30px; }
.svc .h3 { font-size: 20px; color: var(--sumi); margin-bottom: 8px; }
.svc p { font-size: 14px; color: #56514a; margin: 0; }

/* ---------- Experience page specifics ---------- */
.exp-step { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--line); }
.exp-step:nth-child(even) .exp-media { order: 2; }
.exp-media .ph { aspect-ratio: 5/4; border-radius: 3px; }
.exp-copy .num { font-family: var(--serif); font-size: 16px; letter-spacing: 0.25em; color: var(--shu); }
.exp-copy .verb { font-family: var(--serif); font-size: clamp(30px,4vw,46px); color: var(--sumi); margin: 10px 0 6px; }
.exp-copy .verb .jp { font-size: 17px; color: var(--muted); margin-left: 14px; font-weight: 400; }
.exp-copy p { font-size: 16px; color: #4a453d; margin: 16px 0 0; }
.pull { border-left: 3px solid var(--ai); padding-left: 20px; margin-top: 22px; font-family: var(--serif); font-size: 20px; color: var(--ai-dk); line-height: 1.5; }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); padding: 18px 0; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--shu); }

/* ---------- CTA banner ---------- */
.cta-banner { background: var(--ai); color: #fff; text-align: center; padding: 80px 0; }
.cta-banner .h2 { color: #fff; margin-bottom: 16px; }
.cta-banner p { color: #cdd8e4; max-width: 560px; margin: 0 auto 30px; }

/* ---------- Footer ---------- */
.site-footer { background: #131211; color: #b8b2a6; padding: 66px 0 34px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .logo .en { color: #fff; }
.site-footer h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #7d766a; margin: 0 0 16px; font-weight: 600; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: #b8b2a6; }
.site-footer a:hover { color: #fff; }
.foot-bottom { border-top: 1px solid #2a2825; margin-top: 46px; padding-top: 22px; display: flex; justify-content: space-between; color: #6a645a; font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .triptych, .grid-3, .grid-4, .pillars, .band, .stores, .services, .exp-step, .foot-grid { grid-template-columns: 1fr; }
  .band .ph { min-height: 240px; }
  .band-body, .store-body { padding: 40px 28px; }
  .exp-step:nth-child(even) .exp-media { order: 0; }
  .exp-step { gap: 30px; padding: 50px 0; }
  .hero-inner { padding-bottom: 54px; }
  .wrap { padding: 0 22px; }
  section { padding: 64px 0; }
  /* Footer: 2 columns on mobile (brand block full-width, link columns 2-up).
     NOTE: also delivered live via mu-plugin tenpos-css-tweaks.php (OPcache workaround). */
  .site-footer .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px 22px; }
  .site-footer .foot-grid > div:first-child { grid-column: 1 / -1; }
  .site-footer .foot-bottom { flex-direction: column; gap: 6px; align-items: flex-start; }
}

/* Hero H1: keep its 3 forced (<br>) lines from wrapping to 4 on narrow phones */
@media (max-width: 480px) {
  .hero .display { font-size: clamp(26px, 8.5vw, 40px); line-height: 1.2; }
}

/* =========================================================
   Components for interior pages (added for Phase 1 mock)
   ========================================================= */

/* Compact page hero (interior) */
.page-hero { background: var(--sumi); color: var(--washi); padding: 66px 0 60px; }
.page-hero .crumb { color: #8a847a; padding: 0 0 18px; }
.page-hero .crumb a { color: #8a847a; }
.page-hero h1 { color: #fff; margin: 14px 0 18px; font-size: clamp(34px,5vw,58px); }
.page-hero .lead { color: #cfc9bc; max-width: 640px; }
.page-hero.split { padding-bottom: 0; }

/* Product-style split hero (knife type page) */
.prod-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: stretch; }
.prod-hero .ph { min-height: 460px; }
.prod-hero-body { padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; }

/* Quick facts list */
.facts { list-style: none; padding: 0; margin: 22px 0 0; border-top: 1px solid var(--line); }
.facts li { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.facts .k { color: var(--muted); letter-spacing: 0.04em; }
.facts .v { color: var(--ink); font-weight: 500; text-align: right; }
.sumi-section .facts { border-color: var(--line-dk); }
.sumi-section .facts li { border-color: var(--line-dk); color: #cfc9bc; }
.sumi-section .facts .v { color: #fff; }

/* Prose block */
.prose { max-width: 760px; }
.prose h2 { font-size: 28px; color: var(--sumi); margin: 46px 0 14px; }
.prose h3 { font-size: 20px; color: var(--sumi); margin: 30px 0 10px; }
.prose p { margin: 0 0 16px; color: #46413a; }
.prose ul { margin: 0 0 18px; padding-left: 20px; color: #46413a; }
.prose li { margin-bottom: 8px; }

/* Spec / comparison table */
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0 8px; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.spec-table thead th { background: var(--sumi); color: #e9c88c; font-family: var(--sans); font-weight: 500; letter-spacing: 0.04em; font-size: 13px; }
.spec-table tbody tr:nth-child(even) { background: #f1e9d8; }
.spec-table td:first-child { font-weight: 500; color: var(--ink); }
/* Horizontal scroll wrapper (mobile) — prevents 5-column crush */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0 8px; }
.table-wrap .spec-table { margin: 0; min-width: 560px; }
/* Spec table inside dark (sumi) sections — the Steel guide. Light usages untouched. */
.sumi-section .spec-table th,
.sumi-section .spec-table td { border-bottom-color: rgba(255,255,255,0.14); }
.sumi-section .spec-table thead th { background: rgba(255,255,255,0.05); color: #e9c88c; border-bottom: 2px solid rgba(233,200,140,0.5); white-space: nowrap; }
.sumi-section .spec-table tbody td { color: #e5ded0; }
.sumi-section .spec-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.05); }
.sumi-section .spec-table td:first-child { color: #fff; font-weight: 600; white-space: nowrap; }

/* Callout */
.callout { border-left: 3px solid var(--shu); background: #f7ede6; padding: 22px 26px; border-radius: 0 3px 3px 0; margin: 24px 0; }
.callout .h3 { color: var(--sumi); font-size: 19px; margin-bottom: 6px; }
.callout p { margin: 0; color: #5a544b; font-size: 15px; }

/* FAQ accordion */
.faq-list { max-width: 820px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--serif); font-size: 20px; color: var(--sumi); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 18px; font-size: 24px; color: var(--ai); font-family: var(--sans); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 0 22px; color: #46413a; font-size: 15px; max-width: 720px; }
.faq-cat { font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ai); margin: 40px 0 8px; }

/* Map placeholder */
.map-ph { aspect-ratio: 16/7; border: 1px solid var(--line); border-radius: 3px; }
/* Google Maps embed (store pages) — specified size: full-width, 420px tall (300px on phones) */
.store-map { display: block; width: 100%; height: 420px; border: 0; border-radius: 3px; }
@media (max-width: 600px) { .store-map { height: 300px; } }

/* ---------- Mobile hamburger menu (≤900px) ---------- */
@media (max-width: 900px) {
  .lang-drop { display: none; }
  .mm-burger {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 30px; height: 30px; padding: 0; background: none; border: 0; cursor: pointer;
  }
  .mm-burger span { display: block; width: 24px; height: 2px; background: var(--sumi); }
  .mm-panel {
    display: block; position: fixed; inset: 0; z-index: 200;
    background: var(--sumi); color: var(--washi);
    padding: 86px 30px 48px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .22s ease, transform .22s ease;
  }
  .mm-panel.open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mm-close {
    position: absolute; top: 20px; right: 24px; padding: 0;
    background: none; border: 0; color: var(--washi); font-size: 36px; line-height: 1; cursor: pointer;
  }
  .mm-nav { display: flex; flex-direction: column; max-width: 480px; margin: 0 auto; }
  .mm-nav > a {
    font-family: var(--serif); font-size: 25px; color: var(--washi);
    padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.10);
  }
  .mm-nav > a.mm-sub { font-family: var(--jp); font-size: 15px; color: #cfc9bc; padding: 8px 0 8px 18px; border-bottom: 0; }
  .mm-nav > a:hover { color: var(--shu); }
  .mm-lang { margin-top: 26px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 20px; }
  .mm-lang > summary { list-style: none; cursor: pointer; font-size: 15px; letter-spacing: .05em; color: #cfc9bc; padding: 6px 0; }
  .mm-lang > summary::-webkit-details-marker { display: none; }
  .mm-lang > summary::after { content: " \25BE"; opacity: .6; }
  .mm-lang[open] > summary::after { content: " \25B4"; }
  .mm-lang a { display: block; font-size: 19px; color: var(--washi); padding: 11px 0 11px 20px; }
  .mm-lang a.active { color: var(--shu); }
}

/* Contact form (mock) */
.form { max-width: 640px; }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-size: 13px; letter-spacing: 0.04em; color: var(--ink); margin-bottom: 6px; font-weight: 500; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfc6b4; border-radius: 2px;
  font-family: var(--sans); font-size: 15px; color: var(--ink); background: var(--paper);
}
.form textarea { min-height: 130px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: start; }
.contact-side { background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 30px 32px; font-size: 14.5px; }
.contact-side h3 { color: var(--sumi); font-size: 18px; margin: 0 0 6px; }
.contact-side p { color: #56514a; margin: 0 0 18px; line-height: 1.8; }

/* Sample chips (engraving) */
.chips { display: flex; gap: 14px; flex-wrap: wrap; margin: 8px 0 4px; }
.chip-sample { border: 1px solid var(--line); background: var(--paper); border-radius: 3px; padding: 18px 22px; text-align: center; min-width: 130px; }
.chip-sample .big { font-family: var(--jp); font-size: 26px; color: var(--sumi); }
.chip-sample .lbl { font-size: 12px; color: var(--muted); margin-top: 6px; letter-spacing: 0.08em; }

@media (max-width: 900px) {
  .prod-hero { grid-template-columns: 1fr; }
  .prod-hero .ph { min-height: 260px; }
  .prod-hero-body { padding: 40px 24px; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .form .row2 { grid-template-columns: 1fr; }
}

/* =========================================================
   Theme hero: background video + poster fallback (overrides mock .hero bg)
   ========================================================= */
.hero { background: var(--sumi) center/cover no-repeat; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; border: 0; }
.hero-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(18,17,15,0.32) 0%, rgba(18,17,15,0.48) 45%, rgba(18,17,15,0.88) 100%); }
.hero > .wrap { position: relative; z-index: 2; width: 100%; }
@media (max-width: 900px) { .hero-video { display: none; } } /* mobile = poster image only */
