/* ===== TRENFi Brand Site — style.css ===== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg: #fafaf8;
  --color-surface: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-border: #e8e6e1;
  --color-accent: #c9a96e;
  --color-accent-dark: #a8893f;
  --color-tech: #2d3748;
  --color-tech-accent: #4a90d9;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-width: 1280px;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* --- Navbar --- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.97);
}
.nav-container {
  max-width: var(--max-width); margin: 0 auto;
  padding: 0 24px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; flex-direction: column; gap: 0; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  letter-spacing: 0.04em; color: var(--color-text);
}
.logo-tagline {
  font-size: 0.65rem; text-transform: uppercase;
  letter-spacing: 0.2em; color: var(--color-text-muted);
  margin-top: -4px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--color-text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--color-text); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: var(--color-accent); border-radius: 1px;
}
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--color-text); margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero --- */
.hero {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 80vh; align-items: center;
  padding: 80px 24px; max-width: var(--max-width); margin: 0 auto;
  gap: 60px;
}
.hero-title { font-family: var(--font-display); line-height: 1.1; }
.hero-line1 { display: block; font-size: 3.5rem; font-weight: 400; color: var(--color-text-muted); }
.hero-line2 { display: block; font-size: 4.5rem; font-weight: 700; color: var(--color-text); }
.hero-subtitle {
  margin-top: 24px; font-size: 1.15rem;
  color: var(--color-text-muted); max-width: 480px; line-height: 1.7;
}
.hero-cta { margin-top: 40px; display: flex; gap: 16px; }
.hero-visual { position: relative; }
.hero-img-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  transform: rotate(-2deg);
}
.hero-img {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  aspect-ratio: 1; object-fit: cover;
}
.hero-img-1 { transform: translateY(20px); }
.hero-img-2 { transform: translateY(-20px); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: 8px;
  font-size: 0.95rem; font-weight: 600;
  transition: all var(--transition); cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--color-text); color: #fff;
  border-color: var(--color-text);
}
.btn-primary:hover { background: #333; border-color: #333; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--color-text);
  border-color: var(--color-border);
}
.btn-outline:hover { border-color: var(--color-text); }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; }

/* --- Category Banner --- */
.category-banner { padding: 0 0 80px; }
.cat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cat-card {
  position: relative; border-radius: var(--radius);
  overflow: hidden; aspect-ratio: 16/9;
  display: flex; align-items: flex-end;
  transition: transform var(--transition);
}
.cat-card:hover { transform: translateY(-4px); }
.cat-card img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.6s ease;
}
.cat-card:hover img { transform: scale(1.05); }
.cat-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
  z-index: 1;
}
.cat-card-text {
  position: relative; z-index: 2; padding: 32px; color: #fff;
}
.cat-card-text h2 { font-family: var(--font-display); font-size: 2rem; margin-bottom: 8px; }
.cat-card-text p { font-size: 0.9rem; opacity: 0.85; margin-bottom: 12px; }
.cat-card-link {
  font-size: 0.85rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 2px;
}

/* --- Section Headers --- */
.section-header {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 40px;
}
.section-header h2 { font-family: var(--font-display); font-size: 2rem; }
.see-all {
  font-size: 0.9rem; font-weight: 500; color: var(--color-accent-dark);
  transition: color var(--transition);
}
.see-all:hover { color: var(--color-text); }

/* --- Featured Section --- */
.featured-section { padding: 80px 0; }
.section-alt { background: var(--color-surface); }

