/* Arked Brow Bar & Spa — rebuilt from the Squarespace site for Netlify hosting.
   Fonts: the Squarespace site used Adobe Fonts (Baskerville Display PT, Omnes Pro,
   Freight Text Pro), which are licensed to Squarespace. These are the closest free
   Google Fonts equivalents. */

:root {
  --charcoal: #474545;   /* main text, dark hero overlay, buttons */
  --black: #1f1f1f;      /* footer */
  --grey: #eaeaea;       /* "About us" + booking sections */
  --off-white: #fbfbfb;  /* "Our services" section */
  --white: #ffffff;
  --field: #fafafa;

  --font-display: "Baskervville", "Baskerville", "Libre Baskerville", Georgia, serif;
  --font-body: "Nunito", "Helvetica Neue", Arial, sans-serif;
  --font-button: "Crimson Pro", Georgia, serif;

  --container: min(80%, 1200px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(15px, 1.68vw, 18px);
  line-height: 1.7;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0;
  margin: 0;
}
h1 { font-size: clamp(38px, 5.16vw, 64px); line-height: 1.2; }
h2 { font-size: clamp(30px, 3.72vw, 46px); line-height: 1.3; }
h3 { font-size: clamp(34px, 4.92vw, 62px); line-height: 1.1; }
h4 { font-size: clamp(20px, 2.28vw, 28px); line-height: 1.37; }

p { margin: 0 0 1em; }

.container { width: var(--container); margin: 0 auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--white);
  color: #000;
  padding: 16px 26px;
  font-family: var(--font-button);
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-button);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  padding: 17px 29px;
  border: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.8; }
