/* ============ Ponte Bella Hair Salon — regal edition ============ */

:root {
  --paper: #f8f5ef;        /* warm ivory */
  --paper-deep: #efe9df;
  --ink: #1d1a17;          /* near-black espresso */
  --ink-soft: #6d675f;
  --gold: #a16207;         /* text-safe gold (WCAG on paper) */
  --gold-soft: #c9a25f;    /* decorative hairlines only */
  --wine: #7d2a35;         /* reserved for the script wordmark */
  --white: #ffffff;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Jost", "Helvetica Neue", sans-serif;
  --font-script: "Great Vibes", cursive;
  --ease: cubic-bezier(.25, .46, .45, .94);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.75;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.section { padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 7vw, 7rem); }
.section--tight { padding-top: clamp(2rem, 4vw, 3.5rem); }

/* ---------- Type ---------- */
.eyebrow {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 1rem;
}
.eyebrow--gold { color: var(--gold-soft); }

.section__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.6rem;
  text-wrap: balance;
}
.section__title--left { text-align: left; }

/* ---------- Ornaments ---------- */
.ornament,
.hero__rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--gold-soft);
}
.ornament span,
.hero__rule span {
  display: block;
  width: min(120px, 24vw);
  height: 1px;
  background: var(--gold-soft);
}
.ornament i,
.hero__rule i { font-style: normal; font-size: .8rem; line-height: 1; }
.ornament--gold span { background: rgba(201, 162, 95, .6); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.05rem 2.3rem;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  transition-property: background-color, color, border-color, transform;
  transition-duration: 250ms;
  transition-timing-function: ease-out;
}
.btn:hover { background: #000; border-color: #000; }
.btn:active { transform: scale(.97); }
.btn__icon { width: 17px; height: 17px; }

.btn--gold {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn--gold:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.btn--ghost {
  background: transparent;
  border-color: rgba(29, 26, 23, .35);
  color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

/* ---------- Header ---------- */
.top {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
}

.top__logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.top__logo-script { font-family: var(--font-script); font-size: 2.2rem; color: var(--wine); }
.top__logo-sub { font-size: .55rem; letter-spacing: .6em; margin-top: .35rem; color: var(--ink-soft); }

.top__links { display: flex; gap: 1.8rem; }
.top__links a {
  text-decoration: none;
  font-size: .76rem;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: .4rem 0;
  position: relative;
}
.top__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition-property: transform;
  transition-duration: 350ms;
  transition-timing-function: var(--ease);
}
.top__links a:hover::after,
.top__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.top__links a[aria-current="page"] { color: var(--gold); }

.top__phone {
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .12em;
  color: var(--ink);
  padding: .4rem 0;
}
.top__phone:hover { color: var(--gold); }

.top__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  align-items: center;
  color: var(--ink);
}
.top__burger span {
  width: 22px; height: 1.5px;
  background: currentColor;
  transition-property: transform, opacity;
  transition-duration: 300ms;
  transition-timing-function: var(--ease);
}

/* ---------- Hero (typographic, regal) ---------- */
.hero {
  text-align: center;
  padding: clamp(4.5rem, 11vw, 9rem) 1.5rem clamp(4rem, 9vw, 7rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 38%, rgba(201, 162, 95, .13), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero__eyebrow {
  font-size: .74rem;
  letter-spacing: .5em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 1.6rem;
}
.hero__rule { margin-bottom: 2.2rem; }

.hero__title {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: clamp(4.2rem, 12vw, 9rem);
  line-height: 1.1;
  color: var(--ink);
  padding: 0 .3em .1em; /* keep script flourishes inside */
  text-wrap: balance;
}
.hero__title--serif {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(3.2rem, 9vw, 6.5rem);
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.05;
}

.hero__sub {
  font-size: clamp(.8rem, 1.6vw, 1rem);
  letter-spacing: .68em;
  text-indent: .68em;
  color: var(--gold);
  margin-top: 1.1rem;
}

.hero__tag {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--ink-soft);
  margin-top: 2rem;
  text-wrap: balance;
}

.hero__cta {
  margin-top: 2.8rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero--page { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Welcome ---------- */
.welcome { text-align: center; }
.welcome__script {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--wine);
  margin-bottom: 1.4rem;
}
.welcome__text {
  max-width: 640px;
  margin: 0 auto 2.4rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* ---------- Services ---------- */
.services { background: var(--paper-deep); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.8rem 3rem;
  max-width: 1150px;
  margin: 3rem auto 0;
}
.service {
  border-top: 1px solid rgba(161, 98, 7, .35);
  padding-top: 1.5rem;
  position: relative;
}
.service__num {
  font-family: var(--font-display);
  font-size: .9rem;
  letter-spacing: .2em;
  color: var(--gold);
  display: block;
  margin-bottom: .5rem;
}
.service h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .65rem;
  text-wrap: balance;
}
.service p { color: var(--ink-soft); font-size: .95rem; text-wrap: pretty; }
.service a { color: var(--gold); text-decoration: none; }
.service a:hover { text-decoration: underline; }

.services__note {
  text-align: center;
  margin-top: 3.2rem;
  color: var(--ink-soft);
  font-size: .92rem;
}
.services__note a { color: var(--gold); text-decoration: none; }
.services__note a:hover { text-decoration: underline; }

/* ---------- Signature (regal ink band, no photo) ---------- */
.signature {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: clamp(5rem, 11vw, 8.5rem) 1.5rem;
  position: relative;
  overflow: hidden;
}
.signature::before {
  content: "PB";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(20rem, 42vw, 34rem);
  line-height: 1;
  color: rgba(201, 162, 95, .05);
  pointer-events: none;
}
.signature__inner { position: relative; max-width: 640px; margin: 0 auto; }
.signature__inner h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}
.signature__inner p { color: rgba(248, 245, 239, .85); margin-bottom: 2.2rem; text-wrap: pretty; }
.signature .ornament { margin-bottom: 1.8rem; }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.about__photo { margin: 0; }
.about__photo img {
  width: 100%;
  border-radius: 300px 300px 0 0; /* regal arch */
  outline: 1px solid rgba(0, 0, 0, .08);
  outline-offset: -1px;
}
.about__copy .eyebrow,
.about__copy .section__title { text-align: left; }
.about__copy .eyebrow { margin-bottom: .8rem; }
.about__script {
  font-family: var(--font-script);
  font-size: 1.65rem;
  color: var(--wine);
  margin-bottom: 1.2rem;
}
.about__copy p:not(.about__script):not(.eyebrow) { color: var(--ink-soft); text-wrap: pretty; }
.about__copy p + p { margin-top: 1rem; }

/* ---------- Visit ---------- */
.visit { background: var(--paper-deep); text-align: center; }
.visit__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 950px;
  margin: 3rem auto 0;
}
.visit__col h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: .8rem;
  color: var(--gold);
}
.visit__col p, .visit__col address {
  font-style: normal;
  color: var(--ink-soft);
  font-size: .97rem;
}
.visit__link {
  display: inline-block;
  margin-top: .5rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 1px;
  transition-property: color, border-color;
  transition-duration: 250ms;
  transition-timing-function: ease-out;
}
.visit__link:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Product page ---------- */
.product__grid {
  display: grid;
  grid-template-columns: minmax(300px, 460px) 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.product__photo { margin: 0; }
.product__photo img {
  width: 100%;
  outline: 1px solid rgba(0, 0, 0, .08);
  outline-offset: -1px;
}
.product__copy .eyebrow { text-align: left; margin-bottom: .8rem; }
.product__copy > p { color: var(--ink-soft); text-wrap: pretty; }
.product__list {
  list-style: none;
  margin: 1.6rem 0;
}
.product__list li {
  padding: .55rem 0 .55rem 1.8rem;
  position: relative;
  color: var(--ink-soft);
  border-bottom: 1px solid rgba(29, 26, 23, .08);
}
.product__list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: .75rem;
}
.product__how { margin-bottom: 2rem; }
.product__how h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: .5rem;
  color: var(--gold);
}
.product__how p { color: var(--ink-soft); font-size: .95rem; text-wrap: pretty; }

