:root {
  color-scheme: dark;
  --black: #050606;
  --ink: #0a0d0d;
  --panel: #111716;
  --panel-soft: #18201f;
  --silver: #c6cbc8;
  --mist: #eff3ef;
  --muted: #8e9895;
  --line: rgba(239, 243, 239, 0.14);
  --teal: #0f9d9e;
  --teal-deep: #0b6265;
  --blue: #1f8fd1;
  --violet: #7a4cf3;
  --amber: #c77a24;
  --moss: #4a584b;
  --radius: 8px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--mist);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.cart-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 16px 40px;
  background: rgba(5, 6, 6, 0.76);
  border-bottom: 1px solid rgba(239, 243, 239, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--mist);
  font-size: 1.08rem;
  font-weight: 500;
  white-space: nowrap;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(239, 243, 239, 0.55);
  border-radius: 50%;
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(15, 157, 158, 0.8);
  border-radius: 50%;
}

.brand-mark::after {
  inset: 11px;
  border-color: rgba(199, 122, 36, 0.82);
}

.nav-links {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--silver);
  font-size: 0.94rem;
}

.nav-links a {
  color: rgba(239, 243, 239, 0.76);
  transition: color 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--mist);
}

.cart-button,
.icon-button,
.nav-toggle {
  border: 1px solid var(--line);
  background: rgba(239, 243, 239, 0.05);
  color: var(--mist);
  border-radius: var(--radius);
}

.cart-button {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

.cart-button svg,
.icon-button svg,
.support-actions svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  background: var(--teal);
  color: #001313;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  gap: 5px;
  padding: 11px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: var(--mist);
}

.hero {
  position: relative;
  min-height: 88svh;
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: 120px 40px 80px;
  background: var(--black);
}

.hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% center;
  opacity: 0.88;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 6, 0.92) 0%, rgba(5, 6, 6, 0.66) 42%, rgba(5, 6, 6, 0.12) 78%),
    linear-gradient(180deg, rgba(5, 6, 6, 0.46) 0%, rgba(5, 6, 6, 0.03) 46%, rgba(5, 6, 6, 0.95) 100%);
}

.hero-content {
  position: relative;
  width: min(620px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: 4.75rem;
  line-height: 0.95;
  font-weight: 300;
}

.hero-line {
  margin: 22px 0 0;
  color: var(--silver);
  font-size: 1.45rem;
  line-height: 1.35;
}

.hero-copy {
  max-width: 520px;
  margin: 16px 0 0;
  color: rgba(239, 243, 239, 0.72);
  font-size: 1.02rem;
  line-height: 1.8;
}

.hero-actions,
.filter-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.hero-actions {
  margin-top: 32px;
}

.button,
.filter-pill {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid transparent;
  padding: 0 18px;
  font-size: 0.93rem;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible,
.filter-pill:hover,
.filter-pill:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--teal);
  color: #001313;
}

.button.ghost,
.filter-pill {
  background: rgba(239, 243, 239, 0.04);
  border-color: var(--line);
  color: var(--mist);
}

.button.full {
  width: 100%;
}

.quick-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quick-bar div {
  min-height: 116px;
  padding: 26px 40px;
  background: #070908;
}

.quick-bar span {
  display: block;
  margin-bottom: 9px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-bar strong {
  display: block;
  color: rgba(239, 243, 239, 0.82);
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 500;
}

.section {
  padding: 96px 40px;
}

.section-heading {
  width: min(780px, 100%);
  margin: 0 auto 38px;
  text-align: center;
}

.section-heading h2,
.atmosphere-copy h2,
.order-copy h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.1;
  font-weight: 400;
}

.section-heading p:not(.eyebrow),
.atmosphere-copy p,
.order-copy p {
  color: rgba(239, 243, 239, 0.66);
  line-height: 1.75;
}

.filter-row {
  justify-content: center;
  margin-bottom: 30px;
}

.filter-pill {
  color: var(--silver);
}

.filter-pill.is-active {
  background: rgba(15, 157, 158, 0.16);
  border-color: rgba(15, 157, 158, 0.72);
  color: var(--mist);
}

.product-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: grid;
  grid-template-rows: 260px auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  min-width: 0;
}

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

.product-media {
  position: relative;
  background: #f6f6f3;
  overflow: hidden;
}

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

.product-media.fit-contain img {
  object-fit: contain;
  padding: 14px;
}

.tag {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 9px;
  background: rgba(5, 6, 6, 0.72);
  border: 1px solid rgba(239, 243, 239, 0.2);
  border-radius: 999px;
  color: var(--mist);
  font-size: 0.72rem;
  font-weight: 700;
}

.product-body {
  padding: 20px;
}

.product-body h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  font-weight: 500;
}

.product-body p {
  min-height: 68px;
  margin: 0;
  color: rgba(239, 243, 239, 0.66);
  line-height: 1.55;
  font-size: 0.95rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 20px 0;
}

.price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mist);
}

.swatches {
  display: flex;
  gap: 7px;
}

