/* ---------------------------------------------------------------------------
   Tokens
   ------------------------------------------------------------------------- */

:root {
  color-scheme: light;

  /* Sage palette taken from the header banner. Text colors pass WCAG AA on --bg and --surface. */
  --bg: #ffffff;
  --surface: #f4f7f5;
  --surface-strong: #e9efeb;
  --text: #18211c;
  --text-2: #4b5650;
  --text-3: #68736c;
  --border: #e2e8e3;
  --border-strong: #cdd6d0;
  --accent: #2c6b57;
  --accent-strong: #1e4f40;
  --accent-soft: #e6f0eb;
  --accent-soft-strong: #d5e7dd;
  --ring: rgb(44 107 87 / 0.25);
  --image-edge: rgb(0 0 0 / 0.06);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;

  /* The built-in easing keywords are too weak for UI; this is a strong ease-out. */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --duration-hover: 150ms;
  --duration-press: 160ms;

  /* Motion amounts. Reduced-motion users get 1 / 0, so nothing moves or scales. */
  --press: 0.97;
  --press-small: 0.95;
  --press-large: 0.985;
  --enter-scale: 0.9;
  --enter-y: 6px;
  --nudge: 2px;

  --gutter: 40px;
  --content: 960px;
}

/* ---------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */

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

html {
  background: var(--bg);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Heiti TC", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

::selection { color: var(--accent-strong); background: var(--accent-soft-strong); }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--duration-hover) ease;
}

button { font: inherit; touch-action: manipulation; }

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

[id] { scroll-margin-top: 24px; }

time, .pagination { font-variant-numeric: tabular-nums; }

mark { padding: 0 0.1em; border-radius: 3px; color: inherit; background: #fcefb4; }

.icon { flex: none; }

/* Keyboard-only, so it appears instantly: animating keyboard-initiated UI makes it feel slow. */
.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  color: #fff;
  background: var(--text);
  font-size: 14px;
  transform: translateY(calc(-100% - 24px));
}
.skip-link:focus { color: #fff; transform: none; }

/* ---------------------------------------------------------------------------
   Shell
   ------------------------------------------------------------------------- */

.site {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: calc(var(--content) + var(--gutter) * 2);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header { padding-top: 12px; }
.site-header.is-compact { border-bottom: 1px solid var(--border); }

.header-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  grid-template-areas: "title nav search";
  align-items: center;
  gap: 12px 20px;
  min-height: 64px;
  padding-bottom: 12px;
}

.site-title {
  grid-area: title;
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
}
.site-title a { color: var(--text); }

.primary-nav { grid-area: nav; }
.primary-nav ul { display: flex; gap: 2px; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-full);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition: color var(--duration-hover) ease, background-color var(--duration-hover) ease, transform var(--duration-press) var(--ease-out);
}
.primary-nav a[aria-current="page"] { color: var(--accent-strong); background: var(--accent-soft); font-weight: 600; }
.primary-nav a:active { transform: scale(var(--press)); }

.search-form { grid-area: search; position: relative; width: 232px; }
.search-form > .icon {
  position: absolute;
  top: 50%;
  left: 13px;
  color: var(--text-3);
  transform: translateY(-50%);
  pointer-events: none;
}
.search-form input {
  display: block;
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 12px 0 36px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  color: var(--text);
  background: var(--surface);
  font: inherit;
  font-size: 15px;
  letter-spacing: normal;
  caret-color: var(--accent);
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--duration-hover) ease, background-color var(--duration-hover) ease, box-shadow var(--duration-hover) ease;
}
.search-form input:not(:placeholder-shown) { padding-right: 42px; }
.search-form input::placeholder { color: var(--text-3); opacity: 1; }
.search-form input::-webkit-search-decoration,
.search-form input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-form input:focus { outline: none; border-color: var(--accent); background: var(--bg); box-shadow: 0 0 0 4px var(--ring); }

/* The submit arrow only shows up once there is something to submit. */
.search-submit {
  position: absolute;
  top: 6px;
  right: 6px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: scale(var(--enter-scale));
  transition:
    opacity var(--duration-hover) var(--ease-out),
    transform var(--duration-press) var(--ease-out),
    background-color var(--duration-hover) ease,
    visibility 0s linear var(--duration-hover);
}
.search-form input:not(:placeholder-shown) ~ .search-submit {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  transition-delay: 0s;
}
.search-form input:not(:placeholder-shown) ~ .search-submit:active { transform: scale(var(--press-small)); }

.site-mark { margin-top: 4px; }
.site-mark img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  outline: 1px solid var(--image-edge);
  outline-offset: -1px;
  background: var(--surface-strong);
}

