/* ==========================================================================
   Ava xo Anastasia — styles.css
   One file, custom properties, no preprocessor. Edit colours/fonts here —
   see README.md for what's safe to change.
   ========================================================================== */

:root {
  /* Colour — from Rider-Waite print stock, not screen "mystical" */
  --aged-stock:  #E4D7B8;  /* default background. everything sits on paper */
  --parchment:   #F0E7CF;  /* cards, panels, raised surfaces */
  --ink:         #211C17;  /* all body text; dark fields for hero moments */
  --ochre:       #C79210;  /* primary accent: numerals, rules, the xo */
  --dusty-red:   #9A3B2C;  /* emphasis, key words, headings */
  --slate:       #3C5B72;  /* structure, links, and ALL booking CTAs */
  --slate-light: #4d7291;  /* slate hover/active only */

  /* Type */
  --display: 'IM Fell English', Georgia, serif;
  --body:    'Public Sans', system-ui, -apple-system, sans-serif;
  --mono:    'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body, h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---- Base ---- */
body {
  background: var(--aged-stock);
  color: var(--ink);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width: 640px) {
  body { font-size: 16px; }
}

/* ---- Focus ---- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--ochre);
  outline-offset: 3px;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: 0;
  top: -100%;
  background: var(--ink);
  color: var(--aged-stock);
  padding: 12px 20px;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 100;
}
.skip-link:focus {
  top: 0;
}

/* ---- Links ---- */
a {
  color: var(--slate);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--dusty-red); }

::selection {
  background: var(--ochre);
  color: var(--ink);
}

/* ---- Type utility classes ---- */
.mono-label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
}
@media (min-width: 640px) {
  .mono-label { font-size: 13px; }
}

.display-title {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

/* ---- Layout ---- */
.field {
  padding: 64px 24px;
}
@media (min-width: 640px) {
  .field { padding: 96px 40px; }
}

.field-ink {
  background: var(--ink);
  color: var(--aged-stock);
}

.field-paper {
  background: var(--aged-stock);
  color: var(--ink);
}

.field-slate {
  background: var(--slate);
  color: var(--aged-stock);
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
}

.wrap--narrow {
  max-width: 720px;
  margin: 0 auto;
}

/* ==========================================================================
   5.1 Hero
   ========================================================================== */

.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
}

.hero__numeral {
  font-family: var(--mono);
  color: var(--ochre);
  letter-spacing: 0.3em;
  font-size: 12px;
  margin-bottom: 28px;
}

.hero__wordmark {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 44px;
  line-height: 1.1;
  color: var(--aged-stock);
  font-weight: 400;
  margin: 0 0 20px;
}

@media (min-width: 480px) {
  .hero__wordmark { font-size: 60px; }
}
@media (min-width: 768px) {
  .hero__wordmark { font-size: 84px; }
}
@media (min-width: 1100px) {
  .hero__wordmark { font-size: 104px; }
}

.hero__wordmark .xo {
  color: var(--ochre);
  font-style: italic;
  text-transform: lowercase;
  /* tracking inherited from .hero__wordmark (0.16em) — brand book keeps the xo
     at the same tracking as the rest of the lockup, never below 0.12em */
}

.hero__tagline {
  font-family: var(--display);
  font-style: italic;
  font-size: 22px;
  color: var(--ochre);
  letter-spacing: 0.02em;
  margin: 0 0 28px;
}

@media (min-width: 640px) {
  .hero__tagline { font-size: 28px; }
}

.hero__line {
  max-width: 32em;
  font-size: 16px;
  color: var(--aged-stock);
  opacity: 0.92;
  margin: 0 0 40px;
}

@media (min-width: 640px) {
  .hero__line { font-size: 19px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 13px;
  padding: 18px 32px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn--slate {
  background: var(--slate);
  color: var(--aged-stock);
  border-color: var(--slate);
}
.btn--slate:hover {
  background: var(--slate-light);
  border-color: var(--slate-light);
  color: var(--aged-stock);
}

.btn--slate-outline {
  background: transparent;
  color: var(--aged-stock);
  border-color: var(--aged-stock);
}
.btn--slate-outline:hover {
  background: var(--aged-stock);
  color: var(--slate);
}

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

/* ==========================================================================
   5.2 Who
   ========================================================================== */

.who__lead {
  font-size: 17px;
  margin-bottom: 24px;
}
@media (min-width: 640px) {
  .who__lead { font-size: 19px; }
}

.who__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 26px;
  line-height: 1.35;
  color: var(--dusty-red);
  margin: 0 0 40px;
  padding-left: 22px;
  border-left: 2px solid var(--ochre);
}
@media (min-width: 640px) {
  .who__quote { font-size: 32px; }
}

/* ==========================================================================
   5.3 How it works
   ========================================================================== */

.how__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .how__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

.how__step .mono-label {
  color: var(--dusty-red);
  display: block;
  margin-bottom: 12px;
}

.how__step p {
  font-size: 16px;
}

/* ==========================================================================
   5.4 The three cards
   ========================================================================== */

.cards__grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .cards__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
  }
}

.card-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-frame__numeral {
  font-family: var(--mono);
  color: var(--dusty-red);
  letter-spacing: 0.4em;
  font-size: 12px;
  margin-bottom: 14px;
}

.card-frame__well {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 3 / 4;
  background: var(--parchment);
  border: 2px solid var(--ink);
  padding: 6px;
  position: relative;
}

