:root {
  color-scheme: light;
  --announcement-height: 30px;
  --paper: #f3f2ef;
  --soft: #e7e5e1;
  --mist: #d8d8d4;
  --ink: #171716;
  --charcoal: #2e2e2b;
  --muted: #767570;
  --line: #c8c5bf;
  --white: #fbfbfa;
  --shadow: 0 24px 80px rgba(16, 16, 14, 0.12);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
}

body.drawer-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.announcement {
  min-height: 30px;
  display: grid;
  place-items: center;
  background: #2f3029;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 18px;
}

.site-header {
  position: fixed;
  top: var(--announcement-height);
  left: 0;
  right: 0;
  z-index: 30;
  min-height: 64px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 0 44px;
  background: rgba(243, 242, 239, 0.88);
  border-bottom: 1px solid rgba(23, 23, 22, 0.08);
  backdrop-filter: blur(18px);
  transition: top 220ms ease, background 180ms ease, box-shadow 180ms ease;
}

body.header-docked .site-header {
  top: 0;
  box-shadow: 0 10px 36px rgba(16, 16, 14, 0.08);
}

.brand {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
}

.nav-links a,
.site-footer a,
.text-link,
.product-button,
.button,
.bag-button,
.drawer-close {
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.nav-links a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--charcoal);
}

.nav-links a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--muted);
}

.bag-button {
  justify-self: end;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  position: relative;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.bag-button svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bag-button span {
  position: absolute;
  right: 4px;
  bottom: 5px;
  min-width: 17px;
  height: 17px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
}

.hero {
  height: clamp(620px, 90vh, 860px);
  position: relative;
  display: grid;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  filter: saturate(0.92) contrast(1.04);
  transform: scale(1.01);
  animation: settleImage 1400ms ease forwards;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.16) 52%, rgba(0, 0, 0, 0.28)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.06) 58%, rgba(0, 0, 0, 0.08));
  z-index: 1;
}

.hero-copy {
  position: absolute;
  z-index: 3;
  inset: auto auto 9vh clamp(22px, 7vw, 118px);
  color: var(--white);
  max-width: min(980px, calc(100vw - 44px));
  text-shadow: 0 12px 38px rgba(0, 0, 0, 0.36);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: currentColor;
}

.hero h1,
.intro h2,
.feature-copy h2,
.collection-copy h2,
.process-copy h2,
.drawer-panel h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(48px, 6.8vw, 98px);
  line-height: 0.95;
}

.hero h1 span {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn 900ms ease forwards;
}

.hero h1 span:nth-child(2) {
  animation-delay: 160ms;
}

.hero h1 span:nth-child(3) {
  animation-delay: 320ms;
}

.hero .eyebrow {
  opacity: 0;
  transform: translateY(16px);
  animation: riseIn 700ms ease 120ms forwards;
}

.hero-aside {
  position: absolute;
  z-index: 3;
  right: 24px;
  top: 128px;
  bottom: 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.intro,
.product-feature,
.collection,
.process {
  width: min(1440px, calc(100% - 56px));
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: 12vh 0 10vh;
}

.intro-copy {
  align-self: center;
}

.intro h2 {
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.03;
}

.intro-photo img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: cover;
  object-position: center 36%;
  border: 1px solid rgba(23, 23, 22, 0.08);
  background: var(--soft);
}

.intro-body {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.intro-body p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
}

.feature-copy p,
.process-list p {
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
}

.intro .section-kicker,
.feature-copy .section-kicker,
.collection-copy .section-kicker,
.process-copy .section-kicker,
.drawer-panel .section-kicker {
  color: var(--muted);
}

.product-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(420px, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: stretch;
  padding: 10vh 0;
}

.feature-copy {
  align-self: center;
  max-width: 430px;
}

.feature-copy h2,
.collection-copy h2,
.process-copy h2,
.drawer-panel h2 {
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: 1.03;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.feature-grid img {
  width: 100%;
  height: min(72vh, 760px);
  object-fit: cover;
  background: var(--soft);
}

.button-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
}

.button,
.product-button {
  min-height: 48px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.button {
  padding: 0 24px;
}

.button.ghost {
  background: transparent;
  color: var(--ink);
}

.button:hover,
.product-button:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  transform: translateY(-1px);
}

.button:disabled,
.product-button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

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

.collection {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(260px, 0.42fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: 10vh 0;
}

.collection-copy {
  align-self: center;
  max-width: 430px;
}

.collection-body {
  margin-top: 28px;
}

.collection-body p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.75;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  background: var(--soft);
  border: 1px solid rgba(23, 23, 22, 0.08);
}

.product-media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #222;
}

.product-media.light {
  background: var(--mist);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease, filter 700ms ease;
}

