@font-face {
  font-family: "Fredoka";
  src: url("/fonts/fredoka-latin.woff2") format("woff2-variations");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/fonts/nunito-latin.woff2") format("woff2-variations");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --in-oklab: ;
  --in-oklch: ;

  /* Core Whimsical 2.5D Gouache Palette (WCAG AA/AAA verified) */
  --green-primary: #18603A;
  --green-secondary: #257A4B;
  --green-rim: #11482B;
  --lime-accent: #5FB336;
  --bg-lime-soft: #E0F5CE;
  --lime-ink: #19532C;
  --lime-border: #3E8429;

  --cyan-accent: #22A6B5;
  --bg-cyan-soft: #D8F4F6;
  --cyan-ink: #0B515A;
  --cyan-border: #1B7F8C;

  --canopy-deep: #133223;
  --gold-harvest: #FFC947;
  --bg-gold-soft: #FFF2CC;
  --gold-ink: #261B06;
  --gold-ochre: #6B3D07;
  --gold-border: #9E6008;

  --bg-peach-soft: #FDE8D4;
  --peach-ink: #783513;
  --peach-border: #B55B2A;

  --bg-white: #FFFDF7;
  --bg-paper: #FAF5E8;
  --bg-stone: #F2E9D5;
  --bg-soft: #FAF5E8;
  --bg-tint: #E6F2E4;

  --ink: #163324;
  --ink-muted: #3B5747;
  --hairline-light: rgba(24, 96, 58, 0.16);
  --hairline-dark: rgba(250, 245, 232, 0.22);
  --border-subtle: #B6D2C0;
  --border-strong: #4E7460;
  --card-border: #B6D2C0;
  --card-highlight: rgba(255, 255, 255, 0.88);

  --status-ok-bg: #E0F5CE;
  --status-ok-fg: #19532C;
  --status-ok-border: #3E8429;
  --status-warn-bg: #FFF2CC;
  --status-warn-fg: #6B3D07;
  --status-warn-border: #9E6008;
  --status-err-bg: #FDE2DF;
  --status-err-fg: #7D1B1B;
  --status-err-border: #B9382C;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --shadow-gouache: 0 3px 0 rgba(24, 96, 58, 0.10), 0 12px 26px -10px rgba(22, 51, 36, 0.12);
  --shadow-gouache-lift: 0 6px 0 rgba(24, 96, 58, 0.14), 0 18px 32px -12px rgba(22, 51, 36, 0.18);
  --shadow-dialog: 0 24px 56px rgba(19, 50, 35, 0.34);

  --container-max: 1360px;
  --font-display: "Fredoka", ui-rounded, "SF Pro Rounded", "Nunito", system-ui, -apple-system, sans-serif;
  --font-sans: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
    --in-oklch: in oklch;
  }
}

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

html {
  font-size: 16px;
  line-height: 1.62;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  scroll-padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
  -webkit-text-size-adjust: 100%;
}

[id] {
  scroll-margin-top: 6rem;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--bg-paper);
  accent-color: var(--green-primary);
  overflow-x: clip;
  position: relative;
}

h1,
h2,
h3,
h4,
th {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.article-body p,
.article-body li {
  max-width: 62ch;
}

/* Soft illustration paper grain overlay */
body.paper-grain::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 95;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

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

[hidden] {
  display: none !important;
}

a[href],
button,
summary,
select,
label[for],
label:has(> input[type="checkbox"], > input[type="radio"]),
[role="button"],
input[type="checkbox"],
input[type="radio"],
input[type="file"],
input[type="submit"],
input[type="button"],
input[type="reset"] {
  cursor: pointer;
}

:disabled,
[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.65;
}

:focus-visible {
  outline: 3px solid var(--canopy-deep);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--gold-harvest);
}

:is(.site-footer, .nav-panel, .ledger-band, .drying-verdict-banner) :focus-visible {
  outline: 3px solid #FFFDF7;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--gold-harvest);
}

.skip-link {
  position: absolute;
  top: -120px;
  left: 1rem;
  z-index: 999;
  padding: 0.75rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--gold-harvest);
  background: var(--canopy-deep);
  color: var(--bg-paper);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(var(--container-max), calc(100% - 2.25rem));
  margin-inline: auto;
}

/* Header & Navigation Masthead */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 245, 232, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--card-border);
  box-shadow: 0 4px 18px -6px rgba(22, 51, 36, 0.10);
}

.masthead-inner {
  width: min(1440px, calc(100% - 2.25rem));
  margin-inline: auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.15rem;
}

.masthead-wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.wordmark-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(180deg var(--in-oklab), #FFFDF7, #E0F5CE);
  border: 1.5px solid var(--green-secondary);
  box-shadow: 0 2px 0 rgba(24, 96, 58, 0.16);
}

