/* ==========================================================================
   CALFAS TR — Special site stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
  /* Color */
  --c-bg:           #ffffff;
  --c-bg-soft:      #faf6f3;
  --c-bg-tint:      #f3ece5;
  --c-ink:          #2a221d;
  --c-ink-2:        #6a5d54;
  --c-ink-mute:     #a99c91;
  --c-accent:       #d97a3f;
  --c-accent-deep:  #964317;
  --c-accent-soft:  #f4dccb;
  --c-hairline:     #ece4dc;
  --c-focus:        #d97a3f;

  /* Typography */
  --ff-sans:  "Noto Sans JP", "Noto Sans", -apple-system, BlinkMacSystemFont,
              "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --ff-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho",
              "Times New Roman", serif;
  --fs-base:    clamp(1.125rem, 1.05rem + 0.35vw, 1.25rem);
  --fs-small:   0.9375rem;
  --fs-eyebrow: 0.8125rem;
  --lh-base:    1.85;
  --lh-tight:   1.4;
  --ls-heading: 0.04em;
  --ls-eyebrow: 0.22em;

  /* Layout */
  --container:        1120px;
  --container-narrow: 880px;
  --gutter:           clamp(20px, 5vw, 48px);
  --section-pad-y:    clamp(80px, 10vw, 140px);
  --header-h:         88px;

  /* Surfaces */
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 24px;
  --shadow-soft: 0 20px 40px -28px rgba(26, 35, 48, 0.18);
  --shadow-card: 0 30px 60px -40px rgba(26, 35, 48, 0.25);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg { display: block; max-width: 100%; height: auto; }

ul,
ol { margin: 0; padding: 0; list-style: none; }

p { margin: 0; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--ff-serif);
  font-weight: 500;
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-heading);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}
a:hover { color: var(--c-accent-deep); }

:focus-visible {
  outline: 2px solid var(--c-focus);
  outline-offset: 3px;
  border-radius: 2px;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

table { border-collapse: collapse; width: 100%; }

sup { font-size: 0.7em; }

::selection {
  background: var(--c-accent-soft);
  color: var(--c-ink);
}

/* --------------------------------------------------------------------------
   3. Utilities
   -------------------------------------------------------------------------- */

.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;
}

/* --------------------------------------------------------------------------
   4. Site header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
          backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-header[data-scrolled="true"] {
  border-bottom-color: var(--c-hairline);
}

.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__brand {
  display: inline-flex;
  align-items: center;
}
.site-header__brand img {
  width: auto;
  height: 50px;
}

/* --------------------------------------------------------------------------
   5. Site nav
   -------------------------------------------------------------------------- */

.site-nav__list {
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
  align-items: center;
  font-size: var(--fs-small);
  letter-spacing: 0.06em;
}
.site-nav__list a {
  color: var(--c-ink-2);
  position: relative;
  padding: 6px 0;
}
.site-nav__list a:hover { color: var(--c-ink); }
.site-nav__list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav__list a:hover::after { transform: scaleX(1); }

.site-nav__toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
  border-radius: 8px;
}
.site-nav__toggle-bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1.5px;
  background: var(--c-ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.site-nav__toggle-bar:nth-child(2) { top: 14px; }
.site-nav__toggle-bar:nth-child(3) { top: 19px; }
.site-nav__toggle-bar:nth-child(4) { top: 24px; }

@media (max-width: 820px) {
  .site-nav__toggle { display: block; }
  .site-nav__list {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-hairline);
    padding: 16px var(--gutter) 24px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }
  .site-nav__list a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--c-hairline);
    font-size: 16px;
  }
  .site-nav__list a::after { display: none; }

  .site-nav__toggle[aria-expanded="true"] + .site-nav__list,
  .site-nav[data-open="true"] .site-nav__list {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(2) {
    transform: translateY(5px) rotate(45deg);
  }
  .site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(3) {
    opacity: 0;
  }
  .site-nav__toggle[aria-expanded="true"] .site-nav__toggle-bar:nth-child(4) {
    transform: translateY(-5px) rotate(-45deg);
  }
}

/* --------------------------------------------------------------------------
   6. Section primitives
   -------------------------------------------------------------------------- */

main { display: block; padding-top: var(--header-h); }

.section {
  position: relative;
  padding: var(--section-pad-y) 0;
}

.section__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section__eyebrow {
  font-family: "Noto Sans", var(--ff-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-accent-deep);
  margin-bottom: 18px;
}

.section__title {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 500;
  letter-spacing: var(--ls-heading);
  color: var(--c-ink);
  max-width: 28ch;
}

