:root{
  --white:#fff;
  --cream:#f5f2eb;
  --ink:#171714;
  --ink-soft:#656259;
  --teal:#713d45;
  --saffron:#713d45;
  --indigo:#171714;
  --line:rgba(23,23,20,.16);
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  background:var(--white);
  color:var(--ink);
  font-family:'Jost', sans-serif;
  font-weight:400;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%; display:block;}
a{color:inherit; text-decoration:none;}
h1,h2,h3,.display{
  font-family:'Marcellus', serif;
  font-weight:400;
  letter-spacing:0.01em;
  line-height:1.12;
}
.eyebrow{
  font-family:'Jost', sans-serif;
  font-size:0.72rem;
  letter-spacing:0.32em;
  text-transform:uppercase;
  color:var(--teal);
  font-weight:500;
}
.container{ max-width:1240px; margin:0 auto; padding:0 32px; }

.stitch-border{ width:100%; height:16px; display:block; }
.stitch-border svg{ width:100%; height:100%; display:block; }

/* ===== Header ===== */
header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
  transition:transform .3s ease;
}
/* Slides away while scrolling down and comes back on scrolling up (js/menu.js). */
header.header-hidden{transform:translateY(-100%);}
.topbar{
  text-align:center;
  background:var(--ink);
  color:var(--white);
  font-size:0.68rem;
  letter-spacing:0.22em;
  text-transform:uppercase;
  padding:10px 12px;
}
.topbar span{ color:var(--white); opacity:0.6; }
.logo{ font-family:'Jost', sans-serif; font-weight:600; font-size:1.35rem; letter-spacing:0.28em; text-align:center; text-transform:uppercase; }
.logo em{ font-style:normal; font-weight:600; color:var(--ink); }
.nav-actions{ display:flex; align-items:center; gap:22px; }
.icon-btn{
  background:none; border:none; cursor:pointer; color:var(--ink);
  display:flex; align-items:center; justify-content:center;
  width:22px; height:22px; transition:color .2s, transform .2s;
}
.icon-btn:hover{ color:var(--teal); transform:translateY(-1px); }
.icon-btn svg{ width:100%; height:100%; }
.search-wrap{ position:relative; display:flex; align-items:center; }
#searchInput{
  width:0; opacity:0; padding:0; border:none; border-bottom:1px solid var(--line);
  background:transparent; font-family:'Jost',sans-serif; font-size:0.88rem;
  transition:width .3s ease, opacity .3s ease, padding .3s ease;
}
#searchInput:focus{ outline:none; border-color:var(--teal); }

/* ===== Hero — real photo, white ground ===== */
.hero{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:stretch;
  background:var(--white);
}
.hero-copy{
  display:flex; flex-direction:column; justify-content:center;
  padding:70px 64px;
}
.hero-copy .eyebrow{ margin-bottom:20px; }
.hero-copy h1{ font-size:clamp(2.4rem, 4vw, 3.6rem); margin-bottom:20px; }
.hero-copy h1 .accent{ color:var(--ink); font-style:italic; font-family:'Cormorant Garamond', serif; }
.hero-copy p.bio{
  font-family:'Cormorant Garamond', serif; font-size:1.28rem; font-style:italic;
  color:var(--ink-soft); max-width:460px; margin-bottom:32px; line-height:1.55;
}
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; }
.hero-photo{
  position:relative; overflow:hidden; min-height:420px;
}
.hero-photo img{ width:100%; height:100%; object-fit:cover; object-position:center 25%; }

.btn{
  display:inline-flex; align-items:center; gap:10px; padding:15px 32px;
  background:var(--ink); color:var(--white); font-size:0.8rem;
  letter-spacing:0.13em; text-transform:uppercase; border:1px solid var(--ink);
  cursor:pointer; transition:background .25s, color .25s, border-color .25s;
}
.btn:hover{ background:transparent; color:var(--ink); }
.btn-outline{ background:transparent; color:var(--ink); border:1px solid var(--ink); }
.btn-outline:hover{ background:var(--ink); color:var(--white); }
.btn-accent{ background:var(--teal); border-color:var(--teal); color:var(--white); }
.btn-accent:hover{ background:transparent; color:var(--teal); }

section{ padding:88px 0; }
.section-head{ text-align:center; max-width:640px; margin:0 auto 54px; }
.section-head h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); margin-top:14px; }
.section-head p{ color:var(--ink-soft); margin-top:14px; font-size:0.98rem; }

/* ===== Product grid ===== */
.grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:36px; }
.product{ position:relative; cursor:pointer; }
.product-media{
  position:relative; aspect-ratio:4/5; overflow:hidden;
  background:var(--cream);
  box-shadow:0 2px 10px rgba(13,13,13,0.06);
  transition:box-shadow .35s ease, transform .35s ease;
}
.product:hover .product-media{
  box-shadow:0 24px 44px rgba(13,13,13,0.18);
  transform:translateY(-5px);
}
.product-media .frame{
  position:relative; width:100%; height:100%; overflow:hidden;
}
.product-media img{ width:100%; height:100%; object-fit:cover; transition:transform .6s ease; }
.product:hover .product-media img{ transform:scale(1.06); }
.product-media .tag{
  position:absolute; top:10px; left:10px; background:var(--ink); color:var(--white);
  font-size:0.6rem; letter-spacing:0.14em; text-transform:uppercase; padding:5px 10px; z-index:2;
}
.product-info{
  padding-top:18px; text-align:left;
}
.product-info .cat{
  font-size:0.66rem; letter-spacing:0.18em; text-transform:uppercase;
  color:var(--ink-soft); margin-bottom:6px; display:block;
}
.product-info h3{ font-size:1.1rem; font-weight:500; font-family:'Jost',sans-serif; margin-bottom:6px; }
.product-info .price{ color:var(--ink); font-size:1rem; font-weight:600; }
.no-results{ text-align:center; padding:60px 20px; color:var(--ink-soft); font-family:'Cormorant Garamond',serif; font-size:1.3rem; font-style:italic; }

