:root {
  --bg: #070707;
  --bg-elevated: #101010;
  --bg-panel: rgba(19, 19, 19, 0.88);
  --text: #f4f1ea;
  --muted: #a8a096;
  --line: rgba(255, 255, 255, 0.1);
  --accent: #ff7b2f;
  --accent-soft: rgba(255, 123, 47, 0.16);
  --success: #9fd675;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: min(1200px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255, 123, 47, 0.12), transparent 28%),
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.05), transparent 20%),
    linear-gradient(180deg, #0d0d0d 0%, #050505 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.65), transparent 92%);
}

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

button {
  font: inherit;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255, 123, 47, 0.18), transparent 26%),
    #050505;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader__logo {
  display: grid;
  gap: 18px;
  place-items: center;
}

.preloader__crest,
.brand__mark {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, rgba(255, 123, 47, 0.2), rgba(255, 255, 255, 0.08));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.preloader__wordmark {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-shell {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition:
    opacity 1s ease,
    transform 1.1s ease;
}

.page-shell.is-ready {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.topbar {
  width: var(--container);
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 0.95rem;
}

.brand__text {
  display: grid;
  gap: 2px;
}

.brand__text strong,
.topbar__nav a,
.quote-chip,
.button,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand__text span:last-child,
.topbar__nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.topbar__nav {
  display: flex;
  gap: 24px;
}

.topbar__nav a {
  position: relative;
}

.topbar__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.topbar__nav a:hover::after {
  transform: scaleX(1);
}

.quote-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-radius: 999px;
  padding: 10px 16px 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote-chip__count {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #140802;
  font-weight: 700;
}

.hero,
.feature-strip,
.section,
.topbar {
  width: var(--container);
}

.hero {
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: stretch;
}

.hero__copy,
.hero__visual,
.feature-strip,
.process-card,
.rfq__panel,
.product-card {
  border: 1px solid var(--line);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
}

.hero__copy {
  border-radius: var(--radius-xl);
  padding: clamp(28px, 4vw, 54px);
  min-height: 620px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
}

h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(4rem, 10vw, 8.8rem);
  line-height: 0.92;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.hero__lead,
.section__heading p,
.process-card p,
.product-card p,
.hero__overlay-card p,
.rfq__basket li,
#basketStatus {
  color: var(--muted);
  line-height: 1.7;
}

.hero__lead {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 30px;
}

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.35s ease,
    background 0.35s ease,
    opacity 0.35s ease;
}

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

.button--primary {
  background: var(--accent);
  color: #1b0c03;
  font-weight: 700;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.hero__stats {
  list-style: none;
  padding: 0;
  margin: 42px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.hero__stats li {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.hero__stats strong,
.hero__overlay-card strong,
.process-card span,
.product-card__meta span:last-child {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.2rem;
}

.hero__stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  min-height: 620px;
}

.hero__image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.14), rgba(5, 5, 5, 0.72)),
    url("https://images.unsplash.com/photo-1509358271058-acd22cc93898?auto=format&fit=crop&w=1400&q=80")
      center/cover;
  transform: scale(1.02);
}

.hero__overlay-card {
  position: absolute;
  right: 28px;
  bottom: 28px;
  max-width: 300px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(14, 14, 14, 0.72);
  backdrop-filter: blur(18px);
}

.hero__overlay-label,
.product-card__meta,
.process-card span,
.feature-strip span,
.rfq__basket-head strong {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
}

.feature-strip {
  margin: 26px auto 0;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-strip div {
  padding: 8px 10px;
}

.feature-strip strong {
  display: block;
  margin-top: 10px;
  line-height: 1.5;
}

.section {
  margin: 110px auto 0;
}

.section__heading {
  max-width: 700px;
  margin-bottom: 34px;
}

h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.catalog-grid,
.process-grid {
  display: grid;
  gap: 22px;
}

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

.product-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.product-card--more {
  border: 1px dashed rgba(255, 123, 47, 0.35);
  background: linear-gradient(180deg, rgba(255, 123, 47, 0.08), rgba(255, 255, 255, 0.03));
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.product-card__media--more {
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 123, 47, 0.24), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 123, 47, 0.12));
}

.product-card--hidden {
  display: none;
}

.product-card--hidden.is-shown {
  display: block;
}

.product-card__media {
  aspect-ratio: 4 / 4.5;
  transition: transform 0.6s ease;
  position: relative;
  overflow: hidden;
}

.product-card__media--photo {
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background-size: cover;
  background-position: center;
}

.powder {
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background:
    radial-gradient(circle at 30% 35%, rgba(255, 255, 255, 0.16), transparent 30%),
    radial-gradient(circle at 65% 58%, rgba(0, 0, 0, 0.28), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0.16));
}

.powder::before,
.powder::after {
  content: "";
  position: absolute;
  inset: 0;
}

.powder::before {
  background:
    radial-gradient(circle at 48% 52%, rgba(255, 255, 255, 0.14) 0 18%, transparent 19%),
    radial-gradient(circle at 44% 55%, currentColor 0 26%, transparent 27%),
    radial-gradient(circle at 58% 46%, rgba(0, 0, 0, 0.22) 0 24%, transparent 25%);
  mix-blend-mode: soft-light;
  opacity: 0.85;
}

