:root {
  color-scheme: light;
  --ink: #1d2424;
  --muted: #687272;
  --line: #dbe1dd;
  --paper: #fbfaf6;
  --white: #ffffff;
  --sage: #8aa391;
  --sage-dark: #546d5d;
  --clay: #b86f54;
  --graphite: #2c3333;
  --gold: #c59a43;
  --shadow: 0 24px 70px rgba(41, 51, 48, 0.14);
  --container: 1180px;
  --gutter: 32px;
  --section-space: 104px;
  --section-space-mobile: 68px;
  --card-space: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.modal-open {
  overflow: hidden;
}

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

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

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(var(--container), calc(100% - var(--gutter)));
  margin: 0 auto;
  padding: 16px 0;
  background: rgba(251, 250, 246, 0.86);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.header-action {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--graphite);
  color: var(--white);
}

.site-nav {
  justify-content: center;
  gap: 26px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-action,
.button,
.price-row button {
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.header-action {
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
}

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

.secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.header-action:hover,
.button:hover,
.price-row button:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

main {
  overflow: hidden;
}

.hero {
  width: min(var(--container), calc(100% - var(--gutter)));
  min-height: calc(100svh - 74px);
  margin: 0 auto;
  padding: 36px 0 64px;
}

.hero::after {
  display: block;
  clear: both;
  content: "";
}

.hero-copy {
  max-width: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: none;
  font-size: clamp(3rem, 6vw, 6.15rem);
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.hero-text {
  max-width: 550px;
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 1.14rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-media {
  float: right;
  position: relative;
  width: min(54%, 650px);
  min-height: 420px;
  margin: 0 0 30px 56px;
  shape-outside: inset(0 round 8px);
}

.hero-media img {
  width: 100%;
  height: min(66vh, 650px);
  min-height: 420px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  right: 22px;
  bottom: 22px;
  width: min(220px, calc(100% - 44px));
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(14px);
}

.hero-badge strong {
  display: block;
  font-size: 1.55rem;
}

.hero-badge span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.feature-strip,
.section,
.collections,
.story,
.reviews,
.checkout,
.site-footer {
  width: min(var(--container), calc(100% - var(--gutter)));
  margin: 0 auto;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.feature-strip div {
  min-height: 118px;
  padding: var(--card-space);
  background: var(--white);
}

.feature-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.feature-strip span {
  color: var(--muted);
}

.section,
.collections,
.story,
.reviews {
  padding: var(--section-space) 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 32px;
}

.section-heading .eyebrow,
.section-heading h2 {
  grid-column: 1;
}

.section-heading a {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

.section-heading a,
.text-link {
  color: var(--sage-dark);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: start;
}

.collection-card,
.product-card,
.category-card,
.reviews article,
.checkout {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.collection-card {
  overflow: hidden;
}

.collection-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #eef1eb;
}

.collection-card div {
  padding: var(--card-space);
}

.collection-card p:not(.eyebrow) {
  color: var(--muted);
}

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

.product-card {
  overflow: hidden;
}

.product-visual {
  position: relative;
  min-height: 202px;
  overflow: hidden;
  background:
    radial-gradient(circle at 60% 28%, rgba(255, 255, 255, 0.85), transparent 23%),
    linear-gradient(135deg, #e8eee8, #ffffff 54%, #d8dfd8);
}

.product-visual::before,
.product-visual::after {
  position: absolute;
  content: "";
}

.lamp::before {
  left: 50%;
  top: 32px;
  width: 92px;
  height: 58px;
  border-radius: 60px 60px 18px 18px;
  background: var(--sage);
  transform: translateX(-50%);
  box-shadow: 0 50px 0 -21px #d6dfd7;
}

.lamp::after {
  left: calc(50% - 8px);
  top: 88px;
  width: 16px;
  height: 80px;
  border-radius: 999px;
  background: var(--graphite);
  box-shadow: -44px 82px 0 16px #c9b08c;
}

.charger::before {
  left: 50%;
  top: 76px;
  width: 154px;
  height: 92px;
  border-radius: 22px;
  background: linear-gradient(145deg, #3b4242, #171d1d);
  transform: translateX(-50%) rotate(-7deg);
  box-shadow: 0 20px 34px rgba(44, 51, 51, 0.22);
}

.charger::after {
  left: calc(50% - 28px);
  top: 102px;
  width: 56px;
  height: 56px;
  border: 2px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
}

.organizer::before {
  left: 50%;
  bottom: 36px;
  width: 170px;
  height: 96px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.22) 1px, transparent 1px) 0 0 / 42px 100%,
    linear-gradient(135deg, #8f5f39, #c8955e);
  transform: translateX(-50%);
  box-shadow: 0 18px 34px rgba(92, 59, 34, 0.18);
}

.organizer::after {
  right: 58px;
  top: 48px;
  width: 54px;
  height: 86px;
  border-radius: 7px;
  background: #fff9ef;
  transform: rotate(8deg);
}

.tumbler::before {
  left: 50%;
  top: 46px;
  width: 82px;
  height: 132px;
  border-radius: 24px 24px 34px 34px;
  background: linear-gradient(90deg, #f7f0e3, #ffffff 48%, #ded1bd);
  transform: translateX(-50%);
  box-shadow: 0 20px 34px rgba(91, 80, 62, 0.16);
}

.tumbler::after {
  left: calc(50% - 48px);
  top: 38px;
  width: 96px;
  height: 16px;
  border-radius: 999px;
  background: var(--clay);
}

.product-info {
  padding: 22px;
}

.product-info span {
  display: block;
  margin-bottom: 7px;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.product-info p {
  min-height: 48px;
  color: var(--muted);
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.price-row strong {
  font-size: 1.18rem;
}

.price-row button {
  min-width: 112px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  background: var(--graphite);
  color: var(--white);
  cursor: pointer;
}

.compact {
  display: block;
}

.compact .eyebrow,
.compact h2 {
  grid-column: auto;
}

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

.category-card {
  min-height: 224px;
  padding: var(--card-space);
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.category-card:hover {
  border-color: var(--sage);
  transform: translateY(-3px);
}

.category-card span {
  display: block;
  margin-bottom: 46px;
  color: var(--clay);
  font-weight: 800;
}

.category-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.35rem;
}

.category-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.story {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 36px;
  align-items: end;
}

.story > p {
  max-width: 650px;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 1.18rem;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.reviews article {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--card-space);
}

.reviews p {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 1.06rem;
}

.reviews span {
  color: var(--muted);
  font-weight: 800;
}

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: var(--section-space);
  padding: 36px;
  background:
    linear-gradient(135deg, rgba(138, 163, 145, 0.18), rgba(184, 111, 84, 0.1)),
    var(--white);
}

.checkout h2 {
  margin-bottom: 14px;
}

.checkout p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(29, 36, 36, 0.54);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: min(100%, 500px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  padding: 32px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
}

.modal-content h2 {
  margin-bottom: 14px;
  padding-right: 42px;
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.modal-text {
  margin-bottom: 24px;
  color: var(--muted);
}

.order-form {
  display: grid;
  gap: 16px;
}

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.order-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
}

.order-form input:focus {
  border-color: var(--sage);
  outline: 3px solid rgba(138, 163, 145, 0.24);
}

.modal-success .button {
  width: 100%;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 44px 0;
  color: var(--muted);
}

.footer-company {
  display: grid;
  gap: 6px;
}

.footer-company span {
  color: var(--ink);
  font-weight: 800;
}

.footer-company address {
  max-width: 360px;
  color: var(--muted);
  font-style: normal;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 700;
}

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

  .menu-button {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 16px 18px;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .header-action {
    display: none;
  }

  .hero,
  .product-layout,
  .story,
  .checkout {
    grid-template-columns: 1fr;
  }

  .story {
    gap: 18px;
    align-items: start;
  }

  .story > p {
    margin-bottom: 0;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    gap: 34px;
    padding: 30px 0 58px;
  }

  .hero-copy {
    order: 1;
    max-width: none;
  }

  .hero-media {
    float: none;
    order: 2;
    width: 100%;
    margin: 0;
    shape-outside: none;
  }

  .hero-media img {
    height: 54vh;
  }

  .feature-strip,
  .collection-grid,
  .reviews {
    grid-template-columns: 1fr;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    margin-bottom: 28px;
  }

  .section-heading a {
    grid-column: 1;
    grid-row: auto;
    align-self: start;
  }

  .checkout .button {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .feature-strip,
  .section,
  .collections,
  .story,
  .reviews,
  .checkout,
  .site-footer {
    width: min(100% - 24px, var(--container));
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.42rem, 12vw, 3.8rem);
  }

  h2 {
    font-size: clamp(1.8rem, 10vw, 2.8rem);
  }

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

  .hero-media,
  .hero-media img {
    min-height: 330px;
  }

  .hero-media img {
    height: 370px;
  }

  .hero-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

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

  .section,
  .collections,
  .story,
  .reviews {
    padding-top: 64px;
  }

  .checkout {
    margin-top: 64px;
    padding: 24px;
  }

  .modal {
    align-items: flex-end;
    padding: 12px;
  }

  .modal-dialog {
    padding: 26px 20px 20px;
  }

  .modal-content h2 {
    padding-right: 36px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
