/* ==========================================================
   Rima B. Said · warm, grounded, minimal
   ========================================================== */

:root {
  --ivory: #f8f4ec;
  --ivory-deep: #f0eadd;
  --paper: #fcfaf5;
  --olive: #6b7350;
  --olive-dark: #4d5338;
  --sage: #b5b98f;
  --sage-soft: #dfe0cc;
  --ink: #2f2d27;
  --muted: #6c675b;
  --line: #e1dacb;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;

  --radius: 4px;
  --container: 1160px;
  --section-pad: clamp(5rem, 10vw, 8.5rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 1rem;
}

h1 { font-size: clamp(2.75rem, 6vw, 4.75rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h3 { font-size: 1.6rem; }
h1 em, h2 em { font-style: italic; color: var(--olive); }

p { margin: 0 0 1.25rem; }

a { color: var(--olive-dark); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

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

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

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 100;
  background: var(--olive-dark); color: var(--paper);
  padding: .5rem 1rem; border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.eyebrow {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1.1rem;
}

.lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; }

/* Clearly visible marker for content that still needs Rima's real material */
.placeholder-note {
  display: inline-block;
  font-size: .8rem;
  font-style: italic;
  color: #8a6d3b;
  background: #f6ecd6;
  border: 1px dashed #d9c49a;
  padding: .2rem .6rem;
  border-radius: var(--radius);
  line-height: 1.5;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95rem 1.9rem;
  border-radius: 999px;
  border: 1px solid var(--olive);
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn-primary { background: var(--olive); color: var(--paper); }
.btn-primary:hover { background: var(--olive-dark); border-color: var(--olive-dark); }
.btn-ghost { background: transparent; color: var(--olive-dark); }
.btn-ghost:hover { background: var(--sage-soft); }
.btn-block { width: 100%; }

.text-link {
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--olive-dark);
  border-bottom: 1px solid var(--sage);
  padding-bottom: 2px;
  transition: border-color .3s ease;
}
.text-link:hover { border-color: var(--olive-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 236, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}

.brand {
  display: inline-flex; align-items: center; gap: .7rem;
  text-decoration: none; color: var(--ink);
  font-family: var(--serif); font-size: 1.45rem; font-weight: 500;
}

.site-nav ul {
  display: flex; align-items: center; gap: 2.1rem;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  font-size: .9rem; letter-spacing: .06em;
  text-decoration: none; color: var(--ink);
  transition: color .3s ease;
}
.site-nav a:hover { color: var(--olive); }
.site-nav .nav-cta {
  border: 1px solid var(--olive); color: var(--olive-dark);
  border-radius: 999px; padding: .55rem 1.2rem;
}
.site-nav .nav-cta:hover { background: var(--olive); color: var(--paper); }

.nav-toggle {
  display: none;
  background: none; border: 0; padding: .5rem; cursor: pointer;
}
.nav-toggle-bar {
  display: block; width: 24px; height: 1.5px; background: var(--ink);
  margin: 6px 0; transition: transform .3s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Photo placeholders ---------- */
.photo { margin: 0; }
.photo-frame {
  position: relative;
  width: 100%; height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 55%),
    linear-gradient(160deg, #e4e0cc 0%, #cfcfb1 45%, #b9bc98 100%);
  display: flex; align-items: flex-end;
}
.photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.photo-tag {
  position: absolute; left: .75rem; bottom: .75rem;
  font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--olive-dark);
  background: rgba(252, 250, 245, .85);
  border: 1px dashed var(--olive);
  padding: .25rem .6rem; border-radius: var(--radius);
}

.photo-hero { aspect-ratio: 4 / 5; }
.photo-portrait { aspect-ratio: 3 / 4; }
.photo-small { aspect-ratio: 3 / 2; margin-top: 2.5rem; }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6rem) 0 var(--section-pad); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }

/* ---------- Sections ---------- */
.section { padding: var(--section-pad) 0; }
.section-tint { background: var(--ivory-deep); }
.section-head { max-width: 40rem; margin-bottom: 3.5rem; }
.section-intro { color: var(--muted); }

/* About */
.about-grid {
  display: grid; grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.about-text p { color: var(--muted); }
.about-text .placeholder-note { color: #8a6d3b; }
.signature {
  font-family: var(--serif); font-style: italic; font-size: 1.7rem;
  color: var(--olive-dark) !important; margin-top: 2rem;
}

/* Services */
.cards {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.25rem 1.9rem;
  transition: transform .4s ease, box-shadow .4s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(77, 83, 56, .35); }
.card-num {
  display: block; font-family: var(--serif); font-size: 1.1rem;
  color: var(--sage); margin-bottom: 1.5rem;
}
.card p { color: var(--muted); font-size: .98rem; }
.card-list {
  list-style: none; margin: 1.5rem 0 0; padding: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--ink);
}
.card-list li { padding: .25rem 0 .25rem 1.1rem; position: relative; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .95em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--sage);
}

/* Approach */
.approach-grid {
  display: grid; grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: start;
}
.approach-intro p { color: var(--muted); }
.principles { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.principles li {
  counter-increment: step;
  position: relative;
  padding: 0 0 2.25rem 4.5rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--line);
}
.principles li:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.principles li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: .1rem;
  font-family: var(--serif); font-size: 1.8rem; font-style: italic; color: var(--sage);
}
.principles h3 { font-size: 1.55rem; margin-bottom: .5rem; }
.principles p { color: var(--muted); margin: 0; }

/* Sessions */
.offers {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch;
}
.offer {
  display: flex; flex-direction: column; align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.5rem 2.1rem;
}
.offer p { color: var(--muted); }
.offer > :last-child { margin-top: auto; }
.offer-meta {
  font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--olive) !important;
}
.offer-featured { border-color: var(--olive); box-shadow: 0 24px 50px -30px rgba(77, 83, 56, .45); }
.offer-badge {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--paper) !important; background: var(--olive);
  padding: .25rem .75rem; border-radius: 999px; margin-bottom: 1.25rem;
}