/* ===== Story — white/cream, real photo ===== */
.story{ background:var(--cream); }
.story .container{ display:grid; grid-template-columns:1fr 1fr; gap:70px; align-items:center; }
.story-visual{ aspect-ratio:4/5; overflow:hidden; border:1px solid var(--line); }
.story-visual img{ width:100%; height:100%; object-fit:cover; }
.story h2{ font-size:clamp(1.9rem,3.2vw,2.5rem); margin:16px 0 22px; }
.story p{ color:var(--ink-soft); line-height:1.8; margin-bottom:18px; font-size:1rem; }
.badges{ display:flex; gap:28px; margin-top:32px; flex-wrap:wrap; }
.badge{ display:flex; align-items:center; gap:10px; font-size:0.85rem; color:var(--ink); }
.badge svg{ width:20px; height:20px; color:var(--teal); flex-shrink:0; }

/* ===== Instagram gallery ===== */
.insta-head{
  display:flex; align-items:center; justify-content:space-between;
  max-width:1240px; margin:0 auto 40px; padding:0 32px; flex-wrap:wrap; gap:16px;
}
.insta-head .left h2{ font-size:1.8rem; }
.insta-handle{ display:flex; align-items:center; gap:10px; font-size:0.95rem; }
.insta-handle svg{ width:20px; height:20px; color:var(--teal); }
.insta-grid{ display:grid; grid-template-columns:repeat(6,1fr); gap:4px; }
.insta-tile{ position:relative; aspect-ratio:1/1; overflow:hidden; background:var(--cream); display:block; }
.insta-tile img{ width:100%; height:100%; object-fit:cover; transition:transform .4s ease, opacity .25s; }
.insta-tile:hover img{ transform:scale(1.06); opacity:0.92; }

/* ===== Newsletter ===== */
.newsletter{ background:var(--white); text-align:center; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.newsletter h2{ font-size:1.9rem; margin-bottom:10px; }
.newsletter p{ color:var(--ink-soft); margin-bottom:28px; }

/* ===== Footer ===== */
footer{ background:var(--white); padding:64px 0 26px; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:40px; padding-bottom:44px; }
.footer-grid h4{ font-size:0.76rem; letter-spacing:0.14em; text-transform:uppercase; margin-bottom:18px; color:var(--teal); font-weight:500; }
.footer-grid ul{ list-style:none; }
.footer-grid li{ margin-bottom:10px; font-size:0.9rem; color:var(--ink-soft); }
.footer-grid li a:hover{ color:var(--teal); }
.footer-logo{ font-family:'Marcellus',serif; font-size:1.5rem; margin-bottom:14px; }
.footer-bio{ color:var(--ink-soft); font-size:0.88rem; line-height:1.7; max-width:320px; }
.footer-bottom{
  border-top:1px solid var(--line); padding-top:22px; display:flex;
  justify-content:space-between; align-items:center; font-size:0.78rem;
  color:var(--ink-soft); flex-wrap:wrap; gap:10px;
}

@media (max-width: 980px){
  .grid{ grid-template-columns:repeat(2,1fr); }
  .hero{ grid-template-columns:1fr; }
  .hero-photo{ min-height:320px; order:-1; }
  .story .container{ grid-template-columns:1fr; gap:40px; }
  .insta-grid{ grid-template-columns:repeat(3,1fr); }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  .grid{ grid-template-columns:repeat(2,1fr); gap:16px; }
  .hero-copy{ padding:48px 24px; }
  section{ padding:60px 0; }
  .footer-grid{ grid-template-columns:1fr; }
}

/* Functional accessibility and customer information. Existing palette retained. */
[hidden]{display:none !important;}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
:focus-visible{outline:2px solid var(--ink);outline-offset:5px;}
.skip-link{position:fixed;top:8px;left:8px;z-index:1100;background:var(--white);padding:12px 18px;transform:translateY(-150%);border:1px solid var(--ink);}
.skip-link:focus{transform:none;}
html{scroll-padding-top:150px;}
section[id]{scroll-margin-top:20px;}
.icon-btn{width:44px;height:44px;flex-shrink:0;}
.icon-btn svg{width:22px;height:22px;}
#searchInput:focus-visible{outline:2px solid var(--ink);outline-offset:3px;}
.text-link{text-decoration:underline;text-underline-offset:4px;}
.product{cursor:default;}
.help-page{max-width:900px;}
.help-page section{padding:44px 0;border-bottom:1px solid var(--line);}
.help-page .help-intro{padding-top:64px;}
.help-page h1{font-size:clamp(2rem,4vw,3rem);margin:18px 0;}
.help-page h2{font-size:2rem;margin-bottom:24px;}
.help-page h3{font-size:1.3rem;margin:28px 0 12px;}
.help-page p{line-height:1.75;margin:14px 0;}
.help-links{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:24px;}
.help-links a{text-decoration:underline;min-height:44px;display:inline-flex;align-items:center;}
.confirmation-list{padding-left:22px;line-height:1.75;}
.confirmation-list li{margin:12px 0;}
.confirmation,.confirmation-list{color:var(--ink-soft);}
.help-page summary{font-weight:500;cursor:pointer;padding:16px 0;min-height:44px;}
.help-page details{border-bottom:1px solid var(--line);}
@media(max-width:560px){
  .logo{font-size:1.05rem;letter-spacing:0.18em;}
  .container{padding-left:20px;padding-right:20px;}
  .topbar{letter-spacing:0.1em;line-height:1.7;}
  .grid{grid-template-columns:1fr;}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,*::before,*::after{animation:none !important;transition:none !important;}
  .product:hover .product-media,.product:hover img,.insta-tile:hover img{transform:none;}
}

/* Product pages are ordinary links and HTML, usable without JavaScript. */
.product-link{display:block;}
.product-link:focus-visible{outline-offset:8px;}
.product-info h2{font:500 1.1rem 'Jost',sans-serif;margin-bottom:8px;}
.product-info .text-link{display:inline-flex;align-items:center;min-height:44px;}
.catalogue-page .section-head h1{font-size:clamp(2rem,4vw,3rem);margin-top:16px;}
.product-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:56px;align-items:start;}
.detail-photo img{width:100%;height:auto;object-fit:contain;background:var(--cream);}
.detail-photo p{margin-top:16px;}
.detail-copy h1{font-size:clamp(2rem,3.5vw,3rem);margin:16px 0;}
.detail-copy p{line-height:1.7;margin:18px 0;}
.detail-price{font-size:1.3rem;font-weight:500;}
.piece-details{padding-left:22px;line-height:1.9;}
.detail-copy .btn{justify-content:center;text-align:center;max-width:100%;}
.detail-copy label{display:block;font-weight:500;margin:24px 0 8px;}
.detail-copy textarea{display:block;width:100%;resize:vertical;padding:14px;font:inherit;line-height:1.6;border:1px solid var(--ink-soft);background:var(--cream);color:var(--ink);margin-bottom:14px;}
.enquiry-note{font-size:0.9rem;color:var(--ink-soft);}
.detail-guidance{border-top:1px solid var(--line);padding-top:40px;}
.detail-guidance h2{font-size:2rem;margin-bottom:28px;}
.guidance-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;}
.guidance-grid h3{font-size:1.3rem;margin-bottom:12px;}
.guidance-grid p{line-height:1.75;margin-bottom:16px;}
@media(max-width:980px){.product-detail{grid-template-columns:1fr;gap:32px;}.guidance-grid{grid-template-columns:1fr;}}

