/* Doolittle Super Intelligence — palette from the personal briefing (locked 4 Oct 2026) */
:root {
  --green: #1B3A2F;
  --green-deep: #142c23;
  --green-soft: #24493b;
  --gold: #C4A35A;
  --cream: #F4F1E8;
  --paper: #FAF8F2;
  --ink: #1a1a1a;
  --muted: #4a5550;
  --serif-display: "Cormorant Garamond", Georgia, "Iowan Old Style", Palatino, serif;
  --serif: "EB Garamond", Georgia, "Iowan Old Style", Palatino, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* Shared ornaments */
.mark {
  width: 7px; height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  margin: 0 auto 2.25rem;
}
.gold-line {
  width: 12rem; height: 0;
  border-top: 1px solid var(--gold);
  margin: 2rem auto 1.75rem;
}
.eyebrow, .label {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin: 0;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(100vh, 860px);
  min-height: min(100svh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 7rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 42%, var(--green-soft) 0%, rgba(36,73,59,0) 70%),
    var(--green);
  color: var(--cream);
  text-align: center;
}
.hero-inner { width: 100%; max-width: 44rem; }
.hero .eyebrow { color: var(--gold); }
.signature { margin: 2.25rem auto 0; font-size: 1rem; line-height: 1; }
.signature img { width: min(34rem, 88%); margin: 0 auto; }
.tagline {
  margin: 0;
  font-family: var(--serif-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  color: var(--cream);
}
.scroll-cue {
  position: absolute;
  left: 50%; bottom: 2.5rem;
  width: 2.25rem; height: 2.25rem;
  margin-left: -1.125rem;
  border: 1px solid rgba(196,163,90,0.55);
  border-radius: 50%;
  display: grid; place-items: center;
  transition: border-color .3s ease;
}
.scroll-cue span {
  width: 7px; height: 7px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: translateY(-2px) rotate(45deg);
}
.scroll-cue:hover { border-color: var(--gold); }

/* About */
.about { padding: 7.5rem 1.5rem; background: var(--paper); }
.about-inner {
  max-width: 64rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 19rem 1fr;
  gap: 4.5rem;
  align-items: start;
}
.portrait { margin: 0.5rem 0 0; position: relative; }
.portrait::before {
  content: "";
  position: absolute;
  inset: -0.75rem;
  border: 1px solid var(--gold);
  border-radius: 2px;
  opacity: 0.75;
}
.portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 0%;
  border-radius: 1px;
  filter: saturate(0.95);
}
.about .label { color: var(--green); opacity: 0.8; }
.about h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1.12;
  color: var(--green);
  margin: 0.9rem 0 1.4rem;
}
.lede { margin: 0 0 2.25rem; color: var(--ink); max-width: 36rem; }
.duties {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(27,58,47,0.18);
}
.duties li {
  display: grid;
  grid-template-columns: 10.5rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(27,58,47,0.18);
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.5;
}
.duty {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  padding-top: 0.38rem;
}

.more-link { margin: 2rem 0 0; }
.more-link a {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.3rem;
  transition: color .3s ease;
}
.more-link a:hover { color: #8a6f30; }

/* Contact */
.contact {
  padding: 7rem 1.5rem 7.5rem;
  background: var(--green);
  color: var(--cream);
  text-align: center;
}
.contact-inner { max-width: 36rem; margin: 0 auto; }
.contact .mark { margin-bottom: 1.75rem; }
.contact .label { color: var(--gold); }
.contact h2 {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0.9rem 0 1rem;
  color: var(--cream);
}
.contact p { margin: 0 0 2.25rem; color: rgba(244,241,232,0.86); }
/* Contact form */
.contact-form { margin: 0 auto; text-align: left; max-width: 34rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { display: block; margin: 0 0 1.6rem; }
.field span {
  display: block;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1.1rem;
  color: var(--cream);
  background: rgba(244,241,232,0.04);
  border: 0;
  border-bottom: 1px solid rgba(196,163,90,0.45);
  border-radius: 0;
  padding: 0.55rem 0.15rem 0.5rem;
  transition: border-color .3s ease, background-color .3s ease;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 8.5rem; line-height: 1.5; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-bottom-color: var(--gold);
  background: rgba(244,241,232,0.07);
}
.contact-form button {
  display: block;
  margin: 0.6rem auto 0;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 1px;
  padding: 0.95rem 2.6rem 0.95rem 2.88rem;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease;
}
.contact-form button:hover { background: transparent; color: var(--gold); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-note { text-align: center; font-size: 0.95rem; margin: 1.2rem 0 0 !important; }
.form-status {
  display: none;
  max-width: 34rem;
  margin: 0 auto 2rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid rgba(196,163,90,0.55);
  scroll-margin-top: 30vh;
}
.form-status p { margin: 0 !important; }
.form-status.is-error { border-color: rgba(244,241,232,0.35); }
.form-status .status-title {
  font-family: var(--serif-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 0.3rem !important;
}
.form-status:target, .form-status.is-shown { display: block; }
.contact-inner:has(#sent:target) .contact-form, .contact-form.is-hidden { display: none; }

/* Footer */
.site-footer {
  background: var(--green-deep);
  color: rgba(244,241,232,0.7);
  text-align: center;
  padding: 1.75rem 1.5rem;
  border-top: 1px solid rgba(196,163,90,0.25);
}
.site-footer p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* Small screens */
@media (max-width: 760px) {
  body { font-size: 1.125rem; }
  .hero { padding: 5rem 1.25rem 6rem; min-height: 88svh; }
  .eyebrow { font-size: 0.66rem; letter-spacing: 0.24em; }
  .signature img { width: 94%; }
  .gold-line { width: 8rem; margin: 1.6rem auto 1.4rem; }
  .tagline { font-size: 1.35rem; }
  .about { padding: 5rem 1.5rem; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .portrait { width: 15rem; margin: 0.75rem auto 0; }
  .about-text { text-align: left; }
  .about h2 { font-size: 2.1rem; }
  .duties li { grid-template-columns: 1fr; gap: 0.2rem; padding: 0.95rem 0; }
  .duty { padding-top: 0; }
  .contact { padding: 5rem 1.5rem 5.5rem; }
  .contact h2 { font-size: 2.1rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

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