:root {
  --font-heading: "DM Sans", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --container: 1440px;
  --space-section: 10rem;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;

  background: #f6f4f1;
  color: #2f2f2f;

  -webkit-font-smoothing: antialiased;
}
img,
svg,
video {
  display: block;
  max-width: 100%;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  line-height: 1.1;
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);

  line-height: 1;

  font-weight: 600;

  letter-spacing: -0.04em;
}
h2 {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
h3 {
  font-size: 1.25rem;
}

p {
  max-width: 65ch;
}

.container {
  width: min(92%, var(--container));
  margin-inline: auto;
}

.section {
  padding-block: 8rem;
}

.section-heading,
.content-stack,
.hero__content,
.cta__inner {
  display: grid;
  gap: 1rem;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  z-index: 1000;

  background: rgba(246,244,241,.92);

  backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(0,0,0,.05);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.5rem;
}

.brand {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
}

.nav-toggle {
  display: inline-grid;
  gap: 0.25rem;
  padding: 0.5rem;
  background: transparent;
  border: 1px solid currentColor;
}

.nav-toggle span {
  display: block;
  width: 1.25rem;
  height: 1px;
  background: currentColor;
}

.site-nav {
  position: absolute;
  inset: 5rem 1rem auto;
  display: none;
  padding: 1rem;
  background: Canvas;
  border: 1px solid currentColor;
}
.site-nav a {

  font-size: 12px;

  letter-spacing: .08em;

  text-transform: uppercase;

  opacity: .7;

}
.site-nav.is-open {
  display: grid;
  gap: 1rem;
}

.hero {
  padding-block-start: 3rem;
}

.hero__grid,
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 8rem;

  align-items: start;
}
/* ========================================
   PRODUCT LAYOUT
======================================== */

.product-grid {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid currentColor;
}

.media-placeholder {
  display: grid;
  min-height: 18rem;
  place-items: center;

  border: none;

  background: #ebe7e2;
  border-radius: 24px;
}
.feature-grid,
.product-card-grid,
.faq-list,
.footer__grid {
  display: grid;
  gap: 1rem;
}

.product-card-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  margin-top: 3rem;
}
.feature-item,
.product-card {
  display: grid;
  gap: 0.75rem;

  padding: 0;

  border: none;

  background: transparent;
}
details {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid rgba(0,0,0,.1);
}
.product-card .media-placeholder {
  width: 110px;
  height: 110px;

  min-height: auto;

  border-radius: 50%;

  margin: 0 auto 12px;
}
.check-list {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.25rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 36rem;
  border-collapse: collapse;
}

th,
td {
  padding: 1rem;
  text-align: left;
  border: 1px solid currentColor;
}

summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
}

.cta__inner {
  text-align: center;
  justify-items: center;
}

.site-footer {
  padding-block: 2rem;
}

.site-footer {
  padding-top: 6rem;
}

.site-footer .brand {
  font-size: 14px;
}

.site-footer a {
  font-size: 11px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
/* ========================================
    HERO SECTION
======================================== */

.hero {
  min-height: 65vh;

  display: flex;
  align-items: center;

  background-image: url("../assets/images/hero.jpg");

  background-size: cover;
  background-position: center;

  position: relative;
}

.hero::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(255,255,255,.35);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero__grid {
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero__content {
  max-width: 520px;
  margin: 0 auto;
}

.hero .media-placeholder {
  display: none;
}
.hero-logo {
  font-family: "DM Sans";
  font-size: 14px;
  letter-spacing: 4px;
  text-transform: uppercase;

  margin-bottom: 24px;
}
.product-card h3 {
  font-size: 12px;
  margin-top: 8px;
}

.product-card p {
  font-size: 10px;
  opacity: 0.6;
}
.faq-list details {
  border: none;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
}

.faq-list summary {
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}



.faq-list {
  margin-top: 4rem;
}

.content-stack {
  max-width: 420px;
}

.content-stack .button {
  width: 160px;
}

.story-content {
  display: flex;

  flex-direction: column;

  gap: 1.5rem;
}
.story-content h2 {
  font-size: 72px;
  line-height: 1.05;
  max-width: none;
}

.story-content hr {
  border: none;
  border-top: 1px solid #bdb7b0;
  margin: 1rem 0;
}
/* ==========================================
   STORY SECTION
========================================== */

.story-section {
    padding: 120px 6%;
    background: #f8f6f4;
}

.story-container {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 60px;

    align-items: start;
}

.story-image img {
    width: 100%;
    display: block;
    border-radius: 2px;
}

.story-label {
    display: block;

    font-size: 14px;
    letter-spacing: 1px;

    margin-bottom: 20px;
}


.story-subtitle {
    font-size: 20px;
    font-style: italic;

    color: #555;

    margin-bottom: 40px;
}

.story-products {
    font-size: 18px;
    color: #222;

    margin: 0;
}
.story-note {
  font-style: italic;
  line-height: 1.8;
}

.story-products {
  margin-top: 1.5rem;

  font-size: 18px;

  color: #2f2f2f;
}

.story-content p {
  line-height: 1.8;
}

.story-image-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #e5e0da;

  border-radius: 4px;

  font-size: 14px;
  letter-spacing: 3px;
  text-transform: uppercase;

  color: #777;
}
/* ========================================
   OUR PROMISE
======================================== */

.promise-header {
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;

  margin-bottom: 3rem;
}

.promise-header h2 {
  font-size: 72px;
  line-height: 1.1;
  margin-top: 1rem;
}

.promise-divider {
  border: none;
  border-top: 2px solid #9d9d9d;
  margin: 3rem 0;
}

.promise-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 3rem 4rem;
}

