/* Sourcd - Vietnam sourcing on transparent commission
   Static site stylesheet
   ------------------------------------------------- */

:root {
  --bg: #FAF6EE;
  --bg-deep: #F2EBDB;
  --surface: #FFFFFF;
  --ink: #18140F;
  --ink-soft: #2E2820;
  --ink-muted: #6B6155;
  --accent: #C8421C;          /* terracotta, deeper */
  --accent-deep: #9C2F12;
  --accent-soft: #F4D3C5;
  --secondary: #0E3A36;       /* deep forest */
  --secondary-soft: #B9CFC9;
  --gold: #B4862C;            /* warm metallic */
  --border: #E7DFCD;
  --border-strong: #C9BFA5;
  --shadow-sm: 0 1px 2px rgba(24, 20, 15, 0.06);
  --shadow-md: 0 4px 24px rgba(24, 20, 15, 0.08);
  --shadow-lg: 0 12px 48px rgba(24, 20, 15, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography
   -------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.05;
  font-variation-settings: 'opsz' 144;
}

h1 { font-size: clamp(2.8rem, 6.5vw, 5.4rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.8rem; letter-spacing: -0.025em; }
h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: 0.5rem; letter-spacing: -0.015em; }
h4 { font-size: 1.1rem; font-weight: 500; }

p { margin-bottom: 1rem; color: var(--ink-soft); }
p.muted { color: var(--ink-muted); }

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}
a:hover { border-bottom-color: var(--accent); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: inline-block;
}

.serif-italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
}

/* Layout
   -------------------------------------------------- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 28px;
}
.container-wide {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 28px;
}

section { padding: 100px 0; position: relative; }
section.tight { padding: 60px 0; }

/* Header
   -------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(231, 223, 205, 0.6);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  padding-bottom: 20px;
}

.logo {
  font-family: 'Fraunces', serif;
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--ink);
  border: none;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
}
.logo span { color: var(--accent); font-style: italic; }
.logo:hover { border: none; }

.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: 0.93rem;
  color: var(--ink);
  font-weight: 500;
  border: none;
  letter-spacing: -0.005em;
}
.nav a:hover { color: var(--accent); }
.nav a.cta {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 20px;
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.2s ease;
}
.nav a.cta:hover { background: var(--accent); color: white; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.4rem;
  color: var(--ink);
}

@media (max-width: 820px) {
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0;
         flex-direction: column; align-items: flex-start; gap: 0;
         background: var(--bg); border-bottom: 1px solid var(--border);
         padding: 16px 28px 24px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav a.cta { margin-top: 10px; text-align: center; width: 100%; }
  .nav-toggle { display: block; }
}

/* Hero - new age, bold, visual
   -------------------------------------------------- */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 75% 30%, rgba(200, 66, 28, 0.08), transparent 60%),
    radial-gradient(ellipse 60% 80% at 10% 80%, rgba(14, 58, 54, 0.06), transparent 60%),
    var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(24, 20, 15, 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 50%, black 30%, transparent 80%);
}

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}

.hero h1 {
  max-width: 14ch;
  margin-bottom: 1.8rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero .lede {
  font-size: 1.18rem;
  max-width: 50ch;
  color: var(--ink-soft);
  margin-bottom: 2.4rem;
  line-height: 1.55;
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(200, 66, 28, 0.85), rgba(14, 58, 54, 0.85)),
    linear-gradient(45deg, var(--accent), var(--secondary));
  display: flex;
  align-items: flex-end;
  padding: 32px;
  box-shadow: var(--shadow-lg);
  /* When a real photo is added, drop it into images/hero.jpg and uncomment the line below.
     The gradient will overlay subtly. */
  /* background-image: linear-gradient(135deg, rgba(24, 20, 15, 0.35), rgba(24, 20, 15, 0.1)), url('images/hero.jpg');
     background-size: cover; background-position: center; */
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(255, 255, 255, 0.04) 20px, rgba(255, 255, 255, 0.04) 40px);
  pointer-events: none;
}

.hero-visual-caption {
  position: relative;
  color: white;
  z-index: 2;
}
.hero-visual-caption .num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 400;
  display: block;
  line-height: 1;
}
.hero-visual-caption .label {
  font-size: 0.92rem;
  opacity: 0.85;
  margin-top: 8px;
  max-width: 24ch;
}

