/* ATL SEO one-pager */

:root {
  --navy: #0a1f2d;
  --red: #e31b36;
  --red-hover: #c9162f;
  --off-white: #fafaf8;
  --text: #1a2a35;
  --text-muted: #5a6a75;
  --white: #ffffff;
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Source Sans 3", system-ui, -apple-system, sans-serif;
  --max-width: 72rem;
  --radius: 0.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero */

.hero {
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.hero__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero__logo {
  width: min(280px, 70vw);
  margin: 0 auto 1.25rem;
}

.hero__tagline {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 600;
  font-style: italic;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* About */

.about {
  padding: 2rem 1.5rem 4rem;
}

.about__inner {
  max-width: 42rem;
  margin: 0 auto;
}

.about__text {
  margin: 0;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  color: var(--text);
}

.about__text::first-letter {
  font-family: var(--font-serif);
  font-size: 3.2em;
  font-weight: 700;
  float: left;
  line-height: 0.8;
  margin: 0.08em 0.12em 0 0;
  color: var(--navy);
}

/* CTA */

.cta {
  background: var(--navy);
  color: var(--white);
  padding: 3.5rem 1.5rem;
}

.cta__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.cta__figure {
  margin: 0;
}

.cta__photo {
  width: 100%;
  border-radius: var(--radius);
  border: 3px solid var(--white);
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.25);
}

.cta__content {
  text-align: center;
}

.cta__heading {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
}

.cta__text {
  margin: 0 0 1.5rem;
  font-size: clamp(1rem, 2vw, 1.125rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
}

.cta__price {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta__button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  background: var(--red);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.cta__button:hover {
  background: var(--red-hover);
  transform: translateY(-1px);
}

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

.cta__arrow {
  font-size: 1.25rem;
  transition: transform 0.2s ease;
}

.cta__button:hover .cta__arrow {
  transform: translateX(3px);
}

/* Footer */

.footer {
  padding: 1.5rem;
  text-align: center;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__text {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

/* Desktop layout */

@media (min-width: 768px) {
  .hero {
    padding: 5rem 2rem 3.5rem;
  }

  .about {
    padding: 2.5rem 2rem 5rem;
  }

  .cta {
    padding: 4.5rem 2rem;
  }

  .cta__inner {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .cta__content {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .cta__inner {
    gap: 4.5rem;
  }
}
