/* Virtus Stoica — mobile-first, no build step */

:root {
  --bg: #0d0d0c;
  --bg-raised: #151513;
  --text: #ece8df;
  --muted: #a8a39a;
  --gold: #b89b5e;
  --gold-bright: #cdb27a;
  --line: #2a2925;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 40rem;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-bright); }

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

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  padding: .5rem .9rem;
  background: var(--text);
  color: var(--bg);
  z-index: 10;
}
.skip:focus { top: 1rem; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Top bar */
.topbar {
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

/* Type */
h1, h2 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .005em;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 9vw, 4rem); }
h2 { font-size: clamp(1.9rem, 6.5vw, 2.6rem); }

p { margin: 0 0 1.1rem; }

.eyebrow,
.label {
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* Hero */
.hero {
  min-height: 88svh;
  display: flex;
  align-items: center;
  padding: 4rem 0 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(184, 155, 94, .09), transparent 70%),
    var(--bg);
}

.hero .wrap > * {
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.hero .wrap > :nth-child(2) { animation-delay: .1s; }
.hero .wrap > :nth-child(3) { animation-delay: .2s; }
.hero .wrap > :nth-child(4) { animation-delay: .3s; }
.hero .wrap > :nth-child(5) { animation-delay: .35s; }

.promise {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 30rem;
  margin: 0 auto 2.25rem;
}

/* Button */
.btn {
  display: inline-block;
  width: 100%;
  max-width: 20rem;
  padding: 1.05rem 1.75rem;
  background: var(--gold);
  color: #12110e;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color .25s ease, transform .25s ease;
}
.btn:hover { background: var(--gold-bright); }
.btn:active { transform: translateY(1px); }

.note {
  margin-top: .9rem;
  font-size: .85rem;
  color: var(--muted);
}

/* Sections */
.section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
}

.section p:not(.label) { color: var(--muted); }

.list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.list li {
  position: relative;
  padding: .85rem 0 .85rem 1.75rem;
  border-bottom: 1px solid var(--line);
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: .7rem;
  height: 1px;
  background: var(--gold);
}

.about {
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.6;
}
.section .about { color: var(--text); }

.cta {
  text-align: center;
  background: var(--bg-raised);
}

/* Footer */
.footer {
  padding: 3rem 0 3.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
.footer .wordmark { margin-bottom: 1rem; }
.footer p { margin: 0 0 .5rem; }
.small { font-size: .8rem; }

/* Animation */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* Scroll reveal, CSS-only, in browsers that support it; others just show the content */
@supports (animation-timeline: view()) {
  .reveal > .wrap {
    animation: rise linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 40%;
  }
}

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

/* Larger screens */
@media (min-width: 48rem) {
  body { font-size: 1.125rem; }
  .section { padding: 6rem 0; }
  .btn { width: auto; }
}
