/* ==========================================================================
   Shiv Furniture — design system
   Tokens sourced from design_handoff_shiv_furniture/README.md
   ========================================================================== */

:root {
  --ink: #211A14;
  --espresso: #17120E;
  --cream: #F6F1E9;
  --paper: #FBF8F2;
  --brass: #B08D57;
  --brass-lt: #C9A96E;
  --body: #4A4038;
  --muted: #8B8073;
  --line: #E3D9C8;
  --input-border: #BBC7CC;
  --success-bg: #DFF0D8;
  --success-text: #15803D;
  --whatsapp: #1FA855;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Lato', Arial, sans-serif;

  --container-max: 1240px;
  --gutter: 32px;
  --header-h: 88px;

  /* Single shared size for all paragraph/body-copy text — keep every
     paragraph-style rule pointing at these two instead of a literal value. */
  --fs-paragraph: 19px;
  --lh-paragraph: 1.7;
}

/* ----------------------------- Reset ----------------------------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--paper);
  font-family: var(--sans);
  color: var(--body);
  overflow-x: hidden;
  font-weight: 300;
}
img { display: block; max-width: 100%; }
img[hidden] { display: none; }
a { color: #8A6A3E; text-decoration: none; }
a:hover { color: var(--ink); }
button { font-family: var(--sans); }
::selection { background: rgba(176, 141, 87, .28); }
input, textarea, select { font-family: var(--sans); }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.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 {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
}
.skip-link:focus { left: 0; }

/* ----------------------------- Layout ----------------------------- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--tight { padding: clamp(64px, 8vw, 110px) 0; }
.section--roomy { padding: clamp(76px, 10vw, 140px) 0; }
.section--flush-top { padding-top: 0; }
.section--flush-bottom { padding-bottom: 0; }

.bg-espresso { background: var(--espresso); }
.bg-cream { background: var(--cream); }
.bg-paper { background: var(--paper); }
.bg-white { background: #fff; }

/* wood-grain texture, reused behind light + dark sections */
.grain-ink, .grain-brass { position: relative; overflow: hidden; }
.grain-ink::before, .grain-brass::before {
  content: '';
  position: absolute; inset: 0;
  z-index: 0; pointer-events: none;
  background-repeat: repeat;
  background-size: 300px 190px;
  background-position: center top;
}
.grain-ink::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='190'%3E%3Cg fill='none' stroke='%23211A14' stroke-opacity='0.09' stroke-width='1.1'%3E%3Cpath d='M0 20 Q75 11 150 20 T300 20'/%3E%3Cpath d='M0 46 Q75 37 150 46 T300 46'/%3E%3Cpath d='M0 72 Q75 63 150 72 T300 72'/%3E%3Cpath d='M0 98 Q75 89 150 98 T300 98'/%3E%3Cpath d='M0 124 Q75 115 150 124 T300 124'/%3E%3Cpath d='M0 150 Q75 141 150 150 T300 150'/%3E%3Cpath d='M0 176 Q75 167 150 176 T300 176'/%3E%3Cellipse cx='108' cy='86' rx='17' ry='34'/%3E%3Cellipse cx='108' cy='86' rx='8' ry='17'/%3E%3Cellipse cx='238' cy='128' rx='12' ry='24'/%3E%3C/g%3E%3C/svg%3E");
}
.grain-brass::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='190'%3E%3Cg fill='none' stroke='%23C9A96E' stroke-opacity='0.11' stroke-width='1.1'%3E%3Cpath d='M0 20 Q75 11 150 20 T300 20'/%3E%3Cpath d='M0 46 Q75 37 150 46 T300 46'/%3E%3Cpath d='M0 72 Q75 63 150 72 T300 72'/%3E%3Cpath d='M0 98 Q75 89 150 98 T300 98'/%3E%3Cpath d='M0 124 Q75 115 150 124 T300 124'/%3E%3Cpath d='M0 150 Q75 141 150 150 T300 150'/%3E%3Cpath d='M0 176 Q75 167 150 176 T300 176'/%3E%3Cellipse cx='108' cy='86' rx='17' ry='34'/%3E%3Cellipse cx='108' cy='86' rx='8' ry='17'/%3E%3Cellipse cx='238' cy='128' rx='12' ry='24'/%3E%3C/g%3E%3C/svg%3E");
}
.grain-ink > .container, .grain-brass > .container { position: relative; z-index: 1; }

