/* Solanthos — solanthos.com
   Static one-page landing. Self-hosted Cardo (latin subset), no third-party requests. */

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

@font-face {
  font-family: "Cardo";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/cardo-700.woff2") format("woff2");
}

:root {
  --bg: #1a1a18;
  --ink: #e8e3d6;
  --muted: #9d978a;
  --gold: #c9a84c;
  --gold-soft: rgba(201, 168, 76, 0.18);
  --line: rgba(232, 227, 214, 0.12);
  --serif: "Cardo", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  /* gentle warmth from the top, settling into flat dark */
  background-image: radial-gradient(120% 80% at 50% -10%, rgba(201, 168, 76, 0.08), transparent 60%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 5rem) 1.5rem;
  display: flex;
  flex-direction: column;
  gap: clamp(2.25rem, 6vh, 3.5rem);
}

/* Masthead ---------------------------------------------------------------- */
.masthead {
  text-align: center;
  margin-top: auto;
}

.emblem {
  display: block;
  width: clamp(64px, 14vw, 80px);
  height: auto;
  margin: 0 auto 1.25rem;
}

.wordmark {
  position: relative;
  display: inline-block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3rem, 12vw, 5.25rem);
  line-height: 1;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--ink);
}

/* The trademark hangs off the right edge so it does not shift the
   wordmark off-center; "Solanthos" itself stays truly centered. */
.tm {
  position: absolute;
  left: 100%;
  top: 0.08em;
  font-size: 0.26em;
  color: var(--gold);
  margin-left: 0.1em;
  font-family: var(--sans);
  letter-spacing: 0;
  line-height: 1;
}

.lede {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3.4vw, 1.4rem);
  line-height: 1.5;
  color: var(--muted);
  max-width: 28rem;
  margin: 1.4rem auto 0;
}

/* Product card ------------------------------------------------------------ */
.products {
  display: flex;
  justify-content: center;
}

.product {
  display: block;
  width: 100%;
  max-width: 26rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
  padding: 1.75rem 1.75rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.015);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.product:hover,
.product:focus-visible {
  border-color: var(--gold-soft);
  background: rgba(201, 168, 76, 0.05);
  transform: translateY(-2px);
}

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

.product__name {
  display: block;
  font-family: var(--serif);
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--ink);
}

.product__tagline {
  display: block;
  margin-top: 0.35rem;
  font-size: 1rem;
  color: var(--muted);
}

.product__cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Contact ----------------------------------------------------------------- */
.contact {
  text-align: center;
}

.contact p {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.contact__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 1px;
  transition: border-color 160ms ease, color 160ms ease;
}

.contact a:hover,
.contact a:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

/* Footer ------------------------------------------------------------------ */
.site-footer {
  text-align: center;
  margin-top: auto;
  padding-top: clamp(1.5rem, 5vh, 3rem);
}

.site-footer p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--muted);
}

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