/* Brand refresh. All colour controls are in :root at the top of this file. */

body{line-height:1.6;overflow-x:clip;}
button,input,select,textarea{font:inherit;}
.logo{display:inline-flex;align-items:center;gap:12px;font-size:1rem;letter-spacing:.18em;white-space:nowrap;flex-shrink:0;}
.logo img{width:44px;height:34px;}
.logo em{font-weight:400;}
.topbar{font-size:.64rem;letter-spacing:.14em;}
.hero{padding:0;max-width:1440px;margin:auto;background:var(--cream);}
.hero-copy{padding:64px clamp(24px,5vw,80px);}
.hero-copy h1{font-size:clamp(2.4rem,4.3vw,4.3rem);line-height:1.1;letter-spacing:-.025em;}
.hero-copy h1 .accent{color:var(--teal);}
.hero-copy p.bio{font:400 1rem/1.8 'Jost',sans-serif;max-width:390px;}
.hero-actions{align-items:center;gap:20px;}
.hero-actions .text-link{font-size:.86rem;}
.hero-photo{min-height:0;aspect-ratio:1/1.06;}
.hero-photo img{object-position:center;}
.hero-photo picture{display:block;height:100%;}
.stitch-border{height:7px;opacity:.45;}
.btn{padding:14px 24px;min-height:48px;font:500 .75rem/1.5 'Jost',sans-serif;letter-spacing:.09em;justify-content:center;text-align:center;}
section{padding:80px 0;}
.section-head{max-width:640px;margin-bottom:40px;}
.section-head h2{font-size:clamp(2rem,3vw,2.8rem);letter-spacing:-.015em;}
.section-head p{line-height:1.7;}
.grid{gap:32px 24px;grid-template-columns:repeat(3,minmax(0,1fr));}
.product{min-width:0;}
.product-media{box-shadow:none;}
.product:hover .product-media{box-shadow:none;transform:none;}
.product:hover .product-media img{transform:scale(1.025);}
.product-media .tag{background:var(--white);color:var(--ink);font-size:.6rem;padding:4px 8px;}
.product-info{padding-top:14px;}
.product-info h2,.product-info h3,.product-info h4{font:400 1.1rem/1.4 'Marcellus',serif;margin-bottom:8px;}
.product-info .cat{font-size:.64rem;}
.product-info .price{font-size:.94rem;font-weight:400;}
.product-info .text-link{font-size:.8rem;}
.catalogue-link{margin-top:56px;text-align:center;}
.story{background:var(--cream);}
.story .container{gap:70px;}
.story-copy h2{letter-spacing:-.02em;}
.story-copy .badges{gap:14px 24px;}
.insta-head .left h2{margin-top:12px;}
.insta-grid{max-width:1440px;margin:auto;gap:8px;}
.newsletter{background:var(--cream);border:none;}
.newsletter h2{font-size:clamp(2rem,3vw,3rem);margin:16px 0;}
.newsletter p{max-width:440px;margin:0 auto 24px;line-height:1.8;}
.footer-logo{justify-content:flex-start;}
.footer-grid{gap:32px;}
.footer-grid a:not(.logo){display:inline-block;padding:4px 0;}
.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:.8rem;color:var(--ink-soft);padding-top:28px;}
.breadcrumbs a{padding:8px 0;text-decoration:underline;text-underline-offset:3px;}
.product-detail{padding-top:28px;gap:clamp(28px,5vw,72px);}
.gallery-frame{margin:0 0 16px;}
.gallery-frame img{aspect-ratio:4/5;object-fit:contain;width:100%;height:auto;}
.gallery-frame figcaption{font-size:.8rem;color:var(--ink-soft);padding:12px 0;}
.gallery-thumbnails{display:flex;gap:12px;flex-wrap:wrap;}
.gallery-thumbnails a{display:block;width:72px;border:2px solid transparent;padding:3px;}
.gallery-thumbnails a[aria-current]{border-color:var(--teal);}
.gallery-thumbnails img{aspect-ratio:4/5;object-fit:cover;}
.detail-copy h1{font-size:clamp(2.2rem,3.5vw,3.5rem);letter-spacing:-.02em;}
.detail-copy .detail-price{font-size:1.2rem;}
.detail-copy .piece-details{list-style:none;padding:18px 0;border-block:1px solid var(--line);font-size:.9rem;}
.detail-copy>.btn{display:flex;width:100%;background:var(--teal);border-color:var(--teal);}
.detail-copy>.btn:hover{background:var(--ink);border-color:var(--ink);color:var(--white);}
.enquiry-draft{border-block:1px solid var(--line);margin-top:24px;}
.enquiry-draft summary{padding:16px 0;cursor:pointer;font-size:.92rem;min-height:48px;}
.enquiry-draft label{font-size:.85rem;}
.enquiry-draft textarea{font-size:.9rem;}
.detail-guidance h2{font-size:clamp(1.6rem,3vw,2.2rem);}
.guidance-grid{gap:24px;}
.guidance-grid>div{padding:24px;background:var(--cream);}
.guidance-grid p{font-size:.9rem;overflow-wrap:anywhere;}
.related-pieces{padding-top:0;}
.related-pieces h2{font-size:2rem;margin:14px 0 30px;}
.related-pieces .grid{grid-template-columns:repeat(4,minmax(0,1fr));}
@media(min-width:981px){.detail-photo{position:sticky;top:105px;}}
@media(max-width:980px){
  .hero{grid-template-columns:1fr 1fr;}
  .hero-copy{padding:40px 24px;}
  .hero-photo{order:0;aspect-ratio:auto;}
  .hero-copy h1{font-size:clamp(2.1rem,4.5vw,3.3rem);}
  .grid,.related-pieces .grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .story .container{grid-template-columns:1fr 1fr;gap:32px;}
  .product-detail{grid-template-columns:1fr 1fr;gap:28px;}
  .detail-copy h1{font-size:2.2rem;}
}
@media(max-width:680px){
  html{scroll-padding-top:130px;}
  .hero{grid-template-columns:1fr;}
  .hero-copy{padding:36px 22px;}
  .hero-copy h1{font-size:2.65rem;}
  .hero-copy .eyebrow{margin-bottom:14px;}
  .hero-copy p.bio{font-size:.94rem;margin-bottom:24px;}
  /* Photo first on phones, always full width. It is a 4:5 portrait, or shorter on short screens so the title
     stays in view. A height cap on an aspect-ratio box shrank its width instead, leaving the photo off centre. */
  .hero-photo{order:-1;aspect-ratio:auto;height:min(125vw,64vh);height:min(125vw,64svh);}
  .hero-photo img{object-position:50% 25%;}
  .hero-actions{gap:16px;}
  section{padding:54px 0;}
  .section-head{margin-bottom:30px;text-align:left;}
  .section-head h2{font-size:2rem;}
  .section-head p{font-size:.92rem;}
  .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 14px;}
  .product-info h2,.product-info h3,.product-info h4{font-size:1rem;}
  .product-info .price{font-size:.85rem;}
  .product-info .text-link{min-height:32px;font-size:.76rem;}
  .product-media .tag{font-size:.54rem;top:6px;left:6px;}
  .story .container{grid-template-columns:1fr;gap:30px;}
  .story p{font-size:.94rem;}
  .insta-head{padding:0 20px;margin-bottom:24px;}
  .insta-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;}
  .footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px;}
  .footer-grid>div:first-child{grid-column:1/-1;}
  .logo{font-size:.85rem;gap:8px;letter-spacing:.13em;}
  .logo img{width:34px;height:26px;}
  .product-detail{grid-template-columns:1fr;gap:24px;}
  .detail-copy h1{font-size:2.25rem;}
  .detail-copy p{margin:16px 0;}
  .breadcrumbs{padding-top:14px;gap:6px;font-size:.75rem;}
  .detail-guidance{padding-top:28px;}
  .guidance-grid{grid-template-columns:1fr;gap:12px;}
  .help-page .help-intro{padding-top:36px;}
}