/* ---------- Social page ---------- */
.insta { text-align: center; }
.insta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  max-width: 980px;
  margin: 0 auto;
}
.insta__tile {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
}
.insta__tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  outline: 1px solid rgba(0, 0, 0, .06);
  outline-offset: -1px;
  transition-property: transform, opacity;
  transition-duration: 700ms;
  transition-timing-function: var(--ease);
}
.insta__tile:hover img { transform: scale(1.05); opacity: .9; }

.insta__tile--card {
  border: 1px solid var(--gold-soft);
  display: grid;
  place-items: center;
  background: var(--paper-deep);
  text-decoration: none;
  transition-property: background-color;
  transition-duration: 300ms;
  transition-timing-function: ease-out;
}
.insta__tile--card:hover { background: var(--ink); }
.insta__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .8rem;
  color: var(--gold);
  padding: 1rem;
}
.insta__card svg { width: 34px; height: 34px; }
.insta__card-handle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: .08em;
}
.insta__card-cta {
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.insta__tile--card:hover .insta__card-cta { color: var(--gold-soft); }

.insta__cta { margin-top: 2.8rem; }
.insta__note {
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: .92rem;
}
.insta__note strong { font-weight: 400; color: var(--gold); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(248, 245, 239, .75);
  text-align: center;
  padding: 3.5rem 1.5rem 2.2rem;
  font-size: .88rem;
}
.footer__script {
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--gold-soft);
  margin-bottom: 1.2rem;
}
.footer__nav {
  display: flex;
  gap: .8rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}
