/* =========================================================================
   Mckinzy Family Holdings LLC — mckinzy.org
   Warm editorial take on the Nomad Life / Viridian Solstice palette.
   Fraunces for display, Inter for text. Soft edges, generous air,
   quiet motion (scroll reveals + page fades).
   ========================================================================= */

/* -------------------------------------------------------------------------
   SKINS
   The whole site is painted from the tokens below. A skin is just a set of
   token overrides on :root[data-skin="…"], so it retheme's every page at
   once. Switch skins with the footer control (persists per visitor), or set
   a site-wide default with  <html data-skin="viridian">  on every page.
   Skin ids: (default) · viridian · collective · macblock · genesis
   ------------------------------------------------------------------------- */

:root {
  /* --- palette (skinnable) --- */
  --ink: #171A1F;              /* header / hero / footer ground */
  --ink-soft: #21252C;
  --header-bg: rgba(23, 26, 31, 0.92);
  --parchment: #F6F2E9;        /* page background */
  --paper: #FBF9F3;            /* cards, form, placeholders */
  --field-bg: #FFFFFF;         /* inputs */
  --white: #FFFFFF;
  --heading: #26292F;          /* h1–h3 */
  --charcoal: #2A2D33;         /* body text */
  --text-soft: #55575C;        /* secondary text */
  --slate: #83868D;            /* muted text, captions */
  --slate-soft: #A6A399;       /* secondary text on dark ground */
  --on-dark: #F6F2E9;          /* primary text/marks on the ink ground (all skins) */
  --brass: #B8863B;            /* primary accent */
  --brass-bright: #CF9F4C;
  --teal: #2F6F62;             /* secondary accent */
  --teal-text: #235349;
  --border: #E7E3D7;
  --border-strong: #DDD6C4;
  --border-dark: rgba(246, 242, 233, 0.14);
  --danger: #BF4A31;

  /* --- not skinned --- */
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1080px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(23, 26, 31, 0.04), 0 4px 16px rgba(23, 26, 31, 0.05);
  --shadow-md: 0 2px 6px rgba(23, 26, 31, 0.06), 0 18px 42px rgba(23, 26, 31, 0.10);
}

/* Viridian Solstice — the brand universe. Verdant, deep-forest, gold. */
:root[data-skin="viridian"] {
  --ink: #13201A;
  --ink-soft: #1C2D25;
  --header-bg: rgba(19, 32, 26, 0.92);
  --parchment: #EEF1E8;
  --paper: #F5F7F0;
  --field-bg: #FFFFFF;
  --heading: #1F2C26;
  --charcoal: #26332C;
  --text-soft: #47534B;
  --slate: #78817A;
  --slate-soft: #9FB0A2;
  --on-dark: #EEF1E8;
  --brass: #C69A46;
  --brass-bright: #DDB25C;
  --teal: #2E7D5B;
  --teal-text: #1F5A3F;
  --border: #DEE3D4;
  --border-strong: #CBD3BD;
  --border-dark: rgba(238, 241, 232, 0.16);
}

/* Nomad Life Collective — the gallery's own palette, 1:1. */
:root[data-skin="collective"] {
  --ink: #16181D;
  --ink-soft: #24262B;
  --header-bg: rgba(22, 24, 29, 0.92);
  --parchment: #F5F1E8;
  --paper: #FBF8F0;
  --field-bg: #FFFFFF;
  --heading: #24262B;
  --charcoal: #24262B;
  --text-soft: #55575C;
  --slate: #8A8D93;
  --slate-soft: #A7A9AE;
  --on-dark: #F5F1E8;
  --brass: #B8863B;
  --brass-bright: #C99A45;
  --teal: #2F6F62;
  --teal-text: #1D4A41;
  --border: #E3E1D8;
  --border-strong: #D3D1C7;
  --border-dark: rgba(245, 241, 232, 0.16);
}