.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ----------------------------- Typography ----------------------------- */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--brass);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.eyebrow--light { color: var(--brass-lt); }
.eyebrow--center { justify-content: center; }
.eyebrow__line { width: 34px; height: 1px; background: var(--brass); flex: none; }
.eyebrow--light .eyebrow__line { background: var(--brass-lt); }

.h1-hero {
  margin: 26px 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(46px, 7.4vw, 108px);
  line-height: 1.0;
  letter-spacing: -.01em;
  color: var(--cream);
  text-wrap: balance;
}
.h1-page {
  margin: 26px 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(40px, 5.4vw, 76px);
  letter-spacing: -.01em;
  color: var(--cream);
  line-height: 1;
}
.h1-about {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(38px, 5vw, 72px);
  letter-spacing: -.01em;
  color: var(--ink);
  line-height: 1.02;
}
.h2 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: -.01em;
}
.h2--on-dark { font-weight: 300; color: var(--cream); }
.h2-sm {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.06;
  color: var(--ink);
  letter-spacing: -.01em;
}
em, .italic-accent { font-style: italic; font-weight: 400; }
.h2--on-dark em, .h1-hero em { color: var(--brass-lt); }

.lede {
  margin: 24px 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 23px;
  line-height: 1.5;
  color: #E5DCCE;
  max-width: 460px;
  font-weight: 300;
}
.body-copy { font-size: var(--fs-paragraph); line-height: var(--lh-paragraph); color: var(--body); font-weight: 300; }

.filigree { display: block; margin: 26px auto 0; }
.filigree--center { display: inline-block; }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  padding: 18px 36px;
  border-radius: 2px;
  font: 700 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn--sm { padding: 11px 20px; font-size: 11px; letter-spacing: .14em; }

.btn--cream { background: var(--cream); color: var(--ink); }
.btn--cream:hover { background: #fff; transform: translateY(-2px); color: var(--ink); }

.btn--outline-cream { background: transparent; color: var(--cream); border: 1px solid rgba(246,241,233,.45); padding: 17px 34px; }
.btn--outline-cream:hover { background: rgba(246,241,233,.12); border-color: var(--cream); color: var(--cream); }

.btn--ink { background: var(--ink); color: var(--cream); }
.btn--ink:hover { background: #3A2D22; transform: translateY(-2px); color: var(--cream); }

.btn--outline-ink { background: transparent; color: var(--ink); border: 1px solid var(--ink); padding: 17px 34px; }
.btn--outline-ink:hover { background: var(--ink); color: var(--cream); }

.btn--outline-ink.btn--sm { padding: 11px 20px; }
.btn--outline-ink.btn--sm:hover { background: var(--ink); color: var(--cream); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; padding: 14px 26px; }
.btn--whatsapp:hover { filter: brightness(.93); color: #fff; }

.btn--block { width: 100%; justify-content: center; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 5px;
  transition: gap .3s ease, color .3s ease;
}
.link-arrow:hover { gap: 16px; color: var(--ink); }
.link-arrow--light { color: var(--cream); border-color: var(--brass-lt); }
.link-arrow--light:hover { color: var(--cream); }
.link-arrow svg { width: 15px; height: 15px; }

.text-action {
  color: var(--ink);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--brass);
  padding-bottom: 4px;
}
.text-action--muted { color: var(--muted); border-bottom: none; }

/* ----------------------------- Icons ----------------------------- */
.icon { width: 17px; height: 17px; stroke-width: 1.6; vertical-align: middle; flex: none; }
.icon-xl { width: 24px; height: 24px; stroke-width: 1.3; }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, .90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 3px solid var(--brass);
  border-bottom: 1px solid var(--line);
}
.site-header__row {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.logo__mark {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-size: 25px;
  color: var(--ink);
  flex: none;
}
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: .01em; color: var(--ink); }
.logo__est { font-family: var(--sans); font-weight: 700; font-size: 9.5px; letter-spacing: .30em; color: var(--brass); text-transform: uppercase; margin-top: 6px; }

.main-nav { display: flex; align-items: center; gap: 30px; }
.navlink {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .16em;
  text-transform: uppercase;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}
.navlink:hover { color: var(--brass); }
.navlink.is-active { color: var(--brass); border-bottom-color: var(--brass); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  cursor: pointer;
  flex: none;
}
.nav-toggle__bars { position: relative; width: 18px; height: 12px; }
.nav-toggle__bars span {
  position: absolute; left: 0; right: 0; height: 1.5px;
  background: var(--ink);
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 5px; }
.nav-toggle__bars span:nth-child(3) { top: 10px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 49;
  background: var(--espresso);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease, visibility .3s ease;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); visibility: visible; pointer-events: auto; }