.product-card:hover .product-media img {
  transform: scale(1.035);
  filter: contrast(1.05);
}

.product-meta {
  min-height: 122px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
  border-top: 1px solid rgba(23, 23, 22, 0.08);
}

.product-meta h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-meta p,
.product-meta span {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.product-meta span {
  white-space: nowrap;
}

.product-button {
  width: calc(100% - 44px);
  margin: 0 22px 22px;
}

.drawing-panel {
  aspect-ratio: 4 / 5;
  min-height: 520px;
  display: grid;
  place-items: center;
  background: var(--soft);
  border: 1px solid rgba(23, 23, 22, 0.08);
  overflow: hidden;
}

.drawing-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
  filter: grayscale(1) contrast(1.08) brightness(1.03);
}

.process {
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(320px, 1fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: center;
  padding: 10vh 0;
}

.process-media {
  background: var(--soft);
  overflow: hidden;
}

.process-media img {
  width: 100%;
  height: min(78vh, 760px);
  object-fit: cover;
}

.process-media.drawing-panel img {
  height: 100%;
}

.process-list {
  display: grid;
  gap: 24px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}

.process-list p {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid rgba(23, 23, 22, 0.08);
}

.process-list p:first-child {
  border-top: 0;
}

.process-list span {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.cart-drawer.open {
  pointer-events: auto;
  opacity: 1;
}

.drawer-scrim {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(520px, 100%);
  height: 100%;
  padding: 36px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 260ms ease;
  overflow-y: auto;
}

.drawer-panel h2 {
  max-width: 360px;
  font-size: clamp(40px, 4.8vw, 64px);
}

.cart-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.drawer-items {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}

.drawer-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  color: var(--charcoal);
  font-size: 14px;
}

.drawer-item-main {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.drawer-item-main span {
  font-size: 15px;
  line-height: 1.35;
}

.drawer-item-main small {
  color: var(--muted);
  font-size: 12px;
}

.drawer-item-actions {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.quantity-control {
  display: grid;
  grid-template-columns: 32px 34px 32px;
  align-items: center;
  min-height: 34px;
  border: 1px solid var(--line);
  background: var(--white);
}

.quantity-control button,
.drawer-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.quantity-control button {
  width: 32px;
  height: 32px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
}

.quantity-control span {
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
}

.drawer-remove {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.empty-cart {
  padding: 20px 0;
  color: var(--muted);
  line-height: 1.6;
}

.checkout-button {
  width: 100%;
}

.cart-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 44px;
  background: var(--ink);
  color: var(--white);
}

.site-footer p {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.site-footer div {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer a:not(.brand) {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 900ms ease, transform 900ms ease;
}

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

@keyframes riseIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes settleImage {
  to {
    transform: scale(1);
  }
}

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    padding: 0 24px;
  }

  .nav-links {
    justify-content: center;
    gap: 18px;
  }

  .intro,
  .product-feature,
  .collection,
  .process {
    grid-template-columns: 1fr;
  }

  .feature-copy,
  .intro-copy {
    max-width: 760px;
  }

  .intro-photo img {
    max-width: 460px;
  }

  .collection-copy {
    order: -1;
    max-width: none;
    margin-bottom: 8px;
  }

}

@media (max-width: 780px) {
  :root {
    --announcement-height: 38px;
  }

  .announcement {
    min-height: 38px;
    font-size: 10px;
  }

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

  .brand {
    font-size: 25px;
  }

  .nav-links {
    display: none;
  }

  .hero,
  .hero-image {
    height: 82vh;
    min-height: 560px;
  }

  .hero-image {
    left: 0;
    right: 0;
    width: 100%;
    object-fit: cover;
    object-position: center 54%;
  }

  .hero-copy {
    left: 22px;
    right: 22px;
    bottom: 11vh;
  }

  .hero h1 {
    font-size: clamp(48px, 16vw, 82px);
  }

  .hero-aside {
    display: none;
  }

  .intro,
  .product-feature,
  .collection,
  .process {
    width: min(100% - 32px, 680px);
  }

  .intro {
    padding-top: 8vh;
  }

  .intro-photo img {
    max-width: 100%;
    height: min(56vh, 460px);
  }

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

  .feature-grid img,
  .process-media img {
    height: auto;
    max-height: none;
    aspect-ratio: 4 / 5;
  }

  .product-meta {
    min-height: auto;
  }

  .drawing-panel {
    min-height: 420px;
  }

  .process-list p {
    grid-template-columns: 42px 1fr;
  }

  .drawer-item {
    grid-template-columns: 1fr;
  }

  .drawer-item-actions {
    justify-items: start;
  }

  .drawer-panel {
    padding: 30px 20px;
  }

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

  .site-footer div {
    justify-content: flex-start;
  }
}

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

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