/* ==========================================================================
   Gallery Row — Fine Arts Gallery, Gig Harbor WA
   Single shared stylesheet. Offline-capable, no external fonts.
   ========================================================================== */

:root {
  --ink:        #1f2429;
  --ink-soft:   #4a525a;
  --ink-faint:  #8a929b;
  --bg:         #f7f5f1;
  --bg-elev:    #ffffff;
  --bg-soft:    #efece6;
  --line:       #e2ddd3;
  --line-soft:  #ece8df;
  --accent:     #0f5f62;
  --accent-dk:  #0a4648;
  --accent-lt:  #e7f0f0;
  --gold:       #a97e2c;
  --gold-lt:    #f6efdf;

  --fs-xs:   .8125rem;
  --fs-sm:   .9375rem;
  --fs-md:   1.0625rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.625rem;
  --fs-2xl:  clamp(1.75rem, 3.6vw, 2.6rem);
  --fs-3xl:  clamp(2rem, 4.6vw, 3.25rem);

  --maxw:        1120px;
  --maxw-narrow: 820px;
  --gutter:      clamp(1rem, 4vw, 2rem);
  --radius:      10px;
  --radius-lg:   16px;
  --shadow-sm: 0 1px 2px rgba(31,36,41,.05), 0 1px 3px rgba(31,36,41,.06);
  --shadow:    0 6px 24px rgba(31,36,41,.08);
  --shadow-lg: 0 18px 48px rgba(31,36,41,.12);
  --ease:      cubic-bezier(.2,.7,.2,1);
  --ff: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Noto Sans", "Liberation Sans", sans-serif;
  --ff-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
}

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ff);
  font-size: var(--fs-md);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dk); }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { line-height: 1.15; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 1rem; color: var(--ink-soft); }
strong, b { color: var(--ink); font-weight: 700; }
ul, ol { padding-left: 1.2rem; }
li { margin: .3rem 0; }

/* ----------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--maxw-narrow); }
.section { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(2rem, 4vw, 3.25rem) 0; }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2.5rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2.5rem}
.text-center{text-align:center}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* ------------------------------------------------------------ section head */
.eyebrow {
  display: inline-block; font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin: 0 0 .75rem;
}
.section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section-head.left { margin-left: 0; text-align: left; }
.section-head h2 { font-size: var(--fs-2xl); margin-bottom: .5rem; }
.section-head p { color: var(--ink-soft); font-size: var(--fs-md); margin: 0; }
.section-head .rule { width: 48px; height: 3px; background: var(--gold); border-radius: 2px; margin: 1rem auto 0; }
.section-head.left .rule { margin-left: 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: var(--fs-sm);
  padding: .8rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; line-height: 1.2; transition: all .18s var(--ease);
  text-align: center; justify-content: center;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid rgba(15,95,98,.35); outline-offset: 2px; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dk); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--accent-lt); color: var(--accent-dk); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-soft); }
.btn--sm { padding: .55rem 1.1rem; font-size: var(--fs-xs); }
.btn-group { display: flex; gap: .75rem; flex-wrap: wrap; justify-content: center; }
.btn-group.left { justify-content: flex-start; }

