:root {
  --bg: #f9f7f4;
  --ink: #1f1f1f;
  --ink-dark: #26241f;
  --muted: #5e5642;
  --line: #ded6cc;
  --placeholder: #c7c2ba;
  --grey: #8e8e8e;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

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

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

/* =============== NAV =============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  height: 72px;
}
.nav__inner {
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-dark);
}
.nav__logo img {
  height: 30px;
  width: auto;
}
.nav__logo-text {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink-dark);
}
.nav__links {
  list-style: none;
  display: flex;
  gap: 64px;
  margin-left: auto;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.nav__links a:hover {
  color: var(--ink);
}

/* =============== BUTTONS =============== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  border: 1px solid var(--muted);
  background: var(--bg);
  color: var(--muted);
  padding: 10px 22px;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.btn:hover {
  background: var(--muted);
  color: var(--bg);
}
.btn--pill {
  height: 34px;
}
.btn--dark {
  background: var(--ink-dark);
  color: var(--bg);
  border-color: var(--bg);
  height: 36px;
  min-width: 130px;
}
.btn--dark:hover {
  background: var(--muted);
  color: var(--bg);
}
.btn--icon {
  width: 40px;
  padding: 0;
}
.nav__cta {
  height: 32px;
  width: 90px;
}
.nav__cta.is-active {
  background: var(--ink-dark);
  color: var(--bg);
  border-color: var(--ink-dark);
}

/* =============== HERO =============== */
.hero {
  position: relative;
  height: 680px;
  overflow: hidden;
  border-bottom: 13px solid var(--ink-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  z-index: 0;
  pointer-events: none;
}
/* Subtle full-bleed scrim in case any frame of the video gets too bright
   near the headline. Kept light so the video is still the main event. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    90deg,
    rgba(249, 247, 244, 0.35) 0%,
    rgba(249, 247, 244, 0) 55%
  );
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 210px 180px 0;
}
.hero__eyebrow {
  font-family: "La Belle Aurore", cursive;
  font-size: 50px;
  color: var(--ink-dark);
  line-height: 1;
  margin-bottom: -4px;
}
.hero__title {
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-dark);
  letter-spacing: -0.01em;
  margin-bottom: 30px;
  cursor: default;
}
/* Each line sits in its own box so a dark fill can sweep behind it.
   On hover the fill slides in from the left and the text flips to white. */
.hero__title span {
  display: inline-block;
  position: relative;
  padding: 6px 18px;
  margin: 0 -18px;
  color: var(--ink-dark);
  transition: color 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  isolation: isolate;
}
.hero__title span::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink-dark);
  border-radius: 6px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: -1;
}
.hero__title:hover span {
  color: var(--bg);
}
.hero__title:hover span::before {
  transform: scaleX(1);
}
/* Stagger the second line so the fill cascades downward. */
.hero__title:hover span:nth-of-type(2) {
  transition-delay: 0.12s;
}
.hero__title:hover span:nth-of-type(2)::before {
  transition-delay: 0.12s;
}

/* =============== INTRO =============== */
.intro {
  padding: 80px 20px 40px;
  text-align: center;
}
.intro__mark {
  width: 60px;
  height: 60px;
  border: 1px solid var(--muted);
  border-radius: 999px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: 24px;
  color: var(--muted);
}
.intro__copy {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin-bottom: 40px;
}
.intro__tags {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 34px;
  border: 1px solid var(--muted);
  border-radius: 18px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.intro__heading {
  font-weight: 300;
  font-size: 24px;
  color: var(--ink);
  margin-bottom: 14px;
}
.intro__sub {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

/* =============== CAROUSEL =============== */
.carousel {
  position: relative;
  max-width: 1440px;
  margin: 60px auto 0;
  padding: 0 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel__track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  width: 100%;
}
.card {
  background: #fff;
  border-radius: 8px;
  flex-shrink: 0;
  padding: 24px;
  position: relative;
}
.card--side {
  width: 430px;
}
.card--main {
  width: 560px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  z-index: 2;
  transform: translateY(-20px);
}
.card__image {
  background: var(--placeholder);
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 472 / 240;
  margin-bottom: 32px;
}
.card--main .card__image {
  aspect-ratio: 614 / 312;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card__image--tan img {
  filter: sepia(0.2) hue-rotate(-10deg) saturate(0.7);
}
.card__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 6px;
}
.card--main .card__title {
  font-size: 20px;
}
.card__meta {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}
.card--main .card__meta {
  font-size: 14px;
}
.card__link {
  display: block;
  color: inherit;
}
.card__link:hover .card__title { color: var(--muted); }
.card__dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #d5cfc5;
}
.dot--active {
  background: var(--muted);
}

.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--ink-dark);
  color: var(--bg);
  border: none;
  cursor: pointer;
  font-size: 16px;
  z-index: 5;
}
.carousel__arrow--left {
  left: 40px;
}
.carousel__arrow--right {
  right: 40px;
}
.carousel__arrow:hover {
  background: var(--muted);
}

