/* Hands & Craft — shared CSS for modal, gate, SKU detail, toast, polish */

/* ---------- Scroll reveal ---------- */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s cubic-bezier(0.22,0.61,0.36,1), transform 0.9s cubic-bezier(0.22,0.61,0.36,1);
}
.js-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.js-reveal-delay-1 { transition-delay: 0.08s; }
.js-reveal-delay-2 { transition-delay: 0.16s; }
.js-reveal-delay-3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal { transition: none; transform: none; opacity: 1; }
}

/* ---------- Toast ---------- */
.hc-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translate(-50%, 40px);
  background: #1a1715;
  color: #fafaf7;
  padding: 16px 28px;
  border-radius: 4px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.32);
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.32s ease, transform 0.32s cubic-bezier(0.22,0.61,0.36,1);
  pointer-events: none;
  max-width: calc(100vw - 32px);
}
.hc-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.hc-toast-success { border-left: 3px solid #5be888; padding-left: 25px; }
.hc-toast-error { border-left: 3px solid #ef5350; padding-left: 25px; }

/* ---------- Modal shell ---------- */
.hc-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}
.hc-modal.is-open { display: flex; animation: hcFade 0.28s ease; }
@keyframes hcFade { from { opacity: 0; } to { opacity: 1; } }

.hc-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 11, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hc-modal-panel {
  position: relative;
  background: #fafaf7;
  max-width: 620px;
  width: 100%;
  max-height: calc(100vh - 64px);
  overflow-y: auto;
  border-radius: 6px;
  padding: 56px 56px 48px;
  box-shadow: 0 40px 120px rgba(0,0,0,0.35);
  animation: hcRise 0.42s cubic-bezier(0.22,0.61,0.36,1);
}
@keyframes hcRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.hc-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: #857f77;
  cursor: pointer;
  padding: 8px 12px;
  transition: color 0.15s;
  z-index: 2;
}
.hc-modal-close:hover { color: #1a1715; }

.hc-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b8860b;
  margin: 0 0 20px;
}

.hc-modal-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #1a1715;
}

.hc-modal-lede {
  font-size: 16px;
  line-height: 1.65;
  color: #4a4540;
  margin: 0 0 28px;
}

/* ---------- Access form ---------- */
.hc-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hc-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.hc-form-row label,
.hc-form-full {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hc-form label span {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1a1715;
}
.hc-form input,
.hc-form select,
.hc-form textarea {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 14px;
  padding: 12px 14px;
  border: 1px solid #e4ddd1;
  border-radius: 4px;
  background: #fff;
  color: #1a1715;
  transition: border-color 0.15s;
  width: 100%;
}
.hc-form input:focus,
.hc-form select:focus,
.hc-form textarea:focus {
  outline: none;
  border-color: #1a1715;
}
.hc-form textarea {
  resize: vertical;
  font-family: inherit;
  min-height: 80px;
}

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 16px 28px;
  border-radius: 4px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}