.btn--light { background: var(--white); color: #000; }
.btn--dark { background: var(--charcoal); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 3vw;
  color: var(--white);
}
.site-header__logo img { width: clamp(150px, 22vw, 260px); }
.site-header__phone {
  text-decoration: none;
  font-size: clamp(15px, 1.68vw, 18px);
  letter-spacing: 0.03em;
}
.site-header__phone:hover { opacity: 0.8; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--white);
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  margin: 7px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
  color: var(--white);
  font-size: 22px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-menu a { text-decoration: none; }
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu { opacity: 1; visibility: visible; }
body.menu-open .site-header { position: fixed; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Curved section dividers ---------- */
.has-divider { position: relative; }
.divider {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  display: block;
  pointer-events: none;
}
.divider--arc { height: 6vw; }    /* home hero */
.divider--sweep { height: 8vw; }  /* pricing page headers */

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 465px;
  height: 45.4vw;
  max-height: 760px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: var(--charcoal) url("/images/hero.webp") center / cover no-repeat;
  padding: 110px 6vw calc(6vw + 20px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(71, 69, 69, 0.4);
}
.hero__content { position: relative; max-width: 560px; }
.hero h4 { margin: 0.5em 0 1.3em; }

/* ---------- Hand-drawn underline on section titles ---------- */
.underline {
  padding-bottom: 0.18em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9.5C40 6.5 95 5.2 140 5.4c20 .1 40 .8 57 1.9' fill='none' stroke='%23918f8f' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E")
    left bottom / 104% 0.32em no-repeat;
}

/* ---------- About ---------- */
.about { background: var(--grey); padding: 72px 0 90px; }
.about h2 { margin-bottom: 1.1em; }
.about p { max-width: 500px; }

/* ---------- Services ---------- */
.services { background: var(--off-white); padding: 80px 0 96px; }
.services h2 { margin-bottom: 1.1em; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 72px;
  row-gap: 20px;
  max-width: 740px;
}
.service h4 { margin-bottom: 0.2em; }
.service p { font-size: 0.86em; line-height: 1.75; }

/* ---------- Pricing page header ---------- */
.page-header {
  position: relative;
  background: var(--charcoal);
  color: var(--white);
  padding: 150px 0 8vw;
}
.page-header__eyebrow {
  font-family: var(--font-button);
  font-size: 14px;
  letter-spacing: 0.04em;
  margin: 0 0 0.6em;
}
.page-header h1 { margin-bottom: 0.15em; }
.back-link {
  font-weight: 700;
  font-size: 14px;
  margin: 0;
}

/* ---------- Price lists ---------- */
.pricing { background: var(--white); padding: 64px 0 80px; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 60px;
  max-width: 760px;
}
.pricing__group + .pricing__group { margin-top: 48px; }
.pricing h4 { font-weight: 600; margin-bottom: 0.5em; }
.pricing__subtitle {
  font-family: var(--font-button);
  font-size: 16px;
  margin: -0.4em 0 1.2em;
}
.pricing__label {
  font-size: 12px;
  font-weight: 700;
  margin: 1.6em 0 1em;
}
.pricing p.item {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 1.1em;
}
.pricing p.item--tight { margin-bottom: 0; }
.pricing__group--facial p.item { text-transform: none; }

/* ---------- Booking call-to-action ---------- */
.cta {
  background: var(--grey);
  padding: 80px 0;
  text-align: center;
}
.cta h3 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 0.8em; }
.cta p { max-width: 640px; margin: 0 auto 2em; font-size: 15px; }

/* ---------- Footer / contact ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 76px 0 90px; }
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 273fr) minmax(0, 435fr);
  column-gap: 92px;
  max-width: 800px;
}
.footer__contact h2 { margin-bottom: 0.8em; }
.footer__contact p { font-size: 15px; }
.footer__contact em { font-style: italic; }
.footer__contact a { text-underline-offset: 3px; }
.footer__contact .contact-lines a { display: inline-block; }

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 80px);
  margin-top: 1.4em;
}
.instagram-grid a,
.instagram-grid div {
  position: relative;
  display: block;
  width: 80px;
  height: 80px;
  overflow: hidden;
}
.instagram-grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.2s; }
.instagram-grid a:hover img { opacity: 0.8; }
.instagram-grid .play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #fff;
  filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.3));
}

/* Contact form */
.contact-form fieldset { border: 0; margin: 0 0 18px; padding: 0; }
.contact-form legend { padding: 0 0 4px; font-size: 15px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.contact-form label { display: block; font-size: 12px; margin-bottom: 18px; }
.contact-form .field-label { display: block; margin-bottom: 5px; }
.contact-form .req { opacity: 0.7; margin-left: 4px; }
.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px;
  font: inherit;
  font-size: 16px;
  color: #000;
  background: var(--field);
  border: 1px solid #000;
  border-radius: 0;
}
.contact-form input { height: 41px; }
.contact-form textarea { height: 100px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { outline: 2px solid #9a9898; outline-offset: 1px; }
.contact-form .hidden { display: none; }
.form-message { font-size: 16px; }
.form-message[hidden] { display: none; }

/* ---------- Simple pages (404 / thank you) ---------- */
.simple-page {
  min-height: 60vh;
  padding: 180px 0 100px;
  background: var(--charcoal);
  color: var(--white);
}
.simple-page h1 { margin-bottom: 0.4em; }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  :root { --container: calc(100% - 48px); }

  .site-header { padding: 18px 16px; }
  .site-header__phone { display: none; }
  .menu-toggle { display: block; }

  .hero { height: auto; min-height: 520px; padding-left: 24px; padding-right: 24px; }
  .hero__content { max-width: 100%; }

  .about,
  .services { padding: 56px 0 64px; }

  .services__grid,
  .pricing__grid,
  .footer__grid { grid-template-columns: 1fr; }
  .services__grid { row-gap: 28px; }
  .pricing__grid > div + div { margin-top: 48px; }

  .page-header { padding-top: 130px; }

  .footer__grid { row-gap: 48px; }
  .contact-form .row { grid-template-columns: 1fr; gap: 0; }
}