/* =============== MISSION =============== */
.mission {
  max-width: 1440px;
  margin: 120px auto 0;
  padding: 0 80px;
}
.mission__eyebrow {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.mission__rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 40px;
}
.mission__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}
.mission__title {
  font-size: 42px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 40px;
}
.mission__body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 450px;
  margin-bottom: 40px;
}
.mission__actions {
  display: flex;
  gap: 10px;
}
.mission__right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 30px;
}
.mission__quote {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
  letter-spacing: 0.02em;
}
.mission__quote--small {
  font-size: 12px;
}

/* =============== THUMBS =============== */
.thumbs {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 80px;
}
.thumb {
  width: 300px;
  height: 200px;
  border-radius: 3px;
  background: var(--placeholder);
  overflow: hidden;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =============== UNIQUE =============== */
.unique {
  max-width: 1440px;
  margin: 140px auto 0;
  padding: 0 88px 120px;
}
.unique__title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 40px;
}
.unique__line {
  display: block;
}
.unique__line--2 {
  padding-left: 60px;
}
.unique__line--3 {
  padding-left: 160px;
}
.unique__eyebrow {
  font-size: 24px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 24px;
  padding-left: 8px;
}
.unique__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 16px;
}
.tile {
  background: var(--grey);
  border-radius: 10px;
  overflow: hidden;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile--a {
  grid-column: 1 / span 4;
  grid-row: 1 / span 2;
}
.tile--b {
  grid-column: 5 / span 4;
  grid-row: 2 / span 2;
}
.tile--c {
  grid-column: 9 / span 4;
  grid-row: 1 / span 2;
}
.tile--d {
  grid-column: 1 / span 3;
  grid-row: 3 / span 2;
}
.tile--e {
  grid-column: 9 / span 4;
  grid-row: 3 / span 2;
}
.tile--f {
  grid-column: 4 / span 4;
  grid-row: 4 / span 1;
}
.tile--g {
  grid-column: 4 / span 2;
  grid-row: 1 / span 1;
  background: var(--bg);
  border: 1px solid var(--muted);
}

/* =============== FOOTER =============== */
.footer {
  background: var(--bg);
  padding: 30px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  min-height: 180px;
  border-top: 1px solid var(--line);
  align-items: start;
}
.footer__brand {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.footer__tag,
.footer__col p {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.8;
}
.footer__col--links {
  padding-top: 10px;
}
.footer__col--meta {
  padding-top: 10px;
  text-align: left;
}

/* =============== SHARED LINK STATES =============== */
.nav__links a.is-active {
  position: relative;
  color: var(--ink);
}
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--ink);
}

/* =============== BREADCRUMB =============== */
.breadcrumb {
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 80px 0;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 8px; }
.breadcrumb .is-current { color: var(--ink); }

/* =============== PRODUCT PAGE =============== */
.product {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 80px 80px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}
.product__gallery {
  position: sticky;
  top: 96px;
}
.product__main {
  background: var(--placeholder);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin-bottom: 16px;
}
.product__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product__thumbs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--muted) transparent;
  -webkit-overflow-scrolling: touch;
}
.product__thumbs::-webkit-scrollbar { height: 6px; }
.product__thumbs::-webkit-scrollbar-track { background: transparent; }
.product__thumbs::-webkit-scrollbar-thumb {
  background: var(--line);
  border-radius: 999px;
}
.product__thumbs::-webkit-scrollbar-thumb:hover { background: var(--muted); }
.pthumb {
  flex: 0 0 96px;
  background: var(--placeholder);
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  aspect-ratio: 1;
  cursor: pointer;
  scroll-snap-align: start;
}
.pthumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pthumb.is-active {
  border-color: var(--muted);
}

