/* ============================================
   SCRAPGR — Blackened Steel Theme
   Rough · Metallic · Modern
   ============================================ */

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

:root {
  --bg: #050505;
  --surface: #0a0a09;
  --surface-raised: #121110;
  --surface-hover: #1a1918;
  --accent: #d45a15;
  --accent-bright: #f07020;
  --accent-glow: rgba(212, 90, 21, 0.35);
  --text: #d8d3ca;
  --text-dim: #7a756b;
  --text-muted: #4a4640;
  --border: #1a1816;
  --border-light: #2a2723;
  --steel: #333028;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --max-w: 1140px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Dark scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-light); }
::-webkit-scrollbar-thumb:hover { background: var(--steel); }
html { scrollbar-color: var(--border-light) var(--bg); scrollbar-width: thin; }

/* Heavy grain overlay — industrial grit */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-bright); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--text); }
ul { list-style: none; }

/* --- Utility --- */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* --- Accent Bar — molten strip --- */
.accent-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-bright) 40%, var(--accent) 100%);
  transform-origin: left;
  transform: scaleX(0);
  animation: barReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
  box-shadow: 0 0 12px var(--accent-glow), 0 0 4px var(--accent);
}

@keyframes barReveal {
  to { transform: scaleX(1); }
}

/* --- Top Bar --- */
.top-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 0.55rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 95;
}

.top-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar__email {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-weight: 500;
  transition: color 0.2s;
}

.top-bar__email:hover { color: var(--accent-bright); }

.top-bar__email svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Language switcher */
.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch__label {
  color: var(--text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}

.lang-switch__current {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  background: var(--surface-raised);
  border: 1px solid var(--border-light);
  cursor: pointer;
  color: var(--text);
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 500;
  transition: all 0.2s;
}

.lang-switch__current:hover,
.lang-switch__current[aria-expanded="true"] {
  background: var(--surface-hover);
  border-color: var(--steel);
}

.lang-switch__current img {
  width: 18px;
  height: auto;
}

.lang-switch__dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--surface-raised);
  border: 1px solid var(--border-light);
  padding: 0.3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s ease;
  z-index: 100;
  min-width: 100px;
}

.lang-switch__dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switch__dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.6rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.15s;
}

.lang-switch__dropdown a:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.lang-switch__dropdown a img {
  width: 18px;
  height: auto;
}

/* --- Navigation --- */
.nav {
  background: rgba(5, 5, 5, 0.92);
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.08em;
  color: var(--text);
  display: flex;
  align-items: center;
}

.nav__logo span {
  color: var(--accent);
}

.nav__logo-mark {
  width: 28px;
  height: 28px;
  margin-right: 0.4rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transform: translateY(-1px);
}

.nav__logo-mark svg {
  width: 100%;
  height: 100%;
  display: block;
}

.nav__links {
  display: flex;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav__links a {
  position: relative;
  padding: 1rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: square;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  background: var(--bg);
}

.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) contrast(1.1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(5,5,5,0.15) 0%, rgba(5,5,5,0.9) 100%),
    linear-gradient(90deg, rgba(5,5,5,0.7) 0%, transparent 65%);
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: 3rem;
  padding-bottom: 2.5rem;
  width: 100%;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1.0;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  color: var(--text);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease 0.6s forwards;
}

.hero__tagline em {
  font-style: normal;
  color: var(--accent-bright);
}

.hero__sub {
  font-size: 1rem;
  color: var(--text-dim);
  max-width: 480px;
  font-weight: 400;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.8s ease 0.9s forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Slider dots */
.hero__dots {
  position: absolute;
  bottom: 1.5rem;
  right: var(--gutter);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}

.hero__dot {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  position: relative;
}

.hero__dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  transition: all 0.2s;
}

.hero__dot.active::after {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
}

/* --- Section Shared --- */
.section {
  padding: 3.5rem 0;
}

.section--alt {
  background: var(--surface);
}

.section__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.section__icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.section__icon svg {
  width: 16px;
  height: 16px;
  fill: var(--bg);
}

.section__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
}

/* Diagonal cut separator */
.section__cut {
  height: 60px;
  background: var(--surface);
  clip-path: polygon(0 0, 100% 40px, 100% 100%, 0 100%);
  margin-top: -1px;
}

.section__cut--reverse {
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
}

.section__cut--up {
  background: var(--bg);
  clip-path: polygon(0 0, 100% 0, 100% 60px, 0 20px);
  margin-bottom: -1px;
}

/* --- About Content --- */
.about-text {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-dim);
}

.about-text p {
  margin-bottom: 1.25rem;
}

.about-text strong {
  color: var(--text);
  font-weight: 600;
}

.cta-line {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.75rem 1.6rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.cta-line:hover {
  background: var(--accent-bright);
  color: var(--bg);
  box-shadow: 0 0 24px var(--accent-glow);
}

.cta-line svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --- Features Grid (About page) --- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-top: 2px solid var(--accent);
  padding: 1.5rem;
  transition: all 0.25s;
  position: relative;
}

