/* ==========================================================================
   LABEEUW SCHRIJNWERKERIJ — Design System
   Hyper-luxury Belgian carpentry. Inspired by Obumex, Vincent Van Duysen, GDC Concept.
   Architectural minimalism. Moody warmth. Obsessive refinement.
   ========================================================================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Fahkwang:wght@200;300;400;500&display=swap');

:root {
  --font-display: 'IvyPresto Display', 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Fahkwang', 'Helvetica Neue', sans-serif;

  /* Palette — 3 colors: off-white, near-black, warm grey */
  --color-bg: #F5F1EC;
  --color-bg-warm: #EDEAE5;
  --color-bg-dark: #1A1714;
  --color-bg-deep: #0F0D0B;
  --color-text: #1A1714;
  --color-text-light: #F5F1EC;
  --color-text-muted: #9B958D;
  --color-accent: #9B958D;
  --color-accent-light: #C4BDB5;
  --color-border: rgba(26, 23, 20, 0.10);
  --color-border-light: rgba(245, 241, 236, 0.12);

  /* Spacing — generous and refined */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2.5rem;
  --space-lg: 5rem;
  --space-xl: 8rem;
  --space-xxl: 12rem;

  /* Transitions — smooth and deliberate */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-subtle: cubic-bezier(0.42, 0, 0.58, 1);
  --duration-fast: 0.3s;
  --duration-med: 0.6s;
  --duration-slow: 1s;
  --duration-reveal: 1.2s;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.7;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  position: relative;
}

::selection {
  background-color: var(--color-accent);
  color: var(--color-text-light);
}

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

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

/* --- Custom Cursor (Desktop Only) --- */
@media (hover: hover) and (pointer: fine) {
  :root {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="none" stroke="%231A1714" stroke-width="1.5"/></svg>') 10 10, auto;
  }

  a, button, [role="button"] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="%231A1714"/></svg>') 10 10, auto;
  }

  .nav.dark a,
  .nav.dark button,
  .section--dark a,
  .section--dark button {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><circle cx="10" cy="10" r="8" fill="%23F5F1EC"/></svg>') 10 10, auto;
  }
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: -0.02em;
  margin: 0;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  letter-spacing: -0.01em;
  margin: 0;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  letter-spacing: 0;
  margin: 0;
}

h4 {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  letter-spacing: 0.03em;
  margin: 0;
}

p {
  font-size: clamp(0.82rem, 1vw, 0.92rem);
  max-width: 560px;
  margin: 0;
  line-height: 1.85;
}

.label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  display: inline-block;
}

.label-serif {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--wide {
  max-width: 1600px;
}

.container--narrow {
  max-width: 900px;
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--asymmetric { grid-template-columns: 1fr 1.4fr; }
.grid--asymmetric-reverse { grid-template-columns: 1.4fr 1fr; }

section {
  padding: var(--space-xxl) 0;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-md) 0;
  transition: all var(--duration-med) var(--ease-out);
  background: transparent;
}

.nav.scrolled {
  padding: var(--space-sm) 0;
  background: rgba(245, 241, 236, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(26, 23, 20, 0.08);
}

.nav.dark {
  color: var(--color-text-light);
}

.nav.dark.scrolled {
  background: rgba(15, 13, 11, 0.92);
  box-shadow: 0 1px 0 rgba(245, 241, 236, 0.08);
}

.nav.light {
  color: var(--color-text);
}

.nav.light.scrolled {
  background: rgba(245, 241, 236, 0.92);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-lg);
}

.nav__logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  z-index: 1001;
}

.nav__logo img {
  width: 200px;
  height: auto;
  margin-bottom: 2px;
}

.nav__logo-main {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.nav__logo-sub {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  opacity: 0.6;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
}

.nav__links a {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
  transition: opacity var(--duration-fast) var(--ease-out);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width var(--duration-med) var(--ease-out);
}

.nav__links a:hover {
  opacity: 0.7;
}

.nav__links a:hover::after,
.nav__links a.active::after {
  width: 100%;
}

/* --- Hamburger Menu --- */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 8px;
  color: inherit;
  -webkit-appearance: none;
  appearance: none;
  transition: transform var(--duration-fast) var(--ease-out);
}