.product__info {
  padding-top: 20px;
}
.product__eyebrow {
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 16px;
}
.product__title {
  font-size: 56px;
  font-weight: 700;
  color: var(--ink-dark);
  line-height: 1;
  margin-bottom: 8px;
}
.product__sub {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}
.product__price {
  font-size: 20px;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 24px;
}
.product__rule {
  height: 1px;
  background: var(--line);
  margin-bottom: 28px;
}
.product__field {
  margin-bottom: 28px;
}
.product__label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 12px;
}
.product__value {
  font-size: 12px;
  color: var(--ink);
  margin-top: 10px;
}

.swatches {
  display: flex;
  gap: 10px;
}
.swatch {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.swatch.is-active {
  border-color: var(--muted);
  outline: 2px solid var(--bg);
  outline-offset: -5px;
}

.configs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.config-btn {
  padding: 8px 16px;
  border-radius: 18px;
  border: 1px solid var(--muted);
  background: var(--bg);
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  cursor: pointer;
  font-family: inherit;
}
.config-btn:hover {
  background: var(--line);
}
.config-btn.is-active {
  background: var(--ink-dark);
  color: var(--bg);
  border-color: var(--ink-dark);
}

.product__hint {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
  max-width: 380px;
}

/* =============== PURCHASE MODE TOGGLE =============== */
.mode-toggle {
  display: flex;
  gap: 0;
  padding: 4px;
  background: var(--line);
  border-radius: 999px;
  margin-bottom: 28px;
}
.mode-toggle__btn {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.mode-toggle__btn:hover { color: var(--ink); }
.mode-toggle__btn.is-active {
  background: var(--ink-dark);
  color: var(--bg);
}

/* =============== BUILD-YOUR-OWN COMPONENTS =============== */
.components {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.component {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.component.is-selected {
  border-color: var(--ink-dark);
  background: #fff;
}
.component__img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--placeholder);
}
.component__body { min-width: 0; }
.component__name {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 2px;
}
.component__meta {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 4px;
}
.component__price {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-dark);
}
.component__qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s, color 0.15s;
}
.qty-btn:hover {
  background: var(--ink-dark);
  color: var(--bg);
}
.qty-value {
  min-width: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.cart-summary {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 20px;
}
.cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
  padding: 4px 0;
}
.cart-summary__row--total {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-dark);
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
}

.btn.is-disabled {
  opacity: 0.5;
  pointer-events: none;
}

@media (max-width: 480px) {
  .component {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .component__qty {
    justify-self: start;
  }
}

.module-custom {
  margin-top: 14px;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.module-custom input[type="number"] {
  display: block;
  width: 100px;
  margin: 8px 0 12px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--muted);
  border-radius: 6px;
  outline: none;
}
.module-custom input[type="number"]:focus {
  border-color: var(--ink-dark);
}
.module-custom .product__hint {
  margin-bottom: 0;
}

.module-preview {
  display: flex;
  gap: 4px;
  margin-top: 16px;
  padding: 18px 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 56px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.module-unit {
  width: 28px;
  height: 32px;
  background: var(--ink-dark);
  border-radius: 8px 8px 4px 4px;
  position: relative;
}
.module-unit::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 3px;
  right: 3px;
  height: 10px;
  background: var(--muted);
  border-radius: 6px 6px 2px 2px;
}

.product__cta {
  display: flex;
  gap: 10px;
  margin: 32px 0 16px;
}
.btn--wide {
  flex: 1;
  min-width: 0;
  height: 44px;
  font-size: 12px;
}
.product__note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
.product__limit {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-dark);
  background: var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  margin: 4px 0 12px;
}
.cart-summary__note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

/* =============== INQUIRY PANEL =============== */
.inquiry__lede {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.7;
  margin: 4px 0 28px;
}
.inquiry__list {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.inquiry__list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.inquiry__list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.inquiry__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--ink-dark);
  margin-top: 6px;
}
.inquiry__item-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.inquiry__item-body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
#favBtn.is-faved {
  background: var(--muted);
  color: var(--bg);
}

