/* ==========================================================================
   Ajay Sohal — personal site
   Light Mediterranean palette: whitewash, Aegean blue, lagoon, lemon, coral.
   Pure CSS, no build step.
   ========================================================================== */

:root {
  /* Palette: soft pastels (sage, lilac, peach, sky) with indigo ink */
  --bg: #fbf9f6;            /* warm off-white: page background */
  --sage: #e4eee3;          /* pale sage: "What I do" band, quotes */
  --lilac: #eee8f6;         /* pale lilac: book band, sun disc */
  --peach: #fbe7da;         /* pale peach: contact band, article footer */
  --sky: #e3ebf8;           /* pale periwinkle: expertise cards, image fallback */
  --pink: #f6dde6;          /* pale rose: portrait fallback */
  --btn: #f7c6a5;           /* peach: primary button, rules, nav underline */
  --btn-hover: #f2b288;
  --link: #3d4e9e;          /* indigo: links, eyebrows, icons (7.2:1) */
  --accent: #9b3f68;        /* plum rose: italic accent words (6:1) */
  --ink: #22284a;           /* deep indigo ink: headings and body (13.6:1) */
  --ink-soft: #545a73;      /* secondary text (6.5:1) */
  --line: #e7e1ec;          /* hairline dividers */
  --curve: #c3b5e0;         /* thin decorative curves */

  /* Type */
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --gutter: clamp(20px, 5.5vw, 72px);
  --max: 1280px;
  --measure: 66ch;
  --header-h: 96px;
  --radius: 4px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
main { overflow-x: hidden; overflow-x: clip; }

img,
svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }

ul, ol { padding: 0; list-style: none; }

:focus-visible {
  outline: 2px solid var(--link);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--btn); color: var(--ink); }

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  font-weight: 500;
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Shared small type */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}
.eyebrow--link { color: var(--link); }

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

/* ---------- Header ---------- */
.site-header {
  position: relative;
  z-index: 20;
  height: var(--header-h);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  color: var(--ink);
}
.brand__mono {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand__mono span { color: var(--accent); }
.brand__text {
  display: flex;
  flex-direction: column;
  padding-left: 20px;
  border-left: 1px solid var(--line);
  line-height: 1.35;
}
.brand__text b {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .06em;
}
.brand__text small {
  font-size: 13px;
  color: var(--ink-soft);
}

.nav ul { display: flex; gap: clamp(20px, 2.6vw, 38px); }
.nav a {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color .15s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: var(--btn);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav a:hover { color: var(--link); }
.nav a:hover::after,
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--link); }

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }

/* ---------- Mobile menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  visibility: hidden;
  opacity: 0;
  transition: opacity .2s ease, visibility 0s linear .2s;
}
.menu.is-open { visibility: visible; opacity: 1; transition: opacity .2s ease; }
.menu .site-header { width: 100%; flex: none; }
.menu .menu-btn { display: inline-flex; }
.menu__nav {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter) 60px;
}
.menu__list { display: grid; gap: 4px; }
.menu__list a {
  display: block;
  padding: 6px 0;
  font-family: var(--font-serif);
  font-size: clamp(34px, 9vw, 52px);
  line-height: 1.15;
  color: var(--ink);
}
.menu__list a:hover,
.menu__list a:focus-visible { color: var(--accent); font-style: italic; }
body.menu-open { overflow: hidden; }

/* ---------- Buttons ---------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 34px; margin-top: 40px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--btn);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.btn:hover { background: var(--btn-hover); }
.btn svg { width: 16px; height: 16px; }

.btn--line {
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.btn--line:hover { background: var(--ink); color: var(--bg); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
}
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s ease; }
.link-arrow:hover { color: var(--link); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--link { color: var(--link); }

/* ---------- Decorative curves ---------- */
.curve {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  fill: none;
  stroke: var(--curve);
  stroke-width: 1.2;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(70px, 9vw, 120px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero .curve--a { top: -40px; right: -10%; width: 70%; }
.hero .curve--b { bottom: 0; left: -8%; width: 42%; }

.hero__title {
  margin-top: 30px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero__lede {
  max-width: 34em;
  margin-top: 34px;
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.75;
  color: var(--ink);
}

.hero__media { position: relative; }
.arch {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 62% 38% 0 0 / 44% 30% 0 0;
  background: linear-gradient(160deg, var(--peach), var(--pink));
}
.arch img {
  width: 100%;
  height: 100%;
  color: transparent;
  object-fit: cover;
  object-position: center 30%;
}
.sun {                         /* small lemon disc behind the arch, like a sun over the sea */
  position: absolute;
  z-index: -1;
  top: -6%;
  left: -8%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lilac);
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  isolation: isolate;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) var(--gutter);
  scroll-margin-top: 12px;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 32px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
.section__tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(19px, 1.7vw, 23px);
  color: var(--ink);
}

.sec-num {
  margin-right: 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}

/* Panels: full-bleed tinted bands */
.band { position: relative; }
.band--sage { background: var(--sage); }
.band--lilac { background: var(--lilac); }
.band--peach { background: var(--peach); }
.band--sky { background: var(--sky); }

/* What I do */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pillar { padding: 8px clamp(20px, 3vw, 44px) 8px; }
.pillar:first-child { padding-left: 0; }
.pillar + .pillar { border-left: 1px solid var(--line); }
.pillar svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: var(--link);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillar h3 {
  margin-top: 22px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(24px, 2.1vw, 29px);
  line-height: 1.2;
  color: var(--ink);
}
.pillar p {
  margin-top: 12px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* Story chapters */
.chapter {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  column-gap: clamp(24px, 4vw, 64px);
}
.chapter__label { padding-top: 16px; }
.chapter__label .num {
  display: block;
  margin-bottom: 6px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--accent);
}
.chapter__body { min-width: 0; }

.title {
  max-width: 18ch;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

.rule {
  width: 64px;
  height: 2px;
  margin: 30px 0 36px;
  border: 0;
  background: var(--btn);
}

.prose { max-width: var(--measure); }
.prose p {
  font-size: clamp(17px, 1.25vw, 18.5px);
  line-height: 1.8;
  color: var(--ink-soft);
}
.prose p + p { margin-top: 1.3em; }
.prose .lead {
  font-family: var(--font-serif);
  font-size: clamp(21px, 1.8vw, 25px);
  line-height: 1.5;
  color: var(--ink);
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose a:not(.btn) {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.placeholder {
  display: block;
  padding: 14px 18px;
  border: 1.5px dashed var(--accent);
  border-radius: var(--radius);
  background: #fff4ee;
  color: var(--ink) !important;
  font-size: 15.5px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important;
}

/* Lessons */
.lessons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(28px, 4vw, 56px);
}
.lesson {
  padding: 30px 0 34px;
  border-top: 1px solid var(--line);
}
.lesson__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--accent);
}
.lesson h3 {
  margin-top: 8px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(23px, 2vw, 28px);
  line-height: 1.22;
  color: var(--ink);
}
.lesson p {
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-soft);
}
.lesson .link-arrow { margin-top: 16px; font-size: 15px; }

/* Expertise: the questions I work on */
.questions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
}
.question {
  padding: 28px 26px 30px;
  border-radius: 8px;
  background: var(--sky);
}
.question:nth-child(2) { background: var(--lilac); }
.question:nth-child(3) { background: var(--sage); }
.question:nth-child(4) { background: var(--peach); }
.question:nth-child(5) { background: var(--pink); }
.question__q {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(21px, 1.8vw, 24px);
  line-height: 1.3;
  color: var(--ink);
}
.question__what {
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--link);
}
.question p:last-child {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
}
.question--note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: transparent !important;
  box-shadow: inset 0 0 0 1px var(--line);
}
.question--note p {
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.6vw, 22px) !important;
  line-height: 1.45 !important;
  color: var(--ink) !important;
}

/* Engineering bench (secondary section) */
.bench {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}
.bench-card {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
}
.bench-card__img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: var(--sky);
}
.bench-card__icon {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 2 / 1;
  background: var(--sage);
}
.bench-card__icon svg {
  width: 72px;
  height: 72px;
  fill: none;
  stroke: var(--link);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bench-card__body { padding: 24px 26px 28px; }
.bench-card h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 23px;
  line-height: 1.25;
  color: var(--ink);
}
.bench-card .tags {
  margin-top: 4px;
  font-size: 14px;
  color: var(--ink-soft);
}
.bench-card p:not(.tags) {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.title--small { font-size: clamp(30px, 3.4vw, 44px); }

/* Book */
.book {
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.book__cover {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.book__byline { margin-bottom: 18px; }

/* Article cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}
.cards--list { grid-template-columns: 1fr; }
.card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  transition: border-color .2s ease, transform .2s ease;
}
.card a:hover { border-color: var(--link); transform: translateY(-3px); }
.card__meta {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--link);
}
.card__meta span { color: var(--ink-soft); font-weight: 500; letter-spacing: .08em; }
.card h3 {
  margin-top: 14px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(22px, 1.9vw, 26px);
  line-height: 1.25;
  color: var(--ink);
}
.card p {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.card__arrow {
  margin-top: auto;
  padding-top: 22px;
  font-size: 15px;
  font-weight: 500;
  color: var(--link);
}
.cards--list .card a { padding: 34px 36px; }
.cards--list .card p { max-width: 64ch; }

.section-foot { margin-top: 40px; }

/* Contact */
.contact-links { display: flex; flex-wrap: wrap; gap: 16px 36px; margin-top: 44px; }
.contact-links a,
.contact-links span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--ink);
}
.contact-links a:hover { color: var(--link); }
.contact-links svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--link);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Footer ---------- */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px var(--gutter) 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  font-size: 15px;
  color: var(--ink-soft);
}
.site-footer .brand__mono { font-size: 30px; }
.site-footer em { font-style: normal; color: var(--accent); }
.site-footer a:not(.brand):hover { color: var(--link); }

