/* ==========================================================================
   AIRLA — Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Jost:wght@300;400;500;600&display=swap');

:root{
  --ink: #211c17;
  --ink-soft: #5b5348;
  --ink-faint: #948a7c;
  --bg: #faf6ef;
  --bg-alt: #f1e9db;
  --bg-deep: #e9dfcd;
  --white: #ffffff;
  --accent: #a1503a;
  --accent-soft: #c17a5f;
  --line: #ddd2bd;
  --shadow: 0 30px 60px -30px rgba(33, 28, 23, 0.25);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Jost', 'Helvetica Neue', Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(1.5rem, 5vw, 4rem);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
button{ font-family: inherit; cursor: pointer; }

h1, h2, h3, h4{
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  letter-spacing: 0.01em;
}

.eyebrow{
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section{ padding: clamp(4rem, 9vw, 8rem) 0; }
.section--tight{ padding: clamp(3rem, 6vw, 5rem) 0; }
.section--alt{ background: var(--bg-alt); }
.section--ink{ background: var(--ink); color: var(--bg); }

.section-head{
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
}
.section-head h2{ font-size: clamp(2.1rem, 4vw, 3rem); margin-top: 0.6rem; }
.section-head p{ color: var(--ink-soft); margin-top: 1rem; }
.section--ink .section-head p{ color: rgba(250,246,239,0.72); }

/* ---------------- Buttons ---------------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: background 0.35s ease, color 0.35s ease, border-color .35s ease, transform .3s ease;
  white-space: nowrap;
}
.btn:hover{ background: var(--ink); color: var(--bg); transform: translateY(-2px); }

.btn--solid{ background: var(--ink); color: var(--bg); }
.btn--solid:hover{ background: var(--accent); border-color: var(--accent); color: var(--white); }

.btn--accent{ border-color: var(--accent); color: var(--accent); }
.btn--accent:hover{ background: var(--accent); border-color: var(--accent); color: var(--white); }

.btn--light{ border-color: rgba(250,246,239,0.6); color: var(--bg); }
.btn--light:hover{ background: var(--bg); color: var(--ink); }

.btn--full{ width: 100%; justify-content: center; }

.btn svg{ width: 15px; height: 15px; flex-shrink: 0; }

/* ---------------- Nav ---------------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 1.6rem 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}
.site-header .container{ display: flex; align-items: center; justify-content: space-between; }

.site-header.is-scrolled,
.site-header.is-solid{
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: 0 1px 0 var(--line);
}

.logo{
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: inherit;
}

.nav-links{
  display: flex;
  align-items: center;
  gap: 2.6rem;
}
.nav-links a{
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after{
  content: '';
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right .35s ease;
}
.nav-links a:hover::after,
.nav-links a.is-active::after{ right: 0; }

.nav-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background .3s ease, color .3s ease;
}
.nav-icon:hover{ background: var(--ink); color: var(--bg); }
.nav-icon svg{ width: 16px; height: 16px; }

.nav-toggle{
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-toggle span{ width: 24px; height: 1px; background: currentColor; display: block; }

/* ---------------- Hero ---------------- */
.hero{
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--bg);
  color: var(--ink);
}
.hero__panel{
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 10vw, 8rem) var(--gutter) 4rem;
}
.hero__media{
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
}
.hero__media img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 12%;
}
.hero h1{
  font-size: clamp(3.4rem, 7vw, 5.6rem);
  margin: 0.6rem 0 1.3rem;
  letter-spacing: 0.03em;
}
.hero p{
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: var(--ink-soft);
  max-width: 400px;
  margin: 0 0 2.4rem;
}
.hero__actions{ display: flex; gap: 1rem; flex-wrap: wrap; }
.scroll-cue{
  display: flex; align-items: center; gap: .8rem;
  font-size: .68rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 3.5rem;
}
.scroll-cue::after{
  content: '';
  width: 42px; height: 1px;
  background: var(--ink-faint);
  animation: scrollcue 2.2s ease-in-out infinite;
}
@keyframes scrollcue{ 0%{ transform: scaleX(0); transform-origin: left; } 50%{ transform: scaleX(1); transform-origin: left; } 51%{ transform-origin: right; } 100%{ transform: scaleX(0); transform-origin: right; } }

