/* Tall Oaks Research -- one stylesheet, no external fonts or requests. */
:root {
  --bg: #0d1914;
  --bg-hi: #16291f;
  --bg-lo: #09120e;
  --ivory: #ebe4d2;
  --muted: #98a394;
  --gold: #c4a66a;
  --gold-dim: rgba(196, 166, 106, .38);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", P052, Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(24px, 8vw, 128px);
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: var(--bg); }

body {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--ivory);
  font-family: var(--serif);
  background:
    radial-gradient(115% 85% at 10% 16%, var(--bg-hi) 0%, var(--bg) 56%, var(--bg-lo) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(56px, 10vh, 112px) var(--gutter) clamp(150px, 27vh, 270px);
}

.block {
  max-width: 680px;
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}

/* ---- mark ---- */
.mark {
  display: block;
  width: clamp(78px, 9vw, 112px);
  height: auto;
  margin-bottom: clamp(30px, 4.5vh, 44px);
}
.mark .t { fill: var(--gold); }

/* ---- name ---- */
h1 { font-weight: 400; line-height: 1; }
h1 .name {
  display: block;
  font-size: clamp(46px, 8.4vw, 96px);
  letter-spacing: -.008em;
}
h1 .sub {
  display: block;
  margin-top: clamp(14px, 2vh, 20px);
  font-family: var(--sans);
  font-size: clamp(12px, 1.35vw, 15px);
  font-weight: 500;
  letter-spacing: .56em;
  text-transform: uppercase;
  color: var(--gold);
}

.rule {
  width: 56px;
  height: 1px;
  margin: clamp(34px, 5vh, 46px) 0 20px;
  background: var(--gold-dim);
}

.line {
  font-family: var(--sans);
  font-size: 12.5px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---- contact ---- */
.contact { margin-top: clamp(40px, 6vh, 56px); }
.contact a {
  color: var(--ivory);
  font-size: clamp(17px, 1.7vw, 20px);
  letter-spacing: .02em;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-dim);
  padding-bottom: 5px;
  transition: border-color .25s, color .25s;
}
.contact a:hover { border-color: var(--gold); color: #fff; }
.contact a:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; border-radius: 2px; }
.contact .arr {
  display: inline-block;
  margin-left: .55em;
  color: var(--gold);
  transition: transform .25s;
}
.contact a:hover .arr { transform: translateX(4px); }

/* ---- forest band ---- */
.forest {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  width: 100%;
  height: clamp(150px, 31vh, 310px);
  pointer-events: none;
}
.forest path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.2;
  stroke-opacity: .26;
  vector-effect: non-scaling-stroke;
}

/* ---- footer ---- */
footer {
  position: relative;
  z-index: 1;
  padding: 0 var(--gutter) 30px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
}

/* ---- 404 ---- */
.nf .name { font-size: clamp(40px, 7vw, 76px); }
.nf .back { margin-top: 40px; font-family: var(--sans); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; }
.nf .back a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--gold-dim); padding-bottom: 4px; }
.nf .back a:hover { border-color: var(--gold); }

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .block { animation: none; }
  .contact a, .contact .arr { transition: none; }
}
