:root {
  --white: hsl(0 0% 98.04%);
  --black: #000;
  --ink: hsl(0 0% 10.98%);
  --accent: hsl(0 0% 86.27%);
  --pad: min(123px, 6.40625vw);
  --max: 1500px;
  --header-h: 106px;
  --heading: "Gotham", "Montserrat", sans-serif;
  --body: "Gotham", "Montserrat", sans-serif;
  --meta: "Gotham", "Montserrat", sans-serif;
  --h-ls: 0;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --fs-display: clamp(28px, 2.777vw, 53.32px);
  --lh-display: 1.2;
  --fs-card: clamp(18px, 1.648vw, 31.65px);
  --lh-card: 1.2;
  --fs-text: clamp(15px, 1.0417vw, 20px);
  --lh-text: 1.2;
  --fs-nav: clamp(13px, 1.092vw, 20.97px);
  --gap-after-display: clamp(36px, 3.797vw, 72.9px);
  --gap-after-footer-display: clamp(48px, 5.083vw, 97.6px);
  --section-y: min(162px, 8.44vw);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
html:has(body.admin-bar) {
  scroll-padding-top: calc(var(--header-h) + 44px);
}
@media (max-width: 782px) {
  html:has(body.admin-bar) {
    scroll-padding-top: calc(var(--header-h) + 58px);
  }
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--black);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: var(--body);
  font-weight: 300;
}

body {
  overflow-x: clip;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

.skip-link {
  position: absolute;
  left: 1.3em;
  top: -100px;
  background: #fff;
  color: #000;
  padding: 0.5em 0.8em;
  z-index: 10000;
}
.skip-link:focus { top: 1em; }

h1, h2, h3, h4 {
  font-family: var(--heading);
  font-weight: 300;
  letter-spacing: var(--h-ls);
  line-height: var(--lh-display);
  margin: 0;
}

h1 { font-size: clamp(2.4rem, 8vw, 6.2rem); }
h2 { font-size: clamp(2rem, 5.5vw, 4.5rem); }
h3 { font-size: clamp(1.55rem, 3.6vw, 3rem); }
h4 { font-size: clamp(1.15rem, 2.2vw, 2rem); }

p { margin: 0; }

.wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-inline: var(--pad);
  box-sizing: border-box;
}

.section {
  padding: var(--section-y) 0;
}

.section-head {
  margin-bottom: clamp(1.8rem, 3.4vw, 3.2rem);
}

.text-lg {
  font-size: clamp(1.05rem, 1.4vw, 1.5rem);
  line-height: 1.3;
}

.text-sm {
  font-size: 0.9rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  color: #000;
  background: var(--white);
}

.admin-bar .site-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px var(--pad);
  padding-top: calc(10px + env(safe-area-inset-top, 0px));
  min-height: var(--header-h);
  height: var(--header-h);
  box-sizing: border-box;
}

@media (max-width: 767px) {
  :root { --header-h: 98px; --pad: 5.5vw; }
  .header-inner {
    padding: 8px var(--pad);
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    min-height: var(--header-h);
    height: calc(var(--header-h) + env(safe-area-inset-top, 0px));
  }
}

.site-logo {
  display: flex;
  align-items: center;
  height: 28px;
}
.site-logo img {
  height: 28px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.4rem, 2.6vw, 2.6rem);
}
.header-nav a {
  font-size: var(--fs-nav);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2em 0;
  line-height: 1;
}
.header-nav a:hover { opacity: 0.55; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 0 var(--pad);
  box-sizing: border-box;
  height: calc(100vh - var(--header-h));
  height: calc(100dvh - var(--header-h));
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  display: flex;
  flex-direction: column;
}
.hero.hero-bleed {
  padding: 0;
}
.hero img,
.hero-slides {
  width: 100%;
  object-fit: cover;
  background: #111;
}
.hero > img,
.hero-slides {
  flex: 1;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
}
.hero-slides {
  position: relative;
  overflow: hidden;
}
.hero-slides .hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  cursor: pointer;
  transition: opacity 1s var(--ease);
}
.hero-slides .hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero-slides .hero-slide img,
.hero-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: none;
}

@media (max-width: 767px) {
  .hero {
    height: auto;
    max-height: none;
    aspect-ratio: 3 / 2;
  }
  .hero > img,
  .hero-slides {
    flex: none;
    height: 100%;
  }
}

/* ---------- Intro ---------- */
#intro.section {
  padding-top: var(--section-y);
  padding-bottom: calc(var(--section-y) / 2);
}
.intro-grid {
  display: grid;
  gap: 1.8rem;
}
.intro-grid h1,
.intro-grid h3 {
  font-size: var(--fs-display);
  line-height: var(--lh-display);
  max-width: 11em;
}
@media (min-width: 900px) {
  .intro-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 5vw;
    align-items: start;
  }
  .intro-copy {
    padding-top: 0.55em;
  }
}
.intro-copy {
  max-width: 32em;
  font-size: var(--fs-text);
  line-height: var(--lh-text);
}
.intro-copy p + p {
  margin-top: 1em;
}

