:root {
  color-scheme: light;
  --paper: #faf8f2;
  --ink: #25225b;
  --blue: #302d82;
  --lime: #def58f;
  --rule: #cfcbda;
  font: 100%/1.55 system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
.wrap { width: min(100% - 3rem, 75rem); margin-inline: auto; }
.top { height: 6rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand img { width: 6rem; height: auto; }
nav { display: flex; gap: clamp(1rem, 3.5vw, 3rem); font-size: .94rem; font-weight: 650; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1.2fr 1fr; min-height: 33rem; background: var(--blue); color: var(--paper); overflow: hidden; }
.hero-copy { padding: clamp(2rem, 5vw, 4.75rem); align-self: center; z-index: 1; }
.eyebrow { letter-spacing: .13em; text-transform: uppercase; font-size: .875rem; font-weight: 650; color: var(--lime); margin-bottom: 1.45rem; }
h1, h2 { font-family: Georgia, serif; font-weight: 500; letter-spacing: -.055em; line-height: .99; }
h1 { font-size: clamp(3.3rem, 6.6vw, 6.9rem); }
h1 em { color: var(--lime); }
.intro { margin-top: 1.65rem; max-width: 34ch; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.button { display: inline-block; margin-top: 1.8rem; background: var(--lime); color: var(--ink); padding: .85rem 1.2rem; font-weight: 700; text-decoration: none; }
.button:hover { background: white; }
.button:focus-visible { outline-color: var(--paper); }
.art { position: relative; display: grid; place-items: center; isolation: isolate; padding: 2.8rem 2.4rem 2.8rem 0; }
.disc { position: absolute; width: 73%; aspect-ratio: 1; background: var(--lime); border-radius: 50%; z-index: -1; right: 15%; }
.art img { width: min(100%, 27rem); height: auto; transform: rotate(-8deg); filter: drop-shadow(.55rem .8rem 0 #17144b80); }
.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 2rem; padding-block: clamp(3.5rem, 7vw, 6rem); }
h2 { font-size: clamp(2.65rem, 5vw, 4.8rem); }
.about p { max-width: 53ch; font-size: 1.125rem; }
.about p + p { margin-top: .85rem; }
.offer { background: #eeeaf7; }
.section-inner { padding-block: clamp(3.5rem, 7vw, 6rem); }
.services, .contacts { display: grid; gap: 1.5rem; margin-top: 2.1rem; }
.services { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contacts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
article { border-top: 1px solid var(--rule); padding-top: 1.2rem; }
h3 { font-size: 1.18rem; line-height: 1.2; margin-bottom: .65rem; }
.contacts article { display: flex; flex-direction: column; align-items: flex-start; }
.contacts p { flex: 1; padding-bottom: 1rem; }
.contacts a { overflow-wrap: anywhere; }
.email { font-weight: 700; margin-bottom: .35rem; }
.footer { border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.4rem 2rem; font-size: .9rem; }
@media (max-width: 56rem) {
  .services, .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { min-height: 27rem; }
}
@media (max-width: 40rem) {
  .wrap { width: calc(100% - 2rem); }
  .top { height: 4.7rem; }
  .brand img { width: 4.4rem; }
  .hero, .about { grid-template-columns: 1fr; }
  .hero-copy { padding: 2rem 1.35rem 0; }
  .art { padding: 1.6rem; }
  .art img { width: min(78%, 16rem); }
  .disc { width: min(62%, 13rem); right: auto; }
  .about { gap: 1.3rem; }
  .contacts { grid-template-columns: 1fr; }
}
.footer-cat {
  position: fixed;
  z-index: 2;
  right: clamp(.5rem, 5vw, 4rem);
  bottom: 0;
  width: clamp(5rem, 13vw, 10rem);
  height: auto;
  pointer-events: none;
  animation: cat-peek .45s cubic-bezier(.22, .8, .4, 1) both;
}
@keyframes cat-peek {
  from { transform: translateY(105%); }
  to { transform: translateY(22%); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-cat { animation: none; transform: translateY(22%); }
}
.footer-cat[hidden] { display: none; }

.offer-intro { max-width: 72ch; margin-top: 1.5rem; font-size: 1.125rem; }
.offer-intro p + p { margin-top: .85rem; }

.group-logos {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1.25rem, 11vw, 9rem);
  padding-top: clamp(1rem, 3vw, 2rem);
}
.group-logos img {
  width: clamp(3.75rem, 13vw, 7rem);
  height: clamp(3.5rem, 11vw, 6rem);
  object-fit: contain;
}
