@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Clash Display";
  src: url("../fonts/ClashDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg-1: #171a1d;
  --bg-2: #1e2328;
  --surface: #252b31;
  --surface-soft: #2a3138;
  --text-main: #eef1f4;
  --text-dim: #bcc5cf;
  --accent: #2ca1a5;
  --accent-strong: #2ca1a5;
  --line: #39424c;
  --ok: #2ca1a5;
  --danger: #2ca1a5;
  --radius-lg: 1.2rem;
  --radius-md: 0.85rem;
  --radius-sm: 0.5rem;
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 14px 30px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Satoshi", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(44, 161, 165, 0.1), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(44, 161, 165, 0.08), transparent 30%),
    linear-gradient(160deg, var(--bg-1), var(--bg-2));
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

main {
  width: min(1240px, calc(100vw - 3rem));
  margin: 0 auto;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.12;
  background-image: radial-gradient(rgba(255, 255, 255, 0.35) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
  mix-blend-mode: soft-light;
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 1rem;
  width: min(1240px, calc(100vw - 3rem));
  margin: 1.2rem auto;
  border: 1px solid rgba(255, 255, 255, 0.11);
  background:
    linear-gradient(120deg, rgba(44, 161, 165, 0.12), transparent 38%),
    rgba(16, 20, 24, 0.78);
  backdrop-filter: blur(12px);
  border-radius: 1.15rem;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto minmax(130px, 1fr);
  align-items: center;
  gap: 0.9rem;
  padding: 0.55rem 0.75rem;
  box-shadow: var(--shadow-md);
  z-index: 60;
}

.header-social {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.social-link {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  border: 1px solid rgba(44, 161, 165, 0.36);
  background: rgba(44, 161, 165, 0.08);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.social-link svg {
  width: 1.08rem;
  height: 1.08rem;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-1px);
  color: #8ce6e7;
  border-color: rgba(44, 161, 165, 0.75);
  background: rgba(44, 161, 165, 0.2);
}

.brand {
  grid-column: 2;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(circle at 18% 50%, rgba(255, 255, 255, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.04);
  min-height: 62px;
}

.brand__logo {
  width: clamp(210px, 26vw, 310px);
  height: 50px;
  object-fit: contain;
  object-position: left center;
  opacity: 1;
  filter: drop-shadow(0 3px 9px rgba(0, 0, 0, 0.45));
}

.header-spacer {
  display: none;
}

.main-nav {
  grid-column: 3;
  justify-self: end;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.main-nav a {
  font-family: "Clash Display", "Segoe UI", sans-serif;
  text-decoration: none;
  color: var(--text-dim);
  padding: 0.56rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

.nav-toggle {
  display: none;
}

.hero {
  min-height: auto;
  display: grid;
  align-items: start;
  padding: 0.45rem 0 0.2rem;
}

.hero__copy {
  max-width: min(1100px, 100%);
  margin-top: 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  color: var(--accent);
  margin: 0 0 0.85rem;
}

h1,
h2,
h3 {
  font-family: "Clash Display", "Segoe UI", sans-serif;
  letter-spacing: 0.015em;
  line-height: 1.15;
  margin: 0 0 0.8rem;
  font-weight: 500;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

.hero h1 {
  white-space: nowrap;
}

h2 {
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

p {
  margin-top: 0;
}

.hero__lead {
  color: var(--text-dim);
  max-width: none;
  white-space: nowrap;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.btn {
  font-family: "Clash Display", "Segoe UI", sans-serif;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.68rem 1.1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-weight: 600;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
  cursor: pointer;
  font: inherit;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #171717;
}

.btn--ghost {
  border-color: var(--line);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 1rem;
}

.section-head {
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--text-dim);
}

.portfolio,
.about,
.contact {
  margin-block: 2.6rem;
}

.portfolio {
  margin-top: 0.75rem;
}

.loading,
.error {
  margin-bottom: 0.8rem;
}

.error {
  border-color: rgba(44, 161, 165, 0.45);
  color: #8ce6e7;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.filter-pill {
  font-family: "Clash Display", "Segoe UI", sans-serif;
  border: 1px solid rgba(44, 161, 165, 0.45);
  background: rgba(44, 161, 165, 0.1);
  color: #e7edf4;
  padding: 0.6rem 1.08rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 140ms ease, background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.filter-pill:hover,
.filter-pill:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(44, 161, 165, 0.72);
  background: rgba(44, 161, 165, 0.22);
}

.filter-pill.is-active {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  border-color: transparent;
  color: #081417;
  box-shadow: 0 10px 24px rgba(44, 161, 165, 0.35);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  align-items: start;
}

.gallery.is-packed {
  grid-auto-rows: 8px;
  grid-auto-flow: row dense;
}

.photo-card {
  display: block;
  width: 100%;
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow: none;
}

.gallery.is-packed .photo-card {
  grid-row-end: span 1;
}

.photo-card__image-wrap {
  display: block;
  padding: 0;
  width: 100%;
  border: none;
  background: none;
  cursor: zoom-in;
  overflow: hidden;
}

.photo-card__image-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 560px;
  transition: transform 330ms ease;
}

.photo-card:hover .photo-card__image-wrap img {
  transform: scale(1.03);
}

/* Hard fallback: never show card text blocks, even if stale JS renders them */
.photo-card__meta,
.photo-card__category,
.photo-card__description {
  display: none !important;
}

/* Hard fallback: hide "Alle" button if any stale markup/script re-inserts it */
.filter-pill[data-filter="all"] {
  display: none !important;
}

.photo-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 0.85rem;
}

.photo-card__meta h3 {
  margin: 0;
  font-size: 1.1rem;
}

.photo-card__category {
  margin: 0.2rem 0 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.photo-card__description {
  margin: 0.4rem 0 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.about {
  display: grid;
  grid-template-columns: minmax(220px, 360px) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.about__image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-xl);
}

.about__copy p {
  color: var(--text-dim);
}

.about__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.contact p {
  color: var(--text-dim);
}

.contact-form {
  display: grid;
  gap: 0.7rem;
  max-width: 720px;
  margin-top: 1.1rem;
}

.contact-form .form-group {
  margin: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border-radius: 0.8rem;
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(188, 197, 207, 0.85);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(44, 161, 165, 0.78);
  box-shadow: 0 0 0 3px rgba(44, 161, 165, 0.2);
}

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

.contact-form button[disabled] {
  opacity: 0.72;
  cursor: wait;
}

.contact-success {
  margin-top: 1rem;
  border: 1px solid rgba(44, 161, 165, 0.55);
  background: rgba(44, 161, 165, 0.12);
  border-radius: 0.85rem;
  padding: 1rem 1rem 0.9rem;
  max-width: 720px;
}

.contact-success h3 {
  margin-bottom: 0.25rem;
}

.site-footer {
  width: min(1240px, calc(100vw - 3rem));
  margin: 2rem auto 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  padding-top: 1rem;
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.legal-links {
  margin-top: 0.35rem !important;
  font-size: 0.82rem;
  opacity: 0.92;
}

.legal-links a {
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 150ms ease, border-color 150ms ease;
}

.legal-links a:hover,
.legal-links a:focus-visible {
  color: #8ce6e7;
  border-color: rgba(44, 161, 165, 0.7);
}

.legal-links span {
  margin: 0 0.4rem;
  color: rgba(188, 197, 207, 0.7);
}

.legal-main {
  width: min(980px, calc(100vw - 3rem));
  margin: 1.2rem auto 2rem;
}

.legal-card {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  padding: 1.6rem 1.35rem;
}

.legal-card h1 {
  margin-bottom: 0.5rem;
}

.legal-card h2 {
  margin-top: 1.4rem;
  margin-bottom: 0.55rem;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.legal-card h3 {
  margin-top: 1.1rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-family: "Clash Display", "Segoe UI", sans-serif;
  font-weight: 500;
  color: var(--text-main);
}

.legal-card p,
.legal-card li {
  color: var(--text-dim);
}

.legal-card ul {
  margin: 0.35rem 0 0.8rem 1.1rem;
  padding: 0;
}

.legal-note {
  margin-top: 1rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.7rem;
  border: 1px dashed rgba(44, 161, 165, 0.55);
  background: rgba(44, 161, 165, 0.09);
  color: #cceff0 !important;
  font-size: 0.92rem;
}

.lightbox {
  width: min(98vw, 1700px);
  max-width: 98vw;
  height: 96vh;
  max-height: 96vh;
  border: none;
  border-radius: 1rem;
  padding: 0.45rem;
  background: rgba(20, 24, 28, 0.92);
  color: var(--text-main);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.lightbox:not([open]) {
  display: none;
}

.lightbox[open] {
  display: grid;
  place-items: center;
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.lightbox img {
  width: auto;
  height: auto;
  max-width: calc(98vw - 0.9rem);
  max-height: calc(96vh - 0.9rem);
  object-fit: contain;
}

@supports (height: 100dvh) {
  .lightbox {
    height: 96dvh;
    max-height: 96dvh;
  }

  .lightbox img {
    max-height: calc(96dvh - 0.9rem);
  }
}

.lightbox__close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  border: none;
  background: rgba(255, 255, 255, 0.14);
  color: white;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  cursor: pointer;
}

.lightbox__nav {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  border: none;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.13);
  color: white;
  font-size: 1.6rem;
}

.lightbox__nav--prev {
  left: 0.6rem;
}

.lightbox__nav--next {
  right: 0.6rem;
}

.lightbox__caption {
  display: none !important;
}

.lightbox__caption h3 {
  margin: 0.65rem 0 0.2rem;
}

.lightbox__caption p {
  margin: 0;
  color: var(--text-dim);
}

.cms-main {
  width: min(1320px, calc(100vw - 3rem));
  margin: 1.5rem auto 4rem;
  display: grid;
  gap: 1rem;
}

.cms-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.cms-grid {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 1rem;
}

form {
  display: grid;
  gap: 0.42rem;
}

label {
  font-size: 0.9rem;
  color: var(--text-dim);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 0.58rem 0.65rem;
  font: inherit;
}

select {
  color-scheme: dark;
}

select option {
  color: #e7edf4;
  background-color: #1f262d;
}

select option:disabled {
  color: #8f99a3;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(44, 161, 165, 0.7);
  box-shadow: 0 0 0 3px rgba(44, 161, 165, 0.2);
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.2rem;
}

.checkbox input {
  width: 1.1rem;
  height: 1.1rem;
}

.form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.form-message {
  min-height: 1.1rem;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.form-message.error {
  color: var(--danger);
}

.form-message.success {
  color: var(--ok);
}

.photo-list {
  display: grid;
  gap: 0.65rem;
  max-height: 72vh;
  overflow: auto;
  padding-right: 0.35rem;
}

.photo-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  gap: 0.7rem;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  background: rgba(0, 0, 0, 0.14);
}

.photo-row img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 0.45rem;
}

.photo-row h4 {
  margin: 0;
  font-size: 1rem;
  font-family: "Clash Display", "Segoe UI", sans-serif;
  font-weight: 500;
}

.photo-row p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.86rem;
}

.photo-row__actions {
  display: flex;
  gap: 0.4rem;
}

.photo-row__actions button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  cursor: pointer;
  font: inherit;
}

.photo-row__actions button[data-delete] {
  border-color: rgba(44, 161, 165, 0.55);
  color: #8ce6e7;
}

.muted {
  color: var(--text-dim);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 450ms ease, transform 450ms ease;
}

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

.hidden {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .gallery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 720px) {
  .hero {
    min-height: auto;
    padding: 0.35rem 0 0.2rem;
  }

  .hero h1 {
    white-space: normal;
  }

  .hero__lead {
    white-space: normal;
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "social brand toggle"
      "nav nav nav";
    border-radius: 1rem;
    padding: 0.6rem 0.65rem;
    gap: 0.75rem;
    transition: padding 220ms ease, gap 220ms ease, border-radius 220ms ease, top 220ms ease;
  }

  .header-social {
    grid-area: social;
    align-self: center;
  }

  .social-link {
    width: 2rem;
    height: 2rem;
  }

  .social-link svg {
    width: 1rem;
    height: 1rem;
  }

  .brand {
    grid-area: brand;
    justify-content: center;
    justify-self: center;
    min-height: 50px;
    transition: min-height 220ms ease, padding 220ms ease, border-radius 220ms ease;
  }

  .brand__logo {
    width: min(62vw, 250px);
    height: 40px;
    object-position: center;
    transition: width 220ms ease, height 220ms ease;
  }

  .nav-toggle {
    display: inline-flex;
    grid-area: toggle;
    justify-self: end;
    align-self: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(44, 161, 165, 0.45);
    background: rgba(44, 161, 165, 0.12);
    color: var(--text-main);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0.28rem;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(44, 161, 165, 0.75);
    background: rgba(44, 161, 165, 0.22);
  }

  .nav-toggle__stack {
    width: 1.12rem;
    display: grid;
    gap: 0.24rem;
  }

  .nav-toggle__bar {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  .main-nav {
    grid-area: nav;
    width: 100%;
    justify-content: center;
    gap: 0.5rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-5px);
    padding-top: 0;
    transition: max-height 230ms ease, opacity 190ms ease, transform 190ms ease, padding-top 190ms ease;
  }

  .site-header[data-menu-open="true"] .main-nav {
    max-height: 180px;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    padding-top: 0.2rem;
  }

  .main-nav a {
    transition:
      padding 220ms ease,
      font-size 220ms ease,
      transform 220ms ease,
      background-color 180ms ease,
      color 180ms ease,
      border-color 180ms ease;
  }

  .site-header.is-compact {
    top: 0.35rem;
    padding: 0.35rem 0.5rem;
    gap: 0.42rem;
    border-radius: 0.85rem;
  }

  .site-header.is-compact .social-link {
    width: 1.85rem;
    height: 1.85rem;
  }

  .site-header.is-compact .social-link svg {
    width: 0.92rem;
    height: 0.92rem;
  }

  .site-header.is-compact .brand {
    min-height: 40px;
    padding: 0.2rem 0.5rem;
    border-radius: 0.72rem;
  }

  .site-header.is-compact .brand__logo {
    width: min(55vw, 200px);
    height: 31px;
  }

  .site-header.is-compact .nav-toggle {
    width: 1.95rem;
    height: 1.95rem;
    border-radius: 0.58rem;
  }

  .site-header.is-compact .nav-toggle__stack {
    width: 0.98rem;
  }

  .site-header.is-compact .main-nav {
    gap: 0.36rem;
  }

  .site-header.is-compact .main-nav a {
    padding: 0.42rem 0.72rem;
    font-size: 0.84rem;
  }

  main,
  .legal-main,
  .site-footer,
  .cms-main {
    width: calc(100vw - 1.35rem);
  }

  .photo-row {
    grid-template-columns: 1fr;
  }

  .about {
    position: relative;
    margin-top: 2.4rem;
    padding-top: 2.1rem;
    border-top: 1px solid rgba(44, 161, 165, 0.35);
  }

  .about::before {
    content: "About Me";
    position: absolute;
    top: -0.72rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.08rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(44, 161, 165, 0.5);
    background: linear-gradient(160deg, var(--bg-1), var(--bg-2));
    color: #8ce6e7;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.35;
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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