:root {
  --salt: #f3f1ea;
  --salt-bright: #faf9f5;
  --sea: #9bb7b1;
  --sea-pale: #d9e4e1;
  --kelp: #203f3b;
  --coral: #d96c5f;
  --ink: #172d30;
  --fog: #b9c5c1;
  --line: #9caeaa;
  --header-h: 70px;
  --page-x: 48px;
  --max: 1720px;
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--salt);
  font-family: "Switzer", "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

body.is-locked {
  overflow: hidden;
}

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

button,
input {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 120;
  left: 8px;
  top: 8px;
  padding: 9px 14px;
  border: 1px solid var(--ink);
  background: var(--salt-bright);
  transform: translateY(-160%);
}

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

.page-shell {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--page-x);
}

.site-header {
  position: relative;
  z-index: 30;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--page-x);
  border-bottom: 1px solid var(--line);
  background: var(--salt-bright);
}

.wordmark {
  width: max-content;
  font-family: "Boska", Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  line-height: 1;
}

.desktop-nav {
  display: flex;
  align-items: stretch;
  gap: 36px;
  height: 100%;
}

.desktop-nav a {
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  font-size: 10px;
  font-weight: 600;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible,
.desktop-nav a.is-current {
  border-bottom-color: var(--coral);
}

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

.bag-command {
  min-height: 34px;
  border: 0;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
}

.bag-command span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-left: 5px;
  border: 1px solid var(--ink);
}

.menu-command {
  width: 40px;
  height: 40px;
  display: none;
  align-content: center;
  justify-items: center;
  gap: 5px;
  border: 1px solid var(--ink);
  background: transparent;
}

.menu-command span {
  width: 16px;
  height: 1px;
  background: var(--ink);
}

.mobile-menu {
  position: fixed;
  z-index: 100;
  inset: 0 0 0 auto;
  width: min(500px, 100%);
  padding: 26px 30px;
  color: var(--salt);
  background: var(--kelp);
  border-left: 1px solid var(--fog);
}

.mobile-menu__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 66px;
  font-size: 10px;
}

.mobile-menu__top button,
.tide-bag > div button {
  width: 40px;
  height: 40px;
  border: 1px solid currentColor;
  color: inherit;
  background: transparent;
  font-size: 26px;
  line-height: 1;
}

.mobile-menu nav {
  display: grid;
}

.mobile-menu nav a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 20px 0;
  border-top: 1px solid #668079;
}

.mobile-menu nav a:last-child {
  border-bottom: 1px solid #668079;
}

.mobile-menu nav span {
  font-family: "Boska", Georgia, serif;
  font-size: 29px;
}

.mobile-menu nav em {
  color: var(--sea);
  font-size: 10px;
  font-style: normal;
}

.home-hero {
  position: relative;
  height: 740px;
  overflow: hidden;
  color: var(--salt-bright);
  background: #74909a;
}

.home-hero picture,
.home-hero picture img {
  width: 100%;
  height: 100%;
}

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

.home-hero__note {
  position: absolute;
  left: var(--page-x);
  top: 72px;
  width: 390px;
}

.home-hero__note p,
.home-hero__note span {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
}

.home-hero__note h1 {
  margin: 18px 0 16px;
  font-family: "Boska", Georgia, serif;
  font-size: 57px;
  font-weight: 500;
  line-height: 0.94;
}

.home-hero__note > a,
.material-band__copy > a,
.knit-record__copy > a,
.knits-route > a,
.worn-movement__copy > a,
.next-knit__copy > a {
  min-height: 45px;
  width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin-top: 28px;
  padding: 0 15px;
  border: 1px solid currentColor;
  font-size: 11px;
  font-weight: 600;
}

.home-hero__note a {
  background: rgba(23, 45, 48, 0.82);
}

.hero-wordmark {
  position: absolute;
  left: var(--page-x);
  right: var(--page-x);
  bottom: -22px;
  font-family: "Boska", Georgia, serif;
  font-size: 154px;
  font-weight: 400;
  line-height: 1;
}

.tide-ribbon {
  min-height: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr) 2fr;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: var(--salt-bright);
}

.tide-ribbon span {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-right: 1px solid var(--line);
  font-size: 9px;
}

.tide-ribbon span:last-child {
  justify-content: flex-end;
  border-right: 0;
}

.tidal-intro {
  display: grid;
  grid-template-columns: 2fr 7fr 3fr;
  gap: 32px;
  align-items: end;
  padding-bottom: 48px;
}

