/* Alegreya and Alegreya Sans, served from this site. Latin characters. Licence: fonts/LICENCE.txt */
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/alegreya-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/alegreya.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/alegreya.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/alegreya.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/alegreya-sans-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/alegreya-sans-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/alegreya-sans-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Phone first: the base rules are the phone layout, wider screens add to it.
   White ground and type do the work; blue (from the peacock's eye) for links and actions;
   red appears once, in the "y" of her name. */
:root {
  --red: #c70f2b;
  --blue: #0b4aa2;
  --blue-deep: #082f6b;
  --cream: #f4f7fb;
  --paper: #ffffff;
  --ink: #1d1636;
  --indigo: #17135a;
  --gold: #ffc93c;
  --turquoise: #00707a;
  --sky: #6fe3e8;
  --emerald: #0a6e4b;
  --bronze: #93480f;
  --violet: #6a3f8f;
  --line: #e2e6ee;
  --soft: #5a5070;
  --display: "Alegreya", Georgia, serif;
  --text: "Alegreya Sans", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 6vw, 6rem);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-block: 5rem 2rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.1875rem/1.6 var(--text); overflow-wrap: break-word; }
h1, h2, h3 { font-family: var(--display); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); font-weight: 700; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; color: var(--ink); }
h3 { font-size: 1.35rem; font-weight: 700; color: var(--indigo); }
p { margin: 0 0 1em; max-width: 62ch; }
a { color: var(--blue); text-underline-offset: .18em; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: #fff; padding: .5rem 1rem; z-index: 5; }
.unseen { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.preview-bar { margin: 0; max-width: none; background: var(--gold); color: #2b1d00; padding: .3rem var(--gutter); font-size: .95rem; line-height: 1.35; }
.pending { display: inline-block; font: 500 .85rem/1.4 var(--text); background: #ffe7b3; color: #5a3b00; padding: .05rem .5rem; border-radius: 3px; vertical-align: middle; }

/* header and menu */
.top { position: sticky; top: 0; z-index: 4; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1.5rem; padding: .45rem var(--gutter); background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); }
.name { font: 700 1.35rem/1 var(--display); color: var(--ink); text-decoration: none; padding: .65rem 0; }
.menu-button { display: none; font: 500 1.1rem/1 var(--text); color: var(--ink); background: none; border: 2px solid var(--ink); border-radius: 2rem; min-height: 44px; padding: 0 1.1rem; cursor: pointer; }
.top nav { display: flex; flex-wrap: wrap; column-gap: 1.2rem; font-weight: 500; }
.top nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); text-decoration: none; border-bottom: 3px solid transparent; }
.top nav a[aria-current], .top nav a:hover { border-bottom-color: var(--blue); }
.js .menu-button { display: inline-block; }
.js .top nav { display: none; width: 100%; flex-direction: column; padding: .4rem 0; }
.js .top nav.open { display: flex; }
.js .top nav a { min-height: 52px; font-size: 1.3rem; border-bottom: 1px solid var(--line); }
.js .top nav a[aria-current] { color: var(--blue); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 1.7rem; background: var(--blue); color: #fff; font: 700 1.15rem/1 var(--text); border: 2px solid var(--blue); border-radius: 3rem; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.button.quiet { background: transparent; color: var(--blue); }
.button.quiet:hover { background: #fff; }
.button[disabled] { opacity: .6; cursor: wait; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* first screen: name, feather, her line, her address */
.hero { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; background: var(--paper); }
.hero-words { position: relative; padding: .25rem var(--gutter) 2.25rem; }
.hero h1 { font-size: clamp(3.8rem, 18vw, 4.75rem); line-height: .92; margin: 0; padding-top: 1.75em; letter-spacing: -.015em; }
.hero h1 > span { display: block; }
.y { position: relative; display: inline-block; width: .5em; height: .48em; vertical-align: baseline; }
.y svg { position: absolute; left: 0; top: 0; width: .5em; height: .48em; overflow: visible; fill: var(--red); }
/* the quill foot (48% across, 99% down the picture) sits on the letter's tail, then the feather leans along the stroke */
.plume { position: absolute; z-index: -1; width: 1.35em; max-width: none; height: auto; left: -.6em; top: -1.7em; transform-origin: 48% 99%; transform: rotate(27deg); pointer-events: none; }
.who { margin: 1.5rem 0 0; font-size: 1.3rem; max-width: 30ch; }
.reach { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.portrait { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; border: 1px solid var(--line); }
.verse { margin: 1.25rem 0 .5rem; font: italic 400 clamp(1.5rem, 2.6vw, 2.2rem)/1.2 var(--display); max-width: 20em; }
.word { display: inline-block; white-space: nowrap; }
.syl { position: relative; display: inline-block; padding-top: .7em; transition: color .15s, translate .15s; }
.syl::before { position: absolute; top: 0; left: 50%; transform: translateX(-50%); font: 700 .62em/1 var(--text); color: var(--blue); }
.syl.down::before { content: "◡"; opacity: .75; }
.syl.up::before { content: "/"; }
.syl.lit { color: var(--blue); translate: 0 -3px; }
.hear { font: 700 1.05rem/1 var(--text); color: var(--ink); background: transparent; border: 2px solid var(--ink); border-radius: 3rem; min-height: 44px; padding: 0 1.2rem; cursor: pointer; }
.hear:hover { border-color: var(--blue); color: var(--blue); }
.mail { margin: 0; }
.mail span { display: block; font-size: 1.05rem; }
.mail a { font: 500 clamp(1.7rem, 3.2vw, 2.6rem)/1.35 var(--display); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.scan-note { margin: 1.25rem 0 0; font: italic 400 1rem/1.5 var(--display); max-width: 46ch; }
@media (prefers-reduced-motion: reduce) { .syl { transition: none; } .syl.lit { translate: none; } }

.band, .prose { padding: 2.75rem var(--gutter); }
.band + .band { border-top: 1px solid var(--line); }
.lead { font: italic 400 clamp(1.35rem, 2.4vw, 1.75rem)/1.45 var(--display); max-width: 36ch; }

/* six sides of one person, each with its own sign and colour */
.voices h2 { color: var(--indigo); max-width: 18em; }
.voices ul { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1.9rem 3rem; }
.voices li { display: grid; grid-template-columns: 52px 1fr; column-gap: 1rem; align-content: start; }
.voices svg { grid-row: span 2; width: 52px; height: 52px; color: var(--tone); }
.voices h3 { margin: 0 0 .2rem; font-size: 1.6rem; color: var(--tone); }
.voices p { margin: 0; max-width: 34ch; }
.code { --tone: var(--blue); }
.metre { --tone: var(--indigo); }
.song { --tone: var(--turquoise); }
.books { --tone: var(--bronze); }
.leading { --tone: var(--emerald); }
.mentoring { --tone: var(--violet); }

.started { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.started li { border-top: 3px solid var(--turquoise); padding-top: .9rem; }
.started li:nth-child(2) { border-top-color: var(--emerald); }
.started li:nth-child(3) { border-top-color: var(--blue); }
.started h3 { margin-bottom: .25rem; }
.started p { margin: 0; }

.paths { padding: 2.75rem var(--gutter); background: var(--cream); }
.paths ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem 3rem; }
.paths h3 { margin-bottom: .3rem; }
.paths h3 a { color: var(--blue); }
.paths p { margin: 0; }

.page-head { padding: 2.25rem var(--gutter) 2rem; background: var(--paper) url("/assets/feather-small.webp") no-repeat right -1.5rem top -2rem / 8rem; border-bottom: 1px solid var(--line); }
.page-head h1, .page-head .lead { max-width: calc(100% - 5rem); }
.page-head h1 { color: var(--ink); }
.page-head .lead { margin: 0; }
.prose h2 { margin-top: 1.5em; }
article.prose { padding: 0 0 3rem; }
article.prose > :not(.page-head) { margin-inline: var(--gutter); }
.date { color: var(--soft); font-size: 1rem; }
.entries { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.5rem 3rem; }
.entries h2, .entries h3 { margin-bottom: .3rem; }
.entries h2 { font-size: 1.45rem; }
.entries p { margin: 0; }
.record { list-style: none; margin: 0; padding: 0; max-width: 52rem; }
.record li { display: grid; grid-template-columns: 3.75rem 1fr; gap: .8rem; padding: 1.1rem 0; border-top: 1px solid var(--line); }
.record h3, .record p { margin: 0; }
.year { font: 700 1.35rem/1.3 var(--display); color: var(--blue); }
.record li:nth-child(3n+2) .year { color: var(--turquoise); }
.record li:nth-child(3n) .year { color: var(--emerald); }

.say { background: var(--cream); padding: 3rem var(--gutter); }
.say blockquote { margin: 0; }
.say p { font: italic 400 clamp(1.7rem, 3.6vw, 2.6rem)/1.3 var(--display); color: var(--indigo); max-width: 26ch; }
.say footer { font-size: 1rem; }

details { max-width: 52rem; border-top: 1px solid var(--line); }
summary { font: 500 1.25rem/1.4 var(--display); cursor: pointer; padding: .9rem 0; }
details p { margin: 0 0 1rem; }
.note { background: var(--cream); }

.split { display: grid; gap: 2.5rem; padding: 2.25rem var(--gutter) 3rem; }
.split aside h2 { font-size: 1.45rem; }
.split aside li { margin-bottom: .4rem; }
.enquiry { display: grid; gap: 1.1rem; align-content: start; }
.enquiry label { display: grid; gap: .35rem; font-weight: 500; }
.enquiry input, .enquiry select, .enquiry textarea { width: 100%; min-height: 50px; font: inherit; padding: .6rem .8rem; background: #fff; color: var(--ink); border: 1px solid #8d7d6d; border-radius: 10px; }
.enquiry .check { display: flex; gap: .8rem; align-items: flex-start; font-weight: 400; }
.enquiry .check input { width: 1.5rem; height: 1.5rem; min-height: 0; margin: .2rem 0 0; flex: none; }
.hint { font-weight: 400; color: var(--soft); font-size: 1rem; }
.trap { position: absolute; left: -9999px; }
.status:empty { display: none; }

/* contact the academic way: an address, in plain sight */
.direct { display: grid; gap: .5rem; align-content: start; }
.direct .address { font: 700 clamp(1.8rem, 6vw, 3rem)/1.3 var(--display); overflow-wrap: anywhere; margin: .25rem 0 1rem; }

body > footer { border-top: 1px solid var(--line); padding: 3rem var(--gutter) 2rem; }
.foot-line { font: 400 clamp(1.5rem, 2.8vw, 2rem)/1.35 var(--display); max-width: 26ch; }
.foot-line a { overflow-wrap: anywhere; }
body > footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; column-gap: 1.75rem; }
body > footer li a { display: inline-block; padding: .6rem 0; }
.foot-name { margin: 1rem 0 0; font-size: 1rem; color: var(--soft); }

.consent { position: fixed; inset: auto 1rem 1rem; background: #fff; border: 2px solid var(--indigo); border-radius: 12px; padding: 1rem; max-width: 30rem; z-index: 5; }
.consent button { margin-right: .75rem; }

@media (min-width: 46rem) {
  .started { grid-template-columns: repeat(3, 1fr); }
  .entries, .voices ul { grid-template-columns: repeat(2, 1fr); }
  .paths ul { grid-template-columns: repeat(3, 1fr); }
  .record li { grid-template-columns: 5rem 1fr; }
}
@media (min-width: 56rem) {
  .hero { justify-content: center; }
  .hero h1 { font-size: clamp(4.75rem, 7vw, 6.25rem); padding-top: 1.85em; }
  .hero h1 > span { display: inline; }
  .who { max-width: none; }
  .hero-words { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 3rem; align-content: center; padding-block: 0 2.5rem; }
  .hero-words > h1, .hero-words > .who, .hero-words > .line-block { grid-column: 1; }
  .hero-words > .reach { grid-column: 2; grid-row: 1 / span 3; align-self: center; flex-direction: column; align-items: flex-start; margin: 4rem 0 0; }
  .portrait { width: 180px; height: 180px; }
  .voices ul { grid-template-columns: repeat(3, 1fr); }
  .page-head { background-position: right 3rem top -3rem; background-size: 11rem; }
  .page-head h1, .page-head .lead { max-width: 36rem; }
}
@media (min-width: 64rem) {
  .menu-button, .js .menu-button { display: none; }
  .top nav, .js .top nav, .js .top nav.open { display: flex; flex-direction: row; width: auto; padding: 0; column-gap: 1.5rem; }
  .js .top nav a, .top nav a { min-height: 44px; font-size: 1.15rem; border-bottom: 3px solid transparent; }
  .js .top nav a[aria-current], .top nav a:hover { border-bottom-color: var(--blue); }
  .split { grid-template-columns: minmax(0, 36rem) minmax(0, 24rem); justify-content: space-between; }
}

/* Archive: date above each entry, so long period names have room. */
.record.timeline li { grid-template-columns: 1fr; }
.record.timeline h2 { font-size: 1.4rem; margin: .1rem 0 .4rem; }
.record.timeline .date { margin: 0 0 .2rem; }
.check-note { margin-top: .5rem !important; padding: .5rem .75rem; background: #ffe7b3; color: #5a3b00; border-radius: 6px; }

/* long German words may break; high contrast keeps the stress marks */
:lang(de) :is(h1, h2, h3, p, li) { hyphens: auto; }
@media (forced-colors: active) { .syl::before { color: CanvasText; } .button, .hear { border-color: ButtonText; } }
@media (prefers-contrast: more) { :root { --line: #9c7f66; --soft: var(--ink); } }
