/* made by t.ink — landing page. Same parchment / ink / gold family as Aulos so the
   site reads as one thing. Light by default, dark follows the system. */

:root {
  --page: #f4efe4;
  --surface: #fdfaf2;
  --ink: #231e17;
  --muted: #8a7c6f;
  --hairline: #e3d9c6;
  --border: rgba(66, 51, 24, 0.16);
  --brand: #8a6a2f;
  --brand-soft: rgba(138, 106, 47, 0.12);
  --brand-line: #c2a35e;
  --accent: #b8472a;
  --shadow: 0 1px 2px rgba(50, 38, 15, 0.07), 0 3px 10px rgba(50, 38, 15, 0.05);
  --shadow-lift: 0 2px 4px rgba(50, 38, 15, 0.1), 0 8px 20px rgba(50, 38, 15, 0.09);
  --serif: 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, 'Iowan Old Style', serif;
  --sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #16120e;
    --surface: #211b15;
    --ink: #f1e8d8;
    --muted: #93857a;
    --hairline: #382f24;
    --border: rgba(241, 232, 216, 0.14);
    --brand: #d4a94e;
    --brand-soft: rgba(212, 169, 78, 0.13);
    --brand-line: #93753a;
    --accent: #e0734f;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 3px 10px rgba(0, 0, 0, 0.3);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.4);
  }
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background:
    radial-gradient(60rem 30rem at 50% -12rem, var(--brand-soft), transparent 70%),
    var(--page);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: inherit; }

.page {
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 6rem) 1.25rem 3rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

/* ---- masthead ---- */

.masthead { text-align: center; margin-bottom: 3rem; }

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.wm-made {
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.55rem;
}

.wm-tink {
  font-size: clamp(3.2rem, 12vw, 4.6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.wm-dot {
  color: var(--accent);
  font-style: normal;
  display: inline-block;
  transform: translateY(-0.06em);
  text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 55%, transparent);
}

.tagline {
  max-width: 28rem;
  margin: 1.4rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---- section heading as a rule with a label ---- */

.shelf-h {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1.1rem;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand);
}

.shelf-h::before, .shelf-h::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

/* ---- project card ---- */

.card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.1rem;
  align-items: start;
  padding: 1.2rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.card + .card { margin-top: 1.25rem; }

.card:hover, .card:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
  border-color: var(--brand-line);
  outline: none;
}

.card-mark { width: 3rem; height: 3rem; flex: none; margin-top: 0.15rem; }
.mark-bg { fill: #211b15; }
.mark-line { stroke: #d4a94e; }
.mark-fill { fill: #d4a94e; }

.card-title {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.card-kind {
  display: block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 0.15rem;
}

.card-desc { margin: 0 0 0.6rem; }

.card-meta {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--brand);
}

.card-go {
  font-size: 1.5rem;
  color: var(--brand-line);
  align-self: center;
  transition: transform 160ms ease, color 160ms ease;
}

.card:hover .card-go { transform: translateX(3px); color: var(--brand); }

/* ---- bench + colophon ---- */

.bench { margin-top: 3rem; }

.bench-text { margin: 0; color: var(--muted); }

.colophon {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  text-align: center;
  font-family: var(--sans);
  font-size: 0.82rem;
  color: var(--muted);
}

.colophon p { margin: 0; }

.colophon a { color: var(--brand); text-decoration-color: var(--brand-line); }

.colophon-mark {
  margin-top: 1.25rem !important;
  color: var(--brand-line);
  font-size: 1rem;
}

@media (max-width: 480px) {
  .card { grid-template-columns: auto 1fr; }
  .card-go { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .card-go { transition: none; }
  .card:hover { transform: none; }
}
