/* Fonts are self-hosted (SIL Open Font Licence, see /assets/fonts/LICENSE-*.txt) */
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/dm-serif-display-latin-400-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/dm-serif-display-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/dm-serif-display-latin-400-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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'DM Serif Display'; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/dm-serif-display-latin-ext-400-italic.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-400-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-latin-ext-400-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-500-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-600-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-latin-ext-600-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-latin-700-normal.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+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/inter-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

/* henryshevlin.com, static rebuild (Nov 2026). Values carried over from the WordPress custom styles of 30 June 2026. */

:root {
  --hs-bg:     #F8F7F4;
  --hs-text:   #111111;
  --hs-muted:  #6B7280;
  --hs-accent: #2D6A6A;
  --hs-border: #D4D4D4;
  --hs-serif:  'DM Serif Display', Georgia, serif;
  --hs-sans:   'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter:    3rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--hs-bg);
  color: var(--hs-text);
  font-family: var(--hs-sans);
  font-size: 20px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

/* --- Skip link --- */
.skip {
  position: absolute;
  left: -9999px;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--hs-bg);
  padding: 0.5rem 1rem;
  z-index: 10;
}

/* --- Header & navigation --- */
.site-header {
  border-bottom: 1px solid var(--hs-border);
  padding: 1.5rem var(--gutter);
}
.site-header nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.4rem 1.75rem;
}
.site-header nav a {
  font-family: var(--hs-sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--hs-text);
  border-bottom: none;
}
.site-header nav a:hover,
.site-header nav a[aria-current="page"] { color: var(--hs-accent); }

/* --- Content column --- */
main > * {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
main { padding-bottom: 3rem; }

/* --- Page heading --- */
h1.wp-block-heading {
  font-family: var(--hs-serif);
  font-size: clamp(3.25rem, 6vw, 5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-top: 2rem;
}

/* --- Section headings: bold sans small caps --- */
h3.wp-block-heading {
  font-family: var(--hs-sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-top: 3rem;
  margin-bottom: 0.5rem;
}

p { margin: 0 auto 1.21rem; }
.has-text-align-center { text-align: center; }

/* --- Images --- */
.wp-block-image { margin: 1.5rem auto 0.5rem; }
.wp-block-image img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 2px;
  display: block;
}
.home .wp-block-image.hero { margin-top: 3rem; }

/* --- Links --- */
a {
  color: var(--hs-accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
a:hover { border-bottom-color: var(--hs-accent); }

/* --- Separator --- */
hr.wp-block-separator {
  border: none;
  border-top: 1px solid var(--hs-border);
  margin: 2rem auto;
  max-width: calc(1000px - 2 * var(--gutter));
  padding: 0;
  width: calc(100% - 2 * var(--gutter));
}

/* --- Lists --- */
ul.wp-block-list {
  list-style: none;
  margin-top: 0;
  margin-bottom: 0.5rem;
}
ul.wp-block-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--hs-border);
  font-size: 1.05rem;
  line-height: 1.5;
}
ul.wp-block-list li:first-child { border-top: 1px solid var(--hs-border); }

/* --- Arrow links --- */
p.arrow a strong,
p.arrow strong a {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hs-accent);
}

/* --- Homepage lede and social row --- */
.lede {
  font-size: clamp(1.4rem, 1.2rem + 1.5vw, 1.6rem);
  line-height: 1.4;
}
.social a {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  border-bottom: 2px solid var(--hs-accent);
  padding-bottom: 1px;
}

/* --- Video embeds: a little wider than the text column --- */
main > .video {
  position: relative;
  aspect-ratio: 16 / 9;
  max-width: 1000px;
  width: 100%;
  margin: 1.5rem auto;
  padding: 0;
  overflow: hidden;
  border-radius: 4px;
}
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--hs-border);
  padding: 2rem var(--gutter);
  font-size: 0.8rem;
  color: var(--hs-muted);
  text-align: center;
}
.site-footer p { margin: 0; }

/* --- The Tironian et: a small seal under the footer line, the way into the tablinum --- */
.tiro {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  margin-top: 1rem;
  border: 1px solid var(--hs-border);
  border-radius: 50%;
  color: var(--hs-muted);
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}
.tiro:hover,
.tiro:focus-visible {
  color: var(--hs-bg);
  background: var(--hs-accent);
  border-color: var(--hs-accent);
}
.tiro-inline {
  color: var(--hs-accent);
  display: inline-block;
  vertical-align: -0.15em;
}
.tiro-inline svg { width: 0.95em; height: 0.95em; }

/* --- Mobile --- */
@media (max-width: 768px) {
  :root { --gutter: 1.5rem; }
  body { font-size: 21px; }
  h1.wp-block-heading { font-size: 2.75rem; }
  main p {
    font-size: 1.15rem;
    line-height: 1.45;
  }
  main p.lede { font-size: 1.4rem; line-height: 1.35; }
  .site-header { padding-top: 1.1rem; padding-bottom: 1.1rem; }
  .site-header nav {
    justify-content: flex-start;
    gap: 0.3rem 1.2rem;
  }
  .site-header nav a { font-size: 0.8rem; }
}

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