/* =============== 3D VIEWER =============== */
.viewer3d {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 80px 40px;
}
.viewer3d__header {
  max-width: 560px;
  margin-bottom: 24px;
}
.viewer3d__title {
  font-size: 36px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin: 8px 0 12px;
}
.viewer3d__body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}
.viewer3d__stage {
  width: 100%;
  height: 560px;
  background: linear-gradient(180deg, #eeeae2 0%, #dcd5c9 100%);
  border-radius: 12px;
  --poster-color: transparent;
}
.viewer3d__ar {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--ink-dark);
  color: var(--bg);
  border-color: var(--ink-dark);
}
.viewer3d__stage-wrap {
  position: relative;
}
.viewer3d__controls {
  position: absolute;
  left: 20px;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  pointer-events: none;
}
.viewer3d__control {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  pointer-events: auto;
}
.viewer3d__control-label {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 8px;
}
.viewer3d__swatches {
  display: flex;
  gap: 8px;
}
.swatch-3d {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  padding: 0;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: transform 0.15s;
}
.swatch-3d:hover { transform: scale(1.08); }
.swatch-3d.is-active {
  border-color: var(--ink-dark);
  outline: 2px solid #fff;
  outline-offset: -5px;
}
.viewer3d__fabrics {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.chip-3d {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--muted);
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.chip-3d:hover { background: var(--line); }
.chip-3d.is-active {
  background: var(--ink-dark);
  color: var(--bg);
  border-color: var(--ink-dark);
}
.chip-3d--reset {
  pointer-events: auto;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  margin-left: auto;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  border: none;
  color: var(--ink-dark);
  padding: 10px 16px;
}
.chip-3d--reset:hover {
  background: #fff;
}

@media (max-width: 720px) {
  .viewer3d__controls {
    position: static;
    margin-top: 12px;
    flex-direction: column;
    align-items: stretch;
  }
  .chip-3d--reset { margin-left: 0; align-self: flex-start; }
}
.viewer3d__poster {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .viewer3d { padding: 24px; }
  .viewer3d__stage { height: 380px; }
}

/* =============== DETAILS =============== */
.details {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 80px 40px;
}
.details__header { margin-bottom: 60px; }
.details__eyebrow {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}
.details__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}
.details__title {
  font-size: 36px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 24px;
}
.details__body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 480px;
}
.specs__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-size: 12px;
}
.specs__row:last-child { border-bottom: 1px solid var(--line); }
.specs__row dt {
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 10px;
}
.specs__row dd {
  color: var(--ink);
}

/* =============== FEATURES =============== */
.features {
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 80px 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}
.feature__num {
  font-family: "La Belle Aurore", cursive;
  font-size: 32px;
  color: var(--muted);
  margin-bottom: 12px;
}
.feature__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}
.feature__body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