/* Announcement bar: always one line. On phones it scrolls in a loop; the hidden second copy makes the loop seamless. */
.topbar{overflow:hidden;white-space:nowrap;}
.topbar-track{display:flex;justify-content:center;}
.topbar-item + .topbar-item{display:none;}
@media(max-width:690px){
  .topbar{text-align:left;line-height:1.4;padding-left:0;padding-right:0;}
  .topbar-track{justify-content:flex-start;width:max-content;animation:topbar-scroll 20s linear infinite;}
  .topbar-item{padding-right:6.5em;}
  .topbar-item + .topbar-item{display:block;}
}
@media(max-width:690px) and (prefers-reduced-motion:reduce){
  .topbar{white-space:normal;text-align:center;padding-left:12px;padding-right:12px;}
  .topbar-track{animation:none;width:auto;justify-content:center;}
  .topbar-item{padding-right:0;}
  .topbar-item + .topbar-item{display:none;}
}
@keyframes topbar-scroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}

/* Collection links on the catalogue and collection pages. */
.collection-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:24px;}
.collection-nav a{padding:9px 18px;border:1px solid var(--line);font-size:.78rem;letter-spacing:.12em;text-transform:uppercase;transition:border-color .2s,background .2s;}
.collection-nav a:hover{border-color:var(--ink);}
.collection-nav a[aria-current="page"]{background:var(--ink);border-color:var(--ink);color:var(--white);}
@media(max-width:680px){
  .collection-nav{justify-content:flex-start;gap:8px;}
  .collection-nav a{padding:8px 14px;font-size:.72rem;}
}