/* --- Product Grid --- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  border-color: transparent;
}
.product-card-img {
  aspect-ratio: 1; overflow: hidden;
  background: #f5f5f3; position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.product-badge {
  display: inline-block;
  color: #fff;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 4px;
}
.badge-bestseller { background: #e67e22; }
.badge-toprated { background: #27ae60; }
.badge-popular { background: #3498db; }
.badge-new { background: #8e44ad; }
.product-card-img .product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
}
.bsr-detail {
  display: flex; align-items: center; gap: 10px;
  margin: 8px 0 4px; font-size: 0.82rem;
  color: var(--color-text-muted);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.05); }
.product-card-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-subcategory {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--color-accent-dark);
  font-weight: 600; margin-bottom: 10px; display: inline-block;
}
.product-card-info h3 {
  font-size: 0.95rem; font-weight: 600;
  line-height: 1.4; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.product-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.stars { display: flex; gap: 2px; }
.star { width: 16px; height: 16px; }
.star.full { fill: #f59e0b; }
.star.empty { fill: #d1d5db; }
.review-count { font-size: 0.8rem; color: var(--color-text-muted); }
.product-price {
  font-size: 1.1rem; font-weight: 700; color: var(--color-text);
  margin-top: auto;
}
.product-price.coming-soon {
  font-size: 0.85rem; font-weight: 500;
  color: var(--color-text-muted); font-style: italic;
}

/* --- Brand Strip --- */
.brand-strip { padding: 100px 0; background: var(--color-tech); color: #fff; }
.brand-strip-content h2 {
  font-family: var(--font-display); font-size: 2.2rem;
  text-align: center; margin-bottom: 60px;
}
.brand-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.brand-value { text-align: center; }
.brand-value-icon {
  font-size: 1.5rem; color: var(--color-accent);
  margin-bottom: 16px;
}
.brand-value h3 { font-size: 1.1rem; margin-bottom: 12px; font-weight: 600; }
.brand-value p { font-size: 0.9rem; opacity: 0.8; line-height: 1.7; }

/* --- Page Hero (Category / About) --- */
.page-hero {
  padding: 120px 0 72px;
  background: linear-gradient(135deg, #f8f7f4 0%, #ede9e0 50%, #e4ddd2 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero h1 {
  font-family: var(--font-display); font-size: 3.2rem;
  margin-bottom: 16px; letter-spacing: -0.01em;
  position: relative;
}
.page-hero p {
  font-size: 1.1rem; color: var(--color-text-muted);
  max-width: 600px; margin: 0 auto; line-height: 1.75;
  position: relative;
}

/* --- Subcategory Sections --- */
.category-content { padding: 60px 0 80px; }
.subcategory-section { margin-bottom: 60px; }
.subcategory-title {
  font-family: var(--font-display); font-size: 1.5rem;
  margin-bottom: 28px; padding-bottom: 14px;
  border-bottom: 2px solid var(--color-accent);
  display: flex; align-items: baseline; gap: 12px;
}
.subcategory-title .count {
  font-size: 0.85rem; color: var(--color-text-muted);
  font-weight: 400; font-family: var(--font-body);
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: 14px 0; font-size: 0.82rem;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  background: var(--color-surface);
}
.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--color-accent-dark); }

/* --- Product Detail --- */
.product-detail { padding: 48px 0 80px; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 480px) 1fr;
  gap: 56px;
  align-items: start;
}

/* --- Gallery --- */
.product-gallery { position: sticky; top: 88px; }
.gallery-main {
  position: relative; background: #f5f5f3;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/5;
  max-height: 560px;
  border: 1px solid var(--color-border);
}
.gallery-slide {
  display: none; width: 100%; height: 100%;
  padding: 20px;
}
.gallery-slide.active { display: flex; align-items: center; justify-content: center; }
.gallery-slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.gallery-thumbs {
  display: flex; gap: 8px; margin-top: 12px;
  overflow-x: auto; padding-bottom: 4px;
}
.gallery-thumb {
  flex-shrink: 0; width: 60px; height: 60px;
  border-radius: 8px; overflow: hidden;
  border: 2px solid transparent; cursor: pointer;
  background: #f5f5f3; padding: 3px;
  transition: border-color var(--transition);
}
.gallery-thumb.active { border-color: var(--color-text); }
.gallery-thumb:hover { border-color: var(--color-accent); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }

/* Product Info */
.product-info { padding: 4px 0; }
.product-info h1 {
  font-size: 1.5rem; line-height: 1.5;
  margin: 8px 0 16px; font-weight: 600;
}
.product-price-large { font-size: 1.8rem; font-weight: 700; margin: 20px 0; }
.product-price-large.coming-soon {
  font-size: 1.1rem; color: var(--color-text-muted); font-style: italic;
}
.product-bullets { margin: 24px 0 28px; }
.product-bullets ul { display: flex; flex-direction: column; gap: 14px; }
.product-bullets li {
  font-size: 0.88rem; line-height: 1.7;
  color: var(--color-text-muted); padding-left: 18px;
  position: relative;
}
.product-bullets li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--color-accent);
}
.product-bullets li strong { color: var(--color-text); }
.product-actions { margin-top: 28px; }