.masthead-wordmark strong {
  font-family: var(--font-display);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.wordmark-slash {
  display: none;
  color: var(--cyan-ink);
  font-weight: 700;
}

.masthead-wordmark em {
  display: none;
  font-style: normal;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.nav-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.nav-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.42rem 0.9rem;
  border-radius: 12px;
  border: 1.5px solid var(--gold-border);
  background: linear-gradient(180deg var(--in-oklab), #FFD666 0%, #FFC336 100%);
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), 0 2px 0 #AD6C0B;
  transition: transform 140ms ease, background-color 160ms ease;
}

.nav-login-btn:hover {
  background: linear-gradient(180deg var(--in-oklab), #FFCF4D 0%, #F5B522 100%);
  color: var(--gold-ink);
}

.nav-login-btn:active {
  transform: translateY(1px);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 78px;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  background: linear-gradient(180deg var(--in-oklab), #FFFDF7, #F2E9D5);
  color: var(--ink);
  font: inherit;
  font-family: var(--font-display);
  font-weight: 600;
  box-shadow: 0 2px 0 rgba(24, 96, 58, 0.14);
}

.menu-toggle:hover {
  background: var(--bg-lime-soft);
  border-color: var(--green-primary);
}

.nav-panel {
  display: none;
}

.nav-panel.is-open {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  inset: 0;
  height: 100dvh;
  padding: 1.5rem;
  background: linear-gradient(170deg var(--in-oklab), #174532 0%, #133223 70%, #0F2B24 100%);
  color: var(--bg-paper);
  z-index: 80;
  overflow-y: auto;
}

.nav-curtain-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline-dark);
}

.nav-curtain-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
}

.nav-curtain-close {
  min-height: 44px;
  padding: 0.4rem 1rem;
  border: 1.5px solid var(--hairline-dark);
  border-radius: 12px;
  background: rgba(255, 253, 247, 0.08);
  color: var(--bg-paper);
  font: inherit;
  font-weight: 700;
}

.nav-list {
  list-style: none;
  margin: 1.35rem 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-list a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  min-height: 48px;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--hairline-dark);
  color: var(--bg-paper);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
}

.nav-list a[aria-current="page"] {
  color: var(--gold-harvest);
}

.nav-drawer-meta {
  padding-top: 1rem;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.9375rem;
  color: #CBE4D3;
}

.nav-drawer-meta a {
  color: var(--gold-harvest);
  font-weight: 700;
}

/* Tactile 2.5D Gouache Buttons & Links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.65rem 1.3rem;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.28);
  transition: transform 150ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.btn-arch-primary,
.btn-primary {
  background: linear-gradient(180deg var(--in-oklab), #237A4B 0%, #18603A 100%);
  border-color: var(--green-rim);
  color: #FFFDF7;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25), 0 3px 0 var(--green-rim);
}

.btn-arch-primary:hover,
.btn-primary:hover {
  background: linear-gradient(180deg var(--in-oklab), #1F6F44 0%, #145231 100%);
  color: #FFFDF7;
}

.btn-arch-outline,
.btn-outline {
  background: linear-gradient(180deg var(--in-oklab), #FFFDF7 0%, #F4ECDA 100%);
  color: var(--ink);
  border-color: var(--border-strong);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.9), 0 3px 0 #8DAE99;
}

.btn-arch-outline:hover,
.btn-outline:hover {
  background: linear-gradient(180deg var(--in-oklab), #EBF8EC 0%, #DCEFDA 100%);
  border-color: var(--green-primary);
  color: var(--ink);
}

.btn-accent {
  background: linear-gradient(180deg var(--in-oklab), #FFD666 0%, #FFC336 100%);
  border-color: var(--gold-border);
  color: var(--gold-ink);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.65), 0 3px 0 #AD6C0B;
}

.btn-accent:hover {
  background: linear-gradient(180deg var(--in-oklab), #FFCF4D 0%, #F5B522 100%);
  color: var(--gold-ink);
}

.btn-light-ghost {
  background: rgba(255, 253, 247, 0.12);
  border-color: rgba(203, 228, 211, 0.62);
  color: var(--bg-paper);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-light-ghost:hover {
  background: rgba(255, 253, 247, 0.22);
  border-color: var(--gold-harvest);
  color: #FFFDF7;
}

@media (prefers-reduced-motion: no-preference) {
  .btn:hover {
    transform: translateY(-1px);
  }

  .btn:active {
    transform: translateY(2px);
  }
}

.btn-sm {
  min-height: 44px;
  padding: 0.45rem 0.95rem;
  font-size: 0.9375rem;
  border-radius: 12px;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(24, 96, 58, 0.45);
}

.editorial-link:hover {
  color: var(--cyan-ink);
  text-decoration-color: var(--cyan-border);
}

.editorial-link.is-light {
  color: #FFD15C;
  text-decoration-color: rgba(255, 209, 92, 0.55);
}

.editorial-link.is-light:hover {
  color: #FFFDF7;
}

.editorial-sublink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink-muted);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid var(--border-subtle);
}

.editorial-sublink:hover {
  color: var(--green-primary);
  border-bottom-color: var(--green-primary);
}

.chapter-note {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-primary);
}

.chapter-note.is-light {
  color: #CBE4D3;
}

.chapter-note.is-gold {
  color: #FFD15C;
}

.sotd-h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  line-height: 1.1;
  color: var(--ink);
}

.sotd-intro {
  margin: 0.85rem 0 0;
  color: var(--ink-muted);
  max-width: 58ch;
  font-size: 1.04rem;
}

/* Visual-First Hero (Warm Sunlit Morning Wash + 2.5D Diorama Card) */
.visual-hero {
  background: linear-gradient(180deg var(--in-oklab), #E6F7F8 0%, #FFF7E4 56%, #FAF5E8 100%);
  padding-block: clamp(1.5rem, 3.6vw, 3rem) clamp(2rem, 4vw, 3rem);
  position: relative;
}

.visual-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2.5rem;
  align-items: center;
}

