:root {
  --ink: #171717;
  --paper: #f3ede7;
  --paper-light: #fbf8f4;
  --pink: #edb8c7;
  --pink-dark: #db8da5;
  --olive: #9e9b86;
  --line: rgba(23, 23, 23, 0.22);
  --serif: "Italiana", "Times New Roman", serif;
  --sans: "DM Sans", Arial, sans-serif;
  --display: "Nothing You Could Do", cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.025;
  pointer-events: none;
}

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

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

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

button {
  color: inherit;
  font: inherit;
}

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

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

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

.announcement {
  position: relative;
  z-index: 31;
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: white;
  font-size: 0.69rem;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.announcement a {
  padding: 8px 20px;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: grid;
  height: 84px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(22px, 4vw, 64px);
  border-bottom: 1px solid var(--line);
  background: rgba(243, 237, 231, 0.92);
  backdrop-filter: blur(14px);
}

.logo {
  display: flex;
  width: max-content;
  flex-direction: column;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  line-height: 1.1;
}

.logo span:last-child {
  padding-left: 19px;
}

.site-nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 46px);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  position: relative;
}

.site-nav a:not(.nav-channel)::after {
  position: absolute;
  right: 0;
  bottom: -6px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-channel {
  padding: 11px 17px;
  border: 1px solid var(--ink);
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-channel:hover {
  background: var(--ink);
  color: white;
}

.menu-button {
  display: none;
}

.hero {
  display: grid;
  min-height: calc(100svh - 118px);
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(64px, 8vw, 128px) clamp(28px, 7vw, 112px);
}

.eyebrow,
.product-kicker {
  margin: 0;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 680px;
  margin: clamp(28px, 4vw, 58px) 0 30px;
  font-family: var(--display);
  font-size: clamp(4rem, 7vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
}

h1 em,
h2 em {
  color: var(--pink-dark);
  font-family: inherit;
  font-size: 1em;
  font-style: normal;
}

.hero-intro {
  max-width: 440px;
  margin: 0;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 46px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

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

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

.button-dark:hover {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
}

.text-link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--ink);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  margin: 0;
  overflow: hidden;
  background: #776d62;
}

.hero-visual > img {
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual:hover > img {
  transform: scale(1.025);
}

.hero-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0, 0, 0, 0.28));
  content: "";
  pointer-events: none;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 22px;
  left: 28px;
  display: flex;
  justify-content: space-between;
  color: white;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
}

.hero-sticker {
  position: absolute;
  z-index: 3;
  top: 35px;
  right: 35px;
  display: grid;
  width: 104px;
  height: 104px;
  place-content: center;
  border-radius: 50%;
  background: var(--pink);
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 0.86;
  text-align: center;
  transform: rotate(8deg);
}

.ticker {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--pink);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 34px;
  padding: 15px 0;
  animation: ticker 26s linear infinite;
  font-family: var(--display);
  font-size: clamp(1.15rem, 1.7vw, 1.55rem);
  white-space: nowrap;
}

.ticker-track span::after {
  margin-left: 34px;
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  vertical-align: middle;
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

.section {
  padding: clamp(78px, 10vw, 150px) clamp(22px, 5vw, 80px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 360px);
  align-items: end;
  gap: 50px;
  margin-bottom: clamp(55px, 7vw, 96px);
}

.section-heading h2,
.editorial-copy h2 {
  margin: 20px 0 0;
  font-family: var(--display);
  font-size: clamp(3.2rem, 6vw, 6.6rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.section-heading > p {
  margin: 0;
  padding-bottom: 7px;
  font-size: 0.95rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}

.product-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #ddd4cb;
}

.product-image img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.87);
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.product-image:hover img {
  filter: saturate(1);
  transform: scale(1.035);
}

.product-card-featured .product-image img {
  object-position: center;
}

.product-card:nth-child(2) .product-image img {
  object-position: 52% center;
}

.product-card:nth-child(3) .product-image img {
  object-position: 50% 42%;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 8px 11px;
  background: var(--ink);
  color: white;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.product-badge-pink {
  background: var(--pink);
  color: var(--ink);
}

.product-info {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 25px;
}

.product-info h3 {
  margin: 10px 0 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 2.15rem);
  font-weight: 400;
  line-height: 1.04;
}

.price {
  flex: 0 0 auto;
  margin: 24px 0 0;
  font-size: 0.87rem;
  font-weight: 600;
}

.price-small {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-description {
  min-height: 68px;
  margin: 20px 0 24px;
  color: #56504c;
  font-size: 0.88rem;
  line-height: 1.6;
}

.button-outline {
  width: 100%;
  background: transparent;
}

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

.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.7fr);
  align-items: center;
  gap: clamp(70px, 10vw, 170px);
  border-block: 1px solid var(--line);
  background: #d9d7ca;
}

.editorial-collage {
  position: relative;
  min-height: 760px;
}

.editorial-photo {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(23, 23, 23, 0.13);
}