.mobile-nav__list { display: flex; flex-direction: column; padding: 12px var(--gutter) 36px; }
.mobile-nav__list a {
  padding: 18px 0;
  border-bottom: 1px solid rgba(246,241,233,.12);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  color: var(--cream);
}
.mobile-nav__list a.is-active { color: var(--brass-lt); }
.mobile-nav__cta { margin: 28px var(--gutter) 0; }
body.nav-open { overflow: hidden; }

/* ----------------------------- Footer ----------------------------- */
.site-footer {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1100px 460px at 92% 118%, rgba(201,169,110,.20), rgba(201,169,110,0) 60%), var(--espresso);
  color: var(--cream);
}
.site-footer__vignette {
  position: absolute;
  right: -10px; bottom: -24px;
  width: min(620px, 58vw);
  height: auto;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
}
.footer-lamp-glow { animation: footerLampGlow 4.2s ease-in-out infinite; transform-origin: 320px 138px; }
@keyframes footerLampGlow {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .footer-lamp-glow { animation: none; opacity: .9; }
}
.footer-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 72px var(--gutter) 48px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.4fr;
  gap: 44px;
  position: relative;
  z-index: 1;
}
.footer-brand__name { font-family: var(--serif); font-weight: 500; font-size: 26px; letter-spacing: .01em; color: var(--cream); }
.footer-brand__est { font-size: 9.5px; letter-spacing: .30em; color: var(--brass-lt); text-transform: uppercase; margin-top: 8px; font-weight: 700; }
.footer-brand__blurb { font-size: var(--fs-paragraph); color: #C8BEB0; line-height: var(--lh-paragraph); margin: 22px 0 0; max-width: 300px; font-weight: 300; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social__link {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(246,241,233,.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  transition: background .3s ease, border-color .3s ease, color .3s ease, transform .3s ease;
}
.footer-social__link svg { width: 17px; height: 17px; }
.footer-social__link:hover { border-color: transparent; color: #fff; transform: translateY(-2px); }
.footer-social__link--facebook:hover { background: #1877F2; }
.footer-social__link--instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.footer-social__link--map:hover { background: #EA4335; }
.footer-col__title { font-weight: 700; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-lt); margin-bottom: 18px; }
.footer-col__links { display: flex; flex-direction: column; gap: 12px; }
.footer-col__links a { color: #C8BEB0; font-size: 14px; }
.footer-col__links a:hover { color: var(--cream); }
.footer-reach-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; color: #C8BEB0; font-size: 14px; line-height: 1.6; }
.footer-reach-item svg { color: var(--brass-lt); margin-top: 2px; flex: none; }
.footer-bottom {
  max-width: var(--container-max);
  margin: 56px auto 0;
  padding: 24px var(--gutter);
  border-top: 1px solid rgba(246,241,233,.12);
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px;
  position: relative; z-index: 1;
}
.footer-bottom span { font-size: 13px; color: #8E877E; }

/* ----------------------------- Floating WhatsApp ----------------------------- */
.fab-whatsapp {
  position: fixed;
  right: 26px; bottom: 26px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.30);
  transition: transform .3s ease;
}
.fab-whatsapp:hover { transform: scale(1.08); color: #fff; }
.fab-whatsapp svg { width: 26px; height: 26px; }
body.nav-open .fab-whatsapp { display: none; }

/* ----------------------------- Floating back-to-top ----------------------------- */
.fab-top {
  position: fixed;
  right: 26px; bottom: 96px;
  z-index: 60;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--paper);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.30);
  transition: transform .3s ease, opacity .3s ease, visibility .3s ease;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.fab-top.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.fab-top:hover { transform: scale(1.08); background: #3A2D22; color: var(--cream); }
.fab-top svg { width: 22px; height: 22px; }
body.nav-open .fab-top { display: none; }

/* ----------------------------- Motion ----------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s cubic-bezier(.16,.7,.3,1), transform .9s cubic-bezier(.16,.7,.3,1);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
.img-frame { position: relative; overflow: hidden; border-radius: 3px; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16,.7,.3,1); display: block; }
.img-frame:hover img { transform: scale(1.05); }
.img-frame--rounded { border-radius: 3px; }

/* ==========================================================================
   Page-header band (inner pages: collection / room-preview / projects / contact)
   ========================================================================== */
.page-header {
  background: var(--espresso);
  position: relative;
  overflow: hidden;
}
.page-header__vignette {
  position: absolute; right: 0; bottom: 0;
  height: 120%; width: auto; max-width: 52%;
  z-index: 0; pointer-events: none; opacity: .32;
}
.page-header__inner { padding-top: clamp(80px, 9vw, 110px); padding-bottom: clamp(80px, 9vw, 110px); position: relative; z-index: 1; }
.page-header p { margin: 24px 0 0; font-size: var(--fs-paragraph); color: #E5DCCE; max-width: 480px; line-height: var(--lh-paragraph); font-weight: 300; }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--espresso);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(23,18,14,.86) 0%, rgba(23,18,14,.58) 44%, rgba(23,18,14,.12) 82%); }
.hero__content { position: relative; z-index: 2; max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); width: 100%; }
.hero__copy { max-width: 760px; }
.hero__ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.hero__brackets { position: absolute; inset: 26px; z-index: 3; pointer-events: none; }
.hero__brackets svg { position: absolute; width: 42px; height: 42px; opacity: .5; }
.hero__tagline { position: absolute; right: var(--gutter); bottom: 34px; z-index: 2; color: rgba(246,241,233,.6); font-family: var(--serif); font-style: italic; font-size: 17px; }

@media (max-width: 640px) {
  .hero__tagline { display: none; }
}

.materials-strip {
  background: var(--espresso);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap;
}
.materials-strip span.label { font-family: var(--sans); font-weight: 700; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: #C8BEB0; }
.materials-strip span.dot { color: var(--brass-lt); font-size: 8px; }

/* ----------------------------- Craft story ----------------------------- */
.craft-story__art { max-width: 560px; display: block; margin: 0 auto; height: auto; width: 100%; }

/* ----------------------------- Categories ----------------------------- */
.cat-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.quicklinks { display: flex; gap: 0; margin-top: 22px; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; flex-wrap: wrap; }
.quicklinks a {
  flex: 1 1 auto;
  min-width: 200px;
  text-decoration: none;
  padding: 22px;
  display: flex; align-items: center; gap: 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.quicklinks a:hover { background: var(--cream); }
.quicklinks a:last-child { border-right: none; }
.quicklinks svg { color: var(--brass); flex: none; }
.quicklinks span { font-family: var(--sans); font-weight: 700; font-size: 13px; color: var(--ink); letter-spacing: .02em; }

/* ----------------------------- Featured collections ----------------------------- */

/* ----------------------------- AI preview banner ----------------------------- */
.steps-list { display: flex; flex-direction: column; gap: 0; margin-top: 32px; max-width: 400px; }
.steps-list__item { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps-list__item:last-child { border-bottom: 1px solid var(--line); }
.steps-list__num { font-family: var(--serif); font-style: italic; font-size: 24px; color: var(--brass); width: 34px; flex: none; }
.steps-list__text { font-size: 15px; color: var(--ink); font-weight: 700; letter-spacing: .02em; }

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.before-after img { width: 100%; height: 340px; object-fit: cover; border-radius: 3px; }
.before-after__label { text-align: center; font-size: 11px; letter-spacing: .20em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-top: 14px; }
.before-after__label--accent { color: var(--brass); }

/* ----------------------------- Stats / timeline ----------------------------- */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat { border-top: 1px solid var(--line); padding-top: 24px; }
.stat--accent { border-top-color: var(--brass); }
.stat__value { font-family: var(--serif); font-weight: 300; font-size: clamp(40px, 4.6vw, 60px); color: var(--ink); line-height: 1; }
.stat__label { font-size: 12px; color: var(--muted); margin-top: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }

.timeline-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.timeline-item { border-top: 1px solid var(--line); padding-top: 24px; }
.timeline-item--accent { border-top-color: var(--brass); }
.timeline-item__year { font-family: var(--serif); font-weight: 300; font-size: 44px; color: var(--ink); line-height: 1; }
.timeline-item__desc { font-size: var(--fs-paragraph); color: var(--muted); margin-top: 12px; line-height: var(--lh-paragraph); }

/* ----------------------------- Gallery ----------------------------- */

/* ----------------------------- Testimonial ----------------------------- */
.testimonial { max-width: 960px; margin: 0 auto; text-align: center; }
.testimonial__mark { font-family: var(--serif); font-size: 80px; line-height: .4; color: var(--brass); height: 44px; }
.testimonial__quote { margin: 0; font-family: var(--serif); font-weight: 300; font-size: clamp(26px, 3.6vw, 44px); line-height: 1.3; color: var(--cream); letter-spacing: -.01em; }
.testimonial__cite { margin-top: 36px; color: var(--brass-lt); font-weight: 700; font-size: 12px; letter-spacing: .20em; text-transform: uppercase; }

/* ----------------------------- CTA band ----------------------------- */
.cta-band { background: radial-gradient(900px 420px at 50% 122%, rgba(201,169,110,.18), rgba(201,169,110,0) 62%), var(--cream); position: relative; overflow: hidden; text-align: center; }
.cta-band__vignette { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: min(680px, 88vw); height: auto; z-index: 0; pointer-events: none; opacity: .22; }
.cta-band__inner { position: relative; z-index: 1; }
.cta-band .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 38px; }

/* ==========================================================================
   Collection / product grid
   ========================================================================== */
.filter-bar {
  display: flex; gap: 28px; flex-wrap: wrap;
  margin-bottom: 52px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 20px;
  overflow-x: auto;
}
.chip {
  background: none; border: none; color: var(--muted);
  padding: 4px 0;
  font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.chip:hover { color: var(--ink); }
.chip.is-active { color: var(--ink); border-bottom-color: var(--brass); }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px 28px; }
.product-card { display: flex; flex-direction: column; transition: transform .45s cubic-bezier(.16,.7,.3,1); }
.product-card:hover { transform: translateY(-6px); }
.product-card__frame { overflow: hidden; border-radius: 3px; }
.product-card__frame img { width: 100%; height: 300px; object-fit: cover; transition: transform .9s cubic-bezier(.16,.7,.3,1); }
.product-card:hover .product-card__frame img { transform: scale(1.05); }
.product-card__body { padding-top: 20px; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: 11px; letter-spacing: .20em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.product-card__name { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--ink); margin-top: 8px; }
.product-card__spec { font-size: var(--fs-paragraph); line-height: var(--lh-paragraph); color: var(--muted); margin-top: 4px; }
.product-card__actions { display: flex; gap: 22px; margin-top: auto; padding-top: 20px; }

/* ----------------------------- Projects ----------------------------- */
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.project-card__frame { overflow: hidden; border-radius: 3px; }
.project-card__frame img { width: 100%; height: 320px; object-fit: cover; transition: transform .9s cubic-bezier(.16,.7,.3,1); }
.project-card:hover .project-card__frame img { transform: scale(1.05); }
.project-card__meta { margin-top: 16px; }
.project-card__type { font-size: 11px; letter-spacing: .20em; text-transform: uppercase; color: var(--brass); font-weight: 700; }
.project-card__title { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--ink); margin-top: 6px; }
.project-card__desc { font-size: var(--fs-paragraph); line-height: var(--lh-paragraph); color: var(--muted); }

/* ----------------------------- About strip ----------------------------- */

/* ==========================================================================
   Forms
   ========================================================================== */
.field { display: flex; flex-direction: column; }
.field label {
  display: block; font-size: 13px; font-weight: 700; color: var(--ink);
  margin-bottom: 7px; letter-spacing: .02em;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--input-border);
  border-radius: 3px;
  padding: 13px 14px;
  font-size: 15px;
  color: var(--ink);
  outline: none;
  background: #fff;
}
.field textarea { resize: vertical; font-family: var(--sans); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(176,141,87,.18); }
.field--error input, .field--error select, .field--error textarea { border-color: #C0392B; }
.field__error { color: #C0392B; font-size: 12.5px; margin-top: 6px; }

.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.upload-label { display: block; font-size: 13px; font-weight: 700; color: var(--ink); margin-bottom: 11px; letter-spacing: .02em; }
.upload-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.upload-slot {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px;
  height: 130px;
  border-radius: 3px;
  border: 1px dashed var(--brass);
  background: linear-gradient(135deg, #EFE7D8, #E7DAC0 55%, #DCCBA9);
  color: var(--ink);
  cursor: pointer;
  overflow: hidden;
  text-align: center;
  padding: 8px;
}
.upload-slot input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;
}
.upload-slot__icon { color: var(--brass); }
.upload-slot__text { font-family: var(--serif); font-style: italic; font-size: 13px; color: #5B4B36; line-height: 1.3; }
.upload-slot img.upload-slot__preview {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.upload-slot__remove {
  position: absolute; top: 6px; right: 6px; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(23,18,14,.72); color: #fff;
  display: none; align-items: center; justify-content: center;
  border: none; cursor: pointer;
}
.upload-slot.has-file .upload-slot__remove { display: flex; }
.upload-slot.has-file .upload-slot__icon,
.upload-slot.has-file .upload-slot__text { display: none; }

.form-panel {
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  background: #fff;
}
.form-panel__aside { background: var(--cream); padding: 52px; border-right: 1px solid var(--line); }
.form-panel__main { padding: 52px; }
.reassure { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.reassure-item { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.reassure-item:last-child { margin-bottom: 0; }
.reassure-item svg { color: var(--brass); margin-top: 2px; flex: none; }
.reassure-item__title { font-weight: 700; font-size: 14px; color: var(--ink); }
.reassure-item__desc { font-size: var(--fs-paragraph); line-height: var(--lh-paragraph); color: var(--muted); }

.success-panel { text-align: center; padding: 44px 0; }
.success-panel__icon {
  width: 66px; height: 66px; border-radius: 50%;
  background: var(--success-bg); color: var(--success-text);
  display: flex; align-items: center; justify-content: center; margin: 0 auto;
}
.success-panel h3 { margin: 22px 0 0; font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--ink); }
.success-panel p { margin: 12px auto 0; font-size: var(--fs-paragraph); color: var(--body); max-width: 360px; line-height: var(--lh-paragraph); }

.form-error {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  background: #FBEAE8;
  border: 1px solid #E2A29A;
  color: #9A2F24;
  font-size: 13.5px;
  border-radius: 3px;
}
.form-error.is-visible { display: block; }

.form-success-inline { display: none; margin-top: 16px; color: var(--success-text); font-weight: 700; font-size: 14px; }

.steps-explainer { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.steps-explainer__item { text-align: center; }
.steps-explainer__circle {
  width: 70px; height: 70px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; margin: 0 auto; color: var(--brass);
}
.steps-explainer__num { font-family: var(--serif); font-style: italic; font-size: 18px; color: var(--brass); margin-top: 18px; }
.steps-explainer__label { font-weight: 700; font-size: 15px; color: var(--ink); margin-top: 6px; letter-spacing: .02em; }
.mobile .steps-explainer{
    display: flex;
    justify-content:center;
    align-content:center;
    flex-wrap:wrap;
}
.mobile .steps-explainer .steps-explainer__item {
    max-width: 50%;
}

/* ----------------------------- Contact page ----------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 30px; }
.contact-item:last-child { margin-bottom: 0; }
.contact-item svg { color: var(--brass); margin-top: 3px; flex: none; }
.contact-item__label { font-weight: 700; font-size: 13px; color: var(--ink); letter-spacing: .10em; text-transform: uppercase; }
.contact-item__value { font-size: var(--fs-paragraph); color: var(--body); line-height: var(--lh-paragraph); margin-top: 6px; }
a.contact-item__value { text-decoration: none; transition: color .2s ease; }
a.contact-item__value:hover { color: var(--brass); text-decoration: underline; }
.contact-card { border: 1px solid var(--line); border-radius: 5px; padding: 32px; margin-top: 22px; background: #fff; }
.contact-card__title { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--ink); margin-bottom: 20px; }
.contact-map-wrap { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 1px 0 var(--line); }
.contact-map { width: 100%; height: 300px; display: block; border-radius: 4px; }
.contact-map__cta {
  position: absolute; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--cream);
  font-size: 13px; font-weight: 600; letter-spacing: .04em;
  padding: 10px 16px; border-radius: 999px;
  text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.22);
  transition: background .25s ease, transform .25s ease;
}
.contact-map__cta svg { width: 15px; height: 15px; }
.contact-map__cta:hover { background: var(--brass); transform: translateY(-1px); }

/* ==========================================================================
   404
   ========================================================================== */
.error-page { min-height: 60vh; display: flex; align-items: center; justify-content: center; text-align: center; }
.error-page__code { font-family: var(--serif); font-weight: 300; font-size: clamp(72px, 12vw, 160px); color: var(--brass); line-height: 1; }

/* ==========================================================================
   Slider — shared image-carousel widget (dots + arrows + autoplay)
   Used for: home Categories, home Featured Collections, home Gallery,
   About's image strip. Behavior lives in js/slider.js.
   ========================================================================== */
.slider { position: relative; }
.slider:focus { outline: none; }
.slider:focus-visible { outline: 2px solid var(--brass-lt); outline-offset: 4px; }
.slider__viewport {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  height: min(78vw, 480px);
}
.slider__track {
  display: flex;
  height: 100%;
  transition: transform .7s cubic-bezier(.16,.7,.3,1);
}
.slider__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.slider__slide img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.slider__slide > a { display: block; width: 100%; height: 100%; }

.slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(246,241,233,.35);
  background: rgba(23,18,14,.38);
  backdrop-filter: blur(4px);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background .3s ease, transform .3s ease, opacity .3s ease;
}
.slider__arrow:hover { background: rgba(23,18,14,.6); }
.slider__arrow:active { transform: translateY(-50%) scale(.92); }
.slider__arrow--prev { left: 16px; }
.slider__arrow--next { right: 16px; }
.slider__arrow svg { width: 18px; height: 18px; }

.slider__dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}
.slider__dot {
  width: 9px; height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(246,241,233,.45);
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}
.slider__dot{
    border: 1px solid #c9a9a6
}
.slider__dot:hover { background: rgba(246,241,233,.75); }
.slider__dot.is-active { background: var(--brass-lt); transform: scale(1.35); }

/* Slide caption overlay — reused for Categories / Featured Collections slides */
.slider__scrim { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(23,18,14,.68), rgba(23,18,14,0) 55%); pointer-events: none; z-index: 1; }
.slider__num { position: absolute; top: 22px; left: 24px; z-index: 2; font-family: var(--serif); font-style: italic; font-size: 20px; color: rgba(246,241,233,.85); }
.slider__caption { position: absolute; left: 26px; bottom: 26px; z-index: 2; }
.slider__caption-eyebrow { color: var(--brass-lt); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; }
.slider__caption-title { color: var(--cream); font-family: var(--serif); font-weight: 300; font-size: clamp(28px, 3vw, 38px); margin-top: 8px; }

@media (min-width: 768px) {
  .slider__viewport { height: 80vh; }
}

/* ----- Coverflow variant: 3 slides visible, active one enlarged & centered ----- */
.slider--coverflow .slider__viewport { height: clamp(300px, 34vw, 460px); overflow: visible; }
.slider--coverflow .slider__track { position: relative; height: 100%; }
.slider--coverflow .slider__slide {
  position: absolute;
  top: 0; left: 50%;
  width: 52%;
  height: 100%;
  opacity: 0;
  transform: translateX(-50%) scale(.62);
  z-index: 1;
  pointer-events: none;
  transition: transform .65s cubic-bezier(.16,.7,.3,1), opacity .5s ease;
}
.slider--coverflow .slider__slide.is-active-slide {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  z-index: 3;
  pointer-events: auto;
}
.slider--coverflow .slider__slide.is-prev-slide,
.slider--coverflow .slider__slide.is-next-slide {
  opacity: .45;
  z-index: 2;
}
.slider--coverflow .slider__slide.is-prev-slide { transform: translateX(-140%) scale(.66); }
.slider--coverflow .slider__slide.is-next-slide { transform: translateX(40%) scale(.66); }
.slider--coverflow .slider__arrow--prev { left: 2%; }
.slider--coverflow .slider__arrow--next { right: 2%; }
div#categories-slider {
    padding: 48px 0;
}

@media (max-width: 767px) {
  .slider--coverflow .slider__viewport { height: clamp(280px, 78vw, 380px); }
  .slider--coverflow .slider__slide { width: 78%; }
  .slider--coverflow .slider__slide.is-prev-slide { transform: translateX(-128%) scale(.7); opacity: .35; }
  .slider--coverflow .slider__slide.is-next-slide { transform: translateX(28%) scale(.7); opacity: .35; }
}

@media (prefers-reduced-motion: reduce) {
  .slider__track { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  :root { --header-h: 76px; }

  .main-nav { display: none; }
  .nav-toggle { display: flex; }

  .grid-4, .stats-grid, .timeline-grid, .steps-explainer { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }

  .form-panel { grid-template-columns: 1fr; }
  .form-panel__aside { border-right: none; border-bottom: 1px solid var(--line); }
}

@media (max-width: 767px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4, .stats-grid, .timeline-grid, .steps-explainer, .form-grid-2, .upload-row { grid-template-columns: 1fr 1fr; }

  .contact-grid { grid-template-columns: 1fr; }

  .product-grid, .project-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }

  .quicklinks { flex-direction: column; }
  .quicklinks a { border-right: none; }

  .footer-grid { grid-template-columns: 1fr; padding-top: 56px; }
  .footer-grid > div:first-child { grid-column: auto; }

  .hero__ctas .btn, .cta-band .btn-row .btn { width: 100%; justify-content: center; }
  .hero__ctas, .cta-band .btn-row { flex-direction: column; }

  .form-panel__aside, .form-panel__main { padding: 32px 24px; }
}

@media (max-width: 479px) {
  :root { --gutter: 20px; }
  .product-grid, .project-grid, .grid-4, .stats-grid, .timeline-grid, .steps-explainer, .form-grid-2, .upload-row {
    grid-template-columns: 1fr;
  }
  .logo__name { font-size: 22px; }
  .contact-card { padding: 24px; }
}
