/* Indigo Intuitive Acupressure Massage - shared site styles */

:root {
  --indigo: #1d2675;
  --indigo-deep: #121852;
  --indigo-soft: #e8e9f4;
  --paper: #f8f6f1;
  --white: #ffffff;
  --ink: #2a2b33;
  --muted: #5d5f6b;
  --line: #dcdbe3;
  --serif: "Lato", "Helvetica Neue", Arial, sans-serif;
  --sans: "Lato", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --narrow: 760px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 60px;
}

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

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

p { margin: 0 0 1.1em; text-wrap: pretty; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 300;
  color: var(--indigo-deep);
  line-height: 1.25;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: 1.6rem; }

.eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-bottom: .9rem;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

.section { padding: 96px 0; }
.section-white { background: var(--white); }

/* Header */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  border-top: 1px solid rgba(255, 255, 255, .6);
  box-shadow: 0 -4px 24px rgba(18, 24, 82, .12);
}

/* Frosted glass sits on a separate layer so the phone menu panel can blur too */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

.site-header .wrap {
  max-width: 1320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--indigo-deep);
}

.brand img { width: 34px; height: 34px; }

.brand span {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.05;
  white-space: nowrap;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--indigo);
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 24px; }

.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav a:hover, .nav a[aria-current="page"] { color: var(--indigo); }

.nav .ig { display: flex; }
.nav .ig svg { width: 20px; height: 20px; }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--indigo-deep);
}

.menu-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1180px) {
  .menu-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-top: 1px solid rgba(255, 255, 255, .6);
    box-shadow: 0 -8px 24px rgba(18, 24, 82, .1);
    padding: 8px 24px 8px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background: url("../images/bg.jpg") center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 82, .15) 0%, rgba(18, 24, 82, .55) 100%);
}

.hero-inner { position: relative; padding: 0 16px; }

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 28px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 7.4vw, 4rem);
  font-weight: 300;
  letter-spacing: .02em;
  margin-bottom: .25em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}

.hero h1 b { font-weight: 700; display: block; white-space: nowrap; }

.hero p {
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .3);
}

.btn {
  display: inline-block;
  background: var(--indigo);
  color: var(--white);
  text-decoration: none;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: 0;
  border-radius: 10px;
  font-family: var(--sans);
  line-height: 1.4;
  cursor: pointer;
  transition: background .2s;
}

.btn:hover { background: var(--indigo-deep); }

.btn-light { background: var(--white); color: var(--indigo-deep); }
.btn-light:hover { background: var(--indigo-soft); }

.btn:disabled { opacity: .45; cursor: not-allowed; }

/* Intro */
.intro-lead {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--indigo-deep);
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  max-width: 940px;
  margin: 0 auto 72px;
}

.pillar { width: 100%; max-width: 280px; margin: 0 auto; }
.pillar img { width: 100%; }

/* Tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 10px;
  text-decoration: none;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 82, 0) 40%, rgba(18, 24, 82, .75) 100%);
}

.tile span {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 1;
  color: var(--white);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.tile:hover img { transform: scale(1.05); }

/* Scroll-in motion (only when JavaScript is running and motion is allowed) */
.js-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1);
}

.js-reveal .pillar.reveal { transform: scale(.82); }
.js-reveal .photo.reveal img { transform: scale(1.12); transition: transform 1.4s cubic-bezier(.2, .7, .2, 1); }

.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .photo.reveal.in img { transform: none; }

/* Circles float gently once they've arrived */
@keyframes breathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.js-reveal .pillar.in img { animation: breathe 6s ease-in-out 1s infinite; }
.js-reveal .pillar.in:nth-child(2) img { animation-delay: 2s; }
.js-reveal .pillar.in:nth-child(3) img { animation-delay: 3s; }

/* Two columns */
.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

/* Photo rows */
.photo-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.photo {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 10px;
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Quote bands */
.quote-band {
  position: relative;
  padding: 120px 24px;
  color: var(--white);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 24, 82, .62);
}

.quote-band blockquote {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.quote-band blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.quote-band cite {
  font-style: normal;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.q-flower-top { background-image: url("../images/ailmentsrelieved.jpg"); background-position: center 30%; }
.q-flower-bottom { background-image: url("../images/ailmentsrelieved.jpg"); background-position: center 75%; }
.q-ginger { background-image: url("../images/candiedgingerbg.jpg"); }
.q-flowers { background-image: url("../images/flowersbg.jpg"); }

@media (hover: none), (max-width: 1024px) {
  .quote-band { background-attachment: scroll; }
}

/* Techniques */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 56px;
}

.tech-grid > div { background: var(--white); padding: 36px 36px 28px; }
.tech-grid h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; }
.tech-grid p { color: var(--muted); }

/* Ailments */
.symptoms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.symptoms li {
  padding: 10px 0 10px 22px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.symptoms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--indigo);
}

