/* ==========================================================================
   Nyatapola Crafts - style.css
   Direction: Warmth / Welcome. Palette derived from logo. No red in the UI.
   Headings: Inknut Antiqua (self-hosted). Body: Outfit (self-hosted variable).
   ========================================================================== */

/* ---------- Fonts (self-hosted, no Google CDN) ---------- */
@font-face {
  font-family: "Inknut Antiqua";
  src: url("../fonts/inknut-antiqua-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inknut Antiqua";
  src: url("../fonts/inknut-antiqua-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inknut Antiqua";
  src: url("../fonts/inknut-antiqua-600.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-var.woff2") format("woff2");
  font-weight: 300 600; font-style: normal; font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Brand palette (exact, from brief) */
  --cream:    #FAF7F2;   /* primary background */
  --surface:  #F0EBE1;   /* cards / secondary background */
  --teal:     #5B8A8A;   /* primary accent (decorative / large) */
  --brown:    #8B7355;   /* secondary / structural */
  --gold:     #B89B5E;   /* minimal accent - hairlines & small flourishes only */
  --ink:      #2C2417;   /* body text - deep chocolate */

  /* Derived (kept on-brand; tuned for WCAG AA) */
  --teal-deep:  #4A7474; /* teal text/buttons on cream → AA */
  --teal-dark:  #3C6160; /* teal hover */
  --brown-deep: #6F5C44; /* small brown text → AA */
  --ink-70:     #5b5343; /* muted body */
  --ink-55:     #6f6757; /* captions */
  --line:       #E3D9C9; /* warm hairline on cream */
  --line-soft:  #EDE5D8; /* lighter hairline */
  --surface-2:  #E8E0D2; /* deeper surface for placeholder fill */
  --on-dark:    #FAF7F2; /* text on dark/teal/brown panels */
  --shadow-color: 38 32 23; /* rgb of ink for shadow alpha */

  /* Type */
  --font-head: "Inknut Antiqua", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --fs-eyebrow: 0.78rem;
  --fs-small:   0.83rem;
  --fs-body:    1.0625rem;
  --fs-lead:    clamp(1.08rem, 0.95rem + 0.7vw, 1.32rem);
  --fs-h3:      clamp(1.25rem, 1.05rem + 1vw, 1.7rem);
  --fs-h2:      clamp(1.85rem, 1.4rem + 2.2vw, 2.95rem);
  --fs-display: clamp(2.4rem, 1.6rem + 3.9vw, 4.5rem);

  /* Spacing scale (4/8 rhythm) */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem; --sp-7: 3rem; --sp-8: 4rem; --sp-9: 6rem;

  --section-y: clamp(3.5rem, 2.2rem + 5.5vw, 7rem);
  --gutter:    clamp(1.15rem, 0.5rem + 3vw, 2.5rem);
  --maxw:      1200px;
  --maxw-prose: 68ch;

  /* Radius / shadow / motion */
  --r-sm: 6px; --r-md: 12px; --r-lg: 20px; --r-pill: 999px;
  --shadow-1: 0 1px 2px rgb(var(--shadow-color) / 0.06), 0 2px 8px rgb(var(--shadow-color) / 0.05);
  --shadow-2: 0 6px 18px rgb(var(--shadow-color) / 0.10), 0 2px 6px rgb(var(--shadow-color) / 0.06);
  --shadow-3: 0 18px 48px rgb(var(--shadow-color) / 0.16);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 160ms; --t-med: 260ms; --t-slow: 420ms;

  --z-header: 100; --z-fab: 90; --z-menu: 200; --z-skip: 300;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
a { color: var(--teal-deep); text-decoration: none; }
a:hover { color: var(--teal-dark); }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 2.5px solid var(--teal-deep); outline-offset: 3px; border-radius: 3px; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.16;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-wrap: balance;
}

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface); }
.section--brown { background: #6E5942; color: var(--on-dark); }
.prose { max-width: var(--maxw-prose); }
.center { text-align: center; margin-inline: auto; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -100px; left: var(--gutter); z-index: var(--z-skip);
  background: var(--ink); color: var(--on-dark); padding: 0.6rem 1rem; border-radius: var(--r-sm);
  font-weight: 500;
}
.skip-link:focus { top: 0.75rem; color: var(--on-dark); }

/* ---------- Eyebrow + section head + lattice ornament ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.section--brown .eyebrow { color: #E7D9B8; }
.eyebrow::before {
  content: ""; width: 1.6rem; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.eyebrow--center::after {
  content: ""; width: 1.6rem; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-head { max-width: 62ch; margin-inline: auto; }
.section-head--center { text-align: center; }
.section-head h2 { margin-top: 0.7rem; font-size: var(--fs-h2); }
.section-head p { margin-top: 0.9rem; color: var(--ink-70); font-size: var(--fs-lead); font-weight: 300; }
.section--brown .section-head p { color: #EDE2CE; }

/* Carved-lattice ornament (the signature motif) */
.lattice { color: var(--gold); width: min(260px, 70%); height: auto; margin: 0 auto; }
.lattice--head { margin-bottom: 1.4rem; }
.lattice path, .lattice line, .lattice polygon, .lattice circle { vector-effect: non-scaling-stroke; }

.divider { display: flex; justify-content: center; padding-block: clamp(2rem, 5vw, 3.5rem); }
.divider .lattice { width: min(300px, 80%); }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--teal-deep); --btn-fg: var(--on-dark);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.78rem 1.5rem;
  font-family: var(--font-body); font-weight: 500; font-size: 0.98rem; letter-spacing: 0.01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border-radius: var(--r-pill); border: 1.5px solid transparent;
  transition: transform var(--t-fast) var(--ease), background var(--t-med) var(--ease),
              box-shadow var(--t-med) var(--ease), color var(--t-med) var(--ease);
  will-change: transform;
}
.btn:hover { background: var(--teal-dark); color: var(--on-dark); transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.05em; height: 1.05em; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line); }
.btn--ghost:hover { --btn-fg: var(--ink); background: rgb(255 255 255 / 0.5); border-color: var(--brown); color: var(--ink); }

