/* ==========================================================================
   Rewire Hub – styles
   Edit the custom properties below to re-theme the whole site.
   ========================================================================== */

:root {
  /* Palette taken from brand/logo.jpg */
  --c-ink: #33102a;          /* plum-black – logo lettering */
  --c-ink-soft: #5f4659;
  --c-brand: #5e1747;        /* deep plum – logo ring; also the Cal.com brand colour */
  --c-brand-dark: #45102f;
  --c-accent: #9a449b;       /* orchid – the head silhouette and wave */
  --c-glow: #f4c0b7;         /* warm peach – the glowing heart */
  --c-cream: #faf5fb;        /* page background – logo lavender, lightened */
  --c-tint: #f1e5f6;         /* logo lavender */
  --c-white: #ffffff;
  --c-line: #e6d6ec;

  --f-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --f-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px -12px rgb(94 23 71 / 0.25);
  --container: 1120px;
  --space: clamp(3.5rem, 8vw, 6.5rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 5rem; background: var(--c-cream); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--f-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
  color: var(--c-ink);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.9rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1em; }

a { color: var(--c-brand); }
a:hover { color: var(--c-brand-dark); }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 760px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-accent); margin-bottom: 0.8rem;
}
.lead { font-size: 1.2rem; color: var(--c-ink-soft); max-width: 34em; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--c-brand); color: var(--c-white); box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--c-brand-dark); color: var(--c-white); transform: translateY(-1px); }
.btn--ghost { border-color: var(--c-brand); color: var(--c-brand); }
.btn--ghost:hover { background: var(--c-brand); color: var(--c-white); }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.95rem; background: var(--c-brand); color: var(--c-white); }
.btn--small:hover { background: var(--c-brand-dark); color: var(--c-white); }
.btn--large { padding: 1rem 1.8rem; font-size: 1.05rem; }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(250 245 251 / 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgb(94 23 71 / 0.08);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 4.5rem; }

.logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--f-serif); font-size: 1.35rem; color: var(--c-ink); text-decoration: none;
}
.logo__mark { width: 52px; height: 52px; border-radius: 50%; }

.site-nav__list { display: flex; align-items: center; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.site-nav__list a:not(.btn) { color: var(--c-ink); text-decoration: none; font-weight: 500; }
.site-nav__list a:not(.btn):hover { color: var(--c-brand); }

.site-nav__toggle { display: none; background: none; border: 0; padding: 0.75rem; cursor: pointer; }
.site-nav__bars, .site-nav__bars::before, .site-nav__bars::after {
  display: block; width: 24px; height: 2px; background: var(--c-ink); position: relative; transition: transform .2s;
}
.site-nav__bars::before, .site-nav__bars::after { content: ""; position: absolute; left: 0; }
.site-nav__bars::before { top: -7px; }
.site-nav__bars::after  { top: 7px; }
.site-nav__toggle[aria-expanded="true"] .site-nav__bars { background: transparent; }
.site-nav__toggle[aria-expanded="true"] .site-nav__bars::before { transform: translateY(7px) rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .site-nav__bars::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .site-nav__toggle { display: block; }
  .site-nav__list {
    display: none; position: absolute; inset: 4.5rem 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--c-cream); padding: 1rem 1.25rem 1.5rem;
    border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow);
  }
  .site-nav__list.is-open { display: flex; }
  .site-nav__list li { padding: 0.6rem 0; }
  .site-nav__list .btn { width: 100%; margin-top: 0.5rem; }
}

/* Hero ------------------------------------------------------------------- */
.hero { padding: clamp(2rem, 6vw, 5rem) 0 0; overflow-x: clip; }  /* no bottom padding on phones: the next section brings its own */
@media (min-width: 861px) { .hero { padding-bottom: 2.5rem; } }
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; align-items: center; gap: 3rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 1rem; }
.hero__note { font-size: 0.95rem; color: var(--c-ink-soft); }
.hero__art { position: relative; display: grid; place-items: center; }
.hero__art::before {
  content: ""; position: absolute; inset: -8%; border-radius: 50%;
  background: radial-gradient(circle, rgb(244 192 183 / 0.75) 0%, rgb(154 68 155 / 0.18) 45%, transparent 70%);
  animation: breathe 8s ease-in-out infinite;
}
.hero__art img {
  position: relative; width: 100%; height: auto; max-width: 440px; display: block;
  filter: drop-shadow(0 22px 30px rgb(94 23 71 / 0.28));  /* follows the logo's own edge */
}
@keyframes breathe { 0%, 100% { transform: scale(0.96); opacity: .85; } 50% { transform: scale(1.04); opacity: 1; } }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 260px; margin-inline: auto; }
}

