/* KJ GLOBAL LLC — site stylesheet */
/* One file. No frameworks. Plain CSS variables + utility-free layout. */

:root {
  --ink: #0F1311;
  --ink-soft: #3A423E;
  --bone: #F6F3EC;
  --bone-2: #EDE7DC;
  --line: #DCD5C7;
  --copper: #8A4F2C;
  --sage: #2A3F37;
  --max: 1200px;
  --gutter: 24px;
  --radius: 2px;
  --shadow: none;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

@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;
  }
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.68;
  color: var(--ink);
  background: var(--bone);
}

img, picture, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  transition: color 150ms ease;
}

a:hover, a:focus-visible {
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--ink);
  color: var(--bone);
  padding: 8px 16px;
  z-index: 100;
  text-decoration: none;
  font-size: 0.875rem;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section {
  padding-block: clamp(72px, 9vw, 128px);
}

.section + .section,
.section + .band {
  border-top: 1px solid var(--line);
}

.band {
  padding-block: clamp(72px, 9vw, 128px);
}

.band--sage {
  background: var(--sage);
  color: var(--bone);
  border-top: 0;
}

.band--sage a {
  color: var(--bone);
  text-decoration: underline;
}

.band--sage a:hover,
.band--sage a:focus-visible {
  color: var(--bone-2);
}

.band--sage .eyebrow {
  color: var(--bone-2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

/* Typography */
h1, h2, h3, h4 {
  margin: 0 0 0.55em;
  font-weight: 400;
  color: var(--ink);
}

h1 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2.75rem, 5.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 3rem);
  line-height: 1.08;
}

h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
}

p {
  margin: 0 0 1.1em;
  max-width: 62ch;
}

p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--copper);
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 68ch;
}

.band--sage .lead {
  color: rgba(246, 243, 236, 0.82);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--bone);
  border-color: var(--ink);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--bone);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn--secondary:hover,
.btn--secondary:focus-visible {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--bone);
}

.band--sage .btn--secondary {
  border-color: var(--bone);
  color: var(--bone);
}

.band--sage .btn--secondary:hover,
.band--sage .btn--secondary:focus-visible {
  background: var(--copper);
  border-color: var(--copper);
  color: var(--bone);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.5rem;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease, background 200ms ease;
}

.header--scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 243, 236, 0.96);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}

.nav__cta .btn {
  padding: 12px 22px;
  font-size: 0.6875rem;
}

.wordmark {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.wordmark:hover,
.wordmark:focus-visible {
  color: var(--copper);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  padding-block: 6px;
}

.nav__link:hover,
.nav__link:focus-visible,
.nav__link[aria-current="page"] {
  color: var(--copper);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.nav__cta {
  flex-shrink: 0;
}

.nav__toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--ink);
}

.nav__toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 200ms ease, opacity 200ms ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav__toggle {
    display: block;
    z-index: 60;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bone);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 96px 32px 40px;
    /* Closed drawer is removed from layout entirely: a translated
       off-canvas panel still widens the document on mobile browsers,
       which expands the layout viewport and breaks the phone layout. */
    display: none;
  }

  .nav--open {
    display: flex;
    animation: drawer-in 300ms var(--ease);
  }

  @keyframes drawer-in {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
  }

  .nav__list {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  .nav__link {
    display: block;
    font-size: 1rem;
    padding-block: 10px;
    border-bottom: 1px solid var(--line);
  }

  .nav__cta {
    margin-top: 24px;
    width: 100%;
  }

  .nav__cta .btn {
    width: 100%;
  }
}

body.nav-open {
  overflow: hidden;
}

/* Hero */
.hero {
  padding-block: clamp(64px, 8vw, 112px) clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
  align-items: end;
}

.hero__content {
  max-width: 560px;
}

.hero__content h1 {
  margin-bottom: 0.45em;
}

.hero__content .lead {
  margin-bottom: 0.5em;
}

.hero__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 820px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    order: -1;
    margin-inline: calc(clamp(20px, 5vw, 40px) * -1);
    border-radius: 0;
  }
}

/* Proof strip */
.proof {
  border-bottom: 1px solid var(--line);
}

.proof__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof__item {
  padding: 28px 24px;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  border-right: 1px solid var(--line);
}

