/* Branding/content overlays for Annies Hair Braiding. */
:root {
  --ann-bg-dark: #000;
  --ann-cream: #ecdfc4;
  --ann-cream-soft: #f8f8f8;
  --ann-footer: #393d32;
  --ann-gold: #d5bb84;
  --ann-ink: #050505;
  --ann-footer-text: #e6ddc8;
}

.brand-logo-cover {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 3;
  width: 10.5%;
  min-width: 118px;
  background: var(--ann-bg-dark);
  pointer-events: none;
}

.brand-logo {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: clamp(58px, 5.75vw, 78px);
  aspect-ratio: 1;
  border: 1px solid #111;
  border-radius: 50%;
  background:
    radial-gradient(circle at 52% 42%, #f7efcf 0 50%, #d9cfaa 72%, #a99c74 100%);
  color: var(--ann-ink);
  text-decoration: none;
  box-shadow: 0 1px 5px rgba(0, 0, 0, .35);
}

.site-header .brand-logo {
  left: 2.25%;
  top: 5%;
}

.brand-logo__mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.7vw, 28px);
  font-style: italic;
  line-height: .9;
  letter-spacing: .02em;
}

.brand-logo__name {
  max-width: 82%;
  margin-top: 2px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(5px, .48vw, 7px);
  font-style: italic;
  line-height: 1.05;
  text-align: center;
}

.overlay-copy {
  position: absolute;
  z-index: 4;
  line-height: 1.6;
}

