:root {
  --chalk: #f5f2e9;
  --paper: #fffdf7;
  --ink: #171817;
  --cobalt: #2146a3;
  --cobalt-deep: #102b6f;
  --ochre: #d49a2a;
  --rust: #8f412d;
  --line: rgba(23, 24, 23, 0.22);
  --white-line: rgba(255, 253, 247, 0.34);
  --display: "Panchang", Arial, sans-serif;
  --korean: "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--chalk);
  font-family: var(--korean);
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

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

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

button {
  cursor: pointer;
}

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

h1,
h2,
h3,
.brand-mark,
.site-footer strong,
.product-index,
.eyebrow {
  font-family: var(--display);
  font-weight: 500;
}

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

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

.section-rail {
  width: min(100% - 144px, 1440px);
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 18px;
  font-size: 11px;
  line-height: 1.3;
  text-transform: uppercase;
}

.primary-link,
.line-button,
.line-link,
.add-main,
.checkout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 2px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

.primary-link {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.primary-link.cobalt {
  color: var(--paper);
  background: var(--cobalt);
  border-color: var(--cobalt);
}

.primary-link.ochre {
  color: var(--ink);
  background: var(--ochre);
  border-color: var(--ochre);
}

.line-link {
  min-height: 0;
  padding: 8px 0;
  border-width: 0 0 1px;
  gap: 26px;
}

.line-link.light,
.line-button.light {
  color: var(--paper);
}

.line-button {
  padding-inline: 0;
  background: transparent;
  border-width: 0 0 1px;
  gap: 30px;
}

.primary-link:hover,
.primary-link:focus-visible,
.add-main:hover,
.add-main:focus-visible {
  color: var(--paper);
  background: var(--rust);
  border-color: var(--rust);
}

.line-link:hover,
.line-link:focus-visible,
.line-button:hover,
.line-button:focus-visible {
  color: var(--cobalt);
}

.line-link.light:hover,
.line-link.light:focus-visible,
.line-button.light:hover,
.line-button.light:focus-visible {
  color: var(--ochre);
}

.site-header {
  position: absolute;
  z-index: 50;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  padding-inline: 40px;
  border-bottom: 1px solid rgba(23, 24, 23, 0.14);
}

.site-header.solid {
  position: relative;
  background: var(--paper);
}

.site-header.inverse {
  color: var(--paper);
  border-bottom-color: var(--white-line);
}

.brand-mark {
  justify-self: start;
  font-size: 18px;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 42px;
  font-family: var(--display);
  font-size: 10px;
  text-transform: uppercase;
}

.desktop-nav a {
  position: relative;
  padding-block: 8px;
}

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

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

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

.text-control,
.icon-control {
  border: 0;
  background: transparent;
}

.text-control {
  padding: 8px 0;
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.text-control span {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  min-height: 22px;
  margin-left: 6px;
  border: 1px solid currentColor;
}

.menu-trigger {
  display: none;
  width: 38px;
  height: 38px;
  padding: 9px;
}

.menu-trigger span {
  display: block;
  width: 100%;
  height: 1px;
  margin-block: 5px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 24px 38px;
  color: var(--paper);
  background: var(--cobalt-deep);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 300ms ease, visibility 300ms;
}

.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--display);
  font-size: 16px;
}

.close-control {
  width: 44px;
  height: 44px;
  color: var(--paper);
  font-size: 32px;
}

.mobile-menu nav {
  display: grid;
  margin-top: 80px;
}

.mobile-bag-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 22px;
  padding: 14px 0;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--white-line);
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
}

.mobile-bag-button span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid currentColor;
}

.mobile-menu nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--white-line);
  font-family: var(--display);
  font-size: 25px;
  text-transform: uppercase;
}

.mobile-menu > p {
  margin: auto 0 0;
  color: rgba(255, 253, 247, 0.76);
  font-size: 18px;
}

.home-hero {
  position: relative;
  min-height: min(880px, 92svh);
  overflow: hidden;
  background: var(--paper);
}

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

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

.hero-copy {
  position: absolute;
  z-index: 2;
  top: 27%;
  left: 6%;
  width: min(42%, 610px);
}