/* =============== COMPETITIVE MATRIX =============== */
.matrix {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 80px 40px;
}
.matrix__header {
  margin-bottom: 40px;
}
.matrix__title {
  font-size: 36px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-top: 8px;
}
.matrix__scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.matrix__table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 12px;
}
.matrix__table th,
.matrix__table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.matrix__table th {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-bottom: 18px;
  white-space: nowrap;
}
.matrix__feature-col {
  width: 240px;
}
.matrix__feature {
  text-align: left !important;
  font-weight: 500;
  color: var(--ink);
  white-space: nowrap;
}
.matrix__highlight {
  background: var(--ink-dark) !important;
  color: var(--bg) !important;
}
thead .matrix__highlight {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 8px 8px 0 0;
}
tbody tr:last-child .matrix__highlight {
  border-radius: 0 0 8px 8px;
}
.matrix__check {
  color: #3b8a58;
  font-weight: 700;
  font-size: 14px;
}
.matrix__highlight .matrix__check {
  color: #7ddfaa;
}
.matrix__x {
  color: #c7c2ba;
  font-size: 14px;
}
.matrix__half {
  font-size: 10px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
}
.matrix__highlight .matrix__half {
  color: rgba(249, 247, 244, 0.6);
}
.matrix__note {
  margin-top: 16px;
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

@media (max-width: 1100px) {
  .matrix { padding: 40px 24px; }
  .matrix__title { font-size: 28px; }
}

/* =============== CLOSING CTA =============== */
.closing {
  background: var(--ink-dark);
  color: var(--bg);
  padding: 100px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.closing__title {
  font-size: 48px;
  font-weight: 300;
  line-height: 1.1;
  color: var(--bg);
}
.closing__actions {
  display: flex;
  gap: 10px;
}
.closing .btn {
  background: transparent;
  color: var(--bg);
  border-color: var(--bg);
}
.closing .btn:hover {
  background: var(--bg);
  color: var(--ink-dark);
}

/* =============== ABOUT PAGE =============== */
.about-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 80px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-hero__title {
  font-size: 120px;
  font-weight: 700;
  line-height: 0.95;
  color: var(--ink-dark);
  margin: 0 0 28px;
  letter-spacing: -0.02em;
}
.about-hero__lede {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 440px;
}
.about-hero__image {
  aspect-ratio: 4 / 5;
  background: var(--placeholder);
  border-radius: 8px;
  overflow: hidden;
}
.about-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillars {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 80px 40px;
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 40px;
}
.pillar__title {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 12px;
}
.pillar__body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

.manifesto {
  position: relative;
  max-width: 900px;
  margin: 80px auto;
  padding: 60px 80px;
  text-align: center;
}
.manifesto__mark {
  position: absolute;
  font-family: "La Belle Aurore", cursive;
  font-size: 120px;
  line-height: 1;
  color: var(--muted);
  margin: 0;
}
/* Opening mark hugs the top-left corner. */
.manifesto > .manifesto__mark:first-of-type {
  top: 0;
  left: 0;
}
/* Closing mark hugs the bottom-right corner. */
.manifesto__mark--close {
  bottom: 0;
  right: 0;
}
.manifesto__body {
  font-size: 28px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 16px;
}
.manifesto__attrib {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.team {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 80px;
}
.team--alt {
  background: #fff;
  max-width: none;
  padding-left: calc((100vw - 1280px) / 2);
  padding-right: calc((100vw - 1280px) / 2);
}
.team__header {
  margin-bottom: 48px;
  max-width: 640px;
}
.team__title {
  font-size: 42px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin: 8px 0 16px;
}
.team__lede {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}
.team__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.member {
  display: flex;
  flex-direction: column;
}
.member__photo {
  aspect-ratio: 3 / 4;
  background: var(--placeholder);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  margin-bottom: 16px;
}
.member__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}
.member__role {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.member__bio {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}
/* =============== BEHIND THE SCENES =============== */
.behind {
  max-width: 1440px;
  margin: 60px auto 40px;
  padding: 0 80px;
}
.behind__header {
  margin-bottom: 48px;
  max-width: 640px;
}
.behind__title {
  font-size: 42px;
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin: 8px 0 16px;
}
.behind__lede {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 520px;
}
.behind__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.behind__step { display: flex; flex-direction: column; }
.behind__num {
  font-family: "La Belle Aurore", cursive;
  font-size: 28px;
  color: var(--muted);
  margin-bottom: 6px;
}
.behind__photo {
  aspect-ratio: 4 / 5;
  background-color: var(--placeholder);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 6px;
  margin-bottom: 14px;
}
.behind__step-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.behind__step-body {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .behind { padding: 0 24px; }
  .behind__grid { grid-template-columns: repeat(2, 1fr); }
  .behind__title { font-size: 32px; }
}
@media (max-width: 600px) {
  .behind__grid { grid-template-columns: 1fr; }
}

/* =============== LIGHTBOX =============== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: rgba(31, 31, 31, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: lightboxFade 0.2s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lightboxFade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 48px;
  height: 48px;
  border-radius: 999px;
  font-size: 16px;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
@media (max-width: 600px) {
  .lightbox { padding: 16px; }
  .lightbox__close, .lightbox__nav { width: 40px; height: 40px; }
  .lightbox__close { top: 12px; right: 12px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

.member__link {
  display: inline-block;
  margin-top: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-dark);
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.member__link:hover {
  color: var(--muted);
  border-color: var(--muted);
}

/* =============== CONTACT PAGE =============== */
.contact {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 80px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-dark);
  margin: 8px 0 32px;
}
.contact__body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 440px;
  margin-bottom: 40px;
}
.contact__meta {
  list-style: none;
  border-top: 1px solid var(--line);
}
.contact__meta li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.contact__meta span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  align-self: center;
}
.contact__meta a {
  color: var(--ink);
}
.contact__meta a:hover { color: var(--muted); }

