/* === RESET + BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  font-family: "DM Sans", system-ui, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink-b);
  font-weight: 700;
  overflow-x: hidden;
}

/* === RISograph TWO-COLOUR PALETTE === */
:root {
  --bg: #f7f5ea;
  --ink-a: #ff48b0;
  --ink-b: #1f3fff;
  --ink-a-dim: rgba(255, 72, 176, 0.15);
  --ink-b-dim: rgba(31, 63, 255, 0.08);
  --paper: #f7f5ea;
  --card-bg: #f0ede0;
  --radius: 12px;
}

/* === BACKGROUND DEPTH === */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 20% 15%, var(--ink-a) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 85%, var(--ink-b) 0%, transparent 50%),
    var(--bg);
  opacity: 0.25;
  pointer-events: none;
}

/* === TYPOGRAPHY — deliberately inverted weight === */
h1, h2, h3, h4 {
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.8rem, 8vw, 5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); font-weight: 400; letter-spacing: -0.01em; }
p, li, blockquote, dd, .info-note, .service-desc {
  font-weight: 700;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
}
.section-label {
  font-weight: 200;
  font-size: clamp(0.75rem, 1.2vw, 0.85rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--ink-a);
  margin-bottom: 1.5rem;
}

/* === MARQUEE TICKER BAND === */
.marquee {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink-b);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  overflow: hidden;
  height: 2.2rem;
  display: flex;
  align-items: center;
}
.marquee-track {
  display: flex;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
  padding-left: 2rem;
}
.marquee-track span { display: inline-block; }
@keyframes marquee-scroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; padding-left: 0; justify-content: center; width: 100%; }
}

/* === HERO === */
.hero {
  position: relative;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  max-width: 800px;
  margin: 0 auto;
}
.hero-title {
  color: var(--ink-b);
  position: relative;
  z-index: 1;
}
.hero-misregister {
  position: absolute;
  top: 4rem;
  left: 50%;
  transform: translate(-52%, 2px);
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink-a);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  white-space: pre-line;
  text-align: center;
  width: 100%;
}
.hero-tagline {
  margin-top: 1rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--ink-b);
  opacity: 0.85;
}
.rating {
  display: inline-block;
  font-weight: 400;
  font-size: 0.9em;
  color: var(--ink-a);
}
.rating-half { opacity: 0.4; }
.hero-actions {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-ink {
  background: var(--ink-b);
  color: var(--bg);
  border-color: var(--ink-b);
}
.btn-ink:hover {
  background: transparent;
  color: var(--ink-b);
}
.btn-outline {
  background: transparent;
  color: var(--ink-b);
  border-color: var(--ink-b);
}
.btn-outline:hover {
  background: var(--ink-b);
  color: var(--bg);
}
.btn-small {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
  background: transparent;
  color: var(--ink-b);
  border: 2px solid var(--ink-b);
  border-radius: 999px;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.75rem;
  transition: all 0.2s;
}
.btn-small:hover {
  background: var(--ink-b);
  color: var(--bg);
}

/* === ABOUT === */
.about {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
.about-inner p {
  margin-bottom: 1.5rem;
}

/* === REVIEW CARD === */
.review-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  border-left: 4px solid var(--ink-a);
  margin: 1.5rem 0;
}
.review-card blockquote {
  font-style: italic;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ink-b);
  opacity: 0.9;
}
.review-card cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-a);
}

/* === SERVICES (menu-style grid) === */
.services {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}
.service-card:hover {
  border-color: var(--ink-a);
}
.service-card h3 {
  margin-bottom: 0.5rem;
  color: var(--ink-b);
}
.service-desc {
  font-weight: 400;
  font-size: 0.9rem;
  opacity: 0.8;
  flex: 1;
  margin-bottom: 1rem;
}
.service-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink-a);
  display: block;
}

/* === REVIEWS SECTION === */
.reviews {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.review-grid .review-card {
  border-left-color: var(--ink-b);
}

/* === INFO CARDS (hours, location, contact) === */
.info-cards {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.info-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.info-card h3 {
  margin-bottom: 1rem;
  color: var(--ink-b);
}
.hours-list div {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid rgba(31, 63, 255, 0.1);
}
.hours-list dt {
  font-weight: 400;
}
.hours-list dd {
  font-weight: 700;
}
.info-note {
  font-weight: 400;
  font-size: 0.85rem;
  opacity: 0.7;
  margin-top: 0.5rem;
}
.phone-link {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink-b);
  text-decoration: none;
}
.phone-link:hover {
  color: var(--ink-a);
}

/* === CONTACT FORM === */
.contact-form-section {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.5rem 3rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--ink-b);
}
.contact-form input,
.contact-form textarea {
  font-family: "DM Sans", system-ui, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid var(--ink-b);
  border-radius: 8px;
  background: var(--bg);
  color: var(--ink-b);
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ink-a);
  box-shadow: 0 0 0 3px var(--ink-a-dim);
}
.contact-form button {
  align-self: flex-start;
}
.form-status {
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--ink-b);
  margin-top: 0.5rem;
}

/* === CLOSING === */
.closing {
  text-align: center;
  padding: 3rem 1.5rem 4rem;
  max-width: 600px;
  margin: 0 auto;
}
.closing-quote {
  font-weight: 200;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--ink-a);
  margin-bottom: 0.75rem;
}
.closing-line {
  font-weight: 400;
  font-size: 0.95rem;
  opacity: 0.7;
}

/* === FOOTER === */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem 4rem;
  font-weight: 400;
  font-size: 0.8rem;
  opacity: 0.5;
}

/* === KWAKU ATTRIBUTION === */
.attribution {
  position: fixed;
  bottom: 0.5rem;
  right: 0.75rem;
  font-size: 0.7rem;
  opacity: 0.5;
  font-family: system-ui, sans-serif;
  z-index: 200;
}
.attribution a { color: inherit; text-decoration: none; }

/* === ACCESSIBILITY === */
:focus-visible {
  outline: 3px solid var(--ink-a);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* === RESPONSIVE === */
@media (max-width: 600px) {
  .hero { padding: 2.5rem 1rem 2rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 280px; text-align: center; }
}
