/* ============================================================
   NORD Kitchens - Main Stylesheet
   Espacio-inspired editorial layout
   Palette: #F5F2EE / #1A1A1A / #C4AD96
   Fonts: Josefin Sans + DM Sans
   ============================================================ */

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

:root {
  --bg:         #F5F2EE;
  --dark:       #1A1A1A;
  --muted:      #7A756F;
  --accent:     #C4AD96;
  --accent-dk:  #A8937D;
  --white:      #FFFFFF;
  --border:     rgba(26,26,26,0.1);
  --font-h:     'Josefin Sans', sans-serif;
  --font-b:     'DM Sans', sans-serif;
  --nav-h:      68px;
  --ease:       cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-b);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.12s;
  white-space: nowrap;
  line-height: 1;
}
.btn:active { transform: scale(0.98) translateY(1px); }

.btn--dark    { background: var(--dark);   color: var(--white); }
.btn--dark:hover { background: #2e2e2e; }

.btn--sand    { background: var(--accent); color: var(--dark); }
.btn--sand:hover { background: var(--accent-dk); }

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.7);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--dark);
  border-color: var(--white);
}

.btn--ghost {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
}
.btn--ghost:hover { border-color: var(--dark); }

.btn--full { width: 100%; }
.btn--lg   { padding: 1.1rem 2.75rem; font-size: 0.8125rem; }

.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* ============================================================
   LABELS
   ============================================================ */
.intro__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-h);
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.intro__label--light { color: rgba(255,255,255,0.45); }
.intro__label--light .label-num { color: var(--accent); }

.label-num {
  color: var(--accent);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
}

/* ============================================================
   DRAWER (Appointment panel)
   ============================================================ */
.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(26,26,26,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 210;
  width: min(460px, 100vw);
  background: var(--bg);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease);
  display: flex;
  flex-direction: column;
}
.drawer:not([hidden]) { display: flex; }
.drawer.open { transform: translateX(0); }

.drawer__inner {
  padding: 3rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.drawer__close {
  position: absolute;
  top: 1.5rem; right: 1.75rem;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--dark);
  opacity: 0.5;
  transition: opacity 0.2s;
}
.drawer__close:hover { opacity: 1; }

