@font-face {
  font-family: "Cift";
  src: url("assets/fonts/Cift.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: "Stampatello Faceto";
  src: url("assets/fonts/StampatelloFaceto.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --purple: #8c1592;
  --lilac: #f5eef9;
  --grey: #f4f4f4;
  --ink: #100b10;
  --body-ink: #321438;
  --white: #fff;
  --page-max: 1115px;
  --heading-font: "Cift", Georgia, serif;
  --body-font: "Stampatello Faceto", cursive;
  --nav-font: Arial, Helvetica, sans-serif;
  --header-h: 86px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.45;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.container {
  width: min(calc(100% - 56px), var(--page-max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: #fff;
  border-bottom: 1px solid #f7f7f7;
}
.nav-shell {
  width: min(calc(100% - 56px), 1020px);
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  width: 225px;
  height: 100%;
  overflow: visible;
  text-decoration: none;
}
.brand-logo {
  width: 100%;
  height: auto;
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 700;
}
.main-nav a { text-decoration: none; color: #0b0b0b; }
.main-nav a:hover,
.main-nav a:focus-visible { color: var(--purple); }
.menu-toggle { display: none; }

.section-grey { background: var(--grey); }
.section-lilac { background: var(--lilac); }

h1, h2, h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: .96;
  letter-spacing: -.45px;
}
h1, h2 { color: var(--purple); }

/* Hero */
.hero { min-height: 690px; }
.hero-inner { padding: 40px 0 76px; text-align: center; }
.hero h1 { font-size: clamp(50px, 4.35vw, 68px); }
.small-note {
  margin: 20px 0 50px;
  color: var(--body-ink);
  font-size: 15px;
}
.hero-cards {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 42px;
}

/* 3D cards */
.flip-card {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  perspective: none;
  transform-style: flat;
  transition: none;
}
.flip-card:hover {
  transform: none;
}
.flip-card:focus-visible {
  outline: 3px solid rgba(140,21,146,.32);
  outline-offset: 6px;
}
.flip-card-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .7s ease;
}
.flip-card.is-flipped .flip-card-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-style: preserve-3d;
  background: #fff;
}
.flip-front { transform: rotateY(0deg); }
.flip-back { transform: rotateY(180deg); }
.image-face img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-rendering: auto;
  -webkit-font-smoothing: subpixel-antialiased;
}
.media-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(#fbf7fc, #ead9ee);
  color: #5a2b5f;
  text-align: center;
  font-family: var(--nav-font);
}
.media-placeholder strong {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  font-size: 11px;
}
.media-placeholder span { font-size: 12px; line-height: 1.35; font-weight: 700; }

.hero-card {
  width: 274px;
  aspect-ratio: 214 / 300;
}
.hero-card .flip-face {
  border: 1px solid rgba(255,255,255,.95);
  border-radius: 12px;
  box-shadow: none;
}

/* Collectibles */
.collectibles { padding: 66px 0 86px; }
.collectibles-inner { text-align: center; }
.collectibles h2,
.contact h2 { font-size: clamp(50px, 4vw, 64px); }
.section-intro {
  max-width: 830px;
  margin: 22px auto 0;
  color: var(--body-ink);
  font-family: var(--body-font);
  font-size: 17px;
  line-height: 1.52;
}
.card-grid {
  margin: 64px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 248px);
  justify-content: center;
  column-gap: 42px;
  row-gap: 54px;
}
.collectible-card {
  width: 248px;
  aspect-ratio: 11 / 15;
}
.collectible-card .flip-face {
  border: 2px solid #888;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #d8d8d8;
}
.collectible-card::after {
  content: none;
}

/* Flip affordance: matches the reference site's Click Me! cue */
.collectible-card::before {
  content: "Click Me!";
  position: absolute;
  left: 50%;
  bottom: 10px;
  z-index: 30;
  transform: translate(-50%, 7px);
  opacity: 0;
  pointer-events: none;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0,0,0,.72), 0 0 6px rgba(0,0,0,.28);
  transition: opacity .2s ease, transform .2s ease;
}
.collectible-card:hover::before,
.collectible-card:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, 0);
}
.collectible-card:hover .flip-face {
  box-shadow: 0 0 0 1px #cfcfcf;
}
.card-ten { grid-column: 2; }

