/* ==========================================================================
   North Marysville Wallcovering — American Classic design system
   Type: Libre Caslon Display / Libre Caslon Text + Public Sans (self-hosted)
   ========================================================================== */

@font-face {
  font-family: "Libre Caslon Display";
  src: url("../fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* palette */
  --ivory: #F7F2E8;
  --cream: #FCF9F3;
  --parchment: #EFE5D2;
  --parchment-deep: #E6D9BF;
  --navy: #1F2D40;
  --navy-deep: #16212F;
  --navy-line: rgba(212, 183, 129, .28);
  --ink: #24211D;
  --muted: #5D564B;
  --walnut: #5B3D27;
  --brass: #B08F55;          /* decorative only */
  --brass-text: #7A5A2B;     /* brass for text on light grounds */
  --brass-light: #D4B781;    /* brass for text on navy */
  --on-navy: #F3EDE1;
  --on-navy-muted: #C3C9D1;
  --line: rgba(36, 33, 29, .16);
  --line-strong: rgba(36, 33, 29, .28);
  --error: #A3271F;
  --success: #2F5A3A;

  /* type */
  --display: "Libre Caslon Display", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* layout */
  --max: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --section: clamp(72px, 10vw, 136px);
  --radius: 2px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: hidden; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; overflow-x: hidden; width: 100%;
  background: var(--ivory); color: var(--ink);
  font-family: var(--sans); font-size: clamp(1rem, .96rem + .2vw, 1.0625rem); line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
picture { display: block; }
a { color: inherit; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; line-height: 1.12; color: var(--ink); }
h1, h2 { font-family: var(--display); letter-spacing: -.005em; }
h3, h4 { font-family: var(--serif); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brass-text); outline-offset: 3px; }
.on-navy :focus-visible, .hero :focus-visible, .site-footer :focus-visible { outline-color: var(--brass-light); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--navy); color: var(--on-navy); padding: 10px 16px; text-decoration: none; border-radius: var(--radius);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- shared type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brass-text); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.eyebrow--center::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.on-navy .eyebrow { color: var(--brass-light); }
.section-title { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.35rem); margin-bottom: 22px; }
.lede { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); color: var(--muted); }
.on-navy .lede { color: var(--on-navy-muted); }
.italic-accent { font-family: var(--serif); font-style: italic; color: var(--brass-text); }

/* ornament: rule — diamond — rule */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--brass); margin: 0 0 22px; }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 56px; background: currentColor; opacity: .8; }
.ornament span { width: 8px; height: 8px; border: 1px solid currentColor; transform: rotate(45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 14px 28px; border: 1px solid transparent; border-radius: var(--radius);
  font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; text-align: center; line-height: 1.3;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-navy { background: var(--navy); color: var(--cream); }
.btn-navy:hover { background: var(--navy-deep); }
.btn-brass { background: #C9A86B; color: var(--navy-deep); }
.btn-brass:hover { background: #D8BC85; }
.btn-outline-light { border-color: rgba(243, 237, 225, .7); color: var(--on-navy); background: rgba(22, 33, 47, .25); }
.btn-outline-light:hover { background: var(--on-navy); color: var(--navy-deep); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--cream); }
@media (prefers-reduced-motion: no-preference) { .btn:hover { transform: translateY(-1px); } }

/* ==========================================================================
   Header
   ========================================================================== */
.topbar { background: var(--navy-deep); color: var(--on-navy-muted); font-size: .8rem; letter-spacing: .04em; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.topbar a { color: var(--on-navy); text-decoration: none; }
.topbar a:hover { color: var(--brass-light); }
.topbar__links { display: flex; gap: 22px; }
@media (max-width: 720px) { .topbar__place, .topbar__mail { display: none; } .topbar .container { justify-content: center; } }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(252, 249, 243, .97); border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(22, 33, 47, .08); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 42px; height: 42px; flex: none; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--display); font-size: 1.32rem; letter-spacing: .01em; }
.brand__sub { font-family: var(--sans); font-size: .62rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--brass-text); margin-top: 5px; }

.site-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.site-nav ul a {
  position: relative; display: inline-block; padding: 8px 0;
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink);
}
.site-nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--brass);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav ul a:hover::after, .site-nav ul a[aria-current="true"]::after { transform: scaleX(1); }
.header-cta { min-height: 44px; padding: 10px 20px; font-size: .74rem; }
.site-nav .nav-cta { display: none; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border: 1px solid var(--line-strong); background: transparent; border-radius: var(--radius);
  cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 20px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(22, 33, 47, .12);
    display: none; padding: 8px var(--gutter) 24px;
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav ul a { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: .86rem; }
  .site-nav ul a::after { display: none; }
  .site-nav .nav-cta { display: flex; margin-top: 20px; width: 100%; }
}
@media (max-width: 420px) {
  .brand__name { font-size: 1.12rem; }
  .brand__sub { letter-spacing: .24em; }
  .brand__mark { width: 36px; height: 36px; }
}