.hc-btn-primary {
  background: #1a1715;
  color: #fafaf7;
}
.hc-btn-primary:hover { background: #b8860b; color: #fafaf7; }
.hc-btn-primary:disabled { opacity: 0.6; cursor: wait; }

.hc-btn-outline {
  background: transparent;
  color: #1a1715;
  border-color: #1a1715;
}
.hc-btn-outline:hover { background: #1a1715; color: #fafaf7; }

.hc-form-note {
  font-size: 12px;
  color: #857f77;
  margin: 8px 0 0;
}

/* ---------- Success state ---------- */
.hc-success { text-align: center; }
.hc-success-mark {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.hc-direct {
  padding: 24px;
  background: #f2efe8;
  border: 1px solid #e4ddd1;
  border-radius: 4px;
  margin: 24px 0;
  text-align: left;
}
.hc-direct p { margin: 4px 0; font-size: 15px; }
.hc-direct a { color: #1a1715; font-weight: 500; }

/* ---------- SKU detail modal ---------- */
.hc-sku-panel {
  max-width: 920px;
  padding: 0;
  overflow: hidden;
}
.hc-sku-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
}
.hc-sku-image {
  background: #f2efe8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px;
}
.hc-sku-image img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.hc-sku-meta {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hc-sku-meta .hc-eyebrow { margin-bottom: 6px; font-family: 'JetBrains Mono', SF Mono, Menlo, monospace; }
.hc-sku-meta .hc-modal-title { font-size: 30px; margin: 0 0 10px; }
.hc-sku-cats {
  margin: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.hc-sku-cats span {
  font-size: 11px;
  color: #8b6508;
  background: rgba(184,134,11,0.1);
  padding: 4px 10px;
  border-radius: 12px;
}
.hc-sku-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #4a4540;
  margin: 0 0 16px;
}
.hc-sku-specs {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 10px 18px;
  margin: 0 0 24px;
  padding: 20px 0;
  border-top: 1px solid #e4ddd1;
  border-bottom: 1px solid #e4ddd1;
  font-size: 13px;
}
.hc-sku-specs dt {
  color: #857f77;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px;
}
.hc-sku-specs dd {
  margin: 0;
  color: #1a1715;
  font-weight: 500;
}
.hc-sku-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Catalog gate ---------- */
.catalog-card.is-locked {
  filter: blur(12px) grayscale(80%);
  pointer-events: none;
  user-select: none;
}
.hc-gate {
  position: absolute;
  left: 50%;
  top: 62%;
  transform: translate(-50%, -10%);
  width: min(620px, 92vw);
  padding: 56px 48px;
  background: #fafaf7;
  border: 1px solid #e4ddd1;
  border-radius: 8px;
  box-shadow: 0 48px 140px rgba(0,0,0,0.22);
  text-align: center;
  z-index: 10;
}
.hc-gate-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  color: #1a1715;
}
.hc-gate-lede {
  font-size: 16px;
  line-height: 1.65;
  color: #4a4540;
  margin: 0 0 28px;
}
.hc-gate-note {
  font-size: 12px;
  color: #857f77;
  margin: 16px 0 0;
}
.work-grid-section { position: relative; }

/* ---------- Homepage visual polish ---------- */

/* Hero */
.hero-v2 {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 120px 0 48px;
  border-bottom: 1px solid #e4ddd1;
  position: relative;
  background: #fafaf7;
}
.hero-v2-inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-v2 .hero-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b8860b;
  font-weight: 500;
  margin: 0 0 36px;
}
.hero-v2 .hero-headline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(44px, 7.5vw, 104px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 44px;
  color: #1a1715;
}
.hero-v2 .hero-headline em {
  font-style: italic;
  color: #b8860b;
}
.hero-v2 .hero-sub {
  font-size: 20px;
  line-height: 1.55;
  color: #4a4540;
  max-width: 560px;
  margin: 0 0 48px;
}
.hero-v2-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-v2-meta {
  position: relative;
  padding: 0 32px;
  max-width: 1000px;
  width: 100%;
  margin: 64px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #857f77;
  z-index: 2;
}
.hero-v2-meta span { position: relative; white-space: nowrap; }
.hero-v2-meta span:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  width: 4px;
  height: 4px;
  background: #b8860b;
  border-radius: 50%;
  transform: translateY(-50%);
}
/* Hide the trailing dot when items wrap to a new line */
@media (max-width: 900px) {
  .hero-v2-meta { gap: 12px 20px; font-size: 11px; }
  .hero-v2-meta span:not(:last-child)::after { right: -12px; }
}

/* Chapter sections */
.chapter {
  padding: 140px 0;
  border-bottom: 1px solid #e4ddd1;
}
.chapter-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 32px;
}
.chapter-inner-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}
.chapter-eyebrow {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #b8860b;
  margin: 0 0 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.chapter-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: #b8860b;
}
.chapter-heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(36px, 5.2vw, 72px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0 0 48px;
  color: #1a1715;
  max-width: 860px;
}
.chapter-heading em { font-style: italic; color: #b8860b; }

.chapter-body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  line-height: 1.6;
  color: #4a4540;
  max-width: 700px;
}
.chapter-body p { margin: 0 0 28px; }
.chapter-body p:last-child { margin-bottom: 0; }
.chapter-body strong { font-weight: 600; color: #1a1715; }

.chapter-split {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: flex-start;
}
@media (max-width: 900px) {
  .chapter-split { grid-template-columns: 1fr; gap: 40px; }
}
.chapter-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 4px;
  background: #f2efe8;
}
.chapter-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Craft sentence */
.craft-sentence {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.45;
  color: #1a1715;
  max-width: 980px;
}
.craft-sentence em { font-style: italic; color: #b8860b; }
.craft-sentence span {
  display: inline-block;
  opacity: 0.8;
}

/* Process steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-top: 48px;
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  .process-steps { grid-template-columns: 1fr; }
}
.process-step {
  border-top: 1px solid #b8860b;
  padding-top: 24px;
}
.process-step-num {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #b8860b;
  margin: 0 0 12px;
}
.process-step-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  color: #1a1715;
  margin: 0 0 12px;
}
.process-step-desc {
  font-size: 14px;
  line-height: 1.65;
  color: #4a4540;
  margin: 0;
}

/* Final invitation */
.invitation {
  padding: 160px 0;
  background: #1a1715;
  color: #fafaf7;
  text-align: center;
}
.invitation-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 32px;
}
.invitation .chapter-eyebrow {
  color: #b8860b;
  justify-content: center;
}
.invitation h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 32px;
  color: #fafaf7;
}
.invitation h2 em { font-style: italic; color: #b8860b; }
.invitation p {
  font-size: 19px;
  line-height: 1.6;
  color: rgba(250,250,247,0.72);
  margin: 0 0 48px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.invitation .hc-btn-primary {
  background: #b8860b;
  color: #1a1715;
  font-size: 16px;
  padding: 20px 40px;
}
.invitation .hc-btn-primary:hover { background: #fafaf7; }

/* Product peek (homepage teaser) */
.peek-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 56px;
}
@media (max-width: 1000px) { .peek-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .peek-grid { grid-template-columns: repeat(2, 1fr); } }
.peek-card {
  aspect-ratio: 1 / 1;
  background: #fafaf7;
  border: 1px solid #e4ddd1;
  border-radius: 4px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  cursor: pointer;
  font: inherit;
  color: inherit;
  width: 100%;
  -webkit-tap-highlight-color: rgba(184,134,11,0.15);
}
.peek-card:hover,
.peek-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(26,23,21,0.08);
  border-color: #1a1715;
  outline: none;
}
.peek-card:active {
  transform: translateY(-1px);
  transition: transform 0.1s ease;
}
.peek-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

body.home .cta-final { display: none; }

/* Responsive modal */
@media (max-width: 780px) {
  .hc-modal-panel { padding: 40px 24px 32px; }
  .hc-modal-title { font-size: 32px; }
  .hc-form-row { grid-template-columns: 1fr; }
  .hc-gate { padding: 40px 24px; top: 55%; }
  .hc-gate-title { font-size: 28px; }
  .hc-sku-layout { grid-template-columns: 1fr; }
  .hc-sku-image { min-height: 280px; padding: 40px; }
  .hc-sku-meta { padding: 40px 28px; }
}

/* Placeholder styling */
.image-placeholder {
  background-image:
    repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(184,134,11,0.05) 20px, rgba(184,134,11,0.05) 40px),
    #f2efe8 !important;
}

