* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: #fafafa;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Roboto Condensed', sans-serif; font-weight: 500; letter-spacing: 0.02em; }
a { color: inherit; text-decoration: none; }

/* ─── HEADER ─── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s, background 0.3s;
}
header.light { color: #fff; background: transparent; }
header.dark { color: #1a1a1a; background: #fafafa; border-bottom: 1px solid #eee; }
header .logo a {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  position: relative;
  display: inline-block;
  transition: opacity 0.3s ease;
}
header .logo a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
header .logo a:hover { opacity: 0.6; }
header .logo a:hover::after { width: 100%; }
header nav { display: flex; align-items: center; gap: 28px; }
header nav a, header nav button {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.3s;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  padding: 0;
}
header nav a:hover, header nav button:hover { opacity: 0.6; }

/* ─── BUTTONS ─── */
.btn-hover {
  position: relative;
  display: inline-block;
  cursor: pointer;
  transition: opacity 0.3s;
  text-decoration: none;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  padding: 0;
}
.btn-hover::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-hover:hover::after { width: 100%; }
.btn-hover .arrow {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.btn-hover:hover .arrow { transform: translateX(-4px); }
.back-link { font-size: 14px !important; font-weight: 500 !important; }
.lang-btn {
  font-size: 12px !important;
  letter-spacing: 0.05em !important;
  opacity: 0.7;
  border: 1px solid currentColor !important;
  padding: 4px 10px !important;
  border-radius: 20px;
}
.lang-btn:hover { opacity: 1 !important; }
.home-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  opacity: 0.8;
  padding: 6px;
  transition: opacity 0.3s, transform 0.3s;
}
.home-btn:hover { opacity: 1; transform: scale(1.12); }
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s, opacity 0.3s;
}
.menu-toggle span + span { margin-top: 5px; }
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  flex-direction: column;
  padding: 10px 28px 20px;
  background: rgba(26, 26, 26, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* ─── PAGES ─── */
.page {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: translateY(12px);
}
.page.active { display: block; opacity: 1; transform: translateY(0); }

/* ─── SHUTTER ─── */
#shutter {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}
#shutter.active { visibility: visible; }
.shutter-panel {
  position: absolute;
  background: #000;
  transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
.shutter-panel.h { left: 0; width: 100%; height: 50%; }
.shutter-panel.v { top: 0; height: 100%; width: 50%; }
.shutter-top { top: 0; transform: translateY(-100%); }
.shutter-bottom { bottom: 0; transform: translateY(100%); }
.shutter-left { left: 0; transform: translateX(-100%); }
.shutter-right { right: 0; transform: translateX(100%); }
#shutter.h-closing .shutter-top,
#shutter.h-closing .shutter-bottom { transform: translateY(0); }
#shutter.h-opening .shutter-top { transform: translateY(-100%); }
#shutter.h-opening .shutter-bottom { transform: translateY(100%); }
#shutter.v-closing .shutter-left,
#shutter.v-closing .shutter-right { transform: translateX(0); }
#shutter.v-opening .shutter-left { transform: translateX(-100%); }
#shutter.v-opening .shutter-right { transform: translateX(100%); }

/* ─── HERO ─── */
.hero {
  height: 100vh;
  display: flex;
}
.hero-left, .hero-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
}
.hero-left { background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%); }
.hero-right { background: linear-gradient(135deg, #d4c5a9 0%, #b8a88a 100%); }
.hero-left .overlay, .hero-right .overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.15s ease;
}
.hero-left:hover .overlay, .hero-right:hover .overlay {
  transform: scale(1.03);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-left .overlay::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.03) 0%, transparent 50%),
              repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.02) 2px, rgba(255,255,255,0.02) 4px);
}
.hero-right .overlay::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 70%, rgba(0,0,0,0.03) 0%, transparent 50%),
              repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.02) 2px, rgba(0,0,0,0.02) 4px);
}
.hero-left .content, .hero-right .content { position: relative; z-index: 2; text-align: center; }
.hero-left .content h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 72px; font-weight: 700; color: #fff;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.hero-right .content h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 72px; font-weight: 700; color: #2c2c2c;
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}
.hero-left .content h2::after,
.hero-right .content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 2px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transform: translateX(-50%);
  transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              border-radius 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-left:hover .content h2::after,