.tidal-intro > p,
.section-title > p,
.material-band__copy > p,
.current-ledger > p,
.knits-route > p,
.worn-movement__copy > p,
.next-knit__copy > p {
  margin: 0;
  font-size: 10px;
  font-weight: 700;
}

.tidal-intro h2,
.section-title h2,
.material-band__copy h2,
.knits-route h2,
.worn-movement__copy h2,
.detail-pair h2,
.next-knit__copy h2 {
  margin: 0;
  font-family: "Boska", "Batang", "AppleMyungjo", serif;
  font-size: 48px;
  font-weight: 500;
  line-height: 1.14;
}

.tidal-intro > span {
  color: #526e69;
}

.tide-section {
  padding-top: 104px;
  padding-bottom: 116px;
}

.tide-instrument {
  display: grid;
  grid-template-columns: 7fr 5fr;
  min-height: 650px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.tide-instrument__controls {
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--ink);
}

.tide-readout {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px 7%;
}

.tide-readout p,
.tide-readout strong,
.tide-readout span {
  display: block;
}

.tide-readout p {
  margin: 0 0 13px;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
}

.tide-readout strong {
  font-family: "Boska", "Batang", serif;
  font-size: 38px;
  font-weight: 500;
}

.tide-readout span {
  max-width: 520px;
  margin-top: 14px;
  color: #526e69;
}

