@import url("https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=DM+Sans:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap");

/* ==========================================================================
   Miklos Made — design tokens
   ========================================================================== */
:root {
  --background: 38 32% 94%;
  --foreground: 158 18% 17%;
  --border: 35 20% 82%;
  --input: 35 20% 78%;
  --card: 40 35% 97%;
  --primary: 13 63% 49%;
  --primary-hover: 13 63% 41%;
  --primary-foreground: 38 32% 96%;
  --secondary: 158 30% 25%;
  --secondary-foreground: 38 32% 94%;
  --muted: 35 20% 87%;
  --muted-foreground: 158 10% 39%;
  --accent: 43 78% 55%;
  --accent-hover: 43 78% 48%;
  --accent-foreground: 158 18% 17%;
  --destructive: 2 66% 46%;

  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", monospace;
}

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

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

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }

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

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

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid hsl(var(--primary));
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  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: 1rem;
  top: -100%;
  z-index: 60;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: .7rem 1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: top .2s;
}
.skip-link:focus { top: 1rem; }

/* ==========================================================================
   Shell + layout helpers
   ========================================================================== */
.site-shell {
  min-height: 100dvh;
  overflow: clip;
  display: flex;
  flex-direction: column;
}

.site-shell > main { flex: 1 0 auto; }

/* Fine paper grain across the whole page */
.grain::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.container-wide {
  width: min(100% - 2rem, 1160px);
  margin-inline: auto;
}

@media (min-width: 640px) {
  .container-wide { width: min(100% - 2.5rem, 1160px); }
}

/* ==========================================================================
   Typography
   ========================================================================== */
.display-xl {
  font: 400 clamp(3.7rem, 18vw, 6.5rem)/.84 var(--font-serif);
  letter-spacing: -.04em;
}
.display-lg {
  font: 400 clamp(3rem, 7vw, 6.7rem)/.88 var(--font-serif);
  letter-spacing: -.035em;
}
.display-md {
  font: 400 clamp(2.65rem, 5vw, 5rem)/.92 var(--font-serif);
  letter-spacing: -.03em;
}

@media (min-width: 768px) {
  .display-xl { font-size: clamp(4rem, 10.5vw, 9.4rem); }
}

.eyebrow {
  font: 500 .72rem/1 var(--font-mono);
  letter-spacing: .13em;
  text-transform: uppercase;
  color: hsl(var(--primary));
}
.eyebrow-accent { color: hsl(var(--accent)); }

.font-display { font-family: var(--font-serif); }

.lead {
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 1.08;
}
@media (min-width: 768px) {
  .lead { font-size: 2.25rem; }
}

.body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}

/* ==========================================================================
   Buttons + links
   ========================================================================== */
.button-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  padding: .9rem 1.2rem;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  transition: transform .25s, background-color .25s;
}
.button-main:hover {
  background: hsl(var(--primary-hover));
  transform: translateY(-2px);
}
.button-main svg { flex: none; }

.button-accent {
  background: hsl(var(--accent));
  color: hsl(var(--secondary));
}
.button-accent:hover { background: hsl(var(--accent-hover)); }

.button-accent-dark {
  background: hsl(var(--accent));
  color: hsl(var(--foreground));
}
.button-accent-dark:hover { background: hsl(var(--accent-hover)); }

.button-sm { padding: .75rem 1.25rem; }

.button-quiet {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .82rem 0;
  border: 0;
  border-bottom: 1px solid hsl(var(--foreground));
  color: hsl(var(--foreground));
  background: none;
  font-size: .77rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: gap .25s;
}
.button-quiet:hover { gap: .9rem; }

.card-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: gap .25s;
}

.nav-link {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: hsl(var(--foreground));
  transition: color .2s;
}
.nav-link:hover,
.nav-link.active { color: hsl(var(--primary)); }

/* ==========================================================================
   Images
   ========================================================================== */
.image-frame {
  position: relative;
  overflow: hidden;
  background: hsl(var(--muted));
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, .61, .36, 1);
}
.image-frame:hover img { transform: scale(1.035); }

/* ==========================================================================
   Entrance animation
   ========================================================================== */
@keyframes rise-in {
  0%   { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

.reveal { animation: rise-in .8s cubic-bezier(.22, .61, .36, 1) both; }
.delay-1 { animation-delay: .1s; }
.delay-2 { animation-delay: .2s; }
.delay-3 { animation-delay: .3s; }
.delay-4 { animation-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background) / .94);
  backdrop-filter: blur(4px);
}