.btn--whatsapp { --btn-bg: #1A7F5C; }
.btn--whatsapp:hover { background: #16704F; }

.btn--on-dark { --btn-bg: var(--cream); --btn-fg: var(--ink); }
.btn--on-dark:hover { background: #fff; color: var(--ink); }

.btn--lg { min-height: 54px; padding: 0.95rem 1.9rem; font-size: 1.04rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 500; color: var(--teal-deep);
}
.link-arrow .icon { transition: transform var(--t-med) var(--ease); width: 1.05em; height: 1.05em; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: rgb(250 247 242 / 0.82);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 0 rgb(var(--shadow-color) / 0.03); }
.nav { display: flex; align-items: center; gap: var(--sp-5); min-height: 70px; }

.brand { display: inline-flex; align-items: center; gap: 0.65rem; margin-right: auto; }
.brand img, .brand .brand-fallback { height: 42px; width: auto; }
.brand .brand-fallback {
  display: grid; place-items: center; height: 42px; padding-inline: 0.7rem;
  font-family: var(--font-head); font-weight: 600; color: var(--teal-deep);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); letter-spacing: 0.02em;
}
.brand .brand-name { display: none; }
@media (min-width: 1024px) {
  .brand .brand-name {
    display: block; font-family: var(--font-head); font-weight: 500; font-size: 1.12rem;
    color: var(--ink); line-height: 1; letter-spacing: 0.01em;
  }
  .brand .brand-name span { display: block; font-family: var(--font-body); font-weight: 500;
    font-size: 0.6rem; letter-spacing: 0.26em; text-transform: uppercase; color: var(--teal-deep); margin-top: 4px; }
}

.nav-links { display: none; align-items: center; gap: 0.3rem; }
.nav-links a {
  position: relative; padding: 0.5rem 0.7rem; font-weight: 400; font-size: 0.97rem; color: var(--ink);
  border-radius: var(--r-sm); transition: color var(--t-fast) var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0.7rem; right: 0.7rem; bottom: 0.28rem; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--t-med) var(--ease);
}
.nav-links a:hover { color: var(--teal-deep); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--teal-deep); }

