:root {
  --ink: #171614;
  --warm-white: #faf8f4;
  --bone: #f1ece4;
  --sand: #d6cabd;
  --stone: #6f6962;
  --cocoa: #6b4a3a;
  --white: #fffefb;
  --selected-color: #171614;
  --page: min(100% - 40px, 1440px);
  --display: "Syne", sans-serif;
  --body: "Manrope", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
}

button,
a,
input {
  font: inherit;
}

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

a {
  color: inherit;
}

button {
  color: inherit;
}

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

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

h1,
h2,
h3 {
  font-family: var(--display);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 32px;
  font-size: clamp(3rem, 6.2vw, 7.6rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(2.4rem, 4.4vw, 5.6rem);
  font-weight: 500;
}

h3 {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

:focus-visible {
  outline: 3px solid var(--cocoa);
  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: 12px;
  left: 12px;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-180%);
}

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

.announcement {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  padding: 6px max(20px, calc((100vw - 1440px) / 2));
  background: var(--ink);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.announcement p {
  margin: 0;
}

.announcement a {
  text-underline-offset: 3px;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  width: var(--page);
  min-height: 86px;
  margin: 0 auto;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
}

.wordmark {
  width: fit-content;
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 32px;
}

.desktop-nav a {
  position: relative;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
}

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

.desktop-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions,
.page-bag {
  justify-self: end;
}

.text-button,
.menu-button,
.underlined-link {
  border: 0;
  background: none;
  cursor: pointer;
}

.text-button {
  padding: 10px 0;
  font-weight: 600;
  text-decoration: none;
}

.shopify-arrow {
  margin-left: 5px;
  font-size: 0.9em;
}

.menu-button {
  display: none;
  width: 36px;
  padding: 8px 3px;
}

.menu-button span:not(.sr-only) {
  display: block;
  height: 1px;
  margin: 7px 0;
  background: var(--ink);
}

.mobile-nav {
  position: absolute;
  top: 86px;
  right: -20px;
  left: -20px;
  padding: 36px 20px 42px;
  background: var(--warm-white);
  border-bottom: 1px solid var(--sand);
  box-shadow: 0 20px 30px rgb(23 22 20 / 8%);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-family: var(--display);
  font-size: 2rem;
  text-decoration: none;
}

.mobile-nav p {
  max-width: 34ch;
  margin: 28px 0 0;
  color: var(--stone);
}

.hero {
  position: relative;
  display: grid;
  width: var(--page);
  min-height: calc(100vh - 120px);
  margin: 0 auto;
  padding: clamp(60px, 9vw, 132px) 0 100px;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: reveal-up 800ms 100ms both var(--ease);
}

.eyebrow {
  margin-bottom: 20px;
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 47ch;
  margin-bottom: 38px;
  color: var(--stone);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    transform 220ms var(--ease),
    background 220ms ease,
    color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--white);
}

.button-dark:hover {
  background: var(--cocoa);
}

.underlined-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.underlined-link::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
}

.hero-note {
  display: flex;
  max-width: 310px;
  align-items: flex-start;
  gap: 16px;
  margin-top: clamp(55px, 9vw, 120px);
  padding-top: 18px;
  border-top: 1px solid var(--sand);
  color: var(--stone);
  font-size: 0.78rem;
}

.hero-note span {
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
}

.hero-note p {
  margin: 0;
}

.hero-visual {
  position: relative;
  margin: 0;
  animation: reveal-up 900ms 220ms both var(--ease);
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  top: -24px;
  right: -24px;
  width: 55%;
  height: 42%;
  background: var(--bone);
  content: "";
}

.hero-visual img {
  width: 100%;
  height: min(68vh, 760px);
  object-fit: cover;
}

.hero-visual figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  color: var(--stone);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.spectrum {
  position: absolute;
  right: 0;
  bottom: 34px;
  left: 0;
  display: grid;
  height: 5px;
  grid-template-columns: repeat(8, 1fr);
  animation: reveal-width 1000ms 380ms both var(--ease);
}

.spectrum span {
  background: var(--spectrum);
}

.product-section {
  padding: clamp(84px, 11vw, 160px) max(20px, calc((100vw - 1440px) / 2));
  background: var(--ink);
  color: var(--white);
}

.section-heading {
  display: grid;
  margin-bottom: 68px;
  grid-template-columns: 1fr auto;
  align-items: end;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
}

.section-heading h2 {
  margin: 0;
}

.price {
  margin: 0 0 8px;
  font-family: var(--display);
  font-size: 1.2rem;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  gap: clamp(50px, 9vw, 140px);
}

.product-stage {
  align-self: start;
}

.fabric-frame {
  position: relative;
  aspect-ratio: 1 / 1.03;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 4%), transparent 48%),
    #242321;
}