.contact__form {
  background: #fff;
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field label {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  outline: none;
  resize: none;
}
/* Custom select: strip native chrome, add our own caret. */
.field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 32px 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1L6 6L11 1' stroke='%235e5642' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px 8px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: border-color 0.15s, background-color 0.15s;
}
.field select:hover {
  border-color: var(--muted);
}
.field select:focus {
  border-color: var(--ink-dark);
  background-color: #fff;
}
.field select option {
  font-family: inherit;
  font-size: 13px;
  color: var(--ink);
  background: #fff;
}
.field input:focus,
.field textarea:focus {
  border-bottom-color: var(--ink-dark);
}
.form__status {
  font-size: 12px;
  margin-top: 8px;
}
.form__status--ok { color: #2e6b3b; }
.form__status--error { color: #9b3a3a; }

@media (max-width: 1100px) {
  .hero__content { padding: 180px 40px 0; }
  .hero__title { font-size: 56px; }
  .mission__grid { grid-template-columns: 1fr; gap: 40px; }
  .mission__right { text-align: left; }
  .carousel { padding: 0 20px; }
  .card--side { display: none; }
  .unique { padding: 0 24px 80px; }
  .unique__title { font-size: 48px; }
  .unique__line--2 { padding-left: 20px; }
  .unique__line--3 { padding-left: 60px; }
  .footer { grid-template-columns: 1fr; padding: 30px 24px; }
  .product { grid-template-columns: 1fr; padding: 24px; gap: 32px; }
  .product__gallery { position: static; }
  .details { padding: 40px 24px; }
  .details__grid { grid-template-columns: 1fr; gap: 40px; }
  .features { grid-template-columns: 1fr; padding: 40px 24px; gap: 40px; }
  .closing { padding: 60px 24px; }
  .closing__title { font-size: 32px; }
  .contact { grid-template-columns: 1fr; padding: 40px 24px; gap: 40px; }
  .contact__title { font-size: 44px; }
  .breadcrumb { padding: 16px 24px 0; }
  .about-hero { grid-template-columns: 1fr; padding: 40px 24px; gap: 32px; }
  .about-hero__title { font-size: 72px; }
  .pillars { padding: 40px 24px; }
  .pillars__grid { grid-template-columns: 1fr; gap: 32px; }
  .manifesto { padding: 40px 56px; }
  .manifesto__mark { font-size: 88px; }
  .manifesto__body { font-size: 20px; }
  .team, .team--alt { padding: 60px 24px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .team__title { font-size: 32px; }

  /* Home-page specific tweaks at tablet */
  .nav__links { gap: 32px; }
  .nav__inner { padding: 0 20px; gap: 16px; }
  .hero { height: auto; min-height: 560px; }
  .hero__content { padding: 160px 40px 80px; }
  .intro { padding: 60px 24px 32px; }
  .intro__copy br { display: none; }
  .intro__sub br { display: none; }
  .mission { padding: 0 24px; margin-top: 80px; }
  .thumbs { flex-wrap: wrap; gap: 12px; margin-top: 60px; }
  .thumb { width: calc(50% - 6px); height: 160px; }
  /* Simpler 2-col grid for the UNIQUE tiles on tablet */
  .unique__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
  }
  .unique__grid .tile {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* ===== PHONE ===== */
@media (max-width: 600px) {
  /* Nav collapses to just logo + INQUIRE */
  .nav__links { display: none; }
  .nav__inner { padding: 0 16px; }
  .nav__logo img { height: 24px; }

  /* Hero */
  .hero { min-height: 480px; height: 70vh; }
  .hero__content { padding: 120px 24px 60px; }
  .hero__eyebrow { font-size: 36px; }
  .hero__title { font-size: 44px; }
  .hero::before {
    background: linear-gradient(
      90deg,
      rgba(249, 247, 244, 0.6) 0%,
      rgba(249, 247, 244, 0.1) 100%
    );
  }

  /* Intro */
  .intro__copy { font-size: 12px; }
  .intro__heading { font-size: 20px; }
  .intro__tags { flex-wrap: wrap; }

  /* Carousel: only the main card */
  .carousel { padding: 0 16px; }
  .carousel__track { gap: 0; }
  .card--main {
    width: 100%;
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }
  .carousel__arrow--left { left: 12px; }
  .carousel__arrow--right { right: 12px; }
  .carousel__arrow {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  /* Mission */
  .mission { margin-top: 60px; padding: 0 20px; }
  .mission__title { font-size: 28px; }
  .mission__body { font-size: 13px; }
  .mission__quote { font-size: 11px; }
  .thumb { width: 100%; height: 180px; }

  /* Unique */
  .unique { padding: 0 16px 60px; margin-top: 80px; }
  .unique__title { font-size: 32px; }
  .unique__line--2 { padding-left: 12px; }
  .unique__line--3 { padding-left: 32px; }
  .unique__eyebrow { font-size: 18px; }
  .unique__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }

  /* Footer */
  .footer { padding: 24px 16px; gap: 24px; }
  .footer__brand { font-size: 16px; }

  /* Product page tweaks */
  .product__title { font-size: 40px; }
  .pthumb { flex: 0 0 72px; }

  /* About page */
  .about-hero__title { font-size: 48px; }
  .team__grid { grid-template-columns: 1fr; }
  .manifesto__body { font-size: 16px; }

  /* Contact page */
  .contact__title { font-size: 32px; }
  .contact__form { padding: 24px; }
}