.tide-track {
  position: relative;
  padding: 10px 5% 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tide-track__line {
  position: absolute;
  z-index: 1;
  left: 10%;
  right: 10%;
  top: 46px;
  height: 1px;
  background: var(--line);
}

.tide-track__line i {
  position: absolute;
  left: calc((100% - 16px) * var(--tide-step) / 3);
  top: -7px;
  width: 15px;
  height: 15px;
  border: 3px solid var(--salt);
  background: var(--coral);
  transition: left 320ms ease;
}

.tide-stations {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.tide-stations button {
  min-height: 148px;
  display: grid;
  align-content: space-between;
  justify-items: center;
  padding: 18px 8px 13px;
  border: 0;
  background: transparent;
}

.tide-stations b {
  font-family: "Boska", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
}

.tide-stations span,
.tide-stations em {
  font-size: 9px;
  font-style: normal;
}

.tide-stations em {
  color: #5f7672;
}

.tide-stations button.is-active b,
.tide-stations button.is-active span {
  color: var(--coral);
}

.tide-spec {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: auto 0 0;
}

.tide-spec div {
  padding: 17px 20px;
  border-right: 1px solid var(--line);
}

.tide-spec div:last-child {
  border-right: 0;
}

.tide-spec dt,
.product-facts dt,
.knit-record dl dt,
.weight-readout dt {
  color: #657b76;
  font-size: 9px;
  font-weight: 700;
}

.tide-spec dd,
.product-facts dd,
.knit-record dl dd,
.weight-readout dd {
  margin: 4px 0 0;
  font-size: 11px;
  font-weight: 600;
}

.tide-instrument__visual {
  position: relative;
  overflow: hidden;
  background: var(--sea-pale);
}

.tide-instrument__visual img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.tide-instrument__visual > span {
  position: absolute;
  right: 0;
  bottom: 0;
  padding: 11px 15px;
  color: var(--salt-bright);
  background: var(--kelp);
  font-size: 9px;
  font-weight: 700;
}

.shore-diptych {
  display: grid;
  grid-template-columns: 7fr 5fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.shore-diptych figure {
  margin: 0;
  min-width: 0;
}

.shore-diptych__portrait {
  border-right: 1px solid var(--ink);
}

.shore-diptych img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.shore-diptych figcaption {
  min-height: 92px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 16px var(--page-x);
  border-top: 1px solid var(--line);
}

.shore-diptych figcaption span {
  font-size: 9px;
  font-weight: 700;
}

.shore-diptych figcaption strong {
  font-family: "Boska", "Batang", serif;
  font-size: 20px;
  font-weight: 500;
}

.current-ledger {
  display: grid;
  grid-template-columns: 2fr 10fr;
  gap: 30px;
  padding-top: 108px;
  padding-bottom: 116px;
}

.current-ledger > div {
  border-top: 1px solid var(--ink);
}

.current-ledger > div > * {
  min-height: 82px;
  display: grid;
  grid-template-columns: 120px 1fr 170px 24px;
  gap: 18px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.current-ledger > div > span {
  grid-template-columns: 120px 1fr 170px;
}

.current-ledger span,
.current-ledger em {
  color: #5b726d;
  font-size: 10px;
  font-style: normal;
}

.current-ledger strong {
  font-family: "Boska", Georgia, serif;
  font-size: 26px;
  font-weight: 500;
}

.current-ledger b {
  font-size: 19px;
}

.making-rhythm {
  padding-top: 98px;
  padding-bottom: 112px;
  color: var(--salt);
  background: var(--kelp);
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  padding-bottom: 38px;
}

.making-rhythm .section-title > p {
  color: var(--sea);
}

.making-rhythm__grid {
  display: grid;
  grid-template-columns: 5fr 4fr 3fr;
  border-top: 1px solid #6f8882;
}

.making-rhythm figure {
  margin: 0;
  border-right: 1px solid #6f8882;
}

.making-rhythm img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.making-rhythm figcaption {
  min-height: 83px;
  display: grid;
  gap: 5px;
  padding: 15px 18px;
  border-top: 1px solid #6f8882;
}

.making-rhythm figcaption b,
.dry-note b {
  color: var(--sea);
  font-size: 10px;
}

.making-rhythm figcaption span {
  font-size: 12px;
}

.dry-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
}

.dry-note p {
  font-family: "Boska", "Batang", serif;
  font-size: 26px;
  line-height: 1.3;
}

.dry-note > span {
  color: var(--sea);
  font-size: 9px;
}

.material-band {
  display: grid;
  grid-template-columns: 7fr 5fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.material-band__image {
  border-right: 1px solid var(--ink);
}

.material-band__image img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.material-band__copy {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 9%;
  color: var(--salt);
  background: var(--kelp);
}

.material-band__copy h2 {
  margin: 22px 0;
  font-size: 43px;
}

.material-band__copy > span {
  color: #c7d6d2;
}

.lineup {
  padding-top: 105px;
  padding-bottom: 116px;
}

.lineup__image {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--salt-bright);
}

.lineup__image img {
  min-width: 760px;
  width: 100%;
  object-fit: contain;
}

.lineup__names {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--ink);
}

.lineup__names > * {
  min-height: 80px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 3px 9px;
  align-content: center;
  padding: 12px;
  border-right: 1px solid var(--line);
}

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

.lineup__names span,
.lineup__names em {
  color: #5d746f;
  font-size: 9px;
  font-style: normal;
}

.lineup__names strong {
  font-family: "Boska", Georgia, serif;
  font-size: 15px;
  font-weight: 500;
}

.lineup__names em {
  grid-column: 2;
}

.site-footer {
  padding: 0 var(--page-x) 22px;
  color: var(--salt);
  background: var(--kelp);
}

.footer-tide {
  position: relative;
  min-height: 78px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  padding-bottom: 12px;
  border-bottom: 1px solid #68817b;
}

.footer-tide i {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  height: 1px;
  background: #68817b;
}

.footer-tide i::after {
  content: "";
  position: absolute;
  left: 64%;
  top: -5px;
  width: 11px;
  height: 11px;
  background: var(--coral);
}

.footer-tide span {
  font-size: 9px;
}

.footer-main {
  display: grid;
  grid-template-columns: 6fr 2fr 4fr;
  gap: 42px;
  padding: 48px 0 70px;
}

.footer-wordmark {
  font-family: "Boska", Georgia, serif;
  font-size: 70px;
  line-height: 1;
}

.footer-main p {
  color: var(--sea);
}

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

.newsletter label {
  display: block;
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 700;
}

.newsletter > div {
  display: grid;
  grid-template-columns: 1fr 44px;
  border-bottom: 1px solid #718983;
}

.newsletter input {
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  outline: 0;
  color: var(--salt);
  background: transparent;
}

.newsletter button {
  border: 0;
  color: var(--salt);
  background: transparent;
  font-size: 18px;
}

.newsletter [data-form-status] {
  min-height: 20px;
  margin: 8px 0 0;
  color: var(--sea);
  font-size: 11px;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #68817b;
  color: var(--sea);
  font-size: 9px;
}

.tide-bag {
  position: fixed;
  z-index: 110;
  inset: 0 0 0 auto;
  width: min(470px, 100%);
  padding: 28px;
  color: var(--ink);
  background: var(--salt-bright);
  border-left: 1px solid var(--ink);
}

.tide-bag > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--ink);
}

.tide-bag h2 {
  margin: 0;
  font-family: "Boska", Georgia, serif;
  font-size: 34px;
  font-weight: 500;
}

.tide-bag > p {
  padding: 24px 0;
  color: #5c716d;
}