.header-inner {
  display: flex;
  height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: .75rem; }

.brand-mark {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex: none;
  align-items: center;
  justify-content: center;
  background: hsl(var(--secondary));
  color: hsl(var(--accent));
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
}

.brand-text { line-height: 1; }
.brand-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.04em;
}
.brand-tagline {
  display: block;
  margin-top: .25rem;
  font-family: var(--font-mono);
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.main-nav { display: none; align-items: center; gap: 2.25rem; }
.main-nav .button-main { margin-left: .75rem; }

.menu-toggle {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding: 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 1.25rem; }
.mobile-nav .nav-link { font-size: 1rem; }
.mobile-nav .button-main { margin-top: .5rem; width: 100%; }

@media (min-width: 768px) {
  .main-nav { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav,
  .mobile-nav.is-open { display: none; }
}

/* ==========================================================================
   Home — hero
   ========================================================================== */
.hero {
  position: relative;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: end;
  min-height: calc(100dvh - 76px);
  padding: 5rem 0 4rem;
}

.hero-copy { position: relative; z-index: 10; }
.hero-copy h1 { margin-top: 1.75rem; max-width: 760px; }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.hero-call {
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: hsl(var(--secondary-foreground) / .72);
  transition: color .2s;
}
.hero-call:hover { color: hsl(var(--accent)); }

.hero-media {
  position: relative;
  width: 100%;
  max-width: 450px;
  margin-left: auto;
}

.hero-frame {
  aspect-ratio: .83;
  transform: rotate(2deg);
  border: 10px solid hsl(var(--secondary-foreground) / .08);
  box-shadow: 0 25px 50px -12px rgb(0 0 0 / .35);
}

.hero-badge {
  position: absolute;
  bottom: -1.5rem;
  left: -1.25rem;
  display: flex;
  height: 6rem;
  width: 6rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  transform: rotate(-6deg);
  background: hsl(var(--accent));
  color: hsl(var(--secondary));
  font-size: .63rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 0 1.25rem;
  font-size: .65rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: hsl(var(--secondary-foreground) / .46);
}

@media (min-width: 640px) {
  .hero-actions { flex-direction: row; align-items: center; }
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr .9fr;
    padding: 6rem 0 5rem;
  }
}

/* ==========================================================================
   Home — approach
   ========================================================================== */
.approach {
  display: grid;
  gap: 2.5rem;
  padding: 6rem 0;
}
.approach h2 { margin-top: 1.25rem; max-width: 28rem; }
.approach-body { max-width: 36rem; }
.approach-body p + p { margin-top: 1.75rem; }
.approach-body .button-quiet { margin-top: 2rem; }

@media (min-width: 768px) {
  .approach {
    grid-template-columns: .78fr 1.22fr;
    padding: 8rem 0;
  }
  .approach-body { padding-top: .75rem; }
}

/* ==========================================================================
   Home — services
   ========================================================================== */
.services {
  background: hsl(var(--muted));
  padding: 5rem 0;
}

.services-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}
.services-head h2 { margin-top: 1.25rem; }
.services-head .button-quiet { align-self: flex-start; }

.service-grid {
  display: grid;
  gap: 1px;
  margin-top: 3.5rem;
  background: hsl(var(--border));
}

.service-card {
  background: hsl(var(--background));
  padding: 1.5rem;
}
.service-card:hover .card-link { gap: .75rem; }

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.service-number {
  font-family: var(--font-mono);
  font-size: .75rem;
  line-height: 1rem;
  color: hsl(var(--primary));
}
.service-card .image-frame {
  margin-top: 2.5rem;
  aspect-ratio: 1.5;
}
.service-card h3 {
  margin-top: 1.75rem;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 2.5rem;
}
.service-card p {
  margin-top: .75rem;
  max-width: 20rem;
  font-size: .875rem;
  line-height: 1.5rem;
  color: hsl(var(--muted-foreground));
}
.service-card .card-link { margin-top: 2rem; }

@media (min-width: 768px) {
  .services { padding: 7rem 0; }
  .services-head { flex-direction: row; align-items: flex-end; }
  .services-head .button-quiet { align-self: auto; }
  .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .service-card { padding: 2rem; }
}

/* ==========================================================================
   Home — values
   ========================================================================== */