/* Home page shop: one row per collection with a few pieces and a link to the full collection.
   Each row spans as many columns as it has pieces, so two short collections share a line. */
.collection-rows{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:64px 24px;}
.collection-row{grid-column:span var(--pieces,4);min-width:0;}
.row-head{display:flex;align-items:baseline;flex-wrap:wrap;gap:4px 14px;padding-bottom:14px;margin-bottom:22px;border-bottom:1px solid var(--line);}
.row-head h3{font-size:clamp(1.5rem,2.2vw,1.9rem);letter-spacing:-.01em;}
.row-count{font-size:.7rem;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-soft);}
.row-link{margin-left:auto;font-size:.82rem;white-space:nowrap;}
.row-link::after{content:' \2192';}
.row-cards{display:grid;grid-template-columns:repeat(var(--pieces,4),minmax(0,1fr));gap:24px;}
.search-status{display:flex;align-items:center;justify-content:space-between;gap:12px;}
#resultCount:not(:empty){padding-bottom:24px;color:var(--ink-soft);}
#clearSearch{background:none;border:0;padding:0 0 24px;cursor:pointer;color:var(--ink);font-size:.85rem;min-height:44px;}
@media(max-width:680px){
  .collection-rows{grid-template-columns:minmax(0,1fr);gap:44px;}
  .collection-row{grid-column:auto;}
  .row-head{margin-bottom:16px;padding-bottom:10px;}
  .row-head h3{font-size:1.5rem;}
  /* On phones each row scrolls sideways, with the next piece peeking in. */
  .row-cards{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:32px;margin:0 -32px;padding:0 32px 4px;scrollbar-width:none;}
  .row-cards::-webkit-scrollbar{display:none;}
  .row-cards .product{flex:0 0 calc((100% - 14px) / 2.2);scroll-snap-align:start;}
  .catalogue-link .btn{width:100%;}
}
@media(max-width:560px){
  .row-cards{scroll-padding-inline:20px;margin:0 -20px;padding:0 20px 4px;}
}
/* Photo inside text pages such as Our Story. */
.page-photo{margin:32px 0 0;max-width:520px;}
.page-photo img{width:100%;height:auto;}
.help-page ul{padding-left:20px;line-height:1.75;}
/* Embroidery guide: the dress panel illustration. */
.panel-guide{max-width:400px;margin:32px auto;}
.panel-guide img{display:block;width:100%;height:auto;border:1px solid var(--line);border-radius:12px;}
.panel-guide figcaption{font-size:.8rem;color:var(--ink-soft);text-align:center;margin-top:10px;}
.help-page li{margin:8px 0;}

/* Main menu, the same on every page (written by scripts/site-nav.cjs).
   Desktop: collections on the left, logo in the centre, Our story, Contact and search on the right.
   The two 44px columns keep the logo exactly centred.
   Phones and tablets: a Menu button opens the links as a panel under the header. */