[data-bag-items] article {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

[data-bag-items] h3,
[data-bag-items] p {
  margin: 0;
}

[data-bag-items] h3 {
  font-family: "Boska", Georgia, serif;
  font-size: 18px;
  font-weight: 500;
}

[data-bag-items] p {
  color: #5c716d;
  font-size: 10px;
}

.tide-bag > a {
  min-height: 46px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding: 0 14px;
  color: var(--salt);
  background: var(--kelp);
  font-size: 11px;
  font-weight: 600;
}

.scrim {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(23, 45, 48, 0.55);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 380ms ease, transform 380ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* TIDAL KNITS */
.knits-hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  color: var(--ink);
  background: #a7bcc0;
}

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

.knits-hero__title {
  position: absolute;
  top: 82px;
  left: 39%;
  width: 340px;
  text-align: center;
}

.knits-hero__title p,
.knits-hero__title span {
  margin: 0;
  font-size: 9px;
  font-weight: 700;
}

.knits-hero__title h1 {
  margin: 12px 0 14px;
  font-family: "Boska", Georgia, serif;
  font-size: 78px;
  font-weight: 500;
  line-height: 0.9;
}

.knits-hero__low {
  position: absolute;
  left: var(--page-x);
  bottom: 26px;
  display: grid;
  gap: 4px;
  color: var(--salt-bright);
}

.knits-hero__low b,
.knits-hero__low span {
  font-size: 9px;
}

.gauge-rail {
  min-height: 50px;
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--salt-bright);
}

