@import url("https://api.fontshare.com/v2/css?f[]=gambetta@400,500,600&f[]=switzer@400,500,600,700&display=swap");

:root {
  --font-display: "Gambetta", "Times New Roman", serif;
  --font-body: "Switzer", "Apple SD Gothic Neo", "Noto Sans KR", Arial, sans-serif;
  --cloud: #e9edf0;
  --paper: #f6f3ea;
  --graphite: #253038;
  --graphite-soft: #566168;
  --rust: #c45c3c;
  --rust-deep: #8d3f2b;
  --rain: #719eae;
  --dry-grass: #c6aa4b;
  --white: #fff;
  --line: rgba(37, 48, 56, 0.28);
  --line-light: rgba(246, 243, 234, 0.4);
  --page-pad: 48px;
  --section-space: 112px;
  --header-height: 64px;
  --radius: 4px;
  --pressure-position: 22%;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--graphite);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

button,
input {
  font: inherit;
  letter-spacing: 0;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

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

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

h1,
h2,
h3,
p,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
  word-break: keep-all;
}

button,
a,
input,
summary {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 4px;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--graphite);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: var(--header-height);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--page-pad);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 243, 234, 0.92);
  backdrop-filter: blur(14px);
  transition: height 180ms ease, transform 220ms ease;
}

.site-header.is-compact {
  height: 54px;
}

.site-header.is-hidden {
  transform: translateY(-110%);
}

.wordmark {
  justify-self: start;
  font-family: var(--font-display);
  font-size: 24px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 11px;
}

.desktop-nav a {
  position: relative;
  white-space: nowrap;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: var(--rust);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav a:hover::after,
.desktop-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  justify-self: end;
  align-items: center;
  gap: 8px;
}

.log-button {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 12px;
  padding: 0 10px;
  border: 1px solid var(--graphite);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-size: 9px;
}

.log-button strong {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: var(--paper);
  background: var(--rust);
  font-size: 9px;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 38px;
  height: 38px;
  padding: 9px;
  border: 1px solid var(--graphite);
  border-radius: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button i {
  display: block;
  height: 1px;
  margin: 4px 0;
  background: var(--graphite);
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded="true"] i:first-of-type {
  transform: translateY(5px) rotate(45deg);
}

.menu-button[aria-expanded="true"] i:nth-of-type(2) {
  opacity: 0;
}

.menu-button[aria-expanded="true"] i:last-of-type {
  transform: translateY(-5px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  z-index: -1;
  inset: var(--header-height) 0 auto;
  display: none;
  padding: 20px var(--page-pad) 32px;
  border-bottom: 1px solid var(--graphite);
  background: var(--paper);
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-nav.is-open {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav a {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 24px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 18px;
  border: 1px solid currentColor;
  border-radius: 0;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.button-paper {
  color: var(--graphite);
  background: var(--paper);
}

.button-graphite {
  color: var(--paper);
  background: var(--graphite);
}

.button-rust {
  width: 100%;
  color: var(--white);
  background: var(--rust);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 6px;
  border-bottom: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
}

.text-link-light {
  color: var(--paper);
}

/* Home */
.home-hero {
  position: relative;
  height: calc(100svh - 96px);
  min-height: 640px;
  max-height: 820px;
  margin-top: var(--header-height);
  overflow: hidden;
  color: var(--white);
  background: var(--graphite);
}

.home-hero picture,
.home-hero picture img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero picture img {
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: var(--page-pad);
  width: 560px;
  transform: translateY(-48%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.55);
}

.hero-copy h1 {
  margin: 26px 0 20px;
  font-family: var(--font-body);
  font-size: 112px;
}

.hero-line {
  margin-bottom: 38px;
  font-family: var(--font-display);
  font-size: 28px;
}

.hero-observation {
  position: absolute;
  z-index: 2;
  right: var(--page-pad);
  bottom: 0;
  left: var(--page-pad);
  display: grid;
  height: 54px;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--line-light);
  font-size: 9px;
}

.hero-observation i {
  height: 1px;
  background: var(--line-light);
}

.forecast-section {
  --forecast-accent: var(--dry-grass);
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  min-height: 720px;
  border-bottom: 1px solid var(--graphite);
  background: var(--cloud);
  transition: background 220ms ease;
}

.forecast-section.tone-humid {
  --forecast-accent: var(--rain);
  background: #e4ecee;
}

.forecast-section.tone-shifting {
  --forecast-accent: var(--rust);
  background: #efe8df;
}

.forecast-heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-space) var(--page-pad);
  border-right: 1px solid var(--graphite);
}

.forecast-heading h2 {
  margin: 24px 0 32px;
  font-family: var(--font-display);
  font-size: 52px;
}

.forecast-heading > p:last-child {
  max-width: 350px;
  color: var(--graphite-soft);
}

.forecast-console {
  display: grid;
  grid-template-rows: auto auto 1fr;
  padding: 72px var(--page-pad);
}

.forecast-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
}

.forecast-tabs button {
  min-height: 108px;
  padding: 20px;
  border: 0;
  border-right: 1px solid var(--graphite);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
}

.forecast-tabs button:last-child {
  border-right: 0;
}

.forecast-tabs button span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 11px;
}

