/* =========================================================
   Tokens
   ========================================================= */

:root {
  color-scheme: light dark;

  /* page */
  --paper: #f6f4ef;
  --surface: #fffefb;
  --ink: #12171d;
  --text: #2b333c;
  --muted: #66707b;
  --line: #ddd8cc;
  --soft: #eceae2;
  --accent: #1f4fbf;
  --accent-ink: #173a8c;
  --warm: #b9541a;

  /* the dark "dark-field" band used by the header, hero, tiles and footer */
  --night: #0b1016;
  --night-2: #121a23;
  --night-line: #263342;
  --night-text: #eef2f6;
  --night-muted: #97a5b4;
  --glow-cool: #8fd0ff;
  --glow-warm: #ffb054;

  --spectrum: linear-gradient(90deg,
    hsl(0 92% 64%), hsl(45 92% 60%), hsl(90 70% 55%), hsl(180 75% 52%),
    hsl(225 92% 68%), hsl(280 85% 68%), hsl(330 92% 66%), hsl(360 92% 64%));

  --serif: Newsreader, Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1160px;
  --gutter: 32px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b1016;
    --surface: #121a23;
    --ink: #eef2f6;
    --text: #cdd6df;
    --muted: #97a5b4;
    --line: #263342;
    --soft: #172029;
    --accent: #8fb8ff;
    --accent-ink: #b9d2ff;
    --warm: #ffb054;
  }
}

/* =========================================================
   Base
   ========================================================= */

* {
  box-sizing: border-box;
}

html {
  background: var(--paper);
}

body {
  margin: 0;
  padding: 0 !important;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--accent);
  color: #fff;
}

a {
  color: var(--accent);
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.15s, text-decoration-color 0.15s;
}

a:hover,
a:focus {
  color: var(--accent-ink);
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

/* external links get a small arrow */
div.body a.reference.external[href^="http"]::after {
  content: "\2197";
  display: inline-block;
  margin-left: 0.18em;
  font-size: 0.78em;
  text-decoration: none;
  opacity: 0.7;
}

.skip-link {
  position: absolute;
  left: -10000px;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--surface);
}

/* =========================================================
   Sphinx basic-theme frame
   ========================================================= */

div.document {
  overflow-x: clip; /* contains the full-bleed hero band */
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  background: transparent;
}

div.documentwrapper {
  float: none;
  width: auto;
  min-width: 0;
}

div.bodywrapper {
  margin: 0;
}

div.body {
  width: 100%;
  max-width: var(--wrap);
  min-width: 0;
  margin: 0 auto;
  padding: 0 var(--gutter) 96px;
  background: transparent;
  hyphens: none;
  -webkit-hyphens: none;
}

div.sphinxsidebar,
div.related,
div.footer,
div.clearer,
a.headerlink {
  display: none !important;
}

div.body p,
.publication {
  overflow-wrap: anywhere;
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: relative;
  background: var(--night);
  color: var(--night-text);
}

/* the orientation color wheel, unrolled */
.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: var(--spectrum);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 20px var(--gutter);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--night-text);
  font-weight: 600;
  letter-spacing: -0.005em;
  text-decoration: none;
}

.site-nav__brand:hover,
.site-nav__brand:focus {
  color: #fff;
}

/* a small Gabor patch: the standard stimulus of visual neuroscience */
.site-nav__brand::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: repeating-linear-gradient(125deg, var(--glow-cool) 0 3px, transparent 3px 6.5px);
  -webkit-mask-image: radial-gradient(circle, #000 28%, transparent 72%);
  mask-image: radial-gradient(circle, #000 28%, transparent 72%);
}

.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 28px;
  font-size: 15px;
}

.site-nav__links a {
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  color: var(--night-muted);
  font-weight: 500;
  text-decoration: none;
}

.site-nav__links a:hover,
.site-nav__links a:focus,
.site-nav__links a[aria-current] {
  color: #fff;
}

.site-nav__links a[aria-current] {
  border-bottom-color: var(--glow-cool);
}

/* =========================================================
   Type
   ========================================================= */

div.body h1 {
  max-width: 900px;
  margin: 72px 0 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(46px, 6.4vw, 76px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.02;
}

div.body h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.16;
}

div.body h3 {
  margin: 30px 0 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
}

div.body p {
  max-width: 720px;
  margin: 0 0 18px;
}

div.body strong {
  color: var(--ink);
  font-weight: 600;
}

ul,
ol {
  max-width: 720px;
  padding-left: 24px;
}

.page-intro {
  max-width: 820px !important;
  margin: 0 0 32px !important;
  color: var(--muted);
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.32;
}