/* ---------- Article pages ---------- */
.page {
  position: relative;
  isolation: isolate;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 90px) var(--gutter) clamp(72px, 9vw, 120px);
}
.page--narrow { max-width: calc(var(--measure) + 2 * var(--gutter) + 120px); }

.back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  font-size: 15px;
  font-weight: 500;
  color: var(--link);
}
.back svg { width: 18px; height: 18px; }

.page-title {
  margin-top: 18px;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.dek {
  max-width: var(--measure);
  margin-top: 24px;
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.5;
  color: var(--ink);
}
.byline {
  margin-top: 24px;
  font-size: 15px;
  color: var(--ink-soft);
}
.byline b { color: var(--ink); font-weight: 600; }

.article { max-width: var(--measure); }
.article .rule { margin: 36px 0 42px; }
.article p,
.article li {
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.85;
  color: var(--ink);
}
.article p + p { margin-top: 1.35em; }
.article h2 {
  margin: 2em 0 .6em;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 32px);
  line-height: 1.2;
  color: var(--ink);
}
.article blockquote {
  margin: 1.8em 0;
  padding: 26px 30px;
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
  background: var(--sage);
}
.article blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(21px, 1.9vw, 25px);
  line-height: 1.5;
  color: var(--ink);
}
.article ul { margin: 1.2em 0; display: grid; gap: .5em; }
.article ul li { position: relative; padding-left: 24px; }
.article ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--btn);
  box-shadow: 0 0 0 1px #e9a87f;
}
.article a:not(.btn) {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article strong { font-weight: 600; }
.article code {
  padding: 1px 6px;
  border-radius: 3px;
  background: var(--sage);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .88em;
}
.article figure { margin: 2em 0; }
.article figure img { border-radius: 6px; }
.article figcaption { margin-top: 10px; font-size: 15px; color: var(--ink-soft); }

.article-end {
  max-width: var(--measure);
  margin-top: 64px;
  padding: 34px 36px;
  border-radius: 8px;
  background: var(--peach);
}
.article-end p {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink);
}
.article-end .actions { margin-top: 24px; }

/* 404 */
.notfound {
  position: relative;
  isolation: isolate;
  max-width: var(--max);
  margin: 0 auto;
  min-height: calc(100svh - var(--header-h) - 130px);
  padding: clamp(40px, 7vw, 90px) var(--gutter) 80px;
}
.notfound__code {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(120px, 24vw, 300px);
  line-height: .85;
  color: var(--accent);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .questions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

@media (max-width: 860px) {
  :root { --header-h: 80px; }
  .brand { gap: 14px; }
  .brand__mono { font-size: 32px; }
  .brand__text { padding-left: 14px; }

  .hero { grid-template-columns: 1fr; }
  .hero__media { max-width: 460px; width: 100%; justify-self: center; }
  .hero .curve--a { width: 120%; right: -40%; }

  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .pillar,
  .pillar:first-child { padding: 0; }
  .pillar + .pillar { border-left: 0; border-top: 1px solid var(--line); padding-top: 32px; }

  .chapter { grid-template-columns: 1fr; }
  .chapter__label { padding: 0 0 16px; }

  .lessons { grid-template-columns: 1fr; }

  .questions { grid-template-columns: 1fr; }
  .bench { grid-template-columns: 1fr; }

  .book { grid-template-columns: 1fr; }
  .book__cover { max-width: 300px; }

  .cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand__text small { display: none; }
  .actions { gap: 16px 24px; }
  .cards--list .card a,
  .card a { padding: 26px 22px; }
  .article-end { padding: 28px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