.forecast-tabs button.is-active {
  color: var(--paper);
  background: var(--forecast-accent);
}

.pressure-track {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 36px 0;
  font-size: 9px;
}

.pressure-track i {
  position: relative;
  height: 1px;
  background: var(--graphite);
}

.pressure-track b {
  position: absolute;
  top: 50%;
  left: var(--pressure-position);
  width: 14px;
  height: 14px;
  background: var(--forecast-accent);
  transform: translate(-50%, -50%);
  transition: left 220ms ease, background 220ms ease;
}

.forecast-output {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.72fr;
  align-items: end;
  gap: 40px;
  padding-top: 44px;
  border-top: 1px solid var(--graphite);
}

.forecast-output h3 {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 44px;
}

.forecast-output > p {
  color: var(--graphite-soft);
}

.forecast-pick {
  display: grid;
  gap: 14px;
  align-self: stretch;
  padding-left: 24px;
  border-left: 1px solid var(--graphite);
}

.forecast-pick span {
  font-size: 9px;
}

.forecast-pick strong {
  color: var(--forecast-accent);
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.1;
}

.forecast-pick a {
  align-self: end;
  padding-top: 14px;
  border-top: 1px solid var(--graphite);
  font-size: 10px;
  font-weight: 700;
}

.rain-field {
  position: relative;
  height: 640px;
  overflow: hidden;
  color: var(--paper);
  background: var(--graphite);
}

.rain-field > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rain-field > div {
  position: absolute;
  top: 50%;
  left: var(--page-pad);
  width: 460px;
  transform: translateY(-50%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.7);
}

.rain-field h2 {
  margin: 22px 0 24px;
  font-family: var(--font-display);
  font-size: 48px;
}

.rain-field > div > p:nth-of-type(2) {
  margin-bottom: 30px;
}

.weather-station {
  padding-top: var(--section-space);
  background: var(--paper);
}

.station-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: end;
  padding: 0 var(--page-pad) 72px;
}

.station-heading h2 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 58px;
}

.station-heading > p {
  max-width: 470px;
  color: var(--graphite-soft);
}

.station-list {
  border-top: 1px solid var(--graphite);
}

.product-band {
  display: grid;
  min-height: 500px;
  grid-template-columns: minmax(0, 1.45fr) 100px minmax(300px, 0.8fr);
  border-bottom: 1px solid var(--graphite);
}

.product-band figure {
  min-width: 0;
  overflow: hidden;
}

.product-band figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.band-index {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 18px;
  border-right: 1px solid var(--graphite);
  border-left: 1px solid var(--graphite);
  font-size: 11px;
}

.band-index b {
  color: var(--rust);
  font-size: 9px;
  writing-mode: vertical-rl;
}

.band-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px var(--page-pad);
}

.band-copy h3 {
  margin: 22px 0 24px;
  font-family: var(--font-display);
  font-size: 42px;
}

