/* Waiquicha Films — Modernist design system (dark inversion). Source of truth: design_handoff_waiquicha_films/README.md */

:root {
  --bg: #0d0c0c;
  --surface: #171514;
  --surface-2: #201e1d;
  --text: #f3f2f2;
  --text-2: #d7d3d3;
  --muted: #9b9797;
  --muted-2: #7d7979;
  --muted-3: #605d5d;
  --accent: #5186ee;
  --accent-hover: #3f6ed4;
  --accent-light: #7ba4f5;
  --accent-lighter: #c3d7fb;
  --divider: rgba(243, 242, 242, .28);
  --divider-strong: rgba(243, 242, 242, .35);
  --wc: 3;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Archivo", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-light); text-decoration: none; }
a:hover { color: var(--accent-lighter); }
::selection { background: rgba(81, 134, 238, .35); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input, textarea, button, select { font-family: inherit; }
button { cursor: pointer; }

.wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 15px 22px;
  border: 0;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); color: var(--bg); }
.btn-outline {
  border: 2px solid rgba(243, 242, 242, .4);
  color: var(--text);
  padding: 13px 22px;
  background: transparent;
}
.btn-outline:hover { border-color: var(--accent); color: var(--text); }

.icon-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 2px solid var(--divider-strong);
  color: var(--text);
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.icon-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 12, 12, .92);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--divider);
  transition: background .3s ease, box-shadow .3s ease;
}
.site-header.is-compact { background: rgba(13, 12, 12, .97); box-shadow: 0 12px 30px rgba(0, 0, 0, .45); }
.header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: padding .3s ease;
}
.site-header.is-compact .header-inner { padding: 9px 28px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.brand img { height: 78px; width: auto; transition: height .3s ease; }
.site-header.is-compact .brand img { height: 52px; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.main-nav a {
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.main-nav a.is-active { border-bottom-color: var(--accent); color: #fff; }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 2px solid var(--divider-strong);
  color: var(--text);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* ---------- Hero slider ---------- */
.hero {
  position: relative;
  border-bottom: 2px solid var(--divider);
  background: var(--bg);
}
.hero-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 460px;
  overflow: hidden;
}
.hero-track {
  display: flex;
  height: 100%;
  transition: transform .7s cubic-bezier(.65, .02, .28, 1);
}
.hero-slide {
  flex: 0 0 100%;
  position: relative;
  min-width: 0;
}
.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--surface);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(13, 12, 12, .88) 0%, rgba(13, 12, 12, .55) 46%, rgba(13, 12, 12, .08) 100%);
}
.hero-content {
  position: relative;
  height: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: none;
}
.hero-eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.hero-eyebrow .sq { width: 9px; height: 9px; background: var(--accent); display: block; }
.hero-eyebrow span { font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--text); }
.hero-content h2 {
  margin: 0;
  max-width: 20ch;
  font-size: clamp(30px, 4.6vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--text);
}
.hero-content p {
  margin: 16px 0 0;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text-2);
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; pointer-events: auto; }
.hero-controls {
  position: absolute;
  right: 28px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 3;
}
.hero-dots { display: flex; gap: 6px; align-items: center; }
.hero-dots button {
  width: 34px;
  height: 44px;
  border: 0;
  padding: 19px 0;
  background: transparent;
  display: block;
}
.hero-dots button:hover { opacity: .75; }
.hero-dots span { display: block; width: 34px; height: 6px; background: var(--divider-strong); }
.hero-dots button[aria-current="true"] span { background: var(--accent); }
.hero-arrows { display: flex; gap: 2px; }
.hero-arrows .icon-btn { background: rgba(13, 12, 12, .6); }
.hero-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: rgba(243, 242, 242, .14);
  z-index: 3;
}
.hero-progress-bar {
  height: 100%;
  background: var(--accent);
  transition: width .7s cubic-bezier(.65, .02, .28, 1);
  width: 25%;
}