/* ----------------------------------------------------------- header / nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,245,241,.95);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .75rem; }
.brand-mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dk) 100%);
  display: grid; place-items: center; color: #fff;
  font-family: var(--ff-serif); font-size: 1.25rem; font-weight: 700;
  box-shadow: var(--shadow-sm); flex: 0 0 auto;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--ff-serif); font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.brand-sub { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint); }

/* Toggle lives OUTSIDE .main-nav so it stays visible when the panel is closed. */
.nav-toggle {
  display: none; background: transparent; border: 0; cursor: pointer;
  width: 44px; height: 44px; border-radius: 8px; position: relative; flex: 0 0 auto;
}
.nav-toggle:hover { background: var(--bg-soft); }
.nav-toggle .bar { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s var(--ease), opacity .15s; }
.nav-toggle .bar:nth-child(1){ top: 16px; }
.nav-toggle .bar:nth-child(2){ top: 22px; }
.nav-toggle .bar:nth-child(3){ top: 28px; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2){ opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-block; padding: .55rem .85rem; border-radius: 8px;
  font-size: var(--fs-sm); font-weight: 600; color: var(--ink-soft);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.nav-link:hover { background: var(--bg-soft); color: var(--ink); }
.nav-link.is-active { color: var(--accent); background: var(--accent-lt); }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; background: linear-gradient(160deg, #10151a 0%, #1c2a2c 55%, #0f2325 100%); color: #fff; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(169,126,44,.18), transparent 60%),
    radial-gradient(900px 500px at 0% 110%, rgba(15,95,98,.25), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.hero--center { text-align: center; }
.hero--center .eyebrow { color: #e9c877; }
.hero--center h1 { color: #fff; font-family: var(--ff-serif); font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin: 0 auto 1rem; max-width: 820px; }
.hero .lede { color: rgba(255,255,255,.82); font-size: var(--fs-lg); max-width: 640px; margin: 0 auto 2rem; }
.hero-badges { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.9); padding: .55rem 1rem; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600;
}
.badge svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* ------------------------------------------------------------ cards/grid */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--bg-elev); border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  display: flex; flex-direction: column;
}
a.card { display: flex; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.card-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.card-tag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.card-title { font-size: var(--fs-lg); font-weight: 700; color: var(--ink); margin: 0; }
.card-title a { color: inherit; }
.card-title a:hover { color: var(--accent); }
.card-desc { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }
.card-link { margin-top: auto; padding-top: .75rem; font-size: var(--fs-sm); font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: .4rem; }
.card-link:hover { gap: .7rem; }
.card-link svg { width: 16px; height: 16px; }

/* -------------------------------------------------------------- info band */
.info-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.info-tile { background: var(--bg-elev); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.5rem 1.4rem; box-shadow: var(--shadow-sm); }
.info-tile .ico { width: 46px; height: 46px; border-radius: 10px; background: var(--accent-lt); color: var(--accent); display: grid; place-items: center; margin-bottom: 1rem; }
.info-tile .ico svg { width: 24px; height: 24px; }
.info-tile h3 { font-size: var(--fs-md); margin: 0 0 .5rem; }
.info-tile p { font-size: var(--fs-sm); color: var(--ink-soft); }
.info-tile a { font-weight: 600; color: var(--accent); font-size: var(--fs-sm); display: inline-flex; align-items: center; gap: .35rem; }
.info-tile a svg { width: 15px; height: 15px; }

/* --------------------------------------------------------------- features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.feature-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.feature-media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; }
.feature-copy h2 { margin-bottom: 1rem; }
.feature-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .9rem; }
.feature-list li { display: flex; gap: .85rem; align-items: flex-start; }
.feature-list .tick { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--accent-lt); color: var(--accent); display: grid; place-items: center; margin-top: .15rem; }
.feature-list .tick svg { width: 14px; height: 14px; }
.feature-list strong { display: block; color: var(--ink); }
.feature-list span { color: var(--ink-soft); font-size: var(--fs-sm); }

/* ------------------------------------------------------------ artist card */
.artist-card { display: flex; flex-direction: column; background: var(--bg-elev); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.artist-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.artist-card .art { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.artist-card .art img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.artist-card:hover .art img { transform: scale(1.05); }
.artist-card .body { padding: 1.1rem 1.2rem 1.3rem; }
.artist-card .media-tag { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: .35rem; }
.artist-card h3 { font-size: var(--fs-md); margin: 0 0 .3rem; }
.artist-card p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }

/* ----------------------------------------------------------- artwork grid */
.artwork-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.25rem; }
.artwork { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: #fff; border: 1px solid var(--line-soft); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.artwork:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.artwork .thumb { aspect-ratio: 1/1; overflow: hidden; background: var(--bg-soft); }
.artwork .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.artwork:hover .thumb img { transform: scale(1.05); }
.artwork .cap { padding: .9rem 1rem 1.1rem; }
.artwork .cap h4 { font-size: var(--fs-sm); margin: 0 0 .2rem; }
.artwork .cap p { font-size: var(--fs-xs); color: var(--ink-faint); margin: 0; }

/* ------------------------------------------------------------------ steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.step { background: var(--bg-elev); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.75rem 1.5rem; box-shadow: var(--shadow-sm); }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem; }
.step h3 { font-size: var(--fs-md); margin: 0 0 .6rem; }
.step p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }

/* -------------------------------------------------------------------- faq */
.faq { display: grid; gap: 1rem; }
.faq details { background: var(--bg-elev); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 1.15rem 1.4rem; font-weight: 700; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-lt); color: var(--accent); display: grid; place-items: center; transition: transform .2s var(--ease), background .2s, color .2s; }
.faq summary .plus svg { width: 14px; height: 14px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--accent); color: #fff; }
.faq .faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: var(--fs-sm); }
.faq .faq-body p { margin: 0 0 .6rem; }
.faq .faq-body a { font-weight: 600; }

/* ---------------------------------------------------------------- contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
.contact-card { background: var(--bg-elev); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); }
.contact-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.contact-row:last-child { border-bottom: 0; }
.contact-row .ico { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 10px; background: var(--accent-lt); color: var(--accent); display: grid; place-items: center; }
.contact-row .ico svg { width: 22px; height: 22px; }
.contact-row .lbl { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: .2rem; }
.contact-row .val { font-size: var(--fs-md); font-weight: 600; color: var(--ink); }
.contact-row .val a { color: var(--accent); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line-soft); }
.map-embed iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; background: var(--bg-soft); }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.hours-table th, .hours-table td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line-soft); font-size: var(--fs-sm); }
.hours-table th { color: var(--ink-faint); font-weight: 600; text-transform: uppercase; font-size: var(--fs-xs); letter-spacing: .08em; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--accent); }

/* --------------------------------------------------------------- timeline */
.timeline { position: relative; padding-left: 2.5rem; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), var(--accent)); }
.tl-item { position: relative; padding: 0 0 2.25rem 0; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -2.5rem; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); box-shadow: var(--shadow-sm); }
.tl-item .year { font-family: var(--ff-serif); font-weight: 700; font-size: var(--fs-lg); color: var(--gold); margin-bottom: .25rem; }
.tl-item h3 { font-size: var(--fs-md); margin: 0 0 .4rem; }
.tl-item p { font-size: var(--fs-sm); color: var(--ink-soft); margin: 0; }