/* MacBlock — utility / on-chain. Graphite dark, electric teal, bright gold. */
:root[data-skin="macblock"] {
  --ink: #0A0C10;
  --ink-soft: #12161C;
  --header-bg: rgba(10, 12, 16, 0.9);
  --parchment: #0E1116;
  --paper: #161B22;
  --field-bg: #1B212B;
  --white: #1B212B;
  --heading: #F2F4F7;
  --charcoal: #E4E8EE;
  --text-soft: #AEB6C2;
  --slate: #7D8794;
  --slate-soft: #9AA3AF;
  --on-dark: #EDEFF3;
  --brass: #E4B457;
  --brass-bright: #F3C877;
  --teal: #35C7B0;
  --teal-text: #79E2D2;
  --border: #262D38;
  --border-strong: #323C4A;
  --border-dark: rgba(228, 232, 238, 0.12);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.4), 0 18px 42px rgba(0, 0, 0, 0.5);
}

/* Genesis — the post-apocalyptic lore. Ash, bone, oxidized rust. */
:root[data-skin="genesis"] {
  --ink: #1A1613;
  --ink-soft: #26201B;
  --header-bg: rgba(26, 22, 19, 0.92);
  --parchment: #EDE7DD;
  --paper: #F4EFE6;
  --field-bg: #FBF7EF;
  --heading: #2B2521;
  --charcoal: #322B26;
  --text-soft: #574D45;
  --slate: #857A6E;
  --slate-soft: #A99C8C;
  --on-dark: #EDE7DD;
  --brass: #B4652E;
  --brass-bright: #CE7C3D;
  --teal: #5E6B57;
  --teal-text: #464F40;
  --border: #DED6C6;
  --border-strong: #CBC0AB;
  --border-dark: rgba(237, 231, 221, 0.15);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background-color: var(--parchment);
  color: var(--charcoal);
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Ease the repaint when a skin is switched */
html.skin-anim body,
html.skin-anim .site-header,
html.skin-anim .hero,
html.skin-anim .card,
html.skin-anim .callout,
html.skin-anim .form-card,
html.skin-anim .ph,
html.skin-anim .site-footer {
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

/* ---- Page transition (fade + drift) -------------------------------- */

html:not(.no-js) body {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
html:not(.no-js) body.is-ready { opacity: 1; transform: none; }
html:not(.no-js) body.is-leaving {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

/* ---- Scroll reveal ------------------------------------------------- */

html:not(.no-js) .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
html:not(.no-js) .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html body,
  html body.is-leaving,
  html .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ---- Layout ------------------------------------------------------- */

main { flex: 1 0 auto; width: 100%; }

.wrap {
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px;
}
.wrap-narrow { max-width: 760px; }

.section { padding: 84px 0; }
.section-tight { padding: 48px 0; }

a { color: var(--teal-text); text-underline-offset: 3px; }

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

/* ---- Type ------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.14;
  color: var(--heading);
  letter-spacing: -0.01em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background-color: var(--brass);
  opacity: 0.7;
}

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.35rem); margin-bottom: 16px; }

.lead {
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 58ch;
}

.muted { color: var(--slate); }

.rule {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
  margin: 56px 0;
}

/* ---- Header ---------------------------------------------------- */

.site-header {
  background-color: var(--header-bg);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border-dark);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--on-dark);
}
.brand-mark {
  height: 38px;
  width: auto;
  border-radius: 7px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}
.brand-name {
  font-family: var(--display);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand-name .thin { color: var(--slate-soft); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--on-dark);
  text-decoration: none;
  opacity: 0.72;
  padding: 6px 0;
  position: relative;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background-color: var(--brass-bright);
  transition: right 0.3s var(--ease);
}
.site-nav a:hover,
.site-nav a:focus-visible { opacity: 1; }
.site-nav a:hover::after,
.site-nav a:focus-visible::after { right: 0; }
.site-nav a[aria-current="page"] { opacity: 1; color: var(--brass-bright); }
.site-nav a[aria-current="page"]::after { right: 0; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s var(--ease);
}
.nav-toggle:hover, .nav-toggle:focus-visible { border-color: var(--brass); }
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 17px; height: 2px;
  border-radius: 2px;
  background-color: var(--on-dark);
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background-color: var(--ink);
    border-bottom: 1px solid var(--border-dark);
    padding: 6px 0 10px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 32px; opacity: 0.9; }
  .site-nav a::after { display: none; }
}