.nav.light .nav__hamburger {
  color: var(--color-text);
}

.nav.dark .nav__hamburger {
  color: var(--color-text-light);
}

/* When menu is open, always show light lines (over dark overlay) */
.nav__hamburger.open {
  color: var(--color-text-light);
}

.nav__hamburger span {
  display: block;
  width: 28px;
  height: 1px;
  background: currentColor;
  transition: all var(--duration-fast) var(--ease-out);
}

.nav__hamburger:hover {
  transform: scale(1.1);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--color-bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-med) var(--ease-out);
  z-index: 999;
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav__mobile a {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--color-text-light);
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--duration-med) var(--ease-out);
}

.nav__mobile.open a {
  opacity: 1;
  transform: translateY(0);
}

.nav__mobile.open a:nth-child(1) { transition-delay: 0.1s; }
.nav__mobile.open a:nth-child(2) { transition-delay: 0.15s; }
.nav__mobile.open a:nth-child(3) { transition-delay: 0.2s; }
.nav__mobile.open a:nth-child(4) { transition-delay: 0.25s; }
.nav__mobile.open a:nth-child(5) { transition-delay: 0.3s; }

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding: 0;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-dark);
  transform: scale(1.05);
  transition: transform 1.5s var(--ease-out);
}

.hero.loaded .hero__bg {
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 13, 11, 0.7) 0%,
    rgba(15, 13, 11, 0.2) 40%,
    rgba(15, 13, 11, 0.05) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-lg);
  color: var(--color-text-light);
  width: 100%;
}

.hero__title {
  margin-bottom: var(--space-sm);
  overflow: hidden;
}

.hero__title span {
  display: block;
  transform: translateY(100%);
  transition: transform var(--duration-reveal) var(--ease-out);
}

.hero.loaded .hero__title span {
  transform: translateY(0);
}

.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(0.8rem, 1.1vw, 0.95rem);
  letter-spacing: 0.15em;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--duration-slow) var(--ease-out) 0.4s;
}

.hero.loaded .hero__subtitle {
  opacity: 0.7;
  transform: translateY(0);
}

.hero__scroll {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-lg);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-light);
  opacity: 0.5;
}

.hero__scroll span {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: currentColor;
  animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(0.5); opacity: 1; }
}

/* --- Inner Page Hero --- */
.page-hero {
  position: relative;
  height: 60vh;
  min-height: 450px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--color-bg-dark);
  transform: scale(1.05);
  transition: transform 1.5s var(--ease-out);
}

.page-hero.loaded .page-hero__bg {
  transform: scale(1);
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 13, 11, 0.65) 0%,
    rgba(15, 13, 11, 0.15) 100%
  );
}

.page-hero__content {
  position: relative;
  z-index: 2;
  padding: var(--space-xl) var(--space-lg);
  color: var(--color-text-light);
}

.page-hero__label {
  margin-bottom: var(--space-sm);
  opacity: 0.6;
}

/* --- Section Variants --- */
.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section--warm {
  background: var(--color-bg-warm);
}

.section--deep {
  background: var(--color-bg-deep);
  color: var(--color-text-light);
}

/* --- Content Blocks --- */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}

.content-block--reverse {
  direction: rtl;
}

.content-block--reverse > * {
  direction: ltr;
}

.content-block__text {
  padding: var(--space-lg) 0;
}

.content-block__text .label {
  margin-bottom: var(--space-sm);
  display: block;
  color: var(--color-accent);
}

.content-block__text h2 {
  margin-bottom: var(--space-md);
}

.content-block__text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.content-block__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--color-bg-dark);
}

.content-block__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.content-block__image:hover img {
  transform: scale(1.03);
}

/* --- Project Grid --- */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: var(--color-bg-dark);
  cursor: pointer;
}

.project-card--tall {
  aspect-ratio: 3/4;
  grid-row: span 2;
}

.project-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.project-card:hover .project-card__image {
  transform: scale(1.05);
}

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 13, 11, 0.6) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-med) var(--ease-out);
}

.project-card:hover .project-card__overlay {
  opacity: 1;
}