/* -------------------------------------------------------------- pullquote */
.pullquote { text-align: center; max-width: 720px; margin: 0 auto; padding: clamp(1rem, 3vw, 2rem) 0; }
.pullquote blockquote { font-family: var(--ff-serif); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; color: var(--ink); margin: 0 0 1rem; }
.pullquote cite { font-style: normal; color: var(--ink-faint); font-size: var(--fs-sm); }
.pullquote .mark { color: var(--gold); font-size: 2.5rem; line-height: 1; }

/* ------------------------------------------------------------------ stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat .n { font-family: var(--ff-serif); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; color: var(--accent); line-height: 1; }
.stat .l { font-size: var(--fs-sm); color: var(--ink-soft); margin-top: .5rem; }

/* -------------------------------------------------------- cta band */
.cta-band { position: relative; background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dk) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; overflow: hidden; box-shadow: var(--shadow-lg); }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 90% -20%, rgba(169,126,44,.25), transparent 60%); pointer-events: none; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); margin: 0 0 .75rem; position: relative; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 1.75rem; position: relative; }
.cta-band .btn-group { position: relative; }
.cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ------------------------------------------------- banner (inner pages) */
.banner { position: relative; background: linear-gradient(120deg, #14201f, #0e2225); color: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 95% 0%, rgba(233,200,119,.22), transparent 60%); pointer-events: none; }
.banner-inner { position: relative; z-index: 1; padding: clamp(2rem, 5vw, 3.5rem); }
.banner .eyebrow { color: #e9c877; }
.banner h1 { color: #fff; font-family: var(--ff-serif); font-size: var(--fs-2xl); margin-bottom: .75rem; }
.banner .lede { color: rgba(255,255,255,.8); max-width: 720px; margin: 0; }

/* ------------------------------------------------------------- breadcrumb */
.breadcrumb { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: var(--fs-xs); color: var(--ink-faint); padding: 1rem 0 0; }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: .5; }
.breadcrumb .current { color: var(--ink-soft); font-weight: 600; }

/* ---------------------------------------------------- page head (inner) */
.page-head { padding: clamp(1.75rem, 4vw, 3rem) 0 0; }
.page-head h1 { font-size: var(--fs-3xl); margin: 0 0 1rem; }
.page-head .lede { font-size: var(--fs-lg); color: var(--ink-soft); max-width: 720px; }
.page-head .rule { width: 56px; height: 3px; background: var(--gold); border-radius: 2px; margin-top: 1.5rem; }

/* ------------------------------------------------------- skip link (a11y) */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--accent); color: #fff; padding: .7rem 1.2rem; border-radius: 0 0 8px 0; font-weight: 600; }
.skip-link:focus { left: 0; }

/* ------------------------------------------------- reveal (JS-gated, no-JS safe) */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: #14181c; color: rgba(255,255,255,.7); margin-top: clamp(3rem, 7vw, 5rem); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; padding: clamp(2.5rem, 5vw, 3.5rem) 0 2.5rem; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: rgba(255,255,255,.45); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: var(--fs-sm); margin-top: 1rem; max-width: 340px; }
.footer-col h4 { color: #fff; font-size: var(--fs-sm); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-col ul a { color: rgba(255,255,255,.65); font-size: var(--fs-sm); }
.footer-col ul a:hover { color: #fff; }
.footer-col .addr { color: rgba(255,255,255,.6); font-size: var(--fs-sm); line-height: 1.8; }
.footer-col .addr a { color: #fff; font-weight: 600; }
.footer-hours { display: grid; gap: .35rem; font-size: var(--fs-sm); color: rgba(255,255,255,.6); }
.footer-hours div { display: flex; justify-content: space-between; gap: 1rem; }
.footer-hours b { color: #fff; font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.25rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { color: rgba(255,255,255,.4); font-size: var(--fs-xs); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.75); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .feature { gap: 2rem; }
}
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .main-nav {
    position: fixed; top: 68px; left: 0; right: 0; z-index: 90;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 1rem var(--gutter) 1.25rem;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
    max-height: calc(100vh - 68px); overflow: auto;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav-link { display: block; padding: .85rem 1rem; font-size: var(--fs-md); border-radius: 8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .feature { grid-template-columns: 1fr; gap: 2rem; }
  .info-band { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .btn-group { flex-direction: column; align-items: stretch; }
  .hero-badges { flex-direction: column; align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}