.hero-meta {
  display: flex;
  gap: 32px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-meta .item {
  font-size: 0.88rem;
}
.hero-meta .item strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 2px;
}
.hero-meta .item span {
  color: var(--ink-muted);
}

/* Buttons
   -------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  letter-spacing: -0.005em;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border: none;
}
.btn-primary:hover {
  background: var(--accent);
  color: white;
  border: none;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover {
  border-color: var(--ink);
  border-bottom-color: var(--ink);
  background: rgba(24, 20, 15, 0.03);
}
.btn + .btn { margin-left: 12px; }

.btn-arrow::after {
  content: " \2192";
  display: inline-block;
  transition: transform 0.2s ease;
}
.btn-arrow:hover::after {
  transform: translateX(4px);
}

/* Cards / Grid
   -------------------------------------------------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 880px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 32px;
  transition: all 0.25s ease;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card a.card-link {
  display: block;
  border: none;
  color: var(--ink);
}
.card a.card-link:hover { border: none; }
.card-arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--accent);
}

/* Pillars - what makes us different
   -------------------------------------------------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 880px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars .pillar { border-right: none !important; border-bottom: 1px solid var(--border); }
  .pillars .pillar:last-child { border-bottom: none; }
}
.pillar {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
}
.pillar:last-child { border-right: none; }
.pillar .num {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 12px;
  font-style: italic;
}
.pillar h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}
.pillar p { color: var(--ink-muted); margin-bottom: 0; }

/* Stat strip
   -------------------------------------------------- */
.stat-strip {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0;
  margin: 60px 0 0;
}
.stat-strip h2 {
  color: var(--bg);
  max-width: 28ch;
  margin-bottom: 60px;
}
.stat-strip h2 em {
  font-style: italic;
  color: var(--accent-soft);
}
.stat-strip .grid-4 { gap: 40px; }
.stat-strip .stat {
  border-left: none;
  padding: 0;
}
.stat-strip .stat .num {
  font-family: 'Fraunces', serif;
  font-size: 3.4rem;
  font-weight: 400;
  color: var(--bg);
  display: block;
  line-height: 1;
  margin-bottom: 12px;
  font-variation-settings: 'opsz' 144;
}
.stat-strip .stat .label {
  font-size: 0.95rem;
  color: rgba(250, 246, 238, 0.7);
  line-height: 1.5;
}

/* Stat blocks (legacy on other pages)
   -------------------------------------------------- */
.stat {
  border-left: 2px solid var(--accent);
  padding: 4px 0 4px 20px;
}
.stat .num {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  display: block;
  color: var(--ink);
  line-height: 1.05;
  font-weight: 400;
}
.stat .label {
  font-size: 0.88rem;
  color: var(--ink-muted);
  margin-top: 4px;
}

/* Process / numbered list
   -------------------------------------------------- */
.steps { counter-reset: step; list-style: none; }
.steps li {
  counter-increment: step;
  padding: 28px 0 28px 80px;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.steps li:last-child { border-bottom: none; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 28px;
  font-style: italic;
  font-weight: 400;
}
.steps li h3 { margin-bottom: 8px; font-size: 1.3rem; }
.steps li p { color: var(--ink-muted); margin-bottom: 0; }

/* About - founders
   -------------------------------------------------- */
.founder {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: start;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.founder:last-child { border-bottom: none; }
.founder-avatar {
  width: 220px;
  height: 280px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--secondary), var(--accent));
  display: flex;
  align-items: flex-end;
  padding: 24px;
  color: var(--bg);
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 500;
  overflow: hidden;
  position: relative;
}
.founder-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(255, 255, 255, 0.04) 20px, rgba(255, 255, 255, 0.04) 40px);
}
.founder-avatar .initials {
  position: absolute;
  top: 24px;
  left: 24px;
  font-size: 3rem;
  opacity: 0.4;
}
.founder-avatar .name {
  position: relative;
  z-index: 2;
}
.founder h3 { font-size: 1.55rem; margin-bottom: 6px; }
.founder .role {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  font-weight: 600;
}
@media (max-width: 700px) {
  .founder { grid-template-columns: 1fr; }
  .founder-avatar { width: 100%; max-width: 280px; height: 320px; }
}

/* Forms
   -------------------------------------------------- */
.form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  display: grid;
  gap: 18px;
  margin-bottom: 18px;
}
.form-row.two { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form-row.two { grid-template-columns: 1fr; } }

