/* =========================================================
   Quantum Trade — styles (graphite + teal)
   ========================================================= */

:root {
  --primary: #1a1917;
  --primary-deep: #0c0b0a;
  --primary-mid: #242220;
  --panel-dark: linear-gradient(165deg, #22201d 0%, #100f0d 48%, #050505 100%);
  --accent: #0f9b8e;
  --accent-hover: #0b7f74;
  --accent-soft: rgba(15, 155, 142, 0.12);
  --accent-grad: linear-gradient(135deg, #14b8a6 0%, #0f9b8e 45%, #0b7f74 100%);
  --bg: #eae9e6;
  --surface: #f7f6f3;
  --ink: #161513;
  --muted: #6a6864;
  --line: rgba(22, 21, 19, 0.12);
  --danger: #b33a2b;
  --on-dark-muted: #a39e96;
  --font: "IBM Plex Sans", system-ui, sans-serif;
  --font-display: "Sora", system-ui, sans-serif;
  --header-h: 78px;
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1140px;
  --shadow: 0 16px 40px rgba(12, 11, 10, 0.07);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.06rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 88% -8%, rgba(15, 155, 142, 0.07), transparent 55%),
    radial-gradient(700px 380px at 0% 35%, rgba(22, 21, 19, 0.04), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

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

.btn--primary {
  background: var(--accent-grad);
  color: #fff;
  border-color: transparent;
}

.btn--primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn--block {
  width: 100%;
}

/* Header */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.header.is-scrolled,
.header--solid {
  background: rgba(234, 233, 230, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.logo img {
  border-radius: 10px;
  flex-shrink: 0;
}

.logo em {
  font-style: normal;
  font-weight: 500;
  color: var(--accent);
}

.header:not(.is-scrolled):not(.header--solid) .logo,
.header:not(.is-scrolled):not(.header--solid) .nav__link {
  color: #fff;
}

.header:not(.is-scrolled):not(.header--solid) .logo em {
  color: var(--on-dark-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__link:hover {
  background: rgba(15, 155, 142, 0.1);
}

.nav__cta {
  margin-left: 0.35rem;
  background: var(--accent-grad);
  color: #fff !important;
  border: 0;
}

.nav__cta:hover {
  background: var(--accent-hover);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header:not(.is-scrolled):not(.header--solid) .nav-toggle {
  color: #fff;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

/* Sections */

.section {
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0;
}

.section__head {
  max-width: 40rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section__lead {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

/* Hero */

.hero {
  position: relative;
  min-height: min(100vh, 920px);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2rem) 0 4.5rem;
  color: #fff;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 11, 10, 0.82) 0%, rgba(22, 21, 19, 0.48) 48%, rgba(12, 11, 10, 0.18) 100%),
    linear-gradient(to top, rgba(12, 11, 10, 0.55), transparent 48%);
}

.hero__grid {
  position: relative;
  z-index: 1;
  max-width: 54rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 5vw, 3.55rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  max-width: 22ch;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.hero__points li {
  position: relative;
  padding-left: 1rem;
}

.hero__points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Products */

.products__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ddd9d2;
  position: relative;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-card__media:not(.product-carousel) img {
  transform: scale(1.04);
}

/* Product image carousel */

.product-carousel__viewport {
  position: absolute;
  inset: 0;
}

.product-carousel__viewport img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  transform: none;
}

.product-carousel__viewport img.is-active {
  opacity: 1;
  z-index: 1;
}

.product-carousel__btn {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 6px;
  background: rgba(22, 21, 19, 0.55);
  color: #fff;
  cursor: pointer;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.25s ease, background 0.2s ease;
}

.product-carousel:hover .product-carousel__btn,
.product-carousel:focus-within .product-carousel__btn {
  opacity: 1;
}

.product-carousel__btn:hover {
  background: rgba(22, 21, 19, 0.78);
}

.product-carousel__btn--prev {
  left: 0.55rem;
}

.product-carousel__btn--next {
  right: 0.55rem;
}

.product-carousel__btn::before {
  content: "";
  display: block;
  width: 0.45rem;
  height: 0.45rem;
  margin: 0 auto;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.product-carousel__btn--prev::before {
  transform: translateX(1px) rotate(135deg);
}

.product-carousel__btn--next::before {
  transform: translateX(-1px) rotate(-45deg);
}

.product-carousel__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.65rem;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.35rem;
}

.product-carousel__dots button {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.product-carousel__dots button.is-active {
  background: #fff;
  transform: scale(1.2);
}

.product-card__body {
  padding: 1.25rem 1.35rem 1.45rem;
}

.product-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.product-card--wide {
  grid-column: 1 / -1;
  background:
    linear-gradient(135deg, var(--accent-soft), var(--surface) 55%),
    var(--surface);
}

.product-card--wide .product-card__body {
  padding: 1.75rem 1.6rem;
}

/* Wholesale */

.wholesale {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.wholesale__layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.wholesale__copy .section__lead {
  max-width: 46ch;
  margin-bottom: 1.75rem;
}

.wholesale__gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: 0.75rem;
}

.wholesale__shot {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: #ddd9d2;
  min-height: 160px;
}

.wholesale__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.7s var(--ease);
}

.wholesale__shot--wide img {
  aspect-ratio: 16 / 10;
}

.wholesale__shot:hover img {
  transform: scale(1.03);
}

.wholesale__shot figcaption {
  position: absolute;
  left: 0.85rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  background: rgba(22, 21, 19, 0.72);
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
  backdrop-filter: blur(6px);
}

/* Directions — 4 pillars */

.directions__grid {
  display: grid;
  gap: 1.5rem;
}

.direction {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.direction--flip .direction__media {
  order: 2;
}

.direction__media {
  min-height: 280px;
  background: #ddd9d2;
}

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

.direction__body {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.direction__tag {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.direction__body h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.direction__body > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.direction__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.45rem;
}

.direction__body li {
  position: relative;
  padding-left: 1.1rem;
  color: var(--ink);
  font-size: 0.98rem;
}

.direction__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

/* Services feature rows */

.services__feature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  margin-bottom: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.services__feature--flip .services__feature-media {
  order: 2;
}

.services__feature-media {
  min-height: 260px;
}

.services__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services__feature-copy {
  padding: clamp(1.5rem, 3vw, 2.1rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.services__feature-copy h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
}

.services__feature-copy > p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.services__feature-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.services__feature-copy li {
  position: relative;
  padding-left: 1.05rem;
  font-size: 0.96rem;
}

.services__feature-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.services {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.services__grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service {
  padding: 1.5rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color 0.25s ease, transform 0.25s var(--ease);
}

.service:hover {
  border-color: rgba(15, 155, 142, 0.4);
  transform: translateY(-3px);
}

.service__icon {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
}

.service h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Why — equal pillars (not a sequence) */

.section__head--center {
  text-align: center;
  margin-inline: auto;
}

.section__head--center .section__lead {
  margin-inline: auto;
}

.why {
  background:
    linear-gradient(180deg, transparent, rgba(15, 155, 142, 0.04) 40%, transparent),
    var(--bg);
}

.why-pillars {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.why-pillars__item {
  padding: 1.75rem 1.35rem 1.6rem;
  text-align: left;
  border-right: 1px solid var(--line);
}

.why-pillars__item:last-child {
  border-right: 0;
}

.why-pillars__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1.1rem;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.why-pillars__item h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.why-pillars__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* About */

.about {
  background: var(--panel-dark);
  color: #fff;
}

.about .eyebrow {
  color: var(--on-dark-muted);
}

.about .section__title {
  color: #fff;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.about__copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  max-width: 48ch;
}

.registry {
  margin: 0;
  padding: 1.35rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  gap: 0.95rem;
}

.registry div {
  display: grid;
  gap: 0.15rem;
}

.registry dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-dark-muted);
  font-family: var(--font-display);
  font-weight: 600;
}

.registry dd {
  margin: 0;
  font-weight: 500;
}

.registry a:hover {
  color: #c5d0e0;
}

/* Process — quiet rail (sequence without loud arrows) */

.process {
  background: #fff;
  border-block: none;
}

.process-rail {
  --dot: 3rem;
  position: relative;
  margin: 2.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.process-rail::before {
  content: "";
  position: absolute;
  top: calc(var(--dot) / 2);
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 155, 142, 0.35) 10%,
    rgba(15, 155, 142, 0.35) 90%,
    transparent
  );
  pointer-events: none;
}

.process-rail__item {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-rail__top {
  display: flex;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.process-rail__dot {
  display: grid;
  place-items: center;
  width: var(--dot);
  height: var(--dot);
  border-radius: 999px;
  background: #fff;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 6px #fff;
}

.process-rail__item h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.process-rail__item p {
  margin: 0 auto;
  max-width: 22ch;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* FAQ */

.faq {
  background: var(--panel-dark);
  color: #fff;
  border-block: none;
}

.faq .eyebrow {
  color: var(--on-dark-muted);
}

.faq .section__title {
  color: #fff;
}

.faq .section__lead {
  color: rgba(255, 255, 255, 0.72);
}

.faq__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.faq__item {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  padding: 0 1.15rem;
  margin-bottom: 0.75rem;
}

.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  position: relative;
  padding-right: 2rem;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid var(--on-dark-muted);
  border-bottom: 2px solid var(--on-dark-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s var(--ease);
}

.faq__item[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

/* Smooth open/close — author display beats UA display:none */
.faq__item > .faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s var(--ease);
}

.faq__item[open] > .faq__panel {
  grid-template-rows: 1fr;
}

.faq__panel-inner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq__item[open] .faq__panel-inner {
  opacity: 1;
  transition-delay: 0.05s;
}

.faq__panel-inner p {
  margin: 0 0 1.15rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Contact */

.contact {
  background: #fff;
}

.contact__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact__meta {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.contact__meta li {
  display: grid;
  gap: 0.15rem;
}

.contact__meta span:first-child {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-family: var(--font-display);
  font-weight: 600;
}

.contact__meta a:hover {
  color: var(--accent);
}

.form {
  position: relative;
  padding: 1.6rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__field {
  display: grid;
  gap: 0.4rem;
}

.form__field label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
}

.form__field input,
.form__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__field input:focus,
.form__field textarea:focus {
  border-color: rgba(15, 155, 142, 0.5);
  box-shadow: 0 0 0 4px rgba(15, 155, 142, 0.12);
}

.form__field.is-invalid input,
.form__field.is-invalid textarea {
  border-color: var(--danger);
}

.form__error {
  margin: 0;
  color: var(--danger);
  font-size: 0.85rem;
}

.form__note {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.form__note a {
  color: var(--accent);
  text-decoration: underline;
}

.form__success {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.97);
  border-radius: inherit;
}

.form__success[hidden] {
  display: none !important;
}

.form__success h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
}

.form__success p {
  margin: 0;
  color: var(--muted);
}

/* Footer */

.footer {
  padding: 2.75rem 0 1.35rem;
  background: linear-gradient(180deg, #141311 0%, #050505 100%);
  color: rgba(255, 255, 255, 0.78);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer .logo {
  color: #fff;
  margin-bottom: 0.85rem;
}

.footer .logo em {
  color: var(--on-dark-muted);
}

.footer__label {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.footer__nav,
.footer__legal {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.footer__nav a:hover,
.footer__legal a:hover,
.footer__company a:hover {
  color: #fff;
}

.footer__company p {
  margin: 0 0 0.35rem;
}

.footer__bottom {
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer__bottom p {
  margin: 0;
}

/* Legal pages */

.page-legal .header {
  background: rgba(234, 233, 230, 0.96);
  box-shadow: 0 1px 0 var(--line);
}

.page-legal .logo,
.page-legal .nav__link {
  color: var(--ink) !important;
}

.page-legal .logo em {
  color: var(--accent) !important;
}

.legal-page {
  padding: calc(var(--header-h) + 3rem) 0 5rem;
}

.legal-page__inner {
  max-width: 46rem;
}

.legal-page h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.03em;
}

.legal-page__updated {
  color: var(--muted);
  margin-bottom: 2rem;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.legal-page ul {
  padding-left: 1.2rem;
}

.legal-page a {
  color: var(--accent);
}

/* Reveal */

.reveal,
.reveal-hero {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-in,
.reveal-hero.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Responsive */

@media (max-width: 980px) {
  .products__grid,
  .services__grid,
  .about__grid,
  .faq__grid,
  .contact__grid,
  .footer__grid,
  .wholesale__layout,
  .direction,
  .services__feature {
    grid-template-columns: 1fr 1fr;
  }

  .about__grid,
  .faq__grid,
  .contact__grid,
  .wholesale__layout,
  .direction,
  .services__feature {
    grid-template-columns: 1fr;
  }

  .direction--flip .direction__media,
  .services__feature--flip .services__feature-media {
    order: 0;
  }

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

  .why-pillars {
    grid-template-columns: 1fr 1fr;
  }

  .why-pillars__item:nth-child(2) {
    border-right: 0;
  }

  .why-pillars__item:nth-child(1),
  .why-pillars__item:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .process-rail {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }

  .process-rail::before {
    display: none;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(234, 233, 230, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    color: var(--ink) !important;
    padding: 0.9rem 1rem;
    border-radius: 12px;
  }

  .nav__cta {
    text-align: center;
  }

  .products__grid,
  .services__grid,
  .footer__grid,
  .form__row,
  .wholesale__gallery {
    grid-template-columns: 1fr;
  }

  .process-rail {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 0.25rem;
  }

  .process-rail__item {
    display: grid;
    grid-template-columns: var(--dot) 1fr;
    column-gap: 1rem;
    text-align: left;
    padding-bottom: 1.5rem;
    position: relative;
  }

  .process-rail__item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: calc(var(--dot) / 2);
    top: var(--dot);
    bottom: 0;
    width: 1px;
    background: rgba(15, 155, 142, 0.3);
    transform: translateX(-50%);
  }

  .process-rail__top {
    margin-bottom: 0;
    grid-row: 1 / span 2;
    align-items: flex-start;
  }

  .process-rail__item h3 {
    grid-column: 2;
    margin-top: 0.35rem;
  }

  .process-rail__item p {
    grid-column: 2;
    margin: 0;
    max-width: none;
  }

  .why-pillars {
    grid-template-columns: 1fr;
  }

  .why-pillars__item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .why-pillars__item:last-child {
    border-bottom: 0;
  }

  .hero {
    align-items: center;
    min-height: auto;
    padding-bottom: 3.5rem;
  }
}

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

  .reveal,
  .reveal-hero {
    opacity: 1;
    transform: none;
  }

  .faq__item > .faq__panel,
  .faq__panel-inner,
  .faq__item summary::after {
    transition: none;
  }

  .faq__panel-inner {
    opacity: 1;
  }
}
