/* ===========================================================
   Matty Nak Designs — shared stylesheet
   Tokens, components, helpers used across every page.
   =========================================================== */

:root {
  /* === PALETTE (warm — default) === */
  --cream:        #F5EDE0;
  --cream-warm:   #EBE0CE;
  --cream-deep:   #E3D4BB;
  --paper:        #FBF6EC;
  --ink:          #2A1D14;
  --ink-soft:     #5A4332;
  --ink-muted:    #8A6F58;
  --walnut:       #6B4423;
  --brass:        #A8783E;
  --brass-soft:   #C49968;
  --tan:          #C4A57B;
  --tan-light:    #D4B896;
  --tan-dark:     #B8956A;
  --border:       rgba(42, 29, 20, 0.14);
  --border-soft:  rgba(42, 29, 20, 0.08);
  --border-strong:rgba(42, 29, 20, 0.32);

  /* === TYPE === */
  --serif:   'Marcellus', 'Cormorant Garamond', Georgia, serif;
  --sans:    'Inter', system-ui, -apple-system, sans-serif;
  --mono:    'JetBrains Mono', ui-monospace, monospace;

  /* density — multiplied into every spacing/font size that scales */
  --d: 1;

  /* === SPACING === */
  --pad-page:   calc(48px * var(--d));
  --pad-page-y: calc(96px * var(--d));
  --pad-section: calc(88px * var(--d));
  --gap-tight: calc(14px * var(--d));
  --gap:       calc(28px * var(--d));
  --gap-lg:    calc(56px * var(--d));
  --gap-xl:    calc(88px * var(--d));

  /* === TYPE SIZES === */
  --fs-eyebrow: 11px;
  --fs-micro:   10px;
  --fs-body-sm: 13px;
  --fs-body:    15px;
  --fs-body-lg: 17px;
  --fs-h4:      20px;
  --fs-h3:      26px;
  --fs-h2:      42px;
  --fs-h1:      64px;
  --fs-hero:    78px;

  /* === MOTION === */
  --ease: cubic-bezier(.22,1,.36,1);
  --dur: 220ms;
}

/* ----- alternate palettes (applied to <body data-palette="...">) ----- */
body[data-palette="ash"] {
  --cream:      #ECE6DA;
  --cream-warm: #DED5C2;
  --cream-deep: #CFC2A8;
  --paper:      #F4EFE3;
  --ink:        #1F1812;
  --walnut:     #4D3621;
  --brass:      #8F6B3A;
  --brass-soft: #B49364;
  --tan:        #AE9272;
  --tan-light:  #C2A98B;
  --tan-dark:   #9B7E5E;
  --border:     rgba(31, 24, 18, 0.14);
}
body[data-palette="oak"] {
  --cream:      #F7F0E0;
  --cream-warm: #EFE3C8;
  --cream-deep: #E4D2AC;
  --paper:      #FCF7EA;
  --ink:        #3A271A;
  --walnut:     #7A4F26;
  --brass:      #B98442;
  --brass-soft: #D2A874;
  --tan:        #D2B58A;
  --tan-light:  #E3CBA9;
  --tan-dark:   #C7A576;
  --border:     rgba(58, 39, 26, 0.16);
}
body[data-palette="forest"] {
  --cream:      #EFE7D4;
  --cream-warm: #E3D7BB;
  --cream-deep: #D3C29B;
  --paper:      #F5EEDD;
  --ink:        #1E2A1F;
  --ink-soft:   #3B4A38;
  --ink-muted:  #6A7864;
  --walnut:     #2D4530;
  --brass:      #748A44;
  --brass-soft: #9CAD6D;
  --tan:        #B7BB91;
  --tan-light:  --tan-light;
  --tan-dark:   #9AA177;
  --border:     rgba(30, 42, 31, 0.16);
}

/* ----- density modifier ----- */
body[data-density="airy"]    { --d: 1.12; }
body[data-density="default"] { --d: 1; }
body[data-density="compact"] { --d: 0.88; }