.form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg);
  transition: all 0.15s ease;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(24, 20, 15, 0.06);
}
.form textarea { min-height: 140px; resize: vertical; }
.form button { margin-top: 10px; }

/* Footer
   -------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-deep);
  padding: 60px 0 36px;
  margin-top: 0;
}
.site-footer .container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 760px) {
  .site-footer .container { grid-template-columns: 1fr; gap: 32px; }
}
.site-footer h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a {
  color: var(--ink);
  font-size: 0.94rem;
  border: none;
}
.site-footer ul li a:hover { color: var(--accent); }
.site-footer .footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 44px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--ink-muted);
  text-align: center;
}

/* Page intro (for non-homepage pages)
   -------------------------------------------------- */
.page-intro {
  padding: 100px 0 60px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 80% at 90% 30%, rgba(200, 66, 28, 0.05), transparent 60%),
    var(--bg);
}
.page-intro h1 { max-width: 22ch; margin-bottom: 1.2rem; }
.page-intro h1 em { font-style: italic; color: var(--accent); font-weight: 400; }
.page-intro p.lede {
  font-size: 1.15rem;
  max-width: 62ch;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Tables
   -------------------------------------------------- */
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
  margin: 28px 0;
}
table.spec th, table.spec td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
table.spec th {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--ink-muted);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 30%;
}

/* Callout
   -------------------------------------------------- */
.callout {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 26px 30px;
  margin: 32px 0;
  border-radius: 0 8px 8px 0;
  box-shadow: var(--shadow-sm);
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--ink); }

/* CTA banner
   -------------------------------------------------- */
.cta-banner {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 80% at 80% 50%, rgba(200, 66, 28, 0.25), transparent 60%),
    radial-gradient(ellipse 60% 60% at 10% 100%, rgba(180, 134, 44, 0.15), transparent 60%);
  pointer-events: none;
}
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: var(--bg); margin-bottom: 1rem; max-width: 24ch; }
.cta-banner h2 em { font-style: italic; color: var(--accent-soft); }
.cta-banner p { color: rgba(250, 246, 238, 0.78); max-width: 56ch; margin-bottom: 1.8rem; font-size: 1.05rem; }
.cta-banner .btn-primary { background: var(--bg); color: var(--ink); }
.cta-banner .btn-primary:hover { background: var(--accent); color: white; }
.cta-banner .btn-secondary { color: var(--bg); border-color: rgba(250, 246, 238, 0.35); }
.cta-banner .btn-secondary:hover { border-color: var(--bg); background: rgba(250, 246, 238, 0.06); }

/* Image placeholder - polished, intentional-looking
   -------------------------------------------------- */
.img-placeholder {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  box-shadow: var(--shadow-md);
}
.img-placeholder.tall { aspect-ratio: 3/4; }
.img-placeholder.wide { aspect-ratio: 21/9; }
.img-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 16px, rgba(255, 255, 255, 0.04) 16px, rgba(255, 255, 255, 0.04) 32px);
}

/* Corridor map block
   -------------------------------------------------- */
.corridor {
  background: var(--bg-deep);
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.corridor-visual {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 48px;
  box-shadow: var(--shadow-sm);
  font-family: 'Fraunces', serif;
}
.corridor-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.corridor-point {
  flex: 1;
  min-width: 200px;
}
.corridor-point .pt-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.corridor-point .pt-name {
  font-family: 'Fraunces', serif;
  font-size: 1.6rem;
  color: var(--ink);
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.corridor-point .pt-detail {
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.corridor-arrow {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  color: var(--accent);
  font-style: italic;
}
@media (max-width: 700px) {
  .corridor-arrow { display: none; }
  .corridor-route { flex-direction: column; align-items: flex-start; }
}

/* Photo slot - intentional placeholder for Fiori to drop real images
   -------------------------------------------------- */
.photo-slot {
  position: relative;
  aspect-ratio: 16/9;
  background:
    linear-gradient(135deg, rgba(14, 58, 54, 0.94), rgba(200, 66, 28, 0.94));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  padding: 32px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.photo-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, transparent 0, transparent 20px, rgba(255, 255, 255, 0.04) 20px, rgba(255, 255, 255, 0.04) 40px);
}
.photo-slot .slot-content {
  position: relative;
  z-index: 2;
  max-width: 32ch;
}
.photo-slot .slot-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 10px;
}
.photo-slot .slot-caption {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  line-height: 1.2;
  font-style: italic;
  font-weight: 400;
}

/* Utilities
   -------------------------------------------------- */
.center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mt-5 { margin-top: 3.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2.5rem; }
.divider { height: 1px; background: var(--border); margin: 64px 0; }

/* Subtle on-scroll reveal
   -------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  .reveal.in {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating WhatsApp button (FAB)
   -------------------------------------------------- */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.12);
  z-index: 1000;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5), 0 3px 10px rgba(0, 0, 0, 0.16);
  border-bottom: none;
}
.whatsapp-fab svg {
  width: 32px;
  height: 32px;
  fill: white;
  position: relative;
  z-index: 2;
}

