/* =========================================================
   Studio Elements — styles
   ========================================================= */

:root {
  --bg: #e8e4dc;
  --surface: #f3f0ea;
  --surface-2: #fffdf8;
  --ink: #1a1814;
  --muted: #6b6560;
  --accent: #3d6b5a;
  --accent-deep: #2f5446;
  --accent-soft: rgba(61, 107, 90, 0.14);
  --line: rgba(26, 24, 20, 0.12);
  --danger: #b42318;
  --font: "Sora", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --header-h: 76px;
  --radius: 18px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(61, 107, 90, 0.12), transparent 55%),
    radial-gradient(700px 380px at 0% 40%, rgba(26, 24, 20, 0.04), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent);
  color: #f7f5f0;
}

.btn--primary:hover {
  background: var(--accent-deep);
}

.btn--ghost {
  background: transparent;
  color: #f7f5f0;
  border-color: rgba(247, 245, 240, 0.45);
}

.btn--ghost:hover {
  border-color: #fff;
  color: #fff;
}

.contact .btn--ghost,
.form .btn--ghost {
  color: var(--ink);
  border-color: var(--line);
}

.contact .btn--ghost:hover,
.form .btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn--block {
  width: 100%;
}

/* Header */

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(232, 228, 220, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.logo img {
  border-radius: 10px;
  flex-shrink: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo em {
  font-style: italic;
  font-weight: 500;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav__link {
  padding: 0.55rem 0.8rem;
  color: rgba(26, 24, 20, 0.72);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav__link:hover {
  color: var(--ink);
  background: rgba(26, 24, 20, 0.05);
}

.nav__cta {
  margin-left: 0.35rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #f7f5f0;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav__cta:hover {
  background: var(--accent-deep);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: calc(var(--header-h) + 2.5rem) 0 4.5rem;
  overflow: hidden;
  color: #f7f5f0;
}

.hero__media,
.hero__scrim {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transform: scale(1.05);
  animation: hero-drift 22s ease-in-out infinite alternate;
}

@keyframes hero-drift {
  from { transform: scale(1.05) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.2%, -0.8%, 0); }
}

.hero__scrim {
  background:
    linear-gradient(90deg, rgba(18, 16, 12, 0.72) 0%, rgba(18, 16, 12, 0.35) 55%, rgba(18, 16, 12, 0.15) 100%),
    linear-gradient(180deg, rgba(18, 16, 12, 0.25) 0%, rgba(18, 16, 12, 0.15) 40%, rgba(18, 16, 12, 0.78) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
}

.hero__brand {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 4.8rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.08;
  letter-spacing: -0.02em;
  max-width: 12em;
}

.hero__sub {
  margin: 0 0 1.75rem;
  max-width: 34ch;
  color: rgba(247, 245, 240, 0.88);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */

.section {
  padding: clamp(4.5rem, 9vw, 7rem) 0;
}

.section__head {
  max-width: 38rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.section__lead {
  margin: 0;
  color: var(--muted);
  max-width: 48ch;
}

/* Intro */

.intro {
  padding-top: clamp(3.5rem, 7vw, 5rem);
}

.intro__grid {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
}

.intro__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 560;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.intro__text {
  margin: 0;
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 42ch;
}

/* Design carousel — How we work */

.design {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.design-carousel {
  position: relative;
}

.design-carousel__viewport {
  position: relative;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.design-slide {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 0;
  align-items: stretch;
}

.design-slide[hidden] {
  display: none !important;
}

.design-slide__media {
  background: #ddd8ce;
  min-height: 320px;
}

.design-slide__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.design-slide__copy {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.design-slide__num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.design-slide__copy h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.design-slide__copy p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.design-slide__deliver {
  margin: 0 !important;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--ink) !important;
}

.design-carousel__controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.design-carousel__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.design-carousel__btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.design-carousel__dots {
  display: flex;
  gap: 0.45rem;
  margin-left: 0.25rem;
}

.design-carousel__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(26, 24, 20, 0.22);
  cursor: pointer;
}

.design-carousel__dots button.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

.design-carousel__counter {
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.04em;
}

@media (max-width: 860px) {
  .design-slide {
    grid-template-columns: 1fr;
  }

  .design-slide__media img {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }
}

/* Services */

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service {
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service:hover {
  transform: translateY(-3px);
  border-color: rgba(61, 107, 90, 0.35);
  box-shadow: 0 16px 36px rgba(26, 24, 20, 0.08);
}

.service__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--accent);
}

.service h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.service p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Materials */

.materials {
  background: var(--ink);
  color: #f3f0ea;
}

.materials .eyebrow {
  color: #8fb9a6;
}

.materials .section__title {
  color: #f7f5f0;
}

.materials .section__lead,
.materials .check-list li {
  color: rgba(243, 240, 234, 0.78);
}

.materials__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.check-list {
  margin: 1.4rem 0 1.6rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.materials .check-list li::before {
  background: #8fb9a6;
  box-shadow: 0 0 0 4px rgba(143, 185, 166, 0.2);
}

.materials__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1.25rem;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(145deg, rgba(243, 240, 234, 0.08), rgba(243, 240, 234, 0.02));
  border: 1px solid rgba(243, 240, 234, 0.14);
}

.materials__panel span {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(243, 240, 234, 0.06);
  border: 1px solid rgba(243, 240, 234, 0.1);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-style: italic;
  color: #f3f0ea;
  transition: background 0.25s ease, transform 0.25s ease;
}

.materials__panel span:hover {
  background: rgba(61, 107, 90, 0.35);
  transform: translateY(-2px);
}

/* Spaces tabs — results */

.spaces-tabs__list {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: rgba(26, 24, 20, 0.06);
  border: 1px solid var(--line);
}

.spaces-tabs__tab {
  padding: 0.7rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.spaces-tabs__tab.is-active {
  background: var(--accent);
  color: #f7f5f0;
}

.spaces-tabs__tab:not(.is-active):hover {
  color: var(--ink);
  background: rgba(26, 24, 20, 0.05);
}

.spaces-tabs__panel[hidden] {
  display: none !important;
}

.spaces-tabs__intro {
  max-width: 40rem;
  margin-bottom: 1.35rem;
}

.spaces-tabs__intro h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 600;
}

.spaces-tabs__intro p {
  margin: 0;
  color: var(--muted);
}

.spaces-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.spaces-results figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.spaces-results__frame {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 0.45rem;
  background: #e0dbd2;
}

.spaces-results__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.45s ease;
}

.spaces-results figure:hover .spaces-results__frame img {
  transform: scale(1.03);
}

.spaces-results figcaption {
  padding: 0.7rem 0.9rem 0.9rem;
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 860px) {
  .spaces-results {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .spaces-results {
    grid-template-columns: 1fr;
  }
}

/* Process — planning boards */

.process.section {
  padding-top: clamp(2.5rem, 5vw, 3.75rem);
}

.spaces.section {
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
}

.planboard {
  --board-gap: clamp(1rem, 2.5vw, 1.5rem);
  position: relative;
  margin: 0;
  padding: 0.5rem 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--board-gap);
}

.planboard::before {
  content: "";
  position: absolute;
  top: calc(42% + 0.15rem);
  left: 4%;
  right: 4%;
  height: 0;
  border-top: 1.5px dashed rgba(61, 107, 90, 0.35);
  pointer-events: none;
  z-index: 0;
}

.planboard__sheet {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.planboard__sheet:nth-child(odd) .planboard__frame {
  transform: rotate(-1.25deg);
}

.planboard__sheet:nth-child(even) .planboard__frame {
  transform: rotate(1.1deg);
}

.planboard__sheet:hover .planboard__frame {
  transform: rotate(0deg) translateY(-4px);
}

.planboard__frame {
  margin: 0;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow:
    0 1px 0 rgba(255, 253, 248, 0.9) inset,
    0 14px 28px rgba(26, 24, 20, 0.08);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.planboard__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #ddd8ce;
}

.planboard__frame figcaption {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem 0.85rem;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(243, 240, 234, 0.65), transparent 70%),
    var(--surface-2);
}

.planboard__frame span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  flex-shrink: 0;
}

.planboard__frame h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.planboard__sheet > p {
  margin: 0;
  padding: 0 0.25rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* About */

.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  align-items: start;
}

.about__copy p:last-child {
  color: var(--muted);
  max-width: 46ch;
}

.registry {
  margin: 0;
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.registry div {
  display: grid;
  gap: 0.2rem;
}

.registry dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.registry dd {
  margin: 0;
}

.registry a:hover {
  color: var(--accent);
}

/* Contact */

.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.contact__direct {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.contact__direct li {
  display: grid;
  gap: 0.15rem;
}

.contact__direct span:first-child {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact__direct a:hover {
  color: var(--accent);
}

.form {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.6rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 18px 40px rgba(26, 24, 20, 0.06);
}

.form__field {
  display: grid;
  gap: 0.4rem;
}

.form__field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.form__field input,
.form__field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: rgba(107, 101, 96, 0.75);
}

.form__field input:focus,
.form__field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form__field.is-invalid input,
.form__field.is-invalid textarea {
  border-color: var(--danger);
}

.form__error {
  min-height: 1.1em;
  margin: 0;
  font-size: 0.82rem;
  color: var(--danger);
}

.form__success {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 0.75rem;
  padding: 2rem;
  text-align: center;
  background: rgba(243, 240, 234, 0.97);
  border-radius: inherit;
}

.form__success[hidden] {
  display: none !important;
}

.form__success h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
}

.form__success p {
  margin: 0;
  color: var(--muted);
}

/* Footer */

.footer {
  padding: 3.25rem 0 1.5rem;
  background: #161410;
  color: rgba(243, 240, 234, 0.72);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1.1fr 0.8fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(243, 240, 234, 0.12);
}

.logo--footer {
  color: #f3f0ea;
  margin-bottom: 0.75rem;
}

.footer__label {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 240, 234, 0.45);
}

.footer nav {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.footer a:hover {
  color: #8fb9a6;
}

.footer__copy {
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(243, 240, 234, 0.4);
}

/* Legal */

.legal-page {
  padding: calc(var(--header-h) + 3rem) 0 4rem;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 0 0 1rem;
}

.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.2rem;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

/* Reveal */

.reveal,
.reveal-hero {
  opacity: 0;
  transform: translateY(22px);
}

.reveal.is-in,
.reveal-hero.is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

/* Responsive */

@media (max-width: 960px) {
  .services__grid,
  .planboard,
  .materials__layout,
  .about__grid,
  .contact__grid,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .materials__layout,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .planboard {
    grid-template-columns: 1fr 1fr;
  }

  .planboard::before {
    display: none;
  }

  .planboard__sheet:nth-child(odd) .planboard__frame,
  .planboard__sheet:nth-child(even) .planboard__frame {
    transform: none;
  }
}

@media (max-width: 780px) {
  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(232, 228, 220, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.28s ease, opacity 0.28s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link,
  .nav__cta {
    margin: 0;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    text-align: left;
  }

  .nav__cta {
    text-align: center;
  }

  .services__grid,
  .planboard,
  .footer__grid,
  .materials__panel {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero__media img {
    animation: none !important;
  }

  .reveal,
  .reveal-hero {
    opacity: 1;
    transform: none;
  }
}