/* ----- alternate display font ----- */
body[data-display="marcellus"] { --serif: 'Marcellus', Georgia, serif; }
body[data-display="cormorant"] { --serif: 'Cormorant Garamond', 'Marcellus', Georgia, serif; font-feature-settings: "lnum"; }
body[data-display="frank"]     { --serif: 'Fraunces', 'Marcellus', Georgia, serif; }

/* =========================================================== */
/* RESET                                                       */
/* =========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

/* prevent horizontal scroll on small screens */
html, body { overflow-x: hidden; }
img, video, iframe, svg { max-width: 100%; height: auto; }

/* =========================================================== */
/* TYPOGRAPHY                                                  */
/* =========================================================== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.08;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }

p { color: var(--ink-soft); line-height: 1.7; }
p.lead { font-size: var(--fs-body-lg); }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.32em;
  color: var(--walnut);
  font-weight: 500;
  text-transform: uppercase;
  display: inline-block;
}

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

/* a thin double-rule used for the "stamp" look */
.rule {
  height: 1px;
  background: var(--ink);
  width: 100%;
}
.rule.thin { background: var(--border-strong); }
.rule.brass { background: var(--brass); }

/* =========================================================== */
/* LAYOUT HELPERS                                              */
/* =========================================================== */
.container     { max-width: 1240px; margin: 0 auto; padding: 0 var(--pad-page); }
.container-md  { max-width: 1000px; margin: 0 auto; padding: 0 var(--pad-page); }
.container-sm  { max-width: 760px;  margin: 0 auto; padding: 0 var(--pad-page); }

.section       { padding: var(--pad-section) 0; }
.section-tight { padding: calc(var(--pad-section) * 0.65) 0; }

.bg-cream      { background: var(--cream); }
.bg-cream-warm { background: var(--cream-warm); }
.bg-paper      { background: var(--paper); }
.bg-ink        { background: var(--ink); color: var(--cream); }
.bg-ink h1, .bg-ink h2, .bg-ink h3, .bg-ink h4 { color: var(--cream); }
.bg-ink p { color: var(--tan-light); }
.bg-ink .eyebrow { color: var(--brass-soft); }

/* =========================================================== */
/* HEADER + NAV                                                */
/* =========================================================== */
.site-header {
  padding: 22px var(--pad-page);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: var(--cream);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
}
.site-nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.site-nav a {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: color var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--brass); }
.site-nav a.current { color: var(--brass); }
.site-nav a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: var(--brass);
}

/* =========================================================== */
/* LOGO LOCKUP — real brand mark (assets/mn-logo-*.png)        */
/* =========================================================== */
/* Inline horizontal lockup for headers/footers.
   The mark is a self-contained MN | DESIGNS image; we just
   size + tint it via two image variants (ink for light bg,
   cream for dark bg). The optional .wordmark next to it
   adds "Matty Nak Designs" as a wordmark in tracking. */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.brand-lockup .mark {
  width: 48px;
  height: 44px;
  background: url("assets/mn-monogram-ink.png") center / contain no-repeat;
  flex-shrink: 0;
  transition: opacity var(--dur) var(--ease);
}
.bg-ink .brand-lockup .mark,
.site-footer .brand-lockup .mark,
.brand-lockup.invert .mark {
  background-image: url("assets/mn-monogram-cream.png");
}
/* the .full variant uses the complete MN+DESIGNS lockup (rule + DESIGNS line) */
.brand-lockup .mark.full {
  background-image: url("assets/mn-logo-ink.png");
  width: 56px;
  height: 56px;
}
.bg-ink .brand-lockup .mark.full,
.site-footer .brand-lockup .mark.full {
  background-image: url("assets/mn-logo-cream.png");
}
.brand-lockup:hover .mark { opacity: 0.78; }

.brand-lockup .wordmark {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding-left: 16px;
  border-left: 1px solid var(--border-strong);
}
.bg-ink .brand-lockup .wordmark,
.site-footer .brand-lockup .wordmark {
  border-left-color: rgba(245, 237, 224, 0.28);
}
.brand-lockup .wordmark .name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 20px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  line-height: 0.95;
}
.brand-lockup .wordmark .sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1;
}
.bg-ink .brand-lockup .wordmark .name,
.site-footer .brand-lockup .wordmark .name { color: var(--cream); }
.bg-ink .brand-lockup .wordmark .sub,
.site-footer .brand-lockup .wordmark .sub { color: var(--brass-soft); }

