/* ==========================================================================
   KITENGE ARTS, Africa is our home!
   Stylesheet
   Design: gallery-catalogue. White paper, Times New Roman, artwork plates.
   ========================================================================== */

:root{
  --paper:#FFFFFF;
  --paper-alt:#FAF8F5;
  --ink:#14100E;          /* mpingo / African blackwood */
  --ink-soft:#6B635C;
  --rule:#DBD5CD;
  --bead-red:#B0271A;     /* Maasai bead red */
  --bead-blue:#1C7CB8;    /* Maasai bead blue */
  --bead-ochre:#E0A020;

  --serif:"Times New Roman", Times, "Liberation Serif", serif;

  --measure:74rem;
  --gut:clamp(1.25rem, 4vw, 3.5rem);
}

*,*::before,*::after{box-sizing:border-box;}

html{scroll-behavior:smooth;}

body{
  margin:0;
  font-family:var(--serif);
  font-size:1.1875rem;      /* 19px, large and readable */
  line-height:1.72;
  color:var(--ink);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

/* --- The artwork plate: each page carries a painting behind the paper ---- */
.artplate{
  position:fixed;
  inset:0;
  z-index:-2;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  opacity:.13;
  filter:saturate(1.05);
}
.artplate::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,.55) 0%, rgba(255,255,255,.88) 55%, #fff 100%);
}

/* ------------------------------ Typography ------------------------------ */
h1,h2,h3,h4{margin:0 0 .5em; font-weight:700; line-height:1.12; letter-spacing:-.015em;}

h1{font-size:clamp(2rem, 4.4vw, 3.35rem);}
h2{font-size:clamp(1.55rem, 2.7vw, 2.15rem);}
h3{font-size:clamp(1.3rem, 1.85vw, 1.55rem);}
h4{font-size:1.2rem;}

p{margin:0 0 1.15em;}
p:last-child{margin-bottom:0;}

a{color:var(--ink); text-decoration-thickness:1px; text-underline-offset:.22em;}
a:hover{color:var(--bead-red);}

.lead{
  font-size:clamp(1.1rem,1.5vw,1.28rem);
  line-height:1.65;
  color:#2A2421;
}

.label{
  font-size:.86rem;
  text-transform:uppercase;
  letter-spacing:.2em;
  font-weight:700;
  color:var(--bead-red);
  display:block;
  margin-bottom:1.1rem;
}
.label--muted{color:var(--ink-soft);}

.swahili{font-style:italic; color:var(--ink-soft);}

/* -------------------------------- Layout -------------------------------- */
.wrap{
  width:100%;
  max-width:var(--measure);
  margin-inline:auto;
  padding-inline:var(--gut);
}
.wrap--narrow{max-width:52rem;}

section{padding-block:clamp(4rem,9vw,7.5rem);}
.section--tint{background:rgba(250,248,245,.82);}
.section--ink{background:var(--ink); color:#F5F1EC;}
.section--ink h2,.section--ink h3{color:#fff;}
.section--ink .label{color:var(--bead-ochre);}
.section--ink a{color:#fff;}

.rule{border:0; border-top:1px solid var(--rule); margin:0;}

.grid{display:grid; gap:clamp(1.5rem,3vw,2.75rem);}
.g2{grid-template-columns:repeat(2,1fr);}
.g3{grid-template-columns:repeat(3,1fr);}
.g4{grid-template-columns:repeat(4,1fr);}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(2rem,5vw,4.5rem);
  align-items:center;
}
.split--wide-left{grid-template-columns:1.15fr .85fr;}
/* top-align a split when one column is much shorter than the other */
.split--top{align-items:start;}
/* let the image column fill the full height of the text column */
.split--fill{align-items:stretch;}
.split--fill>.frame{display:flex; flex-direction:column; margin:0;}
.split--fill>.frame img{flex:1 1 auto; min-height:0; height:100%; object-fit:cover;}

/* ------------------------------- Header --------------------------------- */
.masthead{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.93);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--rule);
}
.masthead__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:1.5rem;
  padding-block:.95rem;
}
.brand{display:flex; align-items:baseline; gap:.65rem; text-decoration:none;}
.brand__name{
  font-size:1.35rem; font-weight:700; letter-spacing:.05em; text-transform:uppercase;
}
.brand__tag{
  font-size:.68rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--bead-red); font-style:italic;
}

.nav{display:flex; align-items:center; gap:clamp(1rem,2.4vw,2.1rem);}
.nav a{
  text-decoration:none;
  font-size:.82rem; text-transform:uppercase; letter-spacing:.17em; font-weight:700;
  padding-block:.35rem;
  border-bottom:2px solid transparent;
}
.nav a:hover{border-bottom-color:var(--bead-red);}
.nav a[aria-current="page"]{border-bottom-color:var(--ink);}

