/* Marcello Zecca — Heritage Clinical */
/* Deep burgundy + warm cream, classic editorial typography */

:root {
  --accent: oklch(0.38 0.14 20);
  --accent-hover: oklch(0.32 0.12 20);
  --accent-light: oklch(0.85 0.04 20);
  --accent-muted: oklch(0.55 0.10 20);
  --bg: oklch(0.97 0.004 75);
  --surface: oklch(0.99 0.002 75);
  --text: oklch(0.20 0.008 45);
  --muted: oklch(0.44 0.01 55);
  --border: oklch(0.90 0.005 70);
  --hero-bg: oklch(0.20 0.008 45);
  --hero-text: oklch(0.97 0.004 75);
  --footer-bg: oklch(0.16 0.006 45);
  --footer-text: oklch(0.76 0.006 55);
  --card-bg: oklch(0.99 0.002 75);
  --radius: 2px;
  --shadow: 0 2px 16px rgba(0,0,0,0.04);
}
@supports not (color: oklch(0 0 0)) {
  :root {
    --accent: #7a2030;
    --accent-hover: #651927;
    --accent-light: #e8d5d8;
    --accent-muted: #a84055;
    --bg: #faf9f6;
    --surface: #fdfdfc;
    --text: #33302d;
    --muted: #706d69;
    --border: #e5e2dd;
    --hero-bg: #33302d;
    --hero-text: #faf9f6;
    --footer-bg: #292724;
    --footer-text: #c4c0bb;
  }
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
p { margin: 0; }
ul { padding-left: 1.2rem; }
img, svg { display: block; max-width: 100%; }

.container {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
}

/* Typography */
h1, h2 {
  font-family: Georgia, 'Times New Roman', 'Palatino Linotype', serif;
  line-height: 1.2;
  font-weight: 400;
  color: var(--text);
}
h3 {
  font-family: Georgia, serif;
  line-height: 1.3;
  font-weight: 400;
}
h1 { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
h2 { font-size: clamp(1.4rem, 3.4vw, 2.1rem); }
h3 { font-size: clamp(1rem, 1.9vw, 1.2rem); }

.kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 0.7rem;
}
.eyebrow {
  display: inline-flex;
  padding: 5px 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--hero-text);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.97 0.004 75 / 0.95);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 68px; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand__mark {
  width: 40px; height: 40px;
  background: var(--accent); color: #fff;
  display: grid; place-items: center;
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.brand__text { display: flex; flex-direction: column; min-width: 0; }
.brand__title {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 0.98rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand__subtitle { font-size: 0.74rem; color: var(--muted); }

.nav { display: none; gap: 28px; align-items: center; }
.nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); padding: 16px 24px; box-shadow: var(--shadow); }
.nav a { font-size: 0.82rem; font-weight: 600; color: var(--muted); transition: color 0.2s; letter-spacing: 0.04em; text-transform: uppercase; }
.nav a:hover { color: var(--text); }
.nav__cta {
  padding: 8px 20px; background: var(--accent); color: #fff !important;
  font-weight: 600; transition: background 0.2s;
  letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.72rem;
}
.nav__cta:hover { background: var(--accent-hover); }

.menu-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
  padding: 56px 0 64px;
  background: var(--hero-bg);
  color: var(--hero-text);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(255,255,255,0.015) 40px,
      rgba(255,255,255,0.015) 41px
    );
  pointer-events: none;
}
.hero__grid {
  position: relative; display: grid; gap: 40px; align-items: start;
}
.hero__content { display: grid; gap: 22px; }
.hero h1 { color: var(--hero-text); }
.hero p { font-size: 1.05rem; color: rgba(255,255,255,0.72); max-width: 58ch; line-height: 1.85; }

.hero__meta { display: flex; flex-wrap: wrap; gap: 10px; }
.meta-pill {
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--hero-text);
}

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; font-weight: 700;
  font-size: 0.85rem; border: none; cursor: pointer;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: var(--accent); color: #fff;
  box-shadow: 0 6px 20px rgba(122,32,48,0.3);
}
.btn--primary:hover { background: var(--accent-hover); }
.btn--secondary {
  background: rgba(255,255,255,0.08); color: var(--hero-text);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn--outline {
  background: transparent; color: var(--accent-light);
  border: 1.5px solid var(--accent-light);
}
.btn--outline:hover { background: var(--accent-light); color: var(--accent); }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 30px;
  display: grid; gap: 20px;
}
.hero-card__label {
  font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.4); font-weight: 600;
}
.hero-card__phone {
  font-size: 1.5rem; font-weight: 400;
  font-family: Georgia, serif;
}
.hero-card__phone a { color: var(--hero-text); }
.hero-card__list { display: grid; gap: 14px; }
.hero-card__item { display: grid; gap: 2px; }
.hero-card__item span { font-size: 0.85rem; color: rgba(255,255,255,0.55); }
.hero-card__item strong { font-size: 0.92rem; font-weight: 400; font-family: Georgia, serif; }

