:root {
  --logo-gold: #B89344;
  --logo-brown: #42342B;
  --logo-cream: #EAE7DE;
  --bg: #faf8f5;
  --surface: #ffffff;
  --text: #2c2419;
  --muted: #6b5f52;
  --accent: #8b2942;
  --accent-dark: #6b1f33;
  --gold: #b8860b;
  --border: #e8e0d5;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-bottom: 7rem;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.25;
  font-weight: 600;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

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

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.logo:hover {
  text-decoration: none;
}

.logo-img {
  height: 72px;
  width: auto;
  max-width: 88px;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

@media (min-width: 768px) {
  .logo-img {
    height: 84px;
    max-width: 100px;
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.15;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.logo-text span {
  display: block;
  font-size: 0.68rem;
  font-family: system-ui, -apple-system, sans-serif;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

@media (max-width: 520px) {
  .logo-text {
    font-size: 1rem;
  }
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

nav a {
  color: var(--text);
  font-size: 0.92rem;
  text-decoration: none;
}

nav a:hover {
  color: var(--accent);
}

.hero {
  background: linear-gradient(135deg, #3d1f2a 0%, #6b2940 50%, #8b3a52 100%);
  color: #fff;
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin: 0 0 0.75rem;
  color: #fff;
}

.hero p {
  font-size: 1.15rem;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  opacity: 0.92;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #fff;
  color: var(--accent-dark);
}

.btn-primary:hover {
  background: #f5f0eb;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: var(--accent-dark);
  text-decoration: none;
}

section {
  padding: 3rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-title h2 {
  margin: 0 0 0.5rem;
  font-size: 1.85rem;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1.5rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.notice {
  background: #fff9f0;
  border: 1px solid #e8dcc8;
  border-radius: 6px;
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 1.5rem 0;
}

.page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
  text-align: center;
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.page-header p {
  margin: 0;
  color: var(--muted);
}

.prose {
  max-width: 42rem;
  margin: 0 auto;
}

.prose-wide {
  max-width: 52rem;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
}

.prose h3 {
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
}

.prose p,
.prose li {
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.35rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-grid dt {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.contact-grid dd {
  margin: 0 0 1.25rem;
}

.site-footer {
  background: #2c2419;
  color: #d4ccc0;
  padding: 2.5rem 0 1.5rem;
  margin-top: 2rem;
}

.site-footer a {
  color: #f0e8dc;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 1rem;
  margin: 0 0 0.75rem;
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  text-align: center;
  color: #a89f92;
}

.policy-content h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
}

.policy-content p {
  margin: 0.75rem 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-image {
  aspect-ratio: 3 / 4;
  background: linear-gradient(145deg, #f0e8dc 0%, #e8ddd0 100%);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.product-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  margin-bottom: 0.65rem;
}

.product-badge.badge-sold-out {
  background: #6b5f52;
}

.product-badge.badge-sale {
  background: var(--accent);
}

.product-price {
  margin: 0 0 1rem;
}

.product-price .sale {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--accent);
}

.product-price .regular {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
  margin-left: 0.5rem;
}

.product-desc {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.product-card .btn {
  margin-top: auto;
  justify-content: center;
  width: 100%;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
}

.product-actions .btn {
  margin-top: 0;
}

.btn-pay {
  background: #0b72e7;
  color: #fff;
}

.btn-pay:hover {
  background: #095bb8;
  text-decoration: none;
  color: #fff;
}

.btn-pay-request {
  background: var(--surface);
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-pay-request:hover {
  background: #faf5f6;
  color: var(--accent-dark);
}

.collection-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin: 0 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.collection-jump a {
  font-size: 0.9rem;
  color: var(--text);
  text-decoration: none;
}

.collection-jump a:hover {
  color: var(--accent);
}

.collection-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: 5.5rem;
}

.collection-section-head {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.collection-section-cover {
  width: 88px;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
  background: var(--border);
}

.collection-section-head h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

.collection-section-head p {
  margin: 0;
  color: var(--muted);
}

@media (max-width: 640px) {
  .collection-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.collection-section h2 {
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
}

.collection-section > p {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.page-photo {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 1.75rem;
  border-radius: 6px;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.page-photo-wide {
  max-width: 420px;
  aspect-ratio: 3 / 4;
}

.product-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0 0.85rem;
}

.product-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  background: none;
  cursor: pointer;
  width: 48px;
  height: 64px;
  overflow: hidden;
}

.product-thumbs button.is-active,
.product-thumbs button:hover {
  border-color: var(--accent);
}

.product-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.newsletter {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.newsletter h4 {
  margin: 0 0 0.35rem;
}

.newsletter > p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: #c4b9ab;
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.newsletter-form input[type="email"] {
  flex: 1 1 180px;
  min-width: 0;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.95rem;
}

.newsletter-form input[type="email"]::placeholder {
  color: #a89f92;
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.newsletter-form .btn {
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 4.75rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: #fff;
}

.instagram-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.instagram-float:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
  color: #fff;
}

.instagram-float span {
  display: none;
}

.instagram-float svg {
  flex-shrink: 0;
}

.footer-instagram {
  display: none;
}

.collection-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.collection-tile {
  display: block;
  text-decoration: none;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.collection-tile:hover {
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(44, 36, 25, 0.08);
  transform: translateY(-2px);
}

.collection-tile-image {
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, #f0e8dc, #dccfc4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
  font-family: Georgia, serif;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
  overflow: hidden;
}

.collection-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.collection-tile h3 {
  margin: 0;
  padding: 0.85rem 0.75rem;
  font-size: 0.92rem;
  text-align: center;
  font-weight: 600;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.promo-strip {
  background: linear-gradient(135deg, #3d1f2a 0%, #6b2940 100%);
  color: #fff;
  padding: 3rem 0;
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.promo-inner h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  color: #fff;
  max-width: 28rem;
  line-height: 1.35;
}

.promo-inner .btn-accent {
  flex-shrink: 0;
}

.hero-shelly {
  background: linear-gradient(135deg, #2c2419 0%, #5c3a42 50%, #8b2942 100%);
}

.product-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

@media (max-width: 900px) {
  .collection-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  nav ul {
    width: 100%;
    justify-content: center;
  }

  .site-header .inner {
    justify-content: center;
    text-align: center;
  }

  .collection-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-inner {
    text-align: center;
    justify-content: center;
  }

  .promo-inner h2 {
    max-width: none;
  }
}


/* Product detail */
.breadcrumb {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1rem;
}
.breadcrumb a { color: var(--text); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

.product-detail {
  padding-bottom: 3rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .product-detail-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.product-detail-main {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: var(--border);
}
.product-detail-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.product-detail-thumbs button,
.product-thumb {
  width: 64px;
  height: 80px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.product-detail-thumbs button.is-active,
.product-thumb.is-active {
  border-color: var(--accent);
}
.product-detail-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-detail-info h1 {
  font-size: 1.75rem;
  margin: 0.35rem 0 0.75rem;
  line-height: 1.25;
}
.product-detail-price {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.product-tax-note {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 1.25rem;
}

.product-tabs {
  margin-top: 2rem;
  border-top: 1px solid var(--border);
}
.product-tab {
  border-bottom: 1px solid var(--border);
  padding: 0.85rem 0;
}
.product-tab summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
}
.product-tab summary::-webkit-details-marker { display: none; }
.product-tab summary::after {
  content: "+";
  float: right;
  font-weight: 400;
  color: var(--muted);
}
.product-tab[open] summary::after { content: "–"; }
.product-tab p {
  margin: 0.75rem 0 0.25rem;
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

a.product-image {
  display: block;
  text-decoration: none;
  color: inherit;
}
.product-body h3 a {
  color: inherit;
  text-decoration: none;
}
.product-body h3 a:hover {
  color: var(--accent);
}

.btn-link-more {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 0.88rem;
  text-decoration: underline;
  text-underline-offset: 2px;
  width: auto;
  justify-content: flex-start;
}
.btn-link-more:hover {
  color: var(--accent-dark);
}


/* Discreet Shopify-style legal meta in footer */
.footer-bottom {
  text-align: center;
}
.footer-copy {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  color: #a89f92;
}
.footer-legal-meta {
  margin: 0 0 0.5rem;
  font-size: 0.7rem;
  line-height: 1.45;
  color: rgba(168, 159, 146, 0.75);
  letter-spacing: 0.01em;
}
.footer-policy-links {
  margin: 0;
  font-size: 0.72rem;
  color: rgba(168, 159, 146, 0.85);
}
.footer-policy-links a {
  color: rgba(240, 232, 220, 0.7);
  text-decoration: none;
}
.footer-policy-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* Contact form */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 32rem;
}
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.contact-form .req {
  color: var(--accent);
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font: inherit;
  background: var(--surface);
  color: var(--text);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}
.contact-side .card {
  margin-bottom: 1rem;
}
.contact-business-meta {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--muted);
}
.contact-business-meta strong {
  font-weight: 600;
  color: var(--muted);
}


/* The Futaaba Experience — flowing journey */
.xp-hero {
  padding: 4rem 0 2.5rem;
  background:
    linear-gradient(165deg, rgba(26, 21, 16, 0.55), rgba(250, 248, 245, 0.88) 55%),
    url("../images/experience/presentation-box-navy.jpg") center/cover;
  border-bottom: none;
  color: var(--text);
}
.xp-hero .section-label { color: var(--logo-gold, var(--gold)); }
.xp-hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  margin: 0.35rem 0 0.85rem;
}
.xp-hero-lead {
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0;
}

#experience-root {
  max-width: none;
  padding: 0;
}

.xp-journey {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 2rem;
}

.xp-chapter {
  padding: 3.5rem 0 2.5rem;
  scroll-margin-top: 5rem;
  border-bottom: none;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.xp-chapter.is-in {
  opacity: 1;
  transform: none;
}
.xp-chapter + .xp-chapter {
  border-top: 1px solid var(--border);
}

.xp-chapter-head {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.75rem;
}
.xp-chapter-copy h2 {
  margin: 0.3rem 0 0.85rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}
.xp-chapter-copy p { color: var(--muted); margin: 0; max-width: 34rem; }
.xp-chapter-cover {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: var(--border);
}
.xp-chapter-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 800px) {
  .xp-chapter-head { grid-template-columns: 1fr; }
  .xp-chapter-cover { max-width: 260px; }
}

.xp-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}
.xp-photo {
  margin: 0;
  background: transparent;
  border: none;
  border-radius: 4px;
  overflow: hidden;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.85s ease, transform 0.85s ease;
}
.xp-photo.is-in,
.xp-chapter.is-in .xp-photo {
  opacity: 1;
  transform: none;
}
.xp-chapter.is-in .xp-photo:nth-child(2) { transition-delay: 0.12s; }
.xp-photo img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  display: block;
  background: #ebe6de;
}
.xp-photo figcaption {
  padding: 0.85rem 0.15rem 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .xp-chapter,
  .xp-photo {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* Futaaba Promise */
.futaaba-promise {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 2.25rem 0 2.75rem;
  margin-top: 1rem;
}
.futaaba-promise-title {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  text-align: center;
  letter-spacing: 0.04em;
}
.futaaba-promise-tagline {
  margin: 0 0 1.15rem;
  text-align: center;
  font-size: 0.82rem;
  font-style: italic;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 400;
}
.futaaba-promise-text {
  max-width: 34rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}
.futaaba-promise-foot {
  margin: 0.85rem 0 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(168, 159, 146, 0.85);
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
}
.futaaba-promise-foot strong {
  color: rgba(240, 232, 220, 0.9);
  font-weight: 600;
}
.futaaba-promise-foot em {
  font-style: italic;
  font-weight: 400;
  color: rgba(168, 159, 146, 0.95);
}


/* Knowledge Centre */
.kc-toc {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
}
.kc-toc .section-label {
  margin: 0 0 0.75rem;
}
.kc-toc ul {
  margin: 0;
  padding-left: 1.15rem;
}
.kc-toc li {
  margin: 0.35rem 0;
}
.policy-content h2[id] {
  scroll-margin-top: 5rem;
}


.kc-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 0.75rem 0 1.75rem;
  border: 1px solid var(--border);
}
.kc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.5;
}
.kc-table th,
.kc-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.kc-table th {
  background: var(--surface);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.kc-table tr:last-child td {
  border-bottom: none;
}
.kc-table td:first-child {
  font-weight: 500;
  min-width: 7.5rem;
}
@media (max-width: 640px) {
  .kc-table {
    font-size: 0.85rem;
  }
  .kc-table th,
  .kc-table td {
    padding: 0.55rem 0.65rem;
  }
}


.kc-eeat {
  font-size: 0.95rem;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 1.75rem;
  max-width: 40rem;
}
.kc-visual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.kc-visual {
  margin: 0;
}
.kc-visual-single {
  margin: 1.25rem 0 1.75rem;
}
.kc-visual-ph {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 7.5rem;
  padding: 1rem;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--surface);
  border: 1px dashed var(--border);
}
.kc-visual figcaption {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.4;
}
.kc-faq h3 {
  font-size: 1.05rem;
  margin: 1.5rem 0 0.4rem;
}
.kc-faq p {
  margin: 0 0 0.25rem;
  color: var(--muted);
}
@media (max-width: 800px) {
  .kc-visual-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .kc-visual-grid {
    grid-template-columns: 1fr;
  }
}


/* Knowledge library */
.kc-crumb {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.75rem;
}
.kc-crumb a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.kc-crumb a:hover {
  border-bottom-color: currentColor;
}
.kc-method {
  font-size: 0.95rem;
  color: var(--muted);
  border-left: 2px solid var(--border);
  padding-left: 1rem;
  margin: 0 0 1.75rem;
  max-width: 42rem;
}
.kc-sources {
  font-size: 0.9rem;
  color: var(--muted);
}
.kc-sources a {
  word-break: break-word;
}
.knowledge-library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.25rem 1.75rem;
  margin: 1.25rem 0 2rem;
}
.knowledge-library-grid h3 {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.5rem;
  font-weight: 600;
}
.knowledge-library-grid ul {
  margin: 0;
  padding-left: 1.1rem;
}
.knowledge-library-grid li {
  margin: 0.35rem 0;
}
.knowledge-article .kc-visual-ph {
  min-height: 9rem;
}


/* Knowledge editorial reference */
.kc-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 1rem 1.25rem;
  margin: 0 0 2rem;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.kc-meta dt {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.kc-meta dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text);
}
.kc-meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.kc-callout {
  margin: 1.35rem 0 1.6rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--border);
  background: var(--surface);
  max-width: 42rem;
}
.kc-callout-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.45rem;
  font-weight: 600;
}
.kc-callout--evidence {
  border-left: 2px solid var(--text);
}
.kc-callout--editorial {
  border-left: 2px solid var(--muted);
  background: transparent;
}
.kc-callout--brand {
  border-left: 2px solid var(--accent, #8b6914);
}
.kc-callout p:last-child,
.kc-callout ul:last-child {
  margin-bottom: 0;
}
.kc-revision {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.kc-revision h2 {
  font-size: 1.05rem;
}
.kc-revision-entry {
  margin: 0 0 1rem;
}
.kc-revision-entry strong {
  display: block;
  font-size: 0.92rem;
}
.kc-revision-entry time {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.15rem 0 0.35rem;
}
.kc-related {
  margin: 2rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.kc-related ul {
  columns: 1;
}
@media (min-width: 640px) {
  .kc-related ul {
    columns: 2;
    column-gap: 2rem;
  }
}
.kc-source-item {
  margin: 0 0 1rem;
}
.kc-source-item .kc-source-meta {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}
.kc-term-table td:first-child {
  white-space: nowrap;
}
