/* ============================================================
   Blossom Tree Flower Shop — Botanical Editorial
   Design system + layout. Mobile-first.
   ============================================================ */

:root {
  /* Palette (from research/brand-system.md) */
  --bg:        #FFFDFB;
  --surface:   #FFFFFF;
  --paper:     #FBF4F0;   /* warm tinted section surface */
  --text:      #241F22;
  --muted:     #6B6B72;
  --primary:   #D6486B;   /* hot pink */
  --primary-deep:#B23658;
  --secondary: #2E7D52;   /* deep green */
  --secondary-deep:#205A3A;
  --accent:    #F2B705;   /* gold */
  --border:    #ECDFE2;
  --ink:       #1A1620;   /* near-black footer / overlays */
  --focus:     #2E7D52;

  --maxw: 1240px;
  --gutter: clamp(18px, 5vw, 56px);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --shadow-sm: 0 1px 2px rgba(36,31,34,.05), 0 6px 18px rgba(36,31,34,.05);
  --shadow-md: 0 12px 36px rgba(36,31,34,.10);
  --shadow-lg: 0 24px 70px rgba(36,31,34,.18);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;

  --header-h: 68px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.04; letter-spacing: -0.01em; }

::selection { background: var(--primary); color: #fff; }

:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 3px;
}

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Shared bits ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--primary);
  display: inline-block;
}
.eyebrow.center::after {
  content: "";
  width: 22px; height: 1.5px;
  background: var(--primary);
  display: inline-block;
}