@media (max-width: 860px){
  .hero{ grid-template-columns: 1fr; grid-template-rows: 56vh auto; min-height: unset; }
  .hero__media{ order: 1; }
  .hero__panel{ order: 2; padding: 3.2rem var(--gutter) 4rem; text-align: left; }
}

/* ---------------- Quote ---------------- */
.quote-block{
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.quote-block .mark{
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--accent);
  line-height: 1; display:block; margin-bottom: 0.5rem;
}
.quote-block blockquote{
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.3rem);
  margin: 0 0 1.6rem;
  color: var(--ink);
}
.quote-block .lead{
  color: var(--ink-soft);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------------- Product Grid / Cards ---------------- */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem 1.8rem;
}
.product-grid--shop{ grid-template-columns: repeat(3, 1fr); }

.product-card{
  position: relative;
}
.product-card__frame{
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  aspect-ratio: 2 / 3;
}
.product-card__frame img{
  width: 100%; height: 100%; object-fit: cover;
  transition: opacity .6s ease, transform .8s ease;
}
.product-card__frame img.img-alt{ position: absolute; inset: 0; opacity: 0; }
.product-card:hover .img-alt{ opacity: 1; }
.product-card:hover .img-main{ transform: scale(1.04); }

.product-card__quick{
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.9rem;
  opacity: 0; transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
}
.product-card:hover .product-card__quick{ opacity: 1; transform: translateY(0); }

.product-card__body{ padding-top: 1rem; text-align: center; }
.product-card__body h3{ font-size: 1.3rem; font-weight: 500; }
.product-card__body .price{ color: var(--accent); font-size: 0.92rem; letter-spacing: .04em; margin-top: 0.3rem; display: block; }

.view-link{
  position: absolute; inset: 0; z-index: 2;
}

/* ---------------- Slow Luxury split ---------------- */
.split{
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.split__media{ overflow: hidden; }
.split__media img{ width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.split__text .eyebrow{ display:block; margin-bottom: .8rem; }
.split__text h2{ font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1.3rem; }
.split__text p{ color: var(--ink-soft); font-size: 1.05rem; }
.split--reverse{ direction: rtl; }
.split--reverse > *{ direction: ltr; }

/* ---------------- Values ---------------- */
.values-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.4rem;
}
.value-card{
  padding: 2.2rem 1.6rem;
  border-top: 1px solid var(--line);
  text-align: left;
}
.value-card .num{ font-family: var(--font-display); font-size: 1rem; color: var(--accent); }
.value-card h3{ font-size: 1.5rem; margin: 0.8rem 0 0.8rem; }
.value-card p{ color: var(--ink-soft); font-size: 0.95rem; }

/* ---------------- Instagram Banner ---------------- */
.insta-banner{
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: clamp(4rem, 9vw, 6.5rem) var(--gutter);
}
.insta-banner h2{ font-size: clamp(2rem, 4vw, 3rem); }
.insta-banner p{ color: rgba(250,246,239,0.75); max-width: 520px; margin: 1rem auto 2rem; }
.insta-handle svg{ width: 16px; height: 16px; flex-shrink: 0; }
.insta-handle{
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); letter-spacing: .1em; font-size: .85rem;
  color: var(--accent-soft); margin-bottom: 1.6rem;
}

/* ---------------- Footer ---------------- */
.site-footer{
  background: var(--ink);
  color: rgba(250,246,239,0.75);
  padding: clamp(3.5rem, 7vw, 5rem) 0 2rem;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250,246,239,0.14);
}
.footer-brand .logo{ color: var(--bg); }
.footer-brand p{ margin-top: 1rem; font-size: 0.92rem; max-width: 280px; color: rgba(250,246,239,0.6); }
.footer-col h4{ font-family: var(--font-body); font-size: 0.75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bg); margin-bottom: 1.2rem; font-weight: 500; }
.footer-col ul li{ margin-bottom: 0.7rem; font-size: 0.92rem; }
.footer-col a:hover{ color: var(--accent-soft); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.6rem; font-size: 0.78rem; color: rgba(250,246,239,0.45);
  flex-wrap: wrap; gap: 1rem;
}
.footer-social{ display: flex; gap: 0.9rem; }