/* ---- Hero -------------------------------------------------------- */

.hero {
  background-color: var(--ink);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -30%; left: -10%;
  width: 70%; height: 150%;
  background: radial-gradient(closest-side,
    color-mix(in srgb, var(--brass) 22%, transparent), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -20%; bottom: -40%;
  width: 55%; height: 120%;
  background: radial-gradient(closest-side,
    color-mix(in srgb, var(--teal) 20%, transparent), transparent 70%);
  pointer-events: none;
}
.hero .wrap { position: relative; padding-top: 96px; padding-bottom: 104px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  color: var(--on-dark);
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  font-weight: 400;
  max-width: 15ch;
  margin-bottom: 22px;
}
.hero p {
  color: var(--slate-soft);
  font-size: 1.15rem;
  line-height: 1.62;
  max-width: 46ch;
  margin-bottom: 34px;
}
.hero-single h1 { max-width: 20ch; }
.hero-single p { max-width: 54ch; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero .wrap { padding-top: 72px; padding-bottom: 80px; }
}

/* ---- Buttons -------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 13px 24px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background-color: var(--brass);
  color: #211a0e;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--brass) 32%, transparent);
}
.btn-primary:hover {
  background-color: var(--brass-bright);
  box-shadow: 0 12px 26px color-mix(in srgb, var(--brass) 40%, transparent);
}
:root[data-skin="genesis"] .btn-primary { color: #FCF4EA; }

.btn-ghost { background: transparent; color: var(--on-dark); border-color: var(--border-dark); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-bright); }

.btn-dark { background: transparent; color: var(--charcoal); border-color: var(--border); }
.btn-dark:hover { border-color: var(--brass); color: var(--teal-text); box-shadow: var(--shadow-sm); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Cards / grid ----------------------------------------------- */

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background-color: var(--paper);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px 28px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}
.card-index {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--brass);
  display: block;
  margin-bottom: 14px;
}
.card h3 { font-size: 1.18rem; margin-bottom: 9px; }
.card p { font-size: 0.98rem; line-height: 1.62; color: var(--text-soft); }

/* ---- Callout --------------------------------------------------- */

.callout {
  background-color: var(--ink);
  color: var(--on-dark);
  border-radius: 18px;
  padding: 40px 38px;
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side at 85% 20%,
    color-mix(in srgb, var(--brass) 18%, transparent), transparent 60%);
  pointer-events: none;
}
.callout .eyebrow { color: var(--brass-bright); }
.callout h3 { color: var(--on-dark); font-size: 1.4rem; margin-bottom: 12px; position: relative; }
.callout p { color: var(--slate-soft); font-size: 1.02rem; max-width: 62ch; position: relative; }

/* ---- Definition list ------------------------------------------ */

.deflist { margin-top: 10px; }
.deflist > div {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--border);
}
.deflist > div:last-child { border-bottom: 1px solid var(--border); }
.deflist dt {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--teal-text);
}
.deflist dd { font-size: 1.02rem; line-height: 1.62; color: var(--text-soft); }

@media (max-width: 640px) {
  .deflist > div { grid-template-columns: 1fr; gap: 8px; }
}

/* ---- Prose --------------------------------------------------- */

.prose { max-width: 66ch; }
.prose h2 { font-size: 1.6rem; margin: 44px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 18px; color: var(--text-soft); }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 10px; color: var(--text-soft); }
.prose strong { color: var(--charcoal); font-weight: 600; }

.principles { list-style: none; margin: 0; display: grid; gap: 14px; }
.principles li {
  font-family: var(--display);
  font-size: 1.12rem;
  color: var(--charcoal);
  padding-left: 26px;
  position: relative;
}
.principles li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 9px; height: 9px;
  border-radius: 50%;
  background-color: var(--brass);
}

/* ---- Image placeholders ------------------------------------- */

