/* Georges Arnaout: site styles.
   Colors and type are set once here as variables; change them in one place. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-serif-4-variable-italic.woff2") format("woff2");
}

:root {
  --brand: #0f2744;
  --on-brand: #ffffff;
  --on-brand-soft: rgba(255, 255, 255, 0.88);
  --on-brand-line: rgba(255, 255, 255, 0.55);
  --header-rule: transparent;
  --highlight: #e8c56a;
  --button-bg: #ffffff;
  --button-fg: #0f2744;
  --button-hover-bg: #e8c56a;
  --button-hover-fg: #0f2744;
  --card-border: transparent;
  --ink: #142033;
  --slate: #505c70;
  --paper: #ffffff;
  --tint: #f3f5f8;
  --rule: #d9dee6;
  --link: #1d5a9e;
  --link-hover: #0f2744;
  --accent-rule: #1d5a9e;
  --monogram-bg: #0f2744;
  --monogram-fg: #ffffff;
  --cta-bg: #0f2744;
  --on-cta: #ffffff;
  --on-cta-soft: rgba(255, 255, 255, 0.88);
  --cta-highlight: #e8c56a;
  --cta-button-bg: #ffffff;
  --cta-button-fg: #0f2744;
  --cta-button-hover-bg: #e8c56a;
  --cta-button-hover-fg: #0f2744;
  --footer-bg: #0a1b31;
  --on-footer: #ffffff;
  --on-footer-soft: rgba(255, 255, 255, 0.84);
  --chart-you: #1d5a9e;
  --chart-bench: #b7791f;
  --chart-grid: #e6e9ef;
  --chart-axis: #b4bcc9;
  --chart-cross: #8c97a8;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(64px, 9vw, 116px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--sans);
  font-stretch: 108%;
  font-weight: 620;
  line-height: 1.1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--link);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover {
  color: var(--link-hover);
  text-decoration-thickness: 2px;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.9375rem;
}
.skip-link:focus {
  top: 12px;
}

/* Buttons */

.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 4px;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}
.button--light {
  background: var(--button-bg);
  color: var(--button-fg);
}
.button--light:hover {
  background: var(--button-hover-bg);
  color: var(--button-hover-fg);
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--header-rule);
  background: var(--brand);
  color: var(--on-brand);
  font-family: var(--sans);
}
.site-header :focus-visible,
.hero :focus-visible {
  outline-color: var(--on-brand);
}
.contact :focus-visible {
  outline-color: var(--on-cta);
}
.site-footer :focus-visible {
  outline-color: var(--on-footer);
}
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 22px;
}
.wordmark {
  color: var(--on-brand);
  font-size: 1.125rem;
  font-stretch: 112%;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.wordmark:hover {
  color: var(--on-brand);
  text-decoration: underline;
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 28px;
}
.site-nav a {
  display: inline-block;
  padding-block: 6px;
  color: var(--on-brand);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}
.site-nav .site-nav__cta {
  padding: 9px 14px;
  border: 1.5px solid var(--on-brand-line);
  border-radius: 4px;
}
.site-nav .site-nav__cta:hover {
  background: var(--on-brand);
  color: var(--brand);
  text-decoration: none;
}

/* Hero */

.hero {
  background: var(--brand);
  color: var(--on-brand);
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 104px);
}
.hero h1 {
  font-size: clamp(2.5rem, 5.3vw, 4.4rem);
  font-stretch: 114%;
  font-weight: 640;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.hero__lede {
  max-width: 34em;
  margin: 28px 0 0;
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.55;
  color: var(--on-brand-soft);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin: 36px 0 0;
}
.hero__link {
  color: var(--on-brand);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 550;
  text-underline-offset: 0.3em;
}
.hero__link:hover {
  color: var(--highlight);
}

/* The retention model */

.model {
  padding: clamp(20px, 2.6vw, 30px);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
.model :focus-visible {
  outline-color: var(--ink);
}
.model__title {
  font-size: 1.125rem;
  font-stretch: 104%;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -0.005em;
}
.model__control {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 2px 16px;
  margin-top: 20px;
}
.model__control label {
  color: var(--slate);
  font-size: 0.875rem;
}
.model__control output {
  font-size: 1.5rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.model__control input {
  grid-column: 1 / -1;
  width: 100%;
  height: 28px;
  margin: 4px 0 0;
  accent-color: var(--link);
  cursor: pointer;
}
.model__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 16px 0 4px;
  color: var(--slate);
  font-size: 0.8125rem;
}
.model__legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.model__legend i {
  display: inline-block;
  width: 18px;
  height: 0;
  border-top: 3px solid currentColor;
  border-radius: 2px;
}
.model__chart {
  position: relative;
}
.model__chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  touch-action: pan-y;
}
.model__fallback {
  margin: 20px 0 0;
  font-family: var(--serif);
  font-size: 1rem;
}
.model__tooltip {
  position: absolute;
  top: 8px;
  z-index: 2;
  min-width: 148px;
  padding: 10px 12px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 6px 18px rgba(15, 27, 54, 0.14);
  font-size: 0.8125rem;
  line-height: 1.35;
  pointer-events: none;
}
.model__tooltip[hidden] {
  display: none;
}
.model__tooltip b {
  display: block;
  margin-bottom: 6px;
  color: var(--slate);
  font-weight: 500;
}
.model__tooltip div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--slate);
}
.model__tooltip div i {
  width: 12px;
  border-top: 3px solid currentColor;
  border-radius: 2px;
}
.model__tooltip div strong {
  min-width: 52px;
  color: var(--ink);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}