.project-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: var(--space-md);
  color: var(--color-text-light);
  transform: translateY(10px);
  opacity: 0;
  transition: all var(--duration-med) var(--ease-out);
}

.project-card:hover .project-card__info {
  transform: translateY(0);
  opacity: 1;
}

.project-card__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.project-card__category {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* --- Service Items --- */
.service-item {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: start;
  gap: var(--space-lg);
  transition: background var(--duration-fast) var(--ease-out);
}

.section--dark .service-item {
  border-bottom-color: var(--color-border-light);
}

.service-item:first-child {
  border-top: 1px solid var(--color-border);
}

.section--dark .service-item:first-child {
  border-top-color: var(--color-border-light);
}

.service-item__number {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
  opacity: 0.4;
}

.service-item__content h3 {
  margin-bottom: var(--space-sm);
}

.service-item__content p {
  color: var(--color-text-muted);
}

.section--dark .service-item__content p {
  color: var(--color-accent-light);
}

.service-item__image {
  width: 300px;
  height: 200px;
  overflow: hidden;
  background: var(--color-bg-warm);
}

.service-item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-item__image:hover img {
  transform: scale(1.05);
}

/* --- Service Showcase (Diensten Page) --- */
.service-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.service-showcase__image {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-dark);
}

.service-showcase__image .img-placeholder {
  position: absolute;
  inset: 0;
}

.service-showcase__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-showcase:hover .service-showcase__image img {
  transform: scale(1.02);
}

.service-showcase__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl);
}

.service-showcase__content .label {
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
}

.service-showcase__content h2 {
  margin-bottom: var(--space-md);
}

.service-showcase__content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.service-showcase__content .link-arrow {
  margin-top: var(--space-md);
}

.service-showcase__features {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.service-showcase__features span {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-right: var(--space-md);
  margin-bottom: var(--space-xs);
}

.service-showcase--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.service-showcase--dark .service-showcase__content .label {
  color: var(--color-accent-light);
}

.service-showcase--dark .service-showcase__content p {
  color: var(--color-accent-light);
}

.service-showcase--dark .service-showcase__features {
  border-top-color: var(--color-border-light);
}

.service-showcase--dark .service-showcase__features span {
  color: var(--color-accent-light);
}

.service-showcase--reverse .service-showcase__image {
  order: 2;
}

.service-showcase--reverse .service-showcase__content {
  order: 1;
}

/* --- Buttons & Links --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 40px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.btn:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

.section--dark .btn:hover {
  background: var(--color-text-light);
  color: var(--color-bg-dark);
}

.btn--filled {
  background: var(--color-text);
  color: var(--color-bg);
}

.btn--filled:hover {
  background: var(--color-accent);
  color: var(--color-text-light);
  border-color: var(--color-accent);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
}

.link-arrow::after {
  content: '→';
  transition: transform var(--duration-fast) var(--ease-out);
}

.link-arrow:hover::after {
  transform: translateX(6px);
}

/* --- Values Grid (Over Ons) --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.values-grid__line {
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
  .values-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* --- Statement / Quote --- */
.statement {
  text-align: center;
  padding: var(--space-xxl) var(--space-lg);
}

.statement h2 {
  font-style: italic;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.3;
}

.statement__line {
  width: 60px;
  height: 1px;
  background: var(--color-accent);
  margin: var(--space-md) auto;
  transition: width var(--duration-med) var(--ease-out);
}

/* --- Marquee --- */
.marquee {
  overflow: hidden;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section--dark .marquee {
  border-color: var(--color-border-light);
}

.marquee__track {
  display: flex;
  gap: var(--space-xl);
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee__item {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.5rem, 5vw, 4rem);
  white-space: nowrap;
  opacity: 0.12;
}

.marquee__separator {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(2.5rem, 5vw, 4rem);
  opacity: 0.12;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- Contact Form --- */
.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
  opacity: 0.7;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.95rem;
  color: inherit;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-out), opacity var(--duration-fast) var(--ease-out);
  letter-spacing: 0.02em;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.5;
}

.section--dark .form-group input,
.section--dark .form-group textarea,
.section--dark .form-group select {
  border-bottom-color: var(--color-border-light);
  color: var(--color-text-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--font-body);
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-deep);
  color: var(--color-text-light);
  padding: var(--space-xl) 0 var(--space-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: var(--space-md);
}

.footer__brand {
  max-width: 320px;
}

.footer__brand .nav__logo {
  margin-bottom: var(--space-md);
}

.footer__brand p {
  font-size: 0.85rem;
  color: var(--color-accent-light);
  line-height: 1.8;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
  opacity: 0.5;
}

.footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__col a {
  font-size: 0.85rem;
  color: var(--color-accent-light);
  transition: color var(--duration-fast) var(--ease-out);
  position: relative;
}

.footer__col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent-light);
  transition: width var(--duration-med) var(--ease-out);
}