/* Subtle pulse ring */
.whatsapp-fab::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0;
  z-index: 1;
}
@media (prefers-reduced-motion: no-preference) {
  .whatsapp-fab::before {
    animation: whatsapp-pulse 2.4s ease-in-out infinite;
  }
}
@keyframes whatsapp-pulse {
  0% { transform: scale(1); opacity: 0.45; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* Mobile */
@media (max-width: 600px) {
  .whatsapp-fab {
    width: 56px;
    height: 56px;
    bottom: 18px;
    right: 18px;
  }
  .whatsapp-fab svg {
    width: 28px;
    height: 28px;
  }
}

/* Accessible tooltip on hover (desktop) */
.whatsapp-fab .fab-label {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: var(--bg);
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 8px 14px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.whatsapp-fab:hover .fab-label {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}
@media (max-width: 760px) {
  .whatsapp-fab .fab-label { display: none; }
}

/* Hero video panel - drop hero.mp4 in the website folder to activate
   -------------------------------------------------- */
.hero-video-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(200, 66, 28, 0.85), rgba(14, 58, 54, 0.85)),
    linear-gradient(45deg, var(--accent), var(--secondary));
  box-shadow: var(--shadow-lg);
}
.hero-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero-video-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(255, 255, 255, 0.04) 20px, rgba(255, 255, 255, 0.04) 40px);
  z-index: 2;
  pointer-events: none;
}
.hero-video-wrap .video-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 32px;
  color: white;
  z-index: 2;
}
.hero-video-wrap .video-fallback .num {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 400;
  display: block;
  line-height: 1;
}
.hero-video-wrap .video-fallback .label {
  font-size: 0.92rem;
  opacity: 0.85;
  margin-top: 8px;
  max-width: 26ch;
}
/* When a video exists, hide the fallback */
.hero-video-wrap video:not([data-empty]) ~ .video-fallback {
  display: none;
}

/* "What you get" benefit cards
   -------------------------------------------------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
}
@media (max-width: 760px) {
  .benefit-grid { grid-template-columns: 1fr; }
}
.benefit {
  padding: 40px 36px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background 0.2s ease;
}
.benefit:nth-child(2n) { border-right: none; }
.benefit:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 760px) {
  .benefit { border-right: none; }
  .benefit:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .benefit:last-child { border-bottom: none; }
}
.benefit:hover { background: var(--bg-deep); }
.benefit .benefit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-deep);
  margin-bottom: 18px;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  font-style: italic;
}
.benefit h3 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.benefit .headline {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.benefit p {
  color: var(--ink-muted);
  font-size: 0.96rem;
  margin: 0;
}

/* Vertical step timeline - "How we work"
   -------------------------------------------------- */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), var(--secondary));
  opacity: 0.4;
}
.timeline-step {
  position: relative;
  padding: 20px 0 20px 40px;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 26px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  z-index: 2;
}
.timeline-step.highlight::before {
  background: var(--accent);
  box-shadow: 0 0 0 6px var(--accent-soft);
}
.timeline-step .step-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.timeline-step h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}
.timeline-step p { color: var(--ink-muted); margin: 0; }

/* FAQ block
   -------------------------------------------------- */
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after {
  content: "−";
  color: var(--accent-deep);
}
.faq-item summary:hover { color: var(--accent); }
.faq-item .faq-body {
  padding: 16px 0 6px;
  color: var(--ink-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 64ch;
}

/* Product carousel - horizontal scroll with snap
   -------------------------------------------------- */
.product-carousel-wrap {
  position: relative;
  margin: 0 -28px;
}
.product-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 12px 28px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.product-carousel::-webkit-scrollbar { height: 8px; }
.product-carousel::-webkit-scrollbar-track { background: transparent; }
.product-carousel::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 4px; }
.product-carousel::-webkit-scrollbar-thumb:hover { background: var(--ink-muted); }