/* compact mark-only variant for very tight spots */
.brand-lockup.mark-only .wordmark { display: none; }
.brand-lockup.mark-only { gap: 0; }

/* size modifiers */
.brand-lockup.sm .mark { width: 42px; height: 42px; }
.brand-lockup.lg .mark { width: 88px; height: 88px; }

/* "Stamp" — decorative framed treatment of the mark for hero use */
.brand-stamp {
  display: inline-block;
  background: var(--cream);
  color: var(--ink);
  border: 1.5px solid var(--ink);
  padding: 22px 34px 18px;
  text-align: center;
}
.brand-stamp .mark-big {
  width: 160px;
  height: 160px;
  background: url("assets/mn-logo-ink.png") center / contain no-repeat;
  margin: 0 auto 14px;
}
.brand-stamp .meta {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-top: 1px solid var(--border-strong);
  padding-top: 12px;
  margin-top: 0;
}
.bg-ink .brand-stamp,
.realtor .brand-stamp {
  background: var(--cream);
  color: var(--ink);
}

/* =========================================================== */
/* BUTTONS                                                     */
/* =========================================================== */
.btn {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  font-weight: 500;
  padding: 15px 28px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  background: transparent;
  transition: all var(--dur) var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform var(--dur) var(--ease); display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-dark    { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-dark:hover { background: var(--walnut); border-color: var(--walnut); }
.btn-outline { color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-brass   { background: var(--brass); color: var(--cream); border-color: var(--brass); }
.btn-brass:hover { background: var(--walnut); border-color: var(--walnut); }
.btn-ghost   { color: var(--ink); border-color: var(--border-strong); }
.btn-ghost:hover { border-color: var(--ink); background: var(--paper); }

.btn-link {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.22em;
  font-weight: 500;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-link .arrow { transition: transform var(--dur) var(--ease); }
.btn-link:hover { color: var(--brass); }
.btn-link:hover .arrow { transform: translateX(4px); }

.btn-sm { padding: 10px 18px; font-size: 10.5px; }

/* =========================================================== */
/* CARDS                                                       */
/* =========================================================== */
.card {
  background: var(--paper);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(42, 29, 20, 0.10);
  border-color: var(--border-strong);
}

/* =========================================================== */
/* PHOTO PLACEHOLDER                                            */
/* =========================================================== */
.photo-ph {
  position: relative;
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--ink-muted);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.photo-ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 49%, rgba(42, 29, 20, 0.05) 49%, rgba(42, 29, 20, 0.05) 51%, transparent 51%),
    linear-gradient(45deg, transparent 49%, rgba(42, 29, 20, 0.05) 49%, rgba(42, 29, 20, 0.05) 51%, transparent 51%);
  background-size: 24px 24px;
}
.photo-ph .label {
  position: relative;
  z-index: 1;
  background: var(--cream-warm);
  padding: 8px 16px;
  border: 1px solid var(--border-strong);
}
.photo-ph.tan      { background: var(--tan); }
.photo-ph.tan .label { background: var(--tan); border-color: rgba(42,29,20,0.4); }
.photo-ph.tan-light { background: var(--tan-light); }
.photo-ph.tan-light .label { background: var(--tan-light); }
.photo-ph.tan-dark { background: var(--tan-dark); }
.photo-ph.tan-dark .label { background: var(--tan-dark); }
.photo-ph.ink      { background: var(--ink); color: var(--tan-light); }
.photo-ph.ink .label { background: var(--ink); border-color: var(--tan); color: var(--cream); }

.photo-ph.square  { aspect-ratio: 1/1; }
.photo-ph.tall    { aspect-ratio: 3/4; }
.photo-ph.wide    { aspect-ratio: 4/3; }
.photo-ph.cinema  { aspect-ratio: 16/9; }

/* =========================================================== */
/* TAGS / BADGES                                               */
/* =========================================================== */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  font-weight: 500;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--border-strong);
  color: var(--ink-soft);
  background: var(--paper);
}
.tag.brass { color: var(--brass); border-color: var(--brass); }
.tag.dark  { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* =========================================================== */
/* FORMS                                                       */
/* =========================================================== */
label.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
label.field > .field-label {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}
label.field > .field-hint {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-top: -2px;
}
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--border-strong);
  padding: 14px 16px;
  width: 100%;
  outline: none;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--ink);
  background: var(--cream);
}
textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path fill='none' stroke='%232A1D14' stroke-width='1.4' d='M1 1l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
::placeholder { color: var(--ink-muted); opacity: 0.7; }

