/* iamjoshlawrence — personal site */
:root {
  --bg: #0e0c0a;
  --bg-elev: #161310;
  --bg-card: #1a1612;
  --ink: #f4efe6;
  --muted: #b7ab9a;
  --gold: #c6a56a;
  --gold-deep: #9a7840;
  --gold-soft: rgba(198, 165, 106, 0.16);
  --line: rgba(244, 239, 230, 0.1);
  --danger: #e8b4a0;
  --radius: 18px;
  --font-display: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  --font-sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --space: clamp(1.25rem, 4vw, 2.5rem);
  --measure: 42rem;
  --max: 68rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(198, 165, 106, 0.12), transparent 55%),
    radial-gradient(900px 500px at 0% 20%, rgba(198, 165, 106, 0.05), transparent 50%),
    var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: #e3c88a; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.6rem;
}
h1 { font-size: clamp(3.1rem, 9vw, 5.6rem); font-weight: 600; }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.7rem; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: #1a140c;
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 1rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem var(--space);
  background: rgba(14, 12, 10, 0.78);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.mark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid var(--gold-soft);
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
}
.header-cta {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
}
.header-cta:hover { border-color: var(--gold); color: var(--gold); }

.hero, .featured, .ventures, .invite, .site-footer {
  width: min(var(--max), calc(100% - 2 * var(--space)));
  margin-inline: auto;
}
.hero {
  padding: clamp(2.5rem, 8vw, 5.5rem) 0 4rem;
  text-align: center;
  max-width: 48rem;
}
.hero-photo {
  width: 8.5rem;
  height: 8.5rem;
  margin: 0 auto 1.75rem;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(160deg, var(--gold), #6a4e24 70%);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--bg);
  filter: contrast(1.05) saturate(0.92);
}
.eyebrow, .section-kicker, .venture-label, .handle {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin: 0 0 0.7rem;
}
.mission {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 3.4vw, 2rem);
  color: var(--gold);
  margin: 0.15rem 0 1.15rem;
}
.lede {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  font-weight: 300;
  font-size: 1.08rem;
}

.social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0;
  margin: 0 0 0.7rem;
}
.social a {
  display: inline-block;
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.85rem;
  font-size: 0.86rem;
  letter-spacing: 0.02em;
}
.social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
}
.handle { margin-top: 0.4rem; color: var(--muted); }

section { padding: 1rem 0 4.25rem; }
.section-intro {
  color: var(--muted);
  max-width: var(--measure);
  margin: 0 0 1.8rem;
}

.feature-grid, .card-grid {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 740px) {
  .feature-grid, .card-grid { grid-template-columns: 1fr 1fr; }
}

.feature-card, .venture {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), transparent 40%), var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem 1.35rem;
}
.feature-card p, .venture p { color: var(--muted); margin: 0 0 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.fine { font-size: 0.82rem; color: var(--muted); margin: 1rem 0 0 !important; }
.placeholder-note { font-style: italic; }
.venture.is-placeholder { border-style: dashed; opacity: 0.95; }

.btn, button.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  cursor: pointer;
  min-height: 2.75rem;
}
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn-gold {
  background: var(--gold);
  color: #1a140c;
  border-color: var(--gold);
}
.btn-gold:hover { background: #d8ba80; color: #1a140c; border-color: #d8ba80; }
.btn-disabled, .btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.55;
  color: var(--muted);
  pointer-events: none;
}
.btn-wide { width: 100%; max-width: 22rem; }

.invite form {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
}
.form-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 700px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}
label {
  display: block;
  font-size: 0.86rem;
  margin: 0 0 1rem;
  color: var(--ink);
}
.req {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-left: 0.35rem;
  font-weight: 500;
}
input, select, textarea {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  font: inherit;
  color: var(--ink);
  background: #0e0c0a;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  caret-color: var(--gold);
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}
textarea { resize: vertical; min-height: 8rem; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-foot { margin-top: 0.25rem; }
.form-status { min-height: 1.4em; font-size: 0.92rem; color: var(--muted); margin: 0.8rem 0 0; }
.form-status.error { color: var(--danger); }
.form-status.ok { color: #c9d7b6; }

.site-footer {
  padding: 2rem 0 3.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.site-footer blockquote {
  margin: 0 auto 1.25rem;
  max-width: 34rem;
  padding: 0;
}
.site-footer blockquote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
cite {
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.legal { color: var(--muted); font-size: 0.82rem; margin: 0; }

@media (min-width: 900px) {
  .hero { padding-top: 5.5rem; }
  .hero-photo { width: 9.5rem; height: 9.5rem; }
}
