/* ============================================================
   artWork by S.Pfander — Global Stylesheet
   Modern Art Gallery Theme — Light Edition
   ============================================================ */

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

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

:root {
  /* Helles Gallery-Farbschema */
  --bg:          #faf9f6;
  --bg-2:        #f3f1ec;
  --bg-3:        #ece9e2;
  --border:      #e2dfd8;
  --border-2:    #ccc9c0;

  --text:        #1a1918;
  --text-dim:    #6a6660;
  --text-muted:  #a8a49a;

  --accent:      #b8924a;
  --accent-dim:  #8a6c38;
  --accent-lt:   #f5ede0;

  --white:       #ffffff;
  --ink:         #111110;

  /* Dark-Kontrast für Footer / Hero-rechts */
  --dark-bg:     #141312;
  --dark-bg-2:   #1e1c1a;
  --dark-border: #2a2826;
  --dark-text:   #f0ece3;

  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono:    'JetBrains Mono', 'Courier New', monospace;

  --nav-h:       72px;
  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(250, 249, 246, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink);
}

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

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav__links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: color var(--transition);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

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

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

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 24px; height: 1px;
  background: var(--ink);
  transition: var(--transition);
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ============================================================
   PAGE HERO (Galerie, Projekte, Kontakt etc.)
   ============================================================ */
.page-hero {
  padding: 80px 48px 64px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent) 0%, transparent 60%);
}

.page-hero__label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.page-hero__sub {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--text-dim);
  margin-top: 16px;
}

/* ============================================================
   GALLERY PAGE HERO
   ============================================================ */
.gallery-hero {
  height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 0 48px 40px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.gallery-hero::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--accent) 0%, transparent 50%);
}

.gallery-hero__content { position: relative; }

.gallery-hero__label {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.gallery-hero__title {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}

.gallery-hero__count {
  font-family: var(--font-body);
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 14px;
  letter-spacing: 0.15em;
}

/* ============================================================
   GALLERY TOOLBAR
   ============================================================ */
.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: var(--nav-h);
  z-index: 100;
  gap: 16px;
  flex-wrap: wrap;
}

.gallery-toolbar__filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 7px 20px;
  border: 1px solid var(--border-2);
  background: none;
  color: var(--text-dim);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-lt);
}

.gallery-toolbar__view { display: flex; gap: 4px; }

.view-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 14px;
}

.view-btn:hover,
.view-btn.active {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-lt);
}

/* ============================================================
   GALLERY ROOM
   ============================================================ */
.gallery-room {
  background: var(--white);
  padding: 60px 48px 80px;
  position: relative;
}

/* Top accent line */
.gallery-room::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border) 20%, var(--border) 80%, transparent);
}

/* Gallery grid — natürliche Bildgrößen, Galeriewand */
.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 32px;
  align-items: flex-end;
}

.gallery-grid.view-list {
  flex-direction: column;
  gap: 2px;
  align-items: stretch;
}

/* Row breaks */
.gallery-row-break {
  flex-basis: 100%;
  width: 100%;
  height: 0;
  margin: 0; padding: 0;
  pointer-events: none;
}

/* ============================================================
   ARTWORK CARD
   ============================================================ */
.artwork-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.artwork-card__frame {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  box-shadow:
    0 0 0 1px var(--border),
    2px 4px 16px rgba(0,0,0,0.08),
    6px 10px 40px rgba(0,0,0,0.06);
  transition: box-shadow 0.5s ease, transform 0.5s ease;
}

.artwork-card:hover .artwork-card__frame {
  box-shadow:
    0 0 0 1px var(--border-2),
    4px 8px 28px rgba(0,0,0,0.14),
    12px 20px 60px rgba(0,0,0,0.10);
  transform: translateY(-5px);
}

.artwork-card__frame img {
  display: block;
  height: 300px;
  width: auto;
  max-width: 640px;
  min-width: 80px;
  object-fit: contain;
  background: var(--bg-2);
  transition: transform 0.7s cubic-bezier(0.4,0,0.2,1), filter 0.5s ease;
  filter: brightness(0.97) contrast(1.02);
}

