/* ============================================================
   Best Friends Club, Leith, Edinburgh
   Bespoke brand build for a collectively run, appointment only
   tattoo studio. Their own world is warm, bright, queer friendly
   and playful, with a hand drawn club badge feel and their little
   chicken and sprig motifs. So the look is a friendly clubhouse:
   warm paper cream, a cherry clubhouse red, deep pine green, a
   sunny marigold and a soft sky accent. Wobbly hand drawn squiggle
   dividers and sticker style badges stand in for a checkerboard or
   a cold goth cliche. It should feel nothing like a chain studio.
   ============================================================ */

:root {
  --paper:       #FBF3E6;   /* warm cream page base */
  --paper-deep:  #F4E7D1;   /* alt bands */
  --cherry:      #D94436;   /* friendly clubhouse red */
  --cherry-deep: #B23325;   /* hovers */
  --cherry-soft: #F3CDBF;   /* tints, chips */
  --pine:        #274A38;   /* deep green anchor */
  --pine-deep:   #1C3628;   /* footer, dark bands */
  --pine-soft:   #4C6B57;   /* secondary body text */
  --marigold:    #F2A93B;   /* sunny pop */
  --marigold-soft:#FBE3B4;  /* soft marigold tint */
  --sky:         #7FA8C9;   /* soft sky accent */
  --sky-soft:    #D5E4EE;   /* sky tint */
  --ink:         #23261F;   /* headings on cream */
  --white:       #FFFCF6;

  --line:        rgba(39, 74, 56, .18);
  --line-soft:   rgba(39, 74, 56, .10);

  --font-head: "Bricolage Grotesque", "Segoe UI", sans-serif;
  --font-body: "Mulish", "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 18px 42px rgba(28, 54, 40, .16);
  --shadow-soft: 0 10px 24px rgba(28, 54, 40, .10);
  --wrap: 1140px;

  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='24' viewBox='0 0 120 24'%3E%3Cpath d='M0 13 q 15 -10 30 0 t 30 0 t 30 0 t 30 0' fill='none' stroke='%23D94436' stroke-width='3.4' stroke-linecap='round'/%3E%3C/svg%3E");
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--pine-soft);
  background: var(--paper);
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--cherry-deep); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.8vw, 2.55rem); }
h3 { font-size: 1.28rem; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--paper); padding: 10px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Honest demo banner */
.demo-ribbon {
  background: var(--pine-deep); color: #EDE6D2;
  font-size: .82rem; text-align: center; padding: 7px 14px; letter-spacing: .02em;
}
.demo-ribbon strong { color: var(--marigold); }

/* ---------- hand drawn squiggle + sticker motifs (theirs) ---------- */
.squiggle {
  height: 24px;
  background: var(--wave) repeat-x;
  background-size: 120px 24px;
  opacity: .9;
}
.squiggle.tight { height: 18px; background-size: 90px 18px; }

.sticker {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--marigold-soft); color: var(--pine-deep);
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 15px; border-radius: 999px; border: 2px solid var(--marigold);
  transform: rotate(-2deg);
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 243, 230, .95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 12px 22px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; }
.brand .brand-badge { width: 52px; height: 52px; flex: none; }
.brand-name { font-family: var(--font-head); color: var(--ink); font-weight: 800; font-size: 1.05rem; line-height: 1.02; letter-spacing: -.01em; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 800; color: var(--cherry); font-size: .64rem; letter-spacing: .24em; text-transform: uppercase; margin-top: 2px; }

.site-nav ul { display: flex; gap: 24px; list-style: none; align-items: center; }
.site-nav a { text-decoration: none; color: var(--pine); font-weight: 700; font-size: .97rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cherry); }
.site-nav .nav-cta {
  background: var(--cherry); color: var(--white); padding: 10px 20px; border-radius: 999px;
}
.site-nav .nav-cta:hover { background: var(--cherry-deep); color: var(--white); }

.nav-toggle { display: none; background: none; border: 2px solid var(--pine); border-radius: 8px; padding: 7px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--pine); margin: 4px 0; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-soft); }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 10px 0; }
  .site-nav li { width: 100%; text-align: center; }
  .site-nav a { display: block; padding: 13px 0; }
  .site-nav .nav-cta { margin: 10px auto; display: inline-block; }
}

/* ---------- hero ---------- */
/* Bright clubhouse stage: warm cream washed with marigold and sky
   glow, a faithful hand drawn club badge as the centrepiece. Only
   the ring text turns; the badge gives a gentle friendly breathe.
   Swap the .hero-emblem block for a full bleed video at go live. */
.hero { position: relative; color: var(--ink); overflow: hidden;
  background: radial-gradient(120% 120% at 50% 12%, var(--sky-soft) 0%, var(--paper) 52%); }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background:
    radial-gradient(38% 30% at 12% 82%, rgba(242,169,59,.35) 0%, rgba(242,169,59,0) 70%),
    radial-gradient(34% 28% at 88% 24%, rgba(217,68,54,.20) 0%, rgba(217,68,54,0) 70%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; padding: clamp(40px, 7vw, 74px) 22px clamp(30px, 5vw, 54px); }
.hero-emblem { position: relative; display: flex; justify-content: center; margin: 0 auto 22px; }
.hero-emblem svg { width: clamp(210px, 30vw, 288px); height: auto; animation: bfc-breathe 7s ease-in-out infinite; }
.hero-emblem .ring-text { animation: bfc-spin 60s linear infinite; transform-origin: 130px 130px; }
@keyframes bfc-breathe { 0%, 100% { transform: rotate(-1.5deg) scale(1); } 50% { transform: rotate(1.5deg) scale(1.03); } }
@keyframes bfc-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) { .hero-emblem svg { width: min(66vw, 300px); } }

.hero-kicker { font-family: var(--font-head); font-weight: 700; letter-spacing: .26em; text-transform: uppercase; font-size: .78rem; color: var(--cherry); }
.hero h1 { color: var(--ink); margin: 12px auto 16px; max-width: 830px; }
.hero h1 em { font-style: normal; color: var(--cherry); }
.hero p.lead { max-width: 600px; margin: 0 auto 28px; color: var(--pine-soft); font-size: 1.12rem; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; font-family: var(--font-head); font-weight: 700; letter-spacing: .01em;
  padding: 14px 30px; border-radius: 999px; transition: transform .15s ease, background .15s ease;
  cursor: pointer; border: none; font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-cherry { background: var(--cherry); color: var(--white); }
.btn-cherry:hover { background: var(--cherry-deep); color: var(--white); }
.btn-pine { background: var(--pine); color: var(--white); }
.btn-pine:hover { background: var(--pine-deep); }
.btn-ghost { border: 2px solid var(--pine); color: var(--pine); padding: 12px 28px; }
.btn-ghost:hover { background: var(--pine); color: var(--white); }

.hero-stats { position: relative; z-index: 2; display: flex; justify-content: center; gap: clamp(18px, 5vw, 58px); flex-wrap: wrap; padding: 0 22px clamp(40px, 6vw, 60px); }
.hero-stat { text-align: center; }
.hero-stat b { display: block; font-family: var(--font-head); font-size: 1.55rem; font-weight: 800; color: var(--pine); }
.hero-stat span { font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--pine-soft); }

/* ---------- sections ---------- */
section { padding: clamp(54px, 8vw, 92px) 0; }
.section-head { text-align: center; max-width: 660px; margin: 0 auto 44px; }
.section-head .eyebrow { font-family: var(--font-head); font-weight: 700; letter-spacing: .24em; text-transform: uppercase; font-size: .76rem; color: var(--cherry); }
.section-head h2 { margin-top: 10px; }
.section-head p { margin-top: 12px; }

.band-paper-deep { background: var(--paper-deep); }
.band-pine { background: var(--pine-deep); }
.band-pine h2, .band-pine h3, .band-pine h4 { color: var(--white); }
.band-pine p { color: #D6E0D2; }
.band-pine .eyebrow { color: var(--marigold); }

/* split */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 62px); align-items: center; }
.split.flip .split-media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip .split-media { order: 0; } }

.tick-list { list-style: none; margin-top: 18px; }
.tick-list li { padding: 8px 0 8px 34px; position: relative; }
.tick-list li::before {
  content: ""; position: absolute; left: 0; top: 12px; width: 17px; height: 17px;
  background: var(--marigold); border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--paper);
  border: 2px solid var(--cherry);
}

/* ---------- image slots (photos land at launch) ---------- */
.slot {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(45deg, var(--paper-deep) 0 12px, #EFE0C6 12px 24px);
  border: 2px dashed var(--cherry); min-height: 220px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  color: var(--pine); padding: 22px;
}
.slot .slot-label { max-width: 260px; }
.slot .slot-label b { display: block; font-family: var(--font-head); font-weight: 800; color: var(--ink); font-size: 1.02rem; }
.slot .slot-label span { display: block; font-size: .82rem; color: var(--pine-soft); margin-top: 6px; letter-spacing: .02em; }
.slot .slot-label i { display: inline-block; margin-bottom: 10px; font-size: 1.6rem; font-style: normal; }
.slot.tall { min-height: 320px; }
.slot.hero-slot { min-height: clamp(280px, 40vw, 440px); border-width: 3px; }
.split-media { border-radius: var(--radius); }

/* ---------- artist cards ---------- */
.artist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 720px) { .artist-grid { grid-template-columns: 1fr; } }