/* --- A+ Section --- */
.aplus-section { padding: 60px 0; background: var(--color-surface); }
.aplus-section h2 {
  font-family: var(--font-display); font-size: 1.8rem;
  text-align: center; margin-bottom: 40px;
}
.aplus-gallery {
  display: flex; flex-direction: column; gap: 0;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.aplus-img { width: 100%; border-radius: 0; }

/* --- Specs --- */
.specs-wrapper { padding: 60px 0; }
.specs-section h2 {
  font-family: var(--font-display); font-size: 1.8rem;
  margin-bottom: 24px;
}
.specs-table { width: 100%; border-collapse: collapse; border-radius: var(--radius); overflow: hidden; }
.specs-table tr { border-bottom: 1px solid var(--color-border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td {
  padding: 14px 20px; font-size: 0.9rem; vertical-align: top;
}
.specs-table td:first-child {
  font-weight: 600; width: 35%; color: var(--color-text-muted);
  background: rgba(0,0,0,0.02);
}

/* --- About --- */
.about-content { padding: 80px 0; }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.about-text h2 { font-family: var(--font-display); font-size: 1.8rem; margin-bottom: 16px; }
.about-text h2:not(:first-child) { margin-top: 40px; }
.about-text p { color: var(--color-text-muted); margin-bottom: 16px; line-height: 1.8; }
.about-values { display: flex; flex-direction: column; gap: 24px; }
.value-card {
  padding: 28px; background: var(--color-surface);
  border-radius: var(--radius); border: 1px solid var(--color-border);
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.3s ease;
}
.value-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { font-size: 0.9rem; color: var(--color-text-muted); line-height: 1.6; }

/* --- Footer --- */
.site-footer { background: #111118; color: #fff; padding: 72px 0 0; }
.footer-container {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.5fr 2fr; gap: 60px;
}
.footer-brand .logo-text { color: #fff; font-size: 1.4rem; }
.footer-brand p { margin-top: 12px; font-size: 0.85rem; opacity: 0.5; line-height: 1.8; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer-col h4 {
  font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: var(--color-accent);
  opacity: 0.7; margin-bottom: 20px;
}
.footer-col a {
  display: block; font-size: 0.88rem; opacity: 0.7;
  margin-bottom: 12px; transition: opacity 0.3s ease, transform 0.3s ease;
}
.footer-col a:hover { opacity: 1; transform: translateX(3px); }
.footer-bottom {
  margin-top: 56px; padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center; font-size: 0.78rem; opacity: 0.35;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 60px 24px; }
  .hero-visual { display: none; }
  .hero-line1 { font-size: 2.5rem; }
  .hero-line2 { font-size: 3.2rem; }
  .product-layout { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-gallery { position: static; }
  .gallery-main { max-height: 400px; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--color-surface); padding: 24px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }
  .nav-toggle { display: block; }
  .cat-cards { grid-template-columns: 1fr; }
  .brand-values { grid-template-columns: 1fr; gap: 32px; }
  .footer-container { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
  .hero-cta { flex-direction: column; }
  .page-hero h1 { font-size: 2.2rem; }
  .product-layout { grid-template-columns: 1fr; gap: 24px; }
  .product-gallery { position: static; }
  .gallery-main { max-height: 360px; aspect-ratio: auto; }
}

@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-card-info { padding: 12px; }
  .product-card-info h3 { font-size: 0.85rem; }
  .gallery-thumbs { gap: 6px; }
  .gallery-thumb { width: 56px; height: 56px; }
}


/* ===== Homepage Storytelling Sections ===== */

/* --- Design Tokens (Homepage) --- */
:root {
  --color-warm: #f8f5f0;
  --color-dark: #1a1a2e;
}

/* --- Keyframes --- */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(8px); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Scroll Animation Utility --- */
/* JS adds .is-hidden first, then .is-visible on scroll — content visible by default without JS */
.fade-in-up.is-hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Announcement Bar --- */
.announcement-bar {
  background: var(--color-accent);
  color: var(--color-dark);
  text-align: center;
  padding: 10px 24px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1.4;
}
.announcement-bar a {
  color: var(--color-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.announcement-bar a:hover { opacity: 0.8; }

/* --- Story Hero --- */
.story-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  overflow: hidden;
}
.story-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,46,0.85) 0%,
    rgba(26,26,46,0.55) 40%,
    rgba(26,26,46,0.80) 100%
  );
  z-index: 1;
}
.story-hero-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  max-width: 800px; padding: 40px 24px;
  animation: heroFadeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.story-hero-eyebrow {
  display: inline-block; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--color-accent); margin-bottom: 28px;
  font-weight: 600;
  border: 1px solid rgba(201,169,110,0.3);
  padding: 6px 20px;
  border-radius: 2px;
}
.story-hero-title {
  font-family: var(--font-display);
  font-size: 5rem; font-weight: 700;
  line-height: 1.08; margin-bottom: 32px;
  letter-spacing: -0.01em;
}
.story-hero-text {
  font-size: 1.15rem; line-height: 1.85;
  opacity: 0.75; margin-bottom: 44px;
  max-width: 560px; margin-left: auto; margin-right: auto;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; }
.story-hero .hero-cta { margin-top: 0; }

/* Scroll indicator */
.story-hero .scroll-indicator {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.15em;
}
.story-hero .scroll-indicator span {
  display: block; width: 24px; height: 40px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px; position: relative;
}
.story-hero .scroll-indicator span::after {
  content: ''; position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; border-radius: 2px;
  background: rgba(255,255,255,0.6);
  animation: scrollBounce 2s ease-in-out infinite;
}

.btn-light {
  color: #fff; border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(4px);
}
.btn-light:hover {
  border-color: #fff; color: #fff;
  background: rgba(255,255,255,0.12);
}

/* --- Section Eyebrow --- */
.section-eyebrow {
  display: block; font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.25em;
  color: var(--color-accent-dark); font-weight: 600;
  margin-bottom: 14px;
}

/* --- Trust Strip --- */
.trust-strip {
  padding: 56px 0;
  background: var(--color-dark);
  color: #fff;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 40px; text-align: center;
}
.trust-item {
  display: flex; flex-direction: column; gap: 6px;
  align-items: center;
}
.trust-number {
  font-family: var(--font-display);
  font-size: 2.6rem; font-weight: 700;
  color: var(--color-accent); line-height: 1;
}
.trust-label {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.14em; color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* --- Brand Story --- */
.brand-story {
  padding: 120px 0;
  background: var(--color-warm);
}
.brand-story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.brand-story-text h2 {
  font-family: var(--font-display);
  font-size: 2.6rem; margin-bottom: 24px; line-height: 1.15;
}
.brand-story-text p {
  font-size: 1rem; line-height: 1.85;
  color: var(--color-text-muted); margin-bottom: 18px;
}
.brand-story-image { position: relative; }
.brand-story-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%; aspect-ratio: 3/4; object-fit: cover;
}

/* --- Two Worlds --- */
.two-worlds { padding: 0; }
.two-worlds-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 55vh;
}
.world-panel {
  position: relative; display: flex;
  align-items: flex-end; padding: 64px;
  overflow: hidden; cursor: pointer;
  min-height: 55vh;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.world-panel:last-child { border-right: none; }
.world-panel-bg { position: absolute; inset: 0; }
.world-panel-bg img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}
.world-panel:hover .world-panel-bg img { transform: scale(1.08); }
.world-panel-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.25) 45%,
    rgba(0,0,0,0.10) 100%
  );
  transition: background 0.6s ease;
}
.world-panel:hover .world-panel-overlay {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.35) 45%,
    rgba(0,0,0,0.18) 100%
  );
}
.world-panel-content {
  position: relative; z-index: 2; color: #fff;
  max-width: 420px;
}
.world-label {
  font-size: 0.68rem; text-transform: uppercase;
  letter-spacing: 0.25em; color: var(--color-accent);
  font-weight: 600; margin-bottom: 14px; display: block;
}
.world-panel-content h2 {
  font-family: var(--font-display);
  font-size: 2.8rem; line-height: 1.1;
  margin-bottom: 16px;
}
.world-panel-content p {
  font-size: 0.95rem; line-height: 1.75;
  opacity: 0.8; margin-bottom: 24px;
}
.world-cta {
  font-size: 0.82rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 4px;
  transition: border-color var(--transition), letter-spacing var(--transition);
}
.world-panel:hover .world-cta {
  border-color: #fff;
  letter-spacing: 0.14em;
}

