/* ==========================================================================
   Public website styles. Accent colour comes from Settings (inline :root vars).
   ========================================================================== */

:root {
  --accent: #b45309;
  --accent-hover: #9a4708;
  --accent-contrast: #fff;
  --accent-text: #b45309;
  --accent-soft: #f8eee6;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f7f7f5;
  --text: #16181d;
  --text-soft: #3f4451;
  --muted: #5f6573;
  --border: #e7e7e3;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(17, 24, 39, .05), 0 6px 18px rgba(17, 24, 39, .06);
  --shadow-hover: 0 2px 4px rgba(17, 24, 39, .06), 0 16px 32px rgba(17, 24, 39, .10);
  --container: 1200px;
  --gutter: 16px;
  --header-h: 64px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Devanagari", sans-serif;
}

@media (min-width: 768px) {
  :root { --gutter: 24px; }
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video, iframe { max-width: 100%; }
img { height: auto; display: block; }

a { color: var(--accent-text); text-underline-offset: .18em; }
a:hover { color: var(--text); }

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

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--text); }

p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { width: 100%; max-width: 860px; margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; color: #fff; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }

/* ---------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 44px; padding: .65em 1.2em;
  border: 1.5px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-contrast); }
.btn-accent:hover { background: var(--accent-hover); color: var(--accent-contrast); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #2c2f38; color: #fff; }
.btn-outline { background: #fff; color: var(--text); border-color: var(--border); }
.btn-outline:hover { border-color: var(--text); color: var(--text); }
.btn-block { display: flex; width: 100%; }
.btn-sm { min-height: 36px; padding: .45em .95em; font-size: .875rem; }
.btn-lg { min-height: 52px; padding: .8em 1.6em; font-size: 1.02rem; }
.btn.is-loading { opacity: .75; pointer-events: none; }
.btn.is-loading::after {
  content: ""; width: 1em; height: 1em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent; animation: spin .7s linear infinite;
}

.link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.link:hover { text-decoration: underline; }

/* ---------------------------------------------------------------- header */

.preview-bar {
  background: #fff4d6; color: #5c4400; border-bottom: 1px solid #f1d98a;
  padding: 10px var(--gutter); text-align: center; font-size: .92rem;
}
.preview-bar a { color: #5c4400; font-weight: 700; margin-left: .5em; }

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; min-width: 0; }
.brand:hover { color: var(--text); }
.brand-logo { height: 40px; width: auto; max-width: 200px; object-fit: contain; }
.brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand-mark {
  display: inline-grid; place-items: center; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: var(--accent-contrast); font-weight: 800;
}

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px;
  background: #fff; color: var(--text); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--text-soft); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.site-nav a:not(.btn):hover { background: var(--surface-alt); color: var(--text); }
.site-nav a[aria-current="page"] { color: var(--text); background: var(--accent-soft); }
.nav-cta { margin-left: 8px; }

@media (max-width: 767px) {
  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 12px 24px rgba(17, 24, 39, .08);
    padding: 8px var(--gutter) 16px; display: none;
  }
  .js .site-nav.is-open { display: block; }
  .js .site-nav ul { flex-direction: column; align-items: stretch; }
  .js .site-nav a:not(.btn) { padding: 12px 14px; border-radius: 12px; }
  .nav-cta { margin: 8px 0 0; }
  .nav-cta .btn { width: 100%; }
  .site-nav ul { flex-wrap: wrap; }
}

/* ---------------------------------------------------------------- hero & sections */

.hero { padding: 36px 0 8px; }
.hero-inner { display: grid; gap: 20px; align-items: end; }
@media (min-width: 900px) { .hero-inner { grid-template-columns: 1fr minmax(320px, 420px); padding-top: 12px; } }
.hero-title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 800; letter-spacing: -.03em; margin: 0; }
.hero-lead { color: var(--muted); font-size: 1.08rem; margin: .4em 0 0; max-width: 52ch; }

.search {
  position: relative; display: flex; gap: 8px; align-items: center;
  background: #fff; border: 1.5px solid var(--border); border-radius: 999px; padding: 5px 5px 5px 44px;
  box-shadow: var(--shadow);
}
.search:focus-within { border-color: var(--accent); }
.search-icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); display: flex; }
.search input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 1rem; color: var(--text); padding: 8px 0;
}
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search .btn { min-height: 42px; }
.search-inline { max-width: 460px; margin: 28px auto 0; }

.section { padding-top: 28px; padding-bottom: 56px; }
.section-alt { background: var(--surface-alt); padding-top: 48px; padding-bottom: 56px; border-top: 1px solid var(--border); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.section-title { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 750; margin: 0; }
.section-title-sm { font-size: 1.15rem; margin: 40px 0 14px; }

.page-head { padding: 40px 0 8px; }
.page-title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 .25em; }
.page-lead { color: var(--muted); font-size: 1.08rem; max-width: 62ch; }

/* ---------------------------------------------------------------- blog cards */

.post-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .post-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; } }