/* ==========================================================================
   Hero — full-bleed photo inside a picture-frame molding
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(600px, calc(100vh - 114px), 900px);
  display: flex; align-items: center; justify-content: center;
  color: var(--on-navy); text-align: center;
}
.hero__media, .hero__media picture, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__media img { object-fit: cover; object-position: 50% 40%; }
.hero__media { z-index: -2; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(22, 33, 47, .62), rgba(22, 33, 47, 0) 100%),
    linear-gradient(180deg, rgba(22, 33, 47, .74) 0%, rgba(22, 33, 47, .66) 45%, rgba(22, 33, 47, .82) 100%);
}
/* inset molding frame */
.hero::after {
  content: ""; position: absolute; inset: clamp(12px, 2.2vw, 28px); z-index: -1; pointer-events: none;
  border: 1px solid rgba(212, 183, 129, .65);
  box-shadow: inset 0 0 0 6px rgba(22, 33, 47, 0), inset 0 0 0 7px rgba(212, 183, 129, .35);
}
.hero__content { max-width: 880px; padding: clamp(96px, 12vw, 140px) var(--gutter); }
.hero .eyebrow { color: var(--brass-light); justify-content: center; letter-spacing: .28em; }
.hero h1 {
  color: #FBF7EF; font-size: clamp(2.35rem, 1.3rem + 4.3vw, 4.6rem); line-height: 1.06; margin-bottom: 26px;
  text-wrap: balance; text-shadow: 0 2px 24px rgba(10, 16, 24, .35);
}
.hero__text { max-width: 640px; margin: 0 auto 38px; font-size: clamp(1.05rem, .98rem + .35vw, 1.22rem); color: #E9E4DA; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero .ornament { color: var(--brass-light); }

/* strip under hero */
.craft-strip { background: var(--navy); color: var(--on-navy); border-top: 1px solid var(--navy-line); }
.craft-strip ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.craft-strip li {
  display: flex; align-items: center; justify-content: center; gap: 12px; text-align: center;
  padding: 22px 12px; font-family: var(--serif); font-style: italic; font-size: 1.05rem; color: var(--on-navy);
}
.craft-strip li + li { border-left: 1px solid var(--navy-line); }
.craft-strip li::before { content: ""; width: 6px; height: 6px; border: 1px solid var(--brass-light); transform: rotate(45deg); flex: none; }
@media (max-width: 820px) {
  .craft-strip ul { grid-template-columns: repeat(2, 1fr); }
  .craft-strip li:nth-child(3) { border-left: 0; }
  .craft-strip li:nth-child(n+3) { border-top: 1px solid var(--navy-line); }
}

/* ==========================================================================
   Intro
   ========================================================================== */
.intro { padding: var(--section) 0; }
.intro__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.framed { position: relative; margin: 0; }
.framed picture { position: relative; }
.framed picture::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--brass); z-index: 0;
}
.framed img { position: relative; z-index: 1; width: 100%; height: auto; object-fit: cover; }
.framed figcaption {
  position: relative; z-index: 1; margin-top: 32px; font-family: var(--serif); font-style: italic; font-size: .95rem; color: var(--muted);
}
.intro__media img { aspect-ratio: 4 / 5; }
.spec-list { margin: 30px 0 36px; border-top: 1px solid var(--line); }
.spec-list li {
  display: grid; grid-template-columns: 44px 1fr; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line);
}
.spec-list .num { font-family: var(--serif); font-style: italic; color: var(--brass-text); font-size: .95rem; }
.spec-list strong { font-weight: 600; color: var(--ink); }
@media (max-width: 860px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media { max-width: 520px; margin-right: 18px; }
}