/* --- Also from TRENFi (compact electronics teaser) --- */
.also-from { padding: 100px 0; background: #fafaf8; }
.also-from-content {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; align-items: center;
}
.also-from-text .section-eyebrow { margin-bottom: 12px; }
.also-from-text h2 {
  font-family: var(--font-display);
  font-size: 2.2rem; line-height: 1.15; margin-bottom: 16px;
}
.also-from-text p {
  font-size: 0.95rem; line-height: 1.75;
  color: var(--color-text-light); margin-bottom: 24px;
}
.also-from-image { border-radius: 12px; overflow: hidden; }
.also-from-image img {
  width: 100%; display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.also-from-image:hover img { transform: scale(1.03); }

/* --- Featured Mosaic --- */
.featured-mosaic { padding: 120px 0; }
.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  min-height: 600px;
}
.mosaic-grid .mosaic-item:first-child {
  grid-row: 1 / 3;
}
.mosaic-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: #f5f5f3;
}
.mosaic-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.mosaic-item:hover img { transform: scale(1.04); }
.mosaic-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
}
.mosaic-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px; color: #fff; z-index: 2;
}
.mosaic-label {
  display: block; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--color-accent); font-weight: 600;
  margin-bottom: 6px;
}
.mosaic-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; margin-bottom: 8px;
}
.mosaic-content p {
  font-size: 0.88rem; opacity: 0.85;
}

