/* Ojai Valley MedSpa — static rebuild of the Squarespace site */

@font-face {
  font-family: "Aloha Paradise Regular";
  src: url("../fonts/AlohaParadise-Regular.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Aloha Paradise Bold";
  src: url("../fonts/AlohaParadise-Bold.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Classico";
  src: url("../fonts/Classico.otf") format("opentype");
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-latin.woff2") format("woff2");
  font-weight: 300 800;
  font-display: swap;
}

:root {
  --ink: #3d3d3d;
  --peach: #fdf0e6;
  --tan: #ccab93;
  --mint: #a5d5cf;
  --white: #fff;
  --gutter: 3vw;            /* 43px at 1440 */
  --header-h: 312px;
  --narrow: 70.5%;          /* 1015px of 1440 */
}

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

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

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 1.3;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3, h4, p { margin: 0; }

h1 {
  font-family: "Aloha Paradise Bold", serif;
  font-weight: 300;
  font-size: 62.72px;
  line-height: 1.2376;
}
h2 {
  font-family: "Aloha Paradise Regular", serif;
  font-weight: 300;
  font-size: 44.24px;
  line-height: 1.3;
}
h3 {
  font-family: "Classico", serif;
  font-weight: 300;
  font-size: 34.16px;
  line-height: 1.35;
}
h4 {
  font-family: "Open Sans", sans-serif;
  font-weight: 300;
  font-size: 22.4px;
  line-height: 1.372;
}

.rte > * + * { margin-top: 1em; }
.rte ul { margin: 1em 0; padding-left: 40px; }
.rte li + li { margin-top: 0; }
.rte a { color: inherit; }
.rte strong { font-weight: 600; }

.tan { color: var(--tan); }
.white { color: var(--white); }
.center { text-align: center; }
.bg-peach { background: var(--peach); }
.bg-dark { background: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: kepler-std, "Times New Roman", Times, serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--white);
  background: var(--mint);
  padding: 15.4px 25.7px;
  text-decoration: none;
  transition: opacity 0.1s linear;
}
.btn:hover { opacity: 0.8; }
.btn--sans { font-family: "Open Sans", sans-serif; letter-spacing: 0.02em; }
.btn--large { padding: 24px 69px; }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  height: var(--header-h);
  background: var(--white);
  padding: 19px var(--gutter) 18px;
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.header-nav {
  display: flex;
  flex-wrap: wrap;
  column-gap: 23px;
  row-gap: 3.5px;
  max-width: 449px;
}
.header-nav a {
  font-size: 17.36px;
  line-height: 1.3;
  padding: 1.7px 0;
  text-decoration: none;
  color: var(--ink);
}
.header-nav a:hover,
.header-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.header-logo img { width: 433px; height: 275px; object-fit: contain; }
.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-ig { width: 20px; height: 20px; display: block; color: var(--ink); }
.header-actions .btn {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  padding: 15.4px 25.7px;
  letter-spacing: 0.02em;
}

.burger {
  display: none;
  background: none;
  border: 0;
  width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 40;
}
.burger span {
  position: absolute;
  left: 0;
  width: 36px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
.burger span:nth-child(1) { top: 10px; }
.burger span:nth-child(2) { top: 18px; }
.burger span:nth-child(3) { top: 26px; }
.menu-open .burger span:nth-child(1) { top: 18px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { top: 18px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 6vw 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow-y: auto;
}
.menu-open .mobile-menu { opacity: 1; visibility: visible; }
.site-header { z-index: 40; }
.menu-open .site-header { position: fixed; top: 0; left: 0; right: 0; }
.menu-open { overflow: hidden; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mobile-menu nav a {
  font-size: 33px;
  line-height: 1.3;
  text-decoration: none;
  text-align: center;
}
.mobile-menu .btn { margin-top: 28px; font-family: "Open Sans", sans-serif; font-weight: 400; width: 100%; max-width: 340px; text-align: center; }
.mobile-menu .icon-ig { margin-top: 22px; }

/* ---------- Generic section ---------- */
.section { position: relative; }
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.narrow { width: var(--narrow); margin: 0 auto; }

.page-title { padding: 48px var(--gutter) 47px; text-align: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 69px 26px 68px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 116px 347px 463px 116px 1fr;
  align-items: start;
}
.footer-col { text-align: center; }
.footer-col h4 { color: var(--tan); margin-bottom: 23px; }
.footer-col p + p { margin-top: 14px; }
.footer-col a { color: var(--white); text-decoration: none; }
.footer-col .map-links a { color: var(--tan); text-decoration: underline; text-underline-offset: 2px; }
.footer-col a.niche { color: var(--tan); text-decoration: underline; text-underline-offset: 2px; }
.footer-icon { grid-column: 4; display: flex; justify-content: center; }
.footer-icon img { width: 82px; height: 82px; border-radius: 50%; background: #fff; object-fit: cover; }

/* =========================================================
   HOME
   ========================================================= */
.home-hero { margin-top: 29px; padding: 48px var(--gutter) 47px; }
.home-hero .card-wrap { position: relative; height: 529px; }
.home-hero .card-img { width: 54.95%; height: 529px; object-fit: cover; }
.home-hero .card {
  position: absolute;
  right: 0;
  top: 123px;
  width: 55.02%;
  background: var(--white);
  padding: 44px 23px 23px;
}
.home-hero .card h2 { margin-bottom: 38px; }

.services-strip { padding: 89px 0 107px; }
.services-strip hr { border: 0; border-top: 1px solid var(--ink); margin: 0; }
.services-strip h2 { padding: 41px 0; }

.meet {
  height: 861px;
  background: url("../img/watercolor-banner3.png") center / cover no-repeat;
}
.meet .portrait {
  position: absolute;
  left: 47%;
  top: 95px;
  width: 469px;
  height: 586px;
  object-fit: cover;
}
.meet .card {
  position: absolute;
  left: 20.4%;
  top: 169px;
  width: 469px;
  background: var(--peach);
  padding: 22px 21px 28px;
}
.meet .card h1 { font-size: 62.72px; line-height: 1.2376; }
.meet .card h1 .sub { display: block; }
.meet .card p { margin-top: 20px; max-width: 426px; }
.meet .card .btn { margin-top: 50px; }

.spacer-180 { height: 180px; }

.insta { padding: 48px var(--gutter) 47px; text-align: center; }
.insta h2 { margin-top: 27px; }
.insta h2 a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4em; }
.insta h2 a .icon-ig { width: 0.9em; height: 0.9em; color: inherit; flex: none; }
.insta h2 a:hover span, .insta h2 a:focus-visible span { text-decoration: underline; }
.insta p { height: 18px; margin-top: 29px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about-top-img { padding: 48px 0 47px; }
.about-top-img img { width: 491px; height: 491px; object-fit: cover; margin: 0 auto; }
.about-mission { padding: 14px var(--gutter) 15px; }
.about-mission h2 { font-size: 44.24px; }
.about-located {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  padding: 95px var(--gutter) 111px;
}
.about-located .copy { text-align: center; padding-top: 86px; }
.about-located .copy .btn { margin-top: 35px; }
.about-located .media img { width: 100%; height: 384px; object-fit: cover; }
.about-located .media .btn { margin-top: 153px; margin-left: 84px; }
.team-heading { padding: 33px var(--gutter); text-align: center; }

.team {
  background: url("../img/watercolor-banner4.png") center / cover no-repeat;
  padding: 95px 0 112px;
}
.member { position: relative; height: 616px; }
.member + .member { margin-top: 170px; }
.member .portrait { position: absolute; width: 462px; height: 616px; object-fit: cover; }
.member .card { position: absolute; background: var(--peach); }
.member--constanze .portrait { left: 20.8%; top: 0; }
.member--constanze .card { left: 47.2%; top: 202px; width: 457px; padding: 15px 18px 20px; }
.member--constanze .card h1 { font-size: 62.72px; line-height: 1.2376; }
.member--kelsey { height: 617px; }
.member--kelsey .portrait { left: 47.1%; top: 0; }
.member--kelsey .card { left: 20.8%; top: 43px; width: 462px; padding: 18px 21px 24px; }
.member--kelsey .card h1 { font-size: 62.72px; line-height: 1.2376; display: inline; }
.member--kelsey .card h2 { font-size: 44.24px; display: inline; }
.member--kelsey .card p { margin-top: 14px; }
.book-now-row { padding: 125px 0; text-align: center; }

/* =========================================================
   SERVICES
   ========================================================= */
.svc-list { background: var(--peach); padding: 48px 0 0; }
.svc-list { padding: 0; }
.svc {
  display: grid;
  grid-template-columns: 403px 578px;
  column-gap: 35px;
  justify-content: center;
  align-content: center;
  align-items: start;
  padding: 48px 0;
  min-height: 297px;
}
.svc h2 { color: var(--tan); max-width: 316px; }
.svc:first-child h2 { max-width: 403px; }
.svc .note { margin-top: 33px; }
.tip .rte li + li { margin-top: 1em; }

/* =========================================================
   BEFORE & AFTER
   ========================================================= */
.ba-title { padding: 95px var(--gutter) 95px; text-align: center; }
.ba-title p { color: var(--tan); margin-top: 28px; }
.ba-grid {
  background: var(--peach);
  padding: 43px var(--gutter) 43px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 67px;
  row-gap: 66px;
  align-items: start;
}
.ba-grid img { width: 100%; height: auto; }
.ba-grid .col-2 { grid-column: 2; }
.ba-bottom-space { height: 594px; }

/* =========================================================
   BOOK APPOINTMENT
   ========================================================= */
.book {
  display: grid;
  grid-template-columns: 726fr 714fr;
  min-height: 831px;
}
.book .copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 201px var(--gutter) 0;
  text-align: center;
}
.book .copy .btn { margin-top: 54px; font-size: 14px; }
.book .media img { width: 100%; height: 831px; object-fit: cover; }

/* =========================================================
   PAYMENT PLANS
   ========================================================= */
.payment { padding: 111px var(--gutter) 88px; }
.payment #all { max-width: 1440px; margin: 0 auto; }

/* =========================================================
   PURCHASE SKINMEDICA
   ========================================================= */
.marquee-pill {
  width: 330px;
  height: 69px;
  margin: 48px auto 0;
  border-radius: 999px;
  background: var(--peach);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 12s linear infinite;
}
.marquee-track span {
  font-family: "Aloha Paradise Bold", serif;
  font-size: 22.4px;
  padding-right: 18px;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.purchase-title { text-align: center; padding: 51px 0 0; }
.purchase-title h1 { font-size: 225.8px; line-height: 1; letter-spacing: -0.01em; }
.purchase-body {
  display: grid;
  grid-template-columns: 501px 1fr;
  width: var(--narrow);
  margin: 55px auto 0;
  padding-bottom: 47px;
  align-items: center;
}
.purchase-body img { width: 501px; height: 631px; object-fit: cover; }
.purchase-body .cta { display: flex; justify-content: center; padding-left: 124px; justify-content: flex-start; }

/* =========================================================
   TERMS
   ========================================================= */
.terms { padding: 136px var(--gutter) 95px; }
.terms .rte { width: 671px; max-width: 100%; margin: 0 auto; }
.terms h3 { margin-bottom: 27px; }
.terms h3:not(:first-child) { margin-top: 48px; }

/* =========================================================
   TIPS & TRICKS
   ========================================================= */
.tips-hero {
  height: 588px;
  background: var(--ink) url("../img/tips-01.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.tips-intro { padding: 181px 0 150px; }
.tips-intro h2 { text-align: center; }
.tip {
  display: grid;
  grid-template-columns: 609px 609px;
  justify-content: space-between;
  column-gap: 40px;
  padding: 48px var(--gutter) 47px;
  align-items: start;
}
.tip .rte h2 { margin-bottom: 28px; }
.tip .rte h4 { margin-top: 2em; }
.tip .rte h2 + h4 { margin-top: 0; }
.tip img { width: 100%; height: auto; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-hero {
  background: var(--peach);
  min-height: 486px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 var(--gutter) 47px;
}
.contact-info { padding: 108px 0 380px; }
.contact-info .inner { width: var(--narrow); margin: 0 auto; }
.contact-info h2 { margin-bottom: 24px; }
.contact-info p + p { margin-top: 14px; }
.contact-info .email { color: var(--tan); font-weight: 700; font-style: italic; text-decoration: none; }
.contact-info .phone-row { display: flex; align-items: center; gap: 77px; margin-top: 30px; }
.contact-info .call-note { font-style: italic; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .svc { grid-template-columns: 34% 46%; }
  .tip { grid-template-columns: 1fr 1fr; }
  .purchase-title h1 { font-size: 15.7vw; }
  .purchase-body { grid-template-columns: 1fr 1fr; gap: 40px; }
  .purchase-body img { width: 100%; height: auto; }
  .purchase-body .cta { padding-left: 0; justify-content: center; }
  .footer-grid { grid-template-columns: 0 1fr 1.3fr 116px 0.5fr; }
}

@media (max-width: 1100px) {
  .meet { height: auto; padding: 95px var(--gutter); }
  .meet .portrait, .meet .card { position: static; }
  .meet .inner { display: flex; flex-direction: row-reverse; justify-content: center; align-items: center; }
  .meet .card { margin-right: -60px; position: relative; z-index: 1; }
  .member { height: auto; display: flex; justify-content: center; align-items: center; }
  .member .portrait, .member .card { position: static; }
  .member--constanze .card { margin-left: -60px; }
  .member--kelsey { flex-direction: row-reverse; }
  .member--kelsey .card { margin-right: -60px; position: relative; z-index: 1; }
  .home-hero .card { top: auto; bottom: 0; width: 60%; }
  .meet .card, .member .card { top: auto; left: auto; }
}

/* Mobile header + nav (Squarespace switches at ~799px) */
@media (max-width: 799px) {
  :root { --header-h: 156px; --gutter: 6vw; --narrow: 88%; }
  .site-header { padding: 23px var(--gutter); }
  .header-inner { grid-template-columns: 1fr auto; }
  .header-nav, .header-actions { display: none; }
  .header-logo img { width: 170px; height: 109px; object-position: left center; }
  .burger { display: block; }
}

@media (min-width: 641px) and (max-width: 949px) {
  h1 { font-size: 60px; }
  h2 { font-size: 45px; }
  h3 { font-size: 22px; }
  p, li { font-size: 16px; }
}

@media (max-width: 767px) {
  .about-located, .book, .tip, .svc, .purchase-body { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; row-gap: 40px; }
  .footer-icon { grid-column: auto; }
  .footer-icon img { width: 343px; height: 343px; max-width: 100%; aspect-ratio: 1; height: auto; }
}

@media (max-width: 640px) {
  h1 { font-size: 30px; }
  h2 { font-size: 25px; }
  h3 { font-size: 22px; }
  h4 { font-size: 20px; }
  p, li { font-size: 15px; }

  .home-hero { padding: 45px var(--gutter) 45px; }
  .home-hero .card-wrap { height: auto; }
  .home-hero .card-img { width: 90%; height: auto; aspect-ratio: 309 / 219; }
  .home-hero .card { position: relative; width: 90%; margin: -52px 0 0 10%; padding: 22px 15px 16px; }
  .home-hero .card h2 { margin-bottom: 20px; }

  .services-strip { padding: 32px var(--gutter) 105px; }
  .services-strip .narrow { width: 100%; }
  .services-strip h2 { padding: 40px 0; }

  .meet { padding: 0 var(--gutter) 150px; background: none; }
  .meet .inner { flex-direction: column; align-items: flex-end; }
  .meet .portrait { width: 90%; height: auto; aspect-ratio: 309 / 386; }
  .meet .card { width: 90%; margin: -52px 10% 0 0; align-self: flex-start; padding: 22px 15px 16px; }
  .meet .card .btn { margin-top: 40px; }
  .home-hero { margin-top: 51px; }
  .meet .card h1 { font-size: 25px; }
  .meet .card .sub { display: inline; }
  .meet .card p { font-size: 14px; }

  .spacer-180 { height: 0; }
  .insta { padding: 75px var(--gutter) 70px; }

  .about-top-img img { width: 88%; height: auto; aspect-ratio: 1; }
  .about-mission h2 { font-size: 25px; }
  .about-located { padding: 50px var(--gutter); }
  .about-located .copy { padding-top: 0; }
  .about-located .media img { height: auto; aspect-ratio: 660 / 384; }
  .about-located .media .btn { margin: 30px auto 0; display: table; }
  .team { padding: 50px var(--gutter); background-size: 200% auto; background-position: center top; }
  .member, .member--kelsey { flex-direction: column; align-items: stretch; }
  .member .portrait { width: 90%; height: auto; aspect-ratio: 3 / 4; }
  .member .card { width: 90% !important; margin: -40px 0 0 10% !important; }
  .member--kelsey .card { margin: -40px 10% 0 0 !important; }
  .member--kelsey .portrait { align-self: flex-end; }
  .member + .member { margin-top: 70px; }
  .member--constanze .card h1, .member--kelsey .card h1 { font-size: 25px; }
  .member--kelsey .card h2 { font-size: 22px; }
  .book-now-row { padding: 60px 0; }

  .svc { padding: 0 var(--gutter) 70px; min-height: 0; row-gap: 18px; align-content: start; }
  .svc-list { padding-top: 40px; }

  .ba-title { padding: 50px var(--gutter); }
  .ba-grid { grid-template-columns: 1fr; row-gap: 30px; padding: 30px var(--gutter); }
  .ba-grid .col-2 { grid-column: auto; }
  .ba-bottom-space { height: 60px; }

  .book .copy { padding: 60px var(--gutter); }
  .book .media img { height: auto; aspect-ratio: 390 / 450; }
  .book { min-height: 0; }

  .payment { padding: 40px var(--gutter); }

  .purchase-title h1 { font-size: 15.5vw; }
  .purchase-body { width: auto; padding: 0 var(--gutter) 47px; gap: 30px; }

  .terms { padding: 40px var(--gutter); }

  .tips-hero { height: 360px; }
  .tips-intro { padding: 70px var(--gutter); }
  .tip { padding: 30px var(--gutter); row-gap: 30px; }
  .tip .media { order: -1; }

  .contact-hero { min-height: 220px; }
  .contact-info { padding: 60px var(--gutter) 120px; }
  .contact-info .inner { width: auto; }
  .contact-info h2 { font-size: 30px; }
}