.values {
  display: grid;
  gap: 3.5rem;
  padding: 6rem 0;
}
.values-media { aspect-ratio: .9; max-width: 28rem; }
.values h2 { margin-top: 1.25rem; max-width: 32rem; }

.value-list {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.value-list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .875rem;
  line-height: 1.25rem;
}
.value-check {
  display: flex;
  height: 1.5rem;
  width: 1.5rem;
  flex: none;
  margin-top: -2px;
  align-items: center;
  justify-content: center;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}
.values .button-main { margin-top: 2.5rem; }

@media (min-width: 768px) {
  .values {
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    padding: 8rem 0;
  }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 6rem 1.25rem;
  text-align: center;
}
.cta-inner { max-width: 64rem; margin-inline: auto; }
.cta-inner h2 { margin-top: 1.5rem; }
.cta-inner p.cta-lede {
  max-width: 28rem;
  margin: 1.75rem auto 0;
  font-size: .875rem;
  line-height: 1.5rem;
  color: hsl(var(--primary-foreground) / .78);
}
.cta-inner .button-main { margin-top: 2.25rem; }

@media (min-width: 768px) {
  .cta-band { padding: 8rem 1.25rem; }
}

/* ==========================================================================
   Services page
   ========================================================================== */
.page-hero {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 6rem 0;
}
.page-hero h1 { margin-top: 1.75rem; max-width: 48rem; }
.page-hero .lede {
  margin-top: 2rem;
  max-width: 32rem;
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--secondary-foreground) / .7);
}

@media (min-width: 768px) {
  .page-hero { padding: 8rem 0; }
}

.service-details { padding: 5rem 0; }
.service-details > * + * { margin-top: 5rem; }

.service-detail {
  display: grid;
  gap: 2.5rem;
}
.service-detail .image-frame { aspect-ratio: 1.15; }
.service-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid hsl(var(--border));
  padding-bottom: 1rem;
}
.service-detail h2 { margin-top: 1.75rem; }
.service-tagline {
  margin-top: 1rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-style: italic;
}
.service-points {
  display: grid;
  gap: .75rem;
  margin-top: 1.75rem;
}
.service-points li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}
.service-points svg { flex: none; color: hsl(var(--primary)); }
.service-detail .button-quiet { margin-top: 2.25rem; }

@media (min-width: 768px) {
  .service-details { padding: 7rem 0; }
  .service-details > * + * { margin-top: 7rem; }
  .service-detail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 5rem;
  }
  .service-detail.is-flipped > *:first-child { order: 2; }
}

.services-outro {
  background: hsl(var(--muted));
  padding: 5rem 0;
}
.services-outro .container-wide {
  display: grid;
  gap: 2rem;
}
.services-outro h2 { max-width: 36rem; }
.services-outro .button-main { margin-top: 2rem; }