/* ==========================================================================
   Services — raised-panel cards
   ========================================================================== */
.services { padding: var(--section) 0; background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto clamp(44px, 6vw, 72px); }
.section-head .eyebrow { justify-content: center; }
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.2vw, 28px); }
.panel-card {
  position: relative; background: var(--ivory); border: 1px solid var(--line-strong); padding: clamp(32px, 3.4vw, 44px) clamp(26px, 2.8vw, 38px);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
/* inner molding line — the "raised panel" */
.panel-card::before {
  content: ""; position: absolute; inset: 10px; border: 1px solid rgba(176, 143, 85, .45); pointer-events: none;
  transition: inset .3s var(--ease), border-color .3s var(--ease);
}
.panel-card:hover { border-color: var(--brass); box-shadow: 0 16px 34px rgba(22, 33, 47, .08); }
.panel-card:hover::before { inset: 7px; border-color: var(--brass); }
@media (prefers-reduced-motion: no-preference) { .panel-card:hover { transform: translateY(-3px); } }
.panel-card__icon { width: 52px; height: 52px; color: var(--navy); margin-bottom: 24px; }
.panel-card__icon svg { width: 100%; height: 100%; }
.panel-card h3 { font-size: 1.42rem; margin-bottom: 12px; }
.panel-card p { color: var(--muted); margin: 0; font-size: .98rem; }
.panel-card__no { position: absolute; top: 22px; right: 26px; font-family: var(--serif); font-style: italic; font-size: .9rem; color: var(--brass-text); }
@media (max-width: 980px) { .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .services__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   American Classic Interiors — asymmetric editorial on navy
   ========================================================================== */
.classic { position: relative; background: var(--navy); color: var(--on-navy); padding: var(--section) 0; overflow: hidden; }
.classic h2, .classic h3 { color: #FBF7EF; }
.classic__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; align-items: start; }
.classic__media { grid-column: 1 / span 7; grid-row: 1; position: relative; margin: 0; }
.classic__media picture { position: relative; }
.classic__media img { position: relative; z-index: 1; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.classic__media picture::after {
  content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--navy-line); pointer-events: none;
}
.classic__media figcaption { margin-top: 18px; font-family: var(--serif); font-style: italic; font-size: .92rem; color: var(--on-navy-muted); }
.classic__panel {
  grid-column: 7 / span 6; grid-row: 1; margin-top: clamp(60px, 9vw, 140px); position: relative; z-index: 2;
  background: var(--navy-deep); border: 1px solid var(--navy-line); padding: clamp(32px, 4vw, 56px);
}
.classic__panel p { color: var(--on-navy-muted); }
.classic__lists { grid-column: 2 / span 10; grid-row: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 80px); margin-top: clamp(48px, 6vw, 80px); padding-top: 36px; border-top: 1px solid var(--navy-line); }
.classic__lists h3 { font-family: var(--sans); font-size: .76rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 16px; }
.classic__lists ul { columns: 1; }
@media (min-width: 1100px) { .classic__lists ul { columns: 2; column-gap: 24px; } .classic__lists li { font-size: 1.04rem; } }
.classic__lists li { break-inside: avoid; font-family: var(--serif); font-size: 1.12rem; padding: 7px 0 7px 22px; position: relative; color: var(--on-navy); }
.classic__lists li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 6px; height: 6px; border: 1px solid var(--brass-light); transform: rotate(45deg); }
@media (max-width: 980px) {
  .classic__media { grid-column: 1 / -1; }
  .classic__panel { grid-column: 2 / -1; grid-row: 2; margin-top: -60px; }
  .classic__lists { grid-column: 1 / -1; grid-row: 3; }
}
@media (max-width: 640px) {
  .classic__panel { grid-column: 1 / -1; margin-top: 28px; }
  .classic__media picture::after { inset: -10px 10px 10px -10px; }
  .classic__lists { grid-template-columns: 1fr; }
}
@media (max-width: 380px) { .classic__lists ul { columns: 1; } }