.visual-hero-copy .sotd-display {
  margin: 0.6rem 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.3vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.visual-hero-copy .sotd-lead {
  font-size: clamp(1.02rem, 1.3vw, 1.16rem);
  line-height: 1.62;
  max-width: 54ch;
  margin: 0 0 1.1rem;
  color: var(--ink-muted);
}

.hero-location-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-cyan-soft);
  color: var(--cyan-ink);
  border: 1.5px solid var(--cyan-border);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 700;
}

.hero-hours-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.95rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--card-border);
  background: var(--bg-white);
  box-shadow: inset 0 2px 0 var(--card-highlight), 0 2px 0 rgba(24, 96, 58, 0.08);
  font-size: 0.92rem;
}

.hero-hours-strip .ui-icon {
  flex-shrink: 0;
}

.sotd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-photo-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid #9CC5B0;
  background: var(--bg-white);
  box-shadow: inset 0 2px 0 var(--card-highlight), 0 6px 0 rgba(27, 127, 140, 0.14), 0 20px 36px -14px rgba(22, 51, 36, 0.18);
}

.hero-photo-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-cyan-soft);
}

.hero-photo-frame img,
.hero-photo-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 220ms ease;
}

.hero-photo-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-muted);
  background: linear-gradient(180deg var(--in-oklab), #FFFDF7, #FAF5E8);
  border-top: 1.5px solid var(--card-border);
}

.aperture-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Organic Layered Horizon Transitions */
.horizon-divider {
  line-height: 0;
  overflow: hidden;
  width: 100%;
}

.horizon-divider svg {
  display: block;
  width: 100%;
  height: clamp(22px, 3vw, 40px);
}

.horizon-cream-to-sand {
  background: var(--bg-paper);
}

.horizon-sand-to-cream {
  background: var(--bg-stone);
}

.horizon-paper-to-canopy {
  background: var(--bg-paper);
}

/* Quick Actions Row */
.quick-action-section {
  background: var(--bg-white);
  padding-block: clamp(2rem, 4vw, 3rem);
  border-top: 1.5px solid var(--card-border);
  border-bottom: 1.5px solid var(--card-border);
}

.quick-action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg var(--in-oklab), #FFFDF7 0%, #FAF5E8 100%);
  color: var(--ink);
  text-decoration: none;
  box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.quick-card.quick-tone-forest {
  border-color: #9CC8AC;
  background: linear-gradient(180deg var(--in-oklab), #F4FBF0 0%, #FFFDF7 62%);
}

.quick-card.quick-tone-cyan {
  border-color: #8FCFD7;
  background: linear-gradient(180deg var(--in-oklab), #ECF9FB 0%, #FFFDF7 62%);
}

.quick-card.quick-tone-gold {
  border-color: #DFBE77;
  background: linear-gradient(180deg var(--in-oklab), #FFF8E1 0%, #FFFDF7 62%);
}

.quick-card.quick-tone-peach {
  border-color: #E2B48D;
  background: linear-gradient(180deg var(--in-oklab), #FFF2E6 0%, #FFFDF7 62%);
}

@media (prefers-reduced-motion: no-preference) {
  .quick-card:hover {
    border-color: var(--green-primary);
    transform: translateY(-2px);
    box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache-lift);
  }

  .quick-card:active {
    transform: translateY(1px);
  }
}

.quick-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.15rem;
}

.quick-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  box-shadow: inset 0 2px 0 #FFFFFF, 0 2px 0 rgba(24, 96, 58, 0.10);
  flex-shrink: 0;
}

.quick-tone-cyan .quick-card-icon {
  background: var(--bg-cyan-soft);
  border-color: #84CBD3;
}

.quick-tone-forest .quick-card-icon {
  background: var(--bg-lime-soft);
  border-color: #95CE7C;
}

.quick-tone-gold .quick-card-icon {
  background: var(--bg-gold-soft);
  border-color: #DFBE77;
}

.quick-tone-peach .quick-card-icon {
  background: var(--bg-peach-soft);
  border-color: #DFAD84;
}

.quick-card-spot {
  width: 68px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 1.5px solid var(--card-border);
  background: var(--bg-stone);
  flex-shrink: 0;
}

.quick-card-spot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-card strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.quick-card span:last-child {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Home Weather & Price Pulse Band */
.home-pulse-band {
  background: var(--bg-stone);
  border-bottom: 1.5px solid var(--card-border);
  padding-block: clamp(2rem, 4vw, 3rem);
}

.pulse-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pulse-panel {
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache);
}

.pulse-weather {
  border-color: #8BCBD3;
  background: linear-gradient(180deg var(--in-oklab), #F1FAFB 0%, #FFFDF7 45%);
}

.pulse-prices {
  border-color: #A2CFA7;
  background: linear-gradient(180deg var(--in-oklab), #F5FBF1 0%, #FFFDF7 45%);
}

.pulse-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.75rem;
}

.pulse-head .chapter-note {
  margin: 0;
}

.pulse-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 2.3vw, 1.85rem);
  line-height: 1.18;
}

.weather-hero-row {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 0.95rem;
}

.weather-visual-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1.5px solid var(--card-border);
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.8), 0 2px 0 rgba(22, 51, 36, 0.08);
}

.weather-visual-badge.tone-available {
  background: var(--status-ok-bg);
  color: var(--status-ok-fg);
  border-color: var(--status-ok-border);
}

