:root {
  --bg: #eef5f2;
  --paper: #fbfffd;
  --ink: #112421;
  --muted: #596b66;
  --line: rgba(17, 36, 33, 0.16);
  --teal: #16736d;
  --teal-dark: #0c4947;
  --mint: #b9ddd3;
  --warm: #d9c6ad;
  --radius: 10px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 8vw, 112px);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, white);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--mint));
  border: 1px solid rgba(17, 36, 33, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.2vw, 24px);
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}

.menu {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
}

.menu::before {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  box-shadow: 0 6px 0 var(--ink), 0 -6px 0 var(--ink);
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal-dark);
  border-radius: var(--radius);
  padding: 12px 18px;
  background: var(--teal-dark);
  color: white;
  font-weight: 780;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  background: var(--teal);
}

.btn.light {
  background: transparent;
  color: var(--teal-dark);
}

.btn.light:hover,
.btn.light:focus-visible {
  background: var(--mint);
}

.hero {
  padding: clamp(34px, 5vw, 68px) 0 clamp(48px, 7vw, 86px);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.kicker {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.65rem, 5vw, 5.15rem);
  line-height: 1.02;
}

h2 {
  max-width: 850px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.12rem;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.4vw, 1.18rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.note {
  max-width: 560px;
  margin-top: 34px;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 30px 80px rgba(12, 73, 71, 0.16);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  padding: 18px;
  border-radius: var(--radius);
  background: rgba(8, 39, 38, 0.78);
  color: white;
  backdrop-filter: blur(12px);
}

.section {
  padding: var(--section) 0;
}

.toc-wrap {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 78%, var(--mint));
}

.toc {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
}

.toc a {
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 7px;
  padding: 18px;
  background: var(--paper);
}

.toc strong {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  line-height: 1;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 0.65fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
}

.aside-note {
  position: sticky;
  top: 104px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.aside-note p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.article-body > p {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
}

.method-list {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.method {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.method span {
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  line-height: 0.95;
}

.method p {
  margin-bottom: 0;
  color: var(--muted);
}

.visual-band {
  background: color-mix(in srgb, var(--paper) 54%, var(--bg));
}

.recipe-card {
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.recipe-card ol {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding-left: 22px;
  color: var(--muted);
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(24px, 5vw, 66px);
  align-items: center;
}

.wide-photo {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.wide-photo img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper);
}

.stat {
  padding: 24px;
  border-right: 1px solid var(--line);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  margin-bottom: 8px;
}

.stat span,
.muted {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.sticky {
  position: sticky;
  top: 104px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tile,
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.tile {
  min-height: 190px;
  padding: 24px;
}

.tile b {
  display: block;
  margin-bottom: 28px;
  color: var(--teal);
}

.photo-pair {
  display: grid;
  grid-template-columns: 1fr 0.76fr;
  gap: 18px;
}

.photo {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--paper);
}

.photo.small {
  min-height: 300px;
}

.photo img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(8, 39, 38, 0.72);
  color: white;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.step {
  min-height: 220px;
  padding: 22px;
  border-top: 4px solid var(--teal);
  background: var(--paper);
}

.step span {
  display: block;
  margin-bottom: 24px;
  color: var(--teal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.5rem;
}

.warning {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(24px, 5vw, 56px);
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius);
  background: var(--teal-dark);
  color: white;
}

.warning h2 {
  margin-bottom: 0;
  color: white;
}

.danger-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.danger-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.82);
}

.danger-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.warning p {
  max-width: 900px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
}

.form-zone {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
}

.form-card {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

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

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

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 760;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  background: white;
  color: var(--ink);
  outline: none;
}

textarea {
  min-height: 118px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(22, 115, 109, 0.16);
}

.fine {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.83rem;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

summary {
  min-height: 58px;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 780;
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.faq {
  display: grid;
  gap: 10px;
}

.footer {
  padding: 42px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .hero-grid,
  .split,
  .form-zone,
  .article-layout,
  .feature-row,
  .warning {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    max-width: 760px;
  }

  .sticky,
  .aside-note {
    position: static;
  }

  .grid-2,
  .photo-pair,
  .process,
  .toc {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 16px;
    --section: 58px;
  }

  .menu {
    display: inline-flex;
    align-items: center;
  }

  .nav {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--bg);
    box-shadow: 0 20px 50px rgba(17, 36, 33, 0.12);
  }

  .header.open .nav {
    display: flex;
  }

  h1 {
    font-size: clamp(2.2rem, 10vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.9rem, 8.4vw, 2.8rem);
  }

  .actions,
  .stats,
  .grid-2,
  .photo-pair,
  .process,
  .form-grid,
  .toc,
  .method {
    grid-template-columns: 1fr;
  }

  .actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .stat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .hero-card img {
    aspect-ratio: 4 / 3;
  }

  .caption {
    position: static;
    border-radius: 0;
    background: var(--teal-dark);
  }

  .photo img {
    min-height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