.model__readout {
  margin: 14px 0 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.5;
}
.model__readout strong {
  font-weight: 650;
  white-space: nowrap;
}
.model__table {
  margin-top: 12px;
  font-size: 0.875rem;
}
.model__table summary {
  width: fit-content;
  color: var(--link);
  cursor: pointer;
}
.model__table table {
  width: 100%;
  margin-top: 10px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.model__table th,
.model__table td {
  padding: 6px 0;
  border-top: 1px solid var(--rule);
  text-align: right;
  font-weight: 400;
}
.model__table th:first-child,
.model__table td:first-child {
  text-align: left;
}
.model__table thead th {
  border-top: 0;
  color: var(--slate);
}
.model__note {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  color: var(--slate);
  font-size: 0.8125rem;
  line-height: 1.45;
}

/* Where I have worked */

.credentials {
  background: var(--tint);
  font-family: var(--sans);
}
.credentials__list {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 20px clamp(32px, 5vw, 72px);
  margin: 0;
  padding-block: 28px;
}
.credentials__list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 26px;
}
.credentials dt {
  width: 100%;
  margin-bottom: 4px;
  color: var(--slate);
  font-size: 0.8125rem;
}
.credentials dd {
  margin: 0;
  font-size: 1rem;
  font-weight: 580;
}

/* Sections */

.section {
  padding-block: var(--section);
}
.section--tint {
  background: var(--tint);
}
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: end;
  gap: 16px clamp(32px, 5vw, 72px);
  margin-bottom: clamp(32px, 5vw, 56px);
}
.section__head h2,
.about h2,
.contact h2 {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-stretch: 112%;
  letter-spacing: -0.02em;
}
.section__head p {
  max-width: 36em;
  margin: 0;
  color: var(--slate);
}
.section__more {
  margin: 28px 0 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 550;
}
.empty {
  color: var(--slate);
}

/* What I get asked to fix */