.footer__nav a {
  text-decoration: none;
  font-size: .74rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding: .3rem .2rem;
}
.footer__nav a:hover { color: var(--white); }
.footer__nav span { opacity: .45; }
.footer__line a { color: inherit; text-decoration: none; }
.footer__line a:hover { color: var(--white); }
.footer__fine { margin-top: 1.4rem; opacity: .55; font-size: .78rem; letter-spacing: .04em; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition-property: opacity, transform;
  transition-duration: 900ms;
  transition-timing-function: var(--ease);
  transition-delay: var(--d, 0s);
}
.in-view { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .about__grid, .product__grid { grid-template-columns: 1fr; }
  .about__photo, .product__photo { max-width: 400px; margin: 0 auto; }
  .visit__cols { grid-template-columns: 1fr; gap: 2rem; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .top__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78vw, 300px);
    background: var(--ink);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition-property: transform;
    transition-duration: 500ms;
    transition-timing-function: var(--ease);
    z-index: 100;
  }
  .top__links.open { transform: translateX(0); }
  .top__links a { color: var(--paper); font-size: .95rem; }
  .top__links a[aria-current="page"] { color: var(--gold-soft); }
  .top__burger { display: flex; z-index: 110; }
  .top__burger.open { position: fixed; right: 1.2rem; top: 1.5rem; color: var(--paper); }
  .top__burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .top__burger.open span:nth-child(2) { opacity: 0; }
  .top__burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .top__phone { display: none; }
}

@media (max-width: 560px) {
  .services__grid { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .insta__tile img { transition: none; }
  .btn:active { transform: none; }
}

/* ---------- Footer admin link (discreet) ---------- */
.footer__sep { opacity: .4; margin: 0 .25rem; }
.footer__admin {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 245, 239, .25);
  padding-bottom: 1px;
  transition-property: color, border-color;
  transition-duration: 250ms;
  transition-timing-function: ease-out;
}
.footer__admin:hover { color: var(--gold-soft); border-color: var(--gold-soft); }

/* ---------- Mobile: rein in wide tracking on hero subtitles ---------- */
@media (max-width: 560px) {
  .hero__sub { letter-spacing: .34em; text-indent: .34em; }
}