.page-intro + p {
  font-size: 18.5px;
}

/* =========================================================
   Sections: numbered, with the heading in a left rail
   ========================================================= */

div.body > section {
  counter-reset: sec;
}

div.body > section > section {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  column-gap: 56px;
  margin-top: 88px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  counter-increment: sec;
}

div.body > section > section > * {
  grid-column: 2;
}

div.body > section > section > h2 {
  position: sticky;
  top: 28px;
  grid-column: 1;
  grid-row: 1 / span 40;
  align-self: start;
}

div.body > section > section > h2::before {
  content: counter(sec, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

/* =========================================================
   Home hero (dark band)
   ========================================================= */

section#declan-rowley {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

section#declan-rowley > * {
  grid-column: 1 / -1;
}

section#declan-rowley::before {
  content: "";
  z-index: -1;
  grid-column: 1 / -1;
  grid-row: 1 / span 7;
  margin: 0 -100vmax;
  border-bottom: 1px solid var(--night-line);
  background:
    radial-gradient(900px 520px at calc(50% + 300px) 46%, #17222e 0, transparent 70%),
    var(--night);
}

section#declan-rowley > h1 { grid-row: 1; }
section#declan-rowley > .profile-subtitle { grid-row: 2; }
section#declan-rowley > .research-lead { grid-row: 3; }
section#declan-rowley > .intro-copy { grid-row: 4; }
section#declan-rowley > .profile-actions { grid-row: 5; }
section#declan-rowley > .award-note { grid-row: 6; }
section#declan-rowley > .hero-figure { grid-row: 7; }

section#declan-rowley > h1 {
  margin: 56px 0 14px;
  color: #fff;
  font-size: clamp(52px, 7.4vw, 88px);
}

.profile-subtitle {
  margin: 0 0 34px !important;
  color: var(--glow-cool);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.research-lead {
  max-width: 600px !important;
  margin: 0 0 22px !important;
  color: var(--night-text);
  font-family: var(--serif);
  font-size: clamp(28px, 3.3vw, 40px);
  font-style: italic;
  letter-spacing: -0.01em;
  line-height: 1.14;
}

.intro-copy {
  max-width: 580px !important;
  color: #c3ced9;
  font-size: 17.5px;
}

.profile-actions p {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: none;
  margin: 14px 0 30px;
}

.profile-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid var(--night-line);
  border-radius: 999px;
  color: var(--night-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.profile-actions a:hover,
.profile-actions a:focus {
  border-color: var(--glow-cool);
  color: #fff;
}

.profile-actions a:first-child {
  border-color: #fff;
  background: #fff;
  color: var(--night);
  font-weight: 600;
}

.profile-actions a:first-child::after {
  content: "\2192";
  margin-left: 8px;
}

.profile-actions a:first-child:hover,
.profile-actions a:first-child:focus {
  border-color: var(--glow-cool);
  background: var(--glow-cool);
  color: var(--night);
}

.award-note {
  max-width: 580px !important;
  margin-bottom: 64px !important;
  color: var(--night-muted);
  font-size: 14px;
}

.award-note::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--glow-warm);
  vertical-align: 1px;
}

.award-note a {
  color: var(--night-text);
}

.hero-figure {
  width: 100%;
  max-width: 460px;
  margin: 0 auto 56px;
}

.hero-figure svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.hero-figure figcaption {
  color: var(--night-muted);
}

.hero-figure .fig-kind {
  color: var(--glow-cool);
}

.hero-hint {
  display: none;
  color: var(--night-text);
}

@media (hover: hover) and (pointer: fine) {
  .hero-hint {
    display: inline;
  }
}

@media (min-width: 980px) {
  section#declan-rowley {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
    column-gap: 64px;
  }

  section#declan-rowley::before {
    grid-row: 1 / span 6;
  }

  section#declan-rowley > h1,
  section#declan-rowley > .profile-subtitle,
  section#declan-rowley > .research-lead,
  section#declan-rowley > .intro-copy,
  section#declan-rowley > .profile-actions,
  section#declan-rowley > .award-note {
    grid-column: 1;
  }

  section#declan-rowley > .hero-figure {
    grid-column: 2;
    grid-row: 1 / span 6;
    align-self: center;
    margin: 36px 0 44px;
  }
}

/* --- hero schematic (generated by docs/tools/make_figures.py) --- */

.hero-slab {
  fill: #101821;
  fill-opacity: 0.92;
  stroke: #33455a;
  stroke-width: 1;
}

.hero-slab-edge {
  fill: #05080c;
}

