:root {
  --color-bg: #ffffff;
  --color-text: #1a1a1a;
  --color-accent: #2c6ef2;
  --color-gold: #d4a017;
  --color-muted: #555555;
  --max-width: 1200px;
  --space-lg: 3rem;
  --space-md: 1.5rem;
  --space-sm: 0.75rem;
}

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

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  justify-items: center;
  column-gap: 1.5rem;
  row-gap: var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  flex: 1;
  width: 100%;
}

.hero__logo {
  margin: 0;
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero__logo img {
  width: 100%;
  height: auto;
  max-width: 600px;
  display: block;
}

.hero__copy {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  max-width: 520px;
  min-width: 0;
  text-align: center;
}

.hero__brand {
  font-size: clamp(1.75rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-sm);
  color: var(--color-text);
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

.hero__slogan {
  font-size: clamp(1.0625rem, 2.2vw, 1.5rem);
  font-weight: 500;
  margin: 0 0 var(--space-md);
  color: var(--color-accent);
  overflow-wrap: break-word;
}

.hero__tagline {
  font-size: clamp(0.9375rem, 1.6vw, 1.125rem);
  margin: 0;
  color: var(--color-muted);
  overflow-wrap: break-word;
}

.hero__contact {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
  margin: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero__email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--color-accent);
  text-decoration: none;
  background-color: rgba(44, 110, 242, 0.08);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero__email:hover,
.hero__email:focus-visible {
  background-color: rgba(212, 160, 23, 0.15);
  color: var(--color-gold);
  outline: none;
}

.hero__email:focus-visible {
  box-shadow: 0 0 0 3px rgba(44, 110, 242, 0.35);
}

.hero__email:active {
  transform: scale(0.96);
}

.hero__email-icon {
  flex-shrink: 0;
  display: block;
}

@media (max-width: 768px) {
  .hero {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-sm);
    justify-content: center;
    align-items: center;
  }

  .hero__logo {
    width: 100%;
    order: 1;
  }

  .hero__copy {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    order: 2;
  }

  .hero__contact {
    width: 100%;
    order: 3;
  }

  .hero__logo img {
    max-width: min(280px, 70vw);
  }
}

@media (max-width: 480px) {
  .hero {
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-sm);
  }

  .hero__logo img {
    max-width: min(240px, 65vw);
  }

  .hero__brand {
    margin-bottom: 0.5rem;
  }

  .hero__slogan {
    margin-bottom: var(--space-sm);
  }
}

.site-footer {
  width: 100%;
  padding: var(--space-md) var(--space-md);
  text-align: center;
}

.site-footer__copy {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-muted);
  letter-spacing: 0.01em;
}

@media (max-width: 480px) {
  .site-footer {
    padding: var(--space-sm) var(--space-sm);
  }

  .site-footer__copy {
    font-size: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