.home #intro .intro-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.home #intro .intro-grid h3,
.post-type-archive-projeto #intro .intro-grid h1 {
  text-transform: uppercase;
  max-width: none;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin: 0;
}
.post-type-archive-projeto #intro .intro-grid {
  display: flex;
  align-items: center;
  justify-content: center;
}
.post-type-archive-projeto #intro .intro-grid h1 {
  width: 100%;
  text-align: center;
}
.home #intro .intro-copy {
  padding-top: 0;
  margin-top: 0;
  max-width: min(52em, 100%);
  line-height: 1.45;
}

/* ---------- Projects ---------- */
#projetos {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
#quem-somos,
#servicos,
#intro,
#footer-sections {
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.admin-bar #projetos,
.admin-bar #quem-somos,
.admin-bar #servicos,
.admin-bar #intro,
.admin-bar #footer-sections {
  scroll-margin-top: calc(var(--header-h) + 48px);
}
.projetos-section.section {
  padding-top: 0;
  padding-bottom: var(--section-y);
}
.projetos-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
.projetos-row .projects-track {
  width: 100%;
}
.projetos-all {
  display: inline-flex;
  align-self: center;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding: 0.2em 0;
  font-family: inherit;
  font-size: var(--fs-nav);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  color: #000;
  box-shadow: inset 0 -1px 0 transparent;
  transition: box-shadow 0.2s var(--ease);
}
.projetos-all:hover,
.projetos-all:focus-visible {
  box-shadow: inset 0 -1px 0 #000;
}
.projects-track {
  --tile-gap: 10px;
  --cols: 3;
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: 1fr 1fr;
  grid-auto-columns: calc((100% - (var(--cols) - 1) * var(--tile-gap)) / var(--cols));
  gap: var(--tile-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--pad);
  box-sizing: border-box;
}
.projects-track::-webkit-scrollbar { display: none; }
@media (max-width: 767px) {
  .projects-track {
    --cols: 1;
    --tile-gap: 8px;
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: 1fr;
    grid-auto-columns: auto;
    overflow-x: visible;
    scroll-snap-type: none;
  }
}
.projetos-archive.projetos-section {
  padding-top: 0;
  padding-bottom: var(--section-y);
}
.post-type-archive-projeto #intro.section {
  padding-top: var(--section-y);
  padding-bottom: calc(var(--section-y) / 2);
}
.projetos-archive .projects-track {
  grid-auto-flow: row;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: none;
  grid-auto-columns: auto;
  overflow-x: visible;
  scroll-snap-type: none;
}
@media (max-width: 767px) {
  .projetos-archive .projects-track {
    grid-template-columns: 1fr;
  }
}

.project-tile {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #111;
  display: block;
  scroll-snap-align: start;
}
.project-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s var(--ease), opacity 0.35s var(--ease);
}
.project-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.project-tile:hover img,
.project-tile:focus-visible img {
  transform: scale(1.04);
}
.project-tile:hover::after,
.project-tile:focus-visible::after {
  opacity: 0.22;
}

.slide-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #111;
  margin-bottom: 6%;
}
.slide-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2%;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 300px;
  padding: 0.72em 1.35em;
  font-size: 0.8rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn:hover { opacity: 0.78; }

@media (max-width: 767px) {
  .section {
    padding: var(--section-y) 0;
  }
}

/* ---------- Explore ---------- */
.explore-list {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}
.explore-item {
  display: grid;
  gap: 1.1rem;
}
@media (min-width: 900px) {
  .explore-item {
    grid-template-columns: 1.4fr 0.8fr;
    gap: 3vw;
    align-items: end;
  }
}
.explore-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.explore-copy .label {
  font-size: clamp(1.05rem, 1.4vw, 1.5rem);
}
.explore-copy hr {
  border: 0;
  border-top: 1px solid #000;
  margin: 0.85rem 0 1rem;
  width: 100%;
}
.explore-copy a:hover { opacity: 0.6; }

/* ---------- Clients ---------- */
.clients-grid {
  display: grid;
  gap: 2.2rem;
}
@media (min-width: 768px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 3vw; }
}
.client-year {
  margin-bottom: 0.7rem;
}
.client-names {
  font-size: clamp(1.05rem, 1.4vw, 1.5rem);
  line-height: 1.35;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
    align-items: start;
  }
}
.contact-lead {
  margin-top: 1.4rem;
  max-width: 34em;
}