/* --- Philosophy --- */
.philosophy {
  padding: 120px 0;
  background: var(--color-dark);
  color: #fff;
}
.philosophy-header {
  text-align: center; margin-bottom: 80px;
}
.philosophy .philosophy-header .section-eyebrow,
.cta-banner .philosophy-header .section-eyebrow {
  color: var(--color-accent);
}
.philosophy-header h2 {
  font-family: var(--font-display);
  font-size: 2.8rem; line-height: 1.15;
  color: var(--color-text);
}
/* White text only inside dark-background sections */
.philosophy .philosophy-header h2,
.cta-banner .philosophy-header h2 {
  color: #fff;
}
.philosophy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.philosophy-item { text-align: left; }
.philosophy-number {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 700;
  color: var(--color-accent); line-height: 1;
  margin-bottom: 20px;
}
.philosophy-item h3 {
  font-size: 1.2rem; font-weight: 600;
  margin-bottom: 14px; color: #fff;
}
.philosophy-item p {
  font-size: 0.95rem; line-height: 1.8;
  color: rgba(255,255,255,0.7);
}

/* --- Series Preview --- */
.series-preview { padding: 120px 0; }
.series-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.series-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
  background: var(--color-surface);
}
.series-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.series-card-img {
  aspect-ratio: 4/5; overflow: hidden;
  background: #f5f5f3;
  position: relative;
}
.series-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.series-card:hover .series-card-img img { transform: scale(1.06); }
.series-card-text {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 24px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  color: #fff;
}
.series-card-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; margin-bottom: 8px;
  color: #fff;
}
.series-card-text p {
  font-size: 0.88rem; line-height: 1.6;
  color: rgba(255,255,255,0.8); margin-bottom: 14px;
}
.series-link {
  font-size: 0.82rem; font-weight: 600;
  color: var(--color-accent);
  text-transform: uppercase; letter-spacing: 0.08em;
  transition: color var(--transition);
}
.series-link:hover { color: #fff; }

/* --- Testimonials --- */
.testimonials {
  padding: 120px 0;
  background: var(--color-warm);
}
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.testimonial-card { padding: 40px; background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  border-color: var(--color-accent);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute; top: 20px; left: 28px;
  font-family: var(--font-display);
  font-size: 4.5rem; line-height: 1;
  color: var(--color-accent);
  opacity: 0.25;
  pointer-events: none;
}
.testimonial-stars { margin-bottom: 16px; }
.testimonial-text {
  font-size: 0.98rem; line-height: 1.75;
  color: var(--color-text); font-style: italic;
  margin-bottom: 20px;
}
.testimonial-author {
  font-size: 0.82rem; color: var(--color-text-muted);
  font-weight: 600;
}
.testimonial-badge {
  display: inline-block; margin-top: 10px;
  font-size: 0.68rem; font-weight: 700; color: #27ae60;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* --- Product Reviews (detail page) --- */
.product-reviews { padding: 60px 0; background: var(--color-surface); }
.product-reviews h2 {
  font-family: var(--font-display); font-size: 1.8rem;
  text-align: center; margin-bottom: 40px;
}
.reviews-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.review-card {
  padding: 28px; background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.4s ease, transform 0.4s ease, border-color 0.3s ease;
}
.review-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
  border-color: var(--color-accent);
}
.review-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 8px;
}
.review-author {
  font-size: 0.8rem; color: var(--color-text-muted); font-weight: 500;
}
.review-title {
  font-size: 0.9rem; font-weight: 600; margin-bottom: 8px;
}
.review-body {
  font-size: 0.88rem; line-height: 1.7;
  color: var(--color-text);
}