.weather-visual-badge.tone-pending {
  background: var(--status-warn-bg);
  color: var(--status-warn-fg);
  border-color: var(--status-warn-border);
}

.weather-visual-badge.tone-empty {
  background: var(--status-err-bg);
  color: var(--status-err-fg);
  border-color: var(--status-err-border);
}

.pulse-weather-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--bg-paper);
  border: 1.5px solid #B5DDE1;
  border-radius: var(--radius-md);
  margin-bottom: 0.85rem;
}

.pulse-weather-stats span {
  display: block;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.pulse-weather-stats strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.05rem;
  color: var(--cyan-ink);
}

.pulse-alert {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.pulse-source {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.pulse-source a {
  color: var(--cyan-ink);
  font-weight: 700;
}

.weather-slot-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.price-visual-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.price-visual-card {
  padding: 0.9rem 1rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  box-shadow: inset 0 2px 0 var(--card-highlight);
}

.price-visual-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 0.75rem;
  margin-bottom: 0.55rem;
}

.price-pill-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.price-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  border: 1px solid transparent;
}

.price-pill.is-dry {
  background: var(--status-ok-bg);
  color: var(--status-ok-fg);
  border-color: #93CA7A;
}

.price-pill.is-wet {
  background: var(--bg-gold-soft);
  color: var(--gold-ochre);
  border-color: #E2BE70;
}

/* Sekilas Desa dalam Angka (Stat Matrix) */
.monograph-matrix {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.matrix-cell {
  position: relative;
  padding: 1.35rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache);
}

.matrix-cell dt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 0.7rem;
}

.matrix-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--bg-lime-soft);
  border: 1px solid #96CE7B;
  color: var(--lime-ink);
}

.matrix-cell dd {
  margin: 0;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  font-size: clamp(1.65rem, 1.2rem + 1.5vw, 2.4rem);
  line-height: 1.06;
  color: var(--ink);
}

.matrix-val {
  display: block;
}

.matrix-sub {
  display: block;
  margin: 0.55rem 0 0;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Badges, Tags, Cards & Shared Subpage Patterns */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.68rem;
  border-radius: 999px;
  border: 1.5px solid;
  font-size: 0.8125rem;
  font-weight: 700;
}

.status-available {
  background: var(--status-ok-bg);
  color: var(--status-ok-fg);
  border-color: var(--status-ok-border);
}

.status-pending {
  background: var(--status-warn-bg);
  color: var(--status-warn-fg);
  border-color: var(--status-warn-border);
}

.status-empty {
  background: var(--status-err-bg);
  color: var(--status-err-fg);
  border-color: var(--status-err-border);
}

.category-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-cyan-soft);
  border: 1px solid #8CCED6;
  color: var(--cyan-ink);
  font-size: 0.8125rem;
  font-weight: 700;
}

.section-block {
  padding-block: 2.75rem;
  background: var(--bg-paper);
}

.section-soft {
  background: var(--bg-stone);
  border-block: 1.5px solid var(--card-border);
}

.home-kabar-band {
  background: var(--bg-white);
  border-top: 1.5px solid var(--card-border);
  border-bottom: 1.5px solid var(--card-border);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
  line-height: 1.16;
}

.section-desc {
  margin: 0.5rem 0 0;
  color: var(--ink-muted);
  max-width: 64ch;
}

.page-header {
  padding-block: 2.5rem 2.15rem;
  background: linear-gradient(180deg var(--in-oklab), #E6F7F8 0%, #FFF7E4 55%, #F2E9D5 100%);
  border-bottom: 1.5px solid var(--card-border);
}

.page-header-compact {
  padding-block: 1.45rem 1.3rem;
}

.page-header-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem 2rem;
  align-items: center;
}

.header-spot-frame {
  display: none;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid #96C9B0;
  background: var(--bg-white);
  box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache);
}

.header-spot-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-header h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.6vw, 2.8rem);
  line-height: 1.12;
}

.page-header p {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
  max-width: 66ch;
}

.ledger-band {
  background: linear-gradient(165deg var(--in-oklab), #174532 0%, #133223 68%, #0F2B24 100%);
  color: var(--bg-paper);
  padding-block: 2.25rem;
  border: 1.5px solid #296146;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.12), var(--shadow-gouache);
}

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

.ledger-item {
  padding-left: 0.9rem;
  border-left: 3px solid var(--gold-harvest);
}

.ledger-item strong {
  display: block;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  line-height: 1.15;
  color: #FFFDF7;
}

.ledger-item span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  color: #FFD15C;
  font-weight: 700;
}

.price-line {
  font-weight: 700;
  color: var(--green-primary);
  margin: 0;
}

.meta-line {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.post-card,
.product-card,
.gallery-tile,
.surface-card {
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.surface-card {
  padding: 1.4rem;
}

.post-card .media-box,
.product-card .media-box {
  aspect-ratio: 16 / 10;
  background: var(--bg-stone);
  overflow: hidden;
  border-bottom: 1px solid var(--hairline-light);
}

.post-card .media-box img,
.product-card .media-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-placeholder-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.25rem;
  text-align: center;
  background: linear-gradient(155deg var(--in-oklab), #FFF6DE 0%, #FDE8D4 100%);
  color: var(--peach-ink);
  font-weight: 700;
  min-height: 200px;
}

.media-placeholder-card .placeholder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-white);
  border: 1.5px solid var(--peach-border);
  color: var(--peach-ink);
  font-size: 0.86rem;
  box-shadow: 0 2px 0 rgba(120, 53, 19, 0.12);
}