.powder::after {
  background:
    linear-gradient(180deg, transparent 0%, rgba(5, 5, 5, 0.08) 60%, rgba(5, 5, 5, 0.52) 100%),
    radial-gradient(circle at 50% 55%, transparent 0 20%, rgba(255, 255, 255, 0.07) 21%, transparent 22%);
}

.powder__label {
  position: relative;
  z-index: 1;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(12, 12, 12, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.powder--chili {
  color: #d6451e;
  background-color: #7b2313;
}

.powder--turmeric {
  color: #e0a81a;
  background-color: #8b6110;
}

.powder--coriander {
  color: #8b7136;
  background-color: #544224;
}

.powder--cumin {
  color: #91653c;
  background-color: #573821;
}

.powder--pepper {
  color: #7f817f;
  background-color: #323230;
}

.powder--garam {
  color: #9b5a37;
  background-color: #5e311d;
}

.powder--whole-coriander {
  color: #8a7a47;
  background-color: #4a3e24;
}

.powder--whole-cumin {
  color: #8b6842;
  background-color: #4c311f;
}

.powder--whole-chili {
  color: #b13d28;
  background-color: #5a1f17;
}

.powder--whole-elaichi {
  color: #6b8b48;
  background-color: #314122;
}

.powder--whole-laung {
  color: #6e5a49;
  background-color: #31241c;
}

.powder--whole-pepper {
  color: #858784;
  background-color: #2b2c2a;
}

.product-card__body {
  padding: 20px;
}

.product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
}

.product-card h3,
.process-card h3 {
  margin: 12px 0 8px;
  font-size: 1.45rem;
}

.button--inline {
  margin-top: 18px;
  background: var(--accent);
  color: #180901;
  font-weight: 700;
  opacity: 0;
  transform: translateY(16px);
}

.button--inline.is-added {
  opacity: 1;
  transform: translateY(0);
  background: rgba(159, 214, 117, 0.18);
  color: var(--success);
  border-color: rgba(159, 214, 117, 0.28);
}

.product-card:hover .product-card__media {
  transform: scale(1.06);
}

.product-card:hover .button--inline,
.product-card:focus-within .button--inline {
  opacity: 1;
  transform: translateY(0);
}

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

.process-card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.process-card span {
  color: var(--accent);
}

.rfq {
  padding-bottom: 70px;
}

.rfq__panel {
  border-radius: var(--radius-xl);
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 32px;
}

.rfq__basket {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 22px;
}

.rfq__steps {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.rfq__step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.rfq__step strong {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #180901;
  font-family: "Space Grotesk", sans-serif;
}

.rfq__step span {
  color: var(--text);
}

.rfq__basket-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.rfq__basket ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.rfq__basket li {
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rfq__basket li strong {
  color: var(--text);
}

.rfq__basket li span {
  color: var(--success);
  font-size: 0.92rem;
}

.rfq__summary-copy {
  margin: 0 0 20px;
}

.rfq__selected {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.rfq__pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.92rem;
}

.rfq__pill.is-empty {
  color: var(--muted);
}

.rfq__cta {
  width: 100%;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 3, 3, 0.72);
  backdrop-filter: blur(12px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100vw - 28px));
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at top right, rgba(255, 123, 47, 0.12), transparent 24%),
    rgba(12, 12, 12, 0.96);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.48);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s ease;
}

.modal.is-open .modal__dialog {
  transform: translateY(0) scale(1);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.modal__header {
  max-width: 640px;
  margin-bottom: 24px;
}

.inquiry-form {
  display: grid;
  gap: 18px;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

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

.inquiry-form label {
  display: grid;
  gap: 10px;
}

.inquiry-form span {
  font-size: 0.92rem;
  color: var(--text);
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 14px 16px;
  font: inherit;
}

.inquiry-form input::placeholder,
.inquiry-form textarea::placeholder {
  color: var(--muted);
}

.inquiry-form__block {
  display: grid;
  gap: 12px;
}

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

.spice-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.spice-option input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.spice-option.is-selected {
  border-color: rgba(255, 123, 47, 0.5);
  background: rgba(255, 123, 47, 0.1);
}

.inquiry-form__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s ease,
    transform 0.9s ease;
}

.reveal[data-reveal="fade-in"] {
  transform: scale(0.96);
}

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

.fly-clone {
  position: fixed;
  z-index: 120;
  pointer-events: none;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}

.quote-chip.is-pulsed {
  animation: basketPulse 0.55s ease;
}

@keyframes basketPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@media (max-width: 1080px) {
  .hero,
  .rfq__panel,
  .catalog-grid,
  .process-grid,
  .feature-strip,
  .inquiry-form__grid,
  .spice-selector {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .topbar__nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero__copy,
  .hero__visual {
    min-height: auto;
  }

  .hero__visual {
    min-height: 500px;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100vw - 28px, 100%);
  }

  .topbar {
    padding-top: 16px;
  }

  .brand__text span:last-child,
  .topbar__nav {
    display: none;
  }

  .hero {
    margin-top: 18px;
  }

  .hero__copy,
  .rfq__panel,
  .feature-strip,
  .process-card,
  .product-card__body {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .hero__actions {
    flex-direction: column;
  }

  .hero__overlay-card {
    left: 18px;
    right: 18px;
    bottom: 18px;
    max-width: none;
  }

  .inquiry-form__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
