/* ==========================================================================
   Lutke Mila — Japanese-minimal editorial style
   sage / oat / clay palette, vertical accent text, red seal stamp
   ========================================================================== */

:root {
  --sage-900: #3c4530;
  --sage-700: #596b43;
  --sage-500: #7d8d61;
  --sage-300: #aab894;
  --sage-100: #e2e8d6;
  --oat-50: #faf7ef;
  --oat-100: #f4eee0;
  --oat-200: #e9dfc8;
  --clay-500: #bd6b43;
  --clay-700: #9c5433;
  --seal-red: #a13323;
  --ink: #2a2620;
  --ink-soft: #5b5648;
  --paper: var(--oat-50);
  --line: rgba(42, 38, 32, 0.14);
  --focus: #2a2620;

  --font-display: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --font-body: "Segoe UI", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;

  --radius: 2px;
  --container: 1180px;
  --ease: cubic-bezier(.22, .68, 0, 1);
}

* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
button { font: inherit; }
input, textarea, select {
  font: inherit;
  accent-color: var(--sage-700);
}
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 1px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

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

/* honeypot field */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ==========================================================================
   Grain overlay
   ========================================================================== */
.grain-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .05;
  z-index: 999;
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.jsr {
  opacity: 0;
  transform: translateY(18px);
  clip-path: inset(0 0 12% 0);
  transition: opacity .7s var(--ease), transform .7s var(--ease), clip-path .7s var(--ease);
}
.reveal.jsr.in-view {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 0 0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal.jsr { transition: none; opacity: 1; transform: none; clip-path: none; }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 239, .92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .9rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.logo svg.mark { width: 36px; height: 36px; flex-shrink: 0; }
.logo svg.word { height: 20px; width: 128px; }

.nav-primary {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2vw, 2.1rem);
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav-primary a {
  position: relative;
  padding-bottom: 3px;
}
.nav-primary a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--clay-500);
  transition: right .3s var(--ease);
}
.nav-primary a:hover::after, .nav-primary a[aria-current="page"]::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-link {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--font-mono);
  font-size: .82rem;
}
.cart-link svg { width: 20px; height: 20px; }
.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px; height: 18px;
  padding: 0 4px;
  background: var(--seal-red);
  color: #fff;
  border-radius: 50%;
  font-size: .68rem;
  transition: transform .25s var(--ease);
}
.cart-count.bump { transform: scale(1.4); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .menu-toggle { display: flex; }
  .nav-primary {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--oat-100);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem clamp(1.5rem, 6vw, 2.5rem);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .35s var(--ease), visibility .35s var(--ease);
    border-left: 1px solid var(--line);
  }
  .nav-primary.open {
    transform: translateX(0);
    visibility: visible;
  }
  .nav-primary a { font-size: 1rem; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border: 1px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  min-height: 44px;
  isolation: isolate;
  transition: color .35s var(--ease);
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  left: -100%;
  width: 100%;
  background: var(--ink);
  z-index: -1;
  transition: left .35s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { left: 0; }
.btn:hover, .btn:focus-visible { color: var(--oat-50); }

.btn--primary {
  background: var(--ink);
  color: var(--oat-50);
}
.btn--primary::before { background: var(--clay-700); }
.btn--primary:hover { color: var(--oat-50); }

.btn--ghost-dark {
  border-color: rgba(250, 247, 239, .55);
  color: var(--oat-50);
}
.btn--ghost-dark::before { background: var(--oat-50); }
.btn--ghost-dark:hover { color: var(--ink); }

.btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn[disabled]::before { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero__accent {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: absolute;
  left: clamp(.5rem, 2vw, 1.5rem);
  top: 6rem;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay-700);
  margin-bottom: 1rem;
}
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 1.02;
  margin-bottom: 1.1rem;
}
.hero__title em { font-style: italic; color: var(--clay-700); }
.hero__lead { max-width: 34ch; color: var(--ink-soft); font-size: 1.08rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }

.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-inline: auto;
}
.hero__circle {
  position: absolute;
  inset: 4%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--sage-100);
  box-shadow: 0 30px 60px -20px rgba(42, 38, 32, .35);
}
.hero__circle img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: sepia(.12) saturate(1.05);
  clip-path: url(#heroClip);
}
.hero-clip-circle {
  r: .5;
  animation: heroClipReveal 1.4s var(--ease) both;
}
@keyframes heroClipReveal {
  from { r: 0; }
  to { r: .5; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-clip-circle { animation: none; r: .5; }
}
.hero__ring {
  position: absolute;
  inset: -4%;
  width: 108%; height: 108%;
  animation: spin 70s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .hero__ring { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__seal {
  position: absolute;
  right: -6%;
  bottom: -4%;
  width: clamp(72px, 12vw, 108px);
  height: clamp(72px, 12vw, 108px);
  color: var(--seal-red);
  filter: drop-shadow(0 6px 10px rgba(161, 51, 35, .25));
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__visual { order: -1; max-width: 400px; }
  .hero__accent { display: none; }
}

/* ==========================================================================
   Section dividers / ornament
   ========================================================================== */
.divider {
  width: 100%;
  height: 18px;
  color: var(--sage-500);
  margin-block: 0;
  display: block;
}
.seal-red { color: var(--seal-red); }
.ornament-row { width: clamp(160px, 30vw, 260px); height: 18px; color: var(--sage-500); opacity: .8; }
.needle-doodle { width: 56px; height: 56px; color: var(--clay-700); }
.section { padding-block: clamp(3rem, 6vw, 5.5rem); }
.section--tint { background: var(--oat-100); }
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
  flex-wrap: wrap;
}
.section__eyebrow {
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay-700);
  display: block;
  margin-bottom: .4rem;
}
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 0; }

/* ==========================================================================
   Mila Mjera — signature feature
   ========================================================================== */
.mjera {
  position: relative;
  background: var(--sage-900);
  color: var(--oat-50);
  border-radius: var(--radius);
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.mjera__badge {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: clamp(64px, 9vw, 92px);
  height: clamp(64px, 9vw, 92px);
  color: var(--clay-500);
}
.mjera__top { max-width: 54ch; }
.mjera__top .section__eyebrow { color: var(--clay-500); }
.mjera__top h2 { color: var(--oat-50); }
.mjera__top p { color: rgba(250, 247, 239, .78); }
.mjera__control {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 1.8rem;
}
.mjera__control label {
  font-family: var(--font-mono);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mjera__slider { flex: 1 1 260px; }
.mjera__slider input[type="range"] {
  width: 100%;
  accent-color: var(--clay-500);
}
.mjera__value {
  font-family: var(--font-display);
  font-size: 2rem;
  min-width: 5ch;
}
.mjera__results {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.mjera__chip {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .9rem .5rem .5rem;
  background: rgba(250, 247, 239, .08);
  border: 1px solid rgba(250, 247, 239, .25);
  border-radius: 999px;
  font-size: .85rem;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.mjera__chip:hover { background: rgba(250, 247, 239, .18); transform: translateY(-2px); }
.mjera__chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.mjera__empty { color: rgba(250, 247, 239, .65); font-size: .9rem; }

/* ==========================================================================
   Product grid / cards
   ========================================================================== */
.filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filters button {
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--oat-50); border-color: var(--ink); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.card {
  position: relative;
  display: flex;
  flex-direction: column;
}
.card__frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--oat-200);
  border-radius: var(--radius);
}
.card__frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.card:hover .card__frame img { transform: scale(1.06); }
.card__fits {
  position: absolute;
  top: .6rem; left: .6rem;
  background: var(--seal-red);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .3rem .55rem;
  border-radius: 999px;
}
.card__body { padding-top: .9rem; }
.card__cat {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.card__name { font-size: 1.15rem; margin: .25rem 0 .35rem; }
.card__name a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-size: 0% 1px;
  background-repeat: no-repeat;
  transition: background-size .3s var(--ease);
}
.card__name a:hover { background-size: 100% 1px; }
.card__price { font-family: var(--font-mono); color: var(--clay-700); }
.card__add {
  margin-top: .8rem;
  align-self: flex-start;
}

.strip-scroll {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .5rem;
  margin: 0 calc(-1 * clamp(1.25rem, 4vw, 3rem));
  padding-inline: clamp(1.25rem, 4vw, 3rem);
}
.strip-scroll .card { min-width: 230px; scroll-snap-align: start; }
@media (min-width: 761px) {
  .strip-scroll { overflow: visible; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding-inline: 0; }
}

/* ==========================================================================
   Product detail
   ========================================================================== */
.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
}
.product-detail__media {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--oat-200);
  position: relative;
}
.product-detail__media img { width: 100%; height: 100%; object-fit: cover; }
.product-detail__price { font-family: var(--font-mono); font-size: 1.5rem; color: var(--clay-700); margin-bottom: 1.2rem; }
.qty-row { display: flex; align-items: center; gap: 1rem; margin: 1.4rem 0; }
.qty-row input[type="number"] {
  width: 4.5rem;
  padding: .6rem;
  border: 1px solid var(--line);
  background: var(--oat-50);
  text-align: center;
}
.back-link { font-family: var(--font-mono); font-size: .82rem; display: inline-flex; gap: .4rem; margin-bottom: 1.5rem; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }

/* ==========================================================================
   Cart / checkout
   ========================================================================== */
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 2rem; }
.cart-table th, .cart-table td { text-align: left; padding: .9rem .6rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cart-table th { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.cart-item__name { display: flex; align-items: center; gap: .8rem; }
.cart-item__name img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--radius); }
.cart-table input[type="number"] { width: 3.6rem; padding: .4rem; border: 1px solid var(--line); text-align: center; }
.remove-btn { background: none; border: none; color: var(--seal-red); cursor: pointer; font-family: var(--font-mono); font-size: .78rem; text-decoration: underline; }
.cart-summary { display: flex; justify-content: flex-end; }
.cart-summary__box { min-width: 260px; text-align: right; }
.cart-summary__total { font-family: var(--font-display); font-size: 1.6rem; margin: .5rem 0 1.2rem; }
.cart-empty { padding: 3rem 0; text-align: center; color: var(--ink-soft); }

.checkout {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}
.payment-note {
  background: var(--oat-100);
  border: 1px solid var(--line);
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  margin-bottom: 2rem;
  font-size: .95rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */
.field { margin-bottom: 1.3rem; display: flex; flex-direction: column; gap: .4rem; }
.field label { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  padding: .8rem .9rem;
  border: 1px solid var(--line);
  background: var(--oat-50);
  border-radius: var(--radius);
  min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field--row { flex-direction: row; align-items: center; gap: .6rem; }
.field--row label { text-transform: none; font-family: var(--font-body); font-size: .92rem; }
.field-error { color: var(--seal-red); font-size: .82rem; min-height: 1.1em; }
.form-status { margin-top: 1rem; font-size: .92rem; }
.form-status[data-state="ok"] { color: var(--sage-700); }
.form-status[data-state="error"] { color: var(--seal-red); }

.newsletter-form { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1 1 200px;
  padding: .7rem .9rem;
  border: 1px solid rgba(250, 247, 239, .35);
  background: transparent;
  color: inherit;
  border-radius: var(--radius);
  min-height: 44px;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(250, 247, 239, .55); }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer;
  padding: 1.2rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { transition: transform .25s var(--ease); flex-shrink: 0; }
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item p { padding-bottom: 1.2rem; color: var(--ink-soft); max-width: 70ch; }

/* ==========================================================================
   Legal pages
   ========================================================================== */
.legal { max-width: 72ch; }
.legal h2 { font-size: 1.3rem; margin-top: 2rem; }
.legal p, .legal li { color: var(--ink-soft); }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.legal li { margin-bottom: .4em; }

/* ==========================================================================
   About page
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.about-grid__media { aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
.about-grid__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; } }

.process-list { max-width: 64ch; }
.process-item {
  display: flex;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  padding-block: clamp(1.4rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
}
.process-item:last-child { border-bottom: 1px solid var(--line); }
.process-item:nth-child(2) { padding-left: clamp(1.5rem, 5vw, 4rem); }
.process-item:nth-child(3) { padding-left: clamp(3rem, 9vw, 7rem); }
.process-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  color: var(--clay-500);
  line-height: 1;
  flex-shrink: 0;
  min-width: 2.4ch;
}
.process-item h3 { margin-bottom: .4rem; }
.process-item p { margin: 0; max-width: 48ch; }

/* ==========================================================================
   404
   ========================================================================== */
.notfound { text-align: center; padding-block: clamp(4rem, 10vw, 8rem); }
.notfound .hero__title { font-size: clamp(3rem, 10vw, 7rem); }

/* ==========================================================================
   Cookie banner
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 200;
  max-width: 560px;
  margin-inline: auto;
  background: var(--ink);
  color: var(--oat-50);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .4);
  display: none;
  gap: 1rem;
  flex-direction: column;
}
.cookie-banner.show { display: flex; }
.cookie-banner p { margin: 0; font-size: .9rem; color: rgba(250, 247, 239, .85); }
.cookie-banner__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--sage-900);
  color: var(--oat-50);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.site-footer a { color: inherit; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250, 247, 239, .18);
}
.footer-brand p { color: rgba(250, 247, 239, .72); max-width: 32ch; margin-top: 1rem; }
.footer-col h3 {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(250, 247, 239, .6);
  margin-bottom: 1rem;
}
.footer-col li { margin-bottom: .55rem; }
.footer-col a:hover { text-decoration: underline; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  font-size: .82rem;
  color: rgba(250, 247, 239, .55);
}
.footer-bottom p { margin: 0; }
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Icon sprite usage
   ========================================================================== */
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; }