.fabric {
  position: absolute;
  top: 10%;
  right: 14%;
  bottom: 0;
  left: 14%;
  overflow: hidden;
  border-radius: 48% 48% 8% 8% / 18% 18% 4% 4%;
  background:
    linear-gradient(92deg, rgb(255 255 255 / 12%), transparent 14% 82%, rgb(0 0 0 / 17%)),
    var(--selected-color);
  box-shadow: 0 30px 80px rgb(0 0 0 / 22%);
  transition: background-color 500ms var(--ease);
}

.fabric::before,
.fabric::after {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 30%;
  border-radius: 50%;
  content: "";
  filter: blur(12px);
}

.fabric::before {
  left: 16%;
  background: linear-gradient(90deg, transparent, rgb(255 255 255 / 10%), transparent);
}

.fabric::after {
  right: 12%;
  background: linear-gradient(90deg, transparent, rgb(0 0 0 / 13%), transparent);
}

.fabric-fold {
  position: absolute;
  top: 4%;
  bottom: -2%;
  width: 22%;
  border-left: 1px solid rgb(255 255 255 / 8%);
  border-radius: 50%;
}

.fold-one {
  left: 35%;
  transform: rotate(2deg);
}

.fold-two {
  right: 18%;
  transform: rotate(-3deg);
}