@media (min-width: 768px) {
  .services-outro { padding: 6rem 0; }
  .services-outro .container-wide { grid-template-columns: 1fr 1.5fr; }
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-hero .container-wide {
  display: grid;
  gap: 3rem;
}
.contact-hero h1 { margin-top: 1.75rem; }
.contact-hero .lede {
  margin-top: 0;
  max-width: 24rem;
  font-size: .875rem;
  line-height: 1.5rem;
  color: hsl(var(--secondary-foreground) / .7);
}

@media (min-width: 768px) {
  .contact-hero .container-wide {
    grid-template-columns: 1.1fr .9fr;
    align-items: end;
  }
}

.contact-body {
  display: grid;
  gap: 4rem;
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .contact-body {
    grid-template-columns: .75fr 1.25fr;
    padding: 7rem 0;
  }
}

.contact-methods {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  flex: none;
  align-items: center;
  justify-content: center;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}
.contact-label {
  display: block;
  font-size: .75rem;
  line-height: 1rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}
.contact-value {
  display: block;
  margin-top: .25rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 2rem;
  transition: color .2s;
}
a.contact-method:hover .contact-value { color: hsl(var(--primary)); }
.contact-sub {
  display: block;
  margin-top: .25rem;
  font-size: .875rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}
.contact-note {
  margin-top: 3rem;
  border-left: 2px solid hsl(var(--accent));
  padding-left: 1.25rem;
  font-size: .875rem;
  line-height: 1.5rem;
  color: hsl(var(--muted-foreground));
}

.form-head { margin-bottom: 2rem; }
.form-head h2 { margin-top: 1rem; }

.enquiry-form { display: grid; gap: 1.5rem; }

.field {
  display: grid;
  gap: .5rem;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 600;
}
.field-row {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid hsl(var(--input));
  border-radius: 0;
  background: transparent;
  font-size: .875rem;
  font-weight: 400;
  outline: none;
}
.field input,
.field select {
  height: 3rem;
  padding: 0 .25rem;
}
.field textarea {
  resize: vertical;
  padding: .75rem .25rem;
}
.field textarea::placeholder { color: hsl(var(--muted-foreground) / .7); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: hsl(var(--primary)); }
.field.has-error input,
.field.has-error textarea { border-color: hsl(var(--destructive)); }

.field-error {
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 400;
  color: hsl(var(--destructive));
}
.field-error:empty { display: none; }

.enquiry-form .button-main {
  margin-top: .5rem;
  width: 100%;
}
@media (min-width: 640px) {
  .enquiry-form .button-main { width: fit-content; }
}

.form-note {
  font-size: .75rem;
  line-height: 1.25rem;
  color: hsl(var(--muted-foreground));
}

.form-success[hidden] { display: none; }
.form-success .success-mark {
  display: flex;
  height: 3rem;
  width: 3rem;
  align-items: center;
  justify-content: center;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
}
.form-success h3 {
  margin-top: 1.75rem;
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  line-height: 2.5rem;
}
.form-success p {
  margin-top: .75rem;
  max-width: 28rem;
  line-height: 1.75;
  color: hsl(var(--muted-foreground));
}
.form-success p a {
  color: hsl(var(--primary));
  text-decoration: underline;
}
.form-success .button-quiet { margin-top: 1.75rem; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal-hero {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  padding: 5rem 0;
}
.legal-hero h1 { margin-top: 1.75rem; max-width: 48rem; }
.legal-hero .lede {
  margin-top: 1.75rem;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--secondary-foreground) / .7);
}
.legal-updated {
  margin-top: 2.25rem;
  font-family: var(--font-mono);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: hsl(var(--secondary-foreground) / .45);
}

.legal-body {
  display: grid;
  gap: 3rem;
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .legal-hero { padding: 7rem 0; }
  .legal-body {
    grid-template-columns: .5fr 1.5fr;
    padding: 6rem 0;
  }
}

.legal-prose { max-width: 42rem; }
.legal-prose h2 {
  margin: 2.4rem 0 .8rem;
  font: 400 2rem/1 var(--font-serif);
}
.legal-prose p,
.legal-prose li {
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
}
.legal-prose ul {
  padding-left: 1.2rem;
  list-style: outside;
}
.legal-prose a {
  color: hsl(var(--primary));
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ==========================================================================
   404
   ========================================================================== */
.not-found {
  display: flex;
  min-height: 65dvh;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 0;
}
.not-found h1 { margin-top: 1.75rem; max-width: 42rem; }
.not-found .button-quiet {
  margin-top: 2.5rem;
  align-self: flex-start;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}
.footer-inner { padding: 4rem 0; }

.footer-grid {
  display: grid;
  gap: 3rem;
}

.footer-tagline {
  margin-top: 1.75rem;
  max-width: 24rem;
  font-family: var(--font-serif);
  font-size: 1.875rem;
  line-height: .98;
}
.footer-blurb {
  margin-top: 1.25rem;
  max-width: 20rem;
  font-size: .875rem;
  line-height: 1.5rem;
  color: hsl(var(--secondary-foreground) / .63);
}

.footer-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .75rem;
  margin-top: 1.25rem;
  font-size: .875rem;
  line-height: 1.25rem;
}
.footer-list a,
.footer-legal a { transition: color .2s; }
.footer-list a:hover,
.footer-legal a:hover { color: hsl(var(--accent)); }

.footer-list .with-icon {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-address {
  display: block;
  margin-top: .5rem;
  max-width: 190px;
  line-height: 1.25rem;
  color: hsl(var(--secondary-foreground) / .63);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 4rem;
  border-top: 1px solid hsl(var(--secondary-foreground) / .16);
  padding-top: 1.25rem;
  font-size: .68rem;
  color: hsl(var(--secondary-foreground) / .54);
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
}

@media (min-width: 768px) {
  .footer-inner { padding: 5rem 0; }
  .footer-grid { grid-template-columns: 1.25fr .75fr .75fr; }
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