/* ---------- Marquee ---------- */
.marquee {
  border-bottom: 2px solid var(--divider);
  background: var(--bg);
  overflow: hidden;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: wf-marquee 60s linear infinite;
  padding: 18px 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--muted-3);
  white-space: nowrap;
}
.marquee-group { display: flex; gap: 22px; padding-left: 22px; }
.marquee-group span.item { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; }
.marquee-group span.item .sq { width: 7px; height: 7px; background: var(--accent); display: block; flex: 0 0 auto; }

/* ---------- Hero copy + stats ---------- */
.intro {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 28px 48px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 56px;
  align-items: end;
}
.eyebrow {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.intro h1 {
  margin: 0;
  font-size: clamp(38px, 5.4vw, 76px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.lead {
  margin: 24px 0 0;
  max-width: 52ch;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}
.intro-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.stat-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 2px solid var(--divider);
  border-left: 2px solid var(--divider);
}
.stat-cell {
  padding: 20px;
  border-right: 2px solid var(--divider);
  border-bottom: 2px solid var(--divider);
}
.stat-cell dt { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stat-cell dd {
  margin: 6px 0 0;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.035em;
  font-variant-numeric: tabular-nums;
}

/* ---------- Section shell ---------- */
.section { border-top: 2px solid var(--divider); }
.section-alt { background: var(--surface); }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 32px;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 46px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.025em;
}
.section-head p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 56ch; }

.control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 2px solid var(--divider);
  padding: 14px 0 18px;
}
.fig-label { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-3); }
.control-arrows { display: flex; gap: 2px; }

/* ---------- About ---------- */
.about-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.about-grid > img.about-logo { height: 88px; width: auto; margin: 0 0 22px; }
.about-grid h2 { margin: 0 0 20px; font-size: clamp(26px, 3vw, 40px); font-weight: 900; line-height: 1.04; letter-spacing: -.025em; }
.about-grid p.body { margin: 0 0 14px; font-size: 16px; line-height: 1.6; max-width: 56ch; }
.about-grid p.body.dim { color: var(--muted); margin-bottom: 0; }
.about-grid p.body:not(.dim) { color: var(--text-2); }
.fact-row {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 2px;
  border-top: 2px solid var(--divider);
}
.fact-row div { padding: 16px 0; }
.fact-row .k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.fact-row .v { display: block; font-size: 16px; font-weight: 800; margin-top: 4px; }
.about-photo { position: relative; aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Carousels (locations / services) ---------- */
.carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-top: 2px solid var(--divider);
  border-left: 2px solid var(--divider);
}
.carousel::-webkit-scrollbar { display: none; }

