/* ============================================================
   Ultimate Barbers - Dublin's Best Kept Secret
   Archetype B: bold warm-dark + single oxblood accent
   Type: Bricolage Grotesque (display/body) · EB Garamond (serif ledes)
         · JetBrains Mono (labels)
   ============================================================ */

:root {
  --bg:        #14100e;   /* warm near-black canvas          */
  --bg-2:      #1b1512;   /* raised panel                    */
  --bg-3:      #241b16;   /* card / hover                    */
  --bone:      #f3ede2;   /* primary text                    */
  --bone-dim:  #d8cfc1;
  --muted:     #a99c8d;   /* secondary text                  */
  --faint:     #6f645a;
  --line:      rgba(243,237,226,0.12);
  --line-2:    rgba(243,237,226,0.06);
  --ox:        #b5342b;   /* oxblood accent (barber red)     */
  --ox-bright: #db4b3b;   /* hover / glow                    */
  --ox-deep:   #7c211c;
  --silver:    #cfccd2;   /* logo metal, tiny accents        */

  --f-disp: "Bricolage Grotesque", system-ui, sans-serif;
  --f-body: "Bricolage Grotesque", system-ui, sans-serif;
  --f-serif:"EB Garamond", Georgia, serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1240px;
  --pad: clamp(20px, 5vw, 80px);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--bone);
  font-family: var(--f-body);
  font-weight: 350;
  line-height: 1.6;
  font-size: 17px;
  letter-spacing: .002em;
  overflow-x: hidden;
  /* layered atmospheric background, not a flat fill */
  background-image:
    radial-gradient(1100px 620px at 82% -8%, rgba(181,52,43,.16), transparent 60%),
    radial-gradient(760px 520px at -8% 22%, rgba(124,33,28,.10), transparent 60%),
    radial-gradient(900px 900px at 50% 118%, rgba(181,52,43,.08), transparent 60%);
  background-attachment: fixed;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ox); color: #fff; }

