/* GSL Tax — one-page site. No trackers, no external JS. */

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/outfit.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

/* Warm paper (recommended): CAA-like sparsity, quieter than pure white. */
[data-theme="light"] {
  --bg: #f4f1ea;
  --ink: #1a1916;
  --muted: #5e5b54;
  --hairline: rgba(26, 25, 22, 0.18);
  --link-hover: #1a1916;
  color-scheme: light;
}

/* Quiet charcoal alternative. */
[data-theme="dark"] {
  --bg: #11110f;
  --ink: #f3efe7;
  --muted: #a8a49b;
  --hairline: rgba(243, 239, 231, 0.16);
  --link-hover: #ffffff;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.page {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding: 1.75rem 1.5rem;
}

@media (min-width: 700px) {
  .page {
    padding: 2.25rem 3.5rem 2rem;
  }
}

/* Vertically centered composition, footer reserved at the bottom. */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 0 2.5rem;
}

.lockup {
  max-width: 40rem;
}

.wordmark {
  margin: 0;
  font-family: "Newsreader", "Palatino Linotype", Palatino, "Times New Roman", Georgia, serif;
  font-weight: 400;
  font-size: clamp(3rem, 8vw, 5.25rem);
  font-optical-sizing: auto;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.tagline {
  margin: 1.15rem 0 0;
  font-family: "Outfit", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.72rem;
  line-height: 1.4;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--ink);
}

.rule {
  display: block;
  width: 2.75rem;
  height: 1px;
  margin: 2.5rem auto;
  background: var(--hairline);
  border: 0;
}

.statement .mobile-break {
  display: none;
}

.statement {
  margin: 0;
  font-family: "Newsreader", "Palatino Linotype", Palatino, "Times New Roman", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  font-optical-sizing: auto;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.note {
  margin: 1.35rem 0 0;
  font-size: 0.8rem;
  line-height: 1.6;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.contact {
  margin: 2.1rem 0 0;
}

.email {
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.18em;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.email:hover,
.email:focus-visible {
  color: var(--link-hover);
  border-bottom-color: var(--ink);
}

.email:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding-top: 1rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

.footer .place {
  letter-spacing: 0.16em;
}

/* Social links: uncomment the nav in the HTML when profiles are ready. */
.social {
  display: flex;
  gap: 1.25rem;
  width: 100%;
  justify-content: center;
  margin: 0 0 0.75rem;
  order: -1;
}

.social a {
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.social a:hover,
.social a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

@media (max-width: 639px) {
  .lockup {
    max-width: 22.5rem;
  }

  .statement .mobile-break {
    display: block;
    content: "";
  }

  .footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .email {
    transition: none;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
  }

  .email {
    border-bottom: none;
  }

  .email::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
    color: #333;
  }
}

.statement .desktop-break { display: inline; }
@media (max-width: 640px) { .statement .desktop-break { display: none; } }