.loc-card {
  flex: 0 0 clamp(230px, 23%, 290px);
  scroll-snap-align: start;
  border-right: 2px solid var(--divider);
  border-bottom: 2px solid var(--divider);
  background: var(--surface);
  transition: background .2s ease;
}
.loc-card:hover { background: var(--surface-2); }
.loc-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--bg);
  cursor: zoom-in;
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  transition: transform .6s cubic-bezier(.2, .7, .3, 1);
}
.loc-photo:hover { transform: scale(1.03); }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; }
.loc-photo .expand {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  background: rgba(13, 12, 12, .72);
  color: var(--text);
  pointer-events: none;
}
.loc-meta { padding: 14px 16px 16px; display: flex; align-items: baseline; gap: 10px; }
.loc-meta .idx { font-size: 10px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.loc-meta .name { display: block; font-size: 16px; font-weight: 800; letter-spacing: -.01em; }
.loc-meta .detail { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.map-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
  margin-top: 48px;
  border-top: 2px solid var(--divider);
  padding-top: 32px;
}
.map-box { position: relative; width: 100%; aspect-ratio: 4 / 5; min-height: 380px; }
.map-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-copy p.label { margin: 0 0 16px; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--muted-3); }
.map-copy h3 { margin: 0 0 16px; font-size: clamp(22px, 2.4vw, 32px); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.map-copy p.body { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: var(--text-2); max-width: 52ch; }
.climate-list { margin: 22px 0 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 2px solid var(--divider); }
.climate-list li { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 2px solid var(--divider); font-size: 14px; }
.climate-list li span:first-child { color: var(--muted); }
.climate-list li span:last-child { font-weight: 800; }
.map-credit { margin: 16px 0 0; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Services ---------- */
.svc-card {
  flex: 0 0 clamp(300px, 33.333%, 440px);
  scroll-snap-align: start;
  border-right: 2px solid var(--divider);
  border-bottom: 2px solid var(--divider);
  display: flex;
  flex-direction: column;
  transition: background .2s ease;
}
.svc-card:hover { background: var(--surface); }
.svc-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--surface);
  overflow: hidden;
  filter: saturate(.3) contrast(1.06) brightness(.9);
  transition: filter .5s ease;
}
.svc-card:hover .svc-photo { filter: saturate(1) contrast(1) brightness(1); }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1 1 auto; }
.svc-title { display: flex; align-items: baseline; gap: 12px; }
.svc-title .idx { font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--accent); }
.svc-title h3 { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -.015em; }
.svc-sub { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }
.svc-desc { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.svc-details { margin-top: auto; border-top: 2px solid var(--divider); padding-top: 12px; }
.svc-details summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text);
}
.svc-details summary::-webkit-details-marker { display: none; }
.svc-details summary:hover { color: var(--accent); }
.svc-details summary .sq { display: block; width: 8px; height: 8px; background: var(--accent); }
.svc-details ul { margin: 12px 0 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.svc-details li { font-size: 13px; line-height: 1.45; color: var(--text-2); padding-left: 14px; border-left: 2px solid var(--divider); }

/* ---------- Works ---------- */
.works-head {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 28px 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
}
.works-head h2 { margin: 0; font-size: clamp(28px, 3.4vw, 46px); font-weight: 900; line-height: 1.02; letter-spacing: -.025em; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(var(--wc, 3), minmax(0, 1fr));
  gap: 2px;
}
.works-grid figure { margin: 0; background: var(--surface); }
.works-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.works-photo img { width: 100%; height: 100%; object-fit: cover; }
.works-grid figcaption { padding: 16px 18px; color: var(--text); }
.works-grid figcaption .cat { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.works-grid figcaption .title { margin: 6px 0 0; font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.works-grid figcaption .meta { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Testimonial ---------- */
.testimonial { background: var(--accent); color: var(--bg); }
.testimonial-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 28px;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { margin: 0; font-size: clamp(24px, 3.2vw, 42px); font-weight: 900; line-height: 1.1; letter-spacing: -.025em; text-wrap: pretty; }
.testimonial-attr .name { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.testimonial-attr .role { margin: 6px 0 0; font-size: 13px; letter-spacing: .02em; opacity: .75; }

/* ---------- Contact ---------- */
.contact-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 56px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.contact-grid h2 { margin: 0 0 16px; font-size: clamp(28px, 3.4vw, 46px); font-weight: 900; line-height: 1.02; letter-spacing: -.025em; }
.contact-grid > div > p.lead { margin: 0 0 28px; max-width: 52ch; }
.contact-form { display: grid; gap: 18px; max-width: 620px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.field { display: grid; gap: 8px; }
.field span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select {
  background: var(--surface);
  border: 2px solid var(--divider);
  color: var(--text);
  font-size: 15px;
  padding: 13px 14px;
  border-radius: 0;
  transition: border-color .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent); outline: none; }
.field textarea { resize: vertical; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-submit {
  background: var(--accent);
  color: var(--bg);
  border: 0;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.form-submit:hover { background: var(--accent-hover); }
.form-submit:disabled { opacity: .6; cursor: progress; }
.form-note { font-size: 13px; color: var(--muted); }
.form-note.is-error { color: #f5a3a3; }
.form-note.is-ok { color: var(--accent-light); }

.contact-aside img { height: 80px; width: auto; margin: 0 0 24px; }
.contact-block { padding: 22px 0; border-bottom: 2px solid var(--divider); }
.contact-block:first-of-type { border-top: 2px solid var(--divider); }
.contact-block .k { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-block .v-lg { font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.contact-block .v-md { font-size: 17px; font-weight: 600; }
.contact-block p.v-body { margin: 0; font-size: 15px; color: var(--text-2); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 8, 8, .94);
  backdrop-filter: blur(6px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: wf-fade .22s ease-out both;
}
.lightbox[hidden] { display: none; }
.lb-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 26px; border-bottom: 2px solid var(--divider); }
.lb-header .eyebrow-sm { margin: 0; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.lb-header .lb-title { margin: 4px 0 0; font-size: 22px; font-weight: 900; letter-spacing: -.02em; color: var(--text); }
.lb-stage { position: relative; display: grid; place-items: center; padding: 26px; min-height: 0; }
.lb-stage img { max-width: min(100%, 960px); max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; animation: wf-zoom .34s cubic-bezier(.2, .7, .3, 1) both; }
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: rgba(13, 12, 12, .7);
  border: 2px solid var(--divider-strong);
  color: var(--text);
}
.lb-nav:hover { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.lb-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 26px; border-top: 2px solid var(--divider); }
.lb-footer p.meta { margin: 0; font-size: 14px; color: var(--text-2); }
.lb-footer p.hint { margin: 0; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--divider); background: var(--surface); }
.footer-top {
  max-width: 1440px;
  margin: 0 auto;
  padding: 36px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.footer-top img { height: 96px; width: auto; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--text); }
.footer-copy { margin: 0; font-size: 12px; color: var(--muted-2); }
.footer-sub { border-top: 2px solid var(--divider); }
.footer-sub-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: baseline;
  justify-content: space-between;
}
.footer-sub-inner p { margin: 0; }
.footer-credit { font-size: 13px; font-weight: 800; letter-spacing: .02em; color: var(--muted); }
.footer-credit a { color: var(--accent); font-weight: 900; }
.footer-credit a:hover { color: var(--accent-lighter); }
.footer-slogan { font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--muted-2); }

/* ---------- Reveal / animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s cubic-bezier(.2, .7, .3, 1), transform .8s cubic-bezier(.2, .7, .3, 1);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes wf-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes wf-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wf-zoom { from { opacity: 0; transform: scale(.94) translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wf-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

@media print {
  * { animation: none !important; transition: none !important; }
  .section, main > div { opacity: 1 !important; transform: none !important; break-inside: avoid; }
  .site-header { position: static !important; box-shadow: none !important; }
  details { display: none !important; }
  body { background: var(--bg) !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background: rgba(13, 12, 12, .98);
    border-bottom: 2px solid var(--divider);
    padding: 12px 28px 20px;
  }
  .site-header.nav-open .main-nav a { padding: 10px 0; width: 100%; }
  .site-header.nav-open .main-nav .btn { margin-top: 8px; }

  .intro, .about-grid, .map-row, .testimonial-inner, .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .about-photo { order: -1; aspect-ratio: 16/10; }
  .stat-grid { margin-top: 8px; }
  .section-head { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hero-viewport { min-height: 560px; aspect-ratio: auto; }
  .hero-content h2 { max-width: 100%; }
}

@media (max-width: 560px) {
  .wrap, .intro, .about-grid, .works-head, .contact-grid, .header-inner,
  .footer-top, .footer-sub-inner { padding-left: 18px; padding-right: 18px; }
  .section > .wrap, .hero-content, .testimonial-inner { padding-left: 18px; padding-right: 18px; }
  .works-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .hero-controls { right: 18px; }
  .loc-card, .svc-card { flex-basis: 82%; }
}