.nav-actions { display: flex; align-items: center; gap: 0.6rem; }

.nav-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: var(--r-sm);
  border: 1.5px solid var(--line);
}
.nav-toggle:hover { border-color: var(--brown); }
.nav-toggle .bars { position: relative; width: 20px; height: 14px; }
.nav-toggle .bars span {
  position: absolute; left: 0; width: 100%; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease), top var(--t-med) var(--ease);
}
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 6px; }
.nav-toggle .bars span:nth-child(3) { top: 12px; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* WhatsApp pill in header */
.wa-pill { display: none; }
@media (min-width: 600px) { .wa-pill { display: inline-flex; } }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  background: rgb(44 36 23 / 0.42);
  opacity: 0; visibility: hidden; transition: opacity var(--t-med) var(--ease), visibility var(--t-med);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: var(--cream); padding: 1.25rem var(--gutter) 2rem;
  display: flex; flex-direction: column; gap: 0.25rem;
  transform: translateX(100%); transition: transform var(--t-slow) var(--ease);
  box-shadow: var(--shadow-3); overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: 0.75rem; }
.mobile-menu__close { width: 46px; height: 46px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1.5px solid var(--line); }
.mobile-menu a.m-link {
  padding: 0.85rem 0.5rem; font-family: var(--font-head); font-size: 1.18rem; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
}
.mobile-menu a.m-link:hover { color: var(--teal-deep); }
.mobile-menu .btn { margin-top: 1.1rem; }
.mobile-menu__meta { margin-top: auto; padding-top: 1.4rem; color: var(--ink-55); font-size: var(--fs-small); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; isolation: isolate; min-height: min(92vh, 760px); display: flex; align-items: flex-end; }
@media (min-width: 768px) { .hero { min-height: min(90vh, 820px); } }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: var(--surface-2); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero.is-loaded .hero__media img { animation: heroSettle 14s var(--ease) forwards; }
@keyframes heroSettle { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(40 30 18 / 0.22) 0%, rgb(40 30 18 / 0.08) 32%, rgb(40 30 18 / 0.40) 64%, rgb(28 20 12 / 0.82) 100%),
    radial-gradient(130% 92% at 22% 100%, rgb(28 20 12 / 0.58), transparent 62%);
}
.hero__inner { padding-block: clamp(2.5rem, 6vw, 5rem); max-width: 720px; }
.hero__inner > * { color: var(--on-dark); }
.hero .eyebrow { color: #EBDBB6; }
.hero .eyebrow::before { background: linear-gradient(90deg, transparent, #EBDBB6); }
.hero h1 {
  color: #fff; font-weight: 500; font-size: var(--fs-display); line-height: 1.07; margin-top: 1rem;
  text-shadow: 0 2px 24px rgb(20 15 8 / 0.35);
}
.hero__sub { margin-top: 1.2rem; font-size: var(--fs-lead); font-weight: 300; color: #F4ECDC; max-width: 46ch; text-shadow: 0 1px 12px rgb(20 15 8 / 0.4); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.9rem; }
.hero__scroll {
  position: absolute; left: 50%; bottom: 1.1rem; transform: translateX(-50%); z-index: 1;
  display: inline-flex; flex-direction: column; align-items: center; gap: 0.35rem;
  color: #EBDBB6; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
}
.hero__scroll .chev { width: 22px; height: 22px; animation: nudge 1.8s var(--ease) infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); opacity: 0.7; } 50% { transform: translateY(5px); opacity: 1; } }
@media (max-width: 600px) { .hero__scroll { display: none; } }

/* ==========================================================================
   Intro
   ========================================================================== */
.intro { text-align: center; }
.intro__lead {
  font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h3); line-height: 1.5;
  color: var(--ink); max-width: 40ch; margin: 1.2rem auto 0; letter-spacing: -0.005em;
}
.intro__body { max-width: 60ch; margin: 1.1rem auto 0; color: var(--ink-70); }
.intro__cta { margin-top: 1.8rem; }

/* ==========================================================================
   Photo card primitive - ALWAYS contain, never crop
   ========================================================================== */
.photo-card {
  position: relative; overflow: hidden; background: var(--cream);
  border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-1);
}
.photo {
  width: 100%; height: 100%;
  object-fit: contain;          /* hard rule: never crop carvings */
  object-position: center;
  background: var(--cream);
  padding: clamp(0.6rem, 2vw, 1.1rem);
}
.photo-card[data-ratio="4-5"] { aspect-ratio: 4 / 5; }
.photo-card[data-ratio="1-1"] { aspect-ratio: 1 / 1; }
.photo-card[data-ratio="4-3"] { aspect-ratio: 4 / 3; }
.photo-card[data-ratio="3-4"] { aspect-ratio: 3 / 4; }
.photo-card[data-ratio="16-10"] { aspect-ratio: 16 / 10; }