.section__sub {
  margin-top: 12px;
  color: var(--c-ink-2);
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 300;
  letter-spacing: 0.06em;
}

.section__sidetag {
  position: absolute;
  top: var(--section-pad-y);
  right: clamp(8px, 2vw, 24px);
  writing-mode: vertical-rl;
  font-family: "Noto Sans", var(--ff-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  margin: 0;
  pointer-events: none;
}

@media (max-width: 720px) {
  .section__sidetag { display: none; }
}

.prose {
  max-width: 64ch;
  color: var(--c-ink-2);
  margin-top: 24px;
}
.prose > * + * { margin-top: 1.2em; }
.prose p { line-height: var(--lh-base); }

/* Soft alternating band */
.section--message,
.section--compact,
.section--operation,
.section--spec {
  background: var(--c-bg-soft);
}

.section--effects {
  background: var(--c-bg);
}

/* Section divider hairline (only between same-toned sections) */
.section + .section { border-top: 0; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */

.section--hero {
  position: relative;
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(60px, 8vw, 120px);
  background: var(--c-bg);
  overflow: hidden;
}
.section--hero .section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.section--hero .section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}
.section--hero .section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.0) 30%, rgba(255, 255, 255, 0.85) 80%, #ffffff 100%);
}

.section--hero .section__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero__copy-wrap {
  position: relative;
  z-index: 2;
}

.hero__eyebrow {
  font-family: "Noto Sans", var(--ff-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--c-accent-deep);
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  margin: 0;
}

.hero__lead {
  margin-top: clamp(20px, 2.4vw, 28px);
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 300;
  color: var(--c-ink-2);
  letter-spacing: 0.06em;
  line-height: 1.7;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3.4vw, 40px);
}

.badge {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--c-bg);
  border: 1px solid var(--c-hairline);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--c-ink);
  box-shadow: var(--shadow-soft);
}
.badge__num {
  font-family: "Noto Sans", var(--ff-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--c-accent-deep);
  line-height: 1;
  margin-right: 2px;
}
.badge__label { letter-spacing: 0.12em; }
.badge--alt {
  background: var(--c-accent-soft);
  border-color: transparent;
  color: var(--c-accent-deep);
}
.badge small { font-size: 0.7em; margin-left: 1px; }

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero__visual picture,
.hero__visual img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__visual img {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 880px) {
  .section--hero .section__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   8. Message
   -------------------------------------------------------------------------- */

.section--message {
  position: relative;
  overflow: hidden;
}
.section--message .section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.section--message .section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  opacity: 0.55;
}
.section--message .section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(250, 246, 243, 0.95) 0%, rgba(250, 246, 243, 0.85) 50%, rgba(250, 246, 243, 0.65) 100%);
}
.section--message > * { position: relative; z-index: 1; }

.section--message .section__inner {
  text-align: center;
  max-width: 880px;
}
.section--message .section__title {
  margin: 0 auto;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 500;
  line-height: 1.6;
  max-width: none;
}
.section--message .prose {
  margin: clamp(28px, 3.4vw, 40px) auto 0;
  text-align: left;
}

/* --------------------------------------------------------------------------
   9. Effects
   -------------------------------------------------------------------------- */

.section--effects .section__title { max-width: 36ch; }

.effects-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(28px, 3vw, 40px);
}
.effects-list li {
  padding: 14px 22px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-hairline);
  border-radius: 999px;
  font-size: 15px;
  color: var(--c-ink);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   10. Hybrid
   -------------------------------------------------------------------------- */

.section--hybrid {
  position: relative;
  background: var(--c-bg);
  text-align: center;
  overflow: hidden;
}
.section--hybrid .section__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.section--hybrid .section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}
.section--hybrid .section__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 50% 50%, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.95) 100%);
}
.section--hybrid > * { position: relative; z-index: 1; }
.section--hybrid .section__inner { max-width: 880px; }
.section--hybrid .section__eyebrow { margin-bottom: 20px; }
.section--hybrid .section__title {
  margin: 0 auto;
  max-width: none;
  font-size: clamp(24px, 3.2vw, 36px);
  line-height: 1.6;
}
.section--hybrid .prose { margin: 32px auto 0; text-align: left; }

/* --------------------------------------------------------------------------
   11. Wave
   -------------------------------------------------------------------------- */

.section--wave { background: var(--c-bg); }
.section--wave .section__title { max-width: 18ch; }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(48px, 6vw, 72px);
}
.feature--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.feature--reverse .feature__visual { order: 2; }
.feature--reverse .feature__body { order: 1; }