.site-main {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 248px;
  align-items: start;
  align-content: start;
  gap: 56px;
  padding: 40px 0 80px;
}
/* Posts and pages without a sidebar span the full header/footer width too, so every page shares one set of edges. */
.site-main.is-single { grid-template-columns: minmax(0, 1fr); padding-top: 36px; }

.content-column {
  min-width: 0;
  transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
}

/* Set by an inline <head> script on ?s= visits and removed by js/site.js once results render,
   so the latest-posts list never flashes first. The delayed animation guarantees it can't stay hidden. */
.is-searching .content-column {
  opacity: 0;
  transform: translateY(var(--enter-y));
  animation: search-failsafe 0s 3s forwards;
}
@keyframes search-failsafe { to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------------------
   Headings
   ------------------------------------------------------------------------- */

.page-heading {
  margin: 0 0 28px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.page-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}
.archive-header { margin: 0 0 20px; }
.archive-header .page-heading { margin-bottom: 8px; }
.archive-description {
  max-width: 40em;
  margin: 0;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
  text-wrap: pretty;
}

.empty-state {
  margin: 8px 0 0;
  padding: 28px 24px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text-2);
  text-align: center;
}
.notice {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: var(--radius);
  color: #6b4700;
  background: #fdf3dc;
  font-size: 14px;
}

/* ---------------------------------------------------------------------------
   Post cards
   ------------------------------------------------------------------------- */

.post-list { display: flex; flex-direction: column; margin: 0 -20px; }

.post-preview {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 176px;
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "title   thumb"
    "excerpt thumb"
    "meta    thumb";
  column-gap: 28px;
  padding: 22px 20px;
  border-radius: var(--radius-lg);
  transition: background-color var(--duration-hover) ease, transform var(--duration-press) var(--ease-out);
}

/* Hairline between cards. It hides beside a hovered card so the tint reads as one clean shape. */
.post-preview + .post-preview::before {
  content: "";
  position: absolute;
  top: 0;
  right: 20px;
  left: 20px;
  height: 1px;
  background: var(--border);
  transition: opacity var(--duration-hover) ease;
}

.post-preview .post-title {
  grid-area: title;
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  text-wrap: balance;
}
.post-preview .post-title a { color: var(--text); }
/* Stretch the title link over the card so the whole card is one target. */
.post-preview .post-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
}
.post-preview .post-title a:focus-visible { outline: none; }
.post-preview .post-title a:focus-visible::after { outline: 2px solid var(--accent); outline-offset: 2px; }
.post-preview:has(.post-title a:active) { transform: scale(var(--press-large)); }

.post-excerpt {
  grid-area: excerpt;
  display: -webkit-box;
  margin: 0 0 14px;
  overflow: hidden;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.8;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.post-preview .post-meta {
  grid-area: meta;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  margin: 0;
  color: var(--text-3);
  font-size: 13px;
  line-height: 1.5;
}

/* Sits above the stretched title link so it stays separately clickable. */
.post-category {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-full);
  color: var(--accent-strong);
  background: var(--accent-soft);
  font-size: 13px;
  font-weight: 500;
  transition: color var(--duration-hover) ease, background-color var(--duration-hover) ease, transform var(--duration-press) var(--ease-out);
}
.post-category:active { transform: scale(var(--press-small)); }

.post-thumbnail {
  grid-area: thumb;
  align-self: start;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-strong);
}
.post-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  outline: 1px solid var(--image-edge);
  outline-offset: -1px;
}
/* While an image is loading (or if it fails), show the tinted box rather than stray alt text. */
.post-thumbnail img,
.post-hero img,
.site-mark img { color: transparent; }

/* ---------------------------------------------------------------------------
   Pagination
   ------------------------------------------------------------------------- */

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.pagination-pages { display: flex; gap: 4px; margin: 0; padding: 0; list-style: none; }
.pagination-pages a,
.pagination-pages span {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: var(--radius-full);
  color: var(--text-2);
  font-size: 15px;
  transition: color var(--duration-hover) ease, background-color var(--duration-hover) ease, transform var(--duration-press) var(--ease-out);
}
.pagination-pages [aria-current="page"] { color: #fff; background: var(--accent); font-weight: 600; }
.pagination-step {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text);
  font-size: 15px;
  white-space: nowrap;
  transition: color var(--duration-hover) ease, background-color var(--duration-hover) ease, border-color var(--duration-hover) ease, transform var(--duration-press) var(--ease-out);
}
.pagination-step.is-next { padding: 0 12px 0 16px; }
.pagination-step.is-disabled { color: var(--text-3); opacity: 0.45; }
.pagination a:active { transform: scale(var(--press)); }