.proof__item:last-child {
  border-right: 0;
}

@media (max-width: 720px) {
  .proof__grid {
    grid-template-columns: 1fr 1fr;
  }

  .proof__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof__item:nth-child(2n) {
    border-left: 1px solid var(--line);
  }

  .proof__item:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

/* Intro / pillars */
.intro__top {
  margin-bottom: clamp(48px, 6vw, 80px);
}

.intro__top h2 {
  max-width: 28ch;
  margin-bottom: 0.55em;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.pillar {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.pillar__num {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.25rem;
  line-height: 1;
  color: var(--copper);
  margin-bottom: 16px;
}

.pillar h3 {
  font-size: 1.125rem;
  margin-bottom: 0.6em;
}

.pillar p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .pillars {
    grid-template-columns: 1fr;
  }
}

/* Collections */
.collections__header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.collections__header h2 {
  margin-bottom: 0.3em;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
}

.collection-card {
  grid-column: span 4;
  display: flex;
  flex-direction: column;
}

.collection-card:nth-child(4),
.collection-card:nth-child(5) {
  grid-column: span 6;
}

.collection-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--bone-2);
  border-radius: var(--radius);
  margin-bottom: 18px;
}

.collection-card:nth-child(4) .collection-card__media,
.collection-card:nth-child(5) .collection-card__media {
  aspect-ratio: 3 / 2;
}

.collection-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.collection-card:hover .collection-card__media img,
.collection-card:focus-within .collection-card__media img {
  transform: scale(1.03);
}

.collection-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.35em;
}

.collection-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 0.7em;
}

.collection-card__link {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-decoration: none;
  color: var(--copper);
  margin-top: auto;
}

.collection-card__link:hover,
.collection-card__link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .collection-card,
  .collection-card:nth-child(4),
  .collection-card:nth-child(5) {
    grid-column: span 6;
  }
}

@media (max-width: 560px) {
  .collection-card,
  .collection-card:nth-child(4),
  .collection-card:nth-child(5) {
    grid-column: span 12;
  }
}

/* Channels */
.channels__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(var(--gutter) * 2);
  align-items: start;
}

.channels__intro {
  max-width: 52ch;
}

.channels__intro h2 {
  margin-bottom: 0.45em;
}

.channel-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gutter);
}

.channel-card {
  border: 1px solid rgba(246, 243, 236, 0.22);
  padding: 28px;
  border-radius: var(--radius);
}

.channel-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.6em;
  color: var(--bone);
}

.channel-card p {
  font-size: 0.9375rem;
  line-height: 1.62;
  color: rgba(246, 243, 236, 0.82);
  max-width: 100%;
}

@media (max-width: 900px) {
  .channels__grid {
    grid-template-columns: 1fr;
  }

  .channel-cards {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .channel-cards {
    grid-template-columns: 1fr;
  }
}

/* Method */
.method__header {
  margin-bottom: clamp(40px, 5vw, 64px);
}

.method__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
}

.method__item {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.method__num {
  display: block;
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 2.25rem;
  color: var(--copper);
  margin-bottom: 12px;
}

.method__item h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5em;
}

.method__item p {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .method__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .method__grid {
    grid-template-columns: 1fr;
  }
}

/* CTA band */
.cta {
  text-align: center;
}

.cta h2 {
  margin-bottom: 0.35em;
}

.cta p {
  margin-inline: auto;
  color: var(--ink-soft);
}

.cta .btn-group {
  justify-content: center;
}

.band--sage.cta p {
  color: rgba(246, 243, 236, 0.82);
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bone);
  padding-block: 64px 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

.footer__col p {
  font-size: 1rem;
  color: var(--ink-soft);
  max-width: 32ch;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col li {
  margin-bottom: 10px;
}

.footer__col a {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  text-decoration: none;
}

.footer__col a:hover,
.footer__col a:focus-visible {
  color: var(--copper);
  text-decoration: underline;
}

.footer__heading {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer__col address {
  font-style: normal;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--ink-soft);
}

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.8125rem;
  color: var(--ink-soft);
}

.footer__bottom a {
  color: var(--ink-soft);
  text-decoration: none;
  margin-left: 18px;
}

.footer__bottom a:hover,
.footer__bottom a:focus-visible {
  color: var(--copper);
  text-decoration: underline;
}