.footer__col a:hover {
  color: var(--color-text-light);
}

.footer__col a:hover::after {
  width: 100%;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-md);
}

.footer__bottom p {
  font-size: 0.7rem;
  color: var(--color-text-muted);
  letter-spacing: 0.1em;
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-reveal) var(--ease-out),
              transform var(--duration-reveal) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-fade {
  opacity: 0;
  transition: opacity var(--duration-reveal) var(--ease-out);
}

.reveal-fade.visible {
  opacity: 1;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-reveal) var(--ease-out),
              transform var(--duration-reveal) var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-reveal) var(--ease-out),
              transform var(--duration-reveal) var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.stagger > * { transition-delay: calc(var(--i, 0) * 0.1s); }

/* --- Page Transition Overlay --- */
.page-transition {
  position: fixed;
  inset: 0;
  background: var(--color-bg-dark);
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.8s var(--ease-in-out);
}

.page-transition.active {
  transform: translateY(0);
}

/* --- Responsive: 1024px (Tablets) --- */
@media (max-width: 1024px) {
  .grid--2,
  .grid--3 { grid-template-columns: 1fr; }

  .grid--asymmetric,
  .grid--asymmetric-reverse { grid-template-columns: 1fr; }

  .content-block {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .content-block--reverse {
    direction: ltr;
  }

  .service-item {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .service-item__image {
    width: 100%;
    height: 250px;
  }

  .service-showcase {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .service-showcase__image {
    aspect-ratio: 4/3;
  }

  .service-showcase--reverse .service-showcase__image {
    order: 0;
  }

  .service-showcase--reverse .service-showcase__content {
    order: 0;
  }

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

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

  .project-card--tall {
    grid-row: auto;
    aspect-ratio: 3/2;
  }
}

/* --- Responsive: 768px (Mobile) --- */
@media (max-width: 768px) {
  :root {
    --space-md: 1.75rem;
    --space-lg: 3rem;
    --space-xl: 5rem;
    --space-xxl: 7rem;
  }

  body {
    font-size: 15px;
  }

  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .nav__inner {
    padding: 0 var(--space-md);
  }

  .nav__logo {
    gap: 0;
  }

  .nav__logo img {
    width: 150px;
  }

  .nav__logo-main {
    font-size: 1rem;
  }

  .nav__logo-sub {
    font-size: 0.5rem;
  }

  .hero {
    min-height: 500px;
  }

  .hero__content {
    padding: var(--space-lg) var(--space-md);
  }

  .hero__scroll {
    bottom: var(--space-sm);
    right: var(--space-md);
  }

  .page-hero {
    min-height: 350px;
  }

  .page-hero__content {
    padding: var(--space-lg) var(--space-md);
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .project-card__overlay { opacity: 1; }
  .project-card__info { opacity: 1; transform: none; }

  .service-showcase {
    min-height: auto;
  }

  .service-showcase__content {
    padding: var(--space-lg) var(--space-md);
  }

  .service-showcase__image {
    aspect-ratio: 4/3;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
    font-size: 0.65rem;
  }

  .statement {
    padding: var(--space-xl) var(--space-md);
  }

  .statement h2 {
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .content-block__image {
    aspect-ratio: 1;
  }
}

/* --- Utility Classes --- */
.text-center { text-align: center; }
.text-light { color: var(--color-text-light); }
.text-muted { color: var(--color-text-muted); }
.text-accent { color: var(--color-accent); }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

/* --- Image Placeholder (Demo) --- */
.img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2520 0%, #1a1714 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 300;
}