.swatches span {
  width: 12px;
  height: 12px;
  border: 1px solid rgba(239, 243, 239, 0.44);
  border-radius: 50%;
  background: var(--swatch);
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.quantity {
  display: inline-grid;
  grid-template-columns: 34px 34px 34px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.quantity button {
  border: 0;
  background: rgba(239, 243, 239, 0.05);
  color: var(--mist);
}

.quantity span {
  display: grid;
  place-items: center;
  color: var(--silver);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.atmosphere {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: 46px;
  background:
    linear-gradient(90deg, rgba(10, 13, 13, 0.96), rgba(10, 13, 13, 0.82)),
    url("assets/brand/texture-stone.png") center / cover;
}

.atmosphere-media {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(239, 243, 239, 0.1);
  background: #f2f2ef;
  box-shadow: var(--shadow);
}

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

.atmosphere-copy {
  max-width: 520px;
}

.tone-list {
  display: grid;
  gap: 1px;
  margin: 30px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.tone-list div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 16px;
  background: rgba(5, 6, 6, 0.74);
}

.tone-list dt {
  color: var(--muted);
}

.tone-list dd {
  margin: 0;
  color: var(--mist);
}

.scent-section {
  background: #f2f2ef;
  color: #111716;
}

.scent-section .section-heading p:not(.eyebrow) {
  color: #46514f;
}

.scent-board {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(17, 23, 22, 0.14);
}

.scent-item {
  min-height: 280px;
  padding: 28px;
  border-right: 1px solid rgba(17, 23, 22, 0.14);
  background: #f8f8f5;
}

.scent-item:last-child {
  border-right: 0;
}

.scent-item span {
  display: block;
  width: 44px;
  height: 44px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  margin-bottom: 82px;
  position: relative;
}

.scent-item span::before,
.scent-item span::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-top: 1px solid var(--accent);
  transform: rotate(-18deg);
}

.scent-item span::after {
  inset: 16px 8px 0;
  transform: rotate(16deg);
}

.scent-item h3 {
  margin: 0 0 10px;
  font-size: 1.1rem;
}

.scent-item p {
  margin: 0;
  color: #56605e;
  line-height: 1.55;
  font-size: 0.95rem;
}

.support-section {
  background: #080a0a;
}

.support-layout {
  width: min(1160px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
  align-items: start;
}

.support-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.support-actions article {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.support-actions svg {
  color: var(--teal);
  margin-bottom: 60px;
}

.support-actions h3 {
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 500;
}

.support-actions p {
  margin: 0;
  color: rgba(239, 243, 239, 0.64);
  line-height: 1.55;
  font-size: 0.92rem;
}

.support-form,
.checkout-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

label {
  display: grid;
  gap: 8px;
  color: rgba(239, 243, 239, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(239, 243, 239, 0.18);
  border-radius: var(--radius);
  background: rgba(5, 6, 6, 0.54);
  color: var(--mist);
  padding: 12px 13px;
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(15, 157, 158, 0.8);
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  line-height: 1.4;
}

.order-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  gap: 46px;
  align-items: center;
  background: var(--moss);
}

.order-copy {
  max-width: 540px;
}

.order-preview {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.cart-drawer {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: grid;
  justify-items: end;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

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

.cart-panel {
  width: min(480px, 100%);
  min-height: 100%;
  padding: 24px;
  background: #0b0f0f;
  border-left: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 220ms ease;
  overflow-y: auto;
}

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

.cart-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.cart-head h2 {
  margin: 0;
  font-size: 1.7rem;
  font-weight: 400;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
}

.cart-items {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.cart-empty {
  min-height: 120px;
  display: grid;
  place-items: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.cart-line {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(239, 243, 239, 0.04);
}

.cart-line img {
  width: 70px;
  height: 58px;
  object-fit: cover;
  border-radius: 6px;
  background: #f6f6f3;
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line strong {
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.cart-line span {
  color: var(--muted);
  font-size: 0.84rem;
}

.remove-line {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1.2rem;
  width: 34px;
  height: 34px;
}

.checkout-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.checkout-total span {
  color: var(--muted);
}

.checkout-total strong {
  font-size: 1.35rem;
}

.checkbox-line {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 10px;
  font-weight: 500;
  line-height: 1.45;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

@media (max-width: 980px) {
  .site-header {
    padding: 14px 22px;
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 22px 24px;
    background: rgba(5, 6, 6, 0.96);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.is-open {
    display: grid;
    gap: 16px;
  }

  h1 {
    font-size: 3.4rem;
  }

  .quick-bar,
  .product-grid,
  .atmosphere,
  .support-layout,
  .support-actions,
  .order-section {
    grid-template-columns: 1fr;
  }

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

  .scent-item {
    border-bottom: 1px solid rgba(17, 23, 22, 0.14);
  }

  .scent-item:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
  }

  .brand {
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 24px;
    height: 24px;
  }

  .hero {
    min-height: 84svh;
    padding: 104px 20px 58px;
  }

  .hero > img {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5, 6, 6, 0.94) 0%, rgba(5, 6, 6, 0.7) 62%, rgba(5, 6, 6, 0.28) 100%),
      linear-gradient(180deg, rgba(5, 6, 6, 0.36) 0%, rgba(5, 6, 6, 0.2) 48%, rgba(5, 6, 6, 0.98) 100%);
  }

  h1 {
    font-size: 2.45rem;
  }

  .hero-line {
    font-size: 1.18rem;
  }

  .section {
    padding: 70px 20px;
  }

  .section-heading {
    text-align: left;
  }

  .section-heading h2,
  .atmosphere-copy h2,
  .order-copy h2 {
    font-size: 1.85rem;
  }

  .quick-bar div {
    min-height: auto;
    padding: 22px 20px;
  }

  .product-card {
    grid-template-rows: 230px auto;
  }

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

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

  .scent-board {
    grid-template-columns: 1fr;
  }

  .scent-item,
  .scent-item:nth-child(2n) {
    border-right: 0;
  }

  .scent-item span {
    margin-bottom: 48px;
  }

  .tone-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .cart-panel {
    padding: 20px;
  }
}