/* Botanical divider — signature motif (hairline with small marks) */
.botanical-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 4px 0;
}
.botanical-rule .line { height: 1px; background: var(--border); flex: 1; max-width: 160px; }
.botanical-rule .marks { display: inline-flex; align-items: center; gap: 7px; }
.botanical-rule .marks i {
  width: 5px; height: 5px; transform: rotate(45deg);
  background: var(--primary); display: block; opacity: .55;
}
.botanical-rule .marks i:nth-child(2){ width: 7px; height: 7px; opacity: 1; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(214,72,107,.28); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(214,72,107,.34); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--text); transform: translateY(-2px); }
.btn-green { background: var(--secondary); color: #fff; }
.btn-green:hover { background: var(--secondary-deep); transform: translateY(-2px); }

/* Section scaffolding */
section { position: relative; }
.section-pad { padding-block: clamp(56px, 9vw, 116px); }
.section-head { max-width: 640px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 { font-size: clamp(32px, 6vw, 56px); }
.section-head p { color: var(--muted); margin: 16px 0 0; font-size: 17px; }

/* ============================================================
   UTILITY MASTHEAD STRIP
   ============================================================ */
.masthead {
  background: var(--ink);
  color: rgba(255,255,255,.82);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.masthead .wrap { display: flex; align-items: center; justify-content: center; gap: 10px 26px; min-height: 38px; flex-wrap: wrap; padding-block: 8px; }
.masthead .m-item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.masthead .m-item .star { color: var(--accent); letter-spacing: 0; }
.masthead .m-sep { opacity: .3; }
.masthead a.m-item:hover { color: #fff; }
@media (max-width: 720px){
  .masthead .m-loc, .masthead .m-sep.s-loc { display: none; }
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,253,251,.86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 6px 24px rgba(36,31,34,.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 3px;
  object-fit: contain;
  box-shadow: var(--shadow-sm);
  flex: none;
}
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name .bn-main { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: .01em; }
.brand-name .bn-sub { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav-desktop { display: none; }
.nav-desktop ul { display: flex; align-items: center; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-desktop a { font-size: 14.5px; font-weight: 500; color: var(--text); position: relative; padding: 6px 0; }
.nav-desktop a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--primary); transition: width .22s ease;
}
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 100%; }

.header-cta { display: none; align-items: center; gap: 12px; }
.header-cta .phone-link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13.5px; font-weight: 500; }
.header-cta .phone-link svg { width: 16px; height: 16px; color: var(--secondary); }

.hamburger {
  display: inline-flex; flex-direction: column; gap: 5px; justify-content: center; align-items: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
}
.hamburger span { width: 19px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2){ opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 940px){
  .nav-desktop { display: block; }
  .header-cta { display: flex; }
  .hamburger { display: none; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 80;
  background: var(--bg);
  display: flex; flex-direction: column;
  padding: 22px var(--gutter) 32px;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .42s cubic-bezier(.4,0,.1,1), visibility .42s;
}
.mobile-drawer.open { transform: translateY(0); visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; }
.drawer-close { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); font-size: 22px; color: var(--text); display: grid; place-items: center; }
.drawer-nav { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.drawer-nav a {
  font-family: var(--font-display); font-size: 34px; font-weight: 600; padding: 12px 0;
  border-bottom: 1px solid var(--border); display: flex; align-items: baseline; justify-content: space-between;
}
.drawer-nav a span { font-family: var(--font-mono); font-size: 12px; color: var(--primary); letter-spacing: .1em; }
.drawer-foot { margin-top: auto; padding-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.drawer-foot .d-contact { font-family: var(--font-mono); font-size: 13px; color: var(--muted); line-height: 1.7; }
.drawer-foot .d-contact strong { color: var(--text); display:block; font-size:15px; }

/* ============================================================
   HERO — asymmetric editorial
   ============================================================ */
.hero { padding-top: clamp(26px, 5vw, 52px); padding-bottom: clamp(20px, 4vw, 40px); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: end; }

.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-title {
  font-size: clamp(48px, 13.5vw, 132px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.hero-title .it { font-style: italic; color: var(--primary); font-weight: 500; }
.hero-lead {
  margin: 24px 0 0;
  font-size: clamp(16px, 2.1vw, 19px);
  color: var(--muted);
  max-width: 30ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-media { position: relative; }
.hero-img-frame {
  position: relative; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
}
.hero-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-tag {
  position: absolute; left: 14px; bottom: 14px;
  background: rgba(26,22,32,.62);
  backdrop-filter: blur(6px);
  color: #fff; padding: 9px 15px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 9px;
}
.hero-tag .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* rating chip floating */
.hero-rating {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md);
  border-radius: 16px; padding: 13px 18px; margin-top: 26px;
}
.hero-rating .score { font-family: var(--font-display); font-size: 34px; font-weight: 600; line-height: 1; }
.hero-rating .stars { color: var(--accent); font-size: 14px; letter-spacing: 2px; }
.hero-rating .rtxt { font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.hero-rating .rtxt b { color: var(--text); font-weight: 600; }

@media (min-width: 860px){
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .hero-img-frame { aspect-ratio: 5/6; }
}

/* ============================================================
   FACTS / VISIT-CALL BAND
   ============================================================ */
.facts { background: var(--ink); color: #fff; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.1); border-radius: var(--r-md); overflow: hidden; }
.fact {
  background: var(--ink); padding: 24px 22px; min-height: 130px;
  display: flex; flex-direction: column; gap: 8px; justify-content: center;
}
.fact .f-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.fact .f-value { font-family: var(--font-display); font-size: clamp(20px, 3vw, 27px); font-weight: 600; line-height: 1.12; }
.fact .f-sub { font-size: 13px; color: rgba(255,255,255,.6); }
.fact.is-link:hover { background: #221c2b; }
.fact.is-link .f-value { color: #fff; }
.fact .arrow { font-size: 13px; color: rgba(255,255,255,.5); }
@media (min-width: 760px){ .facts-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============================================================
   OCCASIONS
   ============================================================ */
.occasions { background: var(--bg); }
.occasions .section-head { margin-bottom: 40px; }
.occ-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.occ-card {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  display: flex; flex-direction: column; min-height: 340px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.occ-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.occ-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.occ-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.6,.2,1); }
.occ-card:hover .occ-media img { transform: scale(1.06); }
.occ-num { position: absolute; top: 12px; left: 14px; font-family: var(--font-mono); font-size: 11px; color: #fff; background: rgba(26,22,32,.55); backdrop-filter: blur(4px); padding: 5px 10px; border-radius: 999px; letter-spacing: .08em; }
.occ-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.occ-body h3 { font-size: 25px; }
.occ-body p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.occ-body .occ-link { margin-top: auto; padding-top: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.occ-card:hover .occ-link { gap: 12px; }
@media (min-width: 620px){ .occ-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px){ .occ-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   SIGNATURE FULL-BLEED BAND
   ============================================================ */
.signature { position: relative; min-height: 420px; display: grid; align-items: center; overflow: hidden; }
.signature img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.signature .scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(26,22,32,.78) 0%, rgba(26,22,32,.5) 45%, rgba(26,22,32,.15) 100%); }
@media (max-width: 700px){ .signature .scrim { background: linear-gradient(180deg, rgba(26,22,32,.45) 0%, rgba(26,22,32,.8) 100%); } }
.signature .wrap { position: relative; z-index: 2; }
.signature .sig-inner { max-width: 600px; color: #fff; padding-block: 64px; }
.signature .eyebrow { color: #fff; }
.signature .eyebrow::before { background: var(--accent); }
.signature h2 { font-size: clamp(30px, 5.4vw, 52px); margin: 18px 0 16px; }
.signature h2 em { font-style: italic; color: var(--accent); }
.signature p { color: rgba(255,255,255,.82); font-size: 17px; max-width: 46ch; }
.signature .sig-actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery { background: var(--paper); }
.gallery-head { display: flex; flex-direction: column; gap: 22px; margin-bottom: 30px; }
.filters { display: flex; flex-wrap: wrap; gap: 9px; }
.filter-chip {
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500;
  padding: 9px 17px; border-radius: 999px; border: 1.5px solid var(--border); background: transparent; color: var(--text);
  transition: all .18s ease; min-height: 40px;
}
.filter-chip:hover { border-color: var(--text); }
.filter-chip.active { background: var(--text); border-color: var(--text); color: #fff; }

.masonry { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; grid-auto-flow: dense; }
.g-item {
  position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--border);
  cursor: pointer; aspect-ratio: 1/1;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.g-item:hover img { transform: scale(1.05); }
.g-item .g-cap {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px;
  background: linear-gradient(180deg, transparent 55%, rgba(26,22,32,.66)); opacity: 0; transition: opacity .25s ease;
}
.g-item:hover .g-cap, .g-item:focus-visible .g-cap { opacity: 1; }
.g-item .g-cap span { color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.g-item.tall { grid-row: span 2; aspect-ratio: 1/2; }
.g-item.wide { grid-column: span 2; aspect-ratio: 2/1; }
.g-item.hidden { display: none; }
@media (min-width: 720px){
  .masonry { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}

/* ============================================================
   STORY / ABOUT
   ============================================================ */
.story { background: var(--bg); }
.story-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.story-copy h2 { font-size: clamp(30px, 5.2vw, 50px); margin: 16px 0 0; }
.story-copy h2 em { font-style: italic; color: var(--primary); }
.story-copy .lede { font-size: 18px; color: var(--text); margin: 22px 0 0; }
.story-copy p { color: var(--muted); margin: 16px 0 0; }
.story-stats { display: flex; gap: 30px; margin-top: 30px; flex-wrap: wrap; }
.story-stats .st b { font-family: var(--font-display); font-size: 38px; font-weight: 600; color: var(--primary); display: block; line-height: 1; }
.story-stats .st span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.story-media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 14px; }
.story-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-md); }
.story-media .sm-1 { grid-column: 1 / 2; grid-row: 1 / 3; aspect-ratio: 3/5; }
.story-media .sm-2 { aspect-ratio: 1/1; }
.story-media .sm-3 { aspect-ratio: 1/1; }
@media (min-width: 920px){
  .story-grid { grid-template-columns: 1fr 1.02fr; gap: 56px; }
}

/* ============================================================
   EVENTS BAND
   ============================================================ */
.events { background: var(--secondary-deep); color: #fff; overflow: hidden; }
.events-grid { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.events .eyebrow { color: #fff; }
.events .eyebrow::before { background: var(--accent); }
.events h2 { font-size: clamp(30px, 5.2vw, 50px); margin: 18px 0 0; }
.events h2 em { font-style: italic; color: var(--accent); }
.events p { color: rgba(255,255,255,.82); margin: 18px 0 0; max-width: 46ch; }
.events-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 0; }
.events-list li { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.16); font-size: 16px; }
.events-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.events-list li .ix { font-family: var(--font-mono); font-size: 12px; color: var(--accent); }
.events-actions { margin-top: 28px; }
.events-media { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4/3; }
.events-media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 920px){
  .events-grid { grid-template-columns: 1fr 0.9fr; gap: 56px; }
  .events-media { aspect-ratio: 3/4; }
}

/* ============================================================
   CONTACT CONSOLE
   ============================================================ */
.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 960px){ .contact-grid { grid-template-columns: 0.95fr 1.05fr; gap: 40px; align-items: start; } }

/* quick action tiles */
.console-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.tile {
  display: flex; flex-direction: column; gap: 6px; justify-content: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 18px; min-height: 104px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: transparent; }
.tile .t-ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.tile .t-ic svg { width: 18px; height: 18px; }
.tile.call .t-ic { background: var(--secondary); }
.tile.enquire .t-ic { background: var(--primary); }
.tile.directions .t-ic { background: var(--ink); }
.tile.hours .t-ic { background: var(--accent); color: var(--ink); }
.tile .t-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tile .t-value { font-size: 15px; font-weight: 600; line-height: 1.3; }
.tile .t-value.mono { font-family: var(--font-mono); font-size: 14px; }
.console-info { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px; }
.console-info .ci-row { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--border); }
.console-info .ci-row:last-child { border-bottom: 0; padding-bottom: 0; }
.console-info .ci-row:first-child { padding-top: 0; }
.console-info .ci-ic { color: var(--secondary); flex: none; margin-top: 2px; }
.console-info .ci-ic svg { width: 19px; height: 19px; }
.console-info .ci-k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.console-info .ci-v { font-size: 15px; line-height: 1.5; }
.console-info .ci-v.mono { font-family: var(--font-mono); }

.map-card {
  margin-top: 14px; border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(46,125,82,.05) 0 14px, transparent 14px 28px),
    var(--surface);
  min-height: 168px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  text-align: center; padding: 22px; position: relative;
}
.map-card .map-pin { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); color:#fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(214,72,107,.32); }
.map-card .map-pin svg { width: 22px; height: 22px; }
.map-card .map-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.map-card .map-addr { font-size: 14px; max-width: 30ch; color: var(--text); }

/* form */
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 36px); box-shadow: var(--shadow-sm); }
.form-card h3 { font-size: 28px; }
.form-card .fc-sub { color: var(--muted); font-size: 14.5px; margin: 8px 0 24px; }
.form-row { display: grid; grid-template-columns: 1fr; gap: 16px; margin-bottom: 16px; }
@media (min-width: 560px){ .form-row.two { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field label .req { color: var(--primary); }
.field input, .field select, .field textarea {
  font-family: var(--font-body); font-size: 15.5px; color: var(--text);
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 11px;
  padding: 13px 15px; width: 100%; transition: border-color .18s ease, box-shadow .18s ease;
  min-height: 50px;
}
.field textarea { min-height: 116px; resize: vertical; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(46,125,82,.13); }
.field input.invalid, .field select.invalid, .field textarea.invalid { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(214,72,107,.13); }
.field .err { font-size: 12px; color: var(--primary-deep); display: none; }
.field .err.show { display: block; }

/* contact method segmented */
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg label {
  flex: 1; min-width: 92px; text-align: center; padding: 11px 8px; border: 1.5px solid var(--border); border-radius: 10px;
  font-family: var(--font-body); font-size: 13.5px; font-weight: 500; cursor: pointer; transition: all .16s ease; text-transform: none; letter-spacing: 0; color: var(--text);
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + label { background: var(--secondary); border-color: var(--secondary); color: #fff; }
.seg label:hover { border-color: var(--text); }

.form-submit { width: 100%; margin-top: 8px; }
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* success state */
.form-success { display: none; text-align: center; padding: 24px 8px; }
.form-success.show { display: block; animation: pop .4s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }
.form-success .fs-check { width: 64px; height: 64px; border-radius: 50%; background: var(--secondary); color: #fff; display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .fs-check svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 28px; margin-bottom: 10px; }
.form-success p { color: var(--muted); margin: 0 auto 20px; max-width: 38ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding-top: clamp(48px, 7vw, 78px); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 38px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand .brand-name .bn-main { color: #fff; }
.footer-brand .brand-name .bn-sub { color: rgba(255,255,255,.55); }
.footer-brand .fb-desc { margin: 20px 0 0; font-size: 14.5px; max-width: 34ch; line-height: 1.65; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.footer-col h4 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; font-weight: 500; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.footer-col a, .footer-col li { font-size: 14.5px; color: rgba(255,255,255,.72); }
.footer-col a:hover { color: #fff; }
.footer-col .mono { font-family: var(--font-mono); font-size: 13.5px; }
.footer-bottom { display: flex; flex-direction: column; gap: 8px; padding: 22px 0 34px; font-size: 12.5px; color: rgba(255,255,255,.45); }
.footer-bottom .fb-disc { max-width: 70ch; line-height: 1.6; }
@media (min-width: 760px){
  .footer-top { grid-template-columns: 1.3fr 1.7fr; gap: 54px; }
  .footer-cols { grid-template-columns: repeat(3, 1fr); }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ============================================================
   MOBILE BOTTOM ACTION BAR
   ============================================================ */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: rgba(255,253,251,.92); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(36,31,34,.08);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 11px 6px 10px; min-height: 60px; font-size: 11px; font-weight: 600; color: var(--text);
  border-right: 1px solid var(--border);
}
.action-bar a:last-child { border-right: 0; }
.action-bar a svg { width: 21px; height: 21px; }
.action-bar a.ab-enquire { color: var(--primary); }
.action-bar a.ab-call { color: var(--secondary); }
body { padding-bottom: 0; }
@media (max-width: 860px){ body.has-bar { padding-bottom: 64px; } }
@media (min-width: 861px){ .action-bar { display: none; } }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(20,16,24,.92);
  display: none; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; transition: opacity .25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: min(92vw, 880px); max-height: 84vh; border-radius: var(--r-md); box-shadow: var(--shadow-lg); object-fit: contain; }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff;
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; transition: background .18s ease;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 560px){ .lb-prev, .lb-next { width: 42px; height: 42px; } .lb-prev { left: 8px; } .lb-next { right: 8px; } }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference){
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.6,.2,1); }
  .reveal.in { opacity: 1; transform: none; }
  .reveal.d1 { transition-delay: .08s; }
  .reveal.d2 { transition-delay: .16s; }
  .reveal.d3 { transition-delay: .24s; }
}

/* BytesGlue QA map patch */
.bg-map-embed{display:block!important;position:relative!important;width:100%!important;min-height:240px!important;border-radius:12px!important;overflow:hidden!important;background:#e9edf1!important;box-shadow:0 0 0 1px rgba(0,0,0,.08) inset!important}
.bg-map-embed iframe{display:block!important;width:100%!important;min-height:260px!important;border:0!important}
.bg-map-embed + .bg-map-embed,
.bg-map-embed + .pin,
.bg-map-embed + .lbl,
.bg-map-embed + .corner-note,
.bg-map-embed + .placeholder,
.bg-map-embed + .center,
.bg-map-embed + [class*="map-note"],
.bg-map-embed + [class*="map-tag"]{display:none!important}
.map .placeholder .pin,.map-ph .pin,.map-pin,.map-marker,.map-ph__pin,.map-ph__pin .dot,.map-ph__pin .pin,.map-ph .mi{max-width:18px!important;max-height:18px!important;width:18px!important;height:18px!important;box-shadow:none!important}
.map .placeholder .pin svg,.map-ph .pin svg,.map-pin svg,.map-marker svg,.map-ph__pin svg,.map-ph .mi{width:12px!important;height:12px!important}
.map-note,.map-tag,[class*="map-note"],[class*="map-tag"]{display:none!important}