/* dot-grid texture layer */
body::before {
  content: "";
  position: fixed; inset: 0;
  background-image: radial-gradient(rgba(243,237,226,.05) 1px, transparent 1px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
main { position: relative; z-index: 1; }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--f-mono);
  font-size: .72rem;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ox-bright);
  display: inline-flex; align-items: center; gap: .7em;
}
.eyebrow.dim { color: var(--muted); }
h1, h2, h3 { font-family: var(--f-disp); font-weight: 700; line-height: .98; letter-spacing: -.02em; }
h2 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: -.015em; }
.lede {
  font-family: var(--f-serif);
  font-size: clamp(1.18rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--bone-dim);
  font-weight: 400;
}
.section { padding-block: clamp(72px, 11vw, 150px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(38px, 6vw, 68px); }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head p { color: var(--muted); margin-top: 18px; max-width: 56ch; }

/* ---------- buttons ---------- */
.btn {
  --bh: 0;
  display: inline-flex; align-items: center; gap: .6em;
  font-family: var(--f-mono);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 16px 26px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s, border-color .35s, box-shadow .35s;
  white-space: nowrap;
}
.btn .arw { transition: transform .35s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }
.btn-primary {
  background: var(--ox); color: #fff;
  box-shadow: 0 10px 34px -14px rgba(181,52,43,.9);
}
.btn-primary:hover { background: var(--ox-bright); transform: translateY(-2px); box-shadow: 0 18px 42px -14px rgba(219,75,59,.85); }
.btn-ghost { border-color: var(--line); color: var(--bone); background: rgba(243,237,226,.02); }
.btn-ghost:hover { border-color: var(--bone); transform: translateY(-2px); }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  transition: background .4s var(--ease), border-color .4s, backdrop-filter .4s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(16,12,10,.82);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand .bt { display: flex; flex-direction: column; line-height: 1; }
.brand .bt b { font-family: var(--f-disp); font-weight: 700; font-size: 1.02rem; letter-spacing: .04em; }
.brand .bt span { font-family: var(--f-mono); font-size: .58rem; letter-spacing: .34em; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--bone-dim); position: relative; padding: 6px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--ox-bright);
  transition: width .3s var(--ease);
}
.nav-links a:hover { color: var(--bone); }
.nav-links a:hover::after { width: 100%; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-tel { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; color: var(--muted); }
.nav-tel:hover { color: var(--bone); }
.burger { display: none; background: none; border: 0; cursor: pointer; width: 40px; height: 40px; flex-direction: column; gap: 5px; justify-content: center; align-items: center; }
.burger span { width: 22px; height: 2px; background: var(--bone); transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO - off-centre editorial (framer-inspired)
   ============================================================ */
.hero { position: relative; padding-top: 150px; padding-bottom: clamp(40px, 7vw, 90px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-copy { position: relative; z-index: 3; }
.hero-copy .eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-size: clamp(3rem, 9.2vw, 8rem);
  line-height: .9;
  letter-spacing: -.035em;
  margin-left: -.04em;               /* bleed off the edge */
  text-transform: uppercase;
}
.hero h1 .best { color: var(--ox-bright); }
.hero .lede { margin-top: 28px; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero-meta { display: flex; gap: 30px; margin-top: 42px; flex-wrap: wrap; }
.hero-meta .m { display: flex; flex-direction: column; gap: 4px; }
.hero-meta .m b { font-family: var(--f-serif); font-size: 2rem; line-height: 1; color: var(--bone); }
.hero-meta .m span { font-family: var(--f-mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.hero-visual { position: relative; z-index: 2; }
.hero-frame {
  position: relative;
  border: 1px solid var(--line);
  padding: 12px;
  background: linear-gradient(180deg, rgba(243,237,226,.04), transparent);
  border-radius: 3px;
}
.hero-frame img { width: 100%; aspect-ratio: 3/3.7; object-fit: cover; object-position: center top; border-radius: 2px; filter: contrast(1.03) saturate(1.02); }
.hero-badge {
  position: absolute; left: -26px; bottom: 34px;
  background: var(--ox); color: #fff;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 12px 16px; border-radius: 2px; line-height: 1.5;
  box-shadow: 0 20px 44px -18px rgba(0,0,0,.8);
  max-width: 200px;
}
.hero-badge b { display: block; font-family: var(--f-disp); font-size: .96rem; letter-spacing: .02em; }
.downstairs {
  position: absolute; right: -14px; top: 50%;
  writing-mode: vertical-rl;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .34em; text-transform: uppercase; color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.downstairs .dline { width: 1px; height: 46px; background: var(--line); }

/* ============================================================
   AWARDS MARQUEE
   ============================================================ */
.marquee {
  border-block: 1px solid var(--line);
  background: rgba(0,0,0,.22);
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 90px; z-index: 2; pointer-events: none;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.marquee-track { display: flex; gap: 0; width: max-content; animation: slide 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .mi {
  display: inline-flex; align-items: center; gap: 18px;
  padding: 20px 34px;
  font-family: var(--f-mono); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-dim);
  white-space: nowrap;
}
.marquee-track .mi svg { flex: none; color: var(--ox-bright); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT / STORY
   ============================================================ */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 6vw, 90px); align-items: center; }
.story-copy .eyebrow { margin-bottom: 22px; }
.story-copy h2 { margin-bottom: 26px; }
.story-copy p { color: var(--muted); margin-bottom: 18px; max-width: 52ch; }
.pullquote {
  font-family: var(--f-serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.28; color: var(--bone);
  border-left: 2px solid var(--ox); padding-left: 24px; margin: 30px 0;
}
.story-media { position: relative; }
.story-media .sm-main { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; filter: grayscale(1) contrast(1.05); }
.story-media .sm-tag {
  position: absolute; right: -18px; bottom: -18px;
  background: var(--bg-3); border: 1px solid var(--line);
  padding: 18px 22px; border-radius: 3px; max-width: 210px;
}
.story-media .sm-tag b { font-family: var(--f-serif); font-size: 2.4rem; color: var(--ox-bright); display: block; line-height: 1; }
.story-media .sm-tag span { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }

/* ============================================================
   SERVICES - asymmetric editorial price list
   ============================================================ */
.services { background: var(--bg-2); border-block: 1px solid var(--line); }
.svc-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(34px, 6vw, 80px); align-items: start; }
.svc-intro { position: sticky; top: 108px; }
.svc-intro h2 { margin-bottom: 22px; }
.svc-intro p { color: var(--muted); margin-bottom: 28px; max-width: 40ch; }
.svc-note { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; color: var(--faint); text-transform: uppercase; }
.price-list { border-top: 1px solid var(--line); }
.price-row {
  display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 20px;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
  transition: padding-left .35s var(--ease), background .35s;
}
.price-row:hover { padding-left: 16px; background: linear-gradient(90deg, rgba(181,52,43,.08), transparent); }
.price-row .pr-name { font-family: var(--f-disp); font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 600; letter-spacing: -.01em; }
.price-row .pr-desc { display: block; font-family: var(--f-body); font-weight: 350; font-size: .9rem; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.price-row .pr-price { font-family: var(--f-serif); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--ox-bright); white-space: nowrap; }
.price-row .pr-price small { font-family: var(--f-mono); font-size: .6rem; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; display: inline-block; margin-right: 4px; vertical-align: middle; }

/* ============================================================
   WORK / GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 150px;
  grid-auto-flow: dense;
  gap: 14px;
}
.gi { position: relative; overflow: hidden; border-radius: 3px; border: 1px solid var(--line-2); }
.gi img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s; }
.gi:hover img { transform: scale(1.06); }
.gi::after {
  content: attr(data-cap);
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 22px 16px 12px; font-family: var(--f-mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--bone);
  background: linear-gradient(0deg, rgba(10,7,6,.85), transparent);
  opacity: 0; transform: translateY(8px); transition: .4s var(--ease);
}
.gi:hover::after { opacity: 1; transform: translateY(0); }
/* layout spans */
.g1 { grid-column: span 5; grid-row: span 3; }
.g2 { grid-column: span 4; grid-row: span 2; }
.g3 { grid-column: span 3; grid-row: span 2; }
.g4 { grid-column: span 4; grid-row: span 2; }
.g5 { grid-column: span 3; grid-row: span 3; }
.g6 { grid-column: span 5; grid-row: span 2; }
.g7 { grid-column: span 4; grid-row: span 2; }

/* ============================================================
   TEAM
   ============================================================ */
.team { background: var(--bg-2); border-block: 1px solid var(--line); }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.member { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.member .ph { position: relative; aspect-ratio: 4/4.4; overflow: hidden; }
.member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; filter: grayscale(1) contrast(1.04); transition: filter .6s, transform .8s var(--ease); }
.member:hover .ph img { filter: grayscale(0) contrast(1.02); transform: scale(1.03); }
.member .ph .tag { position: absolute; left: 16px; top: 16px; background: rgba(16,12,10,.7); backdrop-filter: blur(6px); border: 1px solid var(--line); font-family: var(--f-mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; padding: 7px 11px; border-radius: 2px; color: var(--ox-bright); }
.member .body { padding: 26px 26px 30px; }
.member .body h3 { margin-bottom: 4px; }
.member .role { font-family: var(--f-serif); font-style: italic; color: var(--muted); font-size: 1.05rem; margin-bottom: 16px; }
.member .body p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.awards-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.awards-chips span { font-family: var(--f-mono); font-size: .62rem; letter-spacing: .06em; text-transform: uppercase; color: var(--bone-dim); border: 1px solid var(--line); padding: 6px 10px; border-radius: 999px; }

/* ============================================================
   PRODUCTS
   ============================================================ */
.products-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.prod-media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); }
.prod-copy h2 { margin-bottom: 22px; }
.prod-copy p { color: var(--muted); margin-bottom: 26px; max-width: 46ch; }
.prod-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.prod-item { display: flex; align-items: baseline; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.prod-item b { font-family: var(--f-disp); font-size: 1.15rem; font-weight: 600; }
.prod-item span { font-family: var(--f-body); color: var(--muted); font-size: .92rem; }

/* ============================================================
   VISIT - map / hours / contact
   ============================================================ */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: start; }
.hours-table { border-top: 1px solid var(--line); margin-bottom: 32px; }
.hours-row { display: flex; justify-content: space-between; padding: 14px 2px; border-bottom: 1px solid var(--line); font-family: var(--f-mono); font-size: .84rem; letter-spacing: .04em; }
.hours-row.today { color: var(--ox-bright); }
.hours-row .d { text-transform: uppercase; letter-spacing: .14em; color: var(--muted); }
.hours-row.today .d { color: var(--ox-bright); }
.hours-row .closed { color: var(--faint); }
.addr-block { margin-bottom: 26px; }
.addr-block .eyebrow { margin-bottom: 12px; }
.addr-block p { color: var(--bone-dim); font-family: var(--f-serif); font-size: 1.2rem; line-height: 1.5; }
.contact-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 12px 16px; border-radius: 2px; font-family: var(--f-mono); font-size: .76rem; letter-spacing: .04em; color: var(--bone-dim); transition: .3s var(--ease); background: rgba(243,237,226,.02); }
.chip:hover { border-color: var(--ox); color: var(--bone); transform: translateY(-2px); }
.chip svg { color: var(--ox-bright); flex: none; }
.map-embed { border: 1px solid var(--line); border-radius: 3px; overflow: hidden; }
.map-embed iframe { width: 100%; height: 300px; border: 0; filter: grayscale(.5) contrast(1.05) brightness(.85); display: block; }

/* contact form */
.cform { margin-top: 30px; border-top: 1px solid var(--line); padding-top: 30px; }
.cform .frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.cform input, .cform textarea {
  width: 100%; background: var(--bg-3); border: 1px solid var(--line); color: var(--bone);
  padding: 14px 16px; border-radius: 2px; font-family: var(--f-body); font-size: .95rem; transition: border-color .3s;
}
.cform textarea { min-height: 120px; resize: vertical; margin-bottom: 14px; }
.cform input:focus, .cform textarea:focus { outline: none; border-color: var(--ox); }
.cform ::placeholder { color: var(--faint); }
.form-status { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .04em; margin-top: 12px; min-height: 1.2em; }
.form-status.ok { color: #6fcf8e; }
.form-status.err { color: var(--ox-bright); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #0f0b09; border-top: 1px solid var(--line); position: relative; z-index: 1; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr 1.4fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 8vw, 84px); }
.foot-brand .fb-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.foot-brand .fb-head img { width: 44px; height: 44px; border-radius: 50%; }
.foot-brand .fb-head b { font-family: var(--f-disp); font-size: 1.1rem; letter-spacing: .04em; }
.foot-brand p { color: var(--muted); font-size: .92rem; max-width: 34ch; margin-bottom: 22px; }
.foot-social { display: flex; gap: 12px; }
.foot-social a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--bone-dim); transition: .3s var(--ease); }
.foot-social a:hover { border-color: var(--ox); color: var(--ox-bright); transform: translateY(-2px); }
.foot-col h4 { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; font-weight: 500; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.foot-col ul a { color: var(--bone-dim); font-size: .92rem; transition: color .3s; }
.foot-col ul a:hover { color: var(--ox-bright); }
.foot-loc .lname { font-family: var(--f-disp); font-weight: 600; font-size: 1rem; margin-bottom: 8px; }
.foot-loc address { font-style: normal; color: var(--muted); font-size: .9rem; line-height: 1.7; margin-bottom: 14px; }
.foot-loc .loc-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-loc .loc-actions a { font-family: var(--f-mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--line); padding: 8px 11px; border-radius: 2px; color: var(--bone-dim); transition: .3s; }
.foot-loc .loc-actions a.book { background: var(--ox); border-color: var(--ox); color: #fff; }
.foot-loc .loc-actions a:hover { border-color: var(--ox-bright); color: #fff; }
.foot-loc .loc-actions a.book:hover { background: var(--ox-bright); }
.news p { color: var(--muted); font-size: .9rem; margin-bottom: 16px; }
.news form { display: flex; flex-direction: column; gap: 10px; }
.news input { background: var(--bg-3); border: 1px solid var(--line); color: var(--bone); padding: 13px 15px; border-radius: 2px; font-family: var(--f-body); font-size: .9rem; }
.news input:focus { outline: none; border-color: var(--ox); }
.news button { width: 100%; justify-content: center; }
.news .form-status { margin-top: 4px; }

.foot-bottom { border-top: 1px solid var(--line); padding-block: 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.foot-bottom p { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--faint); }
.foot-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-bottom nav a { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--muted); transition: color .3s; }
.foot-bottom nav a:hover { color: var(--ox-bright); }

/* ============================================================
   FLOATING AFFORDANCES
   ============================================================ */
.floats { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: flex; flex-direction: column; gap: 12px; }
.float-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: rgba(27,21,18,.9); backdrop-filter: blur(10px); color: var(--bone); cursor: pointer; transition: .35s var(--ease); box-shadow: 0 12px 30px -12px rgba(0,0,0,.8); }
.float-btn:hover { transform: translateY(-3px); border-color: var(--ox); color: var(--ox-bright); }
.float-btn.msgr { background: var(--ox); border-color: var(--ox); color: #fff; }
.float-btn.msgr:hover { background: var(--ox-bright); color: #fff; }
#toTop { opacity: 0; visibility: hidden; transform: translateY(10px); }
#toTop.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* ============================================================
   MOTION - one orchestrated page-load reveal + scroll reveals
   ============================================================ */
@keyframes riseIn { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.rise { opacity: 0; animation: riseIn .9s var(--ease) forwards; animation-delay: var(--d, 0s); }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .rise, .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin-inline: auto; }
  .downstairs { display: none; }
  .story-grid, .svc-grid, .products-grid, .visit-grid { grid-template-columns: 1fr; }
  .svc-intro { position: static; }
  .team-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav-links, .nav-tel { display: none; }
  .burger { display: flex; }
  .nav-links.mobile-open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
    position: absolute; top: 78px; left: 0; right: 0;
    background: rgba(16,12,10,.97); backdrop-filter: blur(14px);
    padding: 22px var(--pad) 30px; border-bottom: 1px solid var(--line);
  }
  .nav-links.mobile-open a { font-size: 1rem; padding: 10px 0; width: 100%; border-bottom: 1px solid var(--line-2); }
  .hero { padding-top: 120px; }
  .hero h1 { font-size: clamp(2.8rem, 15vw, 5rem); }
  .hero-badge { left: 12px; }
  .gallery-grid { grid-auto-rows: 120px; gap: 10px; }
  .g1,.g2,.g3,.g4,.g5,.g6,.g7 { grid-column: span 6; grid-row: span 2; }
  .g1 { grid-column: span 12; grid-row: span 3; }
  .cform .frow { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
  .hero-meta { gap: 22px; }
}