.promise-item {
  border-left: 6px solid #23232b;

  padding-left: 2rem;
}

.promise-item h3 {
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.promise-item p {
  font-size: 16px;
  line-height: 1.8;
}
/* ========================================
   COOLING BLANKETS COLLECTION
======================================== */

.collection-header {
  margin-bottom: 3rem;
}

.collection-label {
  font-size: 14px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.collection-description {
  margin-top: 1.5rem;
  font-size: 18px;
}

.collection-divider {
  border: none;
  border-top: 2px solid #9d9d9d;
  margin-top: 2rem;
}

.product-card-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 5rem 4rem;
  margin-top: 3rem;
}

.collection-card {
  text-align: center;
}

.collection-image {
  width: 320px;
  height: 320px;

  margin: 0 auto 2rem;

  border-radius: 50%;

  background: #e5e0da;
}

.collection-card h3 {
  font-size: 28px;
  margin-bottom: 1rem;
}

.collection-tagline {
  font-size: 16px;
  font-style: italic;
  margin-bottom: 1rem;
}

.collection-features {
  font-size: 16px;
  line-height: 1.8;
  max-width: 340px;
  margin: 0 auto;
}

.collection-note {
  text-align: center;

  max-width: none;

  width: 100%;

  margin: 4rem auto 0;

  font-style: italic;

  font-size: 18px;
}
/* ========================================
   FIND YOUR PILLOW
======================================== */

.coming-soon {
  text-align: left;

  max-width: none;

  margin-top: 2rem;

  font-style: italic;

  font-size: 18px;
}
/* ========================================
   NOMEO TOWELS
======================================== */

.towels-layout {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: 4rem;

  align-items: start;
}

.towels-content h2 {
  font-size: 72px;
  line-height: 1.1;

  margin-top: 1rem;
  margin-bottom: 2rem;
}

.towels-tagline {
  font-style: italic;

  font-size: 18px;

  margin-top: 2rem;
  margin-bottom: 2rem;
}

.towels-description {
  font-size: 18px;

  line-height: 1.8;

  margin-bottom: 2rem;
}

.towels-features {
  font-size: 16px;

  line-height: 1.8;

  margin-bottom: 2rem;
}

.towels-highlight {
  background: #FDF3B5;

  padding: 2rem;

  margin-bottom: 2rem;
}

.towels-highlight h3 {
  font-size: 22px;

  margin-bottom: 1.5rem;
}

.towels-highlight p {
  margin-bottom: 1rem;
}

.highlight-note {
  font-style: italic;
}

.towels-availability {
  font-style: italic;

  margin-bottom: 2rem;
}

.towels-image-placeholder {
  width: 100%;

  aspect-ratio: 1 / 1;

  background: #e5e0da;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 4px;

  letter-spacing: 2px;

  color: #777;
}
/* ========================================
   FAQ
======================================== */

.faq-header {
  display: flex;
  flex-direction: column;
  align-items: center;

  margin-bottom: 3rem;
}

.faq-header h2 {
  font-size: 72px;
  margin-top: 1rem;
}

.faq-description {
  margin-top: 1.5rem;
  margin-left: auto;
  margin-right: auto;

  text-align: center;

  max-width: none;
}

.faq-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 3rem;
}

.faq-card {
  border-left: 6px solid #23232b;

  padding-left: 2rem;
}

.faq-card h3 {
  font-size: 28px;

  line-height: 1.25;

  margin-bottom: 1rem;
}

.faq-card p {
  font-size: 16px;

  line-height: 1.8;

  max-width: none;
}
.faq-card-center {
  grid-column: 2;
}
.faq-header .collection-label {
  width: 100%;
  text-align: center;
}
/* ========================================
   CTA SECTION
======================================== */