@media (max-width: 820px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
  }

  .footer__bottom a {
    margin-left: 0;
    margin-right: 16px;
  }
}

/* Page header */
.page-header {
  padding-block: clamp(56px, 7vw, 96px) clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
}

.page-header h1 {
  margin-bottom: 0.35em;
}

/* Shop page */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gutter);
}

.shop-card {
  border: 1px solid var(--line);
  background: var(--bone-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.shop-card:nth-child(4),
.shop-card:nth-child(5) {
  grid-column: span 1;
}

.shop-card__media {
  overflow: hidden;
}

.shop-card__media img {
  transition: transform 500ms var(--ease);
}

.shop-card:hover .shop-card__media img,
.shop-card:focus-within .shop-card__media img {
  transform: scale(1.03);
}

.shop-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.shop-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.45em;
}

.shop-card p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 1em;
}

.shop-card__link {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--copper);
  text-decoration: none;
}

.shop-card__link:hover,
.shop-card__link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .shop-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .shop-grid {
    grid-template-columns: 1fr;
  }
}

.shop-howto,
.shop-wholesale {
  border-top: 1px solid var(--line);
}

.shop-wholesale {
  background: var(--bone-2);
}

/* Product media well */
.product-media {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Product rail (homepage) */
.product-rail {
  display: flex;
  gap: var(--gutter);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.product-rail__card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.product-rail__body {
  padding-top: 16px;
}

.product-rail__body h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.25em;
}

.product-rail__price {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4em;
}

.product-rail__body > p {
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 0.7em;
}

.product-rail__link {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--copper);
  text-decoration: none;
}

.product-rail__link:hover,
.product-rail__link:focus-visible {
  color: var(--ink);
  text-decoration: underline;
}

.shop-card__price {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6em;
}

@media (max-width: 560px) {
  .product-rail__card {
    flex: 0 0 200px;
  }
}

/* About page */
.story {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: calc(var(--gutter) * 2);
}

.story__label {
  position: sticky;
  top: 96px;
  align-self: start;
}

.story__label h2 {
  font-size: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

.story__body p {
  font-size: 1.125rem;
  line-height: 1.72;
  color: var(--ink-soft);
  max-width: 58ch;
}

.about-image {
  margin-block: clamp(56px, 7vw, 96px);
}

.about-image__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bone-2);
}

.about-image__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facts {
  border-top: 1px solid var(--line);
}

.facts__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: calc(var(--gutter) * 2);
}

.facts__table {
  width: 100%;
  border-collapse: collapse;
}

.facts__table th,
.facts__table td {
  text-align: left;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
  vertical-align: top;
}

.facts__table th {
  font-weight: 500;
  color: var(--ink-soft);
  width: 38%;
}

.facts__table td {
  color: var(--ink);
}

.facts__table a {
  color: var(--copper);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
}

.value-card {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.value-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.55em;
}

.value-card p {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .story,
  .facts__grid {
    grid-template-columns: 1fr;
  }

  .story__label {
    position: static;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Operations */
.ops-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: calc(var(--gutter) * 2);
  padding-bottom: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(56px, 7vw, 96px);
}

.ops-section:last-of-type {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ops-section__label {
  position: sticky;
  top: 96px;
  align-self: start;
}

.ops-section__label .eyebrow {
  margin-bottom: 0.6em;
}

.ops-section__label h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
}

.ops-section__body p {
  color: var(--ink-soft);
}

.ops-section__body ul {
  margin: 1.25em 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  padding-top: 1.25em;
}

.ops-section__body li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.7em;
  color: var(--ink-soft);
}

.ops-section__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--copper);
}

.ops-image {
  margin-block: clamp(56px, 7vw, 96px);
}

.ops-image__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bone-2);
}

.ops-image__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compliance {
  border-top: 1px solid var(--line);
}

.compliance__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: calc(var(--gutter) * 2);
}

.ops-closing {
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .ops-section,
  .compliance__grid {
    grid-template-columns: 1fr;
  }

  .ops-section__label {
    position: static;
  }
}

/* Contact */
.contact-blocks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-block {
  padding: 32px 24px;
  border-right: 1px solid var(--line);
}

.contact-block:last-child {
  border-right: 0;
}