.nav{display:grid;grid-template-columns:44px minmax(0,1fr) auto minmax(0,1fr) 44px;align-items:center;column-gap:20px;position:relative;max-width:1240px;margin:0 auto;padding:14px 32px;}
.nav-menu{display:contents;}
.menu-toggle,.menu-heading,.menu-extra{display:none;}
.nav-shop{grid-column:1 / span 2;grid-row:1;}
.nav .logo{grid-column:3;grid-row:1;justify-self:center;}
.nav-about{grid-column:4;grid-row:1;justify-self:end;}
.nav-actions{grid-column:5;grid-row:1;justify-self:end;}
.nav-shop,.nav-about{display:flex;flex-wrap:wrap;column-gap:22px;list-style:none;font-size:.82rem;letter-spacing:.04em;}
.nav-menu a{position:relative;display:inline-flex;align-items:center;min-height:44px;transition:color .2s;}
.nav-menu a::after{content:'';position:absolute;left:0;bottom:9px;width:0;height:1px;background:var(--teal);transition:width .25s ease;}
.nav-menu a:hover,.nav-menu a[aria-current]{color:var(--teal);}
.nav-menu a:hover::after,.nav-menu a[aria-current]::after{width:100%;}
.search-wrap{position:static;}
#searchInput.open{position:absolute;top:calc(100% + 1px);right:32px;z-index:1;width:min(340px,calc(100vw - 32px));min-height:48px;margin:0;padding:12px;opacity:1;background:var(--white);border:1px solid var(--ink);}
@media(max-width:1080px){
  .nav{grid-template-columns:1fr auto 1fr;column-gap:12px;padding:10px 24px;}
  .menu-toggle{display:inline-flex;align-items:center;gap:8px;grid-column:1;grid-row:1;justify-self:start;min-height:44px;padding:0 6px 0 0;background:none;border:0;cursor:pointer;color:var(--ink);font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;}
  .menu-toggle svg{width:24px;height:24px;flex-shrink:0;}
  .menu-toggle .icon-close,.menu-toggle[aria-expanded="true"] .icon-open{display:none;}
  .menu-toggle[aria-expanded="true"] .icon-close{display:block;}
  .nav .logo{grid-column:2;}
  .nav-actions{grid-column:3;}
  .nav-menu{display:block;grid-column:1 / -1;grid-row:2;margin-top:10px;padding:6px 0 18px;border-top:1px solid var(--line);max-height:calc(100vh - 120px);max-height:calc(100dvh - 120px);overflow-y:auto;}
  .menu-heading{display:block;padding:12px 0 2px;font-size:.66rem;font-weight:500;letter-spacing:.3em;text-transform:uppercase;color:var(--teal);}
  .menu-extra{display:list-item;}
  .nav-shop,.nav-about{display:block;justify-self:auto;letter-spacing:0;}
  .nav-shop a{min-height:46px;font:400 1.35rem/1.2 'Marcellus',serif;}
  .nav-about{margin-top:12px;padding-top:8px;border-top:1px solid var(--line);}
  .nav-about a{font-size:.95rem;}
  .nav-menu a{display:flex;}
  .nav-menu a::after{display:none;}
  .nav-menu a[aria-current]{color:var(--teal);}
  #searchInput.open{right:24px;left:24px;width:auto;}
}
@media(max-width:560px){
  .nav{padding:8px 16px;}
  #searchInput.open{right:16px;left:16px;}
  .menu-toggle span{font-size:.66rem;}
}

/* Wishlist: hearts on product photos, the count in the menu, the product page button and the wishlist page.
   Hearts are added by js/wishlist.js, so they never show without JavaScript. */
@media(min-width:1081px){.nav{grid-template-columns:92px minmax(0,1fr) auto minmax(0,1fr) 92px;}}
.nav-actions{display:flex;gap:4px;}
.wish-link{position:relative;}
.wish-link[aria-current]{color:var(--teal);}
.wish-count{position:absolute;top:5px;right:2px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--teal);color:var(--white);font-size:.62rem;font-weight:500;line-height:17px;text-align:center;}
/* A small heart so it covers little of the photo; the invisible ::after keeps a 44px tap area. */
.wish-btn{position:absolute;top:10px;right:10px;z-index:3;display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:var(--white);color:var(--ink);cursor:pointer;box-shadow:0 1px 4px var(--line);transition:transform .2s,color .2s;}
.wish-btn::after{content:"";position:absolute;inset:-7px;}
.wish-btn:hover{transform:scale(1.08);color:var(--teal);}
.wish-btn svg,.wish-detail svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;}
.wish-btn svg{width:16px;height:16px;}
.wish-btn[aria-pressed="true"],.detail-copy>.wish-detail[aria-pressed="true"]{color:var(--teal);}
.wish-btn[aria-pressed="true"] svg,.wish-detail[aria-pressed="true"] svg{fill:currentColor;}
.detail-copy>.wish-detail{display:flex;width:100%;margin-top:12px;gap:10px;background:transparent;color:var(--ink);border-color:var(--ink);}
.detail-copy>.wish-detail:hover{background:var(--cream);color:var(--ink);border-color:var(--ink);}
.detail-copy>.wish-detail[aria-pressed="true"]{border-color:var(--teal);}
.wish-toast{position:fixed;left:50%;bottom:20px;z-index:200;max-width:calc(100% - 32px);margin:0;padding:12px 18px;background:var(--ink);color:var(--white);font-size:.88rem;line-height:1.5;opacity:0;pointer-events:none;transform:translate(-50%,150%);transition:transform .3s ease,opacity .3s ease;}
.wish-toast.is-shown{opacity:1;transform:translate(-50%,0);}
.wishlist-page{padding-bottom:72px;}
.wish-intro{padding:48px 0 0;margin-bottom:32px;}
.wish-intro h1{font-size:clamp(2rem,4vw,3rem);margin-top:14px;}
.wish-count-line{font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;}
.wish-empty{text-align:center;padding:16px 0;color:var(--ink-soft);}
.wish-save{max-width:580px;margin:72px auto 0;padding:32px;background:var(--cream);}
.wish-save h2{font-size:1.8rem;margin-bottom:12px;}
.wish-save h3{font-size:1.3rem;margin-bottom:10px;}
.wish-save p{line-height:1.7;margin-bottom:16px;}
.wish-save label{display:block;font-weight:500;margin-bottom:8px;}
.wish-save input[type="email"]{display:block;width:100%;min-height:48px;margin-bottom:18px;padding:12px;border:1px solid var(--ink-soft);background:var(--white);color:var(--ink);}
.wish-save .wish-check{display:flex;align-items:flex-start;gap:10px;margin-bottom:20px;font-weight:400;line-height:1.5;}
.wish-check input{flex-shrink:0;width:20px;height:20px;margin-top:2px;accent-color:var(--teal);}
.wish-actions{display:flex;flex-wrap:wrap;gap:4px 24px;}
.wish-actions button{min-height:44px;padding:0;border:0;background:none;color:var(--ink);font-size:.9rem;cursor:pointer;}
#wishStatus{margin:14px 0 0;color:var(--ink-soft);}
@media(max-width:680px){
  .wish-save{margin-top:48px;padding:24px 20px;}
  .wish-btn{top:8px;right:8px;width:28px;height:28px;}
  .wish-btn::after{inset:-8px;}
  .wish-btn svg{width:15px;height:15px;}
}
@media(max-width:400px){
  .menu-toggle span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
  .nav-actions .icon-btn{width:40px;}
}