.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex: 1 1 auto;
}

.post-card h3,
.product-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.28;
}

.post-card h3 a,
.product-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.post-card h3 a:hover,
.product-card h3 a:hover {
  color: var(--green-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.card-footer-push {
  margin-top: auto;
  padding-top: 0.65rem;
}

/* Gallery Tiles & Lightbox Triggers */
.gallery-media-box {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-stone);
}

.gallery-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.gallery-trigger img,
.gallery-trigger video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-tile:hover .gallery-trigger img,
.gallery-tile:hover .gallery-trigger video,
.profile-photo-item:hover .gallery-trigger img,
.profile-photo-item:hover .gallery-trigger video {
  transform: scale(1.03);
}

.gallery-trigger.is-portrait-gate img {
  object-position: center 75%;
}

.media-kind-label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.68rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 247, 0.35);
  background: rgba(19, 50, 35, 0.90);
  color: var(--bg-paper);
  font-size: 0.8125rem;
  font-weight: 700;
}

.gallery-caption {
  padding: 0.95rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.gallery-caption strong {
  font-size: 1rem;
  line-height: 1.35;
}

.gallery-caption span {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.gallery-context-link {
  margin-top: 0.25rem;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--green-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Profile Page & Visual Mosaics */
.profile-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.mission-list {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.officials-dept {
  margin-top: 2rem;
}

.officials-dept h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--green-primary);
}

.officials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.official-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache);
}

.official-avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(180deg var(--in-oklab), #257A4B, #18603A);
  border: 1.5px solid var(--green-rim);
  color: #FFFDF7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  flex-shrink: 0;
  overflow: hidden;
}

.official-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.official-card h4 {
  margin: 0;
  font-size: 1.0625rem;
}

.official-card p {
  margin: 0.2rem 0 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.profile-photo-duo,
.home-gallery-grid,
.photo-mosaic-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.profile-photo-item,
.photo-mosaic-3 figure {
  margin: 0;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache);
}

.photo-mosaic-3 .media-thumb-wrap {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-stone);
}

.photo-mosaic-3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.profile-photo-item figcaption,
.photo-mosaic-3 figcaption {
  padding: 0.7rem 0.95rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.village-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.village-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.75rem;
  border-radius: 999px;
  background: var(--bg-lime-soft);
  border: 1px solid #96CE7B;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lime-ink);
}

/* Filters, Search & Forms */
.filter-panel {
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache);
  padding: 1.15rem;
  margin-bottom: 1.75rem;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.85rem;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-white);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(24, 96, 58, 0.10);
}

.pill-btn:hover {
  background: var(--bg-lime-soft);
  border-color: var(--green-primary);
}

.pill-btn.is-active,
.pill-btn[aria-pressed="true"] {
  background: var(--green-primary);
  border-color: var(--green-rim);
  color: #FFFDF7;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.filter-form .field {
  margin-bottom: 0;
  flex: 1 1 220px;
}

.field label {
  font-weight: 700;
  color: var(--ink);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-white);
  color: var(--ink);
  font: inherit;
  font-size: max(1rem, 1em);
  box-shadow: inset 0 2px 4px rgba(22, 51, 36, 0.05);
}

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

.field input:user-invalid,
.field select:user-invalid,
.field textarea:user-invalid,
.field [aria-invalid="true"] {
  border-color: var(--status-err-border);
}

.field-error {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--status-err-fg);
}

.field-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1.5px solid;
  margin-bottom: 1.25rem;
}

.alert-success {
  background: var(--status-ok-bg);
  color: var(--status-ok-fg);
  border-color: var(--status-ok-border);
}

.alert-error {
  background: var(--status-err-bg);
  color: var(--status-err-fg);
  border-color: var(--status-err-border);
}

.alert ul {
  margin: 0.4rem 0 0 1.25rem;
  padding: 0;
}

/* BUMDes Order Qty, Calculator & Tables */
.order-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: flex-end;
  margin-top: 0.5rem;
}

.order-row .qty-field {
  flex: 0 1 130px;
  margin-bottom: 0;
}

.calc-section {
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--bg-white);
  border: 1.5px solid #DFBE77;
  border-top: 4px solid var(--gold-harvest);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.15rem;
}

.calc-result-box {
  background: var(--bg-paper);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.scenario-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
}

.scenario-box {
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 1rem;
}