/* graceful placeholder shown until real images are added (JS-injected) */
.ph {
  position: absolute; inset: 0; display: grid; place-items: center; gap: 0.6rem;
  background:
    radial-gradient(120% 120% at 50% 0%, var(--surface), var(--surface-2));
  color: var(--brown-deep); text-align: center; padding: 1rem;
}
.ph__mark { width: 46px; height: 46px; color: var(--gold); opacity: 0.85; }
.ph__label { font-family: var(--font-body); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.04em; color: var(--ink-55); max-width: 90%; word-break: break-word; }

/* ==========================================================================
   Signature Pieces carousel
   ========================================================================== */
.sig__viewport { margin-top: 2.2rem; }
.sig__track {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: minmax(232px, 78vw);
  gap: clamp(0.9rem, 2vw, 1.4rem);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: 0.4rem var(--gutter) 1.4rem;
  margin-inline: calc(-1 * var(--gutter));
  scrollbar-width: thin; scrollbar-color: var(--brown) transparent;
}
@media (min-width: 600px)  { .sig__track { grid-auto-columns: minmax(264px, 42vw); } }
@media (min-width: 960px)  { .sig__track { grid-auto-columns: minmax(300px, 30vw); } }
@media (min-width: 1200px) { .sig__track { grid-auto-columns: 320px; } }
.sig__track::-webkit-scrollbar { height: 7px; }
.sig__track::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.sig__track::-webkit-scrollbar-thumb:hover { background: var(--brown); }