.hero-grid path {
  fill: none;
  stroke: #1c2733;
  stroke-width: 0.7;
}

.hero-object {
  fill: #e9eef3;
}

.hero-bars line {
  stroke-width: 2.3;
  stroke-linecap: round;
}

.hero-unit {
  fill: #dbe9f6;
  stroke: #5d7389;
  stroke-width: 1;
}

.hero-unit--target {
  stroke: var(--glow-warm);
  stroke-width: 2;
}

.hero-rf {
  fill: var(--glow-warm);
  fill-opacity: 0.1;
  stroke: var(--glow-warm);
  stroke-width: 1.4;
}

.hero-site {
  fill: none;
  stroke: var(--glow-warm);
  stroke-width: 1.4;
}

.hero-cone line {
  stroke: var(--glow-warm);
  stroke-width: 1;
  stroke-opacity: 0.7;
}

.hero-badge circle {
  fill: var(--glow-warm);
  stroke: var(--night);
  stroke-width: 2.5;
}

.hero-badge text {
  fill: var(--night);
  font: 700 15px var(--sans);
}

.hero-label {
  fill: #fff;
  font: 600 15px var(--sans);
}

.hero-sublabel {
  fill: var(--night-muted);
  font: 400 11px var(--mono);
}

.hero-key line {
  stroke-width: 2.6;
  stroke-linecap: round;
}

/* =========================================================
   Figures
   ========================================================= */

figure {
  margin: 0;
}

figcaption {
  max-width: 720px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.fig-num,
.fig-kind {
  margin-right: 10px;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.fig-num {
  color: var(--ink);
}

.fig-kind {
  color: var(--accent);
}

.figure-panel,
.figure-plain {
  margin: 34px 0 36px;
}

.figure-panel .panel-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.panel {
  padding: 22px 22px 20px;
}

.panel + .panel {
  border-left: 1px solid var(--line);
}

.panel--result {
  background: var(--soft);
  border-radius: 0 11px 11px 0;
}

.panel svg,
.approach-step svg {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  margin: 0 auto;
}

.panel p {
  margin: 12px 0 0 !important;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.45;
}

.panel p strong {
  display: block;
  margin-bottom: 2px;
  font-size: 15.5px;
}

/* shared drawing styles */
.fig-wire,
.fig-wire path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
}

.fig-wire--inh {
  stroke: var(--warm);
  stroke-width: 2;
}

.fig-cell,
.fig-cell circle {
  fill: var(--surface);
  stroke: var(--ink);
  stroke-width: 1.5;
}

.fig-cell--out {
  fill: var(--accent);
}

.fig-cell--inh,
.fig-fill-warm {
  fill: var(--warm);
}

.fig-fill-ink {
  fill: var(--ink);
}

.fig-model {
  fill: color-mix(in srgb, var(--warm) 14%, var(--surface));
  stroke: var(--warm);
  stroke-width: 1.8;
  stroke-dasharray: 4 4;
}

.fig-beam {
  fill: var(--warm);
  opacity: 0.25;
}

.fig-axisline {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1.2;
}

.fig-curve {
  fill: none;
  stroke: var(--accent);
  stroke-width: 4.5;
  stroke-linecap: round;
}

.fig-curve--b {
  stroke: var(--warm);
  stroke-width: 2;
  stroke-dasharray: 5 7;
}

.fig-ticks {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
}

.fig-ticks--b {
  stroke: var(--accent);
}

.fig-axis {
  fill: var(--muted);
  font: 400 10.5px var(--mono);
}

.fig-tag {
  fill: var(--ink);
  font: 600 14px var(--sans);
}

.fig-tag--on {
  fill: var(--surface);
}

.fig-tag--f {
  fill: var(--warm);
  font: italic 400 22px var(--serif);
}

/* Measure / Model / Perturb */
.approach {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  list-style: none;
  counter-reset: step;
}

.approach-step {
  position: relative;
  margin: 0;
  padding: 24px 22px 22px;
  counter-increment: step;
}

.approach-step + .approach-step {
  border-left: 1px solid var(--line);
}

/* arrow sitting on the divider between steps */
.approach-step + .approach-step::before {
  content: "\2192";
  position: absolute;
  top: 62px;
  left: -14px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
}

.approach-step h3 {
  margin: 16px 0 6px !important;
  font-size: 17px !important;
}

.approach-step h3::before {
  content: counter(step, decimal-leading-zero);
  margin-right: 10px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.approach-step p {
  margin: 0 !important;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

/* =========================================================
   Home: contributions
   ========================================================= */

.contribution {
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  padding: 30px 0;
}

.contribution:first-child {
  padding-top: 4px;
}

.contribution + .contribution {
  border-top: 1px solid var(--line);
}

.tile {
  overflow: hidden;
  border: 1px solid var(--night-line);
  border-radius: 12px;
  background:
    radial-gradient(120% 90% at 50% 40%, #16212c 0, transparent 75%),
    var(--night);
}

.tile svg {
  display: block;
  width: 100%;
  height: auto;
}

.tile-lines path {
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
}

.tile-lines .tile-ecc {
  stroke: #fff;
  stroke-opacity: 0.3;
  stroke-width: 1;
}

.tile-ink {
  fill: #e9eef3;
}

.tile-trace {
  fill: none;
  stroke: var(--glow-warm);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tile-dot {
  fill: var(--glow-warm);
}

.tile-rings circle {
  fill: none;
  stroke: var(--glow-cool);
}

.contribution-body p:first-child {
  margin-bottom: 10px;
}

.contribution-body p:first-child strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.contribution-body p:last-child {
  margin-bottom: 0;
  font-size: 14.5px;
  font-weight: 500;
}

/* =========================================================
   Home: training path, contact
   ========================================================= */

.path {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: none;
  margin: 30px 0 36px;
  padding: 0;
  list-style: none;
}

.path li {
  position: relative;
  margin: 0;
  padding: 22px 16px 0 0;
  border-top: 1px solid var(--line);
}

.path li::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 0;
  width: 11px;
  height: 11px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  background: var(--paper);
}

.path li.path-now::before {
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent);
}

.path strong {
  display: block;
  font-size: 16px;
}

.path span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.45;
}

section#contact p {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.35;
}

/* =========================================================
   Publications
   ========================================================= */

.publication {
  padding: 24px 0;
}

.publication:first-child {
  padding-top: 2px;
}

.publication + .publication {
  border-top: 1px solid var(--line);
}

.publication p {
  max-width: 760px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.publication p:last-child {
  margin-bottom: 0;
}

.publication p:first-child {
  margin-bottom: 8px;
}

.publication p:first-child strong {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: -0.008em;
  line-height: 1.24;
}

.publication em {
  color: var(--ink);
  font-style: italic;
}

.publication a {
  font-weight: 500;
}

.publication-list + p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
}

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  background: var(--night);
  border-top: 1px solid var(--night-line);
  color: var(--night-muted);
  font-size: 14px;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 40px;
  align-items: start;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 44px var(--gutter) 40px;
}