/* --- Guarantees --- */
.guarantees {
  padding: 120px 0;
  background: var(--color-bg);
}
.guarantees-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.guarantee-item {
  text-align: center; padding: 40px 24px;
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  transition: box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.3s ease;
}
.guarantee-item:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  transform: translateY(-4px);
  border-color: var(--color-accent);
}
.guarantee-icon {
  width: 60px; height: 60px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--color-accent-dark);
  background: linear-gradient(135deg, var(--color-warm) 0%, #f0e8d8 100%);
  border-radius: 50%;
  margin: 0 auto 20px;
  transition: transform 0.3s ease;
}
.guarantee-item:hover .guarantee-icon { transform: scale(1.1); }
.guarantee-item h3 {
  font-size: 0.95rem; font-weight: 600;
  margin-bottom: 10px;
}
.guarantee-item p {
  font-size: 0.85rem; line-height: 1.65;
  color: var(--color-text-muted);
}

/* --- CTA Banner --- */
.cta-banner {
  padding: 140px 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #2d3748 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.15;
}
.cta-banner-content {
  text-align: center; max-width: 680px; margin: 0 auto;
  position: relative; z-index: 2;
}
.cta-banner-content h2 {
  font-family: var(--font-display);
  font-size: 3rem; margin-bottom: 24px;
  line-height: 1.1;
}
.cta-banner-content p {
  font-size: 1.1rem; line-height: 1.75;
  opacity: 0.75; margin-bottom: 40px;
}
.cta-banner .btn-primary {
  background: var(--color-accent); border-color: var(--color-accent);
  color: var(--color-dark);
}
.cta-banner .btn-primary:hover {
  background: var(--color-accent-dark); border-color: var(--color-accent-dark);
}
.cta-banner .btn-outline { color: #fff; border-color: rgba(255,255,255,0.25); }
.cta-banner .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.06);
}

/* --- Homepage Responsive --- */
@media (max-width: 1024px) {
  .story-hero-title { font-size: 3.6rem; }
  .brand-story-grid { grid-template-columns: 1fr; gap: 48px; }
  .brand-story-image { order: -1; }
  .two-worlds-grid { grid-template-columns: 1fr; min-height: auto; }
  .world-panel { min-height: 50vh; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .world-panel:last-child { border-bottom: none; }
  .mosaic-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: auto;
  }
  .mosaic-grid .mosaic-item:first-child { grid-row: auto; }
  .mosaic-item { min-height: 280px; }
  .philosophy-grid { grid-template-columns: 1fr; gap: 48px; }
  .series-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .guarantees-grid { grid-template-columns: repeat(2, 1fr); }
  .salon-grid { grid-template-columns: 1fr; grid-template-rows: auto; min-height: auto; }
  .salon-large { grid-row: auto; min-height: 300px; }
  .salon-item { min-height: 240px; }
  .about-founder-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-salon-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .announcement-bar { font-size: 0.72rem; padding: 8px 16px; }
  .story-hero-title { font-size: 2.8rem; }
  .story-hero-eyebrow { font-size: 0.65rem; padding: 5px 14px; }
  .story-hero-text { font-size: 1rem; }
  .story-hero .scroll-indicator { bottom: 24px; }
  .brand-story { padding: 80px 0; }
  .brand-story-text h2 { font-size: 2rem; }
  .philosophy { padding: 80px 0; }
  .philosophy-header h2 { font-size: 2.2rem; }
  .series-preview { padding: 80px 0; }
  .testimonials { padding: 80px 0; }
  .cta-banner { padding: 80px 0; }
  .cta-banner-content h2 { font-size: 2.2rem; }
  .world-panel { padding: 40px; min-height: 40vh; }
  .world-panel-content h2 { font-size: 2rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-number { font-size: 1.8rem; }
  .trust-label { font-size: 0.68rem; }
  .guarantees-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: center; }
  .founder-content h2 { font-size: 2.2rem; }
  .founder-section { min-height: 45vh; }
  .salon-gallery { padding: 80px 0; }
  .salon-large .salon-item-content h3 { font-size: 1.3rem; }
  .also-from-content { grid-template-columns: 1fr; }
  .also-from-text h2 { font-size: 1.8rem; }
  .also-from { padding: 60px 0; }
}

