/* ============================================
   TOKKI LLC — Corporate Site
   Design tokens
   ============================================ */
:root {
  --bg: #fbfaf7;
  --ink: #18160f;
  --ink-soft: #56534a;
  --ink-faint: #8b877a;
  --line: #e6e1d3;
  --panel: #f3efe4;
  --panel-deep: #eae4d4;
  --stamp: #ad3324;
  --stamp-soft: #ad332212;

  --font-display-jp: 'Klee One', sans-serif;
  --font-display-en: 'Quicksand', sans-serif;
  --font-body-jp: 'Noto Sans JP', sans-serif;
  --font-body-en: 'Inter', sans-serif;

  --max: 1080px;
  --gutter: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body-jp);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display-jp);
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.02em;
}

.en {
  font-family: var(--font-display-en);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { height: 34px; width: auto; }
.brand-name {
  font-family: var(--font-display-en);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.brand-name small {
  display: block;
  font-family: var(--font-body-jp);
  font-weight: 400;
  font-size: 0.62rem;
  color: var(--ink-soft);
  letter-spacing: 0.15em;
}

nav.main-nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 32px);
  font-size: 0.9rem;
}
nav.main-nav a {
  position: relative;
  padding: 6px 0;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
nav.main-nav a:hover,
nav.main-nav a.active { color: var(--ink); }
nav.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--stamp);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Stamp / signature element ---------- */
.stamp-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body-jp);
  font-size: 0.82rem;
  color: var(--stamp);
  margin-bottom: 18px;
}
.stamp-mark {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
}
.stamp-mark svg { width: 100%; height: 100%; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(48px, 8vw, 88px) 0 clamp(40px, 6vw, 72px);
  text-align: center;
}
.hero-mark {
  width: clamp(64px, 8vw, 92px);
  margin: 0 auto 20px;
}
.hero h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  line-height: 1.6;
  max-width: 18ch;
  margin: 0 auto 14px;
}
.hero .tagline-en {
  font-family: var(--font-display-en);
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 0.92rem;
  border: 1.5px solid var(--ink);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid {
  background: var(--ink);
  color: var(--bg);
}
.btn-solid:hover { background: #000; }
.btn-outline {
  background: transparent;
  color: var(--ink);
}
.btn-outline:hover { background: var(--panel); }

/* ---------- Sections ---------- */
section { padding: clamp(56px, 9vw, 100px) 0; }
.section-alt { background: var(--panel); }
.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}
.section-head h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  margin-bottom: 12px;
}
.section-head p { color: var(--ink-soft); margin: 0; }

/* ---------- Cards / grid ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 32px;
}
.card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

.product-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card .product-photo {
  aspect-ratio: 4 / 3;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 0.82rem;
  border-bottom: 1px dashed var(--line);
}
.product-card .product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card .product-body { padding: 28px; }
.product-card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.product-card .product-en {
  font-family: var(--font-display-en);
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-bottom: 14px;
  display: block;
}
.product-card p { color: var(--ink-soft); font-size: 0.92rem; }
.quote {
  margin-top: 18px;
  padding-left: 16px;
  border-left: 2px solid var(--stamp);
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-style: normal;
}
.quote cite {
  display: block;
  margin-top: 6px;
  font-style: normal;
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------- About / founder ---------- */
.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 44px;
  align-items: start;
}
@media (max-width: 720px) {
  .founder { grid-template-columns: 1fr; }
  .founder-photo { max-width: 220px; margin: 0 auto; }
}
.founder-photo img {
  border-radius: 16px;
  border: 1px solid var(--line);
}
.founder-name {
  font-size: 1.2rem;
  margin-bottom: 2px;
}
.founder-role {
  color: var(--ink-soft);
  font-size: 0.85rem;
  margin-bottom: 18px;
  display: block;
}
.founder-bio p { margin: 0 0 16px; color: var(--ink-soft); }
.founder-bio p:last-child { margin-bottom: 0; }

.story-block {
  background: var(--panel);
  border-radius: 18px;
  padding: clamp(28px, 5vw, 48px);
  margin-top: 48px;
}
.story-block h3 { margin-bottom: 16px; font-size: 1.1rem; }
.story-block p { color: var(--ink-soft); margin: 0 0 14px; }
.story-block p:last-child { margin: 0; }

/* ---------- Info table ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.info-table tr { border-top: 1px solid var(--line); }
.info-table tr:last-child { border-bottom: 1px solid var(--line); }
.info-table th, .info-table td {
  text-align: left;
  padding: 16px 8px;
  font-weight: 400;
  vertical-align: top;
}
.info-table th {
  width: 9em;
  color: var(--ink-faint);
  font-size: 0.85rem;
  font-family: var(--font-body-jp);
}
.info-table td { color: var(--ink); font-size: 0.92rem; }

/* ---------- Wholesale appeal list ---------- */
.appeal-list {
  display: grid;
  gap: 20px;
  margin-top: 8px;
}
.appeal-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.appeal-item:last-child { border-bottom: 1px solid var(--line); }
.appeal-num {
  font-family: var(--font-display-en);
  font-size: 1.3rem;
  color: var(--stamp);
  min-width: 2ch;
}
.appeal-item h3 { font-size: 1rem; margin-bottom: 6px; }
.appeal-item p { color: var(--ink-soft); font-size: 0.92rem; margin: 0; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
}
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-family: var(--font-body-jp);
  font-size: 0.92rem;
  color: var(--ink);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--stamp);
  outline-offset: 1px;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 24px;
  padding: clamp(40px, 8vw, 72px);
}
.cta-band h2 { color: var(--bg); margin-bottom: 14px; }
.cta-band p { color: #d8d5c9; margin: 0 0 30px; }
.cta-band .btn-outline {
  border-color: var(--bg);
  color: var(--bg);
}
.cta-band .btn-outline:hover { background: rgba(255,255,255,0.08); }
.cta-band .btn-solid {
  background: var(--bg);
  color: var(--ink);
}
.cta-band .btn-solid:hover { background: #fff; }

/* ---------- Footer ---------- */
footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 36px;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand img { height: 30px; }
.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--ink-faint);
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.subtle { color: var(--ink-soft); }

/* ---------- Mobile nav ---------- */
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 8px var(--gutter) 20px;
    gap: 4px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  nav.main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  nav.main-nav a { padding: 12px 0; border-top: 1px solid var(--line); }
  nav.main-nav a:first-child { border-top: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