.fabric-label {
  position: absolute;
  right: 24px;
  bottom: 22px;
  font-family: var(--display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  mix-blend-mode: difference;
}

.stage-meta {
  display: flex;
  justify-content: space-between;
  padding-top: 14px;
  color: rgb(255 255 255 / 55%);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.stage-meta strong {
  color: var(--white);
}

.product-panel {
  align-self: center;
}

.product-intro {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.product-intro > p {
  max-width: 39ch;
  margin: 0;
  color: rgb(255 255 255 / 68%);
}

.availability {
  display: flex;
  flex: none;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
}

.availability i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9bc89d;
}

.swatches {
  margin: 30px 0;
  padding: 0;
  border: 0;
}

.swatches legend {
  width: 100%;
  margin-bottom: 16px;
  color: rgb(255 255 255 / 60%);
  font-size: 0.76rem;
}

.swatches legend strong {
  color: var(--white);
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(28px, 1fr));
  gap: 8px;
}

.swatch {
  position: relative;
  aspect-ratio: 1;
}

.swatch input {
  position: absolute;
  opacity: 0;
}

.swatch label {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(255 255 255 / 22%);
  background: var(--swatch);
  cursor: pointer;
}

.swatch input:checked + label::after {
  position: absolute;
  inset: -5px;
  border: 1px solid var(--white);
  content: "";
}

.swatch input:focus-visible + label {
  outline: 3px solid var(--white);
  outline-offset: 4px;
}

.shopify-handoff {
  display: grid;
  margin: 30px 0;
  padding: clamp(22px, 3vw, 32px);
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 28px;
  border: 1px solid rgb(255 255 255 / 24%);
  background:
    linear-gradient(135deg, rgb(255 255 255 / 6%), transparent 55%),
    var(--cocoa);
}

.shopify-handoff .eyebrow {
  margin-bottom: 12px;
  color: rgb(255 255 255 / 68%);
}

.shopify-handoff h3 {
  max-width: 14ch;
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.shopify-handoff p:last-child {
  max-width: 48ch;
  margin: 0;
  color: rgb(255 255 255 / 72%);
  font-size: 0.76rem;
}

.button-light {
  background: var(--white);
  color: var(--ink);
}

.button-light:hover {
  background: var(--bone);
}

.shopify-handoff__button {
  min-width: 188px;
  justify-content: space-between;
  gap: 28px;
}

details {
  border-top: 1px solid rgb(255 255 255 / 18%);
}

details:last-child {
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

summary {
  padding: 18px 0;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  list-style-position: outside;
}

details p {
  margin: -4px 0 20px;
  color: rgb(255 255 255 / 58%);
  font-size: 0.78rem;
}

.colour-manifesto {
  display: grid;
  width: var(--page);
  margin: 0 auto;
  padding: clamp(90px, 14vw, 200px) 0;
  grid-template-columns: 70px 1.2fr 0.8fr;
  gap: clamp(30px, 7vw, 110px);
  align-items: end;
}

.colour-manifesto h2 {
  margin-bottom: 0;
}

.vertical-label {
  margin: 0;
  color: var(--stone);
  font-size: 0.65rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.colour-manifesto > p:last-child {
  max-width: 37ch;
  margin-bottom: 8px;
  color: var(--stone);
  font-size: 1rem;
}

.story {
  display: grid;
  background: var(--bone);
  grid-template-columns: 1.15fr 0.85fr;
}

.story-image {
  position: relative;
  min-height: 680px;
}

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

.story-image p {
  position: absolute;
  right: 22px;
  bottom: 18px;
  margin: 0;
  padding: 8px 12px;
  background: var(--warm-white);
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-copy {
  display: flex;
  padding: clamp(60px, 9vw, 140px);
  flex-direction: column;
  justify-content: center;
}

.story-copy h2 {
  max-width: 9ch;
  margin-bottom: 34px;
}

.story-copy > p:not(.eyebrow) {
  max-width: 47ch;
  color: var(--stone);
}

blockquote {
  margin: 52px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--sand);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.3;
  letter-spacing: -0.025em;
}

blockquote cite {
  display: block;
  margin-top: 18px;
  color: var(--stone);
  font-family: var(--body);
  font-size: 0.67rem;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service {
  width: var(--page);
  margin: 0 auto;
  padding: clamp(90px, 12vw, 170px) 0;
}

.service > h2 {
  max-width: 7ch;
  margin-bottom: 75px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--sand);
}

.service-grid article {
  min-height: 240px;
  padding: 22px 40px 20px 0;
  border-right: 1px solid var(--sand);
}

.service-grid article + article {
  padding-left: 40px;
}

.service-grid article:last-child {
  border-right: 0;
}

.service-grid span {
  display: block;
  margin-bottom: 80px;
  color: var(--stone);
  font-family: var(--display);
  font-size: 0.72rem;
}

.service-grid h3 {
  margin-bottom: 12px;
}

.service-grid p {
  max-width: 30ch;
  color: var(--stone);
}

.site-footer {
  display: grid;
  padding: 70px max(20px, calc((100vw - 1440px) / 2)) 28px;
  background: var(--ink);
  color: var(--white);
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 90px);
}

.footer-mark {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 2rem;
}

.site-footer p,
.site-footer a {
  color: rgb(255 255 255 / 63%);
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.site-footer nav a {
  font-size: 0.78rem;
  text-decoration: none;
}

.footer-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
}

.footer-phone {
  display: inline-block;
  margin-top: 18px;
  text-decoration: none;
}

.footer-social-icons {
  display: flex;
  margin-top: 12px;
  gap: 10px;
}

.footer-social-icon {
  display: grid;
  width: 40px;
  height: 40px;
  border: 1px solid rgb(255 255 255 / 30%);
  place-items: center;
  transition:
    border-color 160ms ease,
    color 160ms ease;
}

.footer-social-icon:hover,
.footer-social-icon:focus-visible {
  border-color: currentcolor;
  color: var(--white);
}

.footer-social-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.footer-social-icon .footer-social-icon__dot {
  fill: currentcolor;
  stroke: none;
}

.footer-fine {
  margin: 70px 0 0;
  grid-column: 1 / -1;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}

@keyframes reveal-width {
  from {
    opacity: 0;
    transform: scaleX(0);
    transform-origin: left;
  }
}

@media (max-width: 980px) {
  :root {
    --page: min(100% - 32px, 920px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr 0.75fr;
  }

  .hero-visual img {
    height: 58vh;
  }

  .product-layout {
    gap: 50px;
  }

  .story-copy {
    padding: 64px 42px;
  }
}

@media (max-width: 760px) {
  .announcement {
    justify-content: center;
  }

  .announcement p span,
  .announcement a {
    display: none;
  }

  .site-header {
    min-height: 72px;
    grid-template-columns: 1fr auto;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .mobile-nav {
    top: 72px;
  }

  .hero {
    display: flex;
    padding-top: 62px;
    padding-bottom: 88px;
    flex-direction: column;
    gap: 58px;
  }

  .hero-copy,
  .hero-visual {
    width: 100%;
  }

  .hero-visual img {
    height: 64vh;
    min-height: 520px;
  }

  .hero-note {
    margin-top: 54px;
  }

  .spectrum {
    bottom: 26px;
  }

  .section-heading {
    display: block;
  }

  .section-heading h2 {
    margin-bottom: 20px;
  }

  .product-layout,
  .story,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .product-stage {
    order: 1;
  }

  .product-panel {
    order: 2;
  }

  .colour-manifesto {
    grid-template-columns: 30px 1fr;
  }

  .colour-manifesto > p:last-child {
    grid-column: 2;
  }

  .story-image {
    min-height: 450px;
  }

  .service-grid article,
  .service-grid article + article {
    min-height: 0;
    padding: 25px 0 35px;
    border-right: 0;
    border-bottom: 1px solid var(--sand);
  }

  .service-grid span {
    margin-bottom: 40px;
  }

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

@media (max-width: 480px) {
  :root {
    --page: calc(100% - 28px);
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.2rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-visual img {
    height: 58vh;
    min-height: 440px;
  }

  .product-section {
    padding-right: 14px;
    padding-left: 14px;
  }

  .shopify-handoff {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .shopify-handoff__button {
    width: 100%;
  }

  .swatch-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  .swatch {
    aspect-ratio: 1.35;
  }

  .colour-manifesto {
    padding-top: 100px;
    padding-bottom: 100px;
    gap: 20px;
  }

  .story-copy {
    padding: 58px 20px;
  }

  .site-footer {
    padding-top: 56px;
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-fine {
    margin-top: 20px;
  }

}

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