.drawer__eyebrow {
  font-family: var(--font-h);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.drawer__title {
  font-family: var(--font-h);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.drawer__sub {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.6;
}

.drawer__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.form-group label {
  font-family: var(--font-h);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-group input,
.form-group textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.625rem 0;
  font-family: var(--font-b);
  font-size: 0.9375rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(26,26,26,0.3); }
.form-group input:focus,
.form-group textarea:focus { border-bottom-color: var(--dark); }

.form__note {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}
.form__success {
  padding: 0.875rem 1rem;
  background: rgba(196,173,150,0.15);
  border: 1px solid var(--accent);
  color: var(--accent-dk);
  font-size: 0.875rem;
  text-align: center;
}

.drawer__contact {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}
.drawer__contact a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
}
.drawer__contact a:hover { color: var(--dark); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem);
  transition: background 0.35s var(--ease), border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(245,242,238,0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.nav.hero-over {
  background: transparent;
  border-bottom-color: transparent;
}
.nav.hero-over .nav__logo,
.nav.hero-over .nav__items a,
.nav.hero-over .nav__appt { color: var(--white); }
.nav.hero-over .nav__items .nav__num { color: rgba(255,255,255,0.4); }
.nav.hero-over .nav__appt { border-color: rgba(255,255,255,0.5); }
.nav.hero-over .nav__appt:hover { background: var(--white); color: var(--dark); }
.nav.hero-over .nav__burger span { background: var(--white); }

.nav__logo {
  font-family: var(--font-h);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark);
  margin-right: auto;
  transition: color 0.3s;
}

.nav__items {
  display: flex;
  align-items: center;
  gap: 0;
}
.nav__items a {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  font-family: var(--font-h);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark);
  transition: color 0.2s;
}
.nav__items a:hover { color: var(--accent-dk); }
.nav__num {
  font-size: 0.55rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.nav__appt {
  font-family: var(--font-h);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  border: 1px solid var(--dark);
  color: var(--dark);
  padding: 0.6rem 1.25rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s;
  white-space: nowrap;
}
.nav__appt:hover { background: var(--dark); color: var(--white); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  width: 32px; height: 32px;
}
.nav__burger span {
  display: block;
  width: 22px; height: 1px;
  background: var(--dark);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__burger.open span:first-child { transform: translateY(6px) rotate(45deg); }
.nav__burger.open span:last-child  { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 0 2rem;
  width: 100%;
}
.mob-link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  width: 100%;
  transition: color 0.2s;
}
.mob-link span {
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.mob-link:hover { color: var(--accent-dk); }
.mob-appt {
  margin-top: 2rem;
  font-family: var(--font-h);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--dark);
  color: var(--white);
  border: none;
  padding: 1rem 2rem;
  cursor: pointer;
  width: 100%;
}

/* ============================================================
   HERO - full screen
   ============================================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__bg-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transform-origin: center;
}
.hero__bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 70% 30%, rgba(26,26,26,0.05) 0%, rgba(26,26,26,0.45) 70%),
    linear-gradient(to top, rgba(26,26,26,0.7) 0%, rgba(26,26,26,0.2) 50%, rgba(26,26,26,0.3) 100%);
}

/* Editorial: words scattered to corners */
.hero__content {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero__title {
  margin: 0;
  font-family: var(--font-h);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.9;
  color: var(--white);
}

.hero__word {
  position: absolute;
  display: block;
  will-change: transform, opacity;
}
.hero__word--tl {
  top: clamp(14vh, 20vh, 22vh);
  left: clamp(1.5rem, 5vw, 4rem);
  font-size: clamp(3rem, 9vw, 9rem);
}
.hero__word--mid {
  top: 44%;
  left: clamp(8vw, 30vw, 34vw);
  font-size: clamp(2.75rem, 7.5vw, 7.5rem);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.02em;
}
.hero__word--br {
  bottom: clamp(16vh, 20vh, 22vh);
  right: clamp(1.5rem, 5vw, 4rem);
  font-size: clamp(3rem, 9vw, 9rem);
  color: var(--sand);
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}
.hero__arrow {
  color: var(--sand);
  opacity: 0.8;
}

.hero__meta {
  position: absolute;
  bottom: clamp(2.5rem, 6vh, 5rem);
  left: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 280px;
}

.hero__sub {
  font-family: var(--font-b);
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.03em;
}
.hero__meta .btn { align-self: flex-start; }

.hero__scroll {
  position: absolute;
  bottom: clamp(2rem, 4vh, 3.5rem);
  right: clamp(1.5rem, 4vw, 3.5rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.hero__scroll span {
  font-family: var(--font-h);
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.25);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.7);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ============================================================
   INTRO / KITCHENS
   ============================================================ */
.intro {
  padding: clamp(5rem, 10vw, 9rem) clamp(1.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.intro__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}
.intro__body { max-width: 700px; }
.intro__heading {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.intro__text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 55ch;
  margin-bottom: 3rem;
}
.intro__stats {
  display: flex;
  gap: 3.5rem;
}
.stat__n {
  display: block;
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--dark);
}
.stat__l {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.projects__header {
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.projects__title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.projects__list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 500px;
  overflow: hidden;
}
.project-item--reverse {
  direction: rtl;
}
.project-item--reverse > * { direction: ltr; }

.project-item__img {
  overflow: hidden;
}
.project-item__img img {
  transition: transform 0.9s var(--ease);
}
.project-item:hover .project-item__img img {
  transform: scale(1.04);
}

.project-item__info {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--white);
}
.project-item--reverse .project-item__info {
  background: var(--dark);
}
.project-item--reverse .project-item__name { color: var(--white); }
.project-item--reverse .project-item__meta { color: rgba(255,255,255,0.45); }

.project-item__name {
  font-family: var(--font-h);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 0.75rem;
}
.project-item__meta {
  font-size: 0.8125rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* ============================================================
   PROCESS - dark bg
   ============================================================ */
.process {
  background: var(--dark);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
}
.process__header {
  max-width: 1200px;
  margin: 0 auto 3.5rem;
}
.process__title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--white);
}
.process__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.process__step {
  padding: 2.5rem 2rem 2.5rem;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.process__step:last-child { border-right: none; }
.process__num {
  display: block;
  font-family: var(--font-h);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 2rem;
}
.process__step h3 {
  font-family: var(--font-h);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.875rem;
  letter-spacing: 0.01em;
}
.process__step p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================================
   MATERIALS
   ============================================================ */
.materials {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
}
.materials__header {
  max-width: 1200px;
  margin: 0 auto 3rem;
}
.materials__title {
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
.materials__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.mat-item {}
.mat-item__img {
  height: 280px;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.mat-item__img img { transition: transform 0.7s var(--ease); }
.mat-item:hover .mat-item__img img { transform: scale(1.05); }
.mat-item h3 {
  font-family: var(--font-h);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.mat-item p {
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 620px;
  border-bottom: 1px solid var(--border);
}
.about__img-col {
  overflow: hidden;
}
.about__img-col img {
  height: 100%;
  transition: transform 0.9s var(--ease);
}
.about__img-col:hover img { transform: scale(1.03); }
.about__text-col {
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  background: var(--bg);
}
.about__title {
  font-family: var(--font-h);
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
.about__text-col p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
  max-width: 48ch;
}
.about__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}
.about__list li {
  font-size: 0.8125rem;
  color: var(--dark);
  padding-left: 1rem;
  position: relative;
}
.about__list li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 1px;
  background: var(--accent);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  padding: clamp(5rem, 10vw, 10rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  background: var(--dark);
}
.contact-section__title {
  font-family: var(--font-h);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 1rem;
}
.contact-section__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  margin-bottom: 2.5rem;
}
.contact-section__ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.contact-section .btn--ghost {
  color: rgba(255,255,255,0.6);
  border-color: rgba(255,255,255,0.2);
}
.contact-section .btn--ghost:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.contact-section__address {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
  letter-spacing: 0.03em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem clamp(1.5rem, 5vw, 4rem);
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.footer__logo {
  font-family: var(--font-h);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white);
}
.footer__copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-weight: 300;
}
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer__links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav__items { display: none; }
  .nav__appt  { display: none; }
  .nav__burger { display: flex; }

  .intro__inner { grid-template-columns: 1fr; gap: 2rem; }

  .project-item { grid-template-columns: 1fr; min-height: auto; }
  .project-item--reverse { direction: ltr; }
  .project-item__img { height: 60vw; }
  .project-item__info { padding: 2rem 1.5rem; }

  .process__grid { grid-template-columns: 1fr 1fr; }
  .process__step { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .process__step:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }

  .materials__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .about { grid-template-columns: 1fr; }
  .about__img-col { height: 55vw; }
}

@media (max-width: 640px) {
  /* Hero: collapse scattered words into a left-bottom stack */
  .hero__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 1.5rem clamp(9rem, 24vh, 12rem);
  }
  .hero__word,
  .hero__word--tl,
  .hero__word--mid,
  .hero__word--br {
    position: static;
    inset: auto;
    text-align: left;
    align-items: flex-start;
    font-size: clamp(2.75rem, 13vw, 4.5rem);
    line-height: 0.95;
  }
  .hero__word--mid { margin-left: 0.5em; }
  .hero__arrow { display: none; }
  .hero__meta {
    bottom: clamp(2rem, 6vh, 3rem);
    max-width: 320px;
  }

  .intro__stats { flex-direction: column; gap: 1.5rem; }
  .process__grid { grid-template-columns: 1fr; }
  .process__step { border-right: none !important; }
  .materials__grid { grid-template-columns: 1fr; }
  .about__list { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up { opacity: 1; transform: none; }
  .hero__word { opacity: 1 !important; transform: none !important; }
  @keyframes scrollLine { 0%, 100% { top: 0; } }
}