/* ---------------------------------------------------------------------------
   Sidebar
   ------------------------------------------------------------------------- */

.sidebar { min-width: 0; }
.widget + .widget { margin-top: 36px; }
.widget-title {
  margin: 0 0 10px;
  color: var(--text-3);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.08em;
}
.widget ul { margin: 0; padding: 0; list-style: none; }

.widget .recent-posts { margin: 0 -10px; }
.recent-posts a {
  display: block;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  transition: color var(--duration-hover) ease, background-color var(--duration-hover) ease, transform var(--duration-press) var(--ease-out);
}
.recent-posts a:active { transform: scale(var(--press)); }

.category-list { display: flex; flex-wrap: wrap; gap: 8px; }
.category-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  color: var(--text-2);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.3;
  transition: color var(--duration-hover) ease, background-color var(--duration-hover) ease, border-color var(--duration-hover) ease, transform var(--duration-press) var(--ease-out);
}
.category-list a[aria-current="page"] { border-color: transparent; color: var(--accent-strong); background: var(--accent-soft); font-weight: 600; }
.category-list a:active { transform: scale(var(--press-small)); }

/* ---------------------------------------------------------------------------
   Article
   ------------------------------------------------------------------------- */

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
  color: var(--text-3);
  font-size: 14px;
}
.breadcrumbs li + li::before {
  content: "›";
  content: "›" / "";
  margin: 0 8px;
  color: var(--text-3);
}
.breadcrumbs a { color: var(--text-2); }

.single-post .post-title {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-wrap: balance;
}
.single-post .post-meta { margin: 0 0 28px; color: var(--text-3); font-size: 14px; }

.post-hero { margin: 0 0 36px; }
.post-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  outline: 1px solid var(--image-edge);
  outline-offset: -1px;
  background: var(--surface-strong);
}

.single-copy p {
  margin: 0 0 1.5em;
  font-size: 17px;
  line-height: 1.9;
  text-wrap: pretty;
}
.single-copy p:last-child { margin-bottom: 0; }

.post-taxonomy {
  margin: 40px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 14px;
}
.post-taxonomy .separator { margin: 0 10px; }

.post-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 32px 0 0; }
.post-nav-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text);
  transition: color var(--duration-hover) ease, background-color var(--duration-hover) ease, border-color var(--duration-hover) ease, transform var(--duration-press) var(--ease-out);
}
.post-nav-link.is-next { align-items: flex-end; text-align: right; }
.post-nav-link.is-empty { border-color: transparent; }
a.post-nav-link:active { transform: scale(var(--press-large)); }
.post-nav-label { display: inline-flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 13px; }
.post-nav-label .icon { transition: transform 200ms var(--ease-out); }
.post-nav-title { font-size: 16px; font-weight: 600; line-height: 1.5; text-wrap: balance; }