.band-copy > p:nth-of-type(2) {
  color: var(--graphite-soft);
}

.band-copy > button,
.band-actions {
  margin-top: auto;
}

.band-copy > button {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--graphite);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.product-band-reverse {
  grid-template-columns: minmax(300px, 0.8fr) 100px minmax(0, 1.45fr);
}

.product-band-reverse figure {
  grid-column: 3;
  grid-row: 1;
}

.product-band-reverse .band-index {
  grid-column: 2;
  grid-row: 1;
}

.product-band-reverse .band-copy {
  grid-column: 1;
  grid-row: 1;
}

.band-actions {
  display: grid;
  grid-template-columns: 1fr 48px;
  border-top: 1px solid var(--graphite);
}

.band-actions a,
.band-actions button {
  min-height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.band-actions a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.band-actions button {
  border-left: 1px solid var(--graphite);
}

.field-notes {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  border-bottom: 1px solid var(--graphite);
  background: var(--cloud);
}

.field-notes > header {
  padding: var(--section-space) var(--page-pad);
  border-right: 1px solid var(--graphite);
}

.field-notes h2 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 48px;
}

.notes-index a {
  display: grid;
  min-height: 126px;
  grid-template-columns: 90px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px var(--page-pad);
  border-bottom: 1px solid var(--graphite);
}

.notes-index a:last-child {
  border-bottom: 0;
}

.notes-index span,
.notes-index b {
  font-size: 9px;
}

.notes-index strong {
  font-family: var(--font-display);
  font-size: 22px;
}

/* Atlas */
.atlas-hero {
  position: relative;
  height: 780px;
  margin-top: var(--header-height);
  overflow: hidden;
  color: var(--paper);
  background: var(--graphite);
}

.atlas-hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.atlas-hero-copy {
  position: absolute;
  top: 50%;
  left: var(--page-pad);
  width: 500px;
  transform: translateY(-50%);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.75);
}

.atlas-hero-copy h1 {
  margin: 24px 0 28px;
  font-family: var(--font-display);
  font-size: 82px;
}

.atlas-hero-copy > p:last-child {
  font-size: 20px;
}

.atlas-current {
  position: absolute;
  right: var(--page-pad);
  bottom: 28px;
  display: grid;
  width: 230px;
  grid-template-columns: auto 1fr;
  gap: 8px 18px;
  padding: 18px 0;
  border-top: 1px solid var(--paper);
  border-bottom: 1px solid var(--paper);
  font-size: 9px;
}

.atlas-current i {
  grid-column: 1 / -1;
  height: 6px;
  background: var(--rust);
}

.atlas-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  background: var(--paper);
}

.pressure-rail {
  position: sticky;
  top: 0;
  display: grid;
  height: 100svh;
  min-height: 640px;
  grid-template-rows: auto 1fr auto;
  padding: 90px 28px 36px;
  border-right: 1px solid var(--graphite);
  background: var(--paper);
}

.pressure-rail p,
.pressure-rail small {
  font-size: 9px;
}

.pressure-rail > div {
  display: grid;
  grid-template-rows: auto 1fr 16px 1fr auto;
  justify-items: center;
  gap: 16px;
  padding: 38px 0;
  font-size: 9px;
}

.pressure-rail i {
  width: 1px;
  height: 100%;
  background: var(--graphite);
}

.pressure-rail b {
  width: 16px;
  height: 16px;
  background: var(--rust);
}

.condition-chapter {
  display: grid;
  min-height: 760px;
  grid-template-columns: minmax(0, 0.92fr) 90px minmax(360px, 1.08fr);
  border-bottom: 1px solid var(--graphite);
}

.condition-chapter figure {
  min-width: 0;
  overflow: hidden;
}

.condition-chapter figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.condition-number {
  padding: 42px 22px;
  border-right: 1px solid var(--graphite);
  border-left: 1px solid var(--graphite);
  color: var(--rust);
  font-family: var(--font-display);
  font-size: 26px;
}

.condition-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px;
}

.condition-copy h2 {
  margin: 24px 0 30px;
  font-family: var(--font-display);
  font-size: 52px;
}