.card {
  display: flex; flex-direction: column; min-width: 0;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.card-media {
  display: block; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(110deg, #f1f1ee 30%, #f8f8f6 50%, #f1f1ee 70%) 0 0 / 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-media-empty { display: grid; place-items: center; height: 100%; color: #b5b5ae; }
.card-media-empty .icon { width: 48px; height: 48px; }

.card-cta { padding: 16px 18px 0; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 14px 18px 18px; }
.card-title { font-size: 1.15rem; font-weight: 750; margin: 0 0 .4em; overflow-wrap: anywhere; }
.card-title a { color: var(--text); text-decoration: none; }
.card-title a:hover { color: var(--accent-text); }
.card-excerpt {
  color: var(--muted); margin: 0 0 14px; font-size: .96rem;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card-more {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: .35em;
  font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--accent-text);
  padding: 4px 0;
}
.card-more:hover { gap: .55em; color: var(--text); }
.card-more .icon { transition: transform .15s ease; }

/* ---------------------------------------------------------------- pagination */

.pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 40px; flex-wrap: wrap; }
.page-numbers { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.page-link, .page-num {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; color: var(--text); text-decoration: none; font-weight: 600;
}
.page-link:hover, .page-num:hover { border-color: var(--text); color: var(--text); }
.page-num.is-current { background: var(--text); border-color: var(--text); color: #fff; }
.page-link.is-disabled { opacity: .4; }
.page-gap { display: inline-flex; align-items: center; padding: 0 2px; color: var(--muted); }
@media (max-width: 479px) {
  .page-link span { display: none; }
  .page-numbers li:not(:has(.is-current)):not(:first-child):not(:last-child) { display: none; }
  .page-gap { display: none !important; }
}

/* ---------------------------------------------------------------- states */

.state {
  text-align: center; padding: 56px 24px; border: 1.5px dashed var(--border); border-radius: var(--radius);
  background: var(--surface-alt); color: var(--muted);
}
.state h2, .state h3 { color: var(--text); font-size: 1.25rem; margin-bottom: .35em; }
.state .btn { margin-top: 8px; }
.state-icon { width: 44px; height: 44px; color: #a3a39c; margin-bottom: 12px; }
.state-error { border-color: #f1c4bd; background: #fff7f5; }
.state-error .state-icon { color: #c2410c; }

.spinner { width: 36px; height: 36px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .3); border-top-color: #fff; animation: spin .8s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { to { background-position: -300% 0; } }

/* ---------------------------------------------------------------- article */

.article { padding-top: 20px; padding-bottom: 56px; }
.breadcrumbs { margin-bottom: 16px; }
.breadcrumbs a { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; text-decoration: none; color: var(--muted); padding: 6px 0; }
.breadcrumbs a:hover { color: var(--text); }

.article-media { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--surface-alt); box-shadow: var(--shadow); }
.article-media img { width: 100%; max-height: 72vh; object-fit: cover; }
.article-cta { margin: 18px 0 8px; }
.article-cta .btn { width: 100%; }
@media (min-width: 640px) { .article-cta .btn { width: auto; min-width: 260px; } }

.article-header { margin: 24px 0 20px; }
.article-title { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; overflow-wrap: anywhere; }
.article-meta { display: inline-flex; align-items: center; gap: .45em; color: var(--muted); margin: 0; font-size: .95rem; }

.prose { font-size: 1.075rem; line-height: 1.75; color: var(--text-soft); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: 1.55rem; margin: 1.8em 0 .5em; color: var(--text); }
.prose h3 { font-size: 1.25rem; margin: 1.6em 0 .4em; color: var(--text); }
.prose h4 { font-size: 1.08rem; margin: 1.4em 0 .4em; color: var(--text); }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.4em 0; padding: .8em 1.2em; border-left: 4px solid var(--accent); background: var(--surface-alt); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--text); }
.prose a { font-weight: 600; }
.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2em 0; }
.prose pre { background: #1f2229; color: #f3f3f3; padding: 1em; border-radius: var(--radius-sm); overflow-x: auto; font-size: .9rem; }
.prose code { font-size: .92em; }
.prose .toc { margin: 1.8em 0; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface-alt); }
.prose .toc summary { cursor: pointer; padding: .8em 1.1em; font-weight: 700; color: var(--text); list-style-position: inside; }
.prose .toc summary:focus-visible { outline-offset: -3px; }
.prose .toc .toc-count { font-weight: 400; color: var(--muted); font-size: .92em; }
.prose .toc ol { margin: 0; padding: 0 1.1em 1em 2.6em; font-size: .98rem; line-height: 1.5; }
.prose .toc li + li { margin-top: .45em; }
.prose .toc a { font-weight: 500; text-decoration: none; }
.prose .toc a:hover { text-decoration: underline; }

.article-video { margin: 32px 0 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; box-shadow: var(--shadow); }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-file { width: 100%; border-radius: var(--radius); background: #000; }

.article-footer { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--border); }
@media (max-width: 479px) { .article-footer .btn { width: 100%; } }

/* ---------------------------------------------------------------- gallery */

.gallery-grid, .gallery-strip { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .gallery-grid, .gallery-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .gallery-grid, .gallery-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.gallery-tile {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  border-radius: 14px; background: #efefec; box-shadow: var(--shadow);
}
.gallery-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-tile:hover img { transform: scale(1.05); }
.gallery-label {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .65)); color: #fff;
  font-size: .85rem; font-weight: 600; line-height: 1.3;
  opacity: 0; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gallery-tile:hover .gallery-label, .gallery-tile:focus-visible .gallery-label { opacity: 1; transform: none; }
@media (hover: none) { .gallery-label { opacity: 1; transform: none; } }

.lightbox { padding: 0; border: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: transparent; }
.lightbox::backdrop { background: rgba(10, 10, 12, .92); }
.lightbox-inner { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 56px 12px 12px; }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: min(1100px, 100%); max-height: 100%; }
.lightbox-stage { position: relative; display: grid; place-items: center; min-height: 120px; }
.lightbox-stage .spinner { position: absolute; }
.lightbox-stage img { max-width: 100%; max-height: calc(100vh - 170px); width: auto; border-radius: 10px; opacity: 0; transition: opacity .2s ease; position: relative; }
.lightbox-stage img.is-loaded { opacity: 1; }
.lightbox-stage.is-loaded .spinner { display: none; }
.lightbox figcaption { color: #f2f2f2; text-align: center; display: flex; flex-direction: column; gap: 4px; max-width: 70ch; font-size: .95rem; }
.lightbox figcaption a { color: #fff; font-weight: 600; display: inline-flex; gap: .3em; align-items: center; justify-content: center; }
.lightbox-btn {
  position: absolute; z-index: 2; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .14); color: #fff;
}
.lightbox-btn:hover { background: rgba(255, 255, 255, .26); }
.lightbox-btn .icon { width: 24px; height: 24px; }
.lightbox-close { top: 8px; right: 8px; }
.lightbox-prev { left: 8px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 8px; top: 50%; transform: translateY(-50%); }
@media (max-width: 639px) {
  .lightbox-prev, .lightbox-next { top: auto; bottom: 12px; transform: none; }
}

.photo-page { padding-top: 20px; padding-bottom: 56px; max-width: 1100px; }
.photo-figure { margin: 0; background: #f2f2ef; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; box-shadow: var(--shadow); }
.photo-figure img { max-height: 80vh; width: auto; max-width: 100%; }
.photo-info { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 22px; }
.photo-info > div { flex: 1 1 320px; min-width: 0; }
.photo-title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; overflow-wrap: anywhere; }
.photo-caption { color: var(--muted); font-size: 1.05rem; }
.photo-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
@media (max-width: 479px) { .photo-info .btn { width: 100%; } }

/* ---------------------------------------------------------------- contact */

.contact-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  text-decoration: none; color: var(--text); transition: box-shadow .2s ease, transform .2s ease;
  min-width: 0;
}
.contact-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--text); }
.contact-card > span:last-child { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.contact-card strong { font-size: 1.05rem; }
.contact-card > span:last-child > span { color: var(--muted); }
.contact-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-text); flex-shrink: 0; }

