/* Devsoft farewell page — tokens taken verbatim from the design handoff.
   Radius is 0 everywhere; spacing rhythm is 10 / 20 / 40 / 84 / 96px. */

:root {
  /* Surfaces */
  --bg: oklch(0.972 0.006 70);
  --surface: oklch(0.988 0.004 70);

  /* Ink */
  --ink-primary: oklch(0.26 0.012 50);
  --ink-body: oklch(0.30 0.013 50);
  --ink-secondary: oklch(0.38 0.014 50);
  --ink-muted: oklch(0.55 0.015 50);

  /* Accent (from the logo orange) */
  --accent: oklch(0.52 0.14 45);
  --accent-hover: oklch(0.44 0.13 45);
  --accent-rule: oklch(0.87 0.06 65);
  --accent-on: oklch(0.99 0.004 70);
  --selection: oklch(0.88 0.07 65);

  /* Borders */
  --border-input: oklch(0.86 0.014 65);

  /* Links */
  --link: oklch(0.52 0.14 45);
  --link-hover: oklch(0.42 0.12 45);

  /* Type */
  --font-prose: Newsreader, Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --column: 760px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-primary);
  font-family: var(--font-prose);
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--link-hover); }

::selection { background: var(--selection); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Layout ------------------------------------------------------------------ */

.page {
  padding: 0 24px 96px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.block {
  width: 100%;
  max-width: var(--column);
}

/* Header ------------------------------------------------------------------ */

.header {
  padding: 80px 0 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 46px;
  width: auto;
  display: block;
}

.years {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.headline {
  margin: 0;
  font-size: clamp(42px, 7.6vw, 88px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.headline em {
  font-style: italic;
  color: var(--accent);
}

.lede {
  margin: 0;
  max-width: 34em;
  font-size: clamp(19px, 2.2vw, 23px);
  line-height: 1.6;
  color: var(--ink-secondary);
  text-wrap: pretty;
}

.lede strong { font-weight: 500; }

/* Guestbook --------------------------------------------------------------- */

.guestbook {
  margin: 84px 0 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.intro {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-secondary);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field {
  font-family: var(--font-prose);
  font-size: 18px;
  line-height: 1.6;
  padding: 12px 14px;
  border: 1px solid var(--border-input);
  border-radius: 0;
  background: var(--surface);
  color: var(--ink-primary);
  outline: none;
}

textarea.field { resize: vertical; }

/* The design specifies `outline: none`; keep a visible keyboard affordance
   by shifting the border to the accent instead. */
.field:focus-visible { border-color: var(--accent); }

.submit {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 13px 22px;
  min-height: 44px;
  white-space: nowrap;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: var(--accent-on);
  cursor: pointer;
}

.submit:hover,
.submit:focus-visible {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.notes {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 14px;
}

.notes:empty { margin-top: 0; }

.note {
  border-left: 2px solid var(--accent-rule);
  padding: 2px 0 2px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.note-body {
  font-size: 19px;
  line-height: 1.6;
  color: var(--ink-body);
  text-wrap: pretty;
}

.note-attribution {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