/* Sections */
.section { padding: 72px 0; }
.section--alt { background: var(--surface); }
.section-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 640px; }
.section-head p { color: var(--muted); font-size: 1.05rem; line-height: 1.85; }

/* Decorative divider */
.section-head::after {
  content: '';
  display: block;
  width: 48px; height: 1px;
  background: var(--accent);
  margin-top: 8px;
}

/* Approach */
.approach-grid { display: grid; gap: 24px; }
.approach-step {
  padding: 28px 26px; background: var(--card-bg);
  border-top: 2px solid var(--accent);
  display: grid; gap: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.approach-step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.step-num {
  font-family: Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 4px;
}
.approach-step h3 { margin: 0; }
.approach-step p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; }

/* Services */
.services-list {
  display: grid; gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-item {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 24px 26px; background: var(--card-bg);
}
.service-dot {
  width: 32px; height: 32px;
  background: var(--accent-light); color: var(--accent);
  display: grid; place-items: center;
  font-size: 0.9rem; flex-shrink: 0;
  font-weight: 600;
}
.service-item h3 { margin: 0 0 4px; font-size: 1.02rem; }
.service-item p { color: var(--muted); font-size: 0.9rem; line-height: 1.7; }

/* About */
.about-grid { display: grid; gap: 36px; align-items: start; }
.about-text { display: grid; gap: 18px; }
.about-text p { color: var(--muted); font-size: 1.05rem; line-height: 1.85; }
.about-highlights { list-style: none; padding: 0; display: grid; gap: 12px; }
.about-highlights li {
  position: relative; padding-left: 24px; font-size: 0.92rem; line-height: 1.7;
}
.about-highlights li::before {
  content: '—'; position: absolute; left: 0; top: 0;
  color: var(--accent); font-weight: 400;
}
.about-accent {
  background: var(--accent-light);
  padding: 36px 32px;
  display: grid; gap: 14px;
  position: relative;
}
.about-accent::before {
  content: '';
  position: absolute; top: 0; left: 32px;
  width: 48px; height: 2px;
  background: var(--accent);
}
.about-accent blockquote {
  font-family: Georgia, serif;
  font-size: 1.1rem;
  font-style: italic; line-height: 1.7;
  color: var(--text);
}
.about-accent cite { font-size: 0.82rem; font-style: normal; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }

/* Contact */
.contact-grid { display: grid; gap: 36px; }
.contact-info { display: grid; gap: 16px; }
.contact-card {
  padding: 24px 26px; background: var(--card-bg);
  border: 1px solid var(--border);
}
.contact-card h3 {
  font-family: -apple-system, sans-serif;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--accent); margin-bottom: 8px;
}
.contact-card p, .contact-card a { font-size: 0.95rem; }
.contact-card a { color: var(--accent); font-weight: 600; }
.contact-cta { display: grid; gap: 16px; }
.contact-cta p { color: var(--muted); font-size: 1.05rem; line-height: 1.85; }

/* Footer */
.footer {
  background: var(--footer-bg); color: var(--footer-text);
  padding: 48px 0 32px;
}
.footer__grid { display: grid; gap: 32px; margin-bottom: 32px; }
.footer-card h3 {
  font-family: Georgia, serif;
  font-size: 0.82rem; font-weight: 400;
  margin-bottom: 10px; color: rgba(255,255,255,0.6);
}
.footer-card p, .footer-card li { font-size: 0.88rem; color: var(--footer-text); }
.footer-card ul { list-style: none; padding: 0; display: grid; gap: 4px; }
.footer-card a { color: var(--hero-text); font-weight: 500; }
.footer__copy {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* Reveal */
.reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (min-width: 760px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .hero { padding: 72px 0 80px; }
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
  .approach-grid { grid-template-columns: repeat(3, 1fr); }
  .services-list { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .hero { padding: 88px 0 96px; }
  .services-list { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 88px 0; }
}