:root {
  --paper: #F4F1EA;
  --ink: #26231E;
  --ink-soft: #4A453C;
  --muted: #6B655A;
  --rule: #D9D3C6;
  --panel: rgba(255, 253, 248, 0.7);
  --accent: #C27A2C; /* sun mark — try #5E7A52, #4F6A8A or var(--ink) */

  --serif: 'Newsreader', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

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

html, body { margin: 0; }

body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }

/* ---------- atmosphere ---------- */

.sunlight {
  position: absolute;
  top: -260px;
  right: -220px;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 198, 128, 0.38) 0%,
    rgba(255, 214, 160, 0.16) 38%,
    rgba(244, 241, 234, 0) 70%);
  pointer-events: none;
}

.grain {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.32;
  mix-blend-mode: multiply;
}

/* ---------- layout ---------- */

.page {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 96px 24px 64px;
}

main {
  width: 100%;
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 72px;
}

/* ---------- header ---------- */

header {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.tagline {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.tagline svg { stroke: var(--accent); }

h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(2.6rem, 8vw, 3.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.lede {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ---------- sections ---------- */

section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-label {
  margin: 0;
  display: flex;
  gap: 16px;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- links ---------- */

.links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 16px;
  row-gap: 2px;
  min-height: 64px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--rule);
  transition: background-color 0.2s ease;
}

.row:hover { background: rgba(38, 35, 30, 0.04); }
.row:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 2px; }

.row-name { flex: 1 1 160px; font-size: 1.3rem; }

.row-handle {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--muted);
}

.arrow { transition: transform 0.2s ease; }
.row:hover .arrow { transform: translate(2px, -2px); }

/* ---------- contact ---------- */

.contact { gap: 20px; }

.contact p {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.form-panel {
  min-height: 300px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 24px;
}

/* ---------- footer ---------- */

footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .row, .arrow { transition: none; }
}