.editorial-photo img {
  height: 100%;
  object-fit: cover;
}

.editorial-photo-main {
  top: 0;
  left: 0;
  width: 65%;
  height: 80%;
  transform: rotate(-2.5deg);
}

.editorial-photo-note {
  right: 0;
  bottom: 0;
  width: 55%;
  height: 44%;
  border: 12px solid var(--paper-light);
  transform: rotate(4deg);
}

.scribble {
  position: absolute;
  z-index: 3;
  right: 7%;
  top: 5%;
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 2rem);
  transform: rotate(7deg);
}

.editorial-copy > p:not(.eyebrow) {
  max-width: 500px;
  margin: 38px 0;
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.75;
}

.editorial-copy blockquote {
  max-width: 500px;
  margin: 45px 0 5px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  line-height: 1.25;
}

.editorial-copy cite {
  display: block;
  margin-bottom: 40px;
  font-size: 0.7rem;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  align-items: end;
  gap: 30px;
  padding: 80px clamp(22px, 5vw, 80px) 40px;
  background: var(--ink);
  color: white;
}

.footer-logo {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.9;
}

footer > p {
  margin: 0;
  color: #aaa;
  font-size: 0.75rem;
}

.footer-links {
  display: flex;
  gap: 22px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.copyright {
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ---------- page directory on the landing page ---------- */

.page-directory {
  background: var(--paper-light);
}

.directory-groups {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 54px);
}

.directory-group h3 {
  margin: 0 0 22px;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.directory-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.directory-group li {
  border-top: 1px solid var(--line);
}

.directory-group a {
  display: block;
  padding: 14px 0;
  font-size: 0.78rem;
  line-height: 1.55;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.directory-group a strong {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.directory-group a:hover {
  opacity: 0.6;
  transform: translateX(4px);
}

/* ---------- directory-only landing page ---------- */

.directory-page {
  min-height: 100vh;
  background: var(--paper-light);
}

.directory-page .site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1rem, 4vw, 2.4rem);
  background: rgba(251, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.directory-page .logo {
  display: inline-flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.site-nav-inline {
  display: flex;
  gap: 1.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: lowercase;
}

.directory-page .page-directory {
  padding-top: clamp(2rem, 8vh, 5rem);
  padding-bottom: clamp(3rem, 10vh, 7rem);
}

.directory-page .section-heading {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: clamp(40px, 6vh, 72px);
}

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

  .menu-button {
    z-index: 2;
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 25px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s ease, width 0.25s ease;
  }

  .menu-button span:nth-child(2) {
    width: 17px;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    width: 24px;
    transform: translateY(4px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    width: 24px;
    transform: translateY(-4px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    z-index: 1;
    top: 0;
    right: 0;
    display: flex;
    width: min(82vw, 420px);
    height: 100svh;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 90px 50px;
    background: var(--pink);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    font-family: var(--display);
    font-size: 2rem;
    letter-spacing: 0;
    transform: translateX(110%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .site-nav.is-open {
    transform: translateX(0);
  }

  .nav-channel {
    margin-top: 16px;
    font-family: var(--sans);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-align: center;
  }

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

  .hero-copy {
    min-height: 620px;
  }

  .hero-visual {
    min-height: 75svh;
  }

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

  .product-card-featured {
    grid-column: span 2;
  }

  .product-card-featured .product-image {
    aspect-ratio: 16 / 10;
  }

  .directory-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .editorial-copy {
    max-width: 620px;
  }

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

@media (max-width: 640px) {
  .announcement {
    font-size: 0.59rem;
  }

  .site-header {
    height: 68px;
  }

  .hero-copy {
    min-height: calc(78svh - 102px);
    padding-block: 66px;
  }

  .hero h1 {
    font-size: clamp(3.7rem, 18vw, 5.2rem);
  }

  .hero-intro {
    font-size: 0.95rem;
  }

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

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 68svh;
  }

  .hero-sticker {
    top: 20px;
    right: 20px;
    width: 82px;
    height: 82px;
    font-size: 0.95rem;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-heading h2,
  .editorial-copy h2 {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 66px;
  }

  .product-card-featured {
    grid-column: auto;
  }

  .product-card-featured .product-image,
  .product-image {
    aspect-ratio: 4 / 5;
  }

  .product-description {
    min-height: 0;
  }

  .editorial {
    gap: 80px;
  }

  .editorial-collage {
    min-height: 520px;
  }

  .editorial-photo-main {
    width: 75%;
  }

  .editorial-photo-note {
    width: 62%;
    height: 42%;
  }

  footer {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 28px;
  }

  .footer-logo {
    margin-bottom: 25px;
  }

  .copyright {
    margin-top: 30px;
    text-align: left;
  }

  .directory-groups {
    grid-template-columns: 1fr;
  }

  .directory-group a {
    padding: 12px 0;
  }

  .directory-page .section-heading {
    grid-template-columns: 1fr;
  }
}

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

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

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