.gauge-rail > span,
.gauge-rail > em {
  min-width: 120px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  color: #5b716c;
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.gauge-rail button {
  min-width: 140px;
  border: 0;
  border-left: 1px solid var(--line);
  background: transparent;
  font-size: 10px;
  font-weight: 700;
}

.gauge-rail button.is-active {
  color: var(--salt);
  background: var(--coral);
}

.gauge-rail > em {
  margin-left: auto;
  justify-content: flex-end;
}

.knit-records {
  padding: 92px 0 106px;
}

.knit-record {
  display: grid;
  margin-bottom: 68px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.knit-record.is-filtered {
  display: none;
}

.knit-record--rising {
  grid-template-columns: 3fr 9fr;
}

.knit-record--high {
  grid-template-columns: 7fr 5fr;
}

.knit-record--ebb {
  grid-template-columns: 4fr 8fr;
}

.knit-record > img {
  width: 100%;
  height: 620px;
  object-fit: cover;
}

.knit-record--rising > img,
.knit-record--ebb > img {
  border-left: 1px solid var(--ink);
}

.knit-record--high > img {
  border-right: 1px solid var(--ink);
}

.knit-record__copy {
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8%;
}

.knit-record__copy > p {
  margin: 0;
  color: var(--coral);
  font-size: 9px;
  font-weight: 700;
}

.knit-record__copy h2 {
  margin: 18px 0;
  font-family: "Boska", Georgia, serif;
  font-size: 43px;
  font-weight: 500;
  line-height: 1;
}

.knit-record__copy > span {
  color: #5c716d;
}

.knit-record dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: auto 0 0;
  border-top: 1px solid var(--line);
}

.knit-record dl div {
  padding: 14px 0;
  border-right: 1px solid var(--line);
}

.knit-record dl div:last-child {
  padding-left: 15px;
  border-right: 0;
}

.stitch-atlas {
  display: grid;
  grid-template-columns: 9fr 3fr;
  color: var(--salt);
  background: var(--kelp);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.stitch-atlas__image {
  border-right: 1px solid #69817b;
  overflow-x: auto;
}

.stitch-atlas__image img {
  width: 100%;
  min-width: 820px;
  height: 100%;
  object-fit: cover;
}

.stitch-atlas__copy {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 12%;
}

.stitch-atlas__copy p {
  margin: 0;
  color: var(--sea);
  font-size: 9px;
  font-weight: 700;
}

.stitch-atlas__copy h2 {
  margin: 20px 0 34px;
  font-family: "Boska", "Batang", serif;
  font-size: 34px;
  font-weight: 500;
  line-height: 1.2;
}

.stitch-atlas__copy > div {
  display: grid;
  border-top: 1px solid #69817b;
}

.stitch-atlas__copy span {
  padding: 10px 0;
  border-bottom: 1px solid #69817b;
  color: #cad7d4;
  font-size: 9px;
}

.knits-route {
  padding-top: 104px;
  padding-bottom: 112px;
}

.knits-route h2 {
  margin: 20px 0 0;
}

/* PRODUCT */
.product-opening {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: calc(100vh - var(--header-h));
  border-bottom: 1px solid var(--ink);
}

.product-opening__info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 10%;
  border-right: 1px solid var(--ink);
}

.product-opening__info > p {
  margin: 0;
  color: var(--coral);
  font-size: 10px;
  font-weight: 700;
}

.product-opening h1 {
  margin: 20px 0 18px;
  font-family: "Boska", Georgia, serif;
  font-size: 68px;
  font-weight: 500;
  line-height: 0.92;
}

.product-opening__info > span {
  margin-bottom: 28px;
  color: #5c716d;
}

.product-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.product-option > b,
.product-option > em {
  font-size: 9px;
  font-style: normal;
}

.product-option > em {
  grid-column: 1 / -1;
  color: #5c716d;
}

.color-swatches,
.size-options {
  display: flex;
}

.color-swatches button {
  width: 24px;
  height: 24px;
  margin-left: 9px;
  border: 1px solid var(--line);
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.color-swatches button.is-active {
  outline-color: var(--ink);
}

.color-swatches .sea {
  background: var(--sea);
}

.color-swatches .salt {
  background: #e7e4da;
}

.color-swatches .kelp {
  background: var(--kelp);
}

.color-swatches .coral {
  background: var(--coral);
}

.size-options button {
  width: 38px;
  height: 30px;
  border: 1px solid var(--line);
  border-right: 0;
  background: transparent;
  font-size: 10px;
}

.size-options button:last-child {
  border-right: 1px solid var(--line);
}

.size-options button.is-active {
  color: var(--salt);
  background: var(--kelp);
}

.add-bag {
  min-height: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  padding: 0 16px;
  border: 1px solid var(--coral);
  color: var(--salt);
  background: var(--coral);
  font-size: 11px;
  font-weight: 700;
}

.product-facts {
  margin: 24px 0 0;
  border-bottom: 1px solid var(--line);
}

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

.product-opening__image {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 42px;
  background: var(--salt-bright);
}

.product-opening__image > img {
  width: min(100%, 740px);
  max-height: calc(100vh - 145px);
  object-fit: contain;
}

.product-view-switch {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  border: 1px solid var(--ink);
  background: var(--salt-bright);
}

.product-view-switch button {
  width: 82px;
  height: 38px;
  border: 0;
  border-right: 1px solid var(--ink);
  background: transparent;
  font-size: 9px;
  font-weight: 700;
}

.product-view-switch button:last-child {
  border-right: 0;
}

.product-view-switch button.is-active {
  color: var(--salt);
  background: var(--kelp);
}

.weight-section {
  padding-top: 106px;
  padding-bottom: 112px;
}

.weight-tool {
  display: grid;
  grid-template-columns: 5fr 7fr;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.weight-states {
  border-right: 1px solid var(--ink);
}

.weight-states button {
  width: 100%;
  min-height: 75px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 12px 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
}

.weight-states button:last-child {
  border-bottom: 0;
}

.weight-states button.is-active {
  color: var(--salt);
  background: var(--coral);
}

.weight-states span,
.weight-states em {
  color: #5c716d;
  font-size: 9px;
  font-style: normal;
}

.weight-states button.is-active span,
.weight-states button.is-active em {
  color: #f6d9d4;
}

.weight-states strong {
  font-family: "Boska", Georgia, serif;
  font-size: 20px;
  font-weight: 500;
}

.weight-readout {
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8%;
}

.weight-readout > p {
  margin: 0;
  color: var(--coral);
  font-size: 9px;
  font-weight: 700;
}

.weight-readout h3 {
  margin: 18px 0;
  font-family: "Boska", "Batang", serif;
  font-size: 38px;
  font-weight: 500;
}

.weight-readout > span {
  color: #5c716d;
}

.weight-readout dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: auto 0 0;
  border-top: 1px solid var(--line);
}

.weight-readout dl div {
  padding: 14px;
  border-right: 1px solid var(--line);
}

.weight-readout dl div:last-child {
  border-right: 0;
}

.worn-movement {
  display: grid;
  grid-template-columns: 7fr 5fr;
  color: var(--salt);
  background: var(--kelp);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.worn-movement__image {
  min-height: 850px;
  border-right: 1px solid #718983;
}

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

.worn-movement__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10%;
}

.worn-movement__copy > p {
  color: var(--sea);
}

.worn-movement__copy h2 {
  margin: 20px 0 42px;
  font-size: 42px;
}

.worn-movement__copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #718983;
}

.worn-movement__copy li {
  display: grid;
  grid-template-columns: 32px 1fr;
  padding: 14px 0;
  border-bottom: 1px solid #718983;
  color: #cad7d4;
}

.worn-movement__copy li span {
  color: var(--coral);
  font-family: "Boska", Georgia, serif;
}

.detail-pair {
  padding-top: 104px;
  padding-bottom: 112px;
}

.detail-pair__image {
  border: 1px solid var(--line);
}

.detail-pair__image img {
  width: 100%;
}

.detail-pair__captions {
  display: grid;
  grid-template-columns: 3fr 2fr;
  border-bottom: 1px solid var(--ink);
}

.detail-pair__captions span {
  min-height: 76px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 12px 16px;
  border-right: 1px solid var(--line);
  color: #5c716d;
  font-size: 11px;
}

.detail-pair__captions span:last-child {
  border-right: 0;
}

.detail-pair__captions b {
  color: var(--ink);
  font-size: 9px;
}

.care-tide {
  padding-top: 98px;
  padding-bottom: 112px;
}

.care-tide__rows {
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.care-tide details {
  border-bottom: 1px solid var(--line);
}

.care-tide details:last-child {
  border-bottom: 0;
}

.care-tide summary {
  min-height: 68px;
  display: grid;
  grid-template-columns: 45px 1fr;
  align-items: center;
  cursor: pointer;
  font-family: "Boska", "Batang", serif;
  font-size: 20px;
}

.care-tide summary span {
  color: var(--coral);
  font-family: "Switzer", sans-serif;
  font-size: 9px;
}

.care-tide details p {
  max-width: 720px;
  margin: 0;
  padding: 0 0 22px 45px;
  color: #5c716d;
}

.next-knit {
  position: relative;
  min-height: 650px;
  color: var(--salt);
  background: var(--kelp);
}

.next-knit > img {
  width: 70%;
  min-height: 650px;
  object-fit: cover;
}

.next-knit__copy {
  position: absolute;
  inset: 0 0 0 auto;
  width: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5%;
  border-left: 1px solid #718983;
  background: var(--kelp);
}

.next-knit__copy > p {
  color: var(--sea);
}

.next-knit__copy h2 {
  margin: 20px 0;
  font-size: 48px;
  line-height: 0.94;
}

.next-knit__copy > span {
  color: #cad7d4;
}

@media (max-width: 1120px) {
  :root {
    --page-x: 32px;
  }

  .hero-wordmark {
    font-size: 122px;
  }

  .tidal-intro h2,
  .section-title h2,
  .knits-route h2 {
    font-size: 40px;
  }

  .tide-instrument {
    grid-template-columns: 6fr 5fr;
  }

  .tide-readout strong {
    font-size: 32px;
  }

  .current-ledger {
    grid-template-columns: 1fr;
  }

  .material-band__copy h2 {
    font-size: 36px;
  }

  .knit-record__copy h2 {
    font-size: 35px;
  }

  .product-opening h1 {
    font-size: 56px;
  }

  .product-opening__info {
    padding-inline: 8%;
  }
}

@media (max-width: 840px) {
  :root {
    --page-x: 24px;
    --header-h: 62px;
  }

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

  .desktop-nav {
    display: none;
  }

  .menu-command {
    display: grid;
  }

  .home-hero {
    height: auto;
    overflow: visible;
    color: var(--ink);
  }

  .home-hero picture {
    display: block;
    height: 500px;
  }

  .home-hero picture img {
    height: 100%;
  }

  .home-hero__note {
    position: static;
    width: 100%;
    min-height: 205px;
    padding: 24px var(--page-x) 26px;
    border-top: 1px solid var(--ink);
    background: var(--salt);
  }

  .home-hero__note h1 {
    margin: 10px 0;
    font-size: 38px;
  }

  .home-hero__note > a {
    min-height: 40px;
    margin-top: 14px;
    color: var(--salt);
    background: var(--kelp);
  }

  .hero-wordmark {
    position: absolute;
    left: var(--page-x);
    bottom: 204px;
    color: var(--salt-bright);
    font-size: 82px;
  }

  .tide-ribbon {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(145px, 1fr));
  }

  .tide-ribbon span:last-child {
    justify-content: flex-start;
  }

  .tidal-intro {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-bottom: 38px;
  }

  .tidal-intro h2,
  .section-title h2,
  .knits-route h2,
  .worn-movement__copy h2 {
    font-size: 34px;
  }

  .tide-section {
    padding-top: 82px;
    padding-bottom: 90px;
  }

  .tide-instrument {
    grid-template-columns: 1fr;
  }

  .tide-instrument__controls {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .tide-readout {
    min-height: 240px;
  }

  .tide-stations {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(150px, 1fr));
  }

  .tide-track__line {
    display: none;
  }

  .tide-stations button.is-active {
    color: var(--salt);
    background: var(--coral);
  }

  .tide-stations button.is-active em {
    color: #f6d9d4;
  }

  .tide-instrument__visual img {
    min-height: 0;
  }

  .shore-diptych {
    grid-template-columns: 1fr;
  }

  .shore-diptych__portrait {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .shore-diptych figcaption {
    padding-inline: var(--page-x);
  }

  .current-ledger {
    padding-top: 82px;
    padding-bottom: 90px;
  }

  .current-ledger > div > *,
  .current-ledger > div > span {
    grid-template-columns: 80px 1fr auto;
  }

  .current-ledger > div > a {
    grid-template-columns: 80px 1fr auto 20px;
  }

  .making-rhythm {
    padding-top: 82px;
    padding-bottom: 90px;
  }

  .making-rhythm__grid {
    grid-template-columns: 1fr;
  }

  .making-rhythm figure {
    border-right: 0;
    border-bottom: 1px solid #6f8882;
  }

  .dry-note {
    min-height: 250px;
  }

  .material-band {
    grid-template-columns: 1fr;
  }

  .material-band__image {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .material-band__image img {
    min-height: 0;
  }

  .material-band__copy {
    min-height: 440px;
  }

  .lineup {
    padding-top: 82px;
    padding-bottom: 90px;
  }

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

  .lineup__names > *:nth-child(2) {
    border-right: 0;
  }

  .lineup__names > *:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

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

  .newsletter {
    grid-column: 1 / -1;
  }

  .knits-hero {
    height: 540px;
  }

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

  .knits-hero__title {
    left: 34%;
    top: 54px;
    width: 250px;
  }

  .knits-hero__title h1 {
    font-size: 58px;
  }

  .gauge-rail {
    overflow-x: auto;
  }

  .gauge-rail > em {
    min-width: 170px;
  }

  .knit-record,
  .knit-record--rising,
  .knit-record--high,
  .knit-record--ebb {
    grid-template-columns: 1fr;
  }

  .knit-record--rising > img,
  .knit-record--ebb > img,
  .knit-record--high > img {
    border: 0;
    border-bottom: 1px solid var(--ink);
  }

  .knit-record--rising .knit-record__copy,
  .knit-record--ebb .knit-record__copy {
    order: 2;
  }

  .knit-record > img {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .knit-record__copy {
    min-height: 380px;
  }

  .stitch-atlas {
    grid-template-columns: 1fr;
  }

  .stitch-atlas__image {
    border-right: 0;
    border-bottom: 1px solid #69817b;
  }

  .stitch-atlas__copy {
    min-height: 370px;
  }

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

  .product-opening__image {
    order: 1;
    min-height: 690px;
    border-bottom: 1px solid var(--ink);
  }

  .product-opening__image > img {
    max-height: 600px;
  }

  .product-opening__info {
    order: 2;
    padding: 54px var(--page-x) 68px;
    border-right: 0;
  }

  .weight-section {
    padding-top: 82px;
    padding-bottom: 90px;
  }

  .weight-tool {
    grid-template-columns: 1fr;
  }

  .weight-states {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .weight-states button {
    grid-template-columns: 42px 1fr;
    border-right: 1px solid var(--line);
  }

  .weight-states button:nth-child(even) {
    border-right: 0;
  }

  .weight-states button:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .weight-states em {
    grid-column: 2;
  }

  .weight-readout {
    min-height: 420px;
  }

  .worn-movement {
    grid-template-columns: 1fr;
  }

  .worn-movement__image {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #718983;
  }

  .worn-movement__image img {
    height: auto;
  }

  .worn-movement__copy {
    min-height: 520px;
  }

  .detail-pair {
    padding-top: 82px;
    padding-bottom: 90px;
  }

  .next-knit {
    min-height: 0;
  }

  .next-knit > img {
    width: 100%;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .next-knit__copy {
    position: static;
    width: 100%;
    min-height: 400px;
    border-left: 0;
    border-top: 1px solid #718983;
    padding: 9%;
  }
}

@media (max-width: 520px) {
  :root {
    --page-x: 18px;
  }

  body {
    font-size: 15px;
  }

  .site-header {
    padding-inline: var(--page-x);
  }

  .wordmark {
    font-size: 23px;
  }

  .header-actions {
    gap: 8px;
  }

  .bag-command {
    font-size: 9px;
  }

  .home-hero picture {
    height: 500px;
    background: #c6d4d7;
  }

  .home-hero picture img {
    object-fit: contain;
  }

  .home-hero__note {
    min-height: 210px;
    padding-top: 20px;
  }

  .home-hero__note h1 {
    font-size: 33px;
  }

  .hero-wordmark {
    bottom: 210px;
    font-size: 62px;
  }

  .tidal-intro h2,
  .section-title h2,
  .knits-route h2,
  .worn-movement__copy h2 {
    font-size: 29px;
  }

  .tide-readout strong {
    font-size: 28px;
  }

  .tide-spec {
    grid-template-columns: 1fr;
  }

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

  .tide-spec div:last-child {
    border-bottom: 0;
  }

  .shore-diptych img {
    aspect-ratio: 4 / 5;
  }

  .shore-diptych__macro img {
    aspect-ratio: 3 / 2;
  }

  .shore-diptych figcaption {
    display: grid;
  }

  .current-ledger > div > *,
  .current-ledger > div > span,
  .current-ledger > div > a {
    min-height: 94px;
    grid-template-columns: 62px 1fr 18px;
    gap: 10px;
  }

  .current-ledger > div > span {
    grid-template-columns: 62px 1fr;
  }

  .current-ledger em {
    grid-column: 2;
  }

  .current-ledger strong {
    font-size: 20px;
  }

  .material-band__copy h2 {
    font-size: 31px;
  }

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

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

  .lineup__names > *:last-child {
    border-bottom: 0;
  }

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

  .newsletter {
    grid-column: auto;
  }

  .footer-wordmark {
    font-size: 48px;
  }

  .footer-base {
    display: grid;
    gap: 7px;
  }

  .knits-hero {
    height: 520px;
  }

  .knits-hero > img {
    object-position: 53% center;
  }

  .knits-hero__title {
    top: 24px;
    left: var(--page-x);
    width: 190px;
    text-align: left;
  }

  .knits-hero__title h1 {
    font-size: 48px;
  }

  .knits-hero__low {
    left: var(--page-x);
  }

  .knit-records {
    padding-top: 70px;
    padding-bottom: 78px;
  }

  .knit-record > img {
    aspect-ratio: 4 / 5;
    object-position: center;
  }

  .knit-record__copy {
    min-height: 340px;
    padding: 32px 18px;
  }

  .knit-record__copy h2 {
    font-size: 30px;
  }

  .stitch-atlas__copy h2 {
    font-size: 29px;
  }

  .product-opening__image {
    min-height: 500px;
    padding: 24px;
  }

  .product-opening__image > img {
    max-height: 450px;
  }

  .product-opening h1 {
    font-size: 46px;
  }

  .weight-states {
    grid-template-columns: 1fr;
  }

  .weight-states button,
  .weight-states button:nth-child(even),
  .weight-states button:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .weight-states button:last-child {
    border-bottom: 0;
  }

  .weight-readout dl {
    grid-template-columns: 1fr;
  }

  .weight-readout dl div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .weight-readout dl div:last-child {
    border-bottom: 0;
  }

  .worn-movement__copy {
    min-height: 470px;
    padding: 54px 18px;
  }

  .detail-pair__captions {
    grid-template-columns: 1fr;
  }

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

  .detail-pair__captions span:last-child {
    border-bottom: 0;
  }

  .care-tide {
    padding-top: 76px;
    padding-bottom: 84px;
  }

  .next-knit > img {
    aspect-ratio: 4 / 3;
    object-position: 76% center;
  }

  .next-knit__copy h2 {
    font-size: 40px;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Brand differentiation tune: carry a quiet tide line through the interface. */
.tide-ribbon span:first-child {
  box-shadow: inset 5px 0 0 var(--coral);
}

.tide-instrument {
  box-shadow:
    inset 0 4px 0 var(--sea),
    inset 0 -4px 0 var(--sea);
}

@media (max-width: 767px) {
  .tide-ribbon span:first-child {
    box-shadow: inset 3px 0 0 var(--coral);
  }

  .tide-instrument {
    box-shadow:
      inset 0 3px 0 var(--sea),
      inset 0 -3px 0 var(--sea);
  }
}