/* ==========================================================================
   Our Approach — chair-rail timeline
   ========================================================================== */
.approach { padding: var(--section) 0; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: step; }
.timeline::before { /* the rail */
  content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 7px;
  border-top: 1px solid var(--brass); border-bottom: 1px solid var(--brass); opacity: .7;
}
.step { position: relative; padding-top: 0; }
.step__num {
  position: relative; z-index: 1; display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 26px;
  background: var(--ivory); border: 1px solid var(--brass); border-radius: 50%;
  font-family: var(--display); font-size: 1.7rem; color: var(--navy);
}
.step__num::after { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(176, 143, 85, .45); border-radius: 50%; }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; }
.step p { color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 37px; right: auto; top: 0; bottom: 0; width: 7px; height: auto; border: 0; border-left: 1px solid var(--brass); border-right: 1px solid var(--brass); }
  .step { display: grid; grid-template-columns: 76px 1fr; column-gap: 26px; padding-bottom: 36px; }
  .step:last-child { padding-bottom: 0; }
  .step__num { margin-bottom: 0; grid-row: span 2; }
  .step h3 { align-self: end; margin-top: 12px; }
}

/* ==========================================================================
   Why choose us — parchment
   ========================================================================== */
.why { background: var(--parchment); padding: var(--section) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.why__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.why__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.swatch {
  /* a CSS "wallpaper sample": colonial ticking stripe with a lattice overprint */
  margin-top: 34px; height: 170px; border: 1px solid var(--line-strong); position: relative;
  background:
    repeating-linear-gradient(45deg, transparent 0 15px, rgba(31, 45, 64, .07) 15px 16px),
    repeating-linear-gradient(-45deg, transparent 0 15px, rgba(31, 45, 64, .07) 15px 16px),
    repeating-linear-gradient(90deg, var(--cream) 0 22px, #E9DEC6 22px 24px, var(--cream) 24px 30px, #E9DEC6 30px 32px);
}
.swatch::after { content: "Sample · Colonial stripe & trellis"; position: absolute; left: 12px; bottom: 10px; font-family: var(--serif); font-style: italic; font-size: .82rem; color: var(--muted); background: var(--cream); padding: 2px 8px; }
.why__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); }
.why__list li { padding: 30px 26px 30px 0; border-bottom: 1px solid var(--line-strong); }
.why__list li:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line-strong); }
.why__list li:nth-child(even) { padding-left: 32px; padding-right: 0; }
.why__list h3 { font-size: 1.3rem; margin-bottom: 8px; display: flex; gap: 12px; align-items: baseline; }
.why__list h3::before { content: ""; width: 7px; height: 7px; background: var(--brass); transform: rotate(45deg) translateY(-2px); flex: none; }
.why__list p { margin: 0; color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; }
  .why__intro { position: static; }
}
@media (max-width: 620px) {
  .why__list { grid-template-columns: 1fr; }
  .why__list li, .why__list li:nth-child(odd), .why__list li:nth-child(even) { padding: 24px 0; border-right: 0; }
}

/* ==========================================================================
   Gallery — editorial "plate book" grid
   ========================================================================== */