.condition-copy > p:nth-of-type(2) {
  max-width: 520px;
  color: var(--graphite-soft);
}

.condition-copy dl {
  margin-top: 42px;
  border-top: 1px solid var(--graphite);
}

.condition-copy dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.condition-copy dt {
  font-size: 10px;
  font-weight: 700;
}

.condition-copy dd {
  color: var(--graphite-soft);
}

.condition-copy button {
  display: flex;
  justify-content: space-between;
  margin-top: 34px;
  padding: 18px 0;
  border: 0;
  border-top: 1px solid var(--graphite);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.condition-humid {
  background: var(--cloud);
}

.condition-humid figure {
  grid-column: 3;
  grid-row: 1;
}

.condition-humid .condition-number {
  grid-column: 2;
  grid-row: 1;
}

.condition-humid .condition-copy {
  grid-column: 1;
  grid-row: 1;
}

.condition-shifting {
  background: #efe8df;
}

.atlas-comparison {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  border-bottom: 1px solid var(--graphite);
}

.atlas-comparison > header {
  padding: var(--section-space) var(--page-pad);
  border-right: 1px solid var(--graphite);
}

.atlas-comparison h2 {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 48px;
}

.comparison-table {
  align-self: center;
  padding: 64px var(--page-pad);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr repeat(3, 1.15fr);
  min-height: 76px;
  align-items: center;
  border-bottom: 1px solid var(--graphite);
}

.comparison-row > * {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  font-size: 11px;
}

.comparison-row > *:last-child {
  border-right: 0;
}

.comparison-head {
  min-height: 44px;
  border-top: 1px solid var(--graphite);
  color: var(--graphite-soft);
}

.comparison-head span {
  font-size: 9px;
}

.atlas-cta {
  min-height: 360px;
  padding: 82px var(--page-pad);
  color: var(--white);
  background: var(--rust);
  text-align: center;
}

.atlas-cta h2 {
  margin: 24px 0 34px;
  font-family: var(--font-display);
  font-size: 58px;
}

/* Product detail */
.product-opening {
  display: grid;
  min-height: 820px;
  grid-template-columns: 1.1fr 0.9fr;
  margin-top: var(--header-height);
  border-bottom: 1px solid var(--graphite);
}

.product-opening > figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--cloud);
}

.product-opening > figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-opening figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 10px;
  color: var(--paper);
  background: var(--graphite);
  font-size: 8px;
}

.product-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 76px;
}

.breadcrumb {
  margin-bottom: 74px;
  color: var(--graphite-soft);
  font-size: 9px;
}

.product-summary h1 {
  margin: 24px 0 28px;
  font-family: var(--font-display);
  font-size: 72px;
}

.product-line {
  max-width: 460px;
  font-size: 21px;
}

.forecast-summary {
  margin-top: 46px;
  border-top: 1px solid var(--graphite);
}

.forecast-summary div {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.forecast-summary dt {
  font-size: 9px;
  font-weight: 700;
}

.forecast-summary dd {
  color: var(--graphite-soft);
}

.product-size {
  display: flex;
  justify-content: space-between;
  margin: 34px 0 16px;
  font-size: 11px;
}

.routine-position {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  padding: var(--section-space) var(--page-pad);
  border-bottom: 1px solid var(--graphite);
}

.routine-position header {
  padding-right: 72px;
}

.routine-position h2 {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: 48px;
}

.routine-position ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-self: center;
  padding: 0;
  border-top: 1px solid var(--graphite);
  border-bottom: 1px solid var(--graphite);
  list-style: none;
}

.routine-position li {
  position: relative;
  display: grid;
  min-height: 160px;
  align-content: center;
  gap: 7px;
  padding: 22px;
  border-right: 1px solid var(--graphite);
}

.routine-position li:last-child {
  border-right: 0;
}

.routine-position li span,
.routine-position li small {
  font-size: 9px;
}

.routine-position li.is-current {
  color: var(--white);
  background: var(--rust);
}