/* FAQs */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.6rem 0;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 500;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex-shrink: 0;
  font-family: var(--sans); font-weight: 300; font-size: 1.5rem; color: var(--olive);
  transition: transform .3s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { color: var(--muted); padding: 0 2.5rem 1.6rem 0; margin: 0; }

/* Booking */
.section-booking { background: var(--sage-soft); }
.booking-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
.booking-mark { margin-bottom: 1.75rem; }
.booking-text > p:not(.eyebrow):not(.placeholder-note) { color: var(--muted); font-size: 1.1rem; }

.booking-form {
  background: var(--paper);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 30px 60px -40px rgba(77, 83, 56, .5);
}
.field { margin-bottom: 1.35rem; }
.field label {
  display: block; font-size: .82rem; letter-spacing: .06em;
  margin-bottom: .45rem; color: var(--ink); font-weight: 400;
}
.optional { color: var(--muted); font-weight: 300; }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .8rem .95rem;
  transition: border-color .3s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--olive); }
.field textarea { resize: vertical; }
.field.has-error input { border-color: #a85c4a; }
.form-status { margin: 1rem 0 0; font-size: .92rem; color: var(--olive-dark); min-height: 1.5em; }
.form-status.is-error { color: #a85c4a; }

.section-head-center { margin-inline: auto; text-align: center; }
.section-head-center .booking-mark { margin-inline: auto; }
.cal-wrap {
  max-width: 1000px; margin-inline: auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -40px rgba(77, 83, 56, .5);
  overflow: hidden;
}
.cal-wrap.is-live { min-width: 320px; min-height: 720px; overflow: auto; }
.cal-pending { text-align: center; padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.cal-pending p:not(.placeholder-note) { color: var(--muted); max-width: 32rem; margin: 1.25rem auto 1.75rem; }
.btn:disabled { opacity: .6; cursor: default; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { padding: 3.5rem 0; border-top: 1px solid var(--line); }
.footer-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
}
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--olive-dark); margin: 0; }
.footer-small { font-size: .82rem; color: var(--muted); margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card:hover { transition: none; transform: none; }
}

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

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 1rem 1.5rem 1.75rem; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; padding: .8rem 0; font-size: 1.05rem; }
  .site-nav .nav-cta { display: inline-block; margin-top: .75rem; padding: .7rem 1.4rem; }

  .hero-grid,
  .about-grid,
  .approach-grid,
  .booking-grid { grid-template-columns: 1fr; }

  .photo-hero { aspect-ratio: 4 / 3; }
  .photo-portrait { aspect-ratio: 4 / 3; max-width: 520px; }
  .offers { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .cards { grid-template-columns: 1fr; }
  .principles li { padding-left: 3.5rem; }
  .faq-list summary { font-size: 1.2rem; }
  .hero-actions .btn { width: 100%; text-align: center; }
}

/* ---------- Thank-you page ---------- */
.thanks { min-height: 100vh; display: flex; align-items: center; text-align: center; padding: 4rem 0; }
.thanks img { margin: 0 auto 2rem; }
.thanks .lead { margin-inline: auto; }
.thanks .hero-actions { justify-content: center; }