.sig-card { scroll-snap-align: start; }
.sig-card .photo-card { transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.sig-card .photo { transition: transform var(--t-slow) var(--ease); }
.sig-card:hover .photo-card { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.sig-card:hover .photo { transform: scale(1.035); }
.sig-card__meta { padding: 0.95rem 0.25rem 0; }
.sig-card__no { font-family: var(--font-head); font-weight: 500; font-size: 0.82rem; color: var(--gold); }
.sig-card__name { font-family: var(--font-head); font-weight: 500; font-size: 1.06rem; color: var(--ink); margin-top: 0.15rem; line-height: 1.25; }

.sig__controls { display: none; gap: 0.5rem; margin-top: 0.4rem; }
@media (min-width: 960px) { .js .sig__controls { display: flex; } }
.sig__btn {
  width: 46px; height: 46px; border-radius: var(--r-pill); border: 1.5px solid var(--line);
  display: grid; place-items: center; color: var(--ink); transition: all var(--t-fast) var(--ease);
}
.sig__btn:hover { border-color: var(--brown); background: #fff; transform: translateY(-1px); }
.sig__btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }
.sig__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* ==========================================================================
   Collection grid (categories)
   ========================================================================== */
.collection-grid {
  margin-top: 2.4rem; display: grid; gap: clamp(1rem, 2.2vw, 1.6rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
}
.cat-card { display: block; color: inherit; }
.cat-card .photo-card { transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.cat-card .photo { transition: transform var(--t-slow) var(--ease); }
.cat-card:hover .photo-card { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.cat-card:hover .photo { transform: scale(1.04); }
.cat-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; padding: 0.9rem 0.2rem 0; }
.cat-card__name { font-family: var(--font-head); font-weight: 500; font-size: 1.08rem; color: var(--ink); position: relative; }
.cat-card__name::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1.5px; background: var(--gold); transition: right var(--t-slow) var(--ease); }
.cat-card:hover .cat-card__name::after { right: 0; }
.cat-card__count { font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; color: var(--ink-55); white-space: nowrap; }

/* ==========================================================================
   Workshop teaser (split)
   ========================================================================== */
.split { display: grid; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 880px) { .split { grid-template-columns: 1.05fr 1fr; } .split--rev > .split__media { order: 2; } }
.split__media .photo-card { aspect-ratio: 4 / 3; }
.split__body h2 { font-size: var(--fs-h2); margin-top: 0.7rem; }
.split__body > p { margin-top: 1rem; color: var(--ink-70); }
.section--brown .split__body > p { color: #EDE2CE; }

.tier-list { margin-top: 1.6rem; display: grid; gap: 0.4rem; }
.tier {
  display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; align-items: baseline;
  padding: 0.95rem 0; border-top: 1px solid var(--line);
}
.section--brown .tier { border-top-color: rgb(255 255 255 / 0.16); }
.tier__name { font-family: var(--font-head); font-weight: 500; font-size: 1.05rem; }
.tier__dur { font-family: var(--font-body); font-weight: 500; font-size: 0.8rem; letter-spacing: 0.02em; color: var(--teal-deep); grid-column: 1; }
.section--brown .tier__dur { color: #E7D9B8; }
.tier__desc { grid-column: 2; grid-row: 1 / span 2; color: var(--ink-70); font-size: 0.97rem; }
.section--brown .tier__desc { color: #E8DCC6; }
.split__body .btn { margin-top: 1.6rem; }

/* ==========================================================================
   Customer tales (in your space)
   ========================================================================== */
.tales-grid { margin-top: 2.4rem; column-gap: clamp(0.7rem, 1.6vw, 1.05rem); columns: 2; }
@media (min-width: 700px)  { .tales-grid { columns: 3; } }
@media (min-width: 1040px) { .tales-grid { columns: 4; } }
.tale {
  break-inside: avoid; -webkit-column-break-inside: avoid; page-break-inside: avoid;
  margin: 0 0 clamp(0.7rem, 1.6vw, 1.05rem);
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-1); background: var(--surface);
  transition: box-shadow var(--t-med) var(--ease), transform var(--t-med) var(--ease);
}
.tale img { width: 100%; height: auto; display: block; }
.tale:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); }

/* ==========================================================================
   Seen With Our Craft (subtle people tiles)
   ========================================================================== */
.seen { text-align: center; }
.seen__row {
  margin-top: 2.2rem; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(0.8rem, 2vw, 1.4rem);
}
.seen__tile {
  width: clamp(150px, 42vw, 232px); aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-1);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.seen__tile img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.seen__tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.trust { background: var(--surface); }
.trust__grid {
  margin-top: 2rem; display: grid; gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 920px) { .trust__grid { grid-template-columns: repeat(5, 1fr); } }
.trust__item { background: var(--cream); padding: 1.5rem 1.2rem; display: flex; flex-direction: column; align-items: center; gap: 0.7rem; text-align: center; }
.trust__icon { width: 30px; height: 30px; color: var(--teal-deep); }
.trust__text { font-family: var(--font-body); font-weight: 500; font-size: 0.84rem; line-height: 1.45; color: var(--ink-70); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #E9E1D2; padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.footer-grid { display: grid; gap: 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 52px; width: auto; }
.footer-brand .brand-fallback { color: #E9E1D2; border-color: rgb(255 255 255 / 0.2); }
.footer-brand p { margin-top: 1rem; color: #BDB3A1; font-size: 0.95rem; max-width: 34ch; }
.footer h3 { font-family: var(--font-head); font-weight: 500; font-size: 0.95rem; color: #F4ECDC; letter-spacing: 0.04em; margin-bottom: 1rem; }
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a, .footer-contact a, .footer-contact span { color: #CFC6B5; font-size: 0.95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact { display: grid; gap: 0.6rem; }
.footer-contact .row { display: grid; grid-template-columns: 1.1rem 1fr; gap: 0.6rem; align-items: start; }
.footer-contact .icon { width: 1.05rem; height: 1.05rem; color: var(--gold); margin-top: 0.28rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-pill);
  border: 1.5px solid rgb(255 255 255 / 0.18); color: #E9E1D2; transition: all var(--t-fast) var(--ease);
}
.footer-social a:hover { background: var(--teal-deep); border-color: var(--teal-deep); color: #fff; transform: translateY(-2px); }
.footer-social .icon { width: 19px; height: 19px; }
.footer-bottom {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid rgb(255 255 255 / 0.12);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; align-items: center; justify-content: space-between;
  color: #A99F8C; font-size: 0.84rem;
}
.footer-bottom a { color: #A99F8C; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Floating WhatsApp FAB (mobile-first)
   ========================================================================== */
.wa-fab {
  position: fixed; right: clamp(0.9rem, 3vw, 1.6rem); bottom: clamp(0.9rem, 3vw, 1.6rem); z-index: var(--z-fab);
  width: 56px; height: 56px; border-radius: var(--r-pill); background: #1A7F5C; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgb(20 80 60 / 0.4);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.wa-fab:hover { color: #fff; transform: translateY(-3px) scale(1.04); box-shadow: 0 14px 32px rgb(20 80 60 / 0.5); }
.wa-fab .icon { width: 28px; height: 28px; }
.wa-fab::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #1A7F5C;
  animation: waPulse 2.6s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.6; } 70%,100% { transform: scale(1.5); opacity: 0; } }
@media (min-width: 1024px) { .wa-fab { display: none; } }

/* ==========================================================================
   Scroll reveal motion
   ========================================================================== */
[data-reveal] { will-change: opacity, transform; }
.js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-stagger] > * { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); }
[data-reveal-stagger].is-visible > * { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  [data-reveal], [data-reveal-stagger] > * { opacity: 1 !important; transform: none !important; }
  .hero.is-loaded .hero__media img { animation: none; }
}

/* small utilities */
.mt-0 { margin-top: 0; }
.flow > * + * { margin-top: 1rem; }

/* ==========================================================================
   INTERIOR PAGES (about, team, products, workshop, our-craft, contact, shipping)
   ========================================================================== */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-block: clamp(2.4rem, 5.5vw, 4.3rem); }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); margin-top: 0.8rem; }
.page-hero__lead { margin-top: 1rem; color: var(--ink-70); font-size: var(--fs-lead); font-weight: 300; max-width: 60ch; }

.rich { max-width: 72ch; }
.rich > p { margin-top: 1.15rem; color: var(--ink); }
.rich > p:first-child { margin-top: 0; }
.rich h2 { font-size: var(--fs-h2); margin-top: 2.6rem; }
.rich h3 { font-size: var(--fs-h3); margin-top: 1.9rem; }
.rich ul { margin-top: 1rem; padding-left: 1.2rem; display: grid; gap: 0.5rem; }
.rich li { padding-left: 0.2rem; }
.rich strong { font-weight: 600; }
.lead-quote { font-family: var(--font-head); font-weight: 400; font-size: var(--fs-h3); line-height: 1.5; color: var(--ink); }

.facts { margin-top: 2.4rem; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; grid-template-columns: 1fr; }
@media (min-width: 620px) { .facts { grid-template-columns: repeat(3, 1fr); } }
.fact { background: var(--cream); padding: 1.4rem 1.3rem; }
.fact__n { font-family: var(--font-head); font-weight: 500; font-size: 1.6rem; color: var(--teal-deep); }
.fact__l { font-size: 0.85rem; color: var(--ink-70); margin-top: 0.3rem; }

/* products: category quick-nav chips */
.cat-nav { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cat-nav a { padding: 0.5rem 0.95rem; border: 1.5px solid var(--line); border-radius: var(--r-pill); font-size: 0.86rem; font-weight: 500; color: var(--ink); background: var(--cream); transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.cat-nav a:hover { border-color: var(--brown); color: var(--teal-deep); transform: translateY(-1px); }

.cat-section { padding-top: clamp(2.4rem, 5vw, 3.6rem); scroll-margin-top: 86px; }
.cat-section + .cat-section { border-top: 1px solid var(--line-soft); margin-top: clamp(1.5rem, 4vw, 3rem); }
.cat-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 0.6rem 1.4rem; flex-wrap: wrap; }
.cat-head__text { max-width: 60ch; }
.cat-head h2 { font-size: var(--fs-h2); }
.cat-head__count { font-family: var(--font-body); font-weight: 500; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-deep); white-space: nowrap; }
.cat-head p { margin-top: 0.6rem; color: var(--ink-70); }
.cat-note { margin-top: 1rem; font-size: 0.9rem; color: var(--ink-55); border-left: 2px solid var(--gold); padding-left: 0.9rem; }

.prod-grid { margin-top: 1.8rem; display: grid; gap: clamp(1rem, 2.2vw, 1.5rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 226px), 1fr)); }
.prod-grid--sig { grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); }
.prod-card { display: flex; flex-direction: column; color: inherit; }
.prod-card .photo-card { transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease); }
.prod-card .photo { transition: transform var(--t-slow) var(--ease); }
.prod-card:hover .photo-card { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--gold); }
.prod-card:hover .photo { transform: scale(1.04); }
.prod-card__meta { padding: 0.85rem 0.2rem 0; display: flex; flex-direction: column; gap: 0.22rem; flex: 1 1 auto; }
.prod-card__no { font-family: var(--font-head); font-weight: 500; font-size: 0.8rem; color: var(--gold); }
.prod-card__name { font-family: var(--font-head); font-weight: 500; font-size: 1.04rem; line-height: 1.25; color: var(--ink); }
.prod-card__spec { font-size: 0.82rem; color: var(--ink-55); }
.prod-card__enq { margin-top: 0.45rem; display: inline-flex; align-items: center; gap: 0.35rem; font-family: var(--font-body); font-weight: 500; font-size: 0.82rem; color: var(--teal-deep); }
.prod-card__enq .icon { width: 0.95em; height: 0.95em; transition: transform var(--t-med) var(--ease); }
.prod-card:hover .prod-card__enq .icon { transform: translateX(3px); }

