/* ==========================================================================
   Smart Look Alterations: design refresh (Nov 2026, v2)
   One continuous ivory ground: sections are separated by space and stitch
   lines, not colour blocks. Navy is kept for type, the footer and accents.
   Signatures: the interactive tape measure, the 60-minute express timer,
   the SL seal.
   ========================================================================== */

:root {
  --tape: #E9D3A6;
  --cm: 40px;          /* one centimetre on the on-screen tape */
  --tape-origin: 8px;  /* width of the brass tip before 0 cm */
  --stitch: repeating-linear-gradient(90deg, rgba(37, 51, 78, .35) 0 8px, transparent 8px 14px);
}

/* ---------- One ground ------------------------------------------------- */

.hero,
.section--white,
.cta-band,
.page-hero { background: var(--ivory); }

.page-hero { border-bottom: 0; }

/* ---------- Calmer type scale ------------------------------------------ */

h2 { font-size: clamp(1.75rem, 3vw, 2.4rem); }

.display { font-size: clamp(3rem, 7vw, 5.8rem); }
.display-italic { font-size: clamp(1.9rem, 4.2vw, 3.4rem); }

.page-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
  line-height: 1.12;
}

.page-hero .lead { font-size: 1.0625rem; }

.cta-band h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }

/* ---------- Tape measure (slim) -------------------------------------- */

.measure {
  position: relative;
  height: 34px;
  overflow: hidden;
  background: #EEDDB8;
  border-block: 1px solid rgba(37, 51, 78, .14);
  cursor: col-resize;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.measure-tape {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(37, 51, 78, .7) 0 1px, transparent 1px var(--cm)) var(--tape-origin) 0 / 100% 11px no-repeat,
    repeating-linear-gradient(90deg, rgba(37, 51, 78, .45) 0 1px, transparent 1px calc(var(--cm) / 2)) var(--tape-origin) 0 / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, rgba(37, 51, 78, .28) 0 1px, transparent 1px calc(var(--cm) / 10)) var(--tape-origin) 0 / 100% 4px no-repeat;
}

.measure-tip {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--tape-origin);
  background: linear-gradient(90deg, #9A7432, #C9A15E 60%, #AF843F);
}

.measure-nums span {
  position: absolute;
  bottom: 5px;
  transform: translateX(-50%);
  font: 500 10px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  color: rgba(37, 51, 78, .78);
}

.measure-nums span.is-ten { font-weight: 700; color: #8A6526; }

.measure-marker {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1.5px;
  margin-left: -.75px;
  background: var(--navy);
  opacity: 0;
  transition: opacity .2s var(--ease);
  pointer-events: none;
  will-change: transform;
}

.measure.is-active .measure-marker { opacity: 1; }

.measure-read {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--ivory);
  font: 600 11px/1 var(--sans);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.measure.is-flipped .measure-read { left: auto; right: 8px; }

/* ---------- Facts: live open status ------------------------------------ */

.fact--status .fact-figure {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(2.2rem, 3.6vw, 3rem);
}

.fact--status .fact-figure[data-state]::before {
  content: "";
  display: inline-block;
  width: .26em;
  height: .26em;
  margin-right: .28em;
  border-radius: 50%;
  vertical-align: .22em;
  background: #9B2F25;
}

.fact--status .fact-figure[data-state="open"]::before {
  background: #3F7A52;
  animation: open-pulse 2.4s ease-out infinite;
}

@keyframes open-pulse {
  from { box-shadow: 0 0 0 0 rgba(63, 122, 82, .5); }
  to { box-shadow: 0 0 0 .3em rgba(63, 122, 82, 0); }
}

/* ---------- Express service: 60-minute timer --------------------------- */

.express { padding: clamp(80px, 11vw, 140px) 0 clamp(64px, 9vw, 112px); }

.express-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.express-inner .eyebrow { margin-bottom: clamp(28px, 4vw, 40px); }

.timer {
  position: relative;
  width: min(320px, 78vw);
  aspect-ratio: 1;
}

.timer-dial {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.timer-ticks line { stroke: rgba(37, 51, 78, .28); stroke-width: 1.2; stroke-linecap: round; transition: stroke .2s linear; }
.timer-ticks line.is-major { stroke-width: 2; }
.timer-ticks line.is-passed { stroke: var(--navy); }

.timer-track { fill: none; stroke: rgba(37, 51, 78, .1); stroke-width: 2; }

.timer-arc {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 0 60;
  transform: rotate(-90deg);
  transform-origin: 160px 160px;
}

.timer-pin { fill: var(--ivory); stroke: rgba(37, 51, 78, .35); stroke-width: 2; transition: fill .3s, stroke .3s; }
.timer-pin.is-reached { fill: var(--gold); stroke: var(--gold); }

.timer-face {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.timer-face > p {
  grid-area: 1 / 1;
  margin: 0;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}

.timer-count {
  display: flex;
  align-items: baseline;
  gap: .2em;
  font-family: var(--serif);
  font-weight: 300;
  color: var(--navy);
}

.timer-num {
  min-width: 2ch;
  font-size: clamp(4.2rem, 11vw, 6rem);
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}

.timer-min { font-size: 1.4rem; font-style: italic; color: var(--gold); }

/* The final state: "hour" is set across the middle of a tall 1 */
.timer-final {
  position: relative;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(.94);
}

.timer-one {
  grid-area: 1 / 1;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(9rem, 26vw, 13rem);
  line-height: .8;
  color: var(--navy);
}

.timer-hour {
  grid-area: 1 / 1;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 7vw, 3.6rem);
  line-height: 1;
  color: var(--gold);
  -webkit-text-stroke: 10px var(--ivory);
  paint-order: stroke fill;
}

.timer.is-done .timer-count { opacity: 0; transform: scale(1.06); }
.timer.is-done .timer-final { opacity: 1; transform: none; }

.milestones {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  margin: clamp(32px, 4vw, 44px) 0 0;
  padding: 0;
  list-style: none;
}

.milestone {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  background: var(--stitch) top left / 100% 1px no-repeat;
  opacity: .45;
  transition: opacity .4s var(--ease);
}

.milestone.is-reached { opacity: 1; }

.milestone-time {
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
}

.milestone-what { font-size: .9375rem; color: var(--muted); }

.express-copy {
  max-width: 44ch;
  margin: 28px auto 28px;
  color: var(--muted);
}

/* ---------- Suburbs: stitched in on hover ------------------------------- */

.suburbs li {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  cursor: default;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease);
}

/* navy thread fills the chip from the left */
.suburbs li::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease);
}

