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

:root {
  --bg: #ffffff;
  --bg2: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --light: #d2d2d7;
  --xlight: #e8e8ed;
  --success: #34c759;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.overlay-open {
  overflow: hidden;
}

img {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

a,
button {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
.project-row:focus-visible,
.photo-card:focus-visible,
.g-thumb:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.logo {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

nav a {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--text);
}

.nav-cv {
  padding: 7px 18px;
  background: var(--text);
  color: #fff !important;
  border-radius: 999px;
  font-size: 12px !important;
  transition: background 0.2s !important;
}

.nav-cv:hover {
  background: #444 !important;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 52px 56px 72px;
  position: relative;
  overflow: hidden;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background: url("https://images.unsplash.com/photo-1486325212027-8081e485255e?w=1800&q=85")
    center / cover no-repeat;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
}

.hero-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}

.chip {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid var(--xlight);
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted);
  background: var(--bg2);
}

.hero-title {
  font-size: clamp(52px, 8vw, 100px);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-title strong {
  font-weight: 500;
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 48px;
  flex-wrap: wrap;
  gap: 24px;
  opacity: 0;
  animation: fadeUp 0.7s ease 0.9s forwards;
}

.hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: var(--muted);
  max-width: 420px;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.hero-actions,
.about-actions,
.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-actions {
  margin-top: 40px;
}

.btn-dark,
.btn-outline {
  display: inline-block;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  border-radius: 999px;
  letter-spacing: -0.01em;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.btn-dark {
  background: var(--text);
  color: #fff;
}

.btn-dark:hover {
  background: #333;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--light);
}

.btn-outline:hover {
  border-color: #999;
}

.scroll-hint {
  position: absolute;
  bottom: 32px;
  right: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--light);
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeUp 0.6s ease 1.4s forwards;
}

.scroll-hint::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--xlight);
}

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

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

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.rd1 {
  transition-delay: 0.1s;
}

.rd2 {
  transition-delay: 0.2s;
}

.rd3 {
  transition-delay: 0.3s;
}

hr.divider {
  border: none;
  border-top: 1px solid var(--xlight);
}

.section-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 48px;
}

.section-wrap-tight {
  padding-bottom: 40px;
}

.photo-intro {
  max-width: 560px;
  margin-top: 16px;
}

.photo-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  margin-top: 28px;
  background: var(--bg2);
  border: 1px solid var(--xlight);
  border-radius: 999px;
}

.photo-tab {
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.photo-tab.active {
  background: var(--text);
  color: #fff;
  box-shadow: 0 8px 22px rgba(29, 29, 31, 0.12);
}

.eyebrow {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.sec-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text);
}

.sec-body {
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.projects-copy {
  max-width: 300px;
  font-size: 13px;
}

.contact-copy {
  margin-top: 16px;
}

.status-available {
  color: var(--success);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  filter: grayscale(10%);
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  padding: 6px 14px;
  background: var(--bg2);
  border-radius: 999px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--xlight);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--xlight);
  border-radius: 14px;
  overflow: hidden;
}

.stat-cell {
  background: var(--bg);
  padding: 18px 20px;
}

.stat-cell + .stat-cell {
  border-left: 1px solid var(--xlight);
}

.stat-n {
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}

.stat-l {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.projects-bg {
  background: var(--bg2);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}

.projects-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.project-row {
  width: 100%;
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  gap: 24px;
  align-items: center;
  padding: 24px 28px;
  background: var(--bg);
  color: var(--text);
  transition: box-shadow 0.2s;
  cursor: pointer;
  border: 0;
  text-align: left;
}

.project-row:first-child {
  border-radius: 14px 14px 0 0;
}

.project-row:hover {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.07);
  z-index: 1;
  position: relative;
}

.proj-num {
  font-size: 12px;
  color: var(--light);
  font-weight: 300;
}

.proj-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.proj-name {
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}

.proj-desc {
  font-size: 12px;
  color: var(--muted);
  font-weight: 300;
}

.proj-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.proj-tag {
  padding: 4px 12px;
  background: var(--bg2);
  border-radius: 999px;
  font-size: 11px;
  color: var(--muted);
}

.proj-arrow {
  font-size: 18px;
  color: var(--light);
  transition: transform 0.2s, color 0.2s;
}

.project-row:hover .proj-arrow,
.project-row[aria-expanded="true"] .proj-arrow {
  transform: translateX(4px);
  color: var(--text);
}

.proj-panel {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--xlight);
  padding: 28px 28px 28px calc(64px + 24px + 28px);
}

.proj-panel.open {
  display: block;
}

.proj-panel-text {
  font-size: 13px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}

.proj-panel-imgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.proj-panel-imgs img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  filter: grayscale(10%);
  transition: transform 0.4s;
}

.proj-panel-imgs img:hover {
  transform: scale(1.02);
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--xlight);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-12px);
  transition:
    max-height 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.35s ease,
    transform 0.45s ease;
}

.photo-grid[hidden] {
  display: none;
}

.photo-grid.open {
  max-height: 1200px;
  opacity: 1;
  transform: translateY(0);
}

.photo-card {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  cursor: pointer;
  border: 0;
  width: 100%;
  text-align: left;
}

.photo-card[hidden] {
  display: none;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  filter: grayscale(8%);
}

.photo-card.normal img {
  height: 360px;
}

.photo-card:hover img {
  transform: scale(1.04);
}