.feature__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-bg-soft);
  box-shadow: var(--shadow-soft);
}
.feature__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.feature__title {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--c-ink);
  margin-bottom: 20px;
}
.feature__body p {
  color: var(--c-ink-2);
  line-height: var(--lh-base);
}
.feature__body p + p { margin-top: 1em; }
.feature__note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--c-ink-mute);
}
.feature__caption {
  font-size: 14px;
  color: var(--c-ink-mute);
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .feature,
  .feature--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .feature--reverse .feature__visual { order: 0; }
  .feature--reverse .feature__body { order: 0; }
}

/* --------------------------------------------------------------------------
   12. Compact
   -------------------------------------------------------------------------- */

.section--compact .section__title { max-width: 22ch; }

.compact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.compact-grid__body {}
.compact-grid__visual {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
  background: var(--c-bg);
  border: 1px solid var(--c-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}
.compact-grid__visual picture {
  display: block;
  width: 100%;
  max-width: 320px;
}
.compact-grid__visual img {
  width: 100%;
  height: auto;
  display: block;
}
.compact-grid__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--c-hairline);
  width: 100%;
  text-align: center;
  font-family: "Noto Sans", var(--ff-sans);
}
.compact-grid__dim {
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--c-ink-2);
}
.compact-grid__weight {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700;
  color: var(--c-accent-deep);
  line-height: 1;
  letter-spacing: 0.02em;
}
.compact-grid__caption small {
  font-size: 0.55em;
  margin-left: 2px;
  font-weight: 500;
  color: var(--c-ink-2);
}

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

/* --------------------------------------------------------------------------
   13. Modes
   -------------------------------------------------------------------------- */

.section--modes { background: var(--c-bg); }
.section--modes .section__title { max-width: 26ch; }

.modes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
  margin-top: clamp(48px, 6vw, 72px);
}

.mode {
  position: relative;
  padding: clamp(28px, 3.6vw, 44px);
  background: var(--c-bg);
  border: 1px solid var(--c-hairline);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mode--wave {
  background:
    linear-gradient(165deg, #fbf2ea 0%, #f5e0cf 100%);
  border-color: transparent;
}
.mode--low {
  background:
    linear-gradient(165deg, #f7f1ea 0%, #ece2d4 100%);
  border-color: transparent;
}
.mode__label {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--c-bg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--c-accent-deep);
  border: 1px solid var(--c-hairline);
}
.mode--low .mode__label { color: var(--c-ink); }
.mode__caption {
  font-size: clamp(15px, 1.6vw, 17px);
  color: var(--c-ink-2);
  line-height: 1.7;
}
.mode__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 8px 0;
  padding: 16px 0;
  border-top: 1px solid rgba(42, 34, 29, 0.08);
  border-bottom: 1px solid rgba(42, 34, 29, 0.08);
}
.mode__stats div { display: flex; flex-direction: column; gap: 4px; }
.mode__stats dt {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink-mute);
  font-family: "Noto Sans", var(--ff-sans);
  font-weight: 500;
}
.mode__stats dd {
  margin: 0;
  display: flex;
  align-items: baseline;
  font-family: "Noto Sans", var(--ff-sans);
  color: var(--c-ink);
}
.mode__num {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  color: var(--c-accent-deep);
}
.mode--low .mode__num { color: var(--c-ink); }
.mode__unit {
  font-size: 13px;
  color: var(--c-ink-2);
  margin-left: 6px;
  letter-spacing: 0.06em;
}
.mode__desc {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--c-ink-2);
}

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

/* Patterns block */
.patterns {
  margin-top: clamp(56px, 6vw, 80px);
  padding: clamp(32px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-hairline);
}
.patterns__title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  margin-bottom: clamp(24px, 3vw, 32px);
}
.patterns__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  text-align: center;
}
.patterns__list li {
  padding: 24px 16px;
  background: var(--c-bg);
  border-radius: var(--radius);
  border: 1px solid var(--c-hairline);
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.patterns__name {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--c-ink-2);
}
.patterns__count {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--c-accent-deep);
  font-family: "Noto Sans", var(--ff-sans);
  line-height: 1;
}
.patterns__count small {
  font-size: 0.4em;
  font-weight: 500;
  margin-left: 4px;
  color: var(--c-ink-2);
  letter-spacing: 0.08em;
}

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

/* --------------------------------------------------------------------------
   14. Usage
   -------------------------------------------------------------------------- */

.section--usage { background: var(--c-bg); }
.section--usage .section__title { max-width: 24ch; }