.ph {
  position: relative;
  border-radius: 16px;
  border: 1px dashed color-mix(in srgb, var(--brass) 45%, transparent);
  background-color: var(--paper);
  background-image: repeating-linear-gradient(
    45deg,
    color-mix(in srgb, var(--brass) 6%, transparent) 0,
    color-mix(in srgb, var(--brass) 6%, transparent) 10px,
    color-mix(in srgb, var(--brass) 11%, transparent) 10px,
    color-mix(in srgb, var(--brass) 11%, transparent) 20px
  );
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--slate);
}
.ph::after {
  content: attr(data-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  background-color: var(--paper);
  padding: 7px 14px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.ph-wide { aspect-ratio: 16 / 6.5; }
.ph-portrait { aspect-ratio: 3 / 4; }
.ph-square { aspect-ratio: 1 / 1; }
.ph-hero { aspect-ratio: 4 / 5; border-color: var(--border-dark); background-color: var(--ink-soft); }
.ph-hero::after { background-color: var(--ink-soft); color: var(--brass-bright); }

@media (max-width: 860px) {
  .ph-hero { aspect-ratio: 16 / 10; }
}

.figure { display: grid; gap: 10px; }
.figure figcaption { font-size: 0.82rem; color: var(--slate); letter-spacing: 0.01em; }

/* ---- Forms ------------------------------------------------- */

.form-card {
  background-color: var(--paper);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 22px; }
.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.field .req { color: var(--brass); margin-left: 3px; }
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background-color: var(--field-bg);
  color: var(--charcoal);
  font: inherit;
  font-size: 0.98rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brass) 20%, transparent);
}
.field textarea { resize: vertical; min-height: 150px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.form-status { font-size: 0.9rem; font-weight: 500; display: none; }
.form-status.is-visible { display: inline-flex; }
.form-status.is-ok { color: var(--teal-text); }
.form-status.is-error { color: var(--danger); }

.contact-aside { display: grid; gap: 22px; align-content: start; }
.contact-aside .k {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  display: block;
  margin-bottom: 5px;
}
.contact-aside p { color: var(--text-soft); font-size: 0.98rem; line-height: 1.6; }

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

.site-footer {
  background-color: var(--ink);
  color: var(--slate-soft);
  border-top: 1px solid var(--border-dark);
  margin-top: 96px;
  flex-shrink: 0;
}
.site-footer .wrap {
  padding-top: 40px;
  padding-bottom: 40px;
  font-size: 0.86rem;
  line-height: 1.7;
}
.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}
.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--border-dark);
}
.footer-note { color: var(--slate); font-size: 0.78rem; }

.skin-picker { display: flex; align-items: center; gap: 12px; }
.skin-picker > label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
}
.skin-select-wrap { position: relative; display: inline-flex; }
.skin-select-wrap::after {
  content: "";
  position: absolute;
  right: 13px; top: 50%;
  width: 6px; height: 6px;
  border-right: 1.5px solid var(--slate-soft);
  border-bottom: 1.5px solid var(--slate-soft);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.skin-picker select {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  font-size: 0.82rem;
  color: var(--on-dark);
  background-color: color-mix(in srgb, var(--on-dark) 9%, transparent);
  border: 1px solid var(--border-dark);
  border-radius: 8px;
  padding: 8px 34px 8px 13px;
  cursor: pointer;
  transition: border-color 0.25s var(--ease), background-color 0.25s var(--ease);
}
.skin-picker select:hover { border-color: var(--brass); }
.skin-picker select:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.skin-picker option { color: #1b1b1b; background: #fff; }

@media (max-width: 640px) {
  .footer-bar { flex-direction: column; align-items: flex-start; gap: 14px; }
}

.site-footer strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 1rem;
  color: var(--on-dark);
  display: block;
  margin-bottom: 5px;
}
.site-footer .foot-right { text-align: right; }
.site-footer a { color: var(--slate-soft); }

@media (max-width: 640px) {
  .footer-main { flex-direction: column; }
  .site-footer .foot-right { text-align: left; }
}

/* ---- Utilities ---------------------------------------- */

.mt-32 { margin-top: 32px; }
.mt-40 { margin-top: 40px; }
.stack > * + * { margin-top: 14px; }

@media (max-width: 520px) {
  .wrap { padding: 0 22px; }
  .section { padding: 60px 0; }
}
