/* =========================================
   kawa* — Handmade Leather Goods
   Mobile-first / IL BISONTE inspired
   ========================================= */

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

:root {
  /* Palette */
  --bg:          #FAF6EF;
  --bg-warm:     #F2EBDD;
  --bg-white:    #FFFDF9;
  --text:        #3A2E22;
  --text-mid:    #6B5A48;
  --text-sub:    #9B8A75;
  --line:        #E0D6C4;
  --camel:       #C9A980;
  --nume:        #D4B98E;
  --brown:       #8B6F47;
  --brown-deep:  #5B4528;
  --dark:        #2B2218;

  /* Fonts */
  --font-ja:  'Shippori Mincho', 'Yu Mincho', 'YuMincho', serif;
  --font-en:  'EB Garamond', Georgia, serif;
  --font-sub: 'Jost', 'Helvetica Neue', sans-serif;

  /* Layout */
  --max:       1080px;
  --pad-x:     clamp(1.25rem, 5vw, 2.5rem);
  --head-h:    60px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ja);
  font-weight: 400;
  line-height: 1.85;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; }

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sub);
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  min-height: 52px;
  padding: 0 2.2rem;
  transition: all 0.25s ease;
  cursor: pointer;
}

.btn--solid {
  background: var(--brown-deep);
  color: var(--bg);
  border: 1px solid var(--brown-deep);
}
.btn--solid:hover { background: var(--dark); border-color: var(--dark); }

.btn--line {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  letter-spacing: 0.18em;
}
.btn--line:hover {
  background: var(--text);
  color: var(--bg);
}

.btn--story { margin-top: 1.5rem; }

/* =========================================
   Header
   ========================================= */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--head-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.menu-btn {
  justify-self: start;
  width: 36px;
  height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 8px;
}
.menu-btn span {
  display: block;
  height: 1px;
  background: var(--text);
}
.menu-btn span:nth-child(2) { width: 70%; }

.brand {
  justify-self: center;
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  display: inline-flex;
  align-items: baseline;
}
.brand-star {
  color: var(--camel);
  font-style: italic;
  margin-left: 1px;
}