.cta-section {

  position: relative;

  padding: 8rem 0;

  background-image:

    linear-gradient(

      rgba(248,246,244,.85),

      rgba(248,246,244,.85)

    ),
    url("https://images.unsplash.com/photo-1505693416388-ac5ce068fe85");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  overflow: hidden;

}

.cta-section::before {
  content: "";

  position: absolute;
  inset: 0;

  background: rgba(248,246,244,.88);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-content {
  text-align: center;

  max-width: 1100px;

  margin: 0 auto;
}

.cta-label {
  font-size: 14px;

  letter-spacing: .08em;

  text-transform: uppercase;

  display: block;

  width: 100%;

  text-align: center;

  margin-bottom: 0.5rem;
}

.cta-content h2 {
  font-size: 72px;

  margin-top: 0.5rem;

  line-height: 1.05;
}

.cta-divider {
  border: none;

  border-top: 2px solid #9d9d9d;

  margin: 3rem 0;
}

.cta-description {
  text-align: center;

  max-width: none;

  margin-bottom: 2rem;
}

.cta-button {
  display: inline-block;

  padding: 1rem 2rem;

  border: 1px solid #23232b;

  background: transparent;

  font-weight: 500;
}

.cta-coming-soon {
  text-align: center;

  margin-top: 2rem;

  font-style: italic;
}

.cta-delivery {
  text-align: center;

  margin-top: 1rem;

  font-style: italic;
}

.johor-box {
  max-width: 1100px;

  margin: 4rem auto 0;

  background: #b7d1f4;

  padding: 3rem;
}

.johor-box h3 {
  font-size: 36px;

  margin-bottom: 2rem;
}

.johor-box p {
  max-width: none;

  margin-bottom: 1.5rem;
}

.johor-button {
  display: inline-block;

  margin-top: 1rem;

  padding: 1rem 2rem;

  border: 1px solid #23232b;

  background: #fff;

  font-weight: 500;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-label,
.cta-coming-soon,
.cta-delivery {
  width: auto !important;
  max-width: none !important;

  margin-left: auto !important;
  margin-right: auto !important;

  text-align: center !important;
}
/* ========================================
   HERO BANNER
======================================== */

.hero-banner {

  position: relative;

  min-height: 100vh;

  background-image:
    url("../images/hero-background.PNG");

  background-size: cover;

  background-position: center;

  background-repeat: no-repeat;

  display: flex;

  align-items: center;

  justify-content: center;
}

.hero-overlay {

  width: 100%;

  max-width: 1440px;

  min-height: 100vh;

  padding: 0 80px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;
}

.hero-logo {

  width: 560px;

  max-width: 75%;

  object-fit: contain;

  margin-bottom: 80px;
}

.hero-bottom {

  width: 100%;

  margin-top: 0;

  padding-bottom: 50px;
}

.hero-divider {

  width: 100%;

  border: none;

  border-top: 2px solid rgba(0,0,0,.45);

  margin-bottom: 24px;
}

.hero-note {

  text-align: center;

  font-size: 20px;

  font-style: italic;

  color: rgba(0,0,0,.8);

  max-width: none;
}
/* ========================================
   REAL IMAGES
======================================== */

/* 产品卡片图片 */
.collection-image {
  overflow: hidden;
}

.collection-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Story 图片 */
.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* NOMEO 图片 */
.towels-image img {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 4px;
}
/* ========================================
   SCROLL REVEAL ANIMATION
======================================== */

.reveal {
  opacity: 0;
  transform: translateY(50px);

  transition:
    opacity 1.5s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
/* ========================================
   PRODUCT MODAL
======================================== */

.product-trigger {
  cursor: pointer;
}

.product-trigger:hover img {
  transform: scale(1.03);
}

.product-trigger img {
  transition: transform .4s ease;
}

.product-modal {

  display: none;

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,.65);

  backdrop-filter: blur(4px);

  z-index: 9999;

  justify-content: center;

  align-items: center;

  padding: 2rem;
}

.modal-box {

  position: relative;

  background: #f8f6f4;

  width: min(900px, 95vw);

  max-height: 85vh;

  overflow-y: auto;

  border-radius: 24px;

  padding: 3rem;
}

.modal-close {

  position: absolute;

  top: 20px;

  right: 30px;

  font-size: 40px;

  cursor: pointer;
}

.modal-title {

  font-size: 42px;

  margin-bottom: 1rem;
}

.modal-desc {

  line-height: 1.8;

  margin-bottom: 2rem;
}

.modal-features {

  padding-left: 1.2rem;
}

.modal-features li {

  margin-bottom: .8rem;
}