.product-card {
  flex: 0 0 320px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}
.product-card .product-image {
  aspect-ratio: 4/3;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.product-card .product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, transparent 0, transparent 18px, rgba(255, 255, 255, 0.05) 18px, rgba(255, 255, 255, 0.05) 36px);
}
/* Variant gradient backgrounds for visual interest across cards */
.product-card:nth-child(2) .product-image { background: linear-gradient(135deg, var(--accent), var(--gold)); }
.product-card:nth-child(3) .product-image { background: linear-gradient(135deg, var(--gold), var(--secondary)); }
.product-card:nth-child(4) .product-image { background: linear-gradient(135deg, var(--secondary), var(--ink)); }
.product-card:nth-child(5) .product-image { background: linear-gradient(135deg, var(--accent-deep), var(--secondary)); }
.product-card:nth-child(6) .product-image { background: linear-gradient(135deg, var(--ink), var(--accent)); }

/* When real photos exist, drop them into images/products/ and replace .product-image
   with: <img src="images/products/footwear.jpg" alt="..." class="product-image"> */
.product-card img.product-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--border);
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}
.product-card .product-tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.product-card .num {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 400;
  display: block;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
  font-variation-settings: 'opsz' 144;
  padding-left: 16px;
  border-left: 2px solid var(--accent);
}
.product-card p {
  color: var(--ink-muted);
  font-size: 0.96rem;
  line-height: 1.5;
  margin: 0;
  padding-left: 16px;
}

.carousel-hint {
  font-size: 0.82rem;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.carousel-hint::before {
  content: "\2190 \2192";
  letter-spacing: 4px;
  color: var(--accent);
}

/* Founder teaser (compact version for homepage)
   -------------------------------------------------- */
.founder-teaser {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
@media (max-width: 760px) {
  .founder-teaser { grid-template-columns: 1fr; }
}
.founder-card {
  display: flex;
  gap: 20px;
  align-items: center;
}
.founder-card .mini-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  font-weight: 500;
  flex-shrink: 0;
}
.founder-card .mini-avatar.alt {
  background: linear-gradient(135deg, var(--accent), var(--gold));
}
.founder-card .info h3 {
  font-size: 1.15rem;
  margin-bottom: 2px;
}
.founder-card .info p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}

/* Blog
   -------------------------------------------------- */
.blog-article {
  padding: 80px 0 60px;
}
.blog-meta {
  margin-bottom: 14px;
}
.blog-meta a {
  border: none !important;
  text-decoration: none;
}
.blog-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  font-weight: 400;
}
.blog-body {
  font-size: 1.06rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.blog-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 56px 0 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.blog-body h3 {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 36px 0 12px;
  color: var(--ink);
}
.blog-body p {
  margin-bottom: 1.1rem;
}
.blog-body ul,
.blog-body ol {
  margin: 0 0 1.4rem 1.4rem;
  padding-left: 0;
}
.blog-body li {
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}
.blog-body strong {
  color: var(--ink);
  font-weight: 600;
}
.blog-body em {
  font-style: italic;
}
.blog-body a {
  color: var(--accent);
  border-bottom: 1px solid var(--accent-soft);
  text-decoration: none;
  word-break: break-word;
}
.blog-body a:hover {
  border-bottom-color: var(--accent);
}
.blog-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 48px 0;
}
.blog-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 22px;
  margin: 24px 0;
  font-style: italic;
  color: var(--ink-muted);
}
.blog-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--bg-deep);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92em;
}

/* Blog tables - responsive wrap */
.table-wrap {
  overflow-x: auto;
  margin: 32px 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.blog-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 480px;
}
.blog-table th,
.blog-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--ink-soft);
}
.blog-table th {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  color: var(--ink-muted);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--bg-deep);
}
.blog-table tr:last-child td {
  border-bottom: none;
}

.blog-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Blog index grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.blog-card {
  display: block;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.blog-card h3 {
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  margin: 6px 0 12px;
  color: var(--ink);
}
.blog-card .muted {
  font-size: 0.96rem;
  line-height: 1.55;
}
.blog-card-arrow {
  margin-top: 18px;
  color: var(--accent);
  font-weight: 500;
  font-size: 0.95rem;
}

@media (max-width: 700px) {
  .blog-article { padding: 56px 0 40px; }
  .blog-body h2 { margin: 40px 0 14px; }
}