.cart-btn {
  justify-self: end;
  color: var(--text);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   Hero
   ========================================= */
.hero {
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.hero-image {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(165deg, #EFE5D0 0%, #E8D9BC 45%, #D9C49C 100%);
}

.hero-photo {
  position: absolute;
  inset: 0;
}

.hero-light {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 80%;
  height: 80%;
  background: radial-gradient(circle, rgba(255,248,228,0.7) 0%, transparent 60%);
  filter: blur(20px);
}

.hero-object {
  position: absolute;
  border-radius: 8px;
}

.hero-object--wallet {
  bottom: 15%;
  left: 15%;
  width: 45%;
  height: 30%;
  background:
    linear-gradient(135deg, #A67A4A 0%, #8B5E30 50%, #6E4620 100%);
  border-radius: 6px;
  box-shadow:
    0 15px 40px rgba(91, 69, 40, 0.35),
    0 3px 8px rgba(0,0,0,0.15),
    inset 0 1px 2px rgba(255,255,255,0.15);
  transform: rotate(-6deg);
}
.hero-object--wallet::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 calc(100% - 8px),
      rgba(92, 62, 30, 0.4) calc(100% - 8px) calc(100% - 7px),
      transparent calc(100% - 7px) 100%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 8px,
      rgba(255,255,255,0.04) 8px 9px
    );
  border-radius: inherit;
}

.hero-object--phone {
  top: 15%;
  right: 10%;
  width: 28%;
  height: 55%;
  background: linear-gradient(150deg, #C9A07A 0%, #A17850 50%, #7E5630 100%);
  border-radius: 12px;
  box-shadow:
    0 18px 42px rgba(91, 69, 40, 0.3),
    inset 0 1px 2px rgba(255,255,255,0.12);
  transform: rotate(8deg);
}
.hero-object--phone::before {
  content: '';
  position: absolute;
  inset: 6%;
  border-radius: 8px;
  background:
    repeating-linear-gradient(
      0deg,
      transparent 0 calc(100% - 4px),
      rgba(92, 62, 30, 0.35) calc(100% - 4px) calc(100% - 3px),
      transparent calc(100% - 3px) 100%
    );
  border: 1px solid rgba(92, 62, 30, 0.2);
}

.hero-object--thread {
  bottom: 8%;
  right: 18%;
  width: 12%;
  height: 6%;
  background: #F5E8CC;
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
  transform: rotate(25deg);
}

.hero-text {
  padding: 2.5rem var(--pad-x) 3rem;
  text-align: center;
}

.hero-en {
  font-family: var(--font-sub);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--camel);
  margin-bottom: 1.25rem;
}

.hero-catch {
  font-family: var(--font-ja);
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.hero-by {
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

/* =========================================
   Section Head / Foot
   ========================================= */
.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-en {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-style: italic;
  letter-spacing: 0.12em;
  color: var(--camel);
  margin-bottom: 0.5rem;
}

.section-ja {
  font-family: var(--font-ja);
  font-size: clamp(1.25rem, 4.5vw, 1.6rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text);
  line-height: 1.5;
}

.section-lead {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.section-head--light .section-ja { color: var(--text); }

.section-foot {
  text-align: center;
  margin-top: 2.5rem;
}

/* =========================================
   Intro
   ========================================= */
.intro {
  padding: 3.5rem var(--pad-x);
  text-align: center;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.intro-en {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 1rem;
  color: var(--camel);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.intro-ja {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 2.1;
  letter-spacing: 0.08em;
}

/* =========================================
   Products
   ========================================= */
.products {
  padding: 4rem var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}

.product-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.product {
  display: block;
  transition: transform 0.3s ease;
}
.product:active { transform: scale(0.98); }

.product-img {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
  background: var(--bg-warm);
}

.pimg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pimg--phone {
  background: linear-gradient(160deg, #EBDDC2 0%, #D9C49C 100%);
}
.pimg--phone::after {
  content: '';
  width: 38%;
  height: 72%;
  background: linear-gradient(150deg, #B88A5E 0%, #8B5E30 60%, #6E4620 100%);
  border-radius: 14px;
  box-shadow:
    0 18px 40px rgba(91, 69, 40, 0.28),
    inset 0 1px 2px rgba(255,255,255,0.12);
  transform: rotate(-6deg);
}

.pimg--wallet {
  background: linear-gradient(160deg, #EBDDC2 0%, #D9C49C 100%);
}
.pimg--wallet::after {
  content: '';
  width: 62%;
  height: 44%;
  background: linear-gradient(135deg, #A67A4A 0%, #7E5630 100%);
  border-radius: 4px;
  box-shadow:
    0 20px 40px rgba(91, 69, 40, 0.3),
    inset 0 1px 2px rgba(255,255,255,0.1);
  transform: rotate(-4deg);
}

.pimg--airpods {
  background: linear-gradient(160deg, #EBDDC2 0%, #D9C49C 100%);
}
.pimg--airpods::after {
  content: '';
  width: 38%;
  height: 38%;
  background: linear-gradient(145deg, #C09168 0%, #8B5E30 100%);
  border-radius: 50% 50% 45% 45%;
  box-shadow:
    0 16px 34px rgba(91, 69, 40, 0.3),
    inset 0 2px 3px rgba(255,255,255,0.15);
  transform: rotate(6deg);
}

.product-body {
  padding: 0 0.25rem;
}

.product-cat {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--camel);
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
}

.product-name {
  font-family: var(--font-ja);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.product-price {
  font-family: var(--font-en);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
}
.product-price span {
  font-family: var(--font-ja);
  font-size: 0.72rem;
  color: var(--text-sub);
  margin-left: 0.35rem;
  font-weight: 400;
}

/* =========================================
   Craft
   ========================================= */
.craft {
  background: var(--bg-warm);
  padding: 4rem var(--pad-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.craft-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.craft-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.craft-item {
  text-align: center;
}

.craft-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  color: var(--brown);
}
.craft-icon svg { width: 100%; height: 100%; }

.craft-item h3 {
  font-family: var(--font-ja);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text);
  margin-bottom: 0.6rem;
}

.craft-item p {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.95;
}

/* =========================================
   Aging
   ========================================= */
.aging {
  padding: 4rem var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
}

.aging-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
}

.aging-card {
  width: 100%;
  max-width: 320px;
  text-align: center;
}

.aging-img {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
  position: relative;
}

.aging-img--new {
  background:
    radial-gradient(ellipse at 40% 35%, rgba(255,255,255,0.25) 0%, transparent 60%),
    linear-gradient(155deg, #E5C494 0%, #C9A370 45%, #AD854E 100%);
}
.aging-img--new::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 3px,
    rgba(255,255,255,0.04) 3px 4px
  );
}

.aging-img--aged {
  background:
    radial-gradient(ellipse at 40% 35%, rgba(255,220,160,0.2) 0%, transparent 60%),
    linear-gradient(155deg, #8B5A2E 0%, #5E3818 45%, #3D2410 100%);
}
.aging-img--aged::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent 0 3px,
    rgba(255,255,255,0.06) 3px 4px
  );
}

.aging-when {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--camel);
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.aging-ja {
  font-size: 0.88rem;
  color: var(--text);
  letter-spacing: 0.06em;
}

.aging-arrow {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-sub);
  padding: 0.5rem 0;
}
.aging-arrow svg {
  width: 40px;
  height: 14px;
  transform: rotate(90deg);
}
.aging-arrow span {
  font-family: var(--font-en);
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.aging-quote {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 2.1;
  letter-spacing: 0.08em;
}

/* =========================================
   Reviews
   ========================================= */
.reviews {
  background: var(--bg-white);
  padding: 4rem var(--pad-x);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.review-list {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.review {
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 1.75rem 1.5rem;
  border-radius: 2px;
}

.review-star {
  color: var(--camel);
  letter-spacing: 0.15em;
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.review-text {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 2;
  margin-bottom: 1rem;
}

.review-meta {
  font-family: var(--font-sub);
  font-size: 0.75rem;
  color: var(--text-sub);
  letter-spacing: 0.08em;
}

.review-avg {
  text-align: center;
  margin-top: 2.5rem;
  font-family: var(--font-en);
  font-size: 1.3rem;
  color: var(--brown);
  letter-spacing: 0.08em;
}
.review-avg span {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-left: 0.25rem;
}

/* =========================================
   Story
   ========================================= */
.story {
  padding: 4rem var(--pad-x);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.story-img {
  width: 100%;
}

.story-photo {
  aspect-ratio: 4/5;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(255,255,255,0.2) 0%, transparent 60%),
    linear-gradient(160deg, #D9C49C 0%, #B89068 50%, #8B6442 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  max-width: 420px;
  margin: 0 auto;
}
.story-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(60deg, transparent 0 6px, rgba(255,255,255,0.04) 6px 7px),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.15) 0%, transparent 50%);
}

.story-text .section-en {
  text-align: left;
  margin-bottom: 0.4rem;
}

.story-text .section-ja {
  text-align: left;
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.story-text p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 2.1;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

/* =========================================
   Instagram
   ========================================= */
.instagram {
  padding: 4rem var(--pad-x);
  background: var(--bg-warm);
  border-top: 1px solid var(--line);
}

.insta-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.insta {
  aspect-ratio: 1;
  transition: opacity 0.25s;
}
.insta:hover { opacity: 0.85; }

.insta--1 { background: linear-gradient(145deg, #D4B98E 0%, #A68456 100%); }
.insta--2 { background: linear-gradient(145deg, #8B6F47 0%, #5B4528 100%); }
.insta--3 { background: linear-gradient(145deg, #C9A980 0%, #8B6F47 100%); }
.insta--4 { background: linear-gradient(145deg, #A68456 0%, #7E5630 100%); }
.insta--5 { background: linear-gradient(145deg, #D4B98E 0%, #C9A980 100%); }
.insta--6 { background: linear-gradient(145deg, #8B5E30 0%, #5B4528 100%); }

/* =========================================
   Footer
   ========================================= */
.footer {
  background: var(--dark);
  color: #D8CDB8;
  padding: 3.5rem var(--pad-x) 2.5rem;
  text-align: center;
}

.footer-brand {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--bg);
  margin-bottom: 0.5rem;
}
.footer-brand span {
  color: var(--camel);
  font-style: italic;
}

.footer-tag {
  font-family: var(--font-sub);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  max-width: 520px;
  margin: 0 auto 1.75rem;
}
.footer-nav a {
  font-family: var(--font-sub);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--camel); }

.footer-copy {
  font-family: var(--font-en);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.3);
}

/* =========================================
   Tablet (≥ 640px)
   ========================================= */
@media (min-width: 640px) {
  .product-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .craft-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .aging-pair {
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
  }

  .aging-arrow { flex-direction: column; }
  .aging-arrow svg { transform: none; }

  .review-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .insta-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* =========================================
   Desktop (≥ 960px)
   ========================================= */
@media (min-width: 960px) {
  .hero {
    flex-direction: row;
    min-height: calc(100svh - var(--head-h));
    align-items: stretch;
  }

  .hero-image {
    flex: 1;
    aspect-ratio: auto;
  }

  .hero-text {
    flex: 0 0 44%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 3rem;
    text-align: left;
  }

  .hero-catch { font-size: clamp(2.2rem, 4vw, 3rem); }

  .intro { padding: 5rem var(--pad-x); }

  .products,
  .craft,
  .aging,
  .reviews,
  .instagram {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .section-head { margin-bottom: 3.5rem; }

  .craft-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .story {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 6rem var(--pad-x);
  }
}