.form {
  display: grid;
  gap: 1.15rem;
}
.field label {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
}
.field.req label::after {
  content: " *";
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 1px solid #000;
  border-radius: 8px;
  padding: 0.85rem 0.95rem;
  font-size: 1rem;
  color: #000;
  outline: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus {
  outline: 1px solid #000;
  outline-offset: 2px;
}
.name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.btn-label {
  background: none;
  border: 0;
  padding: 0.4rem 0;
  font-size: 1rem;
  font-weight: 300;
  cursor: pointer;
  text-align: left;
  width: fit-content;
  border-bottom: 1px solid #000;
}
.btn-label:hover { opacity: 0.55; }
.form-ok {
  font-size: 1.15rem;
  padding: 1rem 0;
}
.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
@media (max-width: 767px) {
  .name-row { grid-template-columns: 1fr; }
}

/* ---------- Black page sections (Quem somos + footer) ---------- */
.page-section.section-black,
.section-black {
  background: #000;
  color: #fff;
}
.section-black a { color: #fff; }

.content-wrapper {
  width: 100%;
  margin: 0;
  padding: var(--section-y) var(--pad);
  box-sizing: border-box;
}

#quem-somos .content-wrapper.about-stage {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.about-stage {
  display: grid;
  gap: clamp(1.8rem, 4vw, 3rem);
  align-items: start;
}
.about-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  min-width: 0;
}
.about-headline {
  margin: 0 0 var(--gap-after-display);
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: var(--lh-display);
  letter-spacing: 0;
  text-transform: uppercase;
}
.about-cols {
  display: grid;
  gap: clamp(1.8rem, 3.4vw, 3.2rem);
}
.about-studio,
.about-bio {
  margin: 0;
  line-height: var(--lh-text);
  font-size: var(--fs-text);
  font-weight: 300;
  letter-spacing: 0;
}
.about-name {
  margin: 0 0 1.2em;
  font-size: var(--fs-text);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}
@media (min-width: 900px) {
  .about-stage {
    grid-template-columns: minmax(0, 1.22fr) minmax(300px, 0.78fr);
    column-gap: clamp(2.2rem, 4.2vw, 4.8rem);
  }
  .about-cols {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.8rem, 3vw, 3.2rem);
    align-items: start;
  }
  .about-photo {
    min-height: 0;
  }
}

/* ---------- Services ---------- */
#servicos.section {
  padding: var(--section-y) 0;
  background: #fff;
}
.services-stage {
  display: grid;
  gap: clamp(2.2rem, 4vw, 4rem);
  align-items: start;
}
.services-title {
  margin: 0;
  font-size: var(--fs-display);
  font-weight: 300;
  line-height: var(--lh-display);
  letter-spacing: 0;
  text-transform: uppercase;
}
.services-cards {
  display: grid;
  gap: clamp(1rem, 2vw, 1.6rem);
}
.service-card {
  border: 2px solid #000;
  border-radius: 12px;
  padding: clamp(1.5rem, 2.4vw, 2.15rem) clamp(1.3rem, 2vw, 1.9rem) clamp(1.7rem, 2.6vw, 2.4rem);
  min-height: 100%;
  background: #fff;
}
.service-card h3 {
  font-size: var(--fs-card);
  font-weight: 300;
  line-height: var(--lh-card);
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0 0 1.22em;
}
.service-card ul {
  margin: 0;
  padding: 0 0 0 1.15em;
  display: grid;
  gap: 0.475em;
}
.service-card li {
  font-size: var(--fs-text);
  line-height: var(--lh-text);
  font-weight: 300;
}
@media (min-width: 900px) {
  .services-stage {
    grid-template-columns: minmax(220px, 0.86fr) minmax(0, 1.7fr);
    column-gap: clamp(2rem, 5vw, 5.5rem);
  }
  .services-cards {
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
  }
}

/* ---------- Project page (PDF 1920: título 53.32 / corpo 20 / lh 24 / col 702) ---------- */
.single-projeto #intro.section.project-about,
.project-about.section {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.single-projeto #intro .intro-grid,
.single-projeto #intro .project-about-grid,
.project-about-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: min(42.67px, 2.222vw);
  max-width: 88rem;
}
.single-projeto #intro .project-about-grid h1,
.project-about-grid h1 {
  margin: 0;
  max-width: none;
  font-family: var(--heading);
  font-size: var(--fs-display);
  font-weight: 400;
  line-height: var(--lh-display);
  letter-spacing: 0;
  text-transform: uppercase;
}
.single-projeto #intro .project-about-copy,
.project-about-copy {
  max-width: 88rem;
  padding-top: 0;
  margin: 0;
  font-family: var(--body);
  font-size: var(--fs-text);
  font-weight: 400;
  line-height: var(--lh-text);
}
.single-projeto #intro .project-about-copy p,
.project-about-copy p {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}
.single-projeto #intro .project-about-copy p + p,
.project-about-copy p + p {
  margin-top: 24px;
}
@media (max-width: 767px) {
  .single-projeto #intro .project-about-copy p + p,
  .project-about-copy p + p {
    margin-top: 1.2em;
  }
  .single-projeto #intro .project-about-copy br,
  .project-about-copy br {
    display: none;
  }
}