/* team */
.team-card { display: grid; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
@media (min-width: 820px) { .team-card { grid-template-columns: 0.85fr 1.15fr; } }
.team-card__photo .photo-card { aspect-ratio: 4 / 3; }
.team-card__role { font-family: var(--font-body); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-deep); }
.team-card h2 { font-size: var(--fs-h2); margin-top: 0.5rem; }
.team-card__bio { margin-top: 1.2rem; }
.team-card__bio p { margin-top: 1rem; color: var(--ink); }
.team-card__bio p:first-child { margin-top: 0; }
.award { margin-top: 1.6rem; display: flex; gap: 0.9rem; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.award .icon { width: 1.6rem; height: 1.6rem; color: var(--gold); flex: none; }
.award__t { font-family: var(--font-head); font-weight: 500; }
.award__d { font-size: 0.88rem; color: var(--ink-70); margin-top: 0.2rem; }

/* workshop */
.tier-block { display: grid; gap: clamp(1.3rem, 3vw, 2.4rem); align-items: center; padding-block: clamp(2rem, 4.5vw, 3.2rem); }
.tier-block + .tier-block { border-top: 1px solid var(--line); }
@media (min-width: 840px) { .tier-block { grid-template-columns: 1fr 1fr; } .tier-block--rev .tier-block__media { order: 2; } }
.tier-block__media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.6rem, 1.5vw, 1rem); }
.tier-block__media .photo-card { aspect-ratio: 1 / 1; }
.tier-block__badge { display: inline-block; font-family: var(--font-body); font-weight: 600; font-size: 0.76rem; letter-spacing: 0.04em; color: var(--teal-deep); background: var(--surface); border: 1px solid var(--line); padding: 0.3rem 0.8rem; border-radius: var(--r-pill); }
.tier-block h2 { font-size: var(--fs-h3); margin-top: 0.8rem; }
.tier-block__body > p { margin-top: 0.9rem; color: var(--ink-70); }