/* a running stitch inside the chip */
.suburbs li::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 5px;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 5px, transparent 5px 9px);
  background-size: 9px 1px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s var(--ease) .1s;
}

.suburbs li:hover {
  color: var(--ivory);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.suburbs li:hover::before,
.suburbs li:hover::after { transform: scaleX(1); }

.suburbs li:hover::after { animation: stitch-run .6s linear infinite; }

@keyframes stitch-run { to { background-position: 9px 0; } }

.suburbs li.is-home { border-color: var(--gold); }

.suburbs li.is-home::marker { content: none; }

.suburbs li .home-note {
  margin-left: 6px;
  font-size: .75rem;
  color: var(--gold);
  transition: color .35s var(--ease);
}

.suburbs li:hover .home-note { color: var(--beige); }

/* ---------- Hero seal ---------------------------------------------------- */

.seal-badge {
  position: absolute;
  top: 18px;
  right: -46px;
  z-index: 3;
  width: clamp(120px, 13vw, 164px);
  aspect-ratio: 1;
  filter: drop-shadow(0 12px 18px rgba(37, 51, 78, .22));
}

.seal-badge svg { display: block; width: 100%; height: 100%; }
.seal-disc { fill: var(--navy); stroke: var(--ivory); stroke-width: 4; }
.seal-stitch { fill: none; stroke: var(--beige); stroke-width: 1.2; stroke-dasharray: 3 3; opacity: .7; }

.seal-text {
  transform-box: view-box;
  transform-origin: 100px 100px;
  animation: seal-turn 40s linear infinite;
}

.seal-text text {
  font: 600 13px var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  fill: var(--ivory);
}

@keyframes seal-turn { to { transform: rotate(360deg); } }

/* ---------- Inner page stickers ----------------------------------------- */

.st-tape { width: 180px; }
.st-seal { top: auto; right: 0; bottom: -10px; width: 74px; }

@media (max-width: 860px) {
  .seal-badge { right: -8px; top: -20px; width: 112px; }
}

@media (prefers-reduced-motion: reduce) {
  .seal-text,
  .suburbs li:hover::after,
  .fact--status .fact-figure[data-state="open"]::before { animation: none; }
}

/* ==========================================================================
   Polish pass
   ========================================================================== */

/* Header: optically centre the SMART LOOK caps (not the whole lock-up) on
   the nav and phone button. ALTERATIONS hangs below the caps line. */
.logo img { transform: translateY(5px); }
.site-footer .logo img { transform: none; }

/* Rhythm: one ground means less padding is needed to separate sections */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.page-hero { padding-bottom: clamp(32px, 4vw, 48px); }
.page-hero + .section { padding-top: clamp(24px, 3vw, 40px); }
.measure + .section--tight { padding-top: 8px; }

/* Address links open Google Maps */
.map-link { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
.map-link:hover { color: var(--gold); }
.hero-meta .map-link { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .map-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.contact-list .map-link { display: block; }
.map-hint {
  display: block;
  margin-top: 4px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 4px;
}
.site-footer .map-link:hover { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }

/* Facts read as one set */
.fact .fact-figure { color: var(--navy); }

/* Services: express notice as a stitched panel, not an accent-bar card */
.notice {
  margin-top: 56px;
  padding: 28px 32px;
  background: transparent;
  border: 1px dashed rgba(37, 51, 78, .35);
  border-radius: 4px;
}
.notice .notice-title {
  margin-bottom: 6px;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--navy);
}
.notice p + p { color: var(--text); }
.notice p.notice-small { margin-top: 10px; font-size: .9375rem; color: var(--muted); }

/* Lace skirt photo: crop away the purple garment at the top left */


/* Contact: cards share the page ground */
.card { background: transparent; border-color: var(--line); transition: border-color .25s var(--ease); }
.card:hover { border-color: rgba(37, 51, 78, .45); }
.ways .card a { text-underline-offset: 4px; }

/* Reviews: a touch smaller so a long review doesn't tower over the others */
.quote blockquote { font-size: 1.25rem; line-height: 1.45; }

/* CTA heading keeps the brand line on its own at phone width */
@media (max-width: 600px) {
  .cta-band h2 em { display: block; }
}

/* Contact: the call button sits in the text column */
.section-head .btn-row { margin-top: 8px; }

/* Phone: CTA buttons share one width */
@media (max-width: 600px) {
  .cta-band .btn-row { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
  .cta-band .btn-row .btn { justify-content: center; }
}