.artwork-card:hover .artwork-card__frame img {
  transform: scale(1.025);
  filter: brightness(1) contrast(1.04);
}

/* Rotated images */
.artwork-card--rotate .artwork-card__frame {
  width: 1000px;
  height: 540px;
  max-width: 100%;
}

.artwork-card--rotate .artwork-card__frame img {
  position: absolute;
  width: 540px; height: 1000px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(90deg);
}

.artwork-card--rotate:hover .artwork-card__frame img {
  transform: translate(-50%, -50%) rotate(90deg) scale(1.025);
}

/* Spot light overlay */
.artwork-card__light {
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 70%; height: 70%;
  background: radial-gradient(ellipse, rgba(255,248,220,0.2) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s;
}

.artwork-card:hover .artwork-card__light { opacity: 1; }

/* Zoom icon */
.artwork-card__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background 0.4s ease;
}

.artwork-card:hover .artwork-card__zoom {
  background: rgba(0,0,0,0.08);
}

.artwork-card__zoom-icon {
  width: 44px; height: 44px;
  border: 1px solid rgba(184,146,74,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 18px;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.35s ease;
  backdrop-filter: blur(8px);
  background: rgba(255,255,255,0.7);
}

.artwork-card:hover .artwork-card__zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Meta / Museum-Schild */
.artwork-card__meta {
  padding: 16px 2px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.artwork-card__title {
  font-family: var(--font-display);
  font-size: 17px;
  font-style: italic;
  font-weight: 300;
  color: var(--ink);
}

.artwork-card__details {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.artwork-card__size,
.artwork-card__medium {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.artwork-card__sep {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--border-2);
  display: inline-block;
}

.artwork-card__year {
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-left: auto;
}

/* List view */
.view-list .artwork-card {
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.view-list .artwork-card:hover { background: var(--bg); }

.view-list .artwork-card__frame {
  width: 80px !important; height: 60px !important;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.view-list .artwork-card__frame img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important;
}

.view-list .artwork-card__meta {
  flex: 1; padding: 0;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.view-list .gallery-row-break { display: none; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 19, 18, 0.96);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 90vw;
  max-height: 90vh;
  padding: 24px;
}

.lightbox__img-wrap {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-height: 80vh;
  max-width: 60vw;
  object-fit: contain;
  box-shadow: 0 8px 60px rgba(0,0,0,0.8);
}

.lightbox__info {
  min-width: 220px;
  max-width: 260px;
  color: rgba(240,236,227,0.8);
}

.lightbox__info-num {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 16px;
}

.lightbox__info-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  font-style: italic;
  color: #f4f0e8;
  line-height: 1.2;
  margin-bottom: 24px;
}

.lightbox__info-table {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 16px;
  font-size: 12px;
  margin-bottom: 28px;
}

.lightbox__info-label {
  color: var(--accent);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-top: 2px;
}

.lightbox__info-value {
  color: rgba(240,236,227,0.7);
  letter-spacing: 0.04em;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  transition: all var(--transition);
  z-index: 1;
}

.lightbox__nav:hover {
  background: rgba(184,146,74,0.2);
  border-color: var(--accent);
  color: var(--accent);
}

.lightbox__nav--prev { left: -64px; }
.lightbox__nav--next { right: -64px; }

.lightbox__close {
  position: absolute;
  top: -16px; right: -16px;
  width: 44px; height: 44px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(20,19,18,0.8);
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

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

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  min-height: calc(100vh - var(--nav-h));
}

.about-portrait {
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-portrait img {
  width: 100%;
  display: block;
}

.about-portrait__placeholder {
  min-height: 380px;
  border: 1px dashed var(--border-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  padding: 24px;
}

.about-portrait__placeholder-icon {
  font-size: 32px;
  opacity: 0.3;
}

.about-atelier-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 16px;
  border: 1px dashed var(--border-2);
  background: var(--bg-3);
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  gap: 8px;
}

.about-text {
  padding: 56px 64px;
  overflow-y: auto;
}

.about-text__block {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.about-text__block:last-child {
  border-bottom: none;
}

.about-text__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.about-text__heading {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.about-text__body {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.85;
  max-width: 620px;
}

.about-text__body.placeholder {
  color: var(--text-muted);
  font-style: italic;
}

/* ============================================================
   PROJECTS PAGE
   ============================================================ */
.projects-list {
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.project-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 40px;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.project-card:last-child { border-bottom: none; }
.project-card:first-child { border-top: 1px solid var(--border); }

.project-card__num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--border-2);
  line-height: 1;
  letter-spacing: -0.03em;
  padding-top: 4px;
  transition: color var(--transition);
}

.project-card:hover .project-card__num { color: var(--accent); }

.project-card__body { display: flex; flex-direction: column; gap: 16px; }

.project-card__status {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 2px;
  color: var(--text-muted);
  border: 1px solid var(--border-2);
  background: transparent;
  width: fit-content;
}

.project-card__status.active {
  color: #2e7d4f;
  border-color: #a8d8bc;
  background: #edfaf3;
}

.project-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.project-card__desc {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.85;
  max-width: 620px;
}

.project-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-2);
  padding: 4px 12px;
  background: var(--bg-2);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
  min-height: calc(100vh - var(--nav-h) - 200px);
}

.contact-info {
  border-right: 1px solid var(--border);
  padding: 56px 40px;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.contact-info__block {
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info__block:first-child { padding-top: 0; }

.contact-info__label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.contact-info__value {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-info__text {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
}

.contact-form-wrap { padding: 56px 64px; }

.form-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-input,
.form-select,
.form-textarea {
  background: var(--white);
  border: 1px solid var(--border-2);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 14px;
  padding: 12px 16px;
  transition: border-color var(--transition);
  outline: none;
  width: 100%;
}

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

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

.form-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.7;
}

.form-submit {
  display: inline-block;
  padding: 14px 40px;
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--transition), color var(--transition);
  font-weight: 500;
}

.form-submit:hover {
  background: var(--accent);
  color: var(--white);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-page {
  max-width: 740px;
  margin: 0 auto;
  padding: 64px 48px;
}

.legal-page h1 {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.legal-page h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--ink);
  margin: 40px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-page p {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 16px;
  line-height: 1.85;
}

.legal-page a { color: var(--accent); }
.legal-page a:hover { color: var(--accent-dim); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--dark-border);
  padding: 64px 48px 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--dark-border);
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--dark-text);
  margin-bottom: 16px;
}

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

.footer__tagline {
  font-size: 13px;
  color: rgba(240,236,227,0.35);
  line-height: 1.7;
}

.footer__col-title {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 13px;
  color: rgba(240,236,227,0.4);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--dark-text); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
}

.footer__copy {
  font-size: 11px;
  color: rgba(240,236,227,0.25);
  letter-spacing: 0.05em;
}

.footer__legal-links {
  display: flex;
  gap: 24px;
}

.footer__legal-links a {
  font-size: 11px;
  color: rgba(240,236,227,0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--transition);
}

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

/* ============================================================
   ANIMATIONS & UTILITIES
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.btn-outline {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid var(--border-2);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all var(--transition);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-lt);
}

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

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .about-layout { grid-template-columns: 280px 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .nav { padding: 0 24px; }
  .nav__links { display: none; flex-direction: column; position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: rgba(250,249,246,0.98);
    border-bottom: 1px solid var(--border);
    padding: 24px; gap: 24px; }
  .nav__links.open { display: flex; }
  .nav__hamburger { display: flex; }

  .about-layout, .contact-layout { grid-template-columns: 1fr; }
  .about-portrait { border-right: none; border-bottom: 1px solid var(--border); }
  .contact-info { border-right: none; border-bottom: 1px solid var(--border); }
  .contact-form-wrap { padding: 40px 24px; }
  .about-text { padding: 40px 24px; }
  .page-hero, .gallery-hero { padding-left: 24px; padding-right: 24px; }
  .gallery-toolbar { padding: 16px 24px; }
  .gallery-room { padding: 40px 24px; }
  .projects-list { padding: 40px 24px; }
  .footer { padding: 48px 24px 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .gallery-grid { gap: 32px 16px; }
  .project-card { grid-template-columns: 1fr; gap: 16px; }
  .project-card__num { font-size: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }
}