/* ---------------------------------------------------------------- footer */

.site-footer { background: var(--surface-alt); border-top: 1px solid var(--border); color: var(--text-soft); font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; padding-top: 48px; padding-bottom: 32px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-name { font-weight: 800; font-size: 1.15rem; color: var(--text); margin-bottom: .3em; }
.footer-tagline { color: var(--muted); }
.footer-text { color: var(--muted); max-width: 46ch; }
.footer-heading { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 12px; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list a, .footer-list > li > span { display: inline-flex; gap: 10px; align-items: flex-start; color: var(--text-soft); text-decoration: none; overflow-wrap: anywhere; }
.footer-list a:hover { color: var(--accent-text); }
.footer-list .icon { margin-top: .2em; color: var(--muted); }
.social-links { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.social-links a {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); color: var(--text);
}
.social-links a:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-contrast); }
.social-links-lg a { width: auto; height: 44px; display: inline-flex; gap: 8px; padding: 0 18px; border-radius: 999px; text-decoration: none; font-weight: 600; }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 18px; padding-bottom: 24px; color: var(--muted); font-size: .88rem; }
.footer-bottom p { margin: 0; }

/* ---------------------------------------------------------------- errors */

.error-page { text-align: center; padding-top: 72px; padding-bottom: 88px; }
.error-code { font-size: 4.5rem; font-weight: 900; letter-spacing: -.04em; color: var(--accent-text); margin: 0; line-height: 1; }
.error-page .page-lead { margin-inline: auto; }
.error-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.card-media.is-loaded, .gallery-tile.is-loaded { animation: none; background: #efefec; }
.gallery-tile { background: linear-gradient(110deg, #ededea 30%, #f6f6f4 50%, #ededea 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; }
