/* ===================== TOKENS ===================== */
:root {
    /* New palette */
    --bg-cream: #f7efe6;
    --bg-rose: #f1e2de;
    --bg-sand: #ede3d6;
    --accent-deep: #8c5a32;
    --good: #3f7a52;
  
    /* Mapped to existing token names used across the sheet */
    --cream: #f7efe6;
    --cream-soft: #f1e2de;
    --panel: #ede3d6;
    --panel-2: #f1e2de;
    --ink: #24211e;
    --ink-soft: #6b625c;
    --line: rgba(36, 33, 30, 0.12);
    --accent: #bf7a45;
    --white: #ffffff;
    --dark: #1c1917;
    --radius: 22px;
    --container: 1120px;
  }
  
  /* ===================== RESET ===================== */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  .bg-cream {
    background: var(--cream);
  }
  
  body {
    font-family: "Inter", system-ui, sans-serif;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  
  img {
    display: block;
    max-width: 100%;
    height: auto;
  }
  
  a {
    color: inherit;
    text-decoration: none;
  }
  
  button {
    font: inherit;
    cursor: pointer;
  }
  
  .container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
  }
  
  /* Serif display font */
  h1,
  h2,
  h3,
  .logo {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0.01em;
  }
  
  .eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 600;
    margin-bottom: 12px;
  }
  .eyebrow--center {
    text-align: center;
  }
  
  .section-title {
    text-align: center;
    font-size: clamp(28px, 4vw, 40px);
  }
  
  /* ===================== HEADER ===================== */
  .header {
    border-bottom: 1px solid var(--line);
    background: var(--cream);
    position: sticky;
    top: 0;
    z-index: 50;
  }
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
  }
  .logo {
    font-size: 22px;
    letter-spacing: 0.14em;
    font-weight: 700;
  }
  .nav {
    display: flex;
    gap: 40px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav__link {
    font-size: 14px;
    color: var(--ink-soft);
    padding-bottom: 2px;
    transition: color 0.2s;
  }
  .nav__link:hover {
    color: var(--ink);
  }
  .nav__link--active {
    color: var(--ink);
    border-bottom: 1.5px solid var(--ink);
  }
  .header__actions {
    display: flex;
    gap: 6px;
  }
  .icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: transparent;
    border: none;
    color: var(--ink);
    transition: background 0.2s;
  }
  .icon-btn:hover {
    background: var(--panel);
  }
  
  /* ===================== PRODUCT HERO ===================== */
  .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    padding-top: 40px;
    padding-bottom: 64px;
    align-items: start;
  }
  .gallery__main {
    background: var(--panel);
    border-radius: var(--radius);
    padding: 28px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .gallery__main img {
    border-radius: 8px;
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
  .gallery__thumbs {
    display: flex;
    gap: 14px;
    margin-top: 16px;
  }
  .thumb {
    width: 78px;
    height: 78px;
    border-radius: 10px;
    background: var(--panel);
    border: 1.5px solid transparent;
    padding: 8px;
    overflow: hidden;
    transition: border-color 0.2s;
  }
  .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 6px;
  }
  .thumb--active,
  .thumb:hover {
    border-color: var(--ink);
  }
  
  .product__details {
    padding-top: 8px;
  }
  .product__title {
    font-size: clamp(34px, 4.5vw, 46px);
    margin-bottom: 14px;
  }
  .rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
  }
  .stars {
    color: var(--ink);
    letter-spacing: 2px;
    font-size: 14px;
  }
  .rating__text {
    font-size: 13px;
    color: var(--ink-soft);
  }
  .price-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
  }
  .price {
    font-size: 24px;
    font-weight: 700;
  }
  .badge {
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--panel);
    color: var(--ink);
  }
  .product__desc {
    font-size: 15px;
    color: var(--ink-soft);
    max-width: 46ch;
    margin-bottom: 32px;
  }
  
  .features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 36px;
  }
  .feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .feature__icon {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: var(--panel);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
  }
  .feature h3 {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 2px;
  }
  .feature p {
    font-size: 13.5px;
    color: var(--ink-soft);
  }
  
  /* ===================== BUTTON ===================== */
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    padding: 16px 28px;
    transition: opacity 0.2s, transform 0.1s;
  }
  .btn--primary {
    background: var(--ink);
    color: var(--cream);
    width: 100%;
  }
  .btn--primary:hover {
    opacity: 0.9;
  }
  .btn--primary:active {
    transform: translateY(1px);
  }
  
  /* ===================== LIFESTYLE BANNER ===================== */
  .banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--panel-2);
    align-items: center;
  }
  .banner__content {
    padding: 64px clamp(24px, 5vw, 80px);
  }
  .banner__title {
    font-size: clamp(32px, 4.5vw, 46px);
    margin-bottom: 16px;
  }
  .banner__sub {
    font-size: 15px;
    color: var(--ink-soft);
    margin-bottom: 36px;
  }
  .use-cases {
    list-style: none;
    display: flex;
    gap: 40px;
  }
  .use-cases li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--ink-soft);
  }
  .use-cases__icon {
    color: var(--ink);
  }
  .banner__image {
    height: 100%;
    min-height: 340px;
  }
  .banner__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* ===================== FEATURE GRID ===================== */
  .feature-grid {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .section-title {
    margin-bottom: 44px;
  }
  .cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .card__image {
    background: var(--panel);
    border-radius: var(--radius);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-bottom: 16px;
  }
  .card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .card h3 {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
  }
  .card p {
    font-size: 13.5px;
    color: var(--ink-soft);
  }
  
  /* ===================== DARK REST ===================== */
  .rest {
    position: relative;
    color: var(--white);
    min-height: 600px;
    display: flex;
    align-items: center;
  }
  .rest img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }
  .rest__overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    background: linear-gradient(
      90deg,
      rgba(15, 13, 11, 0.92) 0%,
      rgba(15, 13, 11, 0.7) 45%,
      rgba(15, 13, 11, 0) 80%
    );
    padding: 177px 0;
  }
  .rest__title {
    font-size: clamp(30px, 4.5vw, 44px);
    margin-bottom: 12px;
  }
  .rest__sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    /* max-width: 24ch; */
  }
  
  /* ===================== SPECIFICATIONS ===================== */
  .specs {
    padding-top: 72px;
    padding-bottom: 40px;
  }
  .specs__panel {
    background: var(--panel);
    border-radius: 18px;
    padding: 48px clamp(24px, 4vw, 56px);
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    gap: 40px;
    align-items: center;
  }
  .specs__title {
    font-size: clamp(26px, 3vw, 34px);
    margin-bottom: 12px;
  }
  .specs__desc {
    font-size: 14px;
    color: var(--ink-soft);
  }
  .specs__diagram {
    position: relative;
    padding: 20px 30px 34px;
  }
  .specs__diagram img {
    width: 100%;
    object-fit: contain;
  }
  .dim {
    position: absolute;
    font-size: 12px;
    color: var(--ink-soft);
  }
  .dim--height {
    right: -4px;
    top: 50%;
    transform: translateY(-50%);
  }
  .dim--width {
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
  }
  .specs__table {
    display: flex;
    flex-direction: column;
  }
  .specs__row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13.5px;
  }
  .specs__row:last-child {
    border-bottom: none;
  }
  .specs__row dt {
    color: var(--ink-soft);
  }
  .specs__row dd {
    color: var(--ink);
    font-weight: 500;
    white-space: break-spaces;
    width: 135px;
  }
  
  /* ===================== BOX ===================== */
  .box {
    padding-top: 40px;
    padding-bottom: 72px;
  }
  .box__title {
    font-size: clamp(26px, 3vw, 36px);
    margin-bottom: 40px;
  }
  .box__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .box__item {
    text-align: center;
  }
  .box__num {
    display: block;
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 8px;
  }
  .box__image {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
  }
  .box__image img {
    max-height: 100%;
    object-fit: contain;
  }
  .box__item p {
    font-size: 13.5px;
    color: var(--ink-soft);
  }
  
  /* ===================== TRUST ===================== */
  .trust {
    background: var(--panel-2);
    padding: 32px 0;
  }
  .trust__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
  .trust__item {
    display: flex;
    align-items: center;
    gap: 14px;
  }
  .trust__icon {
    color: var(--ink);
  }
  .trust__item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
  }
  .trust__item span {
    font-size: 12.5px;
    color: var(--ink-soft);
  }
  
  /* ===================== FOOTER ===================== */
  .footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding-top: 56px;
  }
  .footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
  }
  .logo--light {
    color: var(--white);
    display: inline-block;
    margin-bottom: 16px;
  }
  .footer__brand p {
    font-size: 13.5px;
    max-width: 30ch;
    margin-bottom: 20px;
  }
  .socials {
    display: flex;
    gap: 8px;
  }
  .socials .icon-btn {
    color: rgba(255, 255, 255, 0.8);
  }
  .socials .icon-btn:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  .footer__col h4 {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
  }
  .footer__col a {
    display: block;
    font-size: 13.5px;
    padding: 6px 0;
    transition: color 0.2s;
  }
  .footer__col a:hover {
    color: var(--white);
  }
  .footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12.5px;
  }
  .footer__bottom a:hover {
    color: var(--white);
  }
  
  /* ===================== RESPONSIVE ===================== */
  @media (max-width: 900px) {
    .nav {
      display: none;
    }
    .product {
      grid-template-columns: 1fr;
      gap: 32px;
    }
    .banner {
      grid-template-columns: 1fr;
    }
    .banner__image {
      min-height: 260px;
      order: -1;
    }
    .cards {
      grid-template-columns: repeat(2, 1fr);
    }
    .specs__panel {
      grid-template-columns: 1fr;
      gap: 28px;
    }
    .trust__grid {
      grid-template-columns: repeat(2, 1fr);
    }
    .footer__inner {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  @media (max-width: 560px) {
    .cards {
      grid-template-columns: 1fr;
    }
    .box__grid {
      grid-template-columns: 1fr;
    }
    .trust__grid {
      grid-template-columns: 1fr;
    }
    .footer__inner {
      grid-template-columns: 1fr;
    }
    .use-cases {
      gap: 24px;
      flex-wrap: wrap;
    }
  }
  