.overlay-copy h2,
.overlay-copy h3 {
  margin: 0 0 24px;
  color: var(--ann-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  line-height: 1.05;
}

.overlay-copy h2 {
  font-size: clamp(38px, 4.1vw, 60px);
}

.overlay-copy h3 {
  margin-top: 54px;
  font-size: clamp(32px, 3.2vw, 48px);
}

.overlay-copy p {
  margin: 0;
  color: var(--ann-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(14px, 1.32vw, 19px);
  line-height: 1.48;
}

.about-text-cover {
  position: absolute;
  z-index: 3;
  background: var(--ann-cream);
  pointer-events: none;
}

.about-copy {
  left: 42.2%;
  top: 17.4%;
  width: 50.7%;
}

.testimonial-cover {
  position: absolute;
  z-index: 3;
  background: var(--ann-cream-soft);
  pointer-events: none;
}

.testimonial-copy {
  z-index: 4;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(12px, 1.08vw, 16px);
  line-height: 1.25;
  text-align: center;
}

.testimonial-card {
  position: absolute;
  z-index: 4;
  color: #111;
  text-align: center;
}

.testimonial-card__quote {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(52px, 5.2vw, 78px);
  font-weight: 700;
  line-height: .62;
}

.testimonial-card__name {
  margin: 0 0 26px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.1vw, 31px);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.testimonial-card__text {
  margin: 0 auto;
  max-width: 320px;
  color: #333;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(13px, 1.24vw, 17px);
  line-height: 1.28;
}

.contact-cover {
  position: absolute;
  z-index: 3;
  background: var(--ann-footer);
  pointer-events: none;
}

.contact-copy {
  z-index: 4;
  color: var(--ann-footer-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(13px, 1.2vw, 17px);
  font-weight: 700;
  line-height: 1.7;
}

.contact-copy h3 {
  margin: 0 0 30px;
  color: var(--ann-footer-text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 2.45vw, 34px);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.contact-copy a {
  color: var(--ann-footer-text) !important;
  text-decoration: underline;
}

.contact-copy p {
  margin: 0;
  color: var(--ann-footer-text);
}

.contact-logo {
  left: 16.8%;
  top: 35.3%;
  width: clamp(58px, 5.5vw, 78px);
}

.mobile-only-brand {
  display: none;
}

.mobile-nav,
.mobile-content,
.mobile-menu-toggle,
.mobile-menu-close {
  display: none;
}

@media (max-width: 760px) {
  :root {
    --page-width: 100vw;
    --nav-height: 66px;
  }

  html,
  body {
    overflow-x: hidden;
    background: var(--ann-bg-dark);
  }

  body {
    display: block;
  }

  .page {
    width: 100%;
    max-width: none;
    background: var(--ann-cream);
    line-height: 1.45;
  }

  .site-header {
    left: 0;
    width: 100%;
    min-height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    background: var(--ann-bg-dark);
    line-height: normal;
    transform: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  }

  .site-header svg,
  .site-header > .hotspot,
  .brand-logo-cover {
    display: none !important;
  }

  .site-header .brand-logo {
    position: relative;
    left: auto;
    top: auto;
    width: 50px;
    min-width: 50px;
  }

  .brand-logo__mark {
    font-size: 17px;
  }

  .brand-logo__name {
    font-size: 5px;
  }

  .mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    padding: 86px 28px 42px;
    background:
      radial-gradient(circle at 18% 0%, rgba(213, 187, 132, .18), transparent 32%),
      rgba(0, 0, 0, .96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-14px);
    transition:
      opacity .28s ease,
      visibility .28s ease,
      transform .28s ease;
  }

  .mobile-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 52px;
    padding: 0 20px;
    border: 1px solid rgba(213, 187, 132, .55);
    border-radius: 999px;
    background: rgba(213, 187, 132, .12);
    color: var(--ann-footer-text);
    font: italic 700 25px/1 Georgia, "Times New Roman", serif;
    text-decoration: none;
    letter-spacing: .01em;
  }

  .mobile-menu-toggle {
    position: fixed;
    top: 12px;
    left: min(calc(100vw - 56px), 334px);
    right: auto;
    z-index: 80;
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(236, 223, 196, .55);
    border-radius: 50%;
    background: var(--ann-gold);
    color: var(--ann-ink);
    box-shadow: 0 1px 8px rgba(0, 0, 0, .2);
    cursor: pointer;
  }

  .mobile-menu-toggle::before {
    content: "\2630";
    color: var(--ann-ink);
    font: 700 22px/1 Arial, Helvetica, sans-serif;
  }

  .mobile-menu-close {
    position: fixed;
    top: 18px;
    left: min(calc(100vw - 62px), 328px);
    right: auto;
    z-index: 90;
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(213, 187, 132, .65);
    border-radius: 50%;
    background: transparent;
    color: var(--ann-footer-text);
    font: 400 22px/1 Arial, Helvetica, sans-serif;
    cursor: pointer;
  }

  .site-header.menu-open .mobile-menu-toggle {
    opacity: 0;
    pointer-events: none;
  }

  .site-header.menu-open .mobile-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  body.mobile-menu-active {
    overflow: hidden;
  }

  body.mobile-menu-active .chat-widget {
    display: none;
  }

  .nav-spacer,
  .page > .slice:not(.site-header),
  .page > img,
  .page > .hotspot,
  .page > .overlay-copy,
  .page > .about-text-cover,
  .page > .static-chat-cover {
    display: none !important;
  }

  .mobile-content {
    display: block;
    padding-top: var(--nav-height);
    color: var(--ann-ink);
    background: var(--ann-cream);
    line-height: 1.45;
  }

  .mobile-section {
    overflow: hidden;
    padding: 34px 24px 36px 20px;
  }

  .mobile-section h2,
  .mobile-hero h2 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
    line-height: 1.03;
  }

  .mobile-section h2 {
    font-size: 34px;
  }

  .mobile-section h3 {
    margin: 16px 0 7px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.08;
  }

  .mobile-section p {
    margin: 10px 0 0;
    font: 400 15px/1.5 Arial, Helvetica, sans-serif;
    overflow-wrap: normal;
  }

  .mobile-section * {
    max-width: 100%;
  }

  .mobile-section > :not(.mobile-about-photo),
  .mobile-card-grid,
  .mobile-portfolio-grid,
  .mobile-book-list {
    max-width: 330px;
  }

  .mobile-section h2,
  .mobile-section h3,
  .mobile-hero h2 {
    overflow-wrap: anywhere;
  }

  .mobile-eyebrow {
    margin: 0 0 8px;
    color: var(--ann-gold);
    font: 700 11px/1 Arial, Helvetica, sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
  }

  .mobile-hero {
    position: relative;
    min-height: 470px;
    display: flex;
    align-items: flex-end;
    padding: 92px 22px 34px;
    overflow: hidden;
    color: #fff;
    background: #111 center/cover no-repeat;
  }

  .mobile-home-hero {
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, .42), rgba(0, 0, 0, .58)),
      url("fc58b6_f718af5df4d045298315d88f5366bcf2~mv2.avif");
  }

  .mobile-book-hero {
    min-height: 340px;
    background-image:
      linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .65)),
      url("mobile-images/gallery-02.jpg");
  }

  .mobile-hero > div {
    position: relative;
    z-index: 1;
    max-width: 318px;
  }

  .mobile-hero h2 {
    max-width: 315px;
    font-size: clamp(32px, 9.8vw, 40px);
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
  }

  .mobile-hero p {
    max-width: 300px;
    margin: 12px 0 0;
    font: italic 700 15px/1.3 Georgia, "Times New Roman", serif;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
  }

  .mobile-button,
  .mobile-book-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 16px;
    padding: 0 20px;
    border: 1px solid #111;
    background: #000;
    color: #fff;
    font: italic 700 15px/1 Georgia, "Times New Roman", serif;
    text-decoration: none;
  }

  .mobile-card-grid,
  .mobile-portfolio-grid {
    display: grid;
    gap: 22px;
    margin-top: 24px;
  }

  .mobile-card,
  .mobile-book-card {
    border-top: 5px solid rgba(0, 0, 0, .42);
  }

  .mobile-card img,
  .mobile-portfolio-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    background: #ddd;
  }

  .mobile-testimonials {
    background: #f8f8f8;
  }

  .mobile-testimonial {
    padding: 22px 0;
    text-align: center;
  }

  .mobile-testimonial + .mobile-testimonial {
    border-top: 1px solid rgba(0, 0, 0, .08);
  }

  .mobile-testimonial strong {
    display: block;
    margin-bottom: 8px;
    font: italic 700 23px/1 Georgia, "Times New Roman", serif;
  }

  .mobile-contact {
    background: var(--ann-footer);
    color: var(--ann-footer-text);
  }

  .mobile-contact h2,
  .mobile-contact h3,
  .mobile-contact p,
  .mobile-contact a {
    color: var(--ann-footer-text);
  }

  .mobile-contact a {
    text-decoration: underline;
    overflow-wrap: anywhere;
  }

  .mobile-social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
  }

  .mobile-social a {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border: 1px solid rgba(230, 221, 200, .55);
    border-radius: 999px;
    color: var(--ann-ink);
    text-decoration: none;
  }

  .mobile-about-photo {
    height: 420px;
    margin: -8px -24px 28px -20px;
    overflow: hidden;
    background: #111;
  }

  .mobile-about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
  }

  .mobile-portfolio-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .mobile-book-list {
    display: grid;
    gap: 16px;
    margin-top: 24px;
  }

  .mobile-book-card {
    --book-thumb-size: clamp(104px, 34vw, 132px);
    display: grid;
    grid-template-columns: var(--book-thumb-size) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding-top: 14px;
  }

  .mobile-book-card > div {
    min-width: 0;
  }

  .mobile-book-card img {
    display: block;
    width: var(--book-thumb-size);
    height: var(--book-thumb-size);
    object-fit: cover;
    background: #ddd;
  }

  .mobile-book-card h3 {
    margin-top: 0;
    font-size: 17px;
    line-height: 1.05;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .mobile-book-meta {
    margin: 8px 0 0;
    font: 700 13px/1.4 Arial, Helvetica, sans-serif;
  }

  .mobile-book-button {
    min-height: 35px;
    margin-top: 10px;
    padding: 0 16px;
    font-size: 14px;
  }

  .chat-widget {
    left: 12px !important;
    right: auto !important;
    width: 118px !important;
    bottom: 12px;
    min-width: 0;
    height: 38px;
    padding: 0 12px;
    gap: 8px;
    font-size: 12px;
  }

  .chat-icon {
    width: 17px;
    height: 17px;
  }
}