/* Sections --------------------------------------------------------------- */
.section { padding: var(--space) 0; }
.section--tint { background: var(--c-tint); }
.section__header { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section__header p:last-child { color: var(--c-ink-soft); }
.section__cta { text-align: center; margin-top: 3rem; }

/* Cards */
.cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.card {
  background: var(--c-white); border-radius: var(--radius); padding: 1.9rem;
  border: 1px solid var(--c-line); transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { color: var(--c-brand); }
.card { border-top: 3px solid var(--c-accent); }
.card p { margin: 0; color: var(--c-ink-soft); }

/* Steps */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem;
}
.step { text-align: center; padding: 0 0.5rem; }
.step__num {
  display: inline-grid; place-items: center; width: 3.2rem; height: 3.2rem; margin-bottom: 1.2rem;
  border-radius: 50%; background: var(--c-brand); color: var(--c-white);
  font-family: var(--f-serif); font-size: 1.4rem; font-weight: 600;
}
.step p { color: var(--c-ink-soft); }

/* About */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__photo img, .about__placeholder {
  width: 100%; aspect-ratio: 6 / 7; border-radius: 200px 200px var(--radius) var(--radius);
  object-fit: cover; display: block;
}
.about__placeholder {
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--c-glow), var(--c-accent) 55%, var(--c-brand));
  color: rgb(255 255 255 / 0.85); font-family: var(--f-serif); font-size: 4rem; letter-spacing: 0.05em;
}
.about__creds { font-size: 0.95rem; color: var(--c-ink-soft); font-style: italic; margin-bottom: 1.8rem; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__photo { width: 100%; max-width: 340px; margin-inline: auto; }
}

/* Testimonials */
.quotes {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quote {
  position: relative; display: flex; flex-direction: column;
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 4.2rem 1.9rem 1.7rem;
}
.quote::before {
  position: absolute; top: 0.2rem; left: 1.5rem;
  content: "\201C";
  font-family: var(--f-serif); font-size: 5rem; line-height: 1; color: var(--c-glow);
}
.quote blockquote { margin: 0 0 1.4rem; flex: 1; }
.quote blockquote p { margin: 0; font-family: var(--f-serif); font-size: 1.12rem; line-height: 1.6; font-style: italic; color: var(--c-ink); }
.quote__by { margin: 0; padding-top: 1rem; border-top: 1px solid var(--c-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; align-items: baseline; }
.quote__name { font-weight: 600; color: var(--c-brand); }
.quote__detail { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-accent); }
.quotes__note { text-align: center; font-size: 0.85rem; color: var(--c-ink-soft); margin: 2rem 0 0; }

/* FAQ */
.faq__item {
  background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--radius);
  margin-bottom: 0.9rem; padding: 0 1.5rem;
}
.faq__item summary {
  cursor: pointer; list-style: none; padding: 1.2rem 2rem 1.2rem 0; position: relative;
  font-weight: 600; font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--c-brand); transition: transform .2s;
}
.faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq__item p { color: var(--c-ink-soft); padding-bottom: 1.2rem; margin: 0; }

/* Booking CTA */
.section--cta { background: linear-gradient(160deg, var(--c-brand) 0%, #7a2c6b 100%); color: var(--c-cream); }
.section__header--light h2 { color: var(--c-white); }
.section__header--light .eyebrow { color: var(--c-glow); }
.section__header--light p:last-child { color: rgb(250 245 251 / 0.88); }
.cal-wrap {
  background: var(--c-white); border-radius: calc(var(--radius) + 6px);
  padding: clamp(0.5rem, 2vw, 1.5rem); box-shadow: 0 30px 60px -25px rgb(0 0 0 / 0.35);
}
.cal-inline { width: 100%; min-height: 560px; overflow: auto; color: var(--c-ink); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--c-ink); color: rgb(250 245 251 / 0.8); padding: 3.5rem 0 1.5rem; font-size: 0.95rem; }
.site-footer a { color: var(--c-cream); }
.site-footer__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 2rem; }
.site-footer p { margin: 0 0 0.4rem; }
.site-footer__logo { width: 128px; height: 128px; margin-bottom: 1rem; display: block; }
.site-footer__tagline { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-glow); margin-bottom: 1rem !important; }
.site-footer__disclaimer { font-size: 0.85rem; line-height: 1.6; opacity: 0.75; }
.site-footer__base { border-top: 1px solid rgb(255 255 255 / 0.1); margin-top: 2.5rem; padding-top: 1.25rem; opacity: 0.6; }
@media (max-width: 700px) { .site-footer__inner { grid-template-columns: 1fr; } }