.feature-card:hover {
  border-top-color: var(--accent-bright);
  background: var(--surface-hover);
  box-shadow: 0 0 20px rgba(0,0,0,0.4), inset 0 1px 0 var(--border-light);
}

.feature-card__icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1rem;
  color: var(--accent);
}

.feature-card__icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* --- Gallery Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
}

.gallery-grid a {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-raised);
}

.gallery-grid a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  filter: brightness(0.6) saturate(0.5) contrast(1.1);
}

.gallery-grid a:hover img {
  transform: scale(1.06);
  filter: brightness(0.9) saturate(0.8) contrast(1.05);
}

.gallery-grid a::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  transition: border-color 0.2s;
  pointer-events: none;
}

.gallery-grid a:hover::after {
  border-color: var(--accent);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0,0,0,0.8);
  transform: scale(0.94);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: var(--surface-raised);
  border: 1px solid var(--border-light);
  color: var(--text);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.lightbox__close:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--surface-raised);
  border: 1px solid var(--border-light);
  color: var(--text);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
}

.lightbox__nav:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.lightbox__counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-family: var(--font-display);
}

/* --- Documents --- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
}

.doc-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: var(--surface-raised);
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.doc-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(0,0,0,0.4);
}

.doc-card img {
  width: 100%;
  max-width: 160px;
  margin-bottom: 1rem;
  transition: filter 0.3s;
  filter: brightness(0.8) contrast(1.05);
}

.doc-card:hover img {
  filter: brightness(1);
}

.doc-card__label {
  font-size: 0.8rem;
  color: var(--accent-bright);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.doc-card__label svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* --- Map --- */
.map-container {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.map-container iframe,
.map-container #map-canvas {
  width: 100%;
  height: 400px;
  display: block;
  filter: grayscale(0.5) brightness(0.75) contrast(1.15);
  transition: filter 0.5s;
}

.map-container:hover iframe,
.map-container:hover #map-canvas {
  filter: grayscale(0.1) brightness(0.9) contrast(1.05);
}

.locations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.location-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.25s;
}

.location-card:hover {
  border-left-color: var(--accent-bright);
  background: var(--surface-hover);
}

.location-card__pin {
  width: 36px;
  height: 36px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.location-card__pin svg {
  width: 16px;
  height: 16px;
  fill: var(--bg);
}

.location-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.location-card p {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.location-card a {
  color: var(--text-dim);
}

.location-card a:hover {
  color: var(--accent-bright);
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.contact-card {
  background: var(--surface-raised);
  border: 1px solid var(--border);
  border-top: 2px solid var(--steel);
  padding: 1.25rem;
  transition: all 0.25s;
}

.contact-card:hover {
  border-top-color: var(--accent);
  background: var(--surface-hover);
}

.contact-card__icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.contact-card__icon svg {
  width: 14px;
  height: 14px;
  fill: var(--bg);
}

.contact-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.contact-card p,
.contact-card span,
.contact-card a {
  font-size: 0.88rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--accent-bright);
}

/* Contact Form */
.form-section {
  margin-top: 1rem;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  font-family: var(--font-display);
}

.form-group input,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border-light);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 0.7rem 0.9rem;
  transition: all 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: none;
}

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

.form-group textarea {
  resize: vertical;
  min-height: 200px;
}

.form-group input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-sidebar .form-group {
  flex: 0;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: auto;
}

.btn-submit:hover {
  background: var(--accent-bright);
  box-shadow: 0 0 24px var(--accent-glow);
}

.btn-submit svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --- Footer --- */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
}

.footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}

.footer__copy strong {
  color: var(--text-dim);
  font-weight: 600;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: color 0.2s;
}

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

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9998;
  padding: 0.75rem 1.5rem;
  background: var(--accent);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
  color: var(--bg);
}

/* --- Focus Visible --- */
:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}

.hero__dot:focus-visible,
.lightbox__close:focus-visible,
.lightbox__nav:focus-visible {
  box-shadow: 0 0 0 4px var(--accent-glow);
}

/* --- Mobile Nav Backdrop --- */
.nav__backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav__backdrop.open {
  display: block;
  opacity: 1;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 102;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--surface);
    border-left: 1px solid var(--border-light);
    flex-direction: column;
    padding: 4rem 0 2rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 100;
  }

  .nav__links.open {
    transform: translateX(0);
  }

  .nav__links a {
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
  }

  .nav__links a::after {
    left: 1.5rem;
    right: 1.5rem;
    bottom: 0.5rem;
  }

  .nav__toggle {
    display: block;
    z-index: 101;
  }

  .hero {
    min-height: 300px;
  }

  .hero__tagline {
    font-size: 1.8rem;
  }

  .contact-form {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  }

  .footer .wrap {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.35rem;
  }

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

  .hero__tagline {
    font-size: 1.5rem;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__tagline,
  .hero__sub {
    opacity: 1;
    transform: none;
  }

  .accent-bar {
    transform: scaleX(1);
  }
}

/* --- Nav as semantic list --- */
.nav__links li {
  display: contents;
}

@media (max-width: 768px) {
  .nav__links li {
    display: block;
  }
}
