/* concept.css */

:root{color-scheme:light;--chalk:#f4f0e8;--ivory:#fbf8f2;--limestone:#ece5d9;--stone:#e4dccf;--taupe:#a99c88;
--sage:#8ab4ba;--sage-ink:#5b767a;--charcoal:#23201d;--ink:#302c28;--warm-grey:#6f685f;--line:rgba(48,44,40,.14);--line-soft:rgba(48,44,40,.08);
--serif:"ivypresto-display","Playfair Display",Georgia,serif;--sans:"Manrope",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
--maxw:1280px;--gutter:clamp(20px,5vw,72px);--ease:cubic-bezier(.22,.61,.36,1)}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--sans);font-size:18px;line-height:1.72;color:var(--ink);background:var(--chalk);-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
button{font-family:inherit;cursor:pointer;border:none;background:none;color:inherit}
h1,h2,h3,h4{margin:0;font-weight:400;font-family:var(--serif);letter-spacing:-.01em;line-height:1.1}
p{margin:0} em{font-style:italic}
.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:var(--gutter)}
.section{padding-block:clamp(64px,10vw,132px)}
.eyebrow{font-family:var(--sans);font-size:.7rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;color:var(--sage-ink)}
.muted{color:var(--warm-grey)}
.grain{position:fixed;inset:0;z-index:2;pointer-events:none;opacity:.04;mix-blend-mode:multiply;background-image:url(https://www.birch-bespoke-bathrooms.co.uk/wp-content/themes/birch-theme/assets/css/../img/concept/bg1.png);background-size:150px}
/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.55em;font-family:var(--sans);font-size:.8rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;padding:1.15em 2.1em;border-radius:100px;border:1px solid transparent;line-height:1;transition:background .4s var(--ease),color .4s var(--ease),border-color .4s var(--ease),transform .35s var(--ease),box-shadow .35s var(--ease)}
.btn:hover{transform:translateY(-2px)}
.btn--solid{background:var(--charcoal);color:var(--ivory)} .btn--solid:hover{background:#3a352f;box-shadow:0 14px 30px rgba(20,18,16,.26)}
.btn--light{background:var(--ivory);color:var(--ink)} .btn--light:hover{box-shadow:0 14px 30px rgba(20,18,16,.16)}
.btn--solid::after,.btn--light::after{content:"\2192";margin-left:.1em;transition:transform .3s var(--ease)}
.btn--solid:hover::after,.btn--light:hover::after{transform:translateX(5px)}
.btn--outline{background:transparent;color:var(--ink);border-color:rgba(48,44,40,.4);position:relative;overflow:hidden;z-index:0}
.btn--outline::before{content:"";position:absolute;inset:0;background:var(--sage);transform:scaleX(0);transform-origin:left;transition:transform .45s var(--ease);z-index:-1;border-radius:inherit}
.btn--outline:hover{color:#fff;border-color:var(--sage)} .btn--outline:hover::before{transform:scaleX(1)}
.tlink{display:inline-flex;align-items:center;gap:.5em;font-family:var(--sans);font-size:.82rem;font-weight:600;color:var(--ink);border-bottom:1px solid rgba(48,44,40,.3);padding-bottom:3px;transition:.3s}
.tlink:hover{color:var(--sage-ink);border-color:var(--sage-ink)}
.explore{display:inline-flex;align-items:center;gap:.4em;font-family:var(--sans);font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--ink);transition:.3s}
.explore:hover{color:var(--sage-ink);gap:.7em}
/* header */
.header{position:fixed;top:0;left:0;right:0;z-index:60;padding-block:20px;transition:background .5s var(--ease),box-shadow .5s var(--ease),padding .5s var(--ease)}
.header::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(rgba(244,240,232,.94),rgba(244,240,232,.55) 55%,rgba(244,240,232,0));transition:opacity .5s var(--ease)}
.header.scrolled::before{opacity:0}
.header.scrolled{background:rgba(244,240,232,.92);backdrop-filter:blur(10px);box-shadow:0 1px 0 var(--line-soft);padding-block:14px}
.header__inner{display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand__logo{height:60px;width:auto;display:block;transition:height .5s var(--ease)}
.header.scrolled .brand__logo{height:48px}
.nav{display:flex;align-items:center;gap:30px}
.nav a{font-size:.82rem;font-weight:500;color:var(--ink);position:relative;padding-block:4px;transition:color .3s}
.nav a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:1px;background:var(--sage-ink);transition:width .35s var(--ease)}
.nav a:hover,.nav a.current{color:var(--sage-ink)} .nav a:hover::after,.nav a.current::after{width:100%}
.header__actions{display:flex;align-items:center;gap:14px}
.saves-btn{display:inline-flex;align-items:center;gap:.6em;background:rgba(255,255,255,.5);color:var(--ink);border:1px solid var(--line);font-size:.72rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;padding:.78em 1.15em;border-radius:40px;transition:.35s var(--ease)}
.saves-btn:hover{background:rgba(138,180,186,.14);border-color:var(--sage-ink)}
.saves-btn svg{width:17px;height:17px;color:var(--sage-ink)}
.saves-btn .count{background:var(--sage);color:#fff;font-size:.66rem;min-width:19px;height:19px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;padding:0 5px;transition:transform .3s var(--ease)}
.saves-btn .count.bump{animation:pop .4s var(--ease)}
.menu-btn{display:none;align-items:center;gap:9px;padding:7px 15px 7px 9px;border:1px solid var(--line);border-radius:40px;background:rgba(255,255,255,.45);transition:.35s var(--ease)}
.menu-btn img{width:27px;height:27px;transition:transform .6s var(--ease)}
.menu-btn span{font-size:.68rem;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.menu-btn:hover{background:rgba(138,180,186,.16);border-color:var(--sage-ink)} .menu-btn:hover img{transform:rotate(90deg)}
@keyframes pop{0%{transform:scale(.7)}55%{transform:scale(1.25)}100%{transform:scale(1)}}
/* mobile menu */
.mobile-menu{position:fixed;inset:0;z-index:80;background:var(--chalk);overflow-y:auto;transform:translateY(-100%);transition:transform .55s var(--ease)}
.mobile-menu.open{transform:none}
.mm__pattern{position:absolute;inset:0;background-image:url(https://www.birch-bespoke-bathrooms.co.uk/wp-content/themes/birch-theme/assets/css/../img/concept/bg2.png);background-size:132px;opacity:.05;pointer-events:none}
.mm__inner{position:relative;z-index:1;min-height:100%;display:flex;flex-direction:column;padding:84px var(--gutter) 36px}
.mm__logo{height:56px;width:auto;align-self:flex-start;margin-bottom:26px}
.mm__close{position:absolute;top:22px;right:var(--gutter);width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.55);display:flex;align-items:center;justify-content:center;transition:.3s}
.mm__close:hover{background:var(--sage);border-color:var(--sage);color:#fff;transform:rotate(90deg)} .mm__close svg{width:20px;height:20px}
.mm__nav a{display:flex;align-items:center;gap:16px;padding:11px 2px;border-bottom:1px solid var(--line-soft);color:var(--ink)}
.mm__nav a img{width:58px;height:58px;object-fit:cover;border-radius:4px;flex:none;background:var(--stone)}
.mm__nav a span{flex:1;font-family:var(--serif);font-size:1.32rem}
.mm__nav a::after{content:"\2192";color:var(--sage-ink);font-size:.95rem}
.mm__cta{margin-top:auto;width:100%} .mm__social{display:flex;gap:14px;justify-content:center;margin-top:22px}
.mm__social a{width:44px;height:44px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;transition:.3s}
.mm__social a:active,.mm__social a:hover{background:var(--sage);color:#fff;border-color:var(--sage)} .mm__social svg{width:18px;height:18px}
/* saves drawer */
.overlay{position:fixed;inset:0;background:rgba(20,18,16,.5);opacity:0;visibility:hidden;transition:.4s var(--ease);z-index:90} .overlay.open{opacity:1;visibility:visible}
.drawer{position:fixed;top:0;right:0;bottom:0;width:min(440px,100%);z-index:100;background:var(--ivory);display:flex;flex-direction:column;transform:translateX(100%);transition:transform .5s var(--ease)}
.drawer.open{transform:none}
.drawer__head{display:flex;align-items:center;justify-content:space-between;padding:26px 28px;border-bottom:1px solid var(--line)}
.drawer__head h3{font-family:var(--serif);font-size:1.5rem} .drawer__head .sub{font-size:.78rem;color:var(--warm-grey);margin-top:2px}
.drawer__close{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;transition:.3s} .drawer__close:hover{background:rgba(48,44,40,.06)}
.drawer__body{flex:1;overflow-y:auto;padding:22px 28px}
.drawer__empty{text-align:center;padding:56px 12px;color:var(--warm-grey)} .drawer__empty svg{width:40px;height:40px;color:var(--taupe);margin-bottom:20px}
.drawer__empty h4{font-family:var(--serif);font-size:1.4rem;color:var(--ink);margin-bottom:12px}
.saved-item{display:flex;gap:14px;padding:14px 0;border-bottom:1px solid var(--line-soft);align-items:center}
.saved-item__thumb{width:64px;height:64px;flex:none;border-radius:2px;overflow:hidden;background:var(--stone)} .saved-item__thumb img{width:100%;height:100%;object-fit:cover}
.saved-item__cat{font-size:.62rem;letter-spacing:.14em;text-transform:uppercase;color:var(--sage-ink)}
.saved-item__title{font-family:var(--serif);font-size:1.1rem;margin-top:3px}
.saved-item__rm{font-size:.7rem;letter-spacing:.1em;text-transform:uppercase;color:var(--warm-grey);margin-top:6px} .saved-item__rm:hover{color:#a5433a}
.drawer__foot{padding:20px 28px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:12px} .drawer__foot .note{font-size:.74rem;color:var(--warm-grey);text-align:center}
.drawer__foot .clear{font-size:.72rem;letter-spacing:.1em;text-transform:uppercase;color:var(--warm-grey);text-align:center} .drawer__foot .clear.armed{color:#a5433a;font-weight:700}
.save-btn{width:46px;height:46px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.95);color:var(--ink);box-shadow:0 5px 18px rgba(20,18,16,.22);transition:.25s var(--ease);flex:none}
.save-btn svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;overflow:visible;stroke-linejoin:round}
.save-btn:hover{transform:scale(1.1);background:#fff} .save-btn.is-saved{background:var(--sage);color:#fff} .save-btn.is-saved svg{fill:currentColor;stroke:#fff;stroke-width:1.2;animation:pop .45s var(--ease)}
.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);background:var(--charcoal);color:var(--ivory);padding:.9em 1.5em;border-radius:3px;font-size:.85rem;display:flex;align-items:center;gap:.7em;z-index:200;opacity:0;visibility:hidden;transition:.35s var(--ease);box-shadow:0 12px 40px rgba(0,0,0,.3)}
.toast.show{opacity:1;visibility:visible;transform:translate(-50%,0)} .toast svg{width:17px;height:17px;color:var(--sage)}
.fly-heart{position:fixed;z-index:300;pointer-events:none;color:var(--sage);width:26px;height:26px;transform:translate(-50%,-50%)} .fly-heart svg{width:100%;height:100%}
/* footer */
.footer{background:var(--charcoal);color:rgba(251,248,242,.7);padding-block:clamp(56px,7vw,90px);position:relative;z-index:1}
.footer__top{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px}
.footer__logo{height:60px;width:auto;margin-bottom:20px}
.footer__stmt{font-family:var(--serif);font-style:italic;font-size:1.05rem;line-height:1.5;color:rgba(251,248,242,.72);max-width:34ch}
.footer h4{font-size:.68rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:rgba(251,248,242,.5);margin-bottom:18px}
.footer ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:11px}
.footer ul a,.footer ul li{font-size:.9rem;color:rgba(251,248,242,.72)} .footer ul a:hover{color:var(--ivory)}
.footer .social{display:flex;gap:12px;margin-top:4px} .footer .social a{width:38px;height:38px;border-radius:50%;border:1px solid rgba(251,248,242,.22);display:flex;align-items:center;justify-content:center;transition:.3s}
.footer .social a:hover{border-color:var(--ivory);color:var(--ivory);transform:translateY(-2px)} .footer .social svg{width:16px;height:16px}
.footer__bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;margin-top:clamp(40px,5vw,64px);padding-top:26px;border-top:1px solid rgba(251,248,242,.12);font-size:.78rem;color:rgba(251,248,242,.5)}
.footer__bottom .links{display:flex;gap:22px} .footer__bottom a:hover{color:var(--ivory)}
/* animation utils */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .9s var(--ease),transform .9s var(--ease)} .reveal.in{opacity:1;transform:none}
.wipe{clip-path:inset(0 100% 0 0);transition:clip-path 1.15s var(--ease)} .wipe.in{clip-path:inset(0 0 0 0)}
.wi{display:inline-block;opacity:0;transform:translateY(.5em);transition:opacity .7s var(--ease),transform .7s var(--ease)} .split-lines.in .wi{opacity:1;transform:none}
.stag>*{opacity:0;transform:translateY(22px);transition:opacity .7s var(--ease),transform .7s var(--ease)} .stag.in>*{opacity:1;transform:none}
.stag.in>*:nth-child(2){transition-delay:.08s} .stag.in>*:nth-child(3){transition-delay:.16s} .stag.in>*:nth-child(4){transition-delay:.24s}
.stag.in>*:nth-child(5){transition-delay:.32s} .stag.in>*:nth-child(6){transition-delay:.4s} .stag.in>*:nth-child(7){transition-delay:.48s} .stag.in>*:nth-child(8){transition-delay:.56s}
/* page hero (shared) */
.phero{position:relative;min-height:74vh;display:flex;align-items:flex-end;overflow:hidden;color:var(--ivory)}
.phero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;animation:pheroZoom 18s ease-out both}
@keyframes pheroZoom{from{transform:scale(1.08)}to{transform:scale(1)}}
.phero::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,18,16,.28),rgba(20,18,16,.12) 40%,rgba(20,18,16,.62))}
.phero__in{position:relative;z-index:2;padding-bottom:clamp(46px,7vw,84px);max-width:760px}
.phero .eyebrow{color:#d7e2e3;margin-bottom:20px}
.phero h1{font-size:clamp(2.6rem,6vw,4.4rem);color:var(--ivory);line-height:1.02} .phero h1 em{color:#cde0e1}
.phero p{color:rgba(251,248,242,.85);font-size:1.08rem;max-width:48ch;margin-top:22px}
@media (max-width:980px){.nav,.saves-btn .label{display:none}.menu-btn{display:flex}.footer__top{grid-template-columns:1fr 1fr}.footer .brand-cell{grid-column:1/-1}}
@media (max-width:640px){.footer__top{grid-template-columns:1fr}}
@media (prefers-reduced-motion:reduce){*{animation:none!important;transition-duration:.01ms!important}.reveal,.wi,.stag>*{opacity:1;transform:none}.wipe{clip-path:none}.grain{display:none}}

.cintro{display:grid;grid-template-columns:1fr 1.1fr;gap:clamp(30px,5vw,72px);align-items:start}
.cintro h2{font-size:clamp(2rem,3.6vw,3rem)} .cintro .body{color:var(--warm-grey);font-size:1.02rem}
.cintro .body p{margin-bottom:16px}
@media (max-width:820px){.cintro{grid-template-columns:1fr;gap:20px}}
.csteps{display:grid;grid-template-columns:repeat(4,1fr);gap:30px;position:relative}
.cstep__n{font-family:var(--serif);font-size:1.5rem;color:var(--sage-ink);display:block;margin-bottom:14px}
.cstep h3{font-size:1.3rem;margin-bottom:10px} .cstep p{color:var(--warm-grey);font-size:.92rem}
@media (max-width:820px){.csteps{grid-template-columns:1fr 1fr;gap:26px}}
@media (max-width:460px){.csteps{grid-template-columns:1fr}}
.creceive{background:var(--limestone)}
.rgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:clamp(36px,4vw,52px)}
.rcard{position:relative;overflow:hidden;background:linear-gradient(155deg,#2d2926,#201d1a);color:var(--ivory);padding:34px 30px;border-radius:10px;min-height:200px;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid rgba(255,255,255,.05)}
.rcard::before{content:"";position:absolute;right:-26px;bottom:-30px;width:132px;height:132px;opacity:.09;pointer-events:none;background:url(https://www.birch-bespoke-bathrooms.co.uk/wp-content/themes/birch-theme/assets/css/../img/concept/bg3.png) center/contain no-repeat}
.rcard::after{content:"";position:absolute;left:0;top:0;width:36px;height:2px;background:var(--sage);opacity:.7}
.rcard>*{position:relative;z-index:1}
.rcard .eyebrow{color:var(--sage);margin-bottom:auto} .rcard h4{font-family:var(--serif);font-size:1.4rem;margin:24px 0 10px;color:var(--ivory)} .rcard p{font-size:.9rem;color:rgba(251,248,242,.62)}
@media (max-width:820px){.rgrid{grid-template-columns:1fr 1fr}} @media (max-width:520px){.rgrid{grid-template-columns:1fr}}
.cprocess-media{aspect-ratio:16/9;overflow:hidden;border-radius:3px;margin-top:8px}
.cprocess-media img{width:100%;height:100%;object-fit:cover}
.ccta{text-align:center} .ccta h2{font-size:clamp(2rem,3.6vw,3rem);max-width:24ch;margin:0 auto 12px} .ccta h2 em{color:var(--sage-ink)}
.ccta p{color:var(--warm-grey);max-width:44ch;margin:0 auto 30px}

.phero,.mtile__sw,.stylerow__media,.jcard__media,.jfeat__media,.mat-pair__media,.cprocess-media{position:relative;z-index:3}

/* custom.css */
/* ============================================================
   BIRCH — GLOBAL STYLESHEET
   Loads on EVERY page, and last, so anything here applies
   site-wide and overrides the per-page stylesheets.
   The header and footer are universal — control their look HERE,
   in one place, and every page updates.
   ============================================================ */

/* -------- FOOTER (universal) -------- */
/* Make every contact/nav line the same size (fixes the mismatch where
   plain text lines were larger than the linked ones). */
.footer ul li,
.footer ul li a { font-size: 0.9rem; }

/* Tweak any of these to taste — they apply across the whole site.
   Uncomment and change the value: */
/* .footer__stmt   { font-size: 1.05rem; }   */  /* the italic statement line   */
/* .footer h4      { font-size: 0.68rem; }   */  /* column headings (Explore…)  */
/* .footer ul a    { font-size: 0.90rem; }   */  /* footer links                */
/* .footer__bottom { font-size: 0.78rem; }   */  /* © + Privacy/Cookie row      */

/* -------- HEADER (universal) -------- */
/* One canonical header size for every page (matches the homepage).
   To use the smaller size instead, change 66px->60px, 54px->48px, 16px->20px.

   NOTE: these rules sit outside any media query and custom.css loads last, so
   they used to beat the mobile sizes in main.css. The logo stayed at 66px on a
   phone, the header ran out of room, and flexbox squashed the image sideways.
   The narrow-screen sizes below restore that, and the flex rules stop the logo
   being distorted no matter how tight the space gets. */
.brand__logo { height: 66px; }
.header.scrolled .brand__logo { height: 54px; }
.header:not(.scrolled) { padding-block: 20px; }

/* Never let flexbox squash the logo out of proportion. */
.brand { flex: 0 0 auto; min-width: 0; }
.brand__logo { width: auto; flex: none; object-fit: contain; }

@media (max-width: 640px) {
  .brand__logo,
  .header.scrolled .brand__logo { height: 48px; }
}
@media (max-width: 420px) {
  .brand__logo,
  .header.scrolled .brand__logo { height: 40px; }
  .header__inner { gap: 12px; }
}
@media (max-width: 360px) {
  .brand__logo,
  .header.scrolled .brand__logo { height: 34px; }
  .header__inner { gap: 8px; }
}
.nav { gap: 34px; }
.nav a { letter-spacing: 0.02em; }   /* match homepage nav text width */

/* -------- MOBILE MENU LOGO (universal) -------- */
/* The animated "bloom" mark (four pieces that assemble into the monogram) was
   styled only in main.css, so it worked on the homepage but the pieces stacked
   on every other page. These rules live here, on every page, so the mark
   assembles and animates the same everywhere. Pure CSS, plays when the menu opens. */
.mm__brand{display:flex;align-items:center;gap:16px;align-self:flex-start;margin-bottom:26px}
.mm__bloom{position:relative;width:74px;height:74px;flex:none}
.mm__bloom img{position:absolute;width:50%;height:50%}
.mm__bloom .q1{top:0;left:0;transform-origin:100% 100%}
.mm__bloom .q2{top:0;right:0;transform-origin:0% 100%}
.mm__bloom .q3{bottom:0;left:0;transform-origin:100% 0%}
.mm__bloom .q4{bottom:0;right:0;transform-origin:0% 0%}
.mm__word{height:50px;width:auto}
@keyframes petalBloom{0%{opacity:0;transform:scale(.18) rotate(-16deg)}55%{opacity:1;transform:scale(1.09) rotate(3deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
.mobile-menu.open .mm__bloom .q1{animation:petalBloom .72s var(--ease) both;animation-delay:.10s}
.mobile-menu.open .mm__bloom .q2{animation:petalBloom .72s var(--ease) both;animation-delay:.20s}
.mobile-menu.open .mm__bloom .q4{animation:petalBloom .72s var(--ease) both;animation-delay:.30s}
.mobile-menu.open .mm__bloom .q3{animation:petalBloom .72s var(--ease) both;animation-delay:.40s}

/* -------- OTHER GLOBAL TWEAKS -------- */
/* Any small site-wide visual change can live here. */

/* -------- ACTIVE NAV ITEM (current page) — universal -------- */
.nav a.active, .nav a.current { color: var(--clay, #5b767a); }
.nav a.active::after, .nav a.current::after { width: 100%; }                 /* keeps the underline shown */
.mm__nav a.active span, .mm__nav a.current span { color: var(--clay, #5b767a); text-decoration: underline; text-underline-offset: 4px; }

/* Centre number inside YOUR SAVES circle. */
.count { letter-spacing: 0; line-height: 1; padding-top: 1px; }

/* Centre hearts inside LIKE buttons. */
.save-btn svg { position: relative; left: -1px; top: 1px; }

/* Universal footer css. */
.footer .brand { color: var(--ivory); margin-bottom: 20px; }
.footer .brand__name span { color: rgba(251,248,242,.5); }
.footer h4 { font-family: var(--sans); }
.footer ul a { transition: color .3s; }


/* ------------------------------------------------------------------
   REVEAL FAILSAFE
   Content in .reveal / .wipe / .stag / .split is hidden by CSS until the
   page script adds the "in" class on scroll. If that script is delayed,
   deferred by a cache layer, blocked, or throws, the content stays hidden
   and the page looks like its images are missing.
   These rules force everything visible after 2.5s regardless. The normal
   scroll animation still runs and wins when the script is working, because
   it fires long before the fallback delay.
   ------------------------------------------------------------------ */
.wipe  { animation: birchWipeFailsafe   0s linear 2.5s forwards; }
.reveal,
.stag > *,
.split-lines .wi { animation: birchRevealFailsafe 0s linear 2.5s forwards; }

@keyframes birchWipeFailsafe   { to { clip-path: inset(0 0 0 0); } }
@keyframes birchRevealFailsafe { to { opacity: 1; transform: none; } }

/* An .in element is already revealed by the script, so cancel the fallback
   and let the normal transition play out. */
.wipe.in, .reveal.in, .stag.in > *, .split-lines.in .wi { animation: none; }

/* ------------------------------------------------------------------
   HOTSPOT IMAGES
   Copied from main.css so [birch_hotspot] renders identically on any
   page, not just the homepage. Rules are byte for byte the same, so
   the appearance and animation are unchanged.
   ------------------------------------------------------------------ */
.annot{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--stone);border-radius:var(--radius)}
.annot img{width:100%;height:100%;object-fit:cover;object-position:30% center}
.hotspot{
  position:absolute;z-index:5;width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.9);color:var(--ink);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--sans);font-size:.8rem;font-weight:700;
  box-shadow:0 4px 18px rgba(0,0,0,.25);transition:transform .3s var(--ease),background .3s,color .3s;
}
.hotspot::before{content:"";position:absolute;inset:-8px;border-radius:50%;border:1px solid rgba(255,255,255,.55);animation:pulse 2.6s ease-out infinite}
@keyframes pulse{0%{transform:scale(.8);opacity:.9}100%{transform:scale(1.5);opacity:0}}
.hotspot:hover,.hotspot.active{background:var(--charcoal);color:#fff;transform:scale(1.12)}
.hotspot.active::before{display:none}
.hotspot:focus-visible{outline:2px solid #fff;outline-offset:3px}

/* detail panel (desktop inline + mobile bottom sheet) */
.annot__panel{
  position:absolute;left:20px;bottom:20px;z-index:8;max-width:320px;
  background:var(--ivory);border-radius:var(--radius);padding:22px 24px;
  box-shadow:0 20px 50px rgba(0,0,0,.22);
  opacity:0;visibility:hidden;transform:translateY(12px);transition:.35s var(--ease);
}
.annot__panel.open{opacity:1;visibility:visible;transform:none}
.annot__panel .eyebrow{margin-bottom:10px}
.annot__panel h4{font-family:var(--serif);font-size:1.35rem;line-height:1.15;margin-bottom:10px}
.annot__panel p{font-size:.92rem;color:var(--warm-grey);margin-bottom:16px}
.annot__panel .row{display:flex;align-items:center;justify-content:space-between;gap:14px}
.annot__panel .save-inline{display:inline-flex;align-items:center;gap:.5em;font-size:.72rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--ink)}
.annot__panel .save-inline svg{width:16px;height:16px}
.annot__hint{margin-top:16px;font-size:.82rem;color:var(--warm-grey);text-align:center}
.annot__close{position:absolute;top:12px;right:12px;width:30px;height:30px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.05rem;line-height:1;color:var(--warm-grey);background:rgba(48,44,40,.06);transition:.25s}
.annot__close:hover{background:rgba(48,44,40,.12);color:var(--ink)}

@media (max-width:820px){
  /* aspect-ratio comes from the inline style set per hotspot image */
  .annot__panel{position:fixed;left:12px;right:12px;bottom:12px;top:auto;max-width:none;margin:0;border:1px solid var(--line);box-shadow:0 -14px 44px rgba(20,18,16,.24);z-index:120;transform:translateY(135%)}
  .annot__panel.open{transform:translateY(0)}
}

/* ------------------------------------------------------------------
   PINTEREST LINKS in the Concept Studio upload step
   ------------------------------------------------------------------ */
.cs__pin { margin-top: 22px; }
.cs__pin-label { display: block; font-family: var(--sans); font-size: .95rem; margin-bottom: 8px; }
.cs__pin-row { display: flex; gap: 8px; }
.cs__pin-row input {
  flex: 1 1 auto; padding: 13px 14px; border: 1px solid var(--line);
  background: transparent; font-family: var(--sans); font-size: 1rem; border-radius: 2px;
}
.cs__pin-row input:focus { outline: none; border-color: var(--clay, #5b767a); }
.cs__pin-add {
  flex: 0 0 auto; padding: 13px 22px; border: 1px solid var(--line);
  background: var(--ink, #1a1815); color: var(--ivory, #fbf8f2);
  font-family: var(--sans); font-size: .95rem; cursor: pointer; border-radius: 2px;
}
.cs__pin-add[disabled] { opacity: .5; cursor: default; }
.cs__pin-note { font-family: var(--sans); font-size: .82rem; opacity: .65; margin: 8px 0 0; }
.cs__pins { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.cs__pin-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px; border: 1px solid var(--line); border-radius: 2px;
}
.cs__pin-item img { width: 52px; height: 52px; object-fit: cover; flex: 0 0 auto; border-radius: 2px; }
.cs__pin-ico {
  width: 52px; height: 52px; flex: 0 0 auto; display: flex; align-items: center;
  justify-content: center; background: rgba(0,0,0,.05); border-radius: 2px; font-size: 20px;
}
.cs__pin-meta { flex: 1 1 auto; min-width: 0; font-family: var(--sans); }
.cs__pin-meta b { display: block; font-size: .92rem; font-weight: 600; }
.cs__pin-meta span {
  display: block; font-size: .78rem; opacity: .55;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cs__pin-rm {
  flex: 0 0 auto; width: 30px; height: 30px; border: 0; background: none;
  cursor: pointer; opacity: .5; font-size: 14px;
}
.cs__pin-rm:hover { opacity: 1; }

/* ============================================================
   CASE STUDY pages (template-case-study.php)
   ============================================================ */
.wrap--narrow{max-width:760px}
.cs-hero{min-height:62vh}
.cs-body__text p{font-size:clamp(1rem,1.4vw,1.15rem);line-height:1.8;margin:0 0 1.1em;color:var(--ink,#302c28)}
.cs-body__pts{margin:26px 0 0}
.cs-body__save{display:flex;align-items:center;gap:12px;margin-top:30px;font-size:.95rem;color:var(--sage-ink,#5b767a)}
.cs-body__save .save-btn{position:static;width:46px;height:46px;flex:none}
/* gallery: balanced masonry via CSS columns */
.cs-gallery{column-count:3;column-gap:16px}
@media (max-width:900px){.cs-gallery{column-count:2}}
@media (max-width:560px){.cs-gallery{column-count:1}}
.cs-tile{break-inside:avoid;margin:0 0 16px;border-radius:10px;overflow:hidden;cursor:pointer;
  box-shadow:0 10px 30px -18px rgba(48,44,40,.5);background:#e9e4da}
.cs-tile img{display:block;width:100%;height:auto;transition:transform .5s var(--ease,ease)}
.cs-tile:hover img{transform:scale(1.04)}
/* lightbox */
.cs-lb{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;
  background:rgba(24,21,18,.94);padding:28px}
.cs-lb[hidden]{display:none}
.cs-lb img{max-width:92vw;max-height:84vh;border-radius:6px;box-shadow:0 30px 80px -30px #000}
.cs-lb__nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border-radius:50%;
  border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.1);color:#fff;font-size:22px;cursor:pointer;
  display:flex;align-items:center;justify-content:center;transition:background .2s}
.cs-lb__nav:hover{background:rgba(255,255,255,.22)}
.cs-lb__prev{left:20px}.cs-lb__next{right:20px}
.cs-lb__close{position:absolute;top:20px;right:22px;background:none;border:0;color:#fff;font-size:30px;line-height:1;cursor:pointer;opacity:.85}
.cs-lb__close:hover{opacity:1}
@media (max-width:560px){.cs-lb__nav{width:40px;height:40px}}

/* Styles page: stack the two row links (View case study / Start a concept) */
.stylerow__text .explore{display:block;width:-moz-fit-content;width:fit-content}
.stylerow__text .explore + .explore{margin-top:12px}

/* Case study breadcrumb */
.cs-crumbs{font-size:.85rem;letter-spacing:.02em;color:var(--muted,#6b655d);margin-bottom:28px}
.cs-crumbs a{color:var(--sage-ink,#5b767a);text-decoration:none}
.cs-crumbs a:hover{text-decoration:underline}
.cs-crumbs__sep{margin:0 8px;opacity:.5}
.cs-crumbs__here{color:var(--ink,#302c28)}


/* Buttons: even out labels that wrap onto two lines on smaller screens.
   text-wrap:balance has no effect while a label fits on one line, so desktop
   is untouched; the extra line-height only applies below 900px where it wraps. */
.btn{text-wrap:balance;}
@media (max-width:900px){ .btn{line-height:1.4;} }

/* ==================== CONCEPT STUDIO TEASER (homepage) ==================== */
.csp__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(32px,6vw,88px);align-items:center}
.csp__copy{max-width:34rem}
.csp__lede{color:var(--warm-grey);font-size:1.06rem;line-height:1.7;margin:.9rem 0 0}
.csp__points{list-style:none;margin:1.5rem 0 2rem;padding:0}
.csp__points li{position:relative;padding-left:1.6rem;margin:.7rem 0;color:var(--ink);line-height:1.6}
.csp__points li b{font-weight:600}
.csp__points li::before{content:"";position:absolute;left:0;top:.55em;width:7px;height:7px;border-radius:50%;background:var(--sage)}
.csp__device{display:flex;flex-direction:column;align-items:center;gap:14px}

/* phone frame */
.csp-phone{width:300px;max-width:82vw;aspect-ratio:300/610;background:var(--charcoal);border-radius:40px;padding:11px;box-shadow:0 30px 70px -30px rgba(35,32,29,.55),0 8px 24px -12px rgba(35,32,29,.4);position:relative}
.csp-screen{position:absolute;inset:11px;border-radius:30px;overflow:hidden;background:var(--ivory);display:flex;flex-direction:column}
.csp-status{flex:0 0 auto;display:flex;justify-content:space-between;align-items:center;padding:12px 20px 6px;font-family:var(--sans);font-size:.72rem;font-weight:600;color:var(--ink)}
.csp-dots{display:flex;gap:3px}
.csp-dots i{width:5px;height:5px;border-radius:50%;background:var(--ink);opacity:.65}
.csp-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;padding:4px 18px 12px;border-bottom:1px solid var(--line)}
.csp-logo{font-family:var(--serif);font-size:1.15rem;color:var(--ink);letter-spacing:.01em}
.csp-saves{display:flex;align-items:center;gap:6px;font-family:var(--sans);font-size:.72rem;font-weight:600;color:var(--sage-ink);transition:transform .3s var(--ease)}
.csp-saves.csp-bump{transform:scale(1.16)}
.csp-saves__heart svg{width:15px;height:15px;fill:var(--sage-ink);display:block}
.csp-saves__count{min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--sage);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.66rem}
.csp-scrollport{flex:1 1 auto;overflow:hidden;position:relative}
.csp-scroller{height:100%;transition:transform .95s var(--ease);will-change:transform}
.csp-row{height:100%;min-height:0;padding:16px 18px 16px;box-sizing:border-box;overflow:hidden}
.csp-scrollport{--rowh:100%}
.csp-media{position:relative;width:100%;aspect-ratio:4/3;border-radius:16px;background-size:cover;background-position:center;background-color:var(--chalk)}
.csp-save{position:absolute;top:10px;right:10px;width:38px;height:38px;border:0;border-radius:50%;background:rgba(255,255,255,.92);display:flex;align-items:center;justify-content:center;cursor:default;box-shadow:0 4px 12px -4px rgba(35,32,29,.4);transition:transform .3s var(--ease)}
.csp-save svg{width:19px;height:19px;fill:none;stroke:var(--charcoal);stroke-width:1.8;transition:fill .3s var(--ease),stroke .3s var(--ease)}
.csp-save.is-saved svg{fill:var(--sage);stroke:var(--sage)}
.csp-save.csp-pop{transform:scale(1.18)}
.csp-row__eyebrow{font-family:var(--sans);font-size:.6rem;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--sage-ink);margin:14px 0 4px}
.csp-row__title{font-family:var(--serif);font-size:1.35rem;color:var(--ink);margin:0 0 6px;line-height:1.1}
.csp-row__desc{font-family:var(--sans);font-size:.82rem;line-height:1.55;color:var(--warm-grey);margin:0}

/* flying heart (appended to body) */
.csp-fly{position:fixed;z-index:9999;width:22px;height:22px;pointer-events:none;transition:transform .8s var(--ease),opacity .8s var(--ease)}
.csp-fly svg{width:22px;height:22px;fill:var(--sage);display:block}

.csp-replay{background:none;border:0;font-family:var(--sans);font-size:.8rem;font-weight:600;letter-spacing:.04em;color:var(--sage-ink);cursor:pointer;padding:6px 10px;opacity:.85;transition:opacity .2s}
.csp-replay:hover{opacity:1}

@media(max-width:860px){
  .csp__grid{grid-template-columns:1fr;gap:40px}
  .csp__copy{max-width:none;text-align:center;margin-inline:auto}
  .csp__points{display:inline-block;text-align:left}
}
@media(prefers-reduced-motion:reduce){
  .csp-scroller,.csp-saves,.csp-save,.csp-fly{transition:none}
}
/* style.css */
/*
Theme Name: Birch Bespoke Bathrooms
Theme URI: https://birchbespokebathrooms.co.uk
Author: Trade Tech Digital Solutions
Description: Bespoke one-off theme for Birch Bespoke Bathrooms. Converted from the custom HTML build. Main styles live in assets/css/main.css.
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: birch
*/
/* Main stylesheet is enqueued from assets/css/main.css (see functions.php). */