/* Collection and All pieces pages: a compact header so the pieces start sooner.
   The breadcrumbs already say where you are, so the header is the piece count, title, a short intro and the collection links. */
.listing{padding:20px 0 72px;}
.listing .section-head{margin-bottom:32px;}
.listing .section-head h1{margin-top:10px;font-size:clamp(1.9rem,3.2vw,2.6rem);}
.listing .section-head p{margin-top:10px;}
.listing .collection-nav{margin-top:20px;}
@media(max-width:680px){
  .listing{padding:8px 0 56px;}
  .listing .section-head{margin-bottom:22px;}
  .listing .section-head h1{margin-top:8px;font-size:1.75rem;line-height:1.15;}
  .listing .section-head p{margin-top:8px;font-size:.88rem;line-height:1.6;}
  .listing .collection-nav{margin-top:16px;}
  /* On phones the collection links stay on one line and scroll sideways, edge to edge. */
  .collection-nav{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin-left:-32px;margin-right:-32px;padding:0 32px;scroll-padding-inline:32px;}
  .collection-nav::-webkit-scrollbar{display:none;}
  .collection-nav a{flex-shrink:0;white-space:nowrap;}
}
@media(max-width:560px){
  .collection-nav{margin-left:-20px;margin-right:-20px;padding:0 20px;scroll-padding-inline:20px;}
}

/* Product pages: price and code on one line, details as a list with icons, the Enquire button
   straight after, and compact "before you order" notes. Icons come from scripts/icons.cjs. */
.detail-meta{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 16px;}
.detail-copy .detail-meta p{margin:0;}
.detail-code{font-size:.8rem;color:var(--ink-soft);letter-spacing:.04em;}
.detail-copy .detail-desc{margin:16px 0 20px;}
.detail-copy .piece-details{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;padding:18px 0;margin-bottom:24px;}
.piece-details li{display:flex;align-items:center;gap:10px;line-height:1.35;}
.detail-icon{width:22px;height:22px;flex-shrink:0;color:var(--teal);}
.detail-copy .enquiry-note{margin:14px 0 0;font-size:.85rem;line-height:1.6;}
.guidance-grid h3{display:flex;align-items:center;gap:10px;}
/* With JavaScript the photo itself opens the full size image, so the caption is only read aloud. */
.is-enhanced .gallery-frame figcaption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;}
@media(max-width:680px){
  .product-detail{gap:20px;padding-bottom:28px;}
  .gallery-frame{margin-bottom:10px;}
  .gallery-thumbnails{flex-wrap:nowrap;gap:8px;overflow-x:auto;scrollbar-width:none;}
  .gallery-thumbnails a{flex-shrink:0;width:60px;}
  .detail-copy h1{margin:8px 0 6px;font-size:2rem;}
  .detail-copy .detail-desc{margin:14px 0 16px;font-size:.95rem;}
  .detail-copy .piece-details{gap:12px 10px;padding:14px 0;margin-bottom:20px;font-size:.86rem;}
  .detail-guidance{padding-top:24px;}
  .detail-guidance h2{margin-bottom:6px;font-size:1.5rem;}
  .guidance-grid{gap:0;}
  .guidance-grid>div{padding:16px 0;background:none;border-bottom:1px solid var(--line);}
  .guidance-grid h3{margin-bottom:6px;font-size:1.1rem;}
  .guidance-grid p{margin-bottom:6px;}
}

/* Our Story page: an editorial layout built around photos of the embroidery.
   Sections alternate between cream, white and ink, with the stitch border from the home page. */