/* ---------- Logo (header + footer) ---------- */
.logo.logo-image { display: flex; align-items: center; gap: 0; }
.logo.logo-image img {
  height: 80px;
  width: auto;
  display: block;
  transition: transform 0.25s ease;
}
.logo.logo-image:hover img {
  transform: scale(1.03);
}
.site-header-dark .logo.logo-image img {
  filter: invert(1) brightness(1.1);
}

/* Footer logo image */
.footer-logo-image {
  display: block;
  height: 88px;
  width: auto;
  margin: 0 0 16px;
  filter: invert(1) brightness(1.05);
}

/* Mobile: slightly smaller */
@media (max-width: 900px) {
  .logo.logo-image img { height: 64px; }
  .footer-logo-image { height: 72px; }
}

/* ---------- Mobile hamburger menu ---------- */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 102;
  position: relative;
}
.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: #1a1715;
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 1px;
}
.site-header-dark .hamburger-line { background: #fafaf7; }

/* Open state */
.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 900px) {
  .hamburger { display: block; }

  .nav {
    display: flex !important;
    position: fixed;
    top: 0;
    right: -100%;
    width: min(360px, 85vw);
    height: 100vh;
    background: #fafaf7;
    flex-direction: column;
    padding: 100px 40px 48px;
    gap: 0;
    box-shadow: -20px 0 60px rgba(0,0,0,0.15);
    transition: right 0.35s cubic-bezier(0.22,0.61,0.36,1);
    z-index: 101;
    overflow-y: auto;
  }
  .nav.is-open { right: 0; }

  .nav a {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    color: #1a1715 !important;
    padding: 18px 0;
    border-bottom: 1px solid #e4ddd1;
    display: block;
  }
  .nav a:last-child { border-bottom: none; }
  .nav a.nav-agents {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    border: none;
    padding: 16px 0;
    border-radius: 0;
  }
  .nav a.nav-cta {
    margin-top: 24px;
    background: #1a1715;
    color: #fafaf7 !important;
    text-align: center;
    border-radius: 4px;
    padding: 18px 24px;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: 15px;
  }

  /* Dark header mobile menu overlay */
  .site-header-dark .nav {
    background: #1a1715;
  }
  .site-header-dark .nav a {
    color: #fafaf7 !important;
    border-color: rgba(255,255,255,0.1);
  }
  .site-header-dark .nav a.nav-cta {
    background: #b8860b;
    color: #1a1715 !important;
  }

  /* Language selector in mobile nav */
  .nav .lang-selector-mobile {
    display: flex;
    gap: 12px;
    padding: 24px 0 0;
    margin-top: auto;
  }
  .nav .lang-selector-mobile a {
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    font-size: 13px;
    padding: 8px 14px;
    border: 1px solid #e4ddd1;
    border-radius: 20px;
    text-align: center;
  }
}