.use-field {
  display: grid;
  min-height: 680px;
  grid-template-columns: 1.35fr 0.65fr;
  color: var(--paper);
  background: var(--graphite);
}

.use-field > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.use-field > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px var(--page-pad);
}

.use-field h2 {
  margin: 24px 0 28px;
  font-family: var(--font-display);
  font-size: 48px;
}

.use-field > div > p:nth-of-type(2) {
  color: rgba(246, 243, 234, 0.75);
}

.use-field ul {
  display: grid;
  gap: 0;
  margin-top: 42px;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.use-field li {
  display: grid;
  grid-template-columns: 52px 1fr;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
}

.use-field li span {
  color: var(--rain);
  font-size: 9px;
  font-weight: 700;
}

.texture-report {
  display: grid;
  grid-template-columns: 0.72fr 1fr 1fr;
  border-bottom: 1px solid var(--graphite);
}

.texture-report > header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-space) var(--page-pad);
  border-right: 1px solid var(--graphite);
}

.texture-report h2 {
  margin: 24px 0 28px;
  font-family: var(--font-display);
  font-size: 44px;
}

.texture-report header > p:last-child {
  color: var(--graphite-soft);
}

.texture-report figure {
  display: grid;
  min-width: 0;
  grid-template-rows: 1fr auto;
  border-right: 1px solid var(--graphite);
}

.texture-report figure:last-child {
  border-right: 0;
}

.texture-report figure img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.texture-report figcaption {
  display: grid;
  grid-template-columns: 80px 1fr;
  padding: 18px;
  border-top: 1px solid var(--graphite);
}

.texture-report figcaption span {
  font-size: 9px;
}

.product-information {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--graphite);
}

.product-information > div {
  padding: var(--section-space) var(--page-pad);
  border-right: 1px solid var(--graphite);
}

.product-information > div:last-child {
  border-right: 0;
}

.product-information h2 {
  margin: 24px 0 36px;
  font-family: var(--font-display);
  font-size: 42px;
}

.formula-notes dl,
.product-facts dl {
  border-top: 1px solid var(--graphite);
}

.formula-notes dl div,
.product-facts dl div {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 18px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.formula-notes dt,
.product-facts dt {
  font-size: 11px;
  font-weight: 700;
}

.formula-notes dd,
.product-facts dd {
  color: var(--graphite-soft);
  font-size: 13px;
}

.product-faq details {
  border-top: 1px solid var(--graphite);
}

.product-faq details:last-child {
  border-bottom: 1px solid var(--graphite);
}

.product-faq summary {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  font-size: 12px;
  list-style: none;
}

.product-faq summary::-webkit-details-marker {
  display: none;
}

.product-faq summary::after {
  content: "+";
  font-size: 18px;
}

.product-faq details[open] summary::after {
  content: "−";
}

.product-faq details p {
  padding: 0 0 20px;
  color: var(--graphite-soft);
  font-size: 13px;
}

.next-product {
  display: grid;
  min-height: 260px;
  grid-template-columns: 0.5fr 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 54px var(--page-pad);
  color: var(--white);
  background: var(--rust);
}

.next-product div span {
  font-size: 9px;
}

.next-product h2 {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 46px;
}

.next-product a {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 16px 0;
  border-top: 1px solid var(--white);
  border-bottom: 1px solid var(--white);
  font-size: 11px;
}

/* Footer and dialogs */
.site-footer {
  display: grid;
  grid-template-columns: 1fr 0.85fr 1.1fr;
  gap: 60px;
  padding: 74px var(--page-pad) 32px;
  color: var(--paper);
  background: var(--graphite);
}

.footer-brand strong {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 400;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--rain);
  font-size: 8px;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 10px;
  font-size: 11px;
}

.weather-form label {
  display: block;
  margin-bottom: 18px;
  font-size: 11px;
}

.weather-form > div {
  display: grid;
  grid-template-columns: 1fr 44px;
  border-bottom: 1px solid var(--line-light);
}

.weather-form input,
.weather-form button {
  min-width: 0;
  height: 44px;
  border: 0;
  color: var(--paper);
  background: transparent;
}