@media (max-width: 480px) {
  .story-hero-title { font-size: 2.2rem; }
  .story-hero-text { font-size: 0.92rem; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .trust-number { font-size: 1.5rem; }
  .world-panel { padding: 28px; min-height: 35vh; }
  .world-panel-content h2 { font-size: 1.6rem; }
  .brand-story-text h2 { font-size: 1.7rem; }
  .philosophy-header h2 { font-size: 1.8rem; }
  .philosophy-number { font-size: 2.8rem; }
  .cta-banner-content h2 { font-size: 1.8rem; }
  .testimonial-card { padding: 28px; }
  .guarantee-item { padding: 24px 16px; }
}

/* --- Staggered Card Animations --- */
.card-stagger {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-stagger.card-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Focus States (Accessibility) --- */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Selection Color --- */
::selection {
  background: var(--color-accent);
  color: var(--color-dark);
}

/* --- Founder Section (full-width hero panel) --- */
.founder-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.founder-bg {
  position: absolute; inset: 0;
}
.founder-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.founder-section:hover .founder-bg img {
  transform: scale(1.03);
}
.founder-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,26,46,0.75) 0%,
    rgba(26,26,46,0.50) 40%,
    rgba(26,26,46,0.80) 100%
  );
  z-index: 1;
}
.founder-content {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  max-width: 680px; padding: 60px 24px;
}
.founder-content .section-eyebrow {
  color: var(--color-accent);
}
.founder-content h2 {
  font-family: var(--font-display);
  font-size: 3.2rem; font-weight: 700;
  line-height: 1.1; margin-bottom: 24px;
}
.founder-content p {
  font-size: 1.05rem; line-height: 1.85;
  opacity: 0.8; margin-bottom: 36px;
}

/* --- Salon Gallery (2×2 mosaic grid) --- */
.salon-gallery {
  padding: 120px 0;
  background: var(--color-warm);
}
.salon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  min-height: 600px;
}
.salon-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}
.salon-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.salon-item:hover img { transform: scale(1.04); }
.salon-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 50%);
}
.salon-item-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 24px; color: #fff; z-index: 2;
}
.salon-item-content h3 {
  font-family: var(--font-display);
  font-size: 1.3rem; margin: 0;
}
.salon-large {
  grid-row: 1 / 4;
}
.salon-large .salon-item-content h3 {
  font-size: 1.8rem;
}

/* --- About Founder (two-column) --- */
.about-founder {
  padding: 100px 0;
  background: var(--color-warm);
}
.about-founder-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
.about-founder-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
}
.about-founder-text .section-eyebrow {
  color: var(--color-accent-dark);
}
.about-founder-text h2 {
  font-family: var(--font-display);
  font-size: 2.4rem; margin-bottom: 20px; line-height: 1.15;
}
.about-founder-text p {
  font-size: 1rem; line-height: 1.85;
  color: var(--color-text-muted); margin-bottom: 16px;
}
.about-founder-text blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem; font-style: italic;
  color: var(--color-text); line-height: 1.7;
  border-left: 3px solid var(--color-accent);
  padding-left: 20px; margin: 24px 0;
}

/* --- About Salon Strip --- */
.about-salon-strip {
  padding: 80px 0;
}
.about-salon-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; align-items: center;
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
}
.about-salon-image {
  border-radius: var(--radius); overflow: hidden;
}
.about-salon-image img {
  width: 100%; aspect-ratio: 3/2; object-fit: cover;
}
.about-salon-text h3 {
  font-family: var(--font-display);
  font-size: 1.6rem; margin-bottom: 14px;
}
.about-salon-text p {
  font-size: 0.95rem; line-height: 1.8;
  color: var(--color-text-muted);
}

/* --- GPU-hint for hover-animated images --- */
.mosaic-item img,
.salon-item img,
.series-card-img img,
.founder-bg img {
  will-change: transform;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  .fade-in-up { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card-stagger { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mosaic-item img,
  .salon-item img,
  .series-card-img img,
  .founder-bg img,
  .scroll-indicator span { transition: none !important; animation: none !important; }
}
