/* Aria Atelier — aria-atelier.co
   Static rebuild. No build step, no dependencies. */

:root {
  --card:        rgba(44, 42, 54, 0.82);
  --card-solid:  #2c2a36;
  --ink:         #ffffff;
  --ink-dim:     rgba(255, 255, 255, 0.72);
  --ink-faint:   rgba(255, 255, 255, 0.66);
  --hair:        rgba(255, 255, 255, 0.18);
  --accent:      #ffccb0;
  --wa:          #25d366;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-head:    'Montserrat', system-ui, sans-serif;
  --font-body:    'Source Sans 3', 'Source Sans Pro', system-ui, sans-serif;

  --width:   34rem;
  --pad-x:   3rem;
  --pad-y:   3.75rem;
  --gap:     1.5rem;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--card-solid);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Fixed studio photo behind the card, with the original's gradient wash. */
.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(45deg, rgba(191, 117, 135, 0.64) 0%, rgba(214, 255, 255, 0.63) 100%),
    url('assets/images/bg.jpg');
  background-position: 0% 0%, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}

/* ── The card ─────────────────────────────────────────── */

.card {
  position: relative;
  z-index: 1;
  width: var(--width);
  max-width: 100%;
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
  background-color: var(--card);
  border-radius: 0.5rem;
  box-shadow: 0 3rem 3.125rem rgba(44, 42, 54, 0.45);
  text-align: center;
  backdrop-filter: blur(2px);
}

.card > section,
.card > footer { padding: 0; }

.card > section + section,
.card > footer { margin-top: 3.25rem; }

/* ── Type ─────────────────────────────────────────────── */

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 300;
  line-height: 1.35;
}

p { margin: 0 0 var(--gap); }
.card > section > p:last-child { margin-bottom: 0; }

.wordmark {
  margin: 1.25rem 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--ink);
}

h1 {
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-indent: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.26em;
  text-indent: 0.26em;
  text-transform: uppercase;
}

.eyebrow-sm {
  margin-bottom: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

h3 {
  margin-bottom: 0.5rem;
  font-size: 1.0625rem;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
}

h4 {
  margin: 2rem 0 0.5rem;
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.lede { margin-bottom: 0.85rem; }
.lede strong { font-weight: 600; }
.lede em { font-style: italic; color: var(--ink-dim); }

.meta {
  margin-bottom: 1.15rem;
  font-size: 0.875rem;
  color: var(--accent);
}

.rule {
  width: 3rem;
  height: 0;
  margin: 1.75rem auto;
  border: 0;
  border-top: 1px solid var(--hair);
}

.credits {
  margin-top: 1.75rem;
  margin-bottom: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--ink-faint);
}

/* ── Buttons ──────────────────────────────────────────── */

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.buttons li { flex: 1 1 12rem; }

.btn {
  display: block;
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--hair);
  border-radius: 2rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.btn-wa { border-color: rgba(37, 211, 102, 0.7); }
.btn-wa:hover,
.btn-wa:focus-visible {
  background: rgba(37, 211, 102, 0.16);
  border-color: var(--wa);
}

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── Images ───────────────────────────────────────────── */

.mark {
  display: block;
  width: 5.5rem;
  height: auto;
  margin: 0 auto;
}

figure { margin: 1.75rem 0 0; }

/* Bleed to the card edges, like the original's "full" images. */
.full {
  width: calc(100% + (var(--pad-x) * 2));
  max-width: none;
  margin-left: calc(var(--pad-x) * -1);
}

figure img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── Spec lists ───────────────────────────────────────── */

.specs {
  margin: 0 0 var(--gap);
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--ink-dim);
}

.specs li {
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}
.specs li:first-child { border-top: 1px solid rgba(255, 255, 255, 0.09); }

/* ── Rates ────────────────────────────────────────────── */

.rates {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.rates li {
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hair);
}
.rates li:first-child { border-top: 1px solid var(--hair); }

.rate-name {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-indent: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.rate-val {
  display: block;
  font-size: 0.9375rem;
  color: var(--ink);
}

.fine {
  margin-bottom: 0.6rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-faint);
}

/* ── Facilities / shoots ──────────────────────────────── */

.facility,
.shoot {
  margin-top: 2rem;
  margin-bottom: 0;
  font-size: 0.9375rem;
  color: var(--ink-dim);
}

.facility strong,
.shoot strong {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}

/* ── FAQ ──────────────────────────────────────────────── */

details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
}
details:first-of-type { border-top: 1px solid rgba(255, 255, 255, 0.12); }

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding: 0.9rem 0;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker { display: none; }

summary::after {
  content: '+';
  flex: none;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--accent);
  transition: transform 0.2s ease;
}

details[open] summary::after { content: '−'; }

details p {
  margin: 0;
  padding: 0 0 1.1rem;
  font-size: 0.9375rem;
  color: var(--ink-dim);
}

/* ── Book ─────────────────────────────────────────────── */

.book-head {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

/* ── Footer ───────────────────────────────────────────── */

.footer {
  padding-top: 2.5rem;
  border-top: 1px solid var(--hair);
}

.social {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.2s ease;
}

.social a:hover { background: rgba(255, 255, 255, 0.1); }

.social svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.find {
  margin-bottom: 0.75rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-indent: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
}

.addr {
  margin-bottom: 1.75rem;
  font-size: 0.9375rem;
  color: var(--ink-dim);
}

.addr strong { font-weight: 600; color: var(--ink); }

.copyright {
  margin: 0;
  font-size: 0.75rem;
  color: var(--ink-faint);
}

/* ── Reveal on scroll ─────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ───────────────────────────────────────── */

@media (max-width: 40rem) {
  :root {
    --pad-x: 1.875rem;
    --pad-y: 3.125rem;
    --gap:   1.3125rem;
  }

  .card { border-radius: 0; }
  .wordmark { font-size: 1.25rem; letter-spacing: 0.34em; text-indent: 0.34em; }
  h1 { font-size: 1.25rem; }
  .eyebrow { font-size: 1rem; }
  .book-head { font-size: 1.65rem; }
  .buttons li { flex: 1 1 100%; }
}

@media (max-width: 26rem) {
  :root {
    --pad-x: 1.40625rem;
    --pad-y: 2.34375rem;
    --gap:   1.125rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ── Offer emphasis ───────────────────────────────────── */

.lede-offer {
  margin: 1.5rem 0 0.85rem;
  font-size: 1.0625rem;
  line-height: 1.6;
}

.lede-offer strong {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Whole-studio tier ladder — longer booking, bigger discount. */

.tiers {
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.tiers > li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border: 0;
  text-align: left;
}

.tier-len {
  font-size: 0.875rem;
  color: var(--ink-dim);
}

.tier-price {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}

.tier-price small {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--ink-dim);
}

.tier-off {
  min-width: 4.75rem;
  padding: 0.2rem 0.5rem;
  border: 1px solid rgba(255, 204, 176, 0.4);
  border-radius: 1rem;
  font-family: var(--font-head);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-align: center;
  white-space: nowrap;
  color: var(--accent);
}

.tier-best .tier-off {
  background: rgba(255, 204, 176, 0.16);
  border-color: rgba(255, 204, 176, 0.75);
}

/* ── Sticky WhatsApp button (mobile only) ─────────────── */

.wa-fab {
  display: none;
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 0;
  color: #fff;
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.3);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.wa-fab,
.wa-fab:hover,
.wa-fab:focus-visible { background: var(--wa); }

.wa-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.wa-fab.is-hidden {
  opacity: 0;
  transform: translateY(0.5rem);
  pointer-events: none;
}

@media (max-width: 768px) {
  .wa-fab {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