/* ---------------- Breadcrumb ---------------- */
.breadcrumb{
  padding: 8.5rem 0 1.5rem;
  font-size: 0.8rem;
  letter-spacing: .05em;
  color: var(--ink-faint);
}
.breadcrumb a:hover{ color: var(--accent); }

/* ---------------- Product Detail ---------------- */
.product-detail{
  display: grid;
  grid-template-columns: 88px 1fr 1fr;
  gap: 1.5rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.thumb-col{ display: flex; flex-direction: column; gap: 0.9rem; }
.thumb-col button{
  border: 1px solid transparent;
  background: var(--bg-alt);
  padding: 0; overflow: hidden;
  opacity: 0.65;
  transition: opacity .3s ease, border-color .3s ease;
}
.thumb-col button.is-active{ opacity: 1; border-color: var(--ink); }
.thumb-col img{ aspect-ratio: 2/3; object-fit: cover; }

.main-media{ overflow: hidden; background: var(--bg-alt); position: relative; }
.main-media img{ width: 100%; aspect-ratio: 2/3; object-fit: cover; }

.product-info{ padding-top: 0.5rem; }
.product-info .eyebrow{ display: block; margin-bottom: 0.8rem; }
.product-info h1{ font-size: clamp(2.2rem, 3.6vw, 2.9rem); }
.product-info .price{ font-family: var(--font-display); font-size: 1.5rem; color: var(--accent); margin: 1rem 0 1.8rem; display: block; }
.product-info .desc{ color: var(--ink-soft); font-size: 1.02rem; margin-bottom: 2rem; }

.product-info .divider{ height: 1px; background: var(--line); margin: 2rem 0; }

.detail-list{ display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: 2.2rem; }
.detail-list li{ display: flex; gap: 0.9rem; font-size: 0.92rem; color: var(--ink-soft); }
.detail-list strong{ color: var(--ink); font-weight: 500; min-width: 130px; }

.notice-box{
  border: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 1.3rem 1.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-top: 1.6rem;
  display: flex; gap: 0.8rem; align-items: flex-start;
}
.notice-box svg{ width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }

/* ---------------- Shop header ---------------- */
.page-header{
  padding: 9rem 0 3rem;
  text-align: center;
}
.page-header h1{ font-size: clamp(2.6rem, 6vw, 4rem); }
.page-header p{ color: var(--ink-soft); max-width: 520px; margin: 1rem auto 0; }

/* ---------------- Reveal animation ---------------- */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in-view{ opacity: 1; transform: translateY(0); }
.reveal-delay-1{ transition-delay: .1s; }
.reveal-delay-2{ transition-delay: .2s; }
.reveal-delay-3{ transition-delay: .3s; }

/* ---------------- Related ---------------- */
.related-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px){
  .product-grid{ grid-template-columns: repeat(3, 1fr); }
  .product-grid--shop{ grid-template-columns: repeat(3, 1fr); }
  .values-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr; }
  .related-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px){
  .nav-links{
    position: fixed; inset: 0 0 0 auto;
    width: min(78vw, 340px);
    background: var(--bg);
    color: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 7rem 2.4rem 2rem;
    gap: 1.8rem;
    transform: translateX(100%);
    transition: transform .45s ease;
    box-shadow: var(--shadow);
  }
  .nav-links.is-open{ transform: translateX(0); }
  .nav-toggle{ display: flex; }
  .site-header.light-mode:not(.is-scrolled):not(.is-solid) .nav-toggle{ color: var(--bg); }

  .product-detail{ grid-template-columns: 1fr; }
  .thumb-col{ flex-direction: row; order: 3; overflow-x: auto; }
  .thumb-col button{ min-width: 74px; }
  .split{ grid-template-columns: 1fr; }
  .split--reverse{ direction: ltr; }
}

@media (max-width: 640px){
  .product-grid, .product-grid--shop{ grid-template-columns: repeat(2, 1fr); gap: 1.6rem 1rem; }
  .values-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  .related-grid{ grid-template-columns: repeat(2, 1fr); }
}