.gallery { padding: var(--section) 0; }
.plates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 24px); }
.plate { margin: 0; display: flex; flex-direction: column; }
.plate--wide { grid-column: span 2; }
.plate__btn {
  display: block; width: 100%; padding: 0; border: 0; background: var(--parchment); cursor: zoom-in; position: relative; overflow: hidden;
}
.plate__btn picture { height: 100%; }
.plate__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.plate--wide .plate__btn { aspect-ratio: auto; flex: 1 1 auto; min-height: 260px; } /* stretches to the 4:5 neighbour's row height */
.plate--tall .plate__btn { aspect-ratio: 4 / 5; }
.plate--square .plate__btn { aspect-ratio: 1 / 1; }
/* the wide+tall pairs share a row height: 2/3 width at 16:10 == 1/3 width at 4:5 */
.plate__btn::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(252, 249, 243, 0); transition: border-color .35s var(--ease); pointer-events: none; }
.plate__btn:hover::after, .plate__btn:focus-visible::after { border-color: rgba(252, 249, 243, .85); }
@media (prefers-reduced-motion: no-preference) { .plate__btn:hover img { transform: scale(1.035); } }
.plate figcaption { display: flex; gap: 12px; align-items: baseline; padding-top: 12px; font-size: .92rem; color: var(--muted); }
.plate figcaption .plate__no { font-family: var(--serif); font-style: italic; color: var(--brass-text); flex: none; }
.gallery__note { text-align: center; margin: 36px auto 0; max-width: 620px; font-size: .92rem; color: var(--muted); }
@media (max-width: 760px) {
  .plates { grid-template-columns: 1fr; }
  .plate--wide { grid-column: auto; }
  .plate--wide .plate__btn { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
  .plate--square .plate__btn { aspect-ratio: 4 / 3; }
}

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(14, 20, 29, .94); padding: 64px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox__figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: min(1400px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto; object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); }
.lightbox__caption { margin-top: 16px; color: var(--on-navy); font-family: var(--serif); font-style: italic; text-align: center; }
.lightbox__count { display: block; font-family: var(--sans); font-style: normal; font-size: .74rem; letter-spacing: .18em; color: var(--brass-light); margin-top: 4px; }
.lightbox__btn {
  position: absolute; width: 50px; height: 50px; display: grid; place-items: center; cursor: pointer;
  background: rgba(252, 249, 243, .08); border: 1px solid rgba(212, 183, 129, .5); color: var(--on-navy); border-radius: 50%;
  transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(252, 249, 243, .2); }
.lightbox__btn svg { width: 20px; height: 20px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 70px 12px 90px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; }
  .lightbox__prev { left: calc(50% - 62px); }
  .lightbox__next { right: calc(50% - 62px); }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--navy); color: var(--on-navy); padding: var(--section) 0; position: relative; }