.navtoggle{
  display:none; background:none; border:1px solid var(--rule);
  font-family:var(--serif); font-size:.78rem; letter-spacing:.16em;
  text-transform:uppercase; padding:.5rem .8rem; cursor:pointer; color:var(--ink);
}

/* -------------------------------- Buttons -------------------------------- */
.btn{
  display:inline-block;
  font-family:var(--serif);
  font-size:.82rem; text-transform:uppercase; letter-spacing:.18em; font-weight:700;
  padding:1rem 2rem;
  text-decoration:none;
  border:1px solid var(--ink);
  background:var(--ink); color:#fff;
  transition:background .22s ease, color .22s ease, transform .22s ease;
  cursor:pointer;
}
.btn:hover{background:var(--bead-red); border-color:var(--bead-red); color:#fff; transform:translateY(-2px);}
.btn--ghost{background:transparent; color:var(--ink);}
.btn--ghost:hover{background:var(--ink); color:#fff; border-color:var(--ink);}
.btn--wa{background:var(--bead-red); border-color:var(--bead-red);}
.btn--wa:hover{background:var(--ink); border-color:var(--ink);}
.btnrow{display:flex; flex-wrap:wrap; gap:.9rem; margin-top:2rem;}

/* --------------------------------- Hero ---------------------------------- */
.hero{padding-block:clamp(3.5rem,8vw,6.5rem) clamp(3rem,7vw,5.5rem);}
.hero__grid{
  display:grid; grid-template-columns:1.05fr .95fr;
  gap:clamp(2rem,5vw,4rem); align-items:center;
}
.hero h1{margin-bottom:.35em;}
.hero h1 em{font-style:italic; color:var(--bead-red);}
.hero__figure{position:relative;}
.hero__figure img{
  width:100%; height:auto; display:block;
  box-shadow:0 24px 60px -28px rgba(20,16,14,.55);
}

/* ---------------- Signature element: the gallery wall label -------------- */
/* Every piece carries provenance, the way a museum label does.             */
.plaque{
  background:#fff;
  border:1px solid var(--rule);
  border-left:4px solid var(--bead-red);
  padding:1.15rem 1.35rem;
  box-shadow:0 14px 34px -22px rgba(20,16,14,.5);
}
.plaque__title{
  font-size:1.05rem; font-weight:700; line-height:1.3; margin:0 0 .3rem;
}
.plaque__meta{
  font-size:.79rem; line-height:1.65; color:var(--ink-soft);
  font-style:italic; margin:0;
}
.plaque__price{
  display:block; margin-top:.55rem;
  font-size:.76rem; letter-spacing:.18em; text-transform:uppercase;
  font-weight:700; font-style:normal; color:var(--ink);
}
.hero__plaque{
  position:absolute; left:-1.75rem; bottom:1.75rem; max-width:19rem;
}

/* --------------------------------- Cards --------------------------------- */
.piece{display:flex; flex-direction:column;}
.piece__img{
  position:relative; overflow:hidden; background:var(--paper-alt);
  aspect-ratio:4/5;
}
.piece__img img{
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .6s cubic-bezier(.2,.7,.3,1);
}
.piece:hover .piece__img img{transform:scale(1.045);}
.piece .plaque{border-top:0; box-shadow:none; flex:1;}

.tile{
  background:#fff; border:1px solid var(--rule);
  padding:clamp(1.5rem,2.6vw,2.1rem);
  display:flex; flex-direction:column; gap:.4rem;
  transition:border-color .25s ease, transform .25s ease;
}
.tile:hover{border-color:var(--ink); transform:translateY(-3px);}
.tile__num{
  font-size:.75rem; letter-spacing:.2em; font-weight:700;
  color:var(--bead-red); margin-bottom:.55rem;
}

figure{margin:0;}
figure img{width:100%; height:auto; display:block;}
figcaption{
  font-size:.8rem; font-style:italic; color:var(--ink-soft);
  padding-top:.7rem; border-top:1px solid var(--rule); margin-top:.7rem;
}

.frame{border:1px solid var(--rule); padding:.6rem; background:#fff;}
.frame img{display:block; width:100%; height:auto;}

/* --------------------------------- Lists --------------------------------- */
.ticks{list-style:none; margin:1.2rem 0 0; padding:0;}
.ticks li{
  padding:.6rem 0 .6rem 2.15rem; position:relative;
  border-bottom:1px solid var(--rule);
}
/* Mask ornament, a quiet divider between major sections. */
.ornament{
  display:flex; align-items:center; gap:1.15rem;
  max-width:24rem; margin:2.8rem auto 0;
}
.ornament::before,.ornament::after{content:""; flex:1; height:1px; background:var(--rule);}
.ornament i{
  display:block; width:2.3rem; height:2.3rem; flex:none;
  background:url(../images/kitenge-mask-ornament.png) no-repeat center / contain;
  opacity:.95;
}
@media (max-width:680px){ .ornament{max-width:15rem;} .ornament i{width:1.9rem;height:1.9rem;} }

.ticks li::before{
  content:""; position:absolute; left:0; top:.5rem;
  width:1.45rem; height:1.45rem;
  background:url(../images/kitenge-mask-bullet.png) no-repeat center / contain;
}

/* --------------------------------- Forms --------------------------------- */
.field{display:block; margin-bottom:1.4rem;}
.field span{
  display:block; font-size:.75rem; text-transform:uppercase;
  letter-spacing:.19em; font-weight:700; margin-bottom:.5rem;
}
.field input,.field select,.field textarea{
  width:100%; font-family:var(--serif); font-size:1.05rem;
  padding:.85rem 1rem; border:1px solid var(--rule); background:#fff; color:var(--ink);
}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:2px solid var(--bead-red); outline-offset:1px; border-color:var(--bead-red);
}
.field textarea{min-height:9rem; resize:vertical;}
.formnote{font-size:.85rem; color:var(--ink-soft); font-style:italic;}
.formerr{font-size:.92rem; color:var(--bead-red); font-weight:700; margin:0 0 1rem;
  padding:.7rem .9rem; border:1px solid var(--bead-red); background:rgba(176,39,26,.06);}

/* --------------------------------- Footer -------------------------------- */
.footer{background:var(--ink); color:#CFC7BE; padding-block:clamp(3rem,6vw,4.5rem) 2rem;}
.footer h3{color:#fff; font-size:.78rem; text-transform:uppercase; letter-spacing:.2em; margin-bottom:1.1rem;}
.footer a{color:#CFC7BE; text-decoration:none;}
.footer a:hover{color:#fff; text-decoration:underline;}
.footer__grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:2.5rem;}
.footer__brand{font-size:1.3rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:#fff; margin-bottom:.4rem;}
.footer ul{list-style:none; margin:0; padding:0;}
.footer li{margin-bottom:.55rem; font-size:.95rem;}
.footer__base{
  margin-top:3rem; padding-top:1.5rem; border-top:1px solid rgba(255,255,255,.16);
  display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap;
  font-size:.82rem; color:#9A918A;
}

/* ------------------------------ Page banner ------------------------------ */
.pagehead{padding-block:clamp(3.5rem,7vw,5.5rem) clamp(2rem,4vw,3rem);}
.pagehead h1{max-width:16ch;}
.pagehead .lead{max-width:46ch;}

/* -------------------------------- Utility -------------------------------- */
.skip{
  position:absolute; left:-9999px; top:0; background:var(--ink); color:#fff;
  padding:.8rem 1.2rem; z-index:100;
}
.skip:focus{left:.5rem; top:.5rem;}

:focus-visible{outline:2px solid var(--bead-red); outline-offset:3px;}

.center{text-align:center;}
.mt0{margin-top:0;}
.stack>*+*{margin-top:1.15em;}

/* ------------------------------ Responsive ------------------------------- */
@media (max-width:960px){
  .g4{grid-template-columns:repeat(2,1fr);}
  .g3{grid-template-columns:repeat(2,1fr);}
  .footer__grid{grid-template-columns:repeat(2,1fr);}
  .hero__grid,.split,.split--wide-left{grid-template-columns:1fr;}
  .split--fill>.frame img{flex:none; height:auto; object-fit:contain;}
  .hero__plaque{position:static; max-width:none; margin-top:-1px;}
}

@media (max-width:680px){
  body{font-size:1.125rem;}
  .g2,.g3,.g4{grid-template-columns:1fr;}
  .footer__grid{grid-template-columns:1fr;}
  .navtoggle{display:block;}
  .nav{
    display:none; position:absolute; left:0; right:0; top:100%;
    flex-direction:column; align-items:flex-start; gap:0;
    background:#fff; border-bottom:1px solid var(--rule);
    padding:.5rem var(--gut) 1.25rem;
  }
  .nav.is-open{display:flex;}
  .nav a{width:100%; padding-block:.85rem; border-bottom:1px solid var(--rule);}
  .masthead__inner{position:relative;}
  .btn{width:100%; text-align:center;}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none !important; transition:none !important; scroll-behavior:auto !important;}
}

@media print{
  .masthead,.footer,.artplate{display:none;}
  body{font-size:11pt;}
}

/* ==========================================================================
   BOXED LAYOUT + LIGHTBOX + LANGUAGE TOGGLE          (added 30 Jul 2026)
   ========================================================================== */

/* --- Boxed panels: white cards floating over the artwork plate ----------- */
.panel{
  background:#fff;
  border:1px solid var(--rule);
  padding:clamp(1.75rem,4vw,3.25rem);
  box-shadow:0 22px 60px -38px rgba(20,16,14,.55);
}
.panel + .panel{margin-top:clamp(1.25rem,2.5vw,2rem);}
.panel--ink{background:var(--ink); border-color:var(--ink); color:#F5F1EC;}
.panel--ink h2,.panel--ink h3{color:#fff;}
.panel--ink .label{color:var(--bead-ochre);}
.panel--tint{background:var(--paper-alt);}

/* Footer logo sits on a light plate so the artwork can show in its own
   colours. The logo is dark artwork, so on the dark footer it needs one. */
.footer__logo{
  display:inline-block; background:var(--paper);
  padding:.9rem 1.15rem; margin-bottom:1.1rem;
  max-width:230px; width:100%;
}
.footer__logo img{display:block; width:100%; height:auto;}

.boxed{padding-block:clamp(1.5rem,3vw,2.5rem);}
.boxed section{padding-block:0;}

/* --- Language toggle ----------------------------------------------------- */
.langtoggle{
  display:inline-flex; border:1px solid var(--rule); background:#fff;
  overflow:hidden; flex-shrink:0;
}
.langtoggle button{
  font-family:var(--serif); font-size:.72rem; letter-spacing:.14em;
  text-transform:uppercase; font-weight:700;
  padding:.42rem .7rem; border:0; background:transparent; color:var(--ink-soft);
  cursor:pointer; transition:background .2s ease,color .2s ease;
}
.langtoggle button[aria-pressed="true"]{background:var(--ink); color:#fff;}
.langtoggle button:not([aria-pressed="true"]):hover{background:var(--paper-alt); color:var(--ink);}

/* --- Lightbox ------------------------------------------------------------ */
.lb{
  position:fixed; inset:0; z-index:200; display:none;
  background:rgba(12,10,9,.94);
  align-items:center; justify-content:center; padding:clamp(1rem,4vw,3rem);
}
.lb.is-open{display:flex;}
.lb__img{max-width:100%; max-height:78vh; object-fit:contain; display:block;
  box-shadow:0 30px 80px -30px rgba(0,0,0,.8);}
.lb__cap{
  color:#E8E2DB; font-size:.92rem; font-style:italic; text-align:center;
  margin-top:1rem; max-width:52ch;
}
.lb__close,.lb__nav{
  position:absolute; background:transparent; border:1px solid rgba(255,255,255,.4);
  color:#fff; font-family:var(--serif); cursor:pointer; line-height:1;
  transition:background .2s ease,border-color .2s ease;
}
.lb__close{top:1.25rem; right:1.25rem; font-size:1.5rem; width:2.6rem; height:2.6rem;}
.lb__nav{top:50%; transform:translateY(-50%); font-size:1.8rem; width:2.8rem; height:3.6rem;}
.lb__nav--prev{left:1rem;} .lb__nav--next{right:1rem;}
.lb__close:hover,.lb__nav:hover{background:rgba(255,255,255,.16); border-color:#fff;}
.lb__figure{display:flex; flex-direction:column; align-items:center; max-width:100%;}

.zoomable{cursor:zoom-in;}
.piece__img{position:relative;}
.piece__img::after{
  content:"\002B"; position:absolute; right:.6rem; bottom:.6rem;
  width:1.9rem; height:1.9rem; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.9); color:var(--ink); font-size:1.1rem;
  opacity:0; transition:opacity .25s ease; pointer-events:none;
}
.piece:hover .piece__img::after{opacity:1;}

@media (max-width:680px){
  .lb__nav{width:2.3rem; height:3rem; font-size:1.4rem;}
  .lb__img{max-height:66vh;}
  .langtoggle button{padding:.38rem .55rem; font-size:.66rem;}
}

/* ==========================================================================
   BENTO / BOX GRID, each box is a doorway into the site
   ========================================================================== */
.bento{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:minmax(150px,auto);
  gap:clamp(.7rem,1.4vw,1.15rem);
  margin-top:2.25rem;
}
.box{
  position:relative; overflow:hidden; display:block;
  background:var(--ink); color:#fff; text-decoration:none;
  border:1px solid var(--rule);
  min-height:150px;
  transition:transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease;
}
.box:hover{transform:translateY(-4px); box-shadow:0 26px 50px -28px rgba(20,16,14,.65); color:#fff;}
.box img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  transition:transform .7s cubic-bezier(.2,.7,.3,1);
}
.box:hover img{transform:scale(1.06);}
.box::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(12,10,9,.10) 0%, rgba(12,10,9,.34) 42%, rgba(12,10,9,.86) 100%);
}
.box__body{
  position:relative; z-index:2; height:100%;
  display:flex; flex-direction:column; justify-content:flex-end;
  padding:clamp(1rem,1.8vw,1.5rem);
}
.box__kicker{
  font-size:.62rem; letter-spacing:.24em; text-transform:uppercase; font-weight:700;
  color:var(--bead-ochre); margin-bottom:.4rem;
}
.box__title{
  font-size:clamp(1.05rem,1.6vw,1.4rem); font-weight:700; line-height:1.16;
  margin:0 0 .25rem; letter-spacing:-.01em;
}
.box__note{
  font-size:.85rem; line-height:1.45; color:#DCD5CD; margin:0;
  max-width:34ch; opacity:0; max-height:0; overflow:hidden;
  transition:opacity .3s ease, max-height .35s ease;
}
.box:hover .box__note,.box:focus-visible .box__note{opacity:1; max-height:6rem;}
.box__arrow{
  position:absolute; top:clamp(.9rem,1.6vw,1.25rem); right:clamp(.9rem,1.6vw,1.25rem);
  z-index:2; width:2rem; height:2rem; border:1px solid rgba(255,255,255,.5);
  display:flex; align-items:center; justify-content:center; font-size:1rem;
  transition:background .25s ease, border-color .25s ease;
}
.box:hover .box__arrow{background:#fff; color:var(--ink); border-color:#fff;}

/* sizes */
.box--lg{grid-column:span 2; grid-row:span 2;}
.box--tall{grid-column:span 1; grid-row:span 2;}
.box--wide{grid-column:span 2; grid-row:span 1;}
.box--sm{grid-column:span 1; grid-row:span 1;}

/* a flat text box, no photo */
.box--flat{background:var(--paper-alt); color:var(--ink); border-color:var(--rule);}
.box--flat::after{display:none;}
.box--flat:hover{color:var(--ink);}
.box--flat .box__kicker{color:var(--bead-red);}
.box--flat .box__note{color:var(--ink-soft); opacity:1; max-height:none;}
.box--flat .box__arrow{border-color:var(--rule); color:var(--ink);}
.box--flat:hover .box__arrow{background:var(--ink); color:#fff; border-color:var(--ink);}

@media (max-width:900px){
  .bento{grid-template-columns:repeat(2,1fr); grid-auto-rows:minmax(140px,auto);}
  .box--lg{grid-column:span 2; grid-row:span 2;}
  .box--tall{grid-column:span 1; grid-row:span 2;}
  .box--wide{grid-column:span 2;}
  .box__note{opacity:1; max-height:6rem;}
}
@media (max-width:560px){
  .bento{grid-template-columns:1fr; grid-auto-rows:minmax(190px,auto);}
  .box--lg,.box--tall,.box--wide,.box--sm{grid-column:span 1; grid-row:span 1;}
  .box--lg{min-height:250px;}
}

/* --- Painting gallery: mosaic of canvases -------------------------------- */
.gal{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-auto-rows:200px;
  gap:clamp(.6rem,1.2vw,1rem);
  margin-top:2.25rem;
}
.gal__item{position:relative; overflow:hidden; margin:0; background:#0C0A09;}
.gal__item img{width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .65s cubic-bezier(.2,.7,.3,1), opacity .3s ease;}
.gal__item:hover img{transform:scale(1.05); opacity:.92;}
.gal__item--tall{grid-row:span 2;}
.gal__item--wide{grid-column:span 2;}
.gal__item::after{
  content:"\002B"; position:absolute; right:.5rem; bottom:.5rem;
  width:1.7rem; height:1.7rem; display:flex; align-items:center; justify-content:center;
  background:rgba(255,255,255,.9); color:var(--ink); font-size:1rem;
  opacity:0; transition:opacity .25s ease; pointer-events:none;
}
.gal__item:hover::after{opacity:1;}
@media (max-width:900px){
  .gal{grid-template-columns:repeat(2,1fr); grid-auto-rows:180px;}
  .gal__item--wide{grid-column:span 2;}
}
@media (max-width:560px){
  .gal{grid-template-columns:repeat(2,1fr); grid-auto-rows:150px;}
  .gal__item--tall{grid-row:span 2;}
  .gal__item--wide{grid-column:span 2; grid-row:span 1;}
}

/* --- Full-bleed hero plate: artwork first, words below ------------------- */
.plate{
  margin:0 0 clamp(1.75rem,3.5vw,3rem);
  background:#0C0A09;
  overflow:hidden;
  position:relative;
}
.plate img{
  width:100%; display:block;
  aspect-ratio:16/7; object-fit:cover; object-position:center 42%;
}
.plate figcaption{
  position:absolute; left:0; right:0; bottom:0;
  padding:clamp(1rem,2.2vw,1.6rem) clamp(1.1rem,2.5vw,2rem);
  background:linear-gradient(180deg, rgba(12,10,9,0) 0%, rgba(12,10,9,.82) 65%);
  color:#EFE9E2; font-size:.82rem; font-style:italic; border:0;
  display:flex; flex-wrap:wrap; gap:.35rem 1.1rem; align-items:baseline;
}
.plate figcaption strong{font-style:normal; font-weight:700; color:#fff; font-size:.95rem;}

.herotext{max-width:60rem;}
.herotext h1{margin-bottom:.3em;}

@media (max-width:760px){
  .plate img{aspect-ratio:4/3;}
}

/* --- Real logo lockup in the masthead ----------------------------------- */
.brand__logo{height:58px; width:auto; display:block; align-self:center;}
.brand{gap:.75rem;}
@media (max-width:680px){ .brand__logo{height:46px;} }

/* --- Facts strip --------------------------------------------------------- */
.facts{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:1px; background:var(--rule); border:1px solid var(--rule);
  margin-top:2.25rem;
}
.facts div{background:#fff; padding:clamp(1.1rem,2.2vw,1.75rem); text-align:center;}
.panel--ink .facts{background:rgba(255,255,255,.16); border-color:rgba(255,255,255,.2);}
.panel--ink .facts div{background:var(--ink);}
.facts b{
  display:block; font-size:clamp(1.6rem,2.8vw,2.3rem); font-weight:700;
  line-height:1; letter-spacing:-.02em; margin-bottom:.4rem;
}
.facts span{
  font-size:.7rem; letter-spacing:.2em; text-transform:uppercase;
  color:var(--ink-soft); font-weight:700;
}
.panel--ink .facts span{color:#B5ACA3;}
@media (max-width:760px){ .facts{grid-template-columns:repeat(2,1fr);} }

/* --- Timeline ------------------------------------------------------------ */
.timeline{list-style:none; margin:2.25rem 0 0; padding:0; position:relative;}
.timeline::before{
  content:""; position:absolute; left:7px; top:.6rem; bottom:.6rem;
  width:1px; background:var(--rule);
}
.timeline li{position:relative; padding:0 0 1.9rem 2.6rem;}
.timeline li:last-child{padding-bottom:0;}
.timeline li::before{
  content:""; position:absolute; left:0; top:.5rem;
  width:15px; height:15px; border-radius:50%;
  background:#fff; border:2px solid var(--bead-red);
}
.timeline li:last-child::before{background:var(--bead-red);}
.timeline h3{margin-bottom:.2rem; font-size:1.15rem;}
.timeline .tl__when{
  display:block; font-size:.7rem; letter-spacing:.2em; text-transform:uppercase;
  font-weight:700; color:var(--bead-red); margin-bottom:.35rem;
}
.timeline p{margin:0; font-size:1.02rem;}

/* --- Numbered visit steps ------------------------------------------------ */
.steps{counter-reset:st; list-style:none; margin:2rem 0 0; padding:0;
  display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(1rem,2vw,1.6rem);}
.steps li{
  counter-increment:st; position:relative;
  padding:1.35rem 2.3rem 1.35rem 3.9rem;
  background:#fff; border:1px solid var(--rule);
}
/* The mask is the marker. The numeral stays, quietly, because these are
   steps in an order and the reader needs to know which comes first. */
.steps li::before{
  content:""; position:absolute; left:1.2rem; top:1.25rem;
  width:2.05rem; height:2.05rem;
  background:url(../images/kitenge-mask-bullet.png) no-repeat center / contain;
}
.steps li::after{
  content:counter(st); position:absolute; right:1rem; top:1.05rem;
  font-size:.82rem; font-weight:700; color:#BCAF9E; line-height:1;
  letter-spacing:.04em;
}
.steps h3{margin:0 0 .25rem; font-size:1.02rem;}
.steps p{margin:0; font-size:.95rem; color:var(--ink-soft);}
@media (max-width:680px){ .steps{grid-template-columns:1fr;} }

/* --- Story hero: portrait beside a first person introduction ------------- */
.storyhero{
  display:grid; grid-template-columns:1.05fr .95fr;
  min-height:min(78vh,640px);
  background:#fff; border:1px solid var(--rule);
  overflow:hidden;
}
.storyhero__text{
  padding:clamp(1.75rem,4vw,3.5rem);
  display:flex; flex-direction:column; justify-content:center;
}
.storyhero__text .label{color:var(--bead-red);}
.storyhero__text h1{
  font-size:clamp(1.55rem,2.6vw,2.15rem); line-height:1.18; margin-bottom:.55em;
}
.storyhero__text p{font-size:clamp(1.02rem,1.25vw,1.14rem); line-height:1.75;}
.storyhero__sig{
  margin-top:1.75rem; padding-top:1.25rem; border-top:1px solid var(--rule);
  font-size:.95rem; font-style:italic; color:var(--ink-soft);
}
.storyhero__sig strong{
  display:block; font-style:normal; font-weight:700; color:var(--ink);
  font-size:1.05rem; letter-spacing:.01em; margin-bottom:.15rem;
}
.storyhero__figure{position:relative; margin:0; background:var(--paper-alt); min-height:340px;}
.storyhero__figure img{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; object-position:center 22%;
}
.storyhero__badge{
  position:absolute; left:0; bottom:0; right:0;
  padding:2.75rem 1.4rem 1.15rem;
  background:linear-gradient(180deg, rgba(12,10,9,0), rgba(12,10,9,.85));
  color:#EFE9E2; font-size:.8rem; font-style:italic;
}
.storyhero__badge strong{
  display:block; font-style:normal; color:#fff; font-weight:700; font-size:.95rem;
}
@media (max-width:860px){
  .storyhero{grid-template-columns:1fr;}
  .storyhero__figure{order:-1; min-height:60vw;}
}

/* --- Map embed ----------------------------------------------------------- */
.mapwrap{
  position:relative; border:1px solid var(--rule); background:var(--paper-alt);
  aspect-ratio:16/9; overflow:hidden; margin-top:2rem;
}
.mapwrap iframe{position:absolute; inset:0; width:100%; height:100%; border:0;}
/* Sits behind the map. Visible only when the iframe fails to paint, which
   happens on slow connections, privacy browsers and ad blockers. */
.mapfallback{
  position:absolute; inset:0; display:flex; flex-direction:column;
  align-items:center; justify-content:center; text-align:center;
  gap:.75rem; padding:1.5rem; background:var(--paper-alt);
}
.mapfallback__title{
  font-size:1.2rem; font-weight:700; margin:0; letter-spacing:.04em;
  text-transform:uppercase;
}
.mapfallback p{margin:0; font-size:.95rem; color:var(--ink-soft); max-width:34ch;}
.mapnote{
  font-size:.85rem; color:var(--ink-soft); font-style:italic; margin-top:.75rem;
}
.directions{list-style:none; margin:1.5rem 0 0; padding:0;}
.directions li{
  padding:.7rem 0 .7rem 2.1rem; position:relative; border-bottom:1px solid var(--rule);
  font-size:1rem;
}
.directions li::before{
  content:"\2192"; position:absolute; left:0; color:var(--bead-red); font-weight:700;
}
@media (max-width:680px){ .mapwrap{aspect-ratio:4/3;} }

/* --- Testimonials -------------------------------------------------------- */
.quotes{
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:clamp(1rem,2vw,1.6rem); margin-top:2.25rem;
}
.quote{
  background:#fff; border:1px solid var(--rule);
  padding:clamp(1.4rem,2.4vw,2rem);
  display:flex; flex-direction:column;
}
.quote__mark{
  font-size:2.6rem; line-height:.6; color:var(--bead-red);
  font-weight:700; margin-bottom:.5rem;
}
.quote p{
  font-size:1.06rem; line-height:1.65; margin:0 0 1.1rem; flex:1;
}
.quote footer{
  border-top:1px solid var(--rule); padding-top:.85rem;
  font-size:.82rem; font-style:italic; color:var(--ink-soft);
}
.quote footer strong{
  display:block; font-style:normal; font-weight:700; color:var(--ink);
  font-size:.95rem; letter-spacing:.01em;
}
.panel--ink .quote{background:rgba(255,255,255,.05); border-color:rgba(255,255,255,.18);}
.panel--ink .quote p{color:#EFE9E2;}
.panel--ink .quote footer{border-color:rgba(255,255,255,.18); color:#B5ACA3;}
.panel--ink .quote footer strong{color:#fff;}
@media (max-width:900px){ .quotes{grid-template-columns:1fr;} }

/* ==========================================================================
   PRODUCT CARDS (gallery catalogue style) + ENQUIRY LIST
   ========================================================================== */
.piece{
  background:#fff; border:1px solid var(--rule);
  display:flex; flex-direction:column;
  transition:border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.piece:hover{border-color:var(--ink); transform:translateY(-3px);
  box-shadow:0 20px 44px -30px rgba(20,16,14,.55);}
.piece__img{
  position:relative; overflow:hidden; background:var(--paper-alt);
  aspect-ratio:1/1; border-bottom:1px solid var(--rule);
}
.piece__img img{width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .6s cubic-bezier(.2,.7,.3,1);}
.piece:hover .piece__img img{transform:scale(1.04);}

.piece__body{padding:1.15rem 1.25rem 1.25rem; display:flex; flex-direction:column; flex:1;}
.piece__title{font-size:1.12rem; font-weight:700; line-height:1.25; margin:0 0 .35rem;}
.piece__medium{font-size:.9rem; color:var(--ink-soft); margin:0 0 .2rem; line-height:1.5;}
.piece__size{font-size:.85rem; color:var(--ink-soft); font-style:italic; margin:0 0 .95rem;}
.piece__actions{margin-top:auto; display:flex; gap:.5rem; flex-wrap:wrap;}
.piece__actions .btn{
  padding:.62rem 1rem; font-size:.7rem; letter-spacing:.13em; flex:1;
  text-align:center; white-space:nowrap;
}
.btn--add{background:var(--ink); border-color:var(--ink);}
.btn--add.is-added{background:var(--bead-ochre); border-color:var(--bead-ochre); color:var(--ink);}

/* floating enquiry bar */
.tray{
  position:fixed; left:50%; transform:translateX(-50%) translateY(140%);
  bottom:1.25rem; z-index:120;
  background:var(--ink); color:#fff; border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; gap:1rem;
  padding:.75rem .85rem .75rem 1.35rem;
  box-shadow:0 22px 50px -20px rgba(0,0,0,.7);
  transition:transform .35s cubic-bezier(.2,.8,.3,1);
  max-width:calc(100vw - 2rem);
}
.tray.is-open{transform:translateX(-50%) translateY(0);}
.tray__count{font-size:.95rem; white-space:nowrap;}
.tray__count b{font-weight:700;}
.tray .btn{padding:.6rem 1.1rem; font-size:.7rem;}
.tray__clear{
  background:none; border:0; color:#B5ACA3; font-family:var(--serif);
  font-size:.75rem; letter-spacing:.14em; text-transform:uppercase;
  cursor:pointer; padding:.4rem;
}
.tray__clear:hover{color:#fff; text-decoration:underline;}
@media (max-width:560px){
  .tray{left:.75rem; right:.75rem; transform:translateY(140%); max-width:none;
    padding:.7rem .7rem .7rem 1rem; gap:.6rem;}
  .tray.is-open{transform:translateY(0);}
  .tray__count{font-size:.85rem;}
  .piece__actions{flex-direction:column;}
  .piece__actions .btn{width:100%;}
}

/* --- Like / favourite heart --------------------------------------------- */
.piece__like{
  position:absolute; top:.6rem; right:.6rem; z-index:3;
  width:2.3rem; height:2.3rem; border-radius:50%;
  border:1px solid var(--rule); background:rgba(255,255,255,.92);
  display:flex; align-items:center; justify-content:center;
  cursor:pointer; padding:0; line-height:1;
  transition:background .2s ease, transform .2s ease, border-color .2s ease;
}
.piece__like:hover{background:#fff; transform:scale(1.08); border-color:var(--ink);}
.piece__like svg{width:1.15rem; height:1.15rem; display:block;
  fill:none; stroke:var(--ink); stroke-width:1.8;
  transition:fill .25s ease, stroke .25s ease, transform .25s ease;}
.piece__like.is-liked{border-color:var(--bead-red);}
.piece__like.is-liked svg{fill:var(--bead-red); stroke:var(--bead-red);}
.piece__like.is-liked svg{animation:pop .3s ease;}
@keyframes pop{0%{transform:scale(1)}45%{transform:scale(1.35)}100%{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){ .piece__like svg{animation:none !important;} }
