/* Atlanta Arab Americans: unofficial static page, v1 */

:root {
  --peach: #f8cbac;
  --peach-soft: #fbe0cc;
  --ember: #c9512a;
  --ink: #17132b;
  --ink-soft: #2a2444;
  --cream: #fff4ea;

  --display: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 5vw, 4rem);
  --radius: 999px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
p,
ul {
  margin: 0;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Skip link */
.skip {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 10;
  padding: 0.75rem 1rem;
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-radius: 0.5rem;
}

.skip:focus-visible {
  top: 0.75rem;
}

/* Unofficial label */
.concept-label {
  padding: 0.45rem var(--gutter);
  background: var(--ink);
  color: var(--cream);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

/* ---------- Poster ---------- */
.poster {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 2rem);
  min-height: calc(100svh - 2rem);
  padding: 1.25rem var(--gutter) 3rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    radial-gradient(110% 60% at 100% 0%, var(--peach-soft) 0%, transparent 65%),
    var(--peach);
}

.poster__meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* Oversized outlined "ATL" set behind the type: the Atlanta cue */
.poster__ghost {
  position: absolute;
  right: -0.06em;
  bottom: -0.2em;
  z-index: -1;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(10rem, 50vw, 34rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(201, 81, 42, 0.45);
  user-select: none;
  pointer-events: none;
}

.poster__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
  max-width: 62rem;
}

.title {
  margin-bottom: 1.25rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.25rem, 16vw, 10rem);
  line-height: 0.88;
  letter-spacing: -0.035em;
}

.title__line {
  display: block;
}

.title__line--accent {
  position: relative;
  padding-left: 0.6em;
  font-style: italic;
  font-weight: 400;
}

.title__line--accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 52%;
  width: 0.45em;
  height: 0.08em;
  background: var(--ember);
}

.lede {
  max-width: 24rem;
  font-size: 1.125rem;
  line-height: 1.45;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 30rem;
}

.btn {
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  font-size: 1.0625rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--cream);
}

.btn--primary:hover {
  background: var(--ink-soft);
}

.btn__arrow {
  display: inline-block;
  transition: transform 160ms ease;
}

.btn--primary:hover .btn__arrow {
  transform: translateX(4px);
}

.btn--ghost {
  background: rgba(255, 244, 234, 0.55);
  color: var(--ink);
}

.btn--ghost:hover {
  background: var(--cream);
}

.btn:active {
  transform: translateY(1px);
}

.hint {
  margin-top: 1rem;
  font-size: 0.9375rem;
}

/* ---------- What we do ---------- */
.what {
  padding: 3.5rem var(--gutter) 3.5rem;
  background: var(--ink);
  color: var(--cream);
}

.what__title {
  font-family: var(--display);
  font-size: clamp(2rem, 9vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.what__list {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.25rem;
}

.what__item {
  padding-top: 0.9rem;
  border-top: 2px solid var(--peach);
  font-family: var(--display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.15;
}

.what__num {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--peach);
}

/* ---------- Footer ---------- */
.footer {
  padding: 1.5rem var(--gutter) 2rem;
  background: var(--ink);
  color: var(--peach-soft);
  border-top: 1px solid var(--ink-soft);
  font-size: 0.875rem;
}

.footer p {
  max-width: 40rem;
}

.footer a {
  color: var(--peach);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.footer a:hover {
  color: var(--cream);
}

.footer a:focus-visible {
  outline-color: var(--peach);
}

/* ---------- Motion (one restrained entrance) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .title__line {
    animation: rise 700ms cubic-bezier(0.2, 0.7, 0.1, 1) both;
  }

  .title__line:nth-child(2) {
    animation-delay: 90ms;
  }

  .title__line:nth-child(3) {
    animation-delay: 180ms;
  }

  .poster__ghost {
    animation: drift 1600ms cubic-bezier(0.2, 0.7, 0.1, 1) both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(0.25em);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    opacity: 0;
    transform: translateX(8%);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

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

/* ---------- Larger screens ---------- */
@media (min-width: 40em) {
  .btn {
    flex: 0 0 auto;
  }

  .what__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 60em) {
  .poster {
    padding-top: 2rem;
  }

  .title {
    font-size: clamp(6rem, 11vw, 11rem);
  }

  .lede {
    font-size: 1.25rem;
  }
}

@media (forced-colors: active) {
  .btn {
    border: 2px solid ButtonText;
  }

  .poster__ghost {
    display: none;
  }
}
