/* Dreams Come True Hair Salon & Wigs
   Palette from the logo badge teal #025F71. Fraunces display, Karla body. */

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/fraunces-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/fraunces-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/karla-400.woff2) format("woff2");
}
@font-face {
  font-family: "Karla";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/karla-italic.woff2) format("woff2");
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/karla-600.woff2) format("woff2");
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/karla-700.woff2) format("woff2");
}

:root {
  --pearl: #F7F3EC;
  --pearl-2: #F0E9DD;
  --ink: #0B323B;
  --ink-2: #11414C;
  --teal: #025F71;
  --teal-deep: #01485A;
  --blush: #E9D5CC;
  --line: rgba(11, 50, 59, 0.16);
  --line-light: rgba(247, 243, 236, 0.28);
  --rail-w: 300px;
  --pad-x: clamp(24px, 6vw, 84px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  margin: 0;
  background: var(--pearl);
  color: var(--ink);
  font-family: "Karla", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.06rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 480;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: 0;
}

h1 { font-size: clamp(2.7rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.3rem; font-weight: 560; }

p { margin: 0 0 1.1em; max-width: 62ch; }

a { color: var(--teal); }

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--pearl);
  padding: 12px 20px;
  z-index: 300;
}
.skip:focus { left: 12px; top: 12px; color: var(--pearl); }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--teal);
  color: var(--pearl);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 1.5px solid var(--teal);
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.panel--ink .btn--ghost { color: var(--pearl); border-color: var(--pearl); }

/* ---------- the rail (desktop) ---------- */

.rail {
  display: none;
}

@media (min-width: 960px) {
  .rail {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    padding: 36px 30px 28px;
    background: var(--pearl-2);
    border-right: 1px solid var(--line);
    z-index: 60;
  }
  .rail__logo { width: 138px; height: 138px; border-radius: 50%; display: block; margin-bottom: 22px; }
  .rail__chips { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; margin-bottom: 20px; }
  .rail__phone { width: 100%; justify-content: center; }
  .rail__note {
    font-size: 0.92rem;
    line-height: 1.5;
    margin: 16px 0 0;
  }
  .rail__spacer { flex: 1; }
  .rail__now {
    border-top: 1px solid var(--line);
    padding-top: 16px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
  }
  .rail__now-dot {
    width: 9px; height: 9px; border-radius: 50%;
    background: var(--teal);
    flex: none;
  }
  .rail__now span:last-child { transition: opacity 240ms ease; }
  .rail__addr {
    margin: 14px 0 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--ink);
    opacity: 0.78;
  }
  .column { margin-left: var(--rail-w); }
}

.chip {
  display: inline-block;
  background: rgba(2, 95, 113, 0.1);
  color: var(--teal-deep);
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}

/* ---------- menu button + overlay ---------- */

.menu-btn {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--teal);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 18px rgba(11, 50, 59, 0.28);
  transition: background 160ms ease, transform 160ms ease;
}
.menu-btn:focus-visible { outline-color: var(--ink); }
.menu-btn svg { display: block; }
.menu-btn .ico-close { display: none; }
.menu-btn[aria-expanded="true"] .ico-open { display: none; }
.menu-btn[aria-expanded="true"] .ico-close { display: block; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--ink);
  color: var(--pearl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--pad-x) 48px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms ease, visibility 260ms ease;
}
.menu.open { opacity: 1; visibility: visible; }
.menu ul { list-style: none; margin: 0; padding: 0; }
.menu li { border-bottom: 1px solid var(--line-light); }
.menu li a {
  display: block;
  padding: 14px 0;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 420;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  color: var(--pearl);
  text-decoration: none;
  transition: color 150ms ease, padding-left 150ms ease;
}
.menu li a[aria-current="page"] { color: var(--blush); }
.menu__foot { margin-top: 40px; font-size: 1rem; }
.menu__foot p { margin: 0 0 6px; }
.menu__foot a { color: var(--pearl); }

/* ---------- panels ---------- */

.panel {
  padding: clamp(56px, 8vw, 104px) var(--pad-x);
}
.panel--photo { padding: 0; background: var(--pearl-2); }
.panel--photo img { display: block; width: 100%; height: auto; }
.panel--ink { background: var(--ink); color: var(--pearl); }
.panel--ink h2, .panel--ink h3 { color: var(--pearl); }
.panel--ink a:not(.btn) { color: var(--blush); }
.panel--tint { background: var(--pearl-2); }