.scenario-box.is-recommended {
  border-color: var(--lime-border);
  border-top: 4px solid var(--lime-accent);
  background: linear-gradient(180deg var(--in-oklab), #F1FCE9 0%, #FFFDF7 45%);
}

.scenario-box.is-caution {
  border-color: var(--gold-border);
  border-top: 4px solid var(--gold-harvest);
}

.scenario-tag {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.scenario-box strong {
  display: block;
  margin: 0.25rem 0;
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 1.55rem;
  color: var(--ink);
}

.scenario-diff {
  margin: 0.4rem 0 0;
  font-weight: 700;
  color: var(--green-primary);
}

.proportion-visual {
  margin-top: 1rem;
  padding: 0.9rem;
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
}

.prop-bar-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}

.prop-track {
  display: flex;
  height: 16px;
  border-radius: 999px;
  background: var(--bg-stone);
  border: 1px solid var(--card-border);
  overflow: hidden;
}

.prop-dry {
  background: linear-gradient(90deg var(--in-oklab), #FFD666, #F5A623);
}

.prop-water {
  background: linear-gradient(90deg var(--in-oklab), #22A6B5, #18603A);
}

/* Tables, Bar Charts, FAQ, Disclosures */
.profile-data-grid,
.drying-days-grid,
.service-banner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.data-table-scroll {
  overflow-x: auto;
  max-inline-size: 100%;
  container-type: inline-size;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 0.65rem;
  border-bottom: 1px solid var(--hairline-light);
  text-align: left;
  vertical-align: top;
}

.spec-table thead th {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--green-primary);
  border-bottom: 2px solid var(--border-strong);
  background: var(--bg-paper);
}

.spec-table tbody th {
  font-weight: 700;
  color: var(--ink);
}

.num-cell {
  font-variant-numeric: tabular-nums;
}

.bar-chart-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.bar-row-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.28rem;
}

.bar-track {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: var(--bg-stone);
  border: 1px solid var(--card-border);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg var(--in-oklab), #18603A 0%, #5FB336 100%);
}

.bar-note {
  margin: 0.25rem 0 0;
  font-size: 0.84rem;
  color: var(--ink-muted);
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache);
  padding: 1rem 1.25rem;
}

.faq-item summary {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  min-height: 36px;
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
}

.source-callout {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
}

.source-callout p {
  margin: 0.25rem 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.source-disclosure {
  margin-top: 1rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  padding: 0.65rem 1rem;
}

.source-disclosure summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 36px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--green-primary);
}

.source-disclosure summary::-webkit-details-marker {
  display: none;
}

.source-disclosure summary::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 150ms ease;
  flex-shrink: 0;
}

.source-disclosure[open] summary::before {
  transform: rotate(45deg);
}

.source-disclosure p {
  margin: 0.55rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
  max-width: 72ch;
}

.wa-digest-box .card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wa-digest-textarea {
  width: 100%;
  margin-top: 0.85rem;
  padding: 0.85rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  background: var(--bg-paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  line-height: 1.5;
  resize: vertical;
}

/* Step Flow Cards & Checklist */
.step-flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.step-flow-card {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.2rem;
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-md);
  background: var(--bg-white);
  box-shadow: inset 0 2px 0 var(--card-highlight), var(--shadow-gouache);
}

.step-flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-lime-soft);
  border: 1px solid #96CE7B;
  color: var(--lime-ink);
  margin-bottom: 0.25rem;
}

.step-flow-card strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
}

.step-flow-card span:last-child {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

.letter-checklist-box {
  border: 0;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.checklist-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  min-height: 44px;
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  background: var(--bg-paper);
  cursor: pointer;
}

.checklist-row input[type="checkbox"] {
  width: 20px;
  height: 20px;
  min-width: 20px;
  min-height: 20px;
  margin-top: 0.15rem;
  accent-color: var(--green-primary);
}

/* Fallback checkbox recipe for browsers without accent-color */
@supports not (accent-color: #18603A) {
  .checklist-row input[type="checkbox"] {
    position: relative;
    border: 2px solid var(--border-strong);
    border-radius: 5px;
    background: var(--bg-white);
  }
}

/* Article Detail, Breadcrumb, Contact, Empty State, Pagination */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.9375rem;
  color: var(--ink-muted);
}

.breadcrumb a {
  color: var(--green-primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding-block: 0.25rem;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.article-body {
  max-width: 68ch;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.article-body h2 {
  margin: 1.75rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--ink);
}

.article-body p {
  margin: 0 0 1rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.15rem;
  padding-left: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.article-body a {
  color: var(--green-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.article-cover {
  margin-bottom: 1.5rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--card-border);
  aspect-ratio: 16 / 9;
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

.map-frame {
  margin-top: 1.25rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--card-border);
  background: var(--bg-stone);
  box-shadow: var(--shadow-gouache);
}

.map-frame iframe {
  width: 100%;
  height: 300px;
  border: 0;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.empty-state {
  padding: 2.25rem 1.25rem;
  text-align: center;
  background: var(--bg-white);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-md);
}

.empty-state p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
}

.pagination-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 2rem;
}

.pagination-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pagination-list a,
.pagination-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.85rem;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-white);
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.pagination-list .is-active {
  background: var(--green-primary);
  border-color: var(--green-rim);
  color: #FFFDF7;
}

.pagination-list .is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Native Dialog Lightbox */
dialog.media-dialog {
  width: min(940px, calc(100% - 1.5rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  background: var(--bg-paper);
  color: var(--ink);
  box-shadow: var(--shadow-dialog);
  overflow: auto;
}

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  background: rgba(19, 50, 35, 0.72);
  overflow: hidden;
  overscroll-behavior: contain;
}

.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--bg-white);
  border-bottom: 1.5px solid var(--card-border);
}

.dialog-head h2,
.dialog-head .dialog-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