.purple-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 24px 9px;
  background: var(--purple);
  color: #fff;
  border: 1px solid var(--purple);
  border-radius: 2px;
  font-family: var(--heading-font);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.05;
  text-decoration: none;
}
.purple-button:hover,
.purple-button:focus-visible { background: #76117b; }
.explore-button { margin-top: 46px; }

/* About */
.about { padding: 70px 0 74px; }
.about-grid {
  min-height: 390px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  align-items: center;
  gap: 92px;
}
.about-copy h2 { font-size: clamp(50px, 4.2vw, 68px); margin-bottom: 28px; }
.about-copy p {
  margin: 0 0 22px;
  color: var(--body-ink);
  font-size: 17px;
  line-height: 1.48;
}
.about-media-wrap { width: 100%; border-radius: 14px; overflow: hidden; }
.about-media { width: 100%; aspect-ratio: 1.48 / 1; object-fit: cover; }

/* Audience */
.audience { padding: 74px 0 88px; background: #fff; }
.audience-inner > h2 { text-align: center; font-size: clamp(50px, 4vw, 66px); }
.audience-intro { max-width: 850px; }
.audience-grid {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 76px;
}
.audience-card { min-width: 0; }
.audience-image-wrap {
  width: 100%;
  height: 165px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.audience-image { max-height: 100%; width: auto; object-fit: contain; margin: 0 auto; }
.audience-card h3 { margin-top: 12px; color: #090509; font-size: 30px; }
.purple-rule { width: 44px; height: 3px; background: var(--purple); margin: 18px 0; }
.audience-card p { margin: 0; color: var(--body-ink); font-size: 16px; line-height: 1.48; }

/* Contact */
.contact { padding: 64px 0 82px; }
.contact-inner { text-align: center; }
.black-rule { width: 43px; height: 1px; background: #151015; margin: 22px auto 44px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.contact-card {
  min-height: 322px;
  padding: 29px 23px 30px;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 2px 7px rgba(0,0,0,.04);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-icon {
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 44px;
  line-height: 1;
  filter: grayscale(1) contrast(4);
}
.prayer-icon { font-size: 51px; transform: rotate(180deg); }
.contact-card h3 { margin-top: 14px; color: #090509; font-size: 31px; line-height: 1; }
.contact-card p { margin: 10px auto 15px; color: #6f6b6f; font-size: 15px; line-height: 1.38; max-width: 315px; }
.contact-card .purple-button { margin-top: auto; }

/* Footer */
.site-footer {
  position: relative;
  min-height: 205px;
  background-image: url('assets/about-footer-scene-hd.jpg');
  background-size: cover;
  background-position: center 48%;
  overflow: hidden;
}
.footer-overlay { position: absolute; inset: 0; background: rgba(66,12,72,.75); }
.footer-copy {
  position: relative;
  z-index: 2;
  min-height: 205px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}
.footer-copy h3 { color: #fff; font-size: 30px; text-decoration: underline; text-underline-offset: 4px; }
.footer-copy a { margin-top: 8px; color: #fff; text-decoration: none; font-size: 15px; }

/* Tablet landscape / smaller laptop */
@media (max-width: 1100px) {
  :root { --header-h: 80px; }
  .container { width: min(calc(100% - 44px), 980px); }
  .nav-shell { width: min(calc(100% - 44px), 940px); }
  .brand { width: 205px; }
  .brand-logo { max-height: 40px; }
  .main-nav { gap: 23px; font-size: 13px; }
  .hero { min-height: 625px; }
  .hero-card { width: 242px; }
  .card-grid { grid-template-columns: repeat(3, 214px); column-gap: 28px; row-gap: 42px; }
  .collectible-card { width: 214px; }
  .about-grid { gap: 54px; }
  .audience-grid { gap: 42px; }
}

/* Tablet portrait */
@media (max-width: 820px) {
  :root { --header-h: 74px; }
  .container { width: min(calc(100% - 36px), 720px); }
  .nav-shell { width: calc(100% - 36px); }
  .brand { width: 188px; }
  .brand-logo { max-height: 38px; }
  .menu-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 9px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 22px; height: 2px; background: #161016; }
  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 9px 18px 16px;
    background: #fff;
    box-shadow: 0 12px 22px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding: 11px 8px; text-align: center; }

  .hero { min-height: 555px; }
  .hero-inner { padding: 38px 0 60px; }
  .hero h1 { font-size: clamp(46px, 8vw, 60px); }
  .small-note { margin: 17px 0 38px; }
  .hero-cards { gap: 26px; }
  .hero-card { width: min(32vw, 218px); }

  .collectibles { padding: 58px 0 72px; }
  .card-grid {
    margin-top: 52px;
    grid-template-columns: repeat(3, minmax(0, 190px));
    column-gap: 18px;
    row-gap: 34px;
  }
  .collectible-card { width: 100%; }

  .about { padding: 58px 0 64px; }
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: 34px; }
  .about-copy h2 { font-size: 48px; }
  .about-copy p { font-size: 15px; }

  .audience { padding: 62px 0 68px; }
  .audience-grid { gap: 28px; }
  .audience-image-wrap { height: 135px; }
  .audience-card h3 { font-size: 25px; }
  .audience-card p { font-size: 14px; }

  .contact { padding: 58px 0 66px; }
  .contact-card { padding: 25px 18px 26px; min-height: 320px; }
  .contact-card h3 { font-size: 26px; }
  .contact-card p { font-size: 13px; }
}

/* Small tablet / large phone */
@media (max-width: 640px) {
  .container { width: calc(100% - 30px); }
  .brand { width: 168px; }
  .brand-logo { max-height: 34px; }

  .hero { min-height: 0; }
  .hero-inner { padding: 36px 0 50px; }
  .hero h1 { font-size: clamp(42px, 13vw, 54px); }
  .small-note { font-size: 14px; margin-bottom: 30px; }
  .hero-cards { gap: 14px; }
  .hero-card { width: calc(50vw - 28px); max-width: 190px; }

  .collectibles h2,
  .contact h2 { font-size: 48px; }
  .section-intro { font-size: 15px; line-height: 1.48; }
  .card-grid {
    grid-template-columns: 1fr;
    row-gap: 28px;
    margin-top: 42px;
  }
  .collectible-card {
    width: min(250px, 82vw);
    justify-self: center;
  }
  .card-ten { grid-column: auto; justify-self: center; width: min(250px, 82vw); }
  .explore-button { margin-top: 36px; }

  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-copy { text-align: left; }
  .about-copy h2 { font-size: 50px; margin-bottom: 22px; }
  .about-copy p { font-size: 16px; }
  .about-media-wrap { max-width: 520px; margin-inline: auto; }

  .audience-inner > h2 { font-size: 48px; }
  .audience-grid { grid-template-columns: 1fr; gap: 38px; max-width: 430px; margin: 44px auto 0; }
  .audience-image-wrap { height: 160px; }
  .audience-card h3 { font-size: 30px; }
  .audience-card p { font-size: 16px; }

  .contact-grid { grid-template-columns: 1fr; gap: 16px; max-width: 450px; margin-inline: auto; }
  .contact-card { min-height: 280px; padding: 28px 24px; }
  .contact-card h3 { font-size: 30px; }
  .contact-card p { font-size: 15px; }

  .site-footer,
  .footer-copy { min-height: 175px; }
}

/* Mobile */
@media (max-width: 420px) {
  :root { --header-h: 68px; }
  .nav-shell { width: calc(100% - 24px); }
  .brand { width: 150px; }
  .brand-logo { max-height: 31px; }
  .menu-toggle { width: 38px; height: 38px; }

  .hero-inner { padding-top: 30px; }
  .hero h1 { font-size: clamp(39px, 13vw, 50px); }
  .hero-cards { gap: 10px; }
  .hero-card { width: calc(50vw - 23px); }

  .collectibles { padding-top: 50px; }
  .collectibles h2,
  .contact h2 { font-size: 44px; }
  .section-intro { font-size: 14px; }
  .card-grid { grid-template-columns: 1fr; gap: 24px; }
  .collectible-card {
    width: min(252px, 84vw);
    max-width: none;
    justify-self: center;
  }
  .collectible-card::before { font-size: 14px; bottom: 7px; }
  .card-ten { width: min(252px, 84vw); }

  .about-copy h2,
  .audience-inner > h2 { font-size: 44px; }
  .audience-grid { margin-top: 38px; }
  .purple-button { font-size: 14px; padding-inline: 18px; }
}

@media (hover: none) {
  .collectible-card::before {
    content: "Tap to flip";
    opacity: .92;
    transform: translate(-50%, 0);
    bottom: 7px;
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flip-card,
  .flip-card-inner { transition: none; }
}

/* ===== Final requested refinements ===== */
.brand {
  width: 220px;
}
.brand-logo {
  width: 205px;
  max-width: 100%;
  max-height: 54px;
  object-fit: contain;
  object-position: left center;
}
.main-nav {
  gap: 32px;
  font-size: 16px;
}
.main-nav a,
.nav-order-button {
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 700;
}
.nav-order-button {
  border: 0;
  border-radius: 9px;
  padding: 11px 22px;
  background: var(--purple);
  color: #fff;
  cursor: pointer;
  line-height: 1;
  transition: background .18s ease, transform .18s ease;
}
.nav-order-button:hover,
.nav-order-button:focus-visible {
  background: #76117b;
}

/* The artwork already includes its own card frame/shadow, so do not draw another box. */
.collectible-card .flip-face {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}
.collectible-card:hover .flip-face {
  box-shadow: none !important;
}
.collectible-card::after {
  content: none !important;
}
.collectible-card .image-face img {
  object-fit: contain;
}

/* Modal forms */
body.modal-open {
  overflow: hidden;
}
[hidden] {
  display: none !important;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: rgba(0, 0, 0, .78);
}
.form-modal {
  position: fixed;
  inset: 0;
  z-index: 5010;
  display: grid;
  place-items: center;
  padding: 28px 18px;
  overflow-y: auto;
}
.form-modal-panel {
  width: min(100%, 540px);
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  background: #fff;
  padding: 12px 12px 16px;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
}
.modal-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 0 10px;
  font-family: Arial, Helvetica, sans-serif;
  color: #262126;
}
.modal-heading-row p {
  margin: 0;
  font-size: 13px;
}
.modal-close {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2b2130;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.contact-modal-form {
  display: grid;
  gap: 13px;
  font-family: Arial, Helvetica, sans-serif;
  color: #29242d;
  font-size: 12px;
}
.contact-modal-form label,
.form-fieldset {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.form-fieldset legend {
  margin-bottom: 8px;
  padding: 0;
}
.contact-modal-form span,
.form-fieldset span {
  color: #29242d;
}
.contact-modal-form input,
.contact-modal-form select,
.contact-modal-form textarea {
  width: 100%;
  border: 1px solid #dfb7ef;
  border-radius: 2px;
  background: #fff;
  color: #27222b;
  font: 13px/1.35 Arial, Helvetica, sans-serif;
  outline: none;
}
.contact-modal-form input,
.contact-modal-form select {
  min-height: 36px;
  padding: 8px 10px;
}
.contact-modal-form textarea {
  min-height: 120px;
  padding: 10px;
  resize: vertical;
}
.contact-modal-form input::placeholder,
.contact-modal-form textarea::placeholder {
  color: #9aa1b0;
}
.contact-modal-form input:focus,
.contact-modal-form select:focus,
.contact-modal-form textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 2px rgba(140,21,146,.09);
}
.form-submit {
  justify-self: start;
  min-width: 68px;
  min-height: 38px;
  border: 0;
  border-radius: 5px;
  padding: 9px 17px;
  background: #9634bb;
  color: #fff;
  font: 700 13px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.form-submit:hover,
.form-submit:focus-visible {
  background: #7e259f;
}
.form-submit[disabled] {
  opacity: .65;
  cursor: wait;
}
.form-status {
  min-height: 18px;
  margin: -2px 0 0;
  font: 12px/1.4 Arial, Helvetica, sans-serif;
}
.form-status.is-success { color: #17743c; }
.form-status.is-error { color: #a52323; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Use a real button in the contact cards without inheriting browser button chrome. */
button.purple-button {
  cursor: pointer;
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 20px;
    font-size: 15px;
  }
  .main-nav a,
  .nav-order-button {
    font-size: 15px;
  }
  .nav-order-button {
    padding: 10px 18px;
  }
}

@media (max-width: 820px) {
  .brand {
    width: 190px;
  }
  .brand-logo {
    width: 175px;
    max-height: 46px;
  }
  .main-nav .nav-order-button {
    width: min(240px, 90%);
    align-self: center;
    margin: 8px auto 4px;
    padding: 13px 22px;
  }
  .form-modal {
    align-items: start;
    padding-top: 22px;
  }
  .form-modal-panel {
    width: min(100%, 520px);
    max-height: calc(100vh - 44px);
  }
}

@media (max-width: 480px) {
  .brand {
    width: 160px;
  }
  .brand-logo {
    width: 150px;
    max-height: 40px;
  }
  .form-modal {
    padding: 0;
  }
  .form-modal-panel {
    width: 100%;
    min-height: 100dvh;
    max-height: none;
    border-radius: 0;
    padding: 14px 14px 20px;
  }
  .contact-modal-form {
    gap: 12px;
  }
  .contact-modal-form input,
  .contact-modal-form select {
    min-height: 42px;
    font-size: 14px;
  }
  .contact-modal-form textarea {
    font-size: 14px;
  }
  .modal-heading-row p {
    font-size: 14px;
  }
}
