:root {
  --bg: #f6f3ef;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #a63d40;
  --ring: rgba(166, 61, 64, 0.24);
  --radius: 16px;
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

.container {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 56vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.75) contrast(0.95);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.76), rgba(15, 23, 42, 0.2));
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 5rem 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
}

.subtitle {
  margin-top: 1rem;
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.92);
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 8px 18px rgba(166, 61, 64, 0.4);
}

.intro {
  margin: 2.5rem 0 1rem;
}

.intro h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.intro p {
  margin-top: 0.6rem;
  color: var(--muted);
  max-width: 70ch;
}

.grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  margin-bottom: 3rem;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  background: #e5e7eb;
}

.card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card h3 {
  font-size: 1.25rem;
}

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

.card a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-top: auto;
  align-self: flex-start;
}

.card a:hover,
.card a:focus {
  text-decoration: underline;
}

.footer {
  border-top: 1px solid #e5e7eb;
  padding: 1rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}

:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}