.problem {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 10px clamp(32px, 5vw, 72px);
  padding-block: 28px 30px;
  border-top: 1px solid var(--rule);
}
.problem:last-child {
  border-bottom: 1px solid var(--rule);
}
.problem h3 {
  grid-row: span 2;
  max-width: 17em;
  font-size: clamp(1.25rem, 1.9vw, 1.5rem);
  line-height: 1.2;
}
.problem p {
  max-width: 36em;
  margin: 0;
}
.problem .problem__proof {
  padding-left: 14px;
  border-left: 2px solid var(--accent-rule);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.formats {
  margin-top: clamp(48px, 7vw, 80px);
}
.formats__title {
  margin-bottom: 20px;
  font-size: 1.25rem;
}
.formats__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px clamp(24px, 4vw, 48px);
}
.formats__list li {
  padding-top: 16px;
  border-top: 2px solid var(--ink);
}
.formats__list h4 {
  margin-bottom: 8px;
  font-size: 1.0625rem;
  letter-spacing: -0.005em;
}
.formats__list p {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.formats__note {
  margin: 28px 0 0;
  color: var(--slate);
  font-family: var(--sans);
  font-size: 0.9375rem;
}

/* Track record */

.ledger {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.ledger thead th {
  padding: 0 0 12px;
  color: var(--slate);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
}
.ledger tbody th,
.ledger tbody td {
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  vertical-align: top;
}
.ledger tbody tr:last-child th,
.ledger tbody tr:last-child td {
  border-bottom: 1px solid var(--rule);
}
.ledger__years {
  width: 15%;
  padding-right: 24px;
  color: var(--slate);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.ledger tbody .ledger__years {
  padding-top: 32px;
}
.ledger__where {
  width: 31%;
  padding-right: clamp(24px, 4vw, 56px);
  font-weight: 400;
}
.ledger tbody .ledger__where {
  padding-right: clamp(24px, 4vw, 56px);
}
.ledger__company {
  display: block;
  font-family: var(--sans);
  font-size: 1.3125rem;
  font-stretch: 108%;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.ledger__exit {
  color: var(--slate);
  font-size: 0.9375rem;
  font-stretch: 100%;
  font-weight: 400;
  letter-spacing: 0;
  white-space: nowrap;
}
.ledger__role {
  display: block;
  margin-top: 6px;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.4;
}
.ledger__what li + li {
  margin-top: 10px;
}
.ledger__what p {
  max-width: 38em;
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.ledger__what strong {
  font-weight: 680;
}

/* Testimonials (shown once _data/testimonials.yml has entries) */

.quotes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(32px, 5vw, 72px);
}
.quotes blockquote {
  margin: 0;
  padding-left: 20px;
  border-left: 2px solid var(--accent-rule);
}
.quotes blockquote p {
  font-size: 1.25rem;
  line-height: 1.5;
}
.quotes footer {
  font-family: var(--sans);
  font-size: 0.9375rem;
}
.quotes cite {
  display: block;
  font-style: normal;
  font-weight: 620;
}
.quotes footer span {
  color: var(--slate);
}

/* Writing */

.post-item {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 10fr);
  gap: 6px clamp(24px, 4vw, 48px);
  padding-block: 26px;
  border-top: 1px solid var(--rule);
}
.posts .post-item:last-child {
  border-bottom: 1px solid var(--rule);
}
.post-item time {
  padding-top: 0.45em;
  color: var(--slate);
  font-family: var(--sans);
  font-size: 0.9375rem;
}
.post-item h2,
.post-item h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.15;
}
.post-item h2 a,
.post-item h3 a {
  color: var(--ink);
  text-decoration: none;
}
.post-item h2 a:hover,
.post-item h3 a:hover {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.post-item p {
  max-width: 38em;
  margin: 10px 0 0;
  color: var(--slate);
}

.talks {
  margin-top: clamp(48px, 7vw, 80px);
}
.talks__title {
  margin-bottom: 16px;
  font-size: 1.25rem;
}
.talks__list li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 24px;
  padding-block: 14px;
  border-top: 1px solid var(--rule);
}
.talks__list li:last-child {
  border-bottom: 1px solid var(--rule);
}
.talks__list .talks__meta {
  color: var(--slate);
  font-family: var(--sans);
  font-size: 0.9375rem;
}

/* About */

.about {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 40px clamp(32px, 6vw, 88px);
  align-items: start;
}
.about__photo,
.about__monogram {
  display: block;
  width: min(100%, 280px);
  aspect-ratio: 1;
  border-radius: 8px;
}
.about__photo {
  object-fit: cover;
}
.about__monogram {
  display: grid;
  place-items: center;
  background: var(--monogram-bg);
  color: var(--monogram-fg);
  font-family: var(--sans);
  font-size: 5rem;
  font-stretch: 125%;
  font-weight: 650;
  letter-spacing: -0.04em;
}
.about__facts {
  margin: 28px 0 0;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.about__facts > div + div {
  margin-top: 18px;
}
.about__facts dt {
  margin-bottom: 4px;
  color: var(--slate);
  font-size: 0.8125rem;
}
.about__facts dd {
  margin: 0;
}
.about__facts dd + dd {
  margin-top: 6px;
}
.about .about__body h2 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 3.6vw, 3rem);
  line-height: 1.1;
}

/* Contact */

.contact {
  --button-bg: var(--cta-button-bg);
  --button-fg: var(--cta-button-fg);
  --button-hover-bg: var(--cta-button-hover-bg);
  --button-hover-fg: var(--cta-button-hover-fg);
  background: var(--cta-bg);
  color: var(--on-cta);
}
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  align-items: center;
  gap: 24px clamp(32px, 6vw, 88px);
  padding-block: clamp(56px, 8vw, 104px);
}
.contact__body p {
  max-width: 30em;
  color: var(--on-cta-soft);
}
.contact__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin: 24px 0 0;
}
.contact__email {
  color: var(--on-cta);
  font-family: var(--sans);
  font-size: 1rem;
}
.contact__email:hover {
  color: var(--cta-highlight);
}

