:root {
  --ink: #26182c;
  --purple: #5b177d;
  --purple-dark: #3f0f5a;
  --lavender: #eee4f4;
  --cream: #fbf8f2;
  --paper: #fffdf9;
  --line: rgba(91, 23, 125, 0.18);
  --muted: #6d6271;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; }

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.header-contact {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: white;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image { object-fit: cover; }

.hero-shade {
  background:
    linear-gradient(90deg, rgba(32, 16, 38, 0.78) 0%, rgba(47, 22, 52, 0.52) 42%, rgba(30, 18, 34, 0.08) 78%),
    linear-gradient(0deg, rgba(26, 14, 31, 0.18), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 65px auto 0;
  padding-right: 50%;
}

.hero-logo {
  width: 74px;
  height: 74px;
  object-fit: contain;
  margin-bottom: 18px;
  filter: brightness(0) invert(1);
}

.eyebrow,
.section-label {
  margin: 0 0 14px;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.hero h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.hero-copy {
  max-width: 590px;
  margin: 24px 0 32px;
  font-size: clamp(1.08rem, 1.6vw, 1.3rem);
  line-height: 1.55;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  color: white;
  background: var(--purple);
}

.hero .button-primary { background: white; color: var(--purple-dark); }

.button-secondary {
  color: var(--purple);
  border-color: var(--line);
  background: transparent;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 110px 0;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
  border-bottom: 1px solid var(--line);
}

.section-label { color: var(--purple); }

h2 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.3rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.intro-copy p {
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.offerings { padding-bottom: 130px; }

.section-heading { margin-bottom: 55px; }

.section-heading h2 { max-width: 720px; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.card-number {
  color: var(--purple);
  font-size: 0.8rem;
  font-weight: 600;
}

.card h3 {
  margin: auto 0 18px;
  font-size: 2rem;
  font-weight: 500;
}

.card p { margin: 0; color: var(--muted); }

.contact {
  width: min(1180px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 0.8fr 1.5fr;
  align-items: center;
  gap: 80px;
  margin-bottom: 90px;
  padding: 80px;
  background: var(--lavender);
  border-radius: 8px;
}

.contact-mark {
  display: grid;
  place-items: center;
  min-height: 310px;
  border-right: 1px solid var(--line);
}

.contact-mark img {
  width: min(210px, 75%);
  height: auto;
  object-fit: contain;
}

.contact-copy > p:not(.section-label) {
  margin: 24px 0 26px;
  color: var(--muted);
}

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px max(24px, calc((100% - 1180px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: var(--purple-dark);
}

footer p { margin: 0; font-size: 0.9rem; }

@media (max-width: 820px) {
  .site-header { width: min(100% - 32px, 1180px); }
  .hero { min-height: 720px; align-items: end; }
  .hero-image { object-position: 63% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(30, 15, 35, 0.88) 5%, rgba(38, 19, 43, 0.52) 72%, rgba(25, 15, 28, 0.2)); }
  .hero-content { width: min(100% - 32px, 1180px); margin: 0 auto; padding: 180px 0 62px; }
  .hero h1 { font-size: clamp(3.1rem, 16vw, 5rem); }
  .section { width: min(100% - 32px, 1180px); padding: 76px 0; }
  .intro { grid-template-columns: 1fr; gap: 22px; }
  .card-grid { grid-template-columns: 1fr; }
  .card { min-height: 245px; }
  .contact { width: min(100% - 32px, 1180px); grid-template-columns: 1fr; gap: 34px; margin-bottom: 55px; padding: 46px 28px; }
  .contact-mark { min-height: auto; padding-bottom: 36px; border-right: 0; border-bottom: 1px solid var(--line); }
  .contact-mark img { width: 140px; }
  footer { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand span { font-size: 1.1rem; }
  .header-contact { font-size: 0.82rem; }
  .hero { min-height: 680px; }
  .hero-logo { width: 62px; height: 62px; }
  .hero-copy { margin-top: 18px; }
  .button { width: 100%; }
  .contact-actions { flex-direction: column; }
}

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