/* ---------- Language selector (desktop) ---------- */
.lang-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 8px;
  z-index: 50;
  background: rgba(26,23,21,0.92);
  backdrop-filter: blur(8px);
  padding: 8px 12px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.lang-bar a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250,250,247,0.7);
  padding: 6px 10px;
  border-radius: 16px;
  text-decoration: none;
  transition: all 0.2s;
}
.lang-bar a:hover { color: #fafaf7; background: rgba(255,255,255,0.1); }
.lang-bar a.is-active { color: #b8860b; background: rgba(184,134,11,0.15); }
@media (max-width: 900px) {
  .lang-bar { bottom: 16px; right: 16px; padding: 6px 10px; }
  .lang-bar a { font-size: 11px; padding: 5px 8px; }
}

/* ============================================================
   Mobile responsiveness — comprehensive tablet/phone fixes
   v2 (2026-04-17): beats inline style overrides with !important,
   tap-target-safe, tested on iPhone 12 Pro (375x812).
   ============================================================ */

@media (max-width: 700px) {
  /* ---------- GLOBAL SAFETY ---------- */
  html, body { overflow-x: hidden; max-width: 100vw; }
  img, video, svg, iframe { max-width: 100%; height: auto; }
  .container { padding: 0 20px; }

  /* ---------- HIDE <br> IN HEADLINES (let text wrap naturally) ---------- */
  /* Headlines use <br> tags for desktop visual rhythm. On mobile, those forced
     line breaks cause overflow if italic/fallback fonts render wider. */
  .hero-headline br,
  .page-title br,
  .chapter-heading br,
  .invitation h2 br,
  .hero-sub br,
  .nf-title br,
  .ty-title br,
  .agents-title br { display: none; }

  /* ---------- PREVENT LONG WORDS FROM OVERFLOWING ---------- */
  /* overflow-wrap: break-word = emergency break only when word would overflow.
     hyphens: manual = never auto-hyphenate (no ugly "handi-craft" splits). */
  .hero-headline, .page-title, .chapter-heading,
  .invitation h2, .nf-title, .ty-title, .agents-title,
  .story-heading, .chapter-body p, h1, h2, h3, p, li {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: manual;
    -webkit-hyphens: manual;
  }

  /* ---------- HEADER ---------- */
  .site-header { padding: 0; }
  .header-inner { padding: 12px 20px !important; min-height: 64px; }
  .logo.logo-image img { height: 48px !important; }

  /* ---------- HAMBURGER TAP TARGET (44x44 minimum) ---------- */
  .hamburger {
    width: 44px !important;
    height: 44px !important;
    padding: 10px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .hamburger-line { width: 22px; margin: 4px 0; }

  /* ---------- NAV DRAWER (when opened) ---------- */
  .nav { padding: 88px 32px 40px !important; }
  .nav a { min-height: 44px; display: flex !important; align-items: center; }

  /* ---------- CHAPTER SECTIONS (landing pages) ---------- */
  .chapter { padding: 56px 0; }
  .chapter-inner,
  .chapter-inner-wide { padding: 0 20px; }
  .chapter-eyebrow {
    font-size: 12px;
    margin: 0 0 20px;
    gap: 10px;
  }
  .chapter-eyebrow::before { width: 20px; }
  .chapter-heading {
    margin: 0 0 24px;
    line-height: 1.08;
  }
  .chapter-body {
    font-size: 18px;
    line-height: 1.55;
  }
  .chapter-body p { margin: 0 0 20px; }

  /* --- Force any inline-styled grids to 1 column on mobile --- */
  .chapter-split,
  .chapter-split[style] {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .process-steps,
  .process-steps[style] {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  /* ---------- HERO V2 (homepage) ---------- */
  .hero-v2 {
    min-height: auto;
    padding: 48px 0 40px;
  }
  .hero-v2-inner { padding: 0 20px; }
  .hero-v2 .hero-eyebrow { margin: 0 0 20px; font-size: 12px; }
  .hero-v2 .hero-headline {
    line-height: 1.02;
    margin: 0 0 24px;
  }
  .hero-v2 .hero-sub {
    font-size: 17px;
    line-height: 1.5;
    margin: 0 0 32px;
  }
  .hero-v2-meta {
    margin: 32px auto 0;
    padding: 0 20px;
    font-size: 11px;
    letter-spacing: 0.08em;
    line-height: 1.8;
  }
  .hero-v2-ctas { gap: 10px; width: 100%; flex-direction: column; }
  .hero-v2-ctas .hc-btn { width: 100%; justify-content: center; }

  /* ---------- PAGE HERO (solar, sourcing, moradabad, work, atelier, etc.) ---------- */
  .page-hero { padding: 44px 0 36px; }
  .page-title { margin: 0 0 20px; }
  .page-lede { font-size: 16px; line-height: 1.55; }

  /* ---------- INVITATION (big dark CTA block) ---------- */
  .invitation { padding: 64px 0; }
  .invitation-inner { padding: 0 20px; }
  .invitation h2 { margin: 0 0 20px; }
  .invitation p {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 32px;
  }
  .invitation .hc-btn-primary {
    font-size: 15px;
    padding: 16px 24px;
    width: 100%;
    justify-content: center;
  }

  /* ---------- BUTTONS ---------- */
  .hc-btn {
    font-size: 14px;
    padding: 14px 20px;
    min-height: 44px;
  }

  /* ---------- SECTION HEADINGS ---------- */
  .section-heading { margin-bottom: 24px; }

  /* ---------- CATALOG FILTERS (work page): horizontal scroll ---------- */
  .catalog-filters {
    flex-wrap: nowrap !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -20px 20px;
    padding: 4px 20px 12px;
  }
  .catalog-filters::-webkit-scrollbar { display: none; }
  .catalog-filters > * { flex-shrink: 0 !important; white-space: nowrap; }

  /* ---------- CATALOG GRID ---------- */
  .catalog-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
  }
  .hc-gate {
    width: calc(100vw - 40px) !important;
    max-width: none !important;
    padding: 36px 24px !important;
  }
  .hc-gate-title { font-size: 26px !important; line-height: 1.1 !important; }
  .hc-gate-lede { font-size: 15px !important; }

  /* ---------- WORK PAGE LEGACY (work-card if present) ---------- */
  .work-card { grid-template-columns: 1fr !important; gap: 24px !important; padding: 32px 0 !important; }
  .work-specs { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }

  /* ---------- CONTACT PAGE ---------- */
  .contact-section { padding: 40px 0 64px; }
  .contact-inner { grid-template-columns: 1fr !important; gap: 32px !important; }
  .form-row { grid-template-columns: 1fr !important; }
  .project-form input,
  .project-form textarea,
  .project-form select { font-size: 16px !important; padding: 14px 16px !important; min-height: 44px; }

  /* ---------- 404 PAGE ---------- */
  .nf-hero {
    padding: 40px 20px !important;
    min-height: calc(100vh - 64px) !important;
  }
  .nf-number { font-size: 120px !important; line-height: 0.9 !important; }
  .nf-title { font-size: 28px !important; line-height: 1.15 !important; }
  .nf-sub { font-size: 16px !important; }
  .nf-actions { flex-direction: column !important; width: 100%; }
  .nf-actions .hc-btn { width: 100%; justify-content: center; }

  /* ---------- THANK-YOU PAGE ---------- */
  .ty-hero {
    padding: 40px 20px !important;
    min-height: auto !important;
  }
  .ty-mark { width: 64px !important; height: 64px !important; font-size: 32px !important; margin: 0 0 28px !important; }
  .ty-title { font-size: 44px !important; line-height: 1.02 !important; margin: 0 0 24px !important; }
  .ty-sub { font-size: 17px !important; margin: 0 0 32px !important; }
  .ty-next { padding: 16px 20px 40px !important; }
  .ty-next h2 { font-size: 28px !important; margin: 0 0 20px !important; }
  .ty-steps li {
    grid-template-columns: 40px 1fr !important;
    gap: 16px !important;
    padding: 20px 0 !important;
  }
  .ty-step-body h3 { font-size: 19px !important; }
  .ty-step-body p { font-size: 14px !important; }

  /* ---------- AGENTS PAGE (dark theme) ---------- */
  .agents-hero { padding: 48px 0 40px !important; }
  .agent-native { padding: 48px 0 !important; }
  .agent-code pre { padding: 20px !important; font-size: 11px !important; overflow-x: auto; }

  /* ---------- ATELIER PAGE ---------- */
  .atelier-who, .atelier-process, .atelier-facts, .atelier-what {
    padding: 48px 0 !important;
  }
  .fit-grid, .facts-grid, .what-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
  .fact { padding: 24px !important; }
  .process-list li {
    grid-template-columns: 48px 1fr !important;
    gap: 16px !important;
    padding: 24px 0 !important;
  }
  .process-num { font-size: 28px !important; }

  /* ---------- STORY PAGE ---------- */
  .story-section { padding: 48px 0 !important; }
  .story-block { margin-bottom: 36px !important; }
  .story-heading { font-size: 26px !important; }
  .story-block p { font-size: 16px !important; line-height: 1.65 !important; }

  /* ---------- COMPLIANCE PAGE ---------- */
  .compliance-section { padding: 40px 0 !important; }
  .compliance-block { margin-bottom: 32px !important; }
  .compliance-block p { font-size: 15px !important; line-height: 1.65 !important; }

  /* ---------- EVENTS PAGE ---------- */
  .ambiente-card,
  [class*="ambiente"] svg,
  [class*="event-card"] { max-width: 100% !important; height: auto !important; }

  /* ---------- LAUNCH PAGE ---------- */
  .launch-section { padding: 40px 0 !important; }

  /* ---------- PEEK GRID (homepage product teaser) ---------- */
  .peek-grid { gap: 8px !important; margin-top: 32px !important; }

  /* ---------- FOOTER ---------- */
  .site-footer { padding: 40px 0 0 !important; }
  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    padding: 0 20px 32px !important;
  }
  .footer-logo-image { height: 64px !important; }
  .footer-links { gap: 4px; }
  .footer-links a { min-height: 40px; display: flex; align-items: center; }
  .footer-contact p { margin: 0 0 12px; line-height: 1.8; }
  .footer-contact a {
    display: inline-block;
    padding: 6px 0;
    min-height: 32px;
    line-height: 1.5;
  }
  .footer-bottom { padding: 20px 0; font-size: 12px; }
  .footer-bottom .container { padding: 0 20px; }

  /* ---------- INLINE TEXT LINKS (tap-friendly without breaking flow) ---------- */
  .text-link {
    padding: 4px 0;
    line-height: 1.8;
    display: inline-block;
  }

  /* ---------- LANGUAGE BAR ---------- */
  .lang-bar { bottom: 12px !important; right: 12px !important; }
}

/* ============================================================
   Tablet breakpoint — 701-900px (iPad portrait range)
   Hamburger nav kicks in but desktop typography is too big.
   ============================================================ */
@media (min-width: 701px) and (max-width: 900px) {
  .chapter { padding: 88px 0; }
  .invitation { padding: 96px 0; }
  .hero-v2 { padding: 80px 0 56px; min-height: auto; }
  .hero-v2 .hero-headline { font-size: 64px !important; line-height: 1.02; }
  .chapter-heading { font-size: 48px !important; }
  .page-title { font-size: 52px !important; }
  .invitation h2 { font-size: 56px !important; }
  .chapter-body { font-size: 20px; }
  .chapter-inner,
  .chapter-inner-wide,
  .hero-v2-inner,
  .invitation-inner,
  .hero-v2-meta { padding: 0 32px; }
  .hero-v2-meta { font-size: 11px; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr !important; gap: 40px !important; padding: 0 32px 40px !important; }
}

/* ============================================================
   Sub-480px — iPhone SE, small Android phones
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .chapter-inner,
  .chapter-inner-wide,
  .hero-v2-inner,
  .invitation-inner,
  .hero-v2-meta { padding: 0 16px; }
  .hero-v2 .hero-headline { font-size: 32px !important; letter-spacing: -0.025em; line-height: 1.08; }
  .chapter-heading { font-size: 26px !important; line-height: 1.12; }
  .page-title { font-size: 30px !important; line-height: 1.12; }
  .invitation h2 { font-size: 32px !important; line-height: 1.08; }
  .nf-title { font-size: 24px !important; line-height: 1.18; }
  .ty-title { font-size: 34px !important; line-height: 1.05; }
  .hero-v2 .hero-sub { font-size: 16px; }
  .chapter-heading { font-size: 28px !important; }
  .page-title { font-size: 32px !important; }
  .invitation h2 { font-size: 36px !important; }
  .chapter-body { font-size: 17px; }
  .ty-title { font-size: 38px !important; }
  .nf-number { font-size: 100px !important; }
  .nf-title { font-size: 26px !important; }
  .header-inner { padding: 10px 16px !important; }
  .logo.logo-image img { height: 44px !important; }
  .hero-v2-meta { font-size: 10px !important; gap: 8px 16px !important; }
  .hero-v2-meta span:not(:last-child)::after { right: -10px !important; width: 3px; height: 3px; }
  .footer-inner { padding: 0 16px 28px !important; }
}

/* ============================================================
   Wishlist: heart button, floating FAB, wishlist page
   ============================================================ */

/* Heart button on catalog cards */
.catalog-card-image { position: relative; }
.wishlist-heart {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fafaf7;
  border: 1px solid rgba(26, 23, 21, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1715;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 3;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.wishlist-heart svg {
  width: 20px;
  height: 20px;
}
.wishlist-heart svg path {
  stroke-width: 1.8;
}
.wishlist-heart:hover {
  background: #1a1715;
  color: #fafaf7;
  transform: scale(1.1);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.wishlist-heart.is-saved {
  background: #b8860b;
  color: #fafaf7;
  border-color: #b8860b;
  box-shadow: 0 4px 12px rgba(184, 134, 11, 0.32);
}
.wishlist-heart.is-saved svg path {
  fill: #fafaf7;
  stroke: #fafaf7;
}
.wishlist-heart.is-saved:hover {
  background: #8b6508;
  border-color: #8b6508;
}

/* Floating FAB (bottom-right, only when wishlist has items) */
#wishlistFloat {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a1715;
  color: #fafaf7;
  box-shadow: 0 12px 32px rgba(26, 23, 21, 0.28);
  align-items: center;
  justify-content: center;
  z-index: 200;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
#wishlistFloat:hover {
  background: #b8860b;
  transform: translateY(-2px);
}
#wishlistFloat svg { display: block; }
.wishlist-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  background: #b8860b;
  color: #1a1715;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #1a1715;
  letter-spacing: 0;
}
#wishlistFloat:hover .wishlist-count {
  background: #fafaf7;
  border-color: #b8860b;
}
@media (max-width: 700px) {
  #wishlistFloat { bottom: 16px; right: 16px; width: 48px; height: 48px; }
  #wishlistFloat svg { width: 18px; height: 18px; }
  .wishlist-count { min-width: 20px; height: 20px; font-size: 11px; top: -4px; right: -4px; }
}

/* Wishlist page — saved items list */
.wishlist-page { padding: 48px 0 80px; }
.wishlist-empty {
  text-align: center;
  padding: 80px 24px;
  color: #857f77;
}
.wishlist-empty h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 40px;
  font-weight: 400;
  color: #1a1715;
  margin: 0 0 16px;
}
.wishlist-empty p {
  font-size: 17px;
  line-height: 1.6;
  max-width: 440px;
  margin: 0 auto 32px;
}
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 32px 0 48px;
}
@media (max-width: 900px) { .wishlist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .wishlist-grid { grid-template-columns: 1fr; gap: 16px; } }
.wishlist-item {
  background: #fafaf7;
  border: 1px solid #e4ddd1;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.wishlist-item-img {
  aspect-ratio: 1 / 1;
  background: #f2efe8;
  overflow: hidden;
}
.wishlist-item-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.wishlist-item-body {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 4px;
}
.wishlist-item-sku {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: #857f77;
}
.wishlist-item-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 19px;
  font-weight: 500;
  color: #1a1715;
  margin: 0;
  line-height: 1.2;
}
.wishlist-item-remove {
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  background: rgba(26, 23, 21, 0.72);
  border: none;
  border-radius: 50%;
  color: #fafaf7;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.wishlist-item-remove:hover { background: #1a1715; }

.wishlist-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 24px 0;
  border-top: 1px solid #e4ddd1;
  margin-top: 24px;
}
.wishlist-clear {
  background: none;
  border: none;
  color: #857f77;
  font-size: 13px;
  cursor: pointer;
  padding: 10px 16px;
  font-family: inherit;
}
.wishlist-clear:hover { color: #b71c1c; }

/* Sample request form — lightweight */
.sample-form {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sample-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sample-form label span {
  font-size: 13px;
  font-weight: 500;
  color: #1a1715;
  letter-spacing: 0.02em;
}
.sample-form input,
.sample-form textarea,
.sample-form select {
  font-family: inherit;
  font-size: 16px;
  padding: 12px 14px;
  border: 1px solid #e4ddd1;
  border-radius: 4px;
  background: #fafaf7;
  color: #1a1715;
  transition: border 0.15s;
}
.sample-form input:focus,
.sample-form textarea:focus,
.sample-form select:focus {
  outline: none;
  border-color: #1a1715;
}
.sample-form-skus {
  background: #f2efe8;
  padding: 14px 16px;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.7;
  color: #4a4540;
  word-break: break-all;
}
.sample-form-skus strong {
  display: block;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #857f77;
  margin-bottom: 8px;
  font-weight: 500;
}

/* Quote modal — wishlist multi-SKU rows */
.hc-quote-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 24px;
  max-height: 320px;
  overflow-y: auto;
  padding: 4px;
}
.hc-quote-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #f2efe8;
  border-radius: 4px;
}
.hc-quote-thumb {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
  background: #fff;
}
.hc-quote-info { flex: 1; min-width: 0; }
.hc-quote-sku {
  font-family: 'JetBrains Mono', SF Mono, Menlo, monospace;
  font-size: 12px;
  color: #b8860b;
  letter-spacing: 0.04em;
}
.hc-quote-name {
  font-family: Georgia, 'Cormorant Garamond', serif;
  font-size: 16px;
  color: #1a1715;
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hc-quote-qty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-shrink: 0;
}
.hc-quote-qty span {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #857f77;
  font-weight: 500;
}
.hc-quote-qty input {
  width: 90px;
  padding: 8px 10px;
  border: 1px solid #d4ccbc;
  border-radius: 3px;
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 14px;
  background: #fff;
  color: #1a1715;
}
.hc-quote-qty input:focus {
  outline: none;
  border-color: #1a1715;
}
@media (max-width: 480px) {
  .hc-quote-row { flex-wrap: wrap; }
  .hc-quote-info { flex-basis: calc(100% - 70px); }
  .hc-quote-qty { width: 100%; flex-direction: row; align-items: center; gap: 12px; margin-top: 8px; }
  .hc-quote-qty input { flex: 1; width: auto; }
}