.contact h2 { color: #FBF7EF; }
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.contact__details { margin-top: 32px; border-top: 1px solid var(--navy-line); }
.contact__details div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--navy-line); }
.contact__details dt { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-light); padding-top: 4px; }
.contact__details dd { margin: 0; font-family: var(--serif); font-size: 1.08rem; color: var(--on-navy); overflow-wrap: anywhere; }
.contact__details a { text-decoration: none; border-bottom: 1px solid rgba(212, 183, 129, .5); }
.contact__details a:hover { color: var(--brass-light); }
.contact__biz { font-family: var(--display); font-size: 1.5rem; color: #FBF7EF; margin: 30px 0 0; }

.form-card { background: var(--cream); color: var(--ink); padding: clamp(28px, 4vw, 52px); position: relative; border: 1px solid var(--brass); }
.form-card::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(176, 143, 85, .4); pointer-events: none; }
.form-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card__intro { color: var(--muted); font-size: .95rem; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 22px; position: relative; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 8px; }
.field label .opt { font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #8C8273; border-radius: var(--radius);
  background: #FFFDF8; color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(31, 45, 64, .18); }
.field input::placeholder, .field textarea::placeholder { color: #7A7266; }
/* errors created by the supplied script use an inline colour that fails contrast on cream; lift it here */
.error-message { color: var(--error) !important; font-size: .86rem !important; margin-top: 6px; font-weight: 500; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 6px; }
.form-actions .btn { min-width: 220px; }
.form-actions .btn[disabled] { opacity: .65; cursor: progress; }
.form-note { font-size: .84rem; color: var(--muted); margin: 0; }
.form-status { grid-column: 1 / -1; margin: 0; padding: 12px 14px; border-left: 3px solid var(--error); background: #F7E7E4; color: #6E1C15; font-size: .92rem; }
.form-status[hidden] { display: none; }

#form-success { display: none; text-align: center; padding: 36px 8px; }
#form-success .success-icon { width: 58px; height: 58px; margin: 0 auto 18px; color: var(--success); }
#form-success h3 { margin-bottom: 10px; }
#form-success p { color: var(--muted); margin: 0; }
/* no-JS result panels, shown via :target after send.php redirects */
.nojs-result { display: none; margin-bottom: 22px; padding: 14px 16px; font-size: .95rem; }
.nojs-result:target { display: block; }
#form-sent { background: #E6EFE5; border-left: 3px solid var(--success); color: #1F3D27; }
#form-error { background: #F7E7E4; border-left: 3px solid var(--error); color: #6E1C15; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }
  .contact__details div { grid-template-columns: 1fr; gap: 2px; }
}

/* ==========================================================================
   Location / map
   ========================================================================== */
.location { padding: var(--section) 0; background: var(--ivory); }
.location__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.map-frame { position: relative; padding: 12px; background: var(--cream); border: 1px solid var(--brass); }
.map-frame::before { content: ""; position: absolute; inset: 5px; border: 1px solid rgba(176, 143, 85, .4); pointer-events: none; z-index: 2; }
.map-frame__inner {
  position: relative; height: 100%; min-height: 420px;
  background:
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(31, 45, 64, .07) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(31, 45, 64, .07) 39px 40px),
    var(--parchment);
}
.map-frame__inner::before { /* placeholder shown while the embed loads or if blocked */
  content: "Loading map of 12421 State Ave, Marysville, WA"; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; color: var(--muted); padding: 20px; text-align: center;
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 1; }
.address-card { background: var(--navy); color: var(--on-navy); padding: clamp(30px, 3.4vw, 46px); display: flex; flex-direction: column; justify-content: center; position: relative; }
.address-card::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--navy-line); pointer-events: none; }
.address-card h3 { color: #FBF7EF; font-family: var(--display); font-size: 1.7rem; margin-bottom: 12px; }
.address-card address { font-style: normal; font-family: var(--serif); font-size: 1.12rem; line-height: 1.6; color: var(--on-navy); margin-bottom: 18px; }
.address-card p { color: var(--on-navy-muted); font-size: .95rem; }
.address-card .btn { align-self: flex-start; margin-top: 10px; }
.address-card .phone-line { margin: 18px 0 0; }
.address-card .phone-line a { color: var(--on-navy); text-decoration: none; border-bottom: 1px solid rgba(212, 183, 129, .5); }
.address-card .phone-line a:hover { color: var(--brass-light); }
@media (max-width: 900px) {
  .location__grid { grid-template-columns: 1fr; }
  .map-frame__inner { min-height: 340px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding: clamp(64px, 8vw, 96px) 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 5fr) repeat(2, minmax(0, 3fr)); gap: clamp(32px, 5vw, 72px); padding-bottom: 56px; }
.site-footer .brand { color: var(--on-navy); }
.site-footer .brand__sub { color: var(--brass-light); }
.footer__about { margin-top: 20px; max-width: 360px; }
.footer__title { font-family: var(--sans); font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--brass-light); margin-bottom: 18px; }
.footer__list li { margin-bottom: 10px; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { color: var(--brass-light); }
.site-footer address { font-style: normal; }
.footer__bottom { border-top: 1px solid var(--navy-line); font-size: .84rem; }
.footer__bottom-inner { padding-top: 22px; padding-bottom: 22px; display: flex; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Reveal animation — progressive enhancement only
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .enhance .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .enhance .reveal.is-visible { opacity: 1; transform: none; }
  .enhance .reveal-img { clip-path: inset(0 0 6% 0); transition: clip-path 1.2s var(--ease); }
  .enhance .reveal-img.is-visible { clip-path: inset(0 0 0 0); }
  .hero__content > * { animation: heroIn 1s var(--ease) both; }
  .hero__content > *:nth-child(2) { animation-delay: .08s; }
  .hero__content > *:nth-child(3) { animation-delay: .16s; }
  .hero__content > *:nth-child(4) { animation-delay: .24s; }
  .hero__content > *:nth-child(5) { animation-delay: .32s; }
}
@keyframes heroIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

@media print {
  .reveal, .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .site-header, .topbar, .nav-toggle, .lightbox, .map-frame iframe { display: none !important; }
  .hero { min-height: 0; color: var(--ink); }
}
.footer__bottom p { margin: 0; }

/* wide plates: image out of flow so the 4:5 neighbour alone sets the row height */
.plate--wide .plate__btn picture { position: absolute; inset: 0; }
/* mid widths: narrow-column captions may wrap to two lines; reserve two lines everywhere so rows stay level */
@media (min-width: 761px) and (max-width: 1240px) { .plate figcaption { min-height: calc(3.4em + 12px); } }