.photo-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.photo-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.photo-cat {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.photo-name {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: -0.02em;
}

.photo-year {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.photo-open {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  cursor: pointer;
}

.photo-card:hover .photo-open,
.photo-card:focus-visible .photo-open {
  opacity: 1;
  transform: translateY(0);
}

.photo-open:hover {
  background: rgba(255, 255, 255, 0.28);
}

.gallery-overlay,
.cv-overlay {
  position: fixed;
  inset: 0;
}

.gallery-overlay {
  background:
    radial-gradient(circle at 18% 10%, rgba(255, 255, 255, 0.12), transparent 28%),
    radial-gradient(circle at 82% 88%, rgba(180, 170, 150, 0.12), transparent 30%),
    rgba(8, 8, 9, 0.98);
  z-index: 500;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
}

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

.gal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.28), transparent);
}

.gal-title {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}

.gal-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
  margin-top: 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gal-close,
.cv-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.72);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.gal-close:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.gal-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 30px 88px;
  min-height: 0;
  touch-action: pan-y;
}

.gal-stage.loading::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.16);
  border-top-color: rgba(255, 255, 255, 0.75);
  animation: gallerySpin 0.8s linear infinite;
}

.gal-stage img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 18px;
  transition: opacity 0.25s, transform 0.35s ease;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  background: rgba(255, 255, 255, 0.04);
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.gal-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.gal-prev {
  left: 20px;
}

.gal-next {
  right: 20px;
}

.gal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px 28px;
  flex-shrink: 0;
  gap: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.42), transparent);
}

.gal-counter {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 400;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.gal-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 3px;
}

.gal-thumbs::-webkit-scrollbar {
  display: none;
}

.g-thumb {
  width: 82px;
  height: 58px;
  cursor: pointer;
  opacity: 0.45;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
  flex-shrink: 0;
  background: transparent;
  padding: 0;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}

.g-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g-thumb.active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.72);
  transform: translateY(-2px);
}

.g-thumb:hover {
  opacity: 0.82;
}

@keyframes gallerySpin {
  to {
    transform: rotate(360deg);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-fields {
  display: flex;
  flex-direction: column;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--xlight);
  gap: 16px;
}

.contact-row:first-child {
  border-top: 1px solid var(--xlight);
}

.contact-label {
  font-size: 12px;
  color: var(--muted);
}

.contact-val {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

a.contact-val:hover {
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--xlight);
  padding: 20px 48px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.cv-overlay {
  background:
    radial-gradient(circle at top left, rgba(230, 228, 221, 0.95), transparent 35%),
    linear-gradient(135deg, #f7f5f0 0%, #ece8df 100%);
  z-index: 300;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cv-overlay.open {
  transform: translateX(0);
}

.cv-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px 0;
  flex-shrink: 0;
  gap: 16px;
}

.cv-back {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 13px;
  color: var(--muted);
}

.cv-title {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.cv-subtitle {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.cv-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
  gap: 28px;
  padding: 24px 32px 32px;
}

.cv-sidebar {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(29, 29, 31, 0.08);
  backdrop-filter: blur(14px);
}

.cv-eyebrow {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.cv-heading {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.cv-copy {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

.cv-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cv-meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 14px;
  border-top: 1px solid rgba(29, 29, 31, 0.08);
}

.cv-meta-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.cv-meta-value {
  font-size: 14px;
  color: var(--text);
}

.cv-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cv-mobile-note {
  display: none;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}

.cv-preview {
  min-height: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 50px rgba(29, 29, 31, 0.08);
  backdrop-filter: blur(14px);
}

.cv-frame {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
  min-height: 0;
  background: #fff;
  border-radius: 18px;
}

@media (max-width: 860px) {
  header {
    padding: 0 24px;
  }

  nav a:not(.nav-cv) {
    display: none;
  }

  .hero {
    padding: 52px 24px 56px;
  }

  .scroll-hint {
    display: none;
  }

  .section-wrap {
    padding: 72px 24px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .stat-cell + .stat-cell {
    border-top: 1px solid var(--xlight);
    border-left: 0;
  }

  .photo-grid {
    grid-template-columns: 1fr;
    background: none;
    gap: 2px;
  }

  .photo-tabs {
    width: 100%;
  }

  .photo-tab {
    flex: 1;
    padding-inline: 12px;
  }

  .photo-card.normal img {
    height: 260px;
  }

  .project-row {
    grid-template-columns: 40px 1fr auto;
    gap: 16px;
  }

  .proj-tags {
    display: none;
  }

  .proj-panel {
    padding: 20px;
  }

  .proj-panel-imgs {
    grid-template-columns: 1fr 1fr;
  }

  .gal-header,
  .gal-footer,
  .cv-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .cv-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 24px;
  }

  .cv-layout {
    grid-template-columns: 1fr;
    padding: 20px 24px 24px;
    min-height: auto;
  }

  .cv-sidebar,
  .cv-preview {
    border-radius: 22px;
  }

  .cv-preview {
    display: none;
  }

  .cv-mobile-note {
    display: block;
  }

  .gal-stage {
    padding: 18px 52px;
  }

  .gal-btn {
    width: 42px;
    height: 42px;
  }

  .gal-prev {
    left: 10px;
  }

  .gal-next {
    right: 10px;
  }

  .gal-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .gal-thumbs {
    width: 100%;
  }

  .g-thumb {
    width: 70px;
    height: 50px;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
  }

  footer {
    padding: 16px 24px;
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

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