.dialog-stage {
  padding: 1rem 1.25rem;
  background: #0F271B;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dialog-stage img,
.dialog-stage video {
  max-height: 62dvh;
  width: auto;
  max-width: 100%;
  border-radius: 12px;
}

.dialog-foot {
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.dialog-foot p {
  margin: 0;
  color: var(--ink-muted);
  max-width: 58ch;
}

.dialog-nav {
  display: flex;
  gap: 0.5rem;
}

/* Above-the-Fold Drying Verdict Banner & Case Photo Banner */
.drying-verdict-banner {
  background: linear-gradient(165deg var(--in-oklab), #174532 0%, #133223 70%, #0F2B24 100%);
  color: var(--bg-paper);
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid #2A6449;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.14), var(--shadow-gouache);
  margin-bottom: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.verdict-status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
  margin-bottom: 0.35rem;
}

.verdict-headline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  color: #FFFDF7;
}

.verdict-sub {
  margin: 0;
  color: #CBE4D3;
  font-size: 0.9375rem;
  max-width: 62ch;
}

.case-photo-banner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

.case-photo-banner img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(250, 245, 232, 0.25);
}

/* Deep Canopy Story Footer */
.site-footer {
  background: linear-gradient(180deg var(--in-oklab), #133223 0%, #0F2A22 100%);
  color: var(--bg-paper);
  padding-block: 3rem 4.75rem;
}

.footer-portal-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  padding-bottom: 2.75rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--hairline-dark);
}

.portal-col h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
  line-height: 1.15;
  color: #FFFDF7;
}

.portal-col p {
  margin: 0 0 1.25rem;
  color: #CBE4D3;
  max-width: 48ch;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.site-footer h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: #FFD15C;
}

.site-footer p {
  margin: 0 0 0.65rem;
  color: #CBE4D3;
  max-width: 48ch;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.footer-links-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--bg-paper);
  text-decoration: none;
}

.footer-links a:hover,
.footer-wa-link:hover,
.footer-cms-link:hover {
  color: #FFD15C;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-wa-link,
.footer-cms-link {
  color: #FFD15C;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding-block: 0.25rem;
}

.footer-meta-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #CBE4D3;
}

/* Sahabat Mulya Floating Button & Dialog */
.ai-widget-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 75;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border: 1.5px solid var(--gold-border);
  border-radius: 999px;
  background: linear-gradient(180deg var(--in-oklab), #FFD666 0%, #FFC336 100%);
  color: var(--gold-ink);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.7), 0 4px 0 #AD6C0B, 0 14px 28px rgba(19, 50, 35, 0.24);
  transition: opacity 180ms ease, transform 180ms ease;
}

.ai-widget-fab:hover {
  background: linear-gradient(180deg var(--in-oklab), #FFCF4D 0%, #F5B522 100%);
}

.ai-widget-fab.is-input-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
}

dialog.ai-dialog {
  width: min(680px, calc(100% - 1.5rem));
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-paper);
  color: var(--ink);
  box-shadow: var(--shadow-dialog);
  overflow: auto;
}

.ai-dialog-sub {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-muted);
}

.ai-dialog-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.btn-link-inline {
  background: transparent;
  border: 0;
  padding: 0;
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.drawer-link-btn {
  background: transparent;
  border: 0;
  padding: 0.2rem 0;
  font: inherit;
  color: var(--gold-harvest);
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pemdes-status-banner {
  background: var(--bg-gold-soft);
  color: var(--gold-ochre);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}

.pemdes-status-banner strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.96rem;
}

.pemdes-status-banner p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.48;
}

.pemdes-bridge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .pemdes-bridge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.pemdes-bridge-card {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-white);
  border: 1.5px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.7rem;
}

.pemdes-bridge-card h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: var(--ink);
}

.pemdes-bridge-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-muted);
}

.ai-quick-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ai-chip {
  min-height: 40px;
  padding: 0.35rem 0.85rem;
  border: 1.5px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-white);
  color: var(--ink);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
}

.ai-chip:hover {
  background: var(--bg-cyan-soft);
  border-color: var(--cyan-border);
  color: var(--cyan-ink);
}

.ai-output {
  background: var(--bg-white);
  border: 1.5px solid var(--card-border);
  border-radius: 14px;
  padding: 1rem;
  min-height: 110px;
  max-height: 36dvh;
  overflow-y: auto;
}

.ai-answer-text {
  white-space: pre-line;
  margin: 0 0 0.85rem;
  color: var(--ink);
}

.ai-sources-title {
  margin: 0 0 0.35rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--green-primary);
}

.ai-sources-list {
  margin: 0;
  padding-left: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
}

.ai-sources-list a {
  color: var(--green-primary);
  font-weight: 700;
}

.ai-form {
  display: flex;
  gap: 0.65rem;
  align-items: stretch;
}

.ai-guard-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* Container-Driven Stacked Card Tables on Narrow Containers */
@container (inline-size < 480px) {
  .spec-table-cards,
  .spec-table-cards tbody,
  .spec-table-cards tr,
  .spec-table-cards th,
  .spec-table-cards td {
    display: block;
    width: 100%;
  }

  .spec-table-cards thead {
    display: none;
  }

  .spec-table-cards tbody tr {
    padding: 0.95rem 1rem;
    margin-bottom: 0.85rem;
    border: 1.5px solid var(--card-border);
    border-radius: 14px;
    background: var(--bg-paper);
  }

  .spec-table-cards tbody tr:last-child {
    margin-bottom: 0;
  }

  .spec-table-cards th.card-row-title {
    padding: 0 0 0.5rem;
    border-bottom: 1px solid var(--hairline-light);
    margin-bottom: 0.5rem;
    font-family: var(--font-display);
    font-size: 1.08rem;
    color: var(--ink);
  }

  .spec-table-cards td {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.35rem 0.75rem;
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(24, 96, 58, 0.10);
    text-align: right;
  }

  .spec-table-cards td:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .spec-table-cards td::before {
    content: attr(data-label);
    font-weight: 700;
    font-size: 0.84rem;
    color: var(--ink-muted);
    text-align: left;
  }

  .spec-table-cards td.card-row-status {
    padding-top: 0.55rem;
    margin-top: 0.25rem;
    border-top: 1px solid var(--hairline-light);
    border-bottom: 0;
    align-items: center;
  }
}