/* our craft: steps + process gallery + window types */
.steps-list { margin-top: 1.6rem; display: grid; gap: 0; counter-reset: step; list-style: none; padding: 0; }
.steps-list li { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.2rem; padding: 1.15rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.steps-list li::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-head); font-weight: 500; color: var(--gold); font-size: 1rem; }
.steps-list h3 { font-family: var(--font-head); font-weight: 500; font-size: 1.08rem; }
.steps-list p { margin-top: 0.3rem; color: var(--ink-70); font-size: 0.95rem; grid-column: 2; }
.proc-gallery { margin-top: 2.2rem; display: grid; gap: clamp(0.8rem, 2vw, 1.2rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.proc-item .photo-card { aspect-ratio: 4 / 3; }
.proc-item__cap { margin-top: 0.6rem; text-align: center; font-size: 0.82rem; font-weight: 500; color: var(--ink-70); }
.deflist { margin-top: 1.4rem; display: grid; border-top: 1px solid var(--line); }
.deflist__row { display: grid; grid-template-columns: 1fr; gap: 0.2rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
@media (min-width: 640px) { .deflist__row { grid-template-columns: 0.5fr 1fr; gap: 1.2rem; } }
.deflist__t { font-family: var(--font-head); font-weight: 500; color: var(--ink); }
.deflist__d { color: var(--ink-70); }

/* contact */
.contact-grid { display: grid; gap: clamp(1.8rem, 4vw, 3rem); align-items: start; }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-list { display: grid; gap: 1.2rem; }
.contact-list .row { display: grid; grid-template-columns: 1.4rem 1fr; gap: 0.8rem; align-items: start; }
.contact-list .icon { width: 1.25rem; height: 1.25rem; color: var(--teal-deep); margin-top: 0.2rem; }
.contact-list .lbl { font-size: 0.76rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-55); }
.contact-list .val { color: var(--ink); font-size: 1.02rem; }
.contact-list a.val:hover { color: var(--teal-deep); }
.map-embed { border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-1); aspect-ratio: 4 / 3; background: var(--surface); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* reusable bottom CTA band */
.cta-band { background: #6E5942; color: var(--on-dark); text-align: center; }
.cta-band h2 { color: #fff; font-size: var(--fs-h2); }
.cta-band p { color: #EDE2CE; margin: 0.9rem auto 0; max-width: 52ch; font-weight: 300; font-size: var(--fs-lead); }
.cta-band .btn { margin-top: 1.8rem; }