:where(.story-page) section{padding:0;}
.story-page h2{font-size:clamp(1.9rem,3vw,2.6rem);letter-spacing:-.015em;margin:14px 0 16px;}
.sp-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);align-items:center;max-width:1440px;margin:0 auto;background:var(--cream);}
.sp-hero-copy{padding:64px clamp(24px,6vw,96px);}
.sp-hero h1{margin:16px 0 26px;font-size:clamp(2.5rem,4.6vw,4.4rem);line-height:1.06;letter-spacing:-.025em;}
.sp-hero h1 em{display:block;font-family:'Cormorant Garamond',serif;font-style:italic;font-weight:500;color:var(--teal);}
.sp-hero-copy p{max-width:460px;margin-bottom:14px;color:var(--ink-soft);line-height:1.8;}
.sp-hero-copy .sp-lead{font-size:1.15rem;color:var(--ink);}
.sp-hero-photo{margin:0;height:100%;}
.sp-hero-photo img{width:100%;height:100%;aspect-ratio:4/5;object-fit:cover;}
.sp-stitch{height:7px;color:var(--ink);opacity:.45;}
.sp-stitch svg{display:block;width:100%;height:100%;}
.sp-hands{padding-top:88px;padding-bottom:72px;}
.sp-intro{max-width:640px;margin:0 auto 40px;text-align:center;}
.sp-intro p{color:var(--ink-soft);line-height:1.8;}
.sp-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;list-style:none;}
.sp-details a{position:relative;display:block;overflow:hidden;}
.sp-details img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;transition:transform .6s ease;}
.sp-details a:hover img{transform:scale(1.04);}
.sp-details span{position:absolute;left:0;right:0;bottom:0;padding:36px 14px 14px;background:linear-gradient(to top,color-mix(in srgb,var(--ink) 75%,transparent),transparent);color:var(--white);font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;}
.sp-more{margin-top:28px;text-align:center;color:var(--ink-soft);}
.sp-quote{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;max-width:1440px;margin:0 auto;background:var(--ink);color:var(--white);}
.sp-quote-photo{margin:0;height:100%;}
.sp-quote-photo img{width:100%;height:100%;aspect-ratio:4/5;object-fit:cover;}
.sp-quote-text{margin:0;padding:56px clamp(24px,6vw,96px);}
.sp-quote blockquote::before{content:'“';display:block;height:.6em;font:400 6rem/1 'Cormorant Garamond',serif;opacity:.5;}
.sp-quote blockquote p{font:italic 400 clamp(1.9rem,3.4vw,3.1rem)/1.22 'Cormorant Garamond',serif;}
.sp-quote figcaption{margin-top:26px;font-size:.72rem;letter-spacing:.3em;text-transform:uppercase;opacity:.75;}
.sp-values{padding-top:88px;padding-bottom:88px;text-align:center;}
.sp-values h2{margin-bottom:40px;}
.sp-value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;text-align:left;}
.sp-value-grid>div{padding:32px 28px;border:1px solid var(--line);}
.sp-value-grid svg{width:34px;height:34px;margin-bottom:18px;color:var(--teal);}
.sp-value-grid h3{margin-bottom:10px;font-size:1.35rem;}
.sp-value-grid p{color:var(--ink-soft);font-size:.95rem;line-height:1.7;}
.sp-custom{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);align-items:center;max-width:1440px;margin:0 auto;background:var(--cream);}
.sp-custom-photo{margin:0;height:100%;}
.sp-custom-photo img{width:100%;height:100%;aspect-ratio:4/5;object-fit:cover;}
.sp-custom-copy{padding:56px clamp(24px,6vw,96px);}
.sp-custom-copy p{max-width:460px;margin-bottom:28px;color:var(--ink-soft);line-height:1.8;}
.sp-collections{padding-top:88px;padding-bottom:32px;text-align:center;}
.sp-collections h2{margin-bottom:36px;}
.sp-tiles{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px;list-style:none;text-align:left;}
.sp-tiles a{display:block;}
.sp-tile-photo{display:block;overflow:hidden;background:var(--cream);}
.sp-tile-photo img{width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;transition:transform .6s ease;}
.sp-tiles a:hover img{transform:scale(1.04);}
.sp-tile-name{display:block;margin-top:12px;font:400 1.05rem/1.3 'Marcellus',serif;}
.sp-tiles a:hover .sp-tile-name{color:var(--teal);}
.sp-follow{padding:48px 32px 96px;text-align:center;}
.story-page .sp-follow h2{margin-bottom:24px;font-size:clamp(1.6rem,2.6vw,2.2rem);}
@media(max-width:980px){
  .sp-hero,.sp-quote,.sp-custom{grid-template-columns:1fr;}
  .sp-hero-photo,.sp-quote-photo,.sp-custom-photo{order:-1;}
  .sp-hero-photo img{aspect-ratio:4/3;object-position:50% 30%;}
  .sp-quote-photo img,.sp-custom-photo img{aspect-ratio:4/3;object-position:50% 35%;}
  .sp-details{grid-template-columns:repeat(2,minmax(0,1fr));}
  .sp-value-grid{grid-template-columns:1fr;}
  .sp-tiles{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:680px){
  .sp-hero-copy{padding:32px 20px 40px;}
  .sp-hero h1{font-size:2.5rem;}
  .sp-hero-photo img{aspect-ratio:1/1;}
  .sp-hands{padding:56px 20px 48px;}
  .sp-intro{margin-bottom:28px;text-align:left;}
  .sp-details{gap:10px;}
  .sp-details span{padding:28px 10px 10px;font-size:.62rem;letter-spacing:.12em;}
  .sp-more{text-align:left;}
  .sp-quote-text{padding:36px 20px 44px;}
  .sp-quote blockquote::before{font-size:4.5rem;}
  .sp-values{padding:56px 20px;text-align:left;}
  .sp-values h2{margin-bottom:24px;}
  .sp-value-grid{gap:12px;}
  .sp-value-grid>div{display:grid;grid-template-columns:34px 1fr;column-gap:16px;padding:20px 18px;}
  .sp-value-grid svg{grid-row:span 2;margin:0;}
  .sp-value-grid h3{font-size:1.2rem;margin-bottom:4px;}
  .sp-custom-copy{padding:36px 20px 44px;}
  .sp-collections{padding:56px 0 16px;text-align:left;}
  .sp-collections .eyebrow,.sp-collections h2{margin-left:20px;margin-right:20px;}
  .sp-collections h2{margin-bottom:22px;}
  /* On phones the collection tiles scroll sideways. */
  .sp-tiles{display:flex;gap:12px;overflow-x:auto;padding:0 20px 4px;scroll-snap-type:x mandatory;scroll-padding-inline:20px;scrollbar-width:none;}
  .sp-tiles::-webkit-scrollbar{display:none;}
  .sp-tiles li{flex:0 0 44%;scroll-snap-align:start;}
  .sp-tile-name{font-size:.95rem;}
  .sp-follow{padding:40px 20px 72px;}
}
