/* ===========================================================
   IZUMI FOODS — shared stylesheet
   Palette: deep sea teal, warm paper cream, tosaka red accent
=========================================================== */

:root {
  --paper: #ffffff;
  --paper-dim: #ffffff;
  --ink: #1c2b28;
  --ink-soft: #3f524d;
  --teal: #1f4d45;
  --teal-deep: #14322c;
  --red: #b34632;
  --line: #dcd4c2;
  --white: #ffffff;

  --serif: "Noto Serif JP", "Zen Old Mincho", "Georgia", serif;
  --sans: "Noto Sans JP", "Noto Sans KR", "Helvetica Neue", Arial, sans-serif;

  --max-w: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 0.6em;
  color: var(--teal-deep);
}

p { margin: 0 0 1em; max-width: 62ch; }

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

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 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: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--teal-deep);
}

.brand img { height: 34px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--teal);
  border-color: var(--red);
}

.lang-switch {
  display: flex;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.lang-switch a {
  text-decoration: none;
  color: var(--ink-soft);
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
}

.lang-switch a[aria-current="true"] {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 96px 0 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  max-width: 14ch;
}

.hero .lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
  max-width: 44ch;
}

.hero-media {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 24px 48px -20px rgba(20, 50, 44, 0.35);
}

/* ---------- sections ---------- */

section { padding: 72px 0; }

section.alt { background: var(--paper-dim); }

.section-head {
  max-width: 56ch;
  margin-bottom: 40px;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  color: var(--red);
  margin-bottom: 10px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col img { border-radius: 6px; }

/* ---------- history / bases (timeline-ish, since content is chronological) ---------- */

.timeline {
  border-left: 2px solid var(--line);
  padding-left: 28px;
  display: grid;
  gap: 28px;
}

.timeline .year {
  font-family: var(--serif);
  color: var(--red);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.bases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.base-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 24px;
}

.base-card .icon { font-size: 1.6rem; margin-bottom: 10px; }

/* ---------- strengths ---------- */

.strengths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.strength-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 26px 22px;
}

.strength-card .num {
  font-family: var(--serif);
  color: var(--teal);
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* ---------- products grid ---------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 860px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .products-grid { grid-template-columns: 1fr; }
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card .thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper-dim);
}

.product-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
}

.product-card .body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.product-card h3 { font-size: 1.02rem; margin: 0; }

.product-card .pdf-link {
  margin-top: auto;
  font-size: 0.85rem;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid var(--teal);
  align-self: flex-start;
}

/* ---------- suginori orbit (rolling multilingual badge) ---------- */

.suginori-orbit { overflow: hidden; }

.orbit-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  user-select: none;
}

.orbit-scene {
  position: relative;
  margin: 0 auto;
}

.orbit-label {
  position: absolute;
  top: 0; left: 0;
  white-space: nowrap;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(0.7rem, 2vw, 2.5rem);
  letter-spacing: 0.22em;
  color: var(--ink);
  pointer-events: none;
}

.orbit-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65em;
  margin-top: 1.2em;
}

.orbit-divider {
  width: 40px;
  height: 1px;
  background: var(--line);
  opacity: 0.6;
}

.orbit-classic {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  font-size: clamp(0.55rem, 0.9vw, 0.68rem);
  letter-spacing: 0.4em;
  color: var(--ink-soft);
  opacity: 0.7;
  text-transform: uppercase;
}

/* ---------- blend slider ---------- */

.blend-tool {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 32px;
}

.blend-group { margin-bottom: 28px; }

.blend-group h4 {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--teal-deep);
  margin: 0 0 14px;
}

.blend-row {
  display: grid;
  grid-template-columns: 160px 1fr 52px;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.blend-row input[type="range"] {
  width: 100%;
  accent-color: var(--red);
}

.blend-row .val { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-soft); }

.blend-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.blend-total strong { font-family: var(--serif); color: var(--teal); font-size: 1.2rem; }

.btn-reset {
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.btn-reset:hover { border-color: var(--red); color: var(--red); }

/* ---------- forms ---------- */

.contact-form {
  display: grid;
  gap: 18px;
  max-width: 560px;
}

.field { display: grid; gap: 6px; }

.field label { font-size: 0.85rem; color: var(--ink-soft); }

.field input,
.field textarea {
  font: inherit;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}

.field textarea { min-height: 120px; resize: vertical; }

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--teal);
  outline-offset: 1px;
}

.btn-primary {
  justify-self: start;
  background: var(--teal);
  color: var(--white);
  border: none;
  border-radius: 4px;
  padding: 13px 28px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-primary:hover { background: var(--teal-deep); }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.form-status {
  font-size: 0.9rem;
  padding: 12px 14px;
  border-radius: 4px;
  display: none;
}

.form-status.show { display: block; }

.form-status.ok { background: #e4efe4; color: var(--teal-deep); }

.form-status.err { background: #f6e3df; color: var(--red); }

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .hero-grid, .two-col { grid-template-columns: 1fr; }
  .strengths, .bases-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .blend-row { grid-template-columns: 110px 1fr 46px; }
}