.hero-copy h1 {
  margin-bottom: 26px;
  font-size: 88px;
  line-height: 0.96;
}

.hero-statement {
  margin-bottom: 34px;
  font-size: 27px;
  line-height: 1.45;
}

.hero-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 38px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.scroll-cue.dark {
  color: var(--ink);
}

.daylight-index {
  padding: 120px 0 130px;
  background: var(--paper);
}

.daylight-index .section-rail {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 8vw;
}

.daylight-heading h2,
.collection-intro h2,
.philosophy h2,
.orientation h2,
.finish-heading h2,
.formula-heading h2,
.usage-head h2 {
  margin-bottom: 0;
  font-size: 46px;
  line-height: 1.28;
}

.sun-path {
  align-self: end;
}

.sun-track,
.plan-line {
  position: relative;
  height: 1px;
  margin-bottom: 32px;
  background: var(--line);
}

.sun-track span,
.plan-line span {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px;
  height: 14px;
  background: var(--cobalt);
  border: 4px solid var(--paper);
  outline: 1px solid var(--cobalt);
  transform: translate(-50%, -50%);
  transition: left 320ms ease;
}

.sun-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.sun-controls button {
  display: grid;
  gap: 6px;
  padding: 0 16px 22px 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.sun-controls button span,
.sun-summary span,
.product-index,
.chapter-label span,
.commute-copy > span,
.afterlight-heading > span {
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.sun-controls button strong {
  font-size: 14px;
  font-weight: 600;
}

.sun-controls button[aria-selected="true"] {
  color: var(--cobalt);
  border-bottom-color: var(--cobalt);
}

.sun-summary {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: start;
  gap: 24px;
  padding-top: 26px;
}

.sun-summary p {
  max-width: 520px;
  margin-bottom: 0;
  font-size: 15px;
}

.sun-summary a {
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.collection {
  background: var(--chalk);
}

.collection-intro {
  padding-block: 116px 92px;
}

.product-bay {
  position: relative;
  max-width: 1680px;
  margin-inline: auto;
  overflow: hidden;
}

.product-bay h3 {
  margin-bottom: 26px;
  font-size: 58px;
  line-height: 1.02;
}

.product-bay p {
  max-width: 460px;
  font-size: 16px;
}

.shade-bay {
  display: grid;
  grid-template-columns: 62% 38%;
  min-height: 650px;
  background: var(--paper);
}

.bay-media img {
  height: 100%;
  object-fit: cover;
}

.bay-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 76px;
}

.bay-copy h3 {
  color: var(--cobalt);
}

.product-notes {
  width: 100%;
  margin: 34px 0 40px;
}

.product-notes div,
.purchase-facts div {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.product-notes dt,
.product-notes dd,
.purchase-facts dt,
.purchase-facts dd {
  margin: 0;
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.portico-bay {
  display: grid;
  grid-template-columns: 38% 38% 24%;
  min-height: 760px;
  background: var(--cobalt);
}

.portico-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 72px;
  color: var(--paper);
}

.portico-media {
  margin: 84px 0 -72px;
}

.portico-media img {
  height: 100%;
  min-height: 740px;
  object-fit: cover;
}

.portico-note {
  display: grid;
  place-items: end center;
  padding: 72px 22px;
  color: var(--paper);
  background: var(--ochre);
  font-family: var(--display);
  font-size: 13px;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.canopy-bay {
  display: grid;
  grid-template-columns: minmax(0, 72%) minmax(280px, 28%);
  min-height: 620px;
  margin-top: 150px;
  background: var(--paper);
}

.canopy-media img {
  height: 100%;
  object-fit: cover;
}

.canopy-copy {
  align-self: center;
  padding: 62px 42px;
  border-left: 10px solid var(--ochre);
}

.canopy-copy h3 {
  font-size: 40px;
}

.afterlight-bay {
  min-height: 640px;
  margin-top: 110px;
  color: var(--paper);
  background: var(--rust);
}

.afterlight-bay > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.afterlight-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 44%;
  min-height: 640px;
  padding: 80px;
}

.philosophy {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 680px;
  padding-top: 130px;
  background: var(--paper);
}

.philosophy-copy {
  width: auto;
  padding: 100px 8vw;
}

.philosophy-copy > p:not(.eyebrow) {
  max-width: 540px;
  margin: 36px 0;
}

.philosophy-media img {
  height: 100%;
  object-fit: cover;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 10vw;
  padding: 90px 7vw;
  color: var(--paper);
  background: var(--ink);
}

.newsletter h2 {
  max-width: 650px;
  margin-bottom: 0;
  font-size: 34px;
  line-height: 1.35;
}

.newsletter form label {
  display: block;
  margin-bottom: 9px;
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.email-field {
  display: grid;
  grid-template-columns: 1fr 48px;
  border-bottom: 1px solid var(--paper);
}

.email-field input {
  min-width: 0;
  padding: 12px 0;
  color: var(--paper);
  background: transparent;
  border: 0;
  outline: 0;
}

.email-field button {
  color: var(--paper);
  background: transparent;
  border: 0;
  font-size: 22px;
}

.form-status {
  min-height: 24px;
  margin: 10px 0 0;
  font-size: 12px;
}

.site-footer {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 8vw;
  padding: 72px 5vw 24px;
  background: var(--chalk);
}

.footer-brand strong {
  display: block;
  margin-bottom: 20px;
  font-size: 26px;
}

.footer-brand p {
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.footer-links div {
  display: grid;
  align-content: start;
  gap: 8px;
}

.footer-links span {
  margin-bottom: 8px;
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.footer-links a {
  font-size: 13px;
}

.footer-bottom {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: 8px;
  text-transform: uppercase;
}

.bag-dialog {
  width: min(480px, calc(100% - 32px));
  max-height: calc(100svh - 32px);
  margin: 16px 16px 16px auto;
  padding: 28px;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: var(--paper);
}

.bag-dialog::backdrop {
  background: rgba(23, 24, 23, 0.56);
}

.bag-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.bag-head h2 {
  margin: 0;
  font-size: 24px;
}

.bag-head .icon-control {
  width: 40px;
  height: 40px;
  font-size: 28px;
}

.bag-items {
  display: grid;
}

.bag-item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.bag-item strong {
  font-family: var(--display);
  font-size: 12px;
}

.bag-item button {
  border: 0;
  background: transparent;
  font-size: 12px;
  text-decoration: underline;
}

.bag-empty {
  padding: 36px 0;
  color: rgba(23, 24, 23, 0.62);
}

.checkout-button {
  width: 100%;
  color: var(--paper);
  background: var(--cobalt);
  border-color: var(--cobalt);
}

/* Shade Plan */
.plan-page {
  background: var(--paper);
}

.plan-hero {
  position: relative;
  min-height: 620px;
  overflow: hidden;
}

.plan-hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.plan-hero-copy {
  position: relative;
  z-index: 1;
  width: min(680px, 70%);
  margin-inline: auto;
  padding-top: 145px;
  text-align: center;
}

.plan-hero-copy h1 {
  margin-bottom: 22px;
  font-size: 72px;
  line-height: 0.98;
}

.orientation {
  padding: 120px 0;
}

.orientation-head {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 10vw;
  margin-bottom: 76px;
}

.orientation-head > p {
  max-width: 430px;
  margin-bottom: 0;
}

.plan-dial {
  padding: 52px 0 0;
}

.plan-line {
  margin-bottom: 0;
}

.plan-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.plan-tabs button {
  display: grid;
  gap: 7px;
  min-height: 116px;
  padding: 20px 20px 20px 0;
  text-align: left;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.plan-tabs button span,
.plan-tabs button strong {
  font-family: var(--display);
  text-transform: uppercase;
}

.plan-tabs button span {
  font-size: 9px;
}

.plan-tabs button strong {
  font-size: 16px;
}

.plan-tabs button small {
  font-size: 12px;
}

.plan-tabs button[aria-selected="true"] {
  color: var(--cobalt);
  border-bottom-color: var(--cobalt);
}

.plan-result {
  display: grid;
  grid-template-columns: 140px 0.8fr 1.3fr auto;
  align-items: start;
  gap: 32px;
  padding-top: 32px;
}

.plan-result span,
.plan-result a {
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.plan-result h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.plan-result p {
  margin-bottom: 0;
}

.plan-result a {
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
}

.plan-chapters {
  background: var(--chalk);
}

.plan-chapter {
  max-width: 1680px;
  margin-inline: auto;
}

.morning-chapter {
  display: grid;
  grid-template-columns: 18% 46% 36%;
  min-height: 660px;
  background: var(--paper);
}

.chapter-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 54px 36px;
  border-right: 1px solid var(--line);
}

.chapter-label p {
  font-size: 14px;
}

.chapter-image img {
  height: 100%;
  object-fit: cover;
}

.chapter-copy {
  align-self: center;
  padding: 68px;
}

.chapter-copy h2,
.noon-copy h2,
.commute-copy h2,
.afterlight-heading h2 {
  font-size: 42px;
  line-height: 1.25;
}

.chapter-copy dl {
  margin: 42px 0 0;
}

.chapter-copy dl div {
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.chapter-copy dt {
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.chapter-copy dd {
  margin: 4px 0 0;
  font-size: 13px;
}

.noon-chapter {
  display: grid;
  grid-template-columns: 0.3fr 1fr 0.9fr;
  min-height: 520px;
  color: var(--paper);
  background: var(--cobalt);
}

.noon-number {
  padding: 48px 36px;
  color: var(--ochre);
  font-family: var(--display);
  font-size: 130px;
  line-height: 1;
  border-right: 1px solid var(--white-line);
}

.noon-copy {
  align-self: center;
  padding: 60px;
}

.noon-copy p:last-child {
  max-width: 540px;
  color: rgba(255, 253, 247, 0.8);
}

.noon-route {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: 0;
  padding: 60px;
  border-left: 1px solid var(--white-line);
}

.noon-route span,
.noon-route strong {
  padding: 18px 0;
  border-bottom: 1px solid var(--white-line);
}

.noon-route span {
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.noon-route strong {
  font-size: 14px;
  font-weight: 500;
}

.commute-chapter {
  display: grid;
  grid-template-columns: 58% 30% 12%;
  min-height: 680px;
  background: var(--paper);
}

.commute-media img {
  height: 100%;
  object-fit: cover;
}

.commute-copy {
  align-self: center;
  padding: 60px 48px;
}

.commute-note {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px 26px;
  color: var(--paper);
  background: var(--ochre);
}

.commute-note strong {
  font-family: var(--display);
  font-size: 10px;
  text-transform: uppercase;
}

.commute-note p {
  margin: 18px 0 0;
  font-size: 13px;
}

.afterlight-chapter {
  display: grid;
  grid-template-columns: 42% 24% 34%;
  min-height: 660px;
  color: var(--paper);
  background: var(--rust);
}

.afterlight-heading {
  align-self: center;
  padding: 68px;
}

.afterlight-routine {
  display: grid;
  align-content: center;
  padding: 58px 36px;
  border-inline: 1px solid var(--white-line);
}

.afterlight-routine div {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
  padding: 20px 0;
  border-top: 1px solid var(--white-line);
}

.afterlight-routine strong {
  font-family: var(--display);
  font-size: 9px;
}

.afterlight-routine p {
  margin: 0;
  color: rgba(255, 253, 247, 0.82);
  font-size: 13px;
}

.afterlight-media img {
  height: 100%;
  object-fit: cover;
}

.plan-comparison,
.product-comparison {
  padding: 120px 0;
  background: var(--paper);
}

.plan-comparison h2,
.product-comparison h2 {
  margin-bottom: 50px;
  font-size: 40px;
}

.table-scroll {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  text-align: left;
}

th,
td {
  padding: 18px 14px;
  border-top: 1px solid var(--line);
}

thead th {
  font-family: var(--display);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
}

tbody th {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
}

tbody td {
  font-size: 13px;
}

.plan-closing {
  display: grid;
  grid-template-columns: 1fr 0.6fr;
  min-height: 500px;
  color: var(--paper);
  background: var(--ink);
}

.plan-closing > div:first-child {
  align-self: center;
  padding: 80px 8vw;
}

.plan-closing h2 {
  margin-bottom: 22px;
  font-size: 64px;
}

.closing-block {
  display: grid;
  place-items: center;
  color: var(--paper);
  background: var(--cobalt);
  font-family: var(--display);
  font-size: 180px;
}

/* Product detail */
.pdp-hero {
  position: relative;
  min-height: min(840px, 92svh);
  overflow: hidden;
  color: var(--paper);
  background: var(--cobalt-deep);
}

.pdp-hero > img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.pdp-hero-copy {
  position: absolute;
  z-index: 1;
  top: 25%;
  left: 6.5%;
  width: 34%;
}

.pdp-hero-copy h1 {
  margin-bottom: 30px;
  font-size: 72px;
  line-height: 0.98;
}

.pdp-hero-copy > p:not(.eyebrow) {
  margin-bottom: 30px;
  font-size: 18px;
}

.purchase-zone {
  display: grid;
  grid-template-columns: 56% 44%;
  min-height: 840px;
  background: var(--paper);
}

.purchase-image {
  display: grid;
  place-items: center;
  padding: 70px 7vw;
  background: #ece9e0;
}

.purchase-image img {
  width: min(620px, 100%);
  max-height: 700px;
  object-fit: contain;
}

.purchase-rail {
  align-self: center;
  padding: 74px 9vw 74px 7vw;
}

.purchase-rail h2 {
  margin-bottom: 24px;
  font-size: 42px;
  line-height: 1.16;
}

.product-lead {
  max-width: 520px;
  margin-bottom: 38px;
  font-size: 17px;
}

.purchase-facts {
  margin: 0 0 30px;
}

.quantity {
  display: grid;
  grid-template-columns: 44px 54px 44px;
  width: max-content;
  margin-bottom: 14px;
  border: 1px solid var(--line);
}

.quantity button,
.quantity output {
  display: grid;
  place-items: center;
  height: 42px;
  background: transparent;
  border: 0;
}

.quantity output {
  border-inline: 1px solid var(--line);
  font-family: var(--display);
  font-size: 11px;
}

.add-main {
  width: 100%;
  color: var(--paper);
  background: var(--cobalt);
  border-color: var(--cobalt);
}

.purchase-note {
  margin: 14px 0 0;
  color: rgba(23, 24, 23, 0.66);
  font-size: 12px;
}

.finish-study {
  padding: 130px 0;
  background: var(--chalk);
}

.finish-heading {
  margin-bottom: 80px;
}

.application-frame {
  display: grid;
  grid-template-columns: 64% 36%;
  max-width: 1600px;
  margin-left: auto;
  background: var(--paper);
}

.application-frame img {
  height: 680px;
  object-fit: cover;
}

.application-frame > div {
  align-self: end;
  padding: 50px;
}

.application-frame span,
.texture-frame span {
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.application-frame p {
  margin: 18px 0 0;
}

.texture-frame {
  display: grid;
  grid-template-columns: 38% 62%;
  max-width: 1500px;
  margin: 90px auto 0 0;
  color: var(--paper);
  background: var(--cobalt);
}

.texture-frame > div {
  align-self: center;
  padding: 70px 5vw;
}

.texture-frame h3 {
  margin: 22px 0;
  font-size: 30px;
  line-height: 1.35;
}

.texture-frame img {
  height: 520px;
  object-fit: cover;
}

.formula-roles {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 8vw;
  padding: 130px 7vw;
  background: var(--paper);
}

.formula-heading {
  align-self: start;
  position: sticky;
  top: 32px;
}

.formula-lines {
  display: grid;
}

.formula-lines > div {
  display: grid;
  grid-template-columns: 56px 0.7fr 1.3fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.formula-lines span,
.formula-lines strong {
  font-family: var(--display);
  font-size: 11px;
  text-transform: uppercase;
}

.formula-lines p {
  margin: 0;
}

.usage-score {
  padding: 120px 0;
  color: var(--paper);
  background: var(--ink);
}

.usage-head {
  margin-bottom: 70px;
}

.usage-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 4vw;
  list-style: none;
}

.usage-steps li {
  display: grid;
  align-content: start;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--white-line);
  border-right: 0;
}

.usage-steps li:last-child {
  border-right: 1px solid var(--white-line);
}

.usage-steps strong {
  margin-bottom: 70px;
  color: var(--ochre);
  font-family: var(--display);
  font-size: 11px;
}

.usage-steps span {
  font-size: 14px;
}

.product-comparison .current {
  color: var(--paper);
  background: var(--cobalt);
}

.product-info {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 10vw;
  padding: 120px 7vw;
  background: var(--chalk);
}

.product-info h2 {
  font-size: 34px;
}

.product-info dl {
  margin: 0;
}

.product-info dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.product-info dt {
  font-family: var(--display);
  font-size: 9px;
  text-transform: uppercase;
}

.product-info dd {
  margin: 0;
  font-size: 14px;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 10vw;
  padding: 120px 7vw;
  background: var(--paper);
}

.faq-heading h2 {
  font-size: 42px;
}

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

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

.faq-list summary {
  position: relative;
  padding: 24px 44px 24px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
}

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

.faq-list summary::after {
  position: absolute;
  top: 20px;
  right: 8px;
  content: "+";
  font-family: var(--display);
  font-size: 20px;
}

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

.faq-list details p {
  max-width: 760px;
  padding: 0 44px 26px 0;
  color: rgba(23, 24, 23, 0.72);
}

.next-product {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  min-height: 520px;
  color: var(--paper);
  background: var(--cobalt);
}

.next-product > div {
  align-self: center;
  padding: 80px 8vw;
}

.next-product h2 {
  margin-bottom: 24px;
  font-size: 64px;
  line-height: 1;
}

.next-product > span {
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--ochre);
  font-family: var(--display);
  font-size: 180px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .section-rail {
    width: min(100% - 80px, 1180px);
  }

  .site-header {
    padding-inline: 28px;
  }

  .desktop-nav {
    gap: 24px;
  }

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

  .hero-statement {
    font-size: 23px;
  }

  .daylight-index .section-rail {
    gap: 5vw;
  }

  .daylight-heading h2,
  .collection-intro h2,
  .philosophy h2,
  .orientation h2,
  .finish-heading h2,
  .formula-heading h2,
  .usage-head h2 {
    font-size: 38px;
  }

  .bay-copy,
  .portico-copy {
    padding: 52px;
  }

  .product-bay h3 {
    font-size: 46px;
  }

  .morning-chapter {
    grid-template-columns: 15% 46% 39%;
  }

  .chapter-copy {
    padding: 44px;
  }

  .commute-chapter {
    grid-template-columns: 56% 34% 10%;
  }

  .commute-note {
    padding-inline: 18px;
  }

  .purchase-rail {
    padding-inline: 6vw;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .section-rail {
    width: min(100% - 48px, 900px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding-inline: 20px;
  }

  .desktop-nav,
  .bag-trigger {
    display: none;
  }

  .menu-trigger {
    display: block;
  }

  .home-hero {
    min-height: 760px;
  }

  .hero-copy {
    top: 21%;
    left: 5%;
    width: 49%;
  }

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

  .hero-statement {
    font-size: 20px;
  }

  .daylight-index {
    padding: 90px 0;
  }

  .daylight-index .section-rail {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .sun-summary {
    grid-template-columns: 100px 1fr;
  }

  .sun-summary a {
    grid-column: 2;
    justify-self: start;
  }

  .collection-intro {
    padding-block: 90px 70px;
  }

  .shade-bay {
    grid-template-columns: 1fr;
  }

  .bay-media {
    min-height: 520px;
  }

  .bay-copy {
    min-height: 520px;
  }

  .portico-bay {
    grid-template-columns: 48% 42% 10%;
  }

  .portico-copy {
    padding: 40px;
  }

  .portico-media {
    margin-top: 58px;
  }

  .canopy-bay {
    grid-template-columns: 1fr;
    margin-top: 100px;
  }

  .canopy-media {
    min-height: 480px;
  }

  .canopy-copy {
    padding: 52px;
    border-top: 10px solid var(--ochre);
    border-left: 0;
  }

  .philosophy {
    grid-template-columns: 1fr;
    padding-top: 90px;
  }

  .philosophy-copy {
    padding: 70px 7vw;
  }

  .philosophy-media {
    min-height: 500px;
  }

  .newsletter {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .orientation-head,
  .plan-result,
  .product-info,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .plan-result {
    gap: 14px;
  }

  .plan-result a {
    justify-self: start;
  }

  .morning-chapter {
    grid-template-columns: 16% 84%;
  }

  .chapter-label {
    grid-row: span 2;
  }

  .chapter-image {
    min-height: 540px;
  }

  .chapter-copy {
    padding: 60px;
  }

  .noon-chapter {
    grid-template-columns: 0.3fr 1fr;
  }

  .noon-route {
    grid-column: 1 / -1;
    border-top: 1px solid var(--white-line);
    border-left: 0;
  }

  .commute-chapter {
    grid-template-columns: 1fr 0.12fr;
  }

  .commute-media {
    grid-column: 1 / -1;
    min-height: 560px;
  }

  .commute-copy {
    padding: 60px;
  }

  .afterlight-chapter {
    grid-template-columns: 1fr 1fr;
  }

  .afterlight-heading {
    padding: 54px;
  }

  .afterlight-routine {
    border-right: 0;
  }

  .afterlight-media {
    grid-column: 1 / -1;
    height: 560px;
  }

  .purchase-zone {
    grid-template-columns: 1fr;
  }

  .purchase-image {
    min-height: 680px;
  }

  .purchase-rail {
    padding: 80px 8vw;
  }

  .application-frame,
  .texture-frame {
    grid-template-columns: 1fr;
    margin-inline: 5vw;
  }

  .application-frame img,
  .texture-frame img {
    height: 560px;
  }

  .texture-frame > div {
    order: 2;
  }

  .formula-roles {
    grid-template-columns: 1fr;
  }

  .formula-heading {
    position: static;
  }

  .usage-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .usage-steps li:nth-child(2) {
    border-right: 1px solid var(--white-line);
  }

  .usage-steps li:nth-child(n+3) {
    border-top: 0;
  }
}

@media (max-width: 640px) {
  .section-rail {
    width: calc(100% - 40px);
  }

  .home-hero {
    min-height: 78svh;
  }

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

  .hero-copy {
    top: 11%;
    left: 20px;
    width: 58%;
  }

  .hero-copy .eyebrow {
    margin-bottom: 12px;
  }

  .hero-copy h1 {
    margin-bottom: 16px;
    font-size: 38px;
  }

  .hero-statement {
    margin-bottom: 24px;
    font-size: 17px;
  }

  .hero-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .hero-links .primary-link {
    min-height: 42px;
    padding-inline: 16px;
    font-size: 9px;
  }

  .scroll-cue {
    right: 18px;
    bottom: 14px;
  }

  .daylight-heading h2,
  .collection-intro h2,
  .philosophy h2,
  .orientation h2,
  .finish-heading h2,
  .formula-heading h2,
  .usage-head h2 {
    font-size: 30px;
  }

  .sun-path {
    overflow: hidden;
  }

  .sun-controls,
  .plan-tabs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .sun-controls button,
  .plan-tabs button {
    flex: 0 0 72%;
    scroll-snap-align: start;
  }

  .sun-summary {
    grid-template-columns: 1fr;
  }

  .sun-summary a {
    grid-column: auto;
  }

  .collection-intro {
    padding-block: 76px 54px;
  }

  .bay-media {
    min-height: 400px;
  }

  .bay-copy {
    min-height: auto;
    padding: 54px 24px;
  }

  .product-bay h3 {
    font-size: 38px;
  }

  .portico-bay {
    grid-template-columns: 1fr;
  }

  .portico-copy {
    padding: 58px 24px;
  }

  .portico-media {
    margin: 0;
    padding: 0 18vw 0 0;
  }

  .portico-media img {
    min-height: 560px;
  }

  .portico-note {
    min-height: 72px;
    padding: 16px 24px;
    writing-mode: horizontal-tb;
  }

  .canopy-bay {
    margin-top: 70px;
  }

  .canopy-media {
    min-height: 380px;
  }

  .canopy-copy {
    padding: 48px 24px;
  }

  .afterlight-bay {
    min-height: 620px;
    margin-top: 70px;
  }

  .afterlight-bay > img {
    object-position: 62% center;
  }

  .afterlight-copy {
    width: 72%;
    min-height: 620px;
    padding: 52px 24px;
  }

  .afterlight-copy h3 {
    font-size: 34px;
  }

  .philosophy {
    padding-top: 70px;
  }

  .philosophy-copy {
    padding: 50px 20px;
  }

  .philosophy-media {
    min-height: 330px;
  }

  .newsletter {
    padding: 68px 20px;
  }

  .newsletter h2 {
    font-size: 26px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding: 56px 20px 22px;
  }

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

  .footer-links div:last-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .plan-hero {
    min-height: 70svh;
  }

  .plan-hero > img {
    object-position: center;
  }

  .plan-hero-copy {
    width: calc(100% - 40px);
    padding-top: 110px;
  }

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

  .orientation {
    padding: 80px 0;
  }

  .orientation-head {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 46px;
  }

  .plan-dial {
    padding-top: 30px;
  }

  .morning-chapter,
  .noon-chapter,
  .commute-chapter,
  .afterlight-chapter {
    grid-template-columns: 1fr;
  }

  .chapter-label {
    display: grid;
    grid-row: auto;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 24px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .chapter-label p {
    margin: 0;
  }

  .chapter-image,
  .commute-media,
  .afterlight-media {
    min-height: 420px;
    height: 420px;
  }

  .chapter-copy,
  .noon-copy,
  .commute-copy,
  .afterlight-heading {
    padding: 50px 20px;
  }

  .chapter-copy h2,
  .noon-copy h2,
  .commute-copy h2,
  .afterlight-heading h2 {
    font-size: 32px;
  }

  .noon-number {
    padding: 28px 20px;
    font-size: 88px;
    border-right: 0;
    border-bottom: 1px solid var(--white-line);
  }

  .noon-route,
  .afterlight-routine {
    grid-column: auto;
    padding: 40px 20px;
    border-inline: 0;
    border-top: 1px solid var(--white-line);
  }

  .commute-note {
    padding: 38px 20px;
  }

  .plan-comparison,
  .product-comparison {
    padding: 82px 0;
  }

  .plan-comparison h2,
  .product-comparison h2 {
    font-size: 30px;
  }

  .plan-closing,
  .next-product {
    grid-template-columns: 1fr;
  }

  .plan-closing > div:first-child,
  .next-product > div {
    padding: 70px 20px;
  }

  .plan-closing h2,
  .next-product h2 {
    font-size: 42px;
  }

  .closing-block,
  .next-product > span {
    min-height: 250px;
    font-size: 110px;
  }

  .pdp-hero {
    min-height: 76svh;
  }

  .pdp-hero > img {
    object-position: 48% center;
  }

  .pdp-hero-copy {
    top: 17%;
    left: 20px;
    width: 44%;
  }

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

  .pdp-hero-copy > p:not(.eyebrow) {
    font-size: 14px;
  }

  .purchase-image {
    min-height: 520px;
    padding: 45px 20px;
  }

  .purchase-rail {
    padding: 62px 20px;
  }

  .purchase-rail h2 {
    font-size: 32px;
  }

  .finish-study {
    padding: 86px 0;
  }

  .finish-heading {
    margin-bottom: 48px;
  }

  .application-frame,
  .texture-frame {
    margin-inline: 0;
  }

  .application-frame img,
  .texture-frame img {
    height: 380px;
  }

  .application-frame > div,
  .texture-frame > div {
    padding: 42px 20px;
  }

  .formula-roles,
  .product-info,
  .faq-section {
    padding: 82px 20px;
  }

  .formula-lines > div {
    grid-template-columns: 42px 1fr;
  }

  .formula-lines p {
    grid-column: 2;
  }

  .usage-score {
    padding: 82px 0;
  }

  .usage-steps {
    grid-template-columns: 1fr;
    padding-inline: 20px;
  }

  .usage-steps li {
    min-height: 170px;
    border-right: 1px solid var(--white-line);
    border-bottom: 0;
  }

  .usage-steps li:last-child {
    border-bottom: 1px solid var(--white-line);
  }

  .usage-steps strong {
    margin-bottom: 36px;
  }

  .product-info {
    gap: 48px;
  }

  .product-info dl div {
    grid-template-columns: 110px 1fr;
  }

  .faq-section {
    gap: 48px;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