.panel__inner { max-width: 1060px; }

.lead { font-size: 1.22rem; line-height: 1.6; max-width: 56ch; }

/* ---------- hero ---------- */

.hero {
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero__badge { display: block; width: 118px; height: 118px; border-radius: 50%; margin-bottom: 26px; }
@media (min-width: 960px) { .hero__badge { display: none; } }
.hero h1 em { font-style: italic; color: var(--teal); }
.hero .lead { margin-top: 8px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

@media (max-width: 959px) {
  .hero { min-height: 0; padding-top: 40px; }
}

/* ---------- two path panels ---------- */

.paths { display: grid; grid-template-columns: 1fr; gap: 0; padding: 0; }
@media (min-width: 760px) { .paths { grid-template-columns: 1fr 1fr; } }
.path {
  display: block;
  padding: clamp(44px, 6vw, 72px) var(--pad-x);
  text-decoration: none;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.path:first-child { border-right: none; }
@media (min-width: 760px) { .path:first-child { border-right: 1px solid var(--line); } }
.path h2 { margin-bottom: 0.35em; }
.path p { margin-bottom: 0; }
.path .chev { color: var(--teal); font-weight: 400; }

/* ---------- colour rail (horizontal scroll-snap strip) ---------- */

.railstrip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--pad-x) 18px;
  -webkit-overflow-scrolling: touch;
}
.railstrip figure {
  margin: 0;
  flex: 0 0 auto;
  scroll-snap-align: start;
}
.railstrip img {
  display: block;
  height: clamp(300px, 44vw, 460px);
  width: auto;
  border-radius: 12px;
}

/* ---------- split blocks (text beside photo) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; } }
.split img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* ---------- card trio with arrows ---------- */

.trio { position: relative; }
.trio__track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--pad-x) 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.trio__track::-webkit-scrollbar { display: none; }
.trio__card {
  flex: 0 0 min(72vw, 340px);
  scroll-snap-align: start;
  margin: 0;
}
.trio__card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
}
.trio__nav {
  display: flex;
  gap: 10px;
  padding: 6px var(--pad-x) 0;
}
.trio__btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* ---------- lists ---------- */

.ticklist { list-style: none; margin: 0 0 1.2em; padding: 0; max-width: 62ch; }
.ticklist li {
  padding: 10px 0 10px 30px;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.ticklist li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--teal);
}
.panel--ink .ticklist li { border-bottom-color: var(--line-light); }
.panel--ink .ticklist li::before { background: var(--blush); }

/* ---------- quote ---------- */

.quote {
  border-left: 3px solid var(--teal);
  padding: 6px 0 6px 26px;
  margin: 0 0 1.4em;
  max-width: 60ch;
}
.quote p { font-family: "Fraunces", Georgia, serif; font-size: 1.3rem; line-height: 1.5; font-weight: 420; }
.quote footer { font-size: 0.95rem; font-weight: 600; color: var(--teal-deep); }
.panel--ink .quote { border-left-color: var(--blush); }
.panel--ink .quote footer { color: var(--blush); }

/* ---------- coming soon ---------- */

.coming {
  border-radius: 12px;
  background: var(--blush);
  padding: clamp(30px, 4vw, 48px);
}
.coming .chip { background: var(--ink); color: var(--pearl); margin-bottom: 16px; }

/* ---------- gallery wall ---------- */

.wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 960px) { .wall { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.wall a { display: block; }
.wall img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(11, 50, 59, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: 8px;
}
.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px; height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--pearl);
  color: var(--ink);
  font-size: 1.3rem;
  cursor: pointer;
}
.lightbox__prev { left: 14px; }
.lightbox__next { right: 14px; }
.lightbox__close {
  position: absolute;
  top: 16px; right: 16px;
  transform: none;
}

/* ---------- contact ---------- */

.contactgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
@media (min-width: 900px) { .contactgrid { grid-template-columns: 1fr 1fr; } }

.contactlines p { margin-bottom: 0.7em; }
.contactlines .big {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 480;
}
.contactlines .big a { color: var(--ink); text-decoration: none; }

form.netform { max-width: 560px; }
.netform label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 18px 0 6px;
}
.netform input, .netform textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.netform input:focus, .netform textarea:focus {
  outline: 3px solid var(--teal);
  outline-offset: 1px;
  border-color: var(--teal);
}
.netform textarea { min-height: 140px; resize: vertical; }
.netform .btn { margin-top: 22px; }
.netform__hp { position: absolute; left: -9999px; }

.mapwrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.mapwrap iframe { display: block; width: 100%; height: 340px; border: 0; }

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: var(--pearl);
  padding: clamp(48px, 6vw, 72px) var(--pad-x) 40px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  max-width: 1060px;
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: auto 1fr 1fr; gap: 64px; } }
.footer__logo { width: 108px; height: 108px; border-radius: 50%; }
.footer h2 { font-size: 1.1rem; font-family: "Karla", sans-serif; font-weight: 700; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 7px; }
.footer a { color: var(--pearl); text-decoration: none; }
.footer p { margin-bottom: 7px; font-size: 0.98rem; }
.footer__base {
  margin-top: 44px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
  font-size: 0.88rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  max-width: 1060px;
}
.footer__credit { opacity: 0.75; }
.footer__credit a { text-decoration: underline; }

/* ---------- mobile call bar ---------- */

.callbar {
  display: none;
}
@media (max-width: 959px) {
  .callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 100;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: var(--ink);
    border-top: 1px solid var(--line-light);
  }
  .callbar .btn { justify-content: center; padding: 13px 10px; }
  .callbar .btn--ghost { color: var(--pearl); border-color: var(--pearl); }
  body { padding-bottom: 76px; }
}


/* ---------- rail extras ---------- */

.rail__name {
  margin: 0 0 20px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 520;
  line-height: 1.18;
}
.rail__addr a { color: var(--teal-deep); }

/* gallery wall sits inside a padded panel */
.wall { padding: 0 var(--pad-x) clamp(40px, 5vw, 64px); }

/* ---------- small pages (thanks, 404) ---------- */

.simple {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* sticky header proof: the round menu button is fixed on every page, and the
   rail is fixed on desktop; on phones the call bar is fixed bottom. */

/* ---------- hover, only on devices that really hover ---------- */
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--teal-deep); }
  .btn:hover { background: var(--teal-deep); color: var(--pearl); transform: translateY(-1px); }
  .btn--ghost:hover { background: var(--ink); color: var(--pearl); }
  .panel--ink .btn--ghost:hover { background: var(--pearl); color: var(--ink); }
  .menu-btn:hover { background: var(--teal-deep); transform: scale(1.04); }
  .panel--ink a:not(.btn):hover { color: var(--pearl); }
  .path:hover { background: var(--pearl-2); }
  .trio__btn:hover { background: var(--ink); color: var(--pearl); }
  .lightbox__btn:hover { background: var(--blush); }
  .contactlines .big a:hover { color: var(--teal); }
  .footer a:hover { color: var(--blush); text-decoration: underline; }
  .rail__addr a:hover { color: var(--teal); }
  .callbar .btn--ghost:hover { background: var(--pearl); color: var(--ink); }
  .menu li a:hover { color: var(--blush); padding-left: 10px; }
}

/* ---------- tap behaviour ---------- */
a, button, .btn, .path, .menu-btn, .trio__btn, .lightbox__btn { touch-action: manipulation; -webkit-tap-highlight-color: rgba(2, 95, 113, 0.15); }

/* ---------- button row under a strip or grid ---------- */
.btnrow { padding: 18px var(--pad-x) clamp(48px, 6vw, 72px); }

/* ---------- photo pair (two portrait photos, shown whole) ---------- */
.panel--pair { padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--pearl-2); }
.panel--pair img { display: block; width: 100%; height: auto; }

/* ---------- live Google reviews ---------- */
[data-google-reviews] .riw { --riw-star: var(--teal); }

/* ---------- phone identity bar (the desktop rail's job on small screens) ---------- */
.mbar { display: none; }
@media (max-width: 959px) {
  .mbar {
    display: flex;
    align-items: center;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 90;
    height: 64px;
    padding: 0 84px 0 var(--pad-x);
    background: var(--pearl);
    border-bottom: 1px solid var(--line);
    overflow-anchor: none;
  }
  .mbar__name {
    font-family: "Fraunces", Georgia, serif;
    font-size: 1.3rem;
    font-weight: 520;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .menu-btn { top: 8px; right: 14px; width: 48px; height: 48px; box-shadow: none; }
}

/* inner-page heroes size to their words; only the home hero holds the fold */
.hero:not(.hero--home) { min-height: 0; padding-bottom: clamp(40px, 5vw, 64px); }
a[href^="tel:"] { white-space: nowrap; }