/* Scroll Reveal Items Stay Immediately Visible */
.reveal-up {
  opacity: 1;
}

/* Responsive Breakpoints */
@media (max-width: 639px) {
  .monograph-matrix {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .ai-widget-fab {
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    justify-content: center;
    right: max(0.85rem, env(safe-area-inset-right, 0px));
    bottom: max(0.85rem, env(safe-area-inset-bottom, 0px));
  }

  .ai-widget-fab .fab-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .site-footer {
    padding-bottom: 5.5rem;
  }
}

@media (pointer: coarse), (max-width: 767px) {
  .breadcrumb a,
  .footer-links a,
  .footer-cms-link,
  .footer-wa-link,
  .gallery-context-link,
  .faq-item summary,
  .ai-chip {
    min-height: 44px;
    padding-block: 0.35rem;
  }
}

@media (min-width: 520px) {
  .calc-inputs-two-col,
  .form-two-col-inline {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .form-three-col-inline {
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    gap: 0.75rem;
  }
}

@media (max-width: 419px) {
  .masthead-inner {
    gap: 0.5rem;
  }

  .masthead-wordmark strong {
    font-size: 1.06rem;
  }

  .menu-toggle {
    min-width: 68px;
    padding: 0.42rem 0.72rem;
  }

  .nav-login-btn {
    padding: 0.42rem 0.72rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 519px) {
  .calc-inputs-two-col,
  .form-two-col-inline,
  .form-three-col-inline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (min-width: 640px) {
  .wordmark-slash,
  .masthead-wordmark em {
    display: inline;
  }

  .quick-action-grid,
  .price-pill-pair,
  .profile-photo-duo,
  .home-gallery-grid,
  .cards-grid,
  .officials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step-flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ledger-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .calc-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .pulse-weather-stats,
  .drying-days-grid,
  .profile-data-grid,
  .service-banner-grid,
  .pulse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .photo-mosaic-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-header-split {
    grid-template-columns: 1.25fr 0.75fr;
  }

  .header-spot-frame {
    display: block;
    max-width: 300px;
    justify-self: end;
  }
}

@media (min-width: 820px) {
  .case-photo-banner {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

@media (min-width: 1024px) {
  .visual-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .quick-action-grid,
  .home-gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .monograph-matrix {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.15rem;
  }
}

@media (min-width: 1180px) {
  .site-nav {
    gap: 0.6rem;
  }

  .menu-toggle {
    display: none;
  }

  .nav-panel {
    display: block;
    position: static;
    height: auto;
    padding: 0;
    background: transparent;
    color: var(--ink);
    overflow: visible;
  }

  .nav-curtain-head,
  .nav-drawer-meta {
    display: none;
  }

  .nav-list {
    margin: 0;
    flex-direction: row;
    align-items: center;
    gap: 0.45rem;
  }

  .nav-list a {
    position: relative;
    min-height: 44px;
    padding: 0.45rem 0.68rem;
    border-bottom: 0;
    border-radius: 12px;
    color: var(--ink);
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    transition: background-color 160ms ease, color 160ms ease;
  }

  .nav-list a:hover {
    background: var(--bg-lime-soft);
    color: var(--lime-ink);
  }

  .nav-list a[aria-current="page"] {
    background: var(--bg-gold-soft);
    color: var(--gold-ochre);
    box-shadow: inset 0 0 0 1.5px #DFBE77;
  }

  .footer-portal-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
  }

  .portal-col-right {
    padding-left: 3rem;
    border-left: 1px solid var(--hairline-dark);
  }

  .cards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .profile-split {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .article-layout {
    grid-template-columns: 1fr 330px;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }
}

@media (min-width: 1180px) and (max-width: 1359px) {
  .wordmark-slash,
  .masthead-wordmark em {
    display: none;
  }

  .nav-list {
    gap: 0.25rem;
  }

  .nav-list a {
    padding: 0.45rem 0.52rem;
    font-size: 0.88rem;
  }
}

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

  .reveal-up {
    animation: none !important;
    clip-path: none !important;
    opacity: 1 !important;
    translate: none !important;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Forced Colors Mode Support (Windows High Contrast) */
@media (forced-colors: active) {
  .surface-card,
  .post-card,
  .product-card,
  .gallery-tile,
  .quick-card,
  .pulse-panel,
  .matrix-cell,
  .step-flow-card,
  .official-card,
  .faq-item,
  .filter-panel,
  .calc-section,
  .hero-photo-card,
  .ledger-band,
  .drying-verdict-banner {
    border: 2px solid CanvasText;
    forced-color-adjust: auto;
  }

  .btn,
  .pill-btn,
  .status-badge,
  .category-tag {
    border: 2px solid ButtonText;
  }

  .pill-btn.is-active,
  .pagination-list .is-active {
    background: Highlight;
    color: HighlightText;
  }
}