.contact-block h3 {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--copper);
  margin-bottom: 10px;
}

.contact-block p,
.contact-block a {
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
}

.contact-block a:hover,
.contact-block a:focus-visible {
  color: var(--copper);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .contact-blocks {
    grid-template-columns: 1fr 1fr;
  }

  .contact-block {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-block:nth-child(odd) {
    border-right: 1px solid var(--line);
  }

  .contact-block:nth-last-child(-n+2) {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .contact-blocks {
    grid-template-columns: 1fr;
  }

  .contact-block {
    border-right: 0 !important;
  }

  .contact-block:nth-last-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .contact-block:last-child {
    border-bottom: 0;
  }
}

/* Form */
.form {
  max-width: 640px;
}

.form__group {
  margin-bottom: 20px;
}

.form__group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--ink);
}

.form__group input,
.form__group textarea,
.form__group select {
  width: 100%;
  padding: 13px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--bone);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 150ms ease;
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  outline: none;
  border-color: var(--copper);
}

.form__group textarea {
  min-height: 140px;
  resize: vertical;
}

.form__note {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.form__status {
  display: none;
  margin-top: 16px;
  font-size: 0.9375rem;
  color: var(--sage);
}

.form__status.is-visible {
  display: block;
}

/* FAQ */
.faq-list {
  max-width: 780px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 40px 24px 0;
  position: relative;
  font-weight: 600;
  color: var(--ink);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before,
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 14px;
  height: 1.5px;
  background: var(--copper);
  transition: transform 200ms ease;
}

.faq-item summary::before {
  transform: translateY(-50%);
}

.faq-item summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.faq-item__body {
  padding-bottom: 24px;
  color: var(--ink-soft);
}

.faq-item__body p {
  margin-bottom: 0.8em;
}

.faq-item__body p:last-child {
  margin-bottom: 0;
}

.faq-contact {
  margin-top: 32px;
}

/* Legal pages */
.legal {
  max-width: 68ch;
}

.legal__updated {
  font-size: 0.9375rem;
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.25rem;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  margin-top: 2.2rem;
  margin-bottom: 0.7rem;
}

.legal h2:first-of-type {
  margin-top: 0;
}

.legal p {
  margin-bottom: 1em;
}

.legal a {
  color: var(--copper);
}

.back-top {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  text-decoration: none;
  color: var(--copper);
}

.back-top:hover,
.back-top:focus-visible {
  color: var(--ink);
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-page__code {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 1;
  color: var(--copper);
  margin-bottom: 0.15em;
}

.error-page p {
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

/* Reveal animation — progressive enhancement only.
   Content is visible by default; the hidden state applies only after the
   inline head script flags the document as script-capable (html.js). */
.reveal {
  opacity: 1;
  transform: none;
}

html.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Helper utilities */
/* Layout utilities */
.measure { max-width: 62ch; }
.measure-wide { max-width: 68ch; }
.measure-wider { max-width: 780px; }
.measure-form { max-width: 640px; }
.section--flush-top { padding-top: 0; }
.section--tight-top { padding-top: clamp(48px, 6vw, 72px); }
.stack-bottom-lg { margin-bottom: clamp(40px, 5vw, 64px); }
.text-center {
  text-align: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* PRODUCT PHOTO WELLS
   Product images are white-background studio shots: show them whole on a
   white well instead of cropping them into the page background. */
.hero__media,
.shop-card__media,
.product-media {
  aspect-ratio: 1 / 1;
  background: #FFFFFF;
  border: 1px solid var(--line);
  padding: clamp(14px, 2vw, 26px);
  overflow: hidden;
}

.hero__media img,
.shop-card__media img,
.product-media img {
  object-fit: contain;
}

.shop-card:hover .shop-card__media img,
.shop-card:focus-within .shop-card__media img {
  transform: scale(1.02);
}

@media (max-width: 820px) {
  .hero__media {
    aspect-ratio: 4 / 3;
  }
}

/* RAIL WRAP ON DESKTOP: five product cards fit the container on wide screens;
   the horizontal scroller is kept for tablets and phones. */
@media (min-width: 900px) {
  .product-rail {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .product-rail__card {
    flex: 1 1 190px;
    max-width: 240px;
  }
}