.hero-right:hover .content h2::after {
  width: 100%;
  border-radius: 0;
}
.hero-left .content p, .hero-right .content p {
  font-size: 13px; font-weight: 400; letter-spacing: 0.25em; text-transform: uppercase; opacity: 0.7;
}
.hero-left .content p { color: #fff; }
.hero-right .content p { color: #2c2c2c; }
.hero-divider {
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 1px; background: rgba(255,255,255,0.15); transform: translateX(-50%); z-index: 5;
}
.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-overlay-gradient {
  position: absolute; inset: 0; z-index: 1;
}

/* ─── DONATIONS ─── */
.donations {
  padding: 120px 48px;
  background: #fafafa;
  color: #1a1a1a;
}
.donations-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.donations-kicker {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.45;
  display: block;
  margin-bottom: 20px;
}
.donations-inner h2 {
  font-size: 42px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}
.donations-text {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.65;
  max-width: 560px;
  margin: 0 auto 48px;
}
.donations-stats {
  max-width: 480px;
  margin: 0 auto 40px;
}
.donation-track {
  height: 2px;
  background: #e6e2dc;
  border-radius: 1px;
  overflow: hidden;
  margin-bottom: 16px;
}
.donation-bar {
  height: 100%;
  width: 0%;
  background: #b8a88a;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.donation-numbers {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.donation-amount {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.donation-amount .donation-of {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  opacity: 0.45;
  letter-spacing: 0.05em;
}
.donation-donors {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.5;
}
.donation-btn {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid #1a1a1a;
  padding: 14px 36px;
  border-radius: 2px;
  transition: background 0.3s ease, color 0.3s ease;
  cursor: pointer;
}
.donation-btn:hover {
  background: #1a1a1a;
  color: #fff;
}
.donations-soon {
  max-width: 480px;
  margin: 0 auto 40px;
}
.donations-soon-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a1a1a;
  border: 1px solid #b8a88a;
  padding: 6px 16px;
  border-radius: 20px;
}
@media (max-width: 640px) {
  .donations { padding: 80px 24px; }
  .donations-inner h2 { font-size: 32px; }
  .donation-amount { font-size: 26px; }
}

/* ─── SECTION HEADER / PROJECTS GRID ─── */
.section-header {
  padding: 140px 48px 40px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-header h1 { font-size: 52px; font-weight: 500; margin-bottom: 8px; }
.section-header p { font-size: 15px; opacity: 0.6; letter-spacing: 0.05em; }

/* ─── V1.3: category pages (channels) ─── */
.category-page .section-header .back-link {
  display: inline-block;
  margin-bottom: 32px;
  opacity: 0.5;
}
.category-page .section-header .back-link:hover { opacity: 1; }

.arch-group { max-width: 1400px; margin: 0 auto; }
.arch-group .projects-grid { padding-bottom: 32px; }
.arch-group:last-child .projects-grid { padding-bottom: 120px; }
.arch-group + .arch-group { margin-top: 64px; }
.arch-kicker {
  padding: 0 48px 20px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b8a88a;
}

.photo-page .arch-kicker {
  text-align: center;
}

.projects-grid {
  padding: 0 48px 120px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.photo-page .projects-grid {
  grid-template-columns: 1fr;
  max-width: 1000px;
}
.photo-page .project-card {
  aspect-ratio: 21 / 9;
}
.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #e8e4de;
  cursor: pointer;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover { transform: translateY(-4px); }
.project-card:active { transform: scale(0.97); transition: transform 0.15s ease; }
.project-card-pressed { transform: scale(0.97) !important; transition: transform 0.2s ease !important; }
.hero-pressed { transform: scale(0.98) !important; transition: transform 0.2s ease !important; }
.project-card .card-img {
  width: 100%; height: 100%;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-card:hover .card-img { transform: scale(1.05); }
.project-card .card-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 24px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: #fff;
}
.project-card .card-info h3 { font-size: 18px; font-weight: 500; letter-spacing: 0.05em; margin-bottom: 4px; }
.project-card .card-info span { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; opacity: 0.7; }

/* ─── ABOUT ─── */
.about {
  padding: 120px 48px;
  background: #1a1a1a;
  color: #f5f5f5;
}
.about-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-inner h2 { font-size: 42px; font-weight: 500; letter-spacing: 0.02em; margin-bottom: 32px; line-height: 1.2; }
.about-inner p { font-size: 15px; line-height: 1.8; opacity: 0.75; margin-bottom: 16px; }
.about-inner p strong {
  font-weight: 700;
  background-image: linear-gradient(90deg, #fff, #fff);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  background-position: left center;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: rgba(255,255,255,0.45);
}
.about-inner p strong.lit {
  animation: karaokeSweep 3.2s ease forwards;
}
@keyframes karaokeSweep {
  0%   { background-size: 0% 100%; text-shadow: 0 0 0 transparent; opacity: 1; }
  55%  { background-size: 100% 100%; text-shadow: 0 0 16px rgba(255,255,255,0.95); opacity: 1; }
  78%  { background-size: 100% 100%; text-shadow: 0 0 16px rgba(255,255,255,0.95); opacity: 1; }
  92%  { background-size: 100% 100%; text-shadow: 0 0 5px rgba(255,255,255,0.4); opacity: 1; }
  100% { background-size: 100% 100%; text-shadow: 0 0 0 transparent; opacity: 0.55; }
}

.about-inner .skill-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.35;
  margin-bottom: 12px;
  margin-top: 8px;
}
.about-inner .tag {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
  --mx: 50%;
  --my: 50%;
}
.about-inner .tag::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: radial-gradient(110px circle at var(--mx) var(--my), rgba(255,255,255,0.6), rgba(255,255,255,0.15) 55%, transparent 75%);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}
.about-inner .tag.tag-hover::before {
  opacity: var(--intensity, 0.9);
}
.about-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image .placeholder {
  width: 100%; height: 100%;
  background: #2c2c2c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: #888;
  text-transform: uppercase;
}

/* ─── FOOTER ─── */
footer {
  padding: 60px 48px;
  background: #111;
  color: #888;
  font-size: 13px;
}
footer .footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
footer .footer-brand { font-family: 'Roboto Condensed', sans-serif; font-size: 14px; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; }
footer a { color: #888; text-decoration: none; transition: color 0.3s; }
footer a:hover { color: #fff; }
footer .footer-legal {
  max-width: 1400px;
  margin: 24px auto 0;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  letter-spacing: 0.04em;
  opacity: 0.55;
}

/* ─── PROJECT DETAIL ─── */
.project-detail {
  width: 100%;
  padding: 140px 0 80px;
}
.project-detail .pd-top {
  padding: 0 48px;
}
.project-detail .back-link {
  display: inline-block;
  margin-bottom: 40px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.3s;
  background: none;
  border: none;
  font-family: 'Inter', sans-serif;
}
.project-detail .back-link:hover { opacity: 1; }
.project-detail .main-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-bottom: 56px;
}
.project-detail .main-image div { width: 100%; height: 100%; }
.project-detail .detail-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
.project-detail .detail-header { margin-bottom: 48px; }
.project-detail .detail-header h1 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 42px;
  font-weight: 500;
  margin-bottom: 8px;
}
.project-detail .detail-header span {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.5;
}
.project-detail .detail-header p {
  font-size: 16px;
  line-height: 1.7;
  opacity: 0.7;
  margin-top: 20px;
  max-width: 700px;
}
.project-detail .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  width: 100%;
  padding: 0 48px;
  box-sizing: border-box;
}
@media (max-width: 900px) {
  .project-detail .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .project-detail .pd-top, .project-detail .detail-inner, .project-detail .gallery-grid { padding-left: 20px; padding-right: 20px; }
}
.project-detail .gallery-grid .gallery-img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.project-detail .gallery-grid .gallery-img div,
.project-detail .gallery-grid .gallery-img img {
  width: 100%; height: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.project-detail .gallery-grid .gallery-img:hover div,
.project-detail .gallery-grid .gallery-img:hover img { transform: scale(1.05); }

/* ─── LIGHTBOX ─── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.94);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 44px;
  line-height: 1;
  cursor: pointer;
  padding: 16px 20px;
  opacity: 0.65;
  transition: opacity 0.3s;
  z-index: 10000;
}
.lightbox-nav:hover { opacity: 1; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-close {
  position: fixed;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
  z-index: 10000;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-counter {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.15em;
  opacity: 0.7;
  z-index: 10000;
}

/* Post body rendered in detail (kg cards) */
.detail-body {
  max-width: 1000px;
  margin: 0 auto 80px;
  font-size: 16px;
  line-height: 1.8;
  color: #1a1a1a;
}
.detail-body p { margin-bottom: 20px; opacity: 0.85; }
.detail-body h1, .detail-body h2, .detail-body h3 {
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 36px 0 14px;
}
.detail-body blockquote {
  border-left: 2px solid #b8a88a;
  padding-left: 18px;
  opacity: 0.8;
  margin: 28px 0;
}
.detail-body figure { margin: 0 0 28px; }
.detail-body img { width: 100%; height: auto; display: block; }
.detail-body .kg-image-card img,
.detail-body .kg-gallery-card img { margin: 0; }
.detail-body .kg-gallery-row { display: flex; gap: 16px; margin-bottom: 16px; }
.detail-body .kg-gallery-column { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.detail-body .kg-width-full img { width: 100%; }
.detail-body a { color: #b8a88a; text-decoration: underline; }

/* ─── GHOST TOGGLES ─── */
.detail-body .kg-toggle-card {
  position: relative;
  border: none;
  box-shadow: none;
  background: none;
  padding: 0;
  margin: 0;
}
.detail-body .kg-toggle-card[data-kg-toggle-state="close"] .kg-toggle-content {
  display: block;
  height: 0;
  overflow: hidden;
}
.detail-body .kg-toggle-card[data-kg-toggle-state="open"] .kg-toggle-content {
  height: auto;
}
.detail-body .kg-toggle-content {
  overflow: hidden;
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.detail-body .kg-toggle-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  padding: 14px 0;
  user-select: none;
  position: relative;
}
.detail-body .kg-toggle-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.detail-body .kg-toggle-heading:hover::after { width: 100%; }
.detail-body .kg-toggle-heading-text {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin: 0;
  color: #1a1a1a;
}
.detail-body .kg-toggle-card-icon {
  background: rgba(26, 26, 26, 0.06);
  border: none;
  cursor: pointer;
  padding: 6px;
  line-height: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s;
}
.detail-body .kg-toggle-heading:hover .kg-toggle-card-icon { background: rgba(26, 26, 26, 0.12); }
.detail-body .kg-toggle-card[data-kg-toggle-state="open"] .kg-toggle-card-icon { transform: rotate(180deg); }
.detail-body .kg-toggle-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #1a1a1a;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.detail-body .kg-toggle-content { padding: 0; }
.detail-body .kg-toggle-content p:last-child { margin-bottom: 0; }

/* ─── CONTACT ─── */
.contact-page {
  padding: 140px 48px 100px;
  max-width: 1400px;
  margin: 0 auto;
}
.contact-inner { max-width: 600px; }
.contact-content h1 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 48px;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.4;
}
.contact-item a {
  font-size: 16px;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s;
}
.contact-item a:hover { opacity: 0.5; }
.contact-item > span { font-size: 16px; }
.contact-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.contact-links .sep { opacity: 0.3; font-size: 14px; }
.contact-note {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.6;
  max-width: 500px;
  font-style: italic;
}

/* ─── KOENIG EDITOR SUPPORT ─── */
.kg-width-wide { max-width: 1040px; width: 100%; margin-left: auto; margin-right: auto; }
.kg-width-full { max-width: 100vw; width: 100%; }

/* ─── MAINTENANCE MODE ─── */
#maintenance-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  justify-content: center;
  align-items: center;
}
#maintenance-overlay .maintenance-card {
  text-align: center;
  max-width: 480px;
  padding: 60px 40px;
}
#maintenance-overlay .maintenance-brand {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 40px;
}
#maintenance-overlay .maintenance-icon {
  color: rgba(255,255,255,0.3);
  margin-bottom: 24px;
}
#maintenance-overlay h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 16px;
}
#maintenance-overlay p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  margin-bottom: 40px;
}
#maintenance-overlay .maintenance-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}
#maintenance-overlay .maintenance-links a {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  opacity: 0.4;
  transition: opacity 0.3s;
}
#maintenance-overlay .maintenance-links a:hover { opacity: 1; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .projects-grid, .project-detail .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  header { padding: 14px 20px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
  header.light { background: rgba(26, 26, 26, 0.4); }
  header.dark { background: rgba(250, 250, 250, 0.8); }
  header .logo a { font-size: 15px; }
  header nav { gap: 14px; }
  header nav a, header nav button { font-size: 11px; }
  .home-btn, .photo-btn, .arch-btn, .contact-btn, .humanitarian-btn { display: none; }
  .menu-toggle { display: flex; }
  .mobile-menu { display: flex; }
  header.menu-open .mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu a, .mobile-menu button {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    padding: 15px 0;
    cursor: pointer;
    transition: opacity 0.3s;
  }
  .mobile-menu a:last-child, .mobile-menu button:last-child { border-bottom: none; }
  .mobile-menu a:hover, .mobile-menu button:hover { opacity: 0.7; }
  header.dark .mobile-menu { background: rgba(250, 250, 250, 0.95); }
  header.dark .mobile-menu a, header.dark .mobile-menu button { color: #1a1a1a; border-bottom-color: rgba(0, 0, 0, 0.08); }
  .hero { flex-direction: column; }
  .hero-left .content h2, .hero-right .content h2 { font-size: 48px; }
  .hero-divider { display: none; }
  .section-header { padding: 120px 24px 32px; }
  .section-header h1 { font-size: 32px; }
  .projects-grid { padding: 0 24px 80px; grid-template-columns: 1fr; }
  .arch-kicker { padding: 0 24px 16px; }
  .arch-group + .arch-group { margin-top: 48px; }
  .about { padding: 80px 24px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .project-detail { padding: 120px 0 60px; }
  .project-detail .gallery-grid { grid-template-columns: 1fr; }
  .contact-page { padding: 120px 24px 60px; }
  footer { padding: 40px 24px 32px; }
  footer .footer-inner { flex-direction: column; gap: 14px; text-align: center; }
  footer .footer-brand { font-size: 13px; margin-bottom: 2px; }
  footer .footer-inner > div:last-child { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  footer .footer-inner span { display: none; }
  footer .footer-legal { margin-top: 20px; padding-top: 14px; font-size: 11px; line-height: 1.6; }
}

/* ─── V1.2 SEO: project cards as real links ─── */
a.project-card {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.project-card .card-info h3 { color: #fff; }
a.project-card:hover .card-info h3 { color: #fff; }
.project-card:focus-visible { outline: 2px solid #b8a88a; outline-offset: 2px; }

/* ─── V1.2 SEO: visually-hidden h1 ─── */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── V1.2 SEO: home project sections ─── */
.projects-section { background: #fafafa; }
.projects-section .section-header h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.projects-section + .projects-section { border-top: 1px solid #eee; }
.contact-content h2 {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 48px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 48px;
}

/* ─── V1.2 SEO: related projects on post pages ─── */
.related-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 48px 120px;
}
.related-title {
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #b8a88a;
  padding: 0 0 20px;
}
.related-grid { padding: 0; }