.callout {
  background: var(--indigo-soft);
  padding: 28px 32px;
  border-left: 3px solid var(--indigo);
  border-radius: 10px;
  margin: 28px 0;
}

.callout h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .4em; }
.callout p:last-child { margin-bottom: 0; }

/* Holistic */
.feature-card h3 { font-size: 1.3rem; font-weight: 700; }

.feature-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 28px;
}

/* Stay in touch */
.contact { background: var(--indigo-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: stretch;
}

.contact-grid > *, .contact-form > * { min-width: 0; }

.contact-photo {
  position: relative;
  min-height: 420px;
  border-radius: 10px;
  overflow: hidden;
}

.contact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-intro { font-size: 1.1rem; color: var(--muted); margin-bottom: 28px; }

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  background: var(--white);
  border-radius: 10px;
  text-decoration: none;
  color: var(--indigo-deep);
  font-weight: 700;
  box-shadow: 0 1px 2px rgba(18, 24, 82, .06);
  transition: box-shadow .2s, transform .2s;
}

.contact-card:hover { box-shadow: 0 6px 20px rgba(18, 24, 82, .12); transform: translateY(-1px); }

.contact-card small {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-card b { font-weight: 700; }

.contact-icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--indigo);
  color: var(--white);
}

.contact-icon svg { width: 20px; height: 20px; }

.form-card {
  background: var(--white);
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 1px 2px rgba(18, 24, 82, .06);
}

.form-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }

/* Contact form */
.contact-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 24px;
}

.contact-form .full { grid-column: 1 / -1; }

.contact-form label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
}

.contact-form textarea { min-height: 150px; resize: vertical; }

.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--indigo);
  outline-offset: -1px;
  border-color: var(--indigo);
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Footer */
.site-footer {
  position: relative;
  padding: 140px 24px 40px;
  color: var(--white);
  background: url("../images/footer.jpg") center / cover no-repeat;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 24, 82, .1) 0%, rgba(18, 24, 82, .8) 100%);
}

.site-footer .wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .9rem;
}

.site-footer a { color: var(--white); }

.site-footer .wrap > span { text-wrap: balance; }

.footer-ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-ig svg { width: 18px; height: 18px; }

/* My Story */
.story-hero {
  min-height: calc(100vh - 60px);
  background: url("../images/Jess-Maron-Bio.jpg") center 12% / cover no-repeat;
}

.story {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 72px;
  align-items: start;
}

.story-aside { position: sticky; top: 40px; }

.story-portrait {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 1 / 1;
  margin-bottom: 24px;
}

.story-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* Moving photo: only shown when the scroll effect is running */
.story-fly { display: none; }

.story-fly-on .story-fly {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  object-fit: cover;
  object-position: center 12%;
  pointer-events: none;
  will-change: transform, width, height;
}

.story-fly-on .story-hero { background: none; }
.story-fly-on .story-portrait img { visibility: hidden; }

.story-aside h1 { font-size: 2.2rem; margin-bottom: .2em; }
.story-aside p { color: var(--muted); font-size: .95rem; }

.story-lead {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--indigo-deep);
  margin-bottom: 40px;
}

.story-body a { text-decoration-color: rgba(29, 38, 117, .35); text-underline-offset: 3px; }

/* Responsive */
@media (max-width: 1100px) {
  .contact-cards { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .cols-2, .story { grid-template-columns: 1fr; gap: 40px; }
  .wrap .narrow { padding: 0; }
  .tiles { grid-template-columns: 1fr 1fr; gap: 12px; }
  .tile span { font-size: 1rem; left: 14px; bottom: 10px; }
  .tech-grid { grid-template-columns: 1fr; }
  .tech-grid > div { padding: 28px 24px 20px; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .contact-photo { min-height: 0; aspect-ratio: 16 / 9; }
  .story-aside { position: static; text-align: center; }
  .story-portrait { max-width: 200px; margin: 0 auto 20px; }
  .quote-band { padding: 88px 24px; }
}

@media (max-width: 700px) {
  .photo-row { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 560px) {
  .g-recaptcha { width: 304px; max-width: 100%; }
}

@media (max-width: 380px) {
  .g-recaptcha { transform: scale(.88); transform-origin: 0 0; height: 69px; }
}

@media (max-width: 340px) {
  .g-recaptcha { transform: scale(.78); height: 61px; }
}

@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .symptoms { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .form-card { padding: 24px 16px; }
  .contact-card b { overflow-wrap: anywhere; }
  .btn { font-size: .72rem; letter-spacing: .08em; padding: 16px 18px; }
  .tiles { grid-template-columns: 1fr; gap: 14px; }
  .tile { aspect-ratio: 16 / 9; }
  .tile span { font-size: 1.2rem; left: 18px; bottom: 14px; }
  .site-footer .wrap { flex-direction: column; align-items: flex-start; }
}