.project-intro {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}
.project-intro h1 {
  margin-bottom: clamp(1.4rem, 3vw, 2.4rem);
}
.project-facts {
  display: grid;
  gap: 1.4rem 2.4rem;
}
@media (min-width: 800px) {
  .project-facts {
    grid-template-columns: 0.7fr 0.9fr 1.8fr;
    align-items: start;
  }
}
.project-facts .text-sm {
  font-size: 0.9rem;
}
.project-body {
  max-width: 42em;
  line-height: 1.4;
}

.project-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 0 var(--pad) var(--section-y);
}
.project-gallery.is-grid {
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .project-gallery.is-grid {
    grid-template-columns: 1fr 1fr;
  }
}
.project-gallery figure {
  margin: 0;
  background: #111;
  overflow: hidden;
}
.project-gallery img {
  width: 100%;
  height: auto;
  display: block;
}
.project-gallery.is-grid img {
  height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 var(--pad);
}
@media (min-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: #000;
  color: #fff;
  border-top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding-top: 0;
  padding-bottom: 0;
}
.site-footer p,
.site-footer a,
.site-footer .footer-tagline,
.site-footer .footer-lead,
.site-footer .footer-cta {
  color: #fff;
}
.site-footer svg {
  fill: #fff;
}
.site-footer .content-wrapper.footer-stage {
  flex: 1 1 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding-top: var(--section-y);
  padding-right: var(--pad);
  padding-bottom: var(--section-y);
  padding-left: var(--pad);
  box-sizing: border-box;
}
.footer-copy {
  max-width: 42rem;
}
.footer-tagline {
  font-size: var(--fs-display);
  font-weight: 300;
  letter-spacing: 0;
  line-height: var(--lh-display);
  text-transform: uppercase;
  margin: 0 0 var(--gap-after-footer-display);
}
.footer-lead {
  max-width: 38em;
  font-size: var(--fs-text);
  font-weight: 300;
  line-height: var(--lh-text);
  margin: 0 0 1.2em;
}
.footer-cta {
  max-width: 38em;
  font-size: var(--fs-text);
  font-weight: 300;
  line-height: var(--lh-text);
  margin: 0 0 2.36em;
}
.footer-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em 2.4em;
}
.footer-email,
.site-footer .footer-social-link {
  font-size: var(--fs-text);
  font-weight: 300;
  line-height: var(--lh-text);
  color: #fff;
  padding: 0 0 0.08em;
  box-shadow: inset 0 -1px 0 transparent;
  transition: box-shadow 0.2s var(--ease);
}
.footer-email:hover,
.footer-email:focus-visible,
.site-footer .footer-social-link:hover,
.site-footer .footer-social-link:focus-visible {
  opacity: 1;
  color: #fff;
  box-shadow: inset 0 -1px 0 #fff;
}
.footer-logo {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin-top: clamp(1.6rem, 2.4vw, 2.2rem);
}
.footer-logo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
  filter: none;
}
@media (max-width: 767px) {
  .site-footer .content-wrapper.footer-stage {
    min-height: 100%;
    padding-top: var(--section-y);
    padding-bottom: var(--section-y);
  }
}

@media (max-width: 767px) {
  .about-studio br,
  .about-bio br,
  .footer-lead br,
  .service-card li br {
    display: none;
  }
}

.home #quem-somos,
.home #servicos.section,
.single-projeto .project-about.section,
.project-intro {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.home #intro.section {
  padding-top: var(--section-y);
  padding-bottom: calc(var(--section-y) / 2);
}

.home .projetos-section {
  padding-top: 0;
  padding-bottom: var(--section-y);
}

.home #quem-somos .content-wrapper.about-stage {
  padding-top: 0;
  padding-bottom: 0;
}

@media (max-width: 767px) {
  .site-footer {
    min-height: 100vh;
    min-height: 100dvh;
  }
}

/* ---------- Motion ---------- */
.reveal {
  opacity: 0;
  filter: blur(18px);
  transform: translateY(14px);
  transition:
    opacity 0.95s var(--ease) var(--d, 0s),
    filter 1.05s var(--ease) var(--d, 0s),
    transform 0.95s var(--ease) var(--d, 0s);
}
.reveal.is-in {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

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