.post-cta {
  margin: 40px 0 0;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.post-cta-title { margin: 0 0 6px; font-size: 18px; line-height: 1.4; }
.post-cta p { margin: 0 0 18px; color: var(--text-2); font-size: 15px; line-height: 1.8; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 22px;
  border-radius: var(--radius-full);
  color: #fff;
  background: var(--accent);
  font-size: 15px;
  font-weight: 600;
  transition: background-color var(--duration-hover) ease, transform var(--duration-press) var(--ease-out);
}
.button:active { transform: scale(var(--press)); }

/* ---------------------------------------------------------------------------
   Static pages
   ------------------------------------------------------------------------- */

.page-copy p { margin: 0 0 1.25em; font-size: 16px; line-height: 1.9; text-wrap: pretty; }
.page-copy h3 { margin: 40px 0 12px; font-size: 19px; line-height: 1.5; }
.page-copy ul { margin: 0 0 1.25em; padding-left: 1.25em; }
.page-copy li { margin: 0 0 6px; padding-left: 2px; font-size: 16px; line-height: 1.85; }
.page-copy li::marker { color: var(--accent); }
.page-copy .page-updated { margin: -16px 0 32px; color: var(--text-3); font-size: 14px; }

/* Links inside running text need more than color to stand out (WCAG 1.4.1). */
.page-copy a,
.single-copy a {
  text-decoration: underline;
  text-decoration-color: rgb(44 107 87 / 0.35);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  transition: color var(--duration-hover) ease, text-decoration-color var(--duration-hover) ease;
}

/* ---------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 24px 0 36px;
  border-top: 1px solid var(--border);
  color: var(--text-3);
  font-size: 14px;
}
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { display: inline-block; padding: 6px 0; color: var(--text-2); }
.footer-nav a[aria-current="page"] { color: var(--accent-strong); }
.site-info { margin: 0; }

/* ---------------------------------------------------------------------------
   Hover: only for real pointers, so taps on touch screens don't leave sticky states.
   ------------------------------------------------------------------------- */

@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--accent-strong); }

  .primary-nav a:hover { color: var(--text); background: var(--surface); }
  .primary-nav a[aria-current="page"]:hover { color: var(--accent-strong); background: var(--accent-soft); }

  .search-form input:hover:not(:focus) { border-color: #b7c3bb; }
  .search-submit:hover { background: var(--accent-strong); }

  .post-preview:hover { background: var(--surface); }
  .post-preview:hover::before,
  .post-preview:hover + .post-preview::before { opacity: 0; }
  .post-preview:hover .post-title a { color: var(--accent-strong); }
  .post-category:hover { background: var(--accent-soft-strong); }

  .pagination-pages a:hover { color: var(--text); background: var(--surface); }
  a.pagination-step:hover { border-color: var(--border-strong); background: var(--surface); }

  .recent-posts a:hover { color: var(--accent-strong); background: var(--surface); }
  .category-list a:hover { border-color: var(--border-strong); color: var(--text); background: var(--surface); }
  .category-list a[aria-current="page"]:hover { border-color: transparent; color: var(--accent-strong); background: var(--accent-soft-strong); }

  .breadcrumbs a:hover { color: var(--accent-strong); }
  .post-nav-link:not(.is-empty):hover { border-color: var(--border-strong); background: var(--surface); }
  .post-nav-link.is-prev:hover .icon { transform: translateX(calc(var(--nudge) * -1)); }
  .post-nav-link.is-next:hover .icon { transform: translateX(var(--nudge)); }
  .button:hover { color: #fff; background: var(--accent-strong); }

  .page-copy a:hover,
  .single-copy a:hover { text-decoration-color: currentColor; }
  .footer-nav a:hover { color: var(--accent-strong); }
}

/* ---------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .header-bar {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "title title"
      "nav   search";
    gap: 4px 16px;
    padding-bottom: 14px;
  }
  /* Optical alignment: the first pill's label lines up with the title above it. */
  .primary-nav { margin-left: -14px; }
  .search-form { justify-self: end; }
}

@media (max-width: 880px) {
  .site-main { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .sidebar { padding-top: 32px; border-top: 1px solid var(--border); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }

  .site-header { padding-top: 8px; }
  .header-bar { gap: 2px 12px; min-height: 0; padding-bottom: 12px; }
  .site-title { padding: 6px 0; font-size: 18px; }
  .primary-nav { margin-left: -10px; }
  .primary-nav a { padding: 0 10px; }
  .search-form { justify-self: stretch; width: auto; }
  /* 16px keeps iOS Safari from zooming the page when the field is focused. */
  .search-form input { font-size: 16px; }
  .site-mark img { border-radius: var(--radius); }

  .site-main { padding: 28px 0 56px; }
  .site-main.is-single { padding-top: 24px; }
  .page-heading { font-size: 22px; }

  .post-list { margin: 0 -12px; }
  .post-preview {
    grid-template-columns: minmax(0, 1fr) 96px;
    grid-template-rows: auto;
    grid-template-areas:
      "title   thumb"
      "excerpt excerpt"
      "meta    meta";
    column-gap: 14px;
    padding: 16px 12px;
  }
  .post-preview + .post-preview::before { right: 12px; left: 12px; }
  .post-preview .post-title { align-self: start; margin-bottom: 10px; font-size: 17px; line-height: 1.5; }
  .post-excerpt { margin-bottom: 12px; }
  .post-preview .post-meta { align-self: start; }

  .single-post .post-title { font-size: 26px; }
  .post-hero { margin-bottom: 28px; }
  .post-hero img { border-radius: var(--radius); }
  .post-cta { padding: 20px; }
}

@media (max-width: 480px) {
  .post-navigation { grid-template-columns: minmax(0, 1fr); }
  .post-nav-link.is-empty { display: none; }
}

/* Narrow phones: give search its own row instead of squeezing it next to the nav. */
@media (max-width: 360px) {
  .header-bar {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "title" "nav" "search";
  }
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --press: 1;
    --press-small: 1;
    --press-large: 1;
    --enter-scale: 1;
    --enter-y: 0px;
    --nudge: 0px;
  }
}