.card-frame__well::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--ochre);
  pointer-events: none;
}

.card-frame__well img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: sepia(0.35) saturate(0.7) contrast(1.05);
  background: var(--aged-stock);
}

.card-frame__cartouche {
  width: 100%;
  max-width: 260px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 14px;
}

.card-frame__name {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 18px;
}

/* ==========================================================================
   5.5 Booking block — the loudest element on the page
   ========================================================================== */

.book {
  scroll-margin-top: 16px;
}

.book__intro {
  text-align: center;
  margin-bottom: 48px;
}

.book__intro h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 30px;
  margin-bottom: 12px;
}
@media (min-width: 640px) {
  .book__intro h2 { font-size: 38px; }
}

.book__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .book__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

.book__panel {
  background: rgba(228, 215, 184, 0.06);
  border: 1px solid rgba(228, 215, 184, 0.35);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.book__panel-title {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 15px;
  margin-bottom: 8px;
}

.book__panel-price {
  font-family: var(--mono);
  font-size: 44px;
  letter-spacing: 0.02em;
  color: var(--ochre);
  margin-bottom: 16px;
}

.book__panel-desc {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 28px;
  min-height: 3.4em;
}

.book__shared-line {
  text-align: center;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  opacity: 0.85;
  margin-bottom: 40px;
}

/* Cal.com embed container */
.book__embed {
  background: var(--parchment);
  color: var(--ink);
  min-height: 500px;
  padding: 4px;
}

.book__embed[hidden] { display: none; }

.book__fallback {
  background: var(--parchment);
  color: var(--ink);
  padding: 40px 24px;
  text-align: center;
}

.book__fallback p {
  margin-bottom: 20px;
  font-size: 16px;
}

.book__fallback-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.book__fallback .btn--slate {
  background: var(--slate);
  color: var(--aged-stock);
}

/* ==========================================================================
   5.6 Testimonials (kept for when a real one is uncommented — see index.html)
   ========================================================================== */

.testimonial__quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 24px;
  line-height: 1.4;
  color: var(--dusty-red);
  margin: 0 0 16px;
}
@media (min-width: 640px) {
  .testimonial__quote { font-size: 28px; }
}

.testimonial__attribution {
  color: var(--ink);
  opacity: 0.75;
}

/* ==========================================================================
   5.7 The rules, up front
   ========================================================================== */

.rules__list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.rules__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: baseline;
}

.rules__num {
  font-family: var(--mono);
  color: var(--dusty-red);
  font-size: 15px;
  letter-spacing: 0.1em;
}

.rules__text {
  font-size: 17px;
  line-height: 1.5;
}
@media (min-width: 640px) {
  .rules__text { font-size: 19px; }
}

/* ==========================================================================
   5.8 Contact form — secondary, quiet
   ========================================================================== */

.contact {
  padding-top: 48px;
  padding-bottom: 48px;
}

.contact__eyebrow {
  color: var(--dusty-red);
  margin-bottom: 24px;
  display: block;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-row label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.field-row input,
.field-row select,
.field-row textarea {
  background: var(--parchment);
  border: 1px solid var(--ink);
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 16px;
  color: var(--ink);
}

.field-row textarea {
  resize: vertical;
  min-height: 120px;
}

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

.contact__form .btn--slate {
  align-self: flex-start;
}

#contact-status {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  min-height: 1.2em;
}

/* ==========================================================================
   5.9 Footer — ink field
   ========================================================================== */

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}

.footer__mark svg {
  display: block;
}

.footer__social,
.footer__policies {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.footer__social a,
.footer__policies a {
  color: var(--aged-stock);
  text-decoration-color: rgba(228, 215, 184, 0.4);
}
.footer__social a:hover,
.footer__policies a:hover {
  color: var(--ochre);
}

.footer__policies a {
  opacity: 0.75;
  font-size: 11px;
}

.footer__disclaimer {
  max-width: 32em;
  font-size: 14px;
  opacity: 0.85;
}

.footer__spelling {
  font-family: var(--display);
  font-style: italic;
  color: var(--ochre);
  font-size: 16px;
}

/* ==========================================================================
   policies.html
   ========================================================================== */

.policy-header {
  padding: 32px 24px;
  border-bottom: 1px solid rgba(33, 28, 23, 0.15);
}

.policy-header a {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}
.policy-header a .xo {
  color: var(--ochre);
  font-style: italic;
  text-transform: lowercase;
}
.policy-header a:hover { color: var(--dusty-red); }

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 12px;
}

.policy-section {
  scroll-margin-top: 24px;
  padding: 56px 24px;
  border-bottom: 1px solid rgba(33, 28, 23, 0.12);
}
.policy-section:last-child { border-bottom: none; }

.policy-section h2 {
  font-family: var(--display);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 26px;
  margin-bottom: 24px;
  color: var(--dusty-red);
}
@media (min-width: 640px) {
  .policy-section h2 { font-size: 32px; }
}

.policy-todo {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--dusty-red);
  background: var(--parchment);
  border: 1px solid var(--dusty-red);
  padding: 10px 14px;
  margin-bottom: 24px;
  display: inline-block;
}

.policy-section p,
.policy-section li {
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.policy-section ul,
.policy-section ol {
  padding-left: 22px;
  margin-bottom: 20px;
}
.policy-section ul { list-style: disc; }
.policy-section ol { list-style: decimal; }