.site-footer p {
  margin: 0;
}

.site-footer__name {
  color: #fff;
  font-family: var(--serif);
  font-size: 22px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding-top: 6px;
}

.site-footer__links a {
  color: var(--night-text);
  text-decoration: none;
}

.site-footer__links a:hover,
.site-footer__links a:focus {
  color: var(--glow-cool);
}

.site-footer__note {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid var(--night-line);
  font-family: var(--mono);
  font-size: 12px;
}

/* =========================================================
   Smaller screens
   ========================================================= */

@media (max-width: 900px) {
  div.body > section > section {
    display: block;
    margin-top: 64px;
    padding-top: 24px;
  }

  div.body > section > section > h2 {
    position: static;
    margin-bottom: 22px;
  }

  div.body > section > section > h2::before {
    margin-bottom: 8px;
  }
}

@media (max-width: 720px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 16px;
  }

  div.body {
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-bottom: 64px;
  }

  .site-nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 14px;
  }

  .site-nav__links {
    justify-content: flex-start;
    gap: 4px 20px;
  }

  div.body h1 {
    margin-top: 48px;
  }

  section#declan-rowley > h1 {
    margin-top: 40px;
  }

  div.body h2 {
    font-size: 27px;
  }

  .figure-panel .panel-grid,
  .approach {
    grid-template-columns: 1fr;
  }

  .panel + .panel,
  .approach-step + .approach-step {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .panel--result {
    border-radius: 0 0 11px 11px;
  }

  .approach-step + .approach-step::before {
    content: "\2193";
    top: -14px;
    left: 22px;
  }

  .contribution {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tile {
    max-width: 260px;
  }

  .path {
    grid-template-columns: 1fr;
    margin-left: 5px;
  }

  .path li {
    padding: 0 0 20px 24px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .path li:last-child {
    padding-bottom: 0;
  }

  .path li::before {
    top: 5px;
    left: -6px;
  }

  section#contact p {
    font-size: 20px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .profile-actions a {
    flex: 1 1 auto;
    justify-content: center;
    padding-right: 14px;
    padding-left: 14px;
  }

  .profile-actions a:first-child {
    flex-basis: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}