.weather-form input::placeholder {
  color: rgba(246, 243, 234, 0.44);
}

.weather-form button {
  cursor: pointer;
  font-size: 18px;
}

.weather-form [data-form-status] {
  min-height: 24px;
  margin-top: 10px;
  color: var(--rain);
  font-size: 10px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 34px;
  border-top: 1px solid var(--line-light);
  color: rgba(246, 243, 234, 0.46);
  font-size: 8px;
}

.log-dialog {
  width: min(520px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  margin: auto;
  padding: 0;
  border: 1px solid var(--graphite);
  border-radius: 0;
  color: var(--graphite);
  background: var(--paper);
}

.log-dialog::backdrop {
  background: rgba(37, 48, 56, 0.64);
}

.log-head {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid var(--graphite);
}

.log-head button {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 24px;
}

.log-intro {
  padding: 22px;
  color: var(--graphite-soft);
  font-size: 13px;
}

.log-items {
  border-top: 1px solid var(--graphite);
}

.log-items > div {
  display: grid;
  min-height: 58px;
  grid-template-columns: 48px 1fr 42px;
  align-items: center;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}

.log-items span {
  font-size: 9px;
}

.log-items strong {
  font-size: 12px;
}

.log-items button {
  height: 36px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.log-empty {
  padding: 36px 22px;
  color: var(--graphite-soft);
}

.log-dialog > .button {
  margin: 24px 22px;
}

.toast {
  position: fixed;
  z-index: 200;
  right: 24px;
  bottom: 24px;
  max-width: calc(100% - 48px);
  padding: 14px 18px;
  color: var(--paper);
  background: var(--graphite);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 180ms ease, transform 180ms ease;
  pointer-events: none;
  font-size: 12px;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  :root {
    --page-pad: 36px;
    --section-space: 92px;
  }

  .desktop-nav {
    gap: 24px;
  }

  .hero-copy h1 {
    font-size: 94px;
  }

  .forecast-section {
    grid-template-columns: 300px 1fr;
  }

  .forecast-heading h2 {
    font-size: 40px;
  }

  .forecast-output {
    grid-template-columns: 1fr 1fr;
  }

  .forecast-pick {
    grid-column: 1 / -1;
    min-height: 120px;
    margin-top: 28px;
  }

  .product-band,
  .product-band-reverse {
    grid-template-columns: 1.2fr 80px 0.8fr;
  }

  .condition-copy {
    padding: 56px;
  }

  .condition-copy h2 {
    font-size: 44px;
  }

  .product-summary {
    padding: 54px;
  }

  .product-summary h1 {
    font-size: 58px;
  }

  .texture-report h2 {
    font-size: 38px;
  }

  .product-information > div {
    padding: 78px 32px;
  }
}

@media (max-width: 900px) {
  :root {
    --page-pad: 28px;
    --section-space: 80px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .desktop-nav,
  .log-button span {
    display: none;
  }

  .menu-button,
  .mobile-nav {
    display: block;
  }

  .forecast-section,
  .field-notes,
  .atlas-comparison,
  .routine-position {
    display: block;
  }

  .forecast-heading,
  .field-notes > header,
  .atlas-comparison > header {
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
  }

  .forecast-console {
    padding: var(--section-space) var(--page-pad);
  }

  .forecast-output {
    grid-template-columns: 1fr 0.75fr;
  }

  .rain-field {
    height: 560px;
  }

  .station-heading {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-band,
  .product-band-reverse {
    grid-template-columns: 1fr 72px;
    grid-template-rows: 520px auto;
  }

  .product-band figure,
  .product-band-reverse figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .product-band .band-index,
  .product-band-reverse .band-index {
    grid-column: 2;
    grid-row: 2;
  }

  .product-band .band-copy,
  .product-band-reverse .band-copy {
    grid-column: 1;
    grid-row: 2;
    min-height: 380px;
  }

  .notes-index a {
    grid-template-columns: 74px 1fr;
  }

  .notes-index b {
    grid-column: 2;
  }

  .atlas-hero {
    height: 680px;
  }

  .atlas-hero-copy h1 {
    font-size: 66px;
  }

  .atlas-body {
    display: block;
  }

  .pressure-rail {
    position: static;
    display: grid;
    height: auto;
    min-height: 0;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    align-items: center;
    gap: 18px;
    padding: 18px var(--page-pad);
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
  }

  .pressure-rail > div {
    display: grid;
    grid-template-columns: auto 1fr 16px 1fr auto;
    grid-template-rows: 1fr;
    align-items: center;
    padding: 0;
  }

  .pressure-rail i {
    width: 100%;
    height: 1px;
  }

  .condition-chapter,
  .condition-humid {
    grid-template-columns: 68px 1fr;
    grid-template-rows: 620px auto;
  }

  .condition-chapter figure,
  .condition-humid figure {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .condition-chapter .condition-number,
  .condition-humid .condition-number {
    grid-column: 1;
    grid-row: 2;
  }

  .condition-chapter .condition-copy,
  .condition-humid .condition-copy {
    grid-column: 2;
    grid-row: 2;
  }

  .comparison-table {
    padding: var(--section-space) var(--page-pad);
    overflow-x: auto;
  }

  .comparison-row {
    min-width: 720px;
  }

  .product-opening {
    grid-template-columns: 1fr;
  }

  .product-opening > figure {
    height: 720px;
  }

  .product-summary {
    min-height: 680px;
    padding: var(--section-space) var(--page-pad);
  }

  .routine-position header {
    padding: 0 0 42px;
  }

  .use-field {
    grid-template-columns: 1fr;
  }

  .use-field > img {
    height: 560px;
  }

  .use-field > div {
    min-height: 480px;
  }

  .texture-report {
    grid-template-columns: 1fr 1fr;
  }

  .texture-report > header {
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
  }

  .texture-report figure img {
    min-height: 420px;
  }

  .product-information {
    grid-template-columns: 1fr;
  }

  .product-information > div {
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
  }

  .next-product {
    grid-template-columns: 1fr auto;
  }

  .next-product > .eyebrow {
    grid-column: 1 / -1;
  }

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

  .weather-form {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --page-pad: 20px;
    --section-space: 64px;
    --header-height: 60px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    padding: 0 var(--page-pad);
  }

  .wordmark {
    font-size: 20px;
  }

  .log-button,
  .menu-button {
    height: 36px;
  }

  .home-hero {
    height: calc(100svh - 104px);
    min-height: 580px;
    max-height: 650px;
    color: var(--graphite);
    background: var(--cloud);
  }

  .home-hero picture img {
    object-position: center;
  }

  .hero-copy {
    top: 52px;
    right: 20px;
    left: 20px;
    width: auto;
    transform: none;
    text-shadow: 0 1px 12px rgba(255, 255, 255, 0.82);
  }

  .hero-copy h1 {
    margin: 12px 0 6px;
    font-size: 56px;
  }

  .hero-line {
    margin-bottom: 18px;
    font-size: 18px;
  }

  .hero-copy .button {
    min-height: 40px;
    color: var(--paper);
    background: var(--graphite);
  }

  .hero-observation {
    right: 20px;
    left: 20px;
    grid-template-columns: auto 1fr auto;
    color: var(--graphite);
    border-color: var(--graphite);
  }

  .hero-observation b {
    display: none;
  }

  .hero-observation i {
    background: var(--graphite);
  }

  .forecast-heading {
    min-height: 440px;
  }

  .forecast-heading h2,
  .station-heading h2,
  .field-notes h2,
  .atlas-comparison h2,
  .routine-position h2 {
    font-size: 38px;
  }

  .forecast-console {
    padding: 0;
  }

  .forecast-tabs {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .forecast-tabs button {
    min-height: 72px;
    padding: 14px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
  }

  .pressure-track {
    padding: 28px 20px;
  }

  .forecast-output {
    display: block;
    padding: 48px 20px 64px;
  }

  .forecast-output h3 {
    font-size: 36px;
  }

  .forecast-output > p {
    margin-top: 24px;
  }

  .forecast-pick {
    min-height: 0;
    margin-top: 34px;
    padding: 20px 0 0;
    border-top: 1px solid var(--graphite);
    border-left: 0;
  }

  .rain-field {
    height: 620px;
  }

  .rain-field > img {
    object-position: 58% center;
  }

  .rain-field > div {
    top: auto;
    right: 20px;
    bottom: 34px;
    left: 20px;
    width: auto;
    transform: none;
  }

  .rain-field h2 {
    font-size: 38px;
  }

  .station-heading {
    padding-bottom: 48px;
  }

  .product-band,
  .product-band-reverse {
    grid-template-columns: 52px 1fr;
    grid-template-rows: 360px auto;
  }

  .product-band .band-index,
  .product-band-reverse .band-index {
    grid-column: 1;
    padding: 20px 12px;
  }

  .product-band .band-copy,
  .product-band-reverse .band-copy {
    grid-column: 2;
    min-height: 350px;
    padding: 44px 22px;
  }

  .band-copy h3 {
    font-size: 32px;
  }

  .field-notes > header {
    min-height: 360px;
  }

  .notes-index a {
    grid-template-columns: 60px 1fr;
    min-height: 118px;
    padding: 18px 20px;
  }

  .notes-index strong {
    font-size: 18px;
  }

  .atlas-hero {
    height: 660px;
  }

  .atlas-hero > img {
    object-position: 56% center;
  }

  .atlas-hero-copy {
    top: auto;
    right: 20px;
    bottom: 76px;
    left: 20px;
    width: auto;
    transform: none;
  }

  .atlas-hero-copy h1 {
    font-size: 54px;
  }

  .atlas-current {
    right: 20px;
    bottom: 18px;
    left: 20px;
    width: auto;
  }

  .pressure-rail {
    grid-template-columns: 1fr;
  }

  .pressure-rail p,
  .pressure-rail small {
    display: none;
  }

  .condition-chapter,
  .condition-humid {
    grid-template-columns: 48px 1fr;
    grid-template-rows: 500px auto;
  }

  .condition-copy {
    padding: 48px 22px;
  }

  .condition-copy h2 {
    font-size: 36px;
  }

  .condition-copy dl div {
    grid-template-columns: 88px 1fr;
  }

  .condition-number {
    padding: 32px 12px;
    font-size: 20px;
  }

  .atlas-cta {
    min-height: 320px;
    padding: 70px 20px;
  }

  .atlas-cta h2 {
    font-size: 38px;
  }

  .product-opening > figure {
    height: 560px;
  }

  .product-summary {
    min-height: 620px;
    padding: 64px 20px;
  }

  .breadcrumb {
    margin-bottom: 48px;
  }

  .product-summary h1 {
    font-size: 48px;
  }

  .product-line {
    font-size: 18px;
  }

  .routine-position ol {
    grid-template-columns: 1fr 1fr;
  }

  .routine-position li {
    min-height: 120px;
    border-bottom: 1px solid var(--graphite);
  }

  .use-field > img {
    height: 410px;
    object-position: 38% center;
  }

  .use-field > div {
    min-height: 460px;
    padding: 58px 20px;
  }

  .use-field h2 {
    font-size: 38px;
  }

  .texture-report {
    grid-template-columns: 1fr;
  }

  .texture-report > header,
  .texture-report figure {
    grid-column: auto;
    border-right: 0;
    border-bottom: 1px solid var(--graphite);
  }

  .texture-report > header {
    padding: 72px 20px;
  }

  .texture-report h2 {
    font-size: 36px;
  }

  .texture-report figure img {
    min-height: 390px;
  }

  .product-information > div {
    padding: 72px 20px;
  }

  .product-information h2 {
    font-size: 36px;
  }

  .next-product {
    display: block;
    min-height: 330px;
    padding: 64px 20px;
  }

  .next-product h2 {
    margin: 16px 0 36px;
    font-size: 38px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 64px 20px 28px;
  }

  .weather-form,
  .copyright {
    grid-column: auto;
  }

  .footer-brand strong {
    font-size: 34px;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
  }
}

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