/* Trimsalon Joyce · colours from her salon: tile white, the cobalt grooming table, coral leash, logo ink */
@font-face { font-family: "Bricolage Grotesque"; src: url(fonts/bricolage-grotesque.woff2) format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/figtree-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #fbfaf7;
  --tint: #f2f0ea;
  --card: #ffffff;
  --ink: #16182b;
  --ink-2: #545769;
  --line: #e3e0d7;
  --blue: #2341b5;
  --blue-d: #182f86;
  --blue-soft: #e9edfb;
  --coral: #e5533d;
  --coral-soft: #fdeae6;
  --teal: #11909f;
  --ok: #2e7d4f;
  --shut: #a7433a;
  --r: 18px;
  --head: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body: "Figtree", "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--head); line-height: 1.08; margin: 0; letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 12px; }
.small { font-size: 14px; color: var(--ink-2); }
button { font: inherit; color: inherit; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 22px;
  border-radius: 999px; border: 2px solid var(--blue); background: var(--blue); color: #fff; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: background .2s, transform .2s; }
.btn:hover { background: var(--blue-d); border-color: var(--blue-d); }
.btn:active { transform: scale(.98); }
.btn-line { background: transparent; color: var(--blue); }
.btn-line:hover { background: var(--blue-soft); color: var(--blue-d); }
.btn-small { min-height: 42px; padding: 8px 16px; font-size: 15px; }
.btn-big { min-height: 58px; font-size: 19px; width: 100%; max-width: 380px; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 22px; padding: 10px clamp(16px, 4vw, 48px);
  background: rgba(251, 250, 247, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 800 21px var(--head); }
.brand img { width: 44px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; }
.nav a:hover { color: var(--blue); }

/* hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 70px); align-items: center;
  max-width: 1180px; margin: 0 auto; padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.hero h1 { font-size: clamp(40px, 6.2vw, 72px); font-weight: 800; }
.lead { font-size: clamp(18px, 1.8vw, 21px); color: var(--ink-2); margin: 20px 0 22px; max-width: 34em; }
.lead strong { color: var(--ink); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-photo { margin: 0; position: relative; }
.hero-photo svg { width: 100%; max-width: 520px; display: block; margin: 0 auto; overflow: visible; }
.fur-shadow { fill: var(--blue); transform: translate(2.2px, 2.4px); }
.fur-line { fill: none; stroke: var(--ink); stroke-width: .7; stroke-linejoin: round; }

/* Google badge */
.g-badge { display: inline-flex; align-items: center; gap: 9px; padding: 9px 16px 9px 12px; border: 1.5px solid var(--line);
  border-radius: 999px; background: var(--card); color: var(--ink); text-decoration: none; font-size: 15px; }
.g-badge b { font: 800 20px var(--head); }
.g-count { color: var(--ink-2); }
.stars { --s: 18px; position: relative; display: inline-block; width: calc(var(--s) * 5); height: var(--s);
  background: linear-gradient(90deg, #fbbc04 var(--fill), #d9d6cc var(--fill));
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") left/var(--s) var(--s) repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z'/%3E%3C/svg%3E") left/var(--s) var(--s) repeat-x; }
.stars-s { --s: 14px; }

/* sections */
.sec { padding: clamp(56px, 8vw, 96px) clamp(16px, 4vw, 48px); border-top: 1px solid var(--line); }
.sec > * { max-width: 1180px; margin-left: auto; margin-right: auto; }
.sec-tint { background: var(--tint); }
.sec-head { margin-bottom: 30px; }
.sec-head h2 { position: relative; display: inline-block; padding-bottom: 10px; }
.sec-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 86px; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 9'%3E%3Cpath d='M2 6c9-4 15 2 24-1s14-4 22-1 15 3 22 0 9-3 14-2' fill='none' stroke='%23e5533d' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.sec-head p { color: var(--ink-2); font-size: 18px; max-width: 40em; margin-top: 12px; }
.sec-head p strong { color: var(--ink); }

/* steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { position: relative; }
.steps img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); margin-bottom: 14px; }
.steps .n { position: absolute; top: 10px; left: 10px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); color: var(--ink); font: 800 18px var(--head); border: 2px solid var(--ink); }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--ink-2); font-size: 16px; }
.ages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 30px; }
.age { background: var(--blue-soft); border-radius: var(--r); padding: 22px 24px; }
.age h3 { color: var(--blue-d); margin-bottom: 8px; }
.age p { margin: 0; color: var(--ink-2); }
.age em { display: block; margin-top: 8px; color: var(--ink); }

/* price guide */
.guide { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px 36px; background: var(--card);
  border-radius: 24px; padding: clamp(20px, 3vw, 34px); border: 1.5px solid var(--line); }
.guide fieldset { border: 0; padding: 0; margin: 0 0 18px; grid-column: 1; }
.guide legend { font: 700 19px var(--head); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.q { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button { border: 1.5px solid var(--line); background: var(--bg); border-radius: 14px; padding: 10px 14px; cursor: pointer;
  font-weight: 600; text-align: left; line-height: 1.2; min-height: 46px; transition: border-color .15s, background .15s; }
.chips button small { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; margin-top: 2px; }
.chips button:hover { border-color: var(--blue); }
.chips button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.chips button[aria-pressed="true"] small { color: #dfe5ff; }
.result { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; background: var(--blue); color: #fff; border-radius: 20px;
  padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.result .r-label { margin: 0; opacity: .8; font-weight: 600; }
.r-time { font: 800 clamp(34px, 4vw, 46px) var(--head); margin: 2px 0 0; }
.r-price { font: 800 26px var(--head); color: #ffd7cf; margin: 0 0 14px; }
.r-note { font-size: 14px; opacity: .85; }
.r-big { font: 700 22px/1.25 var(--head); }
.result .btn { background: #fff; color: var(--blue-d); border-color: #fff; margin-top: 6px; }
.result .btn:hover { background: var(--coral-soft); }
.result .btn-line { background: transparent; color: #fff; }
.result-no { display: none; }
.guide.too-big .result { background: var(--ink); }
.guide.too-big .result-ok { display: none; }
.guide.too-big .result-no { display: block; }

/* before / after + grid */
.ba { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; margin-bottom: 26px; }
.ba figure { margin: 0; position: relative; }
.ba img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.ba figcaption { position: absolute; left: 12px; bottom: 12px; background: var(--bg); color: var(--ink); border-radius: 999px;
  padding: 4px 12px; font: 700 15px var(--head); }
.ba-arrow { color: var(--coral); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tile { border: 0; padding: 0; background: none; cursor: zoom-in; border-radius: 14px; overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .35s; }
.tile:hover img { transform: scale(1.04); }
.grid:not(.all) .more-only { display: none; }
.show-all { margin: 20px auto 0; display: flex; }
.grid.all + .show-all { display: none; }

/* tips */
.tips { display: grid; gap: 10px; max-width: 820px !important; margin-left: 0 !important; }
.tips details { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; padding: 0 20px; }
.tips summary { list-style: none; cursor: pointer; padding: 17px 0; font: 700 19px var(--head); display: flex; align-items: center; gap: 12px; }
.tips summary::-webkit-details-marker { display: none; }
.tips summary::before { content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--coral-soft)
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%23e5533d' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/16px no-repeat; transition: transform .2s; }
.tips details[open] summary::before { transform: rotate(45deg); }
.tips details p { color: var(--ink-2); padding: 0 0 18px 38px; margin: 0; }

/* about + reviews */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.about-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 26px; }
.about-text h2 { margin-bottom: 18px; }
.about-text > p { color: var(--ink-2); font-size: 18px; }
.quotes { position: relative; margin-top: 26px; padding-top: 22px; border-top: 1.5px solid var(--line); min-height: 140px; }
.quotes blockquote { margin: 0; display: none; }
.quotes blockquote.on { display: block; animation: fade .4s ease; }
.quotes p { font: 600 clamp(21px, 2.3vw, 26px)/1.3 var(--head); color: var(--ink); margin-bottom: 10px; }
.quotes cite { font-style: normal; color: var(--ink-2); font-size: 15px; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.quote-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 16px; }
.quote-nav button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--card); cursor: pointer; font-size: 22px; line-height: 1; }
.quote-nav button:hover { border-color: var(--blue); color: var(--blue); }
#qCount { font-size: 14px; color: var(--ink-2); min-width: 40px; text-align: center; }
.g-line { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-2); text-decoration: none; margin-left: auto; }
.g-line b { color: var(--ink); }
.g-line:hover { color: var(--blue); }

/* visit */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); }
.addr { margin: 18px 0 18px; }
.addr strong { display: block; font: 800 clamp(30px, 3.6vw, 40px)/1.1 var(--head); }
.addr span { font-size: 20px; color: var(--ink-2); }
.contact { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 8px; }
.contact a { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; text-decoration: none; }
.contact svg { color: var(--blue); }
.phone-note { font-size: 15px; color: var(--ink-2); max-width: 32em; }
.hours { margin-top: 22px; background: var(--card); border-radius: var(--r); padding: 18px 22px; border: 1.5px solid var(--line); max-width: 420px; }
.open-now { display: flex; align-items: center; gap: 8px; font-weight: 700; margin-bottom: 10px; }
.open-now .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-2); }
.open-now.is-open .dot { background: var(--ok); box-shadow: 0 0 0 4px #d9efe1; }
.open-now.is-open { color: var(--ok); }
.open-now.is-shut { color: var(--shut); }
.open-now.is-shut .dot { background: var(--shut); }
.hours table { width: 100%; border-collapse: collapse; font-size: 16px; }
.hours th { text-align: left; font-weight: 400; padding: 5px 0; }
.hours td { text-align: right; padding: 5px 0; }
.hours tr.today { font-weight: 700; }
.hours tr.today th::before { content: "› "; color: var(--coral); }
.hours .small { margin: 10px 0 0; }
.visit-side { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-content: start; }
.map { display: block; border-radius: var(--r); overflow: hidden; border: 1.5px solid var(--line); grid-column: 1 / -1; }
.map img { width: 100%; }
.door { margin: 0; grid-column: 1 / -1; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; align-items: center; }
.door img { width: 120px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.door figcaption { font-size: 16px; color: var(--ink-2); }

/* footer */
.foot { text-align: center; padding: 48px 16px 110px; border-top: 1px solid var(--line); }
.foot img { margin: 0 auto 12px; width: 64px; }
.foot a { color: var(--ink); }

/* ask Joyce */
.ask { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px;
  border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 8px 24px rgba(22, 24, 43, .25); }
.ask img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ask-panel { position: fixed; right: 18px; bottom: 82px; z-index: 31; width: min(360px, calc(100vw - 32px)); background: var(--card);
  border-radius: 20px; box-shadow: 0 18px 50px rgba(22, 24, 43, .25); padding: 18px; }
.ask-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ask-head img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ask-head span { display: block; font-size: 14px; color: var(--ink-2); }
.ask-x { margin-left: auto; border: 0; background: none; font-size: 28px; cursor: pointer; line-height: 1; padding: 4px 8px; }
.ask-panel label { display: block; font-weight: 600; font-size: 15px; margin: 8px 0 4px; }
.ask-panel textarea, .ask-panel input { width: 100%; font: inherit; font-size: 16px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); }
.ask-panel .btn { width: 100%; margin-top: 12px; }
.demo { font-size: 13px; color: var(--ink-2); margin: 8px 0 0; }
.ask-sent { background: var(--blue-soft); border-radius: 12px; padding: 12px; }
.ask-links { display: flex; gap: 10px; margin-top: 12px; }
.ask-links a { flex: 1; text-align: center; padding: 10px; border-radius: 12px; background: var(--tint); color: var(--ink); text-decoration: none; font-weight: 600; }

/* photo viewer */
.viewer { position: fixed; inset: 0; z-index: 50; background: rgba(16, 17, 30, .94); display: grid; place-items: center; }
.viewer[hidden] { display: none; }
.viewer img { max-width: min(92vw, 900px); max-height: 86vh; border-radius: 12px; object-fit: contain; }
.viewer button { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; cursor: pointer; }
.v-x { top: 16px; right: 16px; }
.v-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.v-next { right: 16px; top: 50%; transform: translateY(-50%); }

/* concept pill */
.pill { position: fixed; left: 50%; bottom: 10px; transform: translateX(-50%); z-index: 25; background: rgba(22, 24, 43, .86); color: #fff;
  font-size: 12px; padding: 6px 12px; border-radius: 999px; text-decoration: none; white-space: nowrap; }

/* tablet */
@media (max-width: 980px) {
  .nav { display: none; }
  .top .btn-small { margin-left: auto; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .visit { grid-template-columns: minmax(0, 1fr); }
}

/* phone */
@media (max-width: 680px) {
  body { font-size: 16px; }
  .brand { font-size: 18px; }
  .brand img { width: 38px; }
  .top { gap: 10px; }
  .top .btn-small { padding: 8px 14px; font-size: 14px; min-height: 40px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 18px; }
  .hero-photo { order: -1; }
  .hero-photo svg { max-width: 290px; }
  .hero h1 { font-size: 38px; }
  .lead { margin: 14px 0 18px; }
  .cta .btn { flex: 1 1 100%; }
  .sec { padding-top: 64px; padding-bottom: 64px; }
  .steps { gap: 18px 14px; }
  .steps h3 { font-size: 18px; }
  .steps p { font-size: 15px; }
  .ages { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .guide { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .guide fieldset, .result { grid-column: 1; grid-row: auto; }
  .chips button { flex: 1 1 calc(50% - 8px); }
  .ba { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .ba-arrow { display: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .about { grid-template-columns: minmax(0, 1fr); }
  .about-photo { aspect-ratio: 4 / 3; }
  .g-line { margin-left: 0; width: 100%; }
  .visit-side { grid-template-columns: minmax(0, 1fr); }
  .ask { bottom: 46px; right: 12px; padding-right: 14px; }
  .ask span { font-size: 15px; }
  .ask-panel { right: 16px; bottom: 104px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