.artist-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line-soft);
  display: flex; flex-direction: column;
}
.artist-card .slot { border-radius: 0; border-left: none; border-right: none; border-top: none; min-height: 210px; }
.artist-card .artist-body { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.artist-card h3 { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.artist-card .handle { font-family: var(--font-body); font-weight: 800; font-size: .85rem; color: var(--cherry); }
.artist-card .tags { display: flex; gap: 7px; flex-wrap: wrap; margin: 2px 0 4px; }
.artist-card .tag {
  background: var(--sky-soft); color: var(--pine-deep); font-size: .72rem; font-weight: 800;
  letter-spacing: .04em; padding: 3px 11px; border-radius: 999px;
}
.artist-card p { font-size: .97rem; }
.artist-links { margin-top: auto; padding-top: 14px; display: flex; gap: 16px; flex-wrap: wrap; font-size: .92rem; font-weight: 800; font-family: var(--font-head); }
.artist-links a { color: var(--pine); }
.artist-links a:hover { color: var(--cherry); }
.owner-tag { background: var(--cherry); color: var(--white); font-family: var(--font-body); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; align-self: flex-start; }

/* ---------- style / work grid ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .work-grid { grid-template-columns: 1fr; } }

.style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .style-grid { grid-template-columns: 1fr; } }
.style-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 26px;
  box-shadow: var(--shadow-soft); border-top: 6px solid var(--marigold);
}
.style-card:nth-child(2) { border-top-color: var(--cherry); }
.style-card:nth-child(3) { border-top-color: var(--sky); }
.style-card h3 { margin-bottom: 10px; }
.style-card p { font-size: .98rem; }

/* ---------- reviews / testimonials ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; } }
.review-card {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px 26px;
  box-shadow: var(--shadow-soft); position: relative; border: 1px solid var(--line-soft);
}
.review-card::before {
  content: "\201C"; font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; color: var(--cherry-soft);
  position: absolute; top: 10px; left: 22px; line-height: 1;
}
.review-card blockquote { margin-top: 24px; font-size: .99rem; color: var(--pine-soft); }
.review-card cite { display: block; margin-top: 14px; font-style: normal; font-weight: 800; color: var(--ink); font-size: .92rem; }
.review-card cite span { display: block; font-weight: 600; font-size: .8rem; color: var(--pine-soft); }
.review-stars { color: var(--marigold); letter-spacing: 2px; margin-top: 4px; font-size: .95rem; }

/* ---------- visit ---------- */
.visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 52px); }
@media (max-width: 860px) { .visit-grid { grid-template-columns: 1fr; } }
.info-card { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-soft); border: 1px solid var(--line-soft); }
.info-card h3 { margin-bottom: 12px; }
.info-card + .info-card { margin-top: 22px; }
.info-card ul { list-style: none; }
.info-card li { padding: 8px 0; border-bottom: 1px solid var(--line-soft); }
.info-card li:last-child { border-bottom: none; }
.info-card li b { color: var(--ink); }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); }

/* how to book steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--white); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow-soft); border: 1px solid var(--line-soft); position: relative;
}
.step .step-n {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border-radius: 50%; background: var(--cherry); color: var(--white);
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .96rem; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  background: var(--white); border-radius: var(--radius-sm); margin-bottom: 12px;
  box-shadow: var(--shadow-soft); overflow: hidden; border: 1px solid var(--line-soft);
}
.faq summary { cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; color: var(--ink); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; font-family: var(--font-head); color: var(--cherry); font-size: 1.3rem; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 22px 18px; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .btn { margin-top: 22px; }

/* ---------- footer ---------- */
.site-footer { background: var(--pine-deep); color: #C7D1C4; padding: 54px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 34px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--marigold); font-size: .95rem; margin-bottom: 12px; }
.site-footer a { color: #E4DCC6; text-decoration: none; }
.site-footer a:hover { color: var(--marigold); }
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.footer-bottom { border-top: 1px solid rgba(237, 230, 210, .15); margin-top: 38px; padding-top: 20px; font-size: .82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--marigold); }

/* page hero (inner pages) */
.page-hero { background: var(--pine-deep); text-align: center; padding: clamp(58px, 9vw, 104px) 22px; position: relative; overflow: hidden; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: #D6E0D2; max-width: 640px; margin: 12px auto 0; }
.page-hero .eyebrow { font-family: var(--font-head); font-weight: 700; letter-spacing: .28em; text-transform: uppercase; font-size: .76rem; color: var(--marigold); }

/* small helpers */
.center { text-align: center; }
.mt-30 { margin-top: 30px; }
.lead-tight { max-width: 560px; margin: 12px auto 0; }
.prose p + p { margin-top: 16px; }
.prose h3 { margin: 26px 0 8px; }