/* Footer */

.site-footer {
  background: var(--footer-bg);
  color: var(--on-footer-soft);
  font-family: var(--sans);
  font-size: 0.9375rem;
}
.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 32px;
  padding-block: 28px;
}
.site-footer p {
  margin: 0;
}
.site-footer__name {
  color: var(--on-footer);
  font-weight: 620;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}
.site-footer a {
  display: inline-block;
  padding-block: 4px;
  color: var(--on-footer);
}
.site-footer a:hover {
  color: var(--cta-highlight);
}

/* Reading pages: posts, the writing index, research */

.prose-page {
  padding-block: clamp(40px, 6vw, 72px) var(--section);
}
.prose-page__header {
  max-width: 44rem;
  margin-bottom: clamp(28px, 4vw, 44px);
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
}
.prose-page__header h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-stretch: 112%;
  line-height: 1.05;
  letter-spacing: -0.022em;
}
.prose-page__intro {
  max-width: 34em;
  margin: 20px 0 0;
  color: var(--slate);
  line-height: 1.5;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0 0 18px;
  color: var(--slate);
  font-family: var(--sans);
  font-size: 0.9375rem;
}

.prose {
  max-width: 40rem;
}
.prose > :first-child {
  margin-top: 0;
}
.prose p,
.prose ul,
.prose ol,
.prose blockquote {
  margin: 0 0 1.15em;
}
.prose h2 {
  margin: 1.9em 0 0.6em;
  font-size: 1.5rem;
  line-height: 1.2;
}
.prose h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.1875rem;
}
.prose ul,
.prose ol {
  padding-left: 1.2em;
}
.prose ul {
  list-style: disc;
}
.prose ol {
  list-style: decimal;
}
.prose li + li {
  margin-top: 0.45em;
}
.prose li::marker {
  color: var(--slate);
}
.prose blockquote {
  padding-left: 20px;
  border-left: 2px solid var(--accent-rule);
  color: var(--slate);
}
.prose strong {
  font-weight: 680;
}
.prose img {
  display: block;
  margin: 1.6em 0;
  border-radius: 6px;
}
.prose code {
  font-size: 0.9em;
}
.prose hr {
  height: 1px;
  margin: 2.2em 0;
  border: 0;
  background: var(--rule);
}

.post-footer {
  max-width: 40rem;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  color: var(--slate);
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.post-footer p {
  margin: 0;
}

.posts--index {
  max-width: 60rem;
}

/* Narrow screens */

@media (max-width: 900px) {
  .hero__grid,
  .section__head,
  .problem,
  .about,
  .contact__inner,
  .credentials__list {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero__grid {
    align-items: start;
  }
  .section__head {
    align-items: start;
  }
  .problem h3 {
    grid-row: auto;
  }
  .formats__list,
  .quotes {
    grid-template-columns: minmax(0, 1fr);
  }

  .ledger thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .ledger,
  .ledger tbody,
  .ledger tr,
  .ledger tbody th,
  .ledger tbody td {
    display: block;
    width: auto;
  }
  .ledger tr {
    padding-block: 24px;
    border-top: 1px solid var(--rule);
  }
  .ledger tbody tr:last-child {
    border-bottom: 1px solid var(--rule);
  }
  .ledger tbody th,
  .ledger tbody td,
  .ledger tbody tr:last-child th,
  .ledger tbody tr:last-child td {
    padding: 0;
    border: 0;
  }
  .ledger tbody .ledger__years {
    padding: 0 0 6px;
  }
  .ledger tbody .ledger__where {
    padding: 0 0 14px;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 1.125rem;
  }
  .site-header__inner {
    padding-block: 16px;
  }
  .site-nav ul {
    gap: 6px 20px;
  }
  .site-nav .site-nav__cta {
    display: none;
  }
  .post-item {
    grid-template-columns: minmax(0, 1fr);
  }
  .post-item time {
    padding-top: 0;
  }
}

@media (max-width: 360px) {
  .site-nav ul {
    gap: 4px 14px;
  }
  .site-nav a {
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-nav,
  .model,
  .contact__actions {
    display: none;
  }
}
