:root {
  --bg: #fbf7ef;
  --surface: #ffffff;
  --surface-2: #f4ecdd;
  --text: #2b2418;
  --muted: #6e6352;
  --border: #e6dccb;
  --yolk: #f2a516;
  --yolk-deep: #d9820b;
  --white: #fffdf6;
  --bowl: #3b3a44;
  --broth: #c9a46a;
  --steam: #b8ae9c;
  --accent-text: #9a5a00;
  --ok: #3f8f5a;
  --warn: #e07b12;
  --danger: #c4442c;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(80, 55, 10, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1712;
    --surface: #24201a;
    --surface-2: #2e2920;
    --text: #f1eadc;
    --muted: #b3a891;
    --border: #3d362a;
    --yolk: #f5b02e;
    --yolk-deep: #e39317;
    --white: #f6f0e2;
    --bowl: #0f0e12;
    --broth: #8c6f43;
    --steam: #786f60;
    --accent-text: #f5b02e;
    --ok: #6cc28a;
    --warn: #f39a3c;
    --danger: #ef7a62;
    --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --bg: #1a1712;
  --surface: #24201a;
  --surface-2: #2e2920;
  --text: #f1eadc;
  --muted: #b3a891;
  --border: #3d362a;
  --yolk: #f5b02e;
  --yolk-deep: #e39317;
  --white: #f6f0e2;
  --bowl: #0f0e12;
  --broth: #8c6f43;
  --steam: #786f60;
  --accent-text: #f5b02e;
  --ok: #6cc28a;
  --warn: #f39a3c;
  --danger: #ef7a62;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.4; margin: 0 0 0.6em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 24px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 800; text-decoration: none; letter-spacing: 0.04em; white-space: nowrap; }
.nav { display: flex; gap: 18px; font-size: 14px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"] { font-weight: 700; }

main { max-width: 960px; margin: 0 auto; padding: 0 24px; }

.section { padding: 72px 0; border-top: 1px solid var(--border); }
.section > h2 { font-size: clamp(24px, 4vw, 32px); }
.section > h2::before {
  content: ""; display: inline-block; width: 12px; height: 12px; margin-right: 12px;
  border-radius: 50%; background: var(--yolk); vertical-align: middle;
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--yolk) 25%, transparent);
}

.eyebrow { font-size: 13px; letter-spacing: 0.2em; color: var(--accent-text); font-weight: 700; margin-bottom: 12px; }
.lead { color: var(--muted); font-size: 17px; margin-bottom: 28px; }

.btn {
  display: inline-block; padding: 12px 24px; border-radius: 999px; border: 2px solid var(--yolk-deep);
  background: var(--yolk); color: #2b1a00; font-weight: 700; font-size: 15px;
  text-decoration: none; cursor: pointer; font-family: inherit; line-height: 1.4;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { background: var(--yolk-deep); transform: translateY(-1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--yolk-deep); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-small { padding: 6px 14px; font-size: 13px; }
.btn-danger { background: transparent; color: var(--danger); border-color: color-mix(in srgb, var(--danger) 45%, transparent); }
.btn-danger:hover { background: color-mix(in srgb, var(--danger) 10%, transparent); }

.site-footer {
  text-align: center; padding: 48px 24px; border-top: 1px solid var(--border); background: var(--surface-2);
}
.site-footer p { margin: 0 0 6px; }
.site-footer .small { font-size: 12px; color: var(--muted); }

@media (max-width: 720px) {
  .site-header { padding: 12px 16px; }
  .nav { gap: 12px; font-size: 13px; }
  main { padding: 0 16px; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
