.wet-dry-guide {
  --wd-ink: #17221f;
  --wd-muted: #5c6965;
  --wd-line: #d8e0dc;
  --wd-paper: #f5f7f4;
  --wd-green: #176a49;
  --wd-deep: #10221c;
  background: #fff;
  color: var(--wd-ink);
}

.wet-dry-guide main { overflow: clip; }
.wet-dry-guide ::selection { color: #fff; background: var(--wd-green); }
.wet-dry-guide a:focus-visible,
.wet-dry-guide button:focus-visible,
.wet-dry-guide video:focus-visible { outline: 3px solid #d85522; outline-offset: 4px; }

.wd-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.wd-hero { padding: 58px 0 62px; background: var(--wd-paper); border-bottom: 1px solid var(--wd-line); }
.wd-hero-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(360px, .84fr); gap: clamp(34px, 5vw, 72px); align-items: center; }
.wd-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; color: #63706c; font-size: 14px; font-weight: 700; }
.wd-breadcrumb a { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; transition: text-decoration-color .18s ease; }
.wd-breadcrumb a:hover { text-decoration-color: currentColor; }
.wd-hero h1 { max-width: 820px; margin: 0; font-size: clamp(40px, 5.3vw, 68px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.wd-quick { max-width: 730px; margin-top: 28px; padding-top: 22px; border-top: 1px solid #cbd5d0; }
.wd-quick h2 { margin: 0 0 8px; color: var(--wd-green); font-size: 16px; line-height: 1.3; }
.wd-quick p { margin: 0; color: #43514d; font-size: 18px; line-height: 1.65; }
.wd-hero-media { margin: 0; overflow: hidden; background: #e7ebe8; border: 1px solid #d4dcd8; border-radius: 12px; box-shadow: 0 18px 42px rgba(16, 34, 28, .13); }
.wd-hero-media img { width: 100%; height: min(380px, 35vw); object-fit: cover; }
.wd-hero-media figcaption,
.wd-media figcaption { padding: 12px 14px; color: #56635f; background: #fff; font-size: 13px; line-height: 1.5; }

.wd-heading h2,
.wd-related h2 { margin: 0; font-size: clamp(30px, 3.5vw, 46px); line-height: 1.08; letter-spacing: -.025em; text-wrap: balance; }

.wd-comparison { padding: 70px 0 76px; background: #fff; border-bottom: 1px solid var(--wd-line); }
.wd-heading { max-width: 800px; margin-bottom: 30px; }
.wd-heading > p { margin: 12px 0 0; color: var(--wd-muted); font-size: 17px; line-height: 1.65; }
.wd-table-hint { display: none; margin: -12px 0 12px; color: var(--wd-muted); font-size: 14px; line-height: 1.5; }
.wd-table-wrap { overflow-x: auto; border: 1px solid #cfd8d3; background: #fff; }
.wd-table-wrap:focus-visible { outline: 2px solid var(--wd-green); outline-offset: 2px; }
.wd-table { width: 100%; min-width: 720px; border-collapse: collapse; table-layout: fixed; font-variant-numeric: tabular-nums; }
.wd-table caption { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.wd-table th,
.wd-table td { padding: 17px 18px; border-top: 1px solid var(--wd-line); border-left: 1px solid var(--wd-line); text-align: left; vertical-align: top; line-height: 1.45; }
.wd-table th:first-child,
.wd-table td:first-child { border-left: 0; }
.wd-table thead th { color: #fff; background: var(--wd-deep); border-top: 0; border-left-color: rgba(255,255,255,.16); font-size: 15px; }
.wd-table thead th:first-child { width: 25%; }
.wd-table tbody th { color: #2d3b37; background: #f8faf8; font-size: 15px; }
.wd-table tbody td { color: #53605c; font-size: 15px; }

.wd-choice { padding: 74px 0; }
.wd-choice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 52px; margin: 0; border-top: 1px solid var(--wd-line); }
.wd-choice-list > div { padding: 22px 0; border-bottom: 1px solid var(--wd-line); }
.wd-choice-list dt { margin-bottom: 7px; font-size: 18px; font-weight: 800; }
.wd-choice-list dd { max-width: 60ch; margin: 0; color: var(--wd-muted); line-height: 1.65; }

.wd-circuit { padding: 70px 0 74px; color: #edf5f1; background: var(--wd-deep); }
.wd-circuit .wd-heading > p { color: #b9c9c2; }
.wd-flow-visual { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.wd-flow-panel { min-width: 0; padding: 22px 24px 24px 0; }
.wd-flow-panel + .wd-flow-panel { padding-right: 0; padding-left: 24px; border-left: 1px solid rgba(255,255,255,.16); }
.wd-flow-panel > strong { display: block; margin-bottom: 14px; color: #e1bd6d; font-size: 16px; }
.wd-flow-sequence { display: grid; grid-template-columns: .65fr auto .85fr auto 1.25fr auto 1fr; gap: 6px; align-items: center; }
.wd-flow-sequence span { min-width: 0; padding: 11px 6px; border: 1px solid rgba(255,255,255,.24); text-align: center; font-size: 12px; line-height: 1.3; }
.wd-flow-sequence b { color: #e1bd6d; font-size: 20px; font-weight: 700; }
.wd-circuit-note { max-width: 75ch; margin: 20px 0 0; color: #b9c9c2; font-size: 14px; line-height: 1.65; }

.wd-media { padding: 74px 0 78px; }
.wd-media-grid { max-width: 840px; }
.wd-media figure { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--wd-line); border-radius: 12px; }
.wd-media img,
.wd-media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #dfe5e1; }

.wd-related { padding: 60px 0 66px; background: var(--wd-paper); border-top: 1px solid var(--wd-line); }
.wd-related-links { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; margin-top: 28px; }
.wd-related-links a { color: var(--wd-green); font-weight: 800; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.wd-related-links a:hover { color: #0f5036; }
.wd-related-links a > span { display: inline-block; white-space: nowrap; }
.wd-related-links a span[aria-hidden="true"] { margin-left: 3px; text-decoration: none; }

.wet-dry-guide .mobile-menu-toggle { display: none; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; color: #1b2b34; background: #fff; border: 1px solid #c9d2d8; border-radius: 6px; font: inherit; font-weight: 700; cursor: pointer; }

@media (max-width: 900px) {
  .wd-hero-grid { grid-template-columns: minmax(0, 1.08fr) minmax(300px, .92fr); gap: 30px; }
  .wd-hero h1 { font-size: clamp(38px, 5.6vw, 54px); }
  .wd-flow-sequence span { font-size: 11px; }
}

@media (max-width: 720px) {
  .wd-wrap { width: min(100% - 32px, 1180px); }
  .wd-hero { padding: 32px 0 38px; }
  .wd-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .wd-breadcrumb { margin-bottom: 16px; font-size: 12px; }
  .wd-hero h1 { font-size: clamp(34px, 10.3vw, 44px); line-height: 1.04; }
  .wd-quick { margin-top: 20px; padding-top: 16px; }
  .wd-quick p { font-size: 16px; line-height: 1.55; }
  .wd-hero-media img { height: min(240px, 62vw); }
  .wd-heading h2,
  .wd-related h2 { font-size: 31px; }
  .wd-comparison,
  .wd-choice,
  .wd-circuit,
  .wd-media { padding: 46px 0; }
  .wd-heading { margin-bottom: 22px; }
  .wd-heading > p { margin-top: 9px; font-size: 16px; line-height: 1.55; }
  .wd-table-hint { display: block; }
  .wd-table { min-width: 720px; table-layout: fixed; }
  .wd-table th,
  .wd-table td { padding: 12px 14px; overflow-wrap: normal; line-height: 1.45; }
  .wd-table thead th { font-size: 15px; }
  .wd-table thead th:first-child { width: 30%; }
  .wd-table tbody th,
  .wd-table tbody td { font-size: 15px; }
  .wd-choice-list { grid-template-columns: 1fr; column-gap: 0; }
  .wd-choice-list > div { padding: 18px 0; }
  .wd-choice-list dt { font-size: 17px; }
  .wd-choice-list dd { font-size: 15px; line-height: 1.55; }
  .wd-flow-visual { grid-template-columns: 1fr; }
  .wd-flow-panel { padding: 17px 0; }
  .wd-flow-panel + .wd-flow-panel { padding: 17px 0; border-top: 1px solid rgba(255,255,255,.16); border-left: 0; }
  .wd-flow-panel > strong { margin-bottom: 6px; }
  .wd-flow-sequence { display: flex; flex-wrap: wrap; gap: 0 6px; align-items: baseline; color: #edf5f1; font-size: 14px; line-height: 1.6; }
  .wd-flow-sequence span { padding: 0; border: 0; text-align: left; font-size: inherit; line-height: inherit; white-space: nowrap; }
  .wd-flow-sequence b { font-size: inherit; line-height: inherit; }
  .wd-circuit-note { margin-top: 16px; font-size: 13px; }
  .wd-related { padding: 42px 0 48px; }
  .wd-related-links { display: grid; gap: 18px; align-items: start; }
  .wd-related-links a { width: fit-content; }
  .wet-dry-guide .site-header.nav-ready { grid-template-columns: minmax(0, 1fr) auto auto; padding-bottom: 8px; }
  .wet-dry-guide .site-header.nav-ready .mobile-menu-toggle { display: inline-flex; grid-column: 3; grid-row: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .wet-dry-guide * { scroll-behavior: auto !important; transition: none !important; }
}
