:root {
  --ink: #211b52;
  --ink-soft: #5b5678;
  --paper: #fff9ed;
  --paper-deep: #f4ead7;
  --coral: #f05a47;
  --coral-dark: #c83b2d;
  --coral-hover: #a92c21;
  --yellow: #ffd84c;
  --mint: #78d6b2;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(33, 27, 82, 0.14);
}

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

html {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 20;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  width: min(1180px, calc(100% - 2rem));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2.5rem) 0 1.25rem;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header {
  position: relative;
  z-index: 2;
}

.wordmark {
  display: block;
  width: clamp(250px, 38vw, 430px);
  height: auto;
}

.hero {
  position: relative;
  isolation: isolate;
  align-self: center;
  margin: clamp(1.5rem, 4vw, 4rem) 0;
  padding: clamp(2rem, 7vw, 6.5rem);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: clamp(1.5rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.77);
  box-shadow: var(--shadow);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 1.2rem;
  padding: 0.55rem 0.9rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(var(--kicker-angle, 0deg));
}

h1 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(2.5rem, 7vw, 6.2rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.intro {
  max-width: 650px;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.contact-panel {
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(2rem, 4vw, 3rem);
}

.contact-panel[hidden] {
  display: none;
}

.contact-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.contact-prompt {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  width: fit-content;
  max-width: 100%;
  padding: 0.9rem 1rem 0.9rem 1.25rem;
  border: 2px solid var(--ink);
  border-radius: 1rem;
  background: var(--coral-dark);
  box-shadow: 5px 5px 0 var(--ink);
  color: var(--white);
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.contact-link:hover {
  background: var(--coral-hover);
  box-shadow: 2px 2px 0 var(--ink);
  transform: translate(3px, 3px);
}

.contact-link:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.contact-link.is-copied {
  background: var(--ink);
}

.contact-email {
  padding-left: 0.8rem;
  border-left: 1px solid rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.copy-symbol {
  font-size: 1.25rem;
  line-height: 1;
}

.gmail-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.72rem 0.9rem;
  border: 2px solid transparent;
  border-radius: 0.8rem;
  color: var(--ink);
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.gmail-link:hover {
  text-decoration-thickness: 0.16em;
}

.gmail-link:focus-visible {
  border-color: var(--ink);
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
}

.gmail-link[hidden] {
  display: none;
}

.contact-note {
  margin: 0.8rem 0 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.copy-status {
  min-height: 1.2em;
  margin: 0.3rem 0 0;
  color: var(--coral-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.spotlight {
  position: absolute;
  top: -16rem;
  right: -13rem;
  z-index: -2;
  width: clamp(27rem, 55vw, 48rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.62;
}

.site-footer {
  padding: 0.4rem 0;
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: right;
  text-transform: uppercase;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1.2rem, 1180px);
    min-height: auto;
    padding-top: 1rem;
    display: block;
  }

  .hero {
    margin: 1.35rem 0 1rem;
    padding: 2rem 1.25rem 2.25rem;
  }

  .spotlight {
    top: -15rem;
    right: -19rem;
  }

  .contact-link {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .contact-email {
    width: 100%;
    padding: 0.6rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.65);
    border-left: 0;
    overflow-wrap: anywhere;
  }

  .copy-symbol {
    position: absolute;
    top: 0.9rem;
    right: 1rem;
  }

  .site-footer {
    margin-top: 1rem;
    padding-bottom: 1rem;
    text-align: left;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .site-ready .hero-copy {
    animation: enter 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
