:root {
  color-scheme: light;
  --navy: #0b1d4a;
  --ink: #251b17;
  --orange: #ff570f;
  --cream: #fffaf6;
  --border: #f2e9e2;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page-shell {
  max-width: 1184px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 0 18px;
}

.site-header { padding: 26px 0 0; }

.brand, .footer-brand {
  display: inline-block;
  color: var(--navy);
  font-size: 29px;
  font-weight: 800;
  letter-spacing: -1.6px;
  line-height: 1;
  text-decoration: none;
}

.brand span, .footer-brand span { color: var(--orange); }
.brand:focus-visible, .footer-brand:focus-visible, .footer-contact a:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }

.brand-rule {
  width: 42px;
  height: 4px;
  margin-top: 13px;
  border-radius: 10px;
  background: var(--orange);
}

.intro { max-width: 720px; padding: 43px 0 31px; }

h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(32px, 8.7vw, 58px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -1.45px;
}

h1 em { color: var(--orange); font-style: normal; }

.intro p {
  max-width: 560px;
  margin: 18px 0 0;
  color: #5f5550;
  font-size: 16px;
  line-height: 1.55;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgb(59 29 11 / 6%);
  color: var(--navy);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 0.88;
  object-fit: cover;
  background: #f1e5da;
}

.card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 7px 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.2px;
  text-align: center;
}

.card-arrow {
  display: none;
  flex: none;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fff0e9;
  color: var(--orange);
  font-size: 16px;
  line-height: 1;
}

.card:hover, .card:focus-visible {
  transform: translateY(-3px);
  border-color: #ffc4a6;
  box-shadow: 0 12px 26px rgb(59 29 11 / 13%);
}

.card:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.card:active { transform: scale(.985); }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
  margin-top: 54px;
  padding: 26px 0 34px;
  border-top: 1px solid #e8ddd5;
}

.footer-brand { font-size: 19px; letter-spacing: -1px; }

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer-contact a {
  color: var(--navy);
  font-size: 14px;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
}

@media (min-width: 640px) {
  .page-shell { padding: 0 32px; }
  .site-header { padding-top: 36px; }
  .intro { padding: 68px 0 40px; }
  .intro p { font-size: 18px; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .card { border-radius: 18px; }
  .card-body { justify-content: space-between; min-height: 58px; gap: 3px; padding: 14px 16px; font-size: 16px; text-align: left; }
  .card-arrow { display: grid; }
}

@media (min-width: 980px) {
  .intro { padding-top: 82px; padding-bottom: 46px; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