.usage-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(40px, 5vw, 64px);
  align-items: center;
}
.usage-grid__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-bg-soft);
  box-shadow: var(--shadow-soft);
}
.usage-grid__visual img {
  width: 100%;
  height: auto;
  display: block;
}
.usage-list { display: flex; flex-direction: column; gap: 0; }
.usage-list li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--c-hairline);
}
.usage-list li:last-child { border-bottom: 0; }
.usage-list__name {
  flex: 1;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-ink);
}
.usage-list__tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--c-accent-soft);
  color: var(--c-accent-deep);
  font-family: "Noto Sans", var(--ff-sans);
}

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

/* --------------------------------------------------------------------------
   15. Operation
   -------------------------------------------------------------------------- */

.section--operation .section__title { max-width: 26ch; }

.operation-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
  margin-top: clamp(40px, 5vw, 56px);
}
.operation-list li {
  padding: clamp(24px, 3vw, 32px);
  background: var(--c-bg);
  border: 1px solid var(--c-hairline);
  border-radius: var(--radius);
}
.operation-list h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  margin-bottom: 12px;
}
.operation-list p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--c-ink-2);
}

@media (max-width: 760px) {
  .operation-list { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   16. Spec
   -------------------------------------------------------------------------- */

.section--spec .section__title { margin-bottom: clamp(28px, 3vw, 40px); }

.spec-table-wrap {
  background: var(--c-bg);
  border: 1px solid var(--c-hairline);
  border-radius: var(--radius);
  overflow: hidden;
}
.spec-table {
  font-size: 15px;
  line-height: 1.7;
}
.spec-table th,
.spec-table td {
  padding: 16px clamp(16px, 2vw, 24px);
  vertical-align: top;
  text-align: left;
  border-bottom: 1px solid var(--c-hairline);
}
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table th {
  width: 30%;
  background: var(--c-bg-tint);
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.spec-table td { color: var(--c-ink-2); }

@media (max-width: 720px) {
  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td { display: block; width: 100%; }
  .spec-table th,
  .spec-table td {
    padding: 6px clamp(16px, 2vw, 24px);
    border-bottom: 0;
  }
  .spec-table th {
    width: 100%;
    white-space: normal;
  }
  .spec-table tr {
    border-bottom: 1px solid var(--c-hairline);
    padding: 10px 0;
  }
  .spec-table tr:last-child { border-bottom: 0; }
}

/* --------------------------------------------------------------------------
   17. Caution
   -------------------------------------------------------------------------- */

.section--caution { background: var(--c-bg); padding-bottom: clamp(80px, 8vw, 120px); }

.caution {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-hairline);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius);
  padding: clamp(28px, 3.6vw, 44px);
}
.caution__title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--c-ink);
  margin-bottom: 20px;
}
.caution p {
  font-size: 14.5px;
  line-height: 1.85;
  color: var(--c-ink-2);
}
.caution p + p,
.caution p + ul,
.caution ul + p { margin-top: 14px; }
.caution ul {
  padding-left: 1.2em;
  list-style: disc;
}
.caution ul li {
  font-size: 14px;
  line-height: 1.85;
  color: var(--c-ink-2);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 88px) var(--gutter) clamp(28px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.site-footer__brand { display: flex; align-items: flex-start; }
.site-footer__logo {
  width: 200px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.site-footer__maker { display: flex; flex-direction: column; gap: 14px; }
.site-footer__maker-label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer__maker-logo {
  width: 160px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}
.site-footer__maker-address {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  font-size: 13px;
}
.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: 4px;
  font-size: 13px;
}
.site-footer__contact div { display: flex; flex-direction: column; gap: 2px; }
.site-footer__contact dt {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}
.site-footer__contact dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.04em;
}
.site-footer__contact dd a { color: inherit; }
.site-footer__contact dd a:hover { color: var(--c-accent-soft); }

.site-footer__cert {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
}

.site-footer__copyright {
  grid-column: 1 / -1;
  margin-top: clamp(32px, 4vw, 48px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  font-family: "Noto Sans", var(--ff-sans);
}

@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr; }
}

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

/* --------------------------------------------------------------------------
   19. Misc tuning
   -------------------------------------------------------------------------- */

/* Fine-tune title widow on small screens */
@media (max-width: 540px) {
  .hero__title { font-size: 28px; line-height: 1.5; }
  .section__title { font-size: 24px; line-height: 1.55; }
  .feature__title { font-size: 19px; }
}

/* Print: keep it readable, drop decoration */
@media print {
  .site-header,
  .site-footer,
  .section__sidetag { display: revert; }
  .section { padding: 24px 0; }
  body { font-size: 12pt; color: #000; background: #fff; }
}