.option-group {
  display: grid;
  gap: 10px;
}
.option-tile {
  border: 1px solid var(--border-strong);
  padding: 14px 16px;
  background: var(--paper);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: all var(--dur) var(--ease);
}
.option-tile:hover { border-color: var(--ink); }
.option-tile.selected { border-color: var(--ink); background: var(--cream); box-shadow: inset 0 0 0 1px var(--ink); }
.option-tile .label {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
}
.option-tile .sub {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 2px;
}
.option-tile .price {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--walnut);
}

/* swatch (wood selector) */
.swatch-row { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--dur) var(--ease);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.swatch::after {
  content: attr(data-label);
  position: absolute;
  top: 100%;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  white-space: nowrap;
}
.swatch.selected { border-color: var(--ink); box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--ink); }
.swatch.selected::after { color: var(--ink); font-weight: 500; }

/* =========================================================== */
/* FOOTER                                                      */
/* =========================================================== */
.site-footer {
  background: var(--ink);
  color: var(--tan-light);
  padding: 64px var(--pad-page) 40px;
}
.site-footer .brand-lockup .monogram,
.site-footer .brand-lockup .wordmark .name { color: var(--cream); }
.site-footer .brand-lockup .wordmark .sub { color: var(--brass-soft); }
.site-footer .brand-lockup .divider { background: rgba(245, 237, 224, 0.3); }

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: var(--gap-lg);
  align-items: start;
}
.footer-col h4 {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 18px;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: var(--tan-light);
  text-decoration: none;
  font-size: 13px;
  transition: color var(--dur) var(--ease);
}
.footer-col a:hover { color: var(--brass-soft); }
.footer-col p { color: var(--tan-light); font-size: 13px; }
.footer-bottom {
  max-width: 1240px;
  margin: 56px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 237, 224, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.5);
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom a {
  color: rgba(245, 237, 224, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 237, 224, 0.25);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.footer-bottom a:hover {
  color: var(--brass-soft, #d9b27a);
  border-bottom-color: var(--brass-soft, #d9b27a);
}

/* =========================================================== */
/* MOBILE HAMBURGER + DRAWER                                   */
/* =========================================================== */
.mn-hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  padding: 0;
  width: 44px;
  height: 44px;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  z-index: 60;
}
.mn-hamburger:hover { border-color: var(--ink); }
.mn-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.mn-hamburger.is-active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mn-hamburger.is-active span:nth-child(2) { opacity: 0; }
.mn-hamburger.is-active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mn-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  visibility: hidden;
}
.mn-mobile-drawer.is-open { pointer-events: auto; visibility: visible; }
.mn-mobile-scrim {
  position: absolute;
  inset: 0;
  background: rgba(42, 29, 20, 0.55);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.mn-mobile-drawer.is-open .mn-mobile-scrim { opacity: 1; }
.mn-mobile-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 84vw);
  background: var(--ink);
  color: var(--cream);
  padding: 24px 28px 32px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.36s var(--ease);
  box-shadow: -20px 0 60px rgba(0,0,0,0.25);
}
.mn-mobile-drawer.is-open .mn-mobile-panel { transform: translateX(0); }
.mn-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(245, 237, 224, 0.14);
  margin-bottom: 28px;
}
.mn-mobile-head .brand-lockup .wordmark .name { color: var(--cream); }
.mn-mobile-head .brand-lockup .wordmark .sub { color: var(--brass-soft); }
.mn-mobile-head .brand-lockup .wordmark { border-left-color: rgba(245, 237, 224, 0.28); }
.mn-mobile-close {
  background: transparent;
  border: 1px solid rgba(245, 237, 224, 0.24);
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  border-radius: 2px;
}
.mn-mobile-close:hover { border-color: var(--brass-soft); background: rgba(245,237,224,0.05); }
.mn-mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mn-mobile-nav a {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--cream);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid rgba(245, 237, 224, 0.08);
  letter-spacing: 0;
  text-transform: none;
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}
.mn-mobile-nav a:hover,
.mn-mobile-nav a:focus { color: var(--brass-soft); padding-left: 6px; }
.mn-mobile-nav a.current { color: var(--brass-soft); }
.mn-mobile-foot {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(245, 237, 224, 0.14);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mn-mobile-contact {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
}
.mn-mobile-contact:hover { color: var(--brass-soft); }
.mn-mobile-tag {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(245, 237, 224, 0.5);
}

/* =========================================================== */
/* RESPONSIVE                                                  */
/* =========================================================== */
@media (max-width: 900px) {
  :root { --fs-h1: 44px; --fs-hero: 52px; --fs-h2: 32px; --fs-h3: 22px; }
  .container, .container-md, .container-sm { padding: 0 28px; }
  .site-header { padding: 16px 22px; }
  .site-nav { display: none; }
  .mn-hamburger { display: inline-flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr !important; }
  .split-2 { grid-template-columns: 1fr !important; }
  .site-footer { padding: 56px 28px 36px; }
}

@media (max-width: 640px) {
  :root {
    --fs-h1: 36px;
    --fs-hero: 40px;
    --fs-h2: 28px;
    --fs-h3: 20px;
    --pad-section: 64px;
    --pad-page: 22px;
    --gap-lg: 36px;
    --gap-xl: 48px;
  }
  body { font-size: 14.5px; }
  p.lead { font-size: 16px; }

  .container, .container-md, .container-sm { padding: 0 22px; }
  .site-header { padding: 14px 18px; }
  .site-footer { padding: 48px 22px 32px; }

  /* brand mark trims down on tight headers */
  .site-header .brand-lockup { gap: 12px; }
  .site-header .brand-lockup .mark { width: 40px; height: 40px; }
  .site-header .brand-lockup .mark.full { width: 44px; height: 44px; }
  .site-header .brand-lockup .wordmark { padding-left: 12px; }
  .site-header .brand-lockup .wordmark .name { font-size: 17px; }
  .site-header .brand-lockup .wordmark .sub { font-size: 8.5px; letter-spacing: 0.36em; }

  /* utility grids all collapse to one column */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr !important; gap: 22px; }

  /* footer stacks fully */
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    margin-top: 40px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  /* buttons go full-width and stack naturally */
  .btn { width: 100%; justify-content: center; padding: 16px 22px; }
  .btn-sm { width: auto; }
  .flex-gap { width: 100%; }
  .flex-gap > .btn { flex: 1 1 100%; }

  /* form fields a touch bigger for fat fingers */
  input[type="text"], input[type="email"], input[type="tel"], textarea, select {
    font-size: 16px; /* prevents iOS auto-zoom */
    padding: 14px 14px;
  }

  /* swatches scale down */
  .swatch { width: 56px; height: 56px; }

  /* photo placeholders get a tighter caption */
  .photo-ph { font-size: 9px; letter-spacing: 0.22em; }
}

@media (max-width: 400px) {
  :root { --fs-h1: 32px; --fs-hero: 36px; --fs-h2: 25px; --pad-page: 18px; }
  .container, .container-md, .container-sm { padding: 0 18px; }
  .site-header { padding: 12px 16px; }
  .site-footer { padding: 40px 18px 28px; }
  .site-header .brand-lockup .wordmark .sub { display: none; }
}

/* helpful utility grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.split-2 { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--gap-lg); align-items: center; }
.split-2.media-left { grid-template-columns: 1fr 1.1fr; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; }
.flex-gap { display: flex; gap: var(--gap-tight); flex-wrap: wrap; }
