@font-face {
  font-family: "Montserrat";
  src: url("/wp-content/uploads/am-portfolio-fonts/Montserrat-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("/wp-content/uploads/am-portfolio-fonts/SpaceGrotesk-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --am-bg: #0b0b0b;
  --am-bg-soft: #131313;
  --am-surface: #f5f2ea;
  --am-text: #f5f2ea;
  --am-text-dark: #111111;
  --am-muted: rgba(245, 242, 234, 0.68);
  --am-muted-dark: rgba(17, 17, 17, 0.62);
  --am-line: rgba(245, 242, 234, 0.16);
  --am-line-dark: rgba(17, 17, 17, 0.14);
  --am-font: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --am-heading-font: "Montserrat", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --am-serif: Georgia, "Times New Roman", serif;
  --am-max: 1480px;
  --am-side: clamp(24px, 5vw, 80px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--am-bg);
}

body {
  margin: 0;
  background: var(--am-bg);
  color: var(--am-text);
  font-family: var(--am-font);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

body.menu-open {
  overflow: hidden;
}

/* Page loader */
.am-page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at var(--am-loader-x, 50%) var(--am-loader-y, 50%), rgba(136, 255, 88, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(11, 11, 11, 0.98), rgba(7, 7, 7, 0.98));
  color: var(--am-text);
  opacity: 1;
  visibility: visible;
  transition: opacity 520ms ease, visibility 520ms ease;
  pointer-events: auto;
}

.am-page-loader::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    repeating-radial-gradient(ellipse at 35% 40%, transparent 0 18px, rgba(245, 242, 234, 0.055) 19px 20px, transparent 21px 46px),
    repeating-radial-gradient(ellipse at 68% 55%, transparent 0 24px, rgba(136, 255, 88, 0.045) 25px 26px, transparent 27px 58px);
  opacity: 0.42;
  filter: blur(0.2px);
  transform: translate3d(0, 0, 0) rotate(0.001deg);
  animation: am-loader-damascus 7s ease-in-out infinite alternate;
}

.am-page-loader::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(245, 242, 234, 0.045), transparent);
  transform: translateX(-100%);
  animation: am-loader-sweep 1.8s ease-in-out infinite;
}

.am-page-loader__mark {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.1em;
  text-align: center;
  letter-spacing: -0.07em;
  line-height: 0.86;
  transform: translateY(-8px);
}

.am-page-loader__name,
.am-page-loader__surname {
  display: block;
  font-family: var(--am-heading-font);
  font-size: clamp(42px, 8vw, 116px);
  font-weight: 900;
  text-transform: uppercase;
}

.am-page-loader__surname {
  color: rgba(245, 242, 234, 0.68);
}

.am-page-loader__line {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: clamp(44px, 8vh, 96px);
  width: min(300px, 56vw);
  height: 1px;
  overflow: hidden;
  transform: translateX(-50%);
  background: rgba(245, 242, 234, 0.14);
}

.am-page-loader__line span {
  display: block;
  width: 46%;
  height: 100%;
  background: rgba(136, 255, 88, 0.9);
  box-shadow: 0 0 22px rgba(136, 255, 88, 0.42);
  animation: am-loader-line 1.15s ease-in-out infinite;
}

body.am-loader-done .am-page-loader {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.am-leaving-page .am-page-loader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@keyframes am-loader-line {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(230%); }
}

@keyframes am-loader-sweep {
  0% { transform: translateX(-100%); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

@keyframes am-loader-damascus {
  0% { transform: translate3d(-1.2%, -0.8%, 0) scale(1.02); }
  100% { transform: translate3d(1.2%, 0.8%, 0) scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  .am-page-loader,
  .am-page-loader::before,
  .am-page-loader::after,
  .am-page-loader__line span {
    animation: none;
    transition-duration: 1ms;
  }
}


img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  width: auto;
  height: auto;
  clip: auto;
  padding: 10px 14px;
  background: var(--am-surface);
  color: var(--am-text-dark);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px var(--am-side);
  pointer-events: none;
}

.site-branding,
.menu-toggle,
.primary-navigation {
  pointer-events: auto;
}

.site-title,
.custom-logo-link {
  display: inline-flex;
  align-items: center;
  color: var(--am-text);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.custom-logo {
  max-height: 48px;
  width: auto;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--am-line);
  background: rgba(11, 11, 11, 0.22);
  color: var(--am-text);
  padding: 9px 12px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  backdrop-filter: blur(20px);
}

.primary-navigation ul,
.side-menu ul,
.footer-bottom ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.primary-navigation ul {
  display: flex;
  gap: 22px;
}

.primary-navigation a,
.side-menu a,
.footer-bottom a {
  text-decoration: none;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.68;
  transition: opacity 220ms ease, transform 220ms ease;
}

.primary-navigation a:hover,
.side-menu a:hover,
.footer-bottom a:hover,
.side-menu a.is-active {
  opacity: 1;
}

.side-menu {
  position: fixed;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  z-index: 35;
  text-align: right;
}

.side-menu ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.side-menu a {
  display: inline-block;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.42);
}

.side-menu a:hover,
.side-menu a.is-active {
  transform: translateX(-5px);
}

.hero-signature {
  height: 220vh;
  position: relative;
  background: var(--am-bg);
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.72) contrast(1.03);
  transform: scale(1.02);
}

.hero-placeholder {
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(120deg, #181818 0%, #0b0b0b 48%, #29231c 100%);
}

.hero-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 58%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.38), transparent 42%);
  pointer-events: none;
}

.hero-content {
  position: absolute;
  left: var(--am-side);
  bottom: clamp(64px, 12vh, 140px);
  z-index: 2;
  width: min(780px, calc(100vw - 160px));
}

.hero-kicker,
.section-label,
.footer-kicker,
.project-card__meta {
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--am-muted);
}

.hero-title {
  margin: 0 0 12px;
  font-family: var(--am-heading-font);
  font-size: clamp(44px, 9vw, 148px);
  line-height: 0.85;
  letter-spacing: -0.075em;
  font-weight: 900;
  max-width: 940px;
}

.signature-svg,
.signature-image-wrap {
  width: min(680px, 72vw);
  height: auto;
  overflow: visible;
  margin: 4px 0 20px;
}

.signature-image-wrap {
  --signature-mask: 100%;
  clip-path: inset(0 var(--signature-mask) 0 0);
  will-change: clip-path;
}

.signature-image {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.48));
}

.signature-path {
  fill: none;
  stroke: var(--am-text);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.48));
}

.hero-subtitle {
  margin: 0;
  max-width: 520px;
  color: var(--am-muted);
  font-size: clamp(17px, 2vw, 24px);
}

.intro-section,
.project-section,
.split-section,
.about-section,
.listing-page,
.content-page,
.project-single {
  padding: clamp(80px, 13vw, 190px) var(--am-side);
}

.intro-section,
.split-section,
.about-section {
  display: grid;
  grid-template-columns: minmax(120px, 260px) minmax(0, 1fr);
  gap: clamp(28px, 7vw, 120px);
  border-top: 1px solid var(--am-line);
}

.about-section:has(.about-image) {
  grid-template-columns: minmax(120px, 260px) minmax(0, 1fr) minmax(180px, 30%);
  align-items: end;
}

.about-image {
  margin: 0;
  align-self: end;
  justify-self: end;
  width: 100%;
  max-width: 420px;
  pointer-events: none;
}

.about-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 26px rgba(55, 189, 64, 0.14));
}


.intro-copy p,
.split-section h2,
.about-copy p {
  margin: 0;
  max-width: 980px;
  font-size: clamp(36px, 7vw, 112px);
  line-height: 0.94;
  letter-spacing: -0.06em;
  font-weight: 500;
}

.section-heading {
  max-width: var(--am-max);
  margin: 0 auto clamp(40px, 8vw, 110px);
}

.section-heading h1,
.section-heading h2,
.page-hero h1,
.project-hero h1 {
  margin: 16px 0 0;
  font-size: clamp(56px, 12vw, 190px);
  line-height: 0.83;
  letter-spacing: -0.085em;
  font-weight: 500;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 64px);
  max-width: var(--am-max);
  margin: 0 auto;
}

.project-card {
  position: relative;
}

.project-card:nth-child(even) {
  margin-top: clamp(40px, 8vw, 140px);
}

.project-card__link {
  display: block;
  text-decoration: none;
}

.project-card__media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--am-bg-soft);
}

.project-card__media img,
.project-card__placeholder,
.featured-media img,
.project-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card__placeholder {
  background:
    linear-gradient(135deg, rgba(245, 242, 234, 0.18), transparent 42%),
    #191919;
}

.project-card__media img {
  transform: scale(1.02);
  transition: transform 700ms ease, filter 700ms ease;
}

.project-card__link:hover .project-card__media img {
  transform: scale(1.065);
  filter: brightness(1.08);
}

.project-card__body {
  padding-top: 18px;
}

.project-card h3 {
  margin: 8px 0 6px;
  font-size: clamp(28px, 3.2vw, 56px);
  line-height: 0.92;
  letter-spacing: -0.05em;
  font-weight: 500;
}

.project-card p:last-child {
  margin: 0;
  color: var(--am-muted);
  max-width: 520px;
}

.split-section h2 {
  margin-bottom: 28px;
}

.split-section p {
  margin: 0;
  max-width: 740px;
  color: var(--am-muted);
  font-size: clamp(18px, 2vw, 26px);
}

.split-section--dark {
  background: #050505;
}

.about-copy,
.entry-content,
.project-content {
  max-width: 900px;
}

.about-copy p,
.entry-content p {
  margin-top: 0;
  margin-bottom: 1.1em;
}

.page-hero--simple {
  max-width: var(--am-max);
  margin: 0 auto clamp(50px, 8vw, 110px);
  padding-top: clamp(80px, 8vw, 120px);
}

.entry-content {
  margin: 0 auto;
  font-size: clamp(18px, 1.5vw, 24px);
  color: rgba(245, 242, 234, 0.82);
}

.entry-content a,
.text-link {
  color: var(--am-text);
  text-underline-offset: 0.22em;
}

.featured-media {
  max-width: var(--am-max);
  margin: 0 auto clamp(44px, 7vw, 90px);
}

.project-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: end;
  max-width: var(--am-max);
  margin: 0 auto clamp(64px, 9vw, 140px);
  padding-top: clamp(80px, 8vw, 120px);
}

.project-subtitle {
  max-width: 620px;
  color: var(--am-muted);
  font-size: clamp(20px, 2vw, 30px);
}

.project-hero-media {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.post-list {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.post-card a {
  display: block;
  padding: 28px 0;
  text-decoration: none;
  border-top: 1px solid var(--am-line);
}

.post-card h2 {
  margin: 0 0 6px;
  font-size: clamp(28px, 4vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.post-card p {
  margin: 0;
  color: var(--am-muted);
}

.nav-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
}

.nav-links a,
.nav-links span {
  color: var(--am-text);
  text-decoration: none;
}

.empty-projects {
  max-width: var(--am-max);
  margin: 0 auto;
  border: 1px solid var(--am-line);
  padding: 34px;
  color: var(--am-muted);
}

.site-footer {
  padding: clamp(80px, 12vw, 180px) var(--am-side) 34px;
  background: var(--am-surface);
  color: var(--am-text-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.3fr);
  gap: clamp(34px, 7vw, 120px);
  align-items: end;
  max-width: var(--am-max);
  margin: 0 auto clamp(70px, 10vw, 140px);
}

.footer-kicker {
  color: var(--am-muted-dark);
}

.footer-grid h2 {
  margin: 18px 0 0;
  font-size: clamp(44px, 7vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.07em;
  font-weight: 500;
}

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

.footer-links a {
  color: var(--am-text-dark);
  font-size: clamp(20px, 2vw, 30px);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.24em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--am-max);
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--am-line-dark);
  color: var(--am-muted-dark);
}

.footer-bottom ul {
  display: flex;
  gap: 18px;
}

.footer-bottom a {
  color: var(--am-text-dark);
}

.footer-bottom p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 1000px) {
  .project-hero,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .primary-navigation {
    position: fixed;
    inset: 0;
    display: none;
    place-items: center;
    background: rgba(11, 11, 11, 0.96);
    backdrop-filter: blur(16px);
  }

  body.menu-open .primary-navigation {
    display: grid;
  }

  .primary-navigation ul {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }

  .primary-navigation a {
    font-size: 24px;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 45;
  }
}

@media (max-width: 780px) {
  :root {
    --am-side: 22px;
  }

  .side-menu {
    top: auto;
    right: 14px;
    left: 14px;
    bottom: 16px;
    transform: none;
    padding: 10px 12px;
    background: rgba(11, 11, 11, 0.44);
    border: 1px solid var(--am-line);
    backdrop-filter: blur(16px);
    overflow-x: auto;
  }

  .side-menu ul {
    flex-direction: row;
    justify-content: flex-start;
    gap: 16px;
    min-width: max-content;
  }

  .side-menu a:hover,
  .side-menu a.is-active {
    transform: none;
  }

  .hero-content {
    width: calc(100vw - 44px);
    bottom: 90px;
  }

  .hero-title {
    font-size: clamp(48px, 17vw, 86px);
  }

  .signature-svg,
  .signature-image-wrap {
    width: 88vw;
  }

  .intro-section,
  .split-section,
  .about-section {
    grid-template-columns: 1fr;
  }

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

  .project-card:nth-child(even) {
    margin-top: 0;
  }

  .footer-bottom {
    flex-direction: column;
    padding-bottom: 62px;
  }
}

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

  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}


/* v0.4: signature split into three stacked transparent PNG layers.
   They recreate the full signature together and reveal in sequence:
   big A → leksander → Marciński. */
.signature-stack {
  position: relative;
  display: block;
  width: min(760px, 74vw);
  aspect-ratio: 1283 / 807;
  margin: -24px 0 -8px;
}

.signature-layer {
  --reveal: 0;
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  clip-path: inset(0 calc((1 - var(--reveal)) * 100%) 0 0);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.48));
  will-change: clip-path;
}

@media (max-width: 780px) {
  .signature-stack {
    width: 94vw;
    margin: -12px 0 4px;
  }
}


/* v0.5: true SVG stroke handwriting. The signature is drawn path-by-path:
   big A → leksander → Marciński. */
.signature-handwriting-svg {
  display: block;
  width: min(760px, 74vw);
  height: auto;
  overflow: visible;
  margin: -24px 0 -8px;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.48));
}

.signature-draw-path {
  fill: none;
  stroke: var(--am-text);
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-miterlimit: 10;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  will-change: stroke-dashoffset;
}

@media (max-width: 780px) {
  .signature-handwriting-svg {
    width: 94vw;
    margin: -12px 0 4px;
  }
}


/* v0.8: homepage restored to first version: visible name/surname + animated line below. */
.hero-content .hero-title {
  display: block;
}

.hero-content .signature-svg {
  width: min(720px, 76vw);
  height: auto;
  overflow: visible;
  margin: 3px 0 16px;
}


/* v0.9 typography and clean hero/header. */
.site-branding,
.site-title,
.hero-kicker {
  display: none !important;
}

body,
button,
input,
select,
textarea {
  font-family: var(--am-font);
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-heading h1,
.section-heading h2,
.page-hero h1,
.project-hero h1,
.project-card h3,
.footer-grid h2,
.split-section h2,
.intro-copy p,
.about-copy p {
  font-family: var(--am-heading-font);
  font-weight: 900;
}

.hero-content {
  padding-top: 0;
}

.primary-navigation a,
.side-menu a,
.footer-bottom a,
.section-label,
.footer-kicker,
.project-card__meta {
  font-family: var(--am-font);
}


/* v1.0: hero side image beside the name. */
.hero-content--split {
  left: var(--am-side);
  right: var(--am-side);
  width: auto;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30%;
  gap: clamp(28px, 5vw, 84px);
  align-items: center;
}

.hero-copy {
  min-width: 0;
}

.hero-side-image {
  margin: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  aspect-ratio: 4 / 5;
  justify-self: end;
  overflow: hidden;
  background: rgba(245, 242, 234, 0.08);
  border: 1px solid rgba(245, 242, 234, 0.16);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.hero-side-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 980px) {
  .hero-content--split {
    grid-template-columns: 1fr;
    bottom: 88px;
  }

  .hero-side-image {
    width: min(62vw, 360px);
    min-width: 0;
    justify-self: start;
    max-height: 34vh;
  }
}

@media (max-width: 780px) {
  .hero-side-image {
    display: none;
  }
}


/* v1.1: right-side hero image starts at the very top and avoids the right-side menu. */
.hero-content--split {
  top: 0;
  right: var(--am-side);
  bottom: 0;
  left: var(--am-side);
  width: auto;
  max-width: none;
  display: block;
}

.hero-content--split .hero-copy {
  position: absolute;
  left: 0;
  bottom: clamp(64px, 12vh, 140px);
  width: min(780px, calc(100vw - 30vw - 220px));
  min-width: 0;
  z-index: 3;
}

.hero-content--split .hero-side-image {
  position: absolute;
  top: 0;
  right: clamp(112px, 8vw, 168px);
  bottom: 0;
  width: 30vw;
  min-width: 260px;
  max-width: none;
  height: 100vh;
  margin: 0;
  aspect-ratio: auto;
  justify-self: auto;
  z-index: 2;
  overflow: hidden;
  border-top: 0;
  border-bottom: 0;
}

.hero-content--split .hero-side-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .hero-content--split .hero-copy {
    width: min(680px, calc(100vw - 30vw - 190px));
  }

  .hero-content--split .hero-side-image {
    right: 104px;
  }
}

@media (max-width: 980px) {
  .hero-content--split {
    display: block;
    bottom: 0;
  }

  .hero-content--split .hero-copy {
    width: calc(100vw - 44px);
    bottom: 90px;
  }

  .hero-content--split .hero-side-image {
    position: absolute;
    top: 0;
    right: 22px;
    bottom: auto;
    width: min(38vw, 320px);
    min-width: 0;
    height: 44vh;
    max-height: none;
  }
}

@media (max-width: 780px) {
  .hero-content--split .hero-side-image {
    display: none;
  }

  .hero-content--split .hero-copy {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 90px;
    width: calc(100vw - 44px);
  }
}


/* v1.2 final hero layout fix.
   This block intentionally overrides earlier prototype rules and fixes refresh/cache layout issues. */
.hero-signature .hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.hero-signature .hero-content.hero-content--split {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
  z-index: 5 !important;
  pointer-events: none;
}

.hero-signature .hero-copy {
  position: absolute !important;
  left: var(--am-side) !important;
  bottom: clamp(64px, 12vh, 140px) !important;
  width: min(760px, calc(100vw - 30vw - 240px)) !important;
  min-width: 420px;
  z-index: 7 !important;
  pointer-events: auto;
}

.hero-signature .hero-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  margin: 0 0 12px !important;
  color: var(--am-text) !important;
  font-family: var(--am-heading-font) !important;
  font-weight: 900 !important;
  font-size: clamp(44px, 8vw, 132px) !important;
  line-height: 0.86 !important;
  letter-spacing: -0.075em !important;
  max-width: 900px !important;
  text-shadow: 0 16px 42px rgba(0, 0, 0, 0.5);
}

.hero-signature .signature-svg {
  display: block !important;
  width: min(720px, 58vw) !important;
  height: auto !important;
  margin: 3px 0 16px !important;
  overflow: visible !important;
}

.hero-signature .hero-subtitle {
  color: var(--am-muted) !important;
  max-width: 520px !important;
}

.hero-signature .hero-side-image {
  position: absolute !important;
  top: 0 !important;
  right: clamp(112px, 8vw, 168px) !important;
  bottom: auto !important;
  width: 30vw !important;
  min-width: 280px !important;
  max-width: 540px !important;
  height: 100vh !important;
  margin: 0 !important;
  aspect-ratio: auto !important;
  z-index: 6 !important;
  display: block !important;
  overflow: hidden !important;
  border: 0 !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42) !important;
  pointer-events: auto;
}

.hero-signature .hero-side-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 1180px) {
  .hero-signature .hero-copy {
    width: min(660px, calc(100vw - 30vw - 210px)) !important;
    min-width: 360px;
  }

  .hero-signature .hero-side-image {
    right: 104px !important;
    width: 30vw !important;
    min-width: 250px !important;
  }
}

@media (max-width: 980px) {
  .hero-signature .hero-copy {
    left: 22px !important;
    right: 22px !important;
    bottom: 90px !important;
    width: calc(100vw - 44px) !important;
    min-width: 0 !important;
  }

  .hero-signature .hero-title {
    font-size: clamp(48px, 14vw, 96px) !important;
  }

  .hero-signature .signature-svg {
    width: min(720px, 82vw) !important;
  }

  .hero-signature .hero-side-image {
    display: none !important;
  }
}

/* v1.2.2: homepage section actions and contact hover highlight. */
.section-heading--with-action {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--am-text);
  text-decoration: none;
  font-size: clamp(14px, 1.1vw, 18px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid var(--am-line);
  padding: 12px 16px;
  transition: background 240ms ease, color 240ms ease, border-color 240ms ease, transform 240ms ease;
}

.section-action:hover,
.section-action:focus-visible {
  background: var(--am-text);
  color: var(--am-text-dark);
  border-color: var(--am-text);
  transform: translateY(-2px);
}

.project-section--studies {
  border-top: 1px solid var(--am-line);
}

.footer-links a {
  position: relative;
  text-decoration: none;
  transition: color 220ms ease;
}

.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.08em;
  height: 0.08em;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 780px) {
  .section-heading--with-action {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* v1.2.3: animated damascus-style background and sharp outline actions. */
.damascus-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
}

.site-header,
.side-menu,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header,
.side-menu {
  z-index: 10;
}

.section-action {
  border-radius: 0;
  background: transparent;
  color: var(--am-text);
  border-color: currentColor;
  box-shadow: none;
}

.section-action:hover,
.section-action:focus-visible {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .damascus-background {
    display: none;
  }
}


/* v1.2.4: About text resized and separated from giant display typography. */
.about-section .about-copy {
  max-width: 780px;
}

.about-section .about-copy p {
  font-family: var(--am-font);
  font-size: clamp(19px, 1.65vw, 30px);
  line-height: 1.22;
  letter-spacing: -0.022em;
  font-weight: 400;
  color: rgba(245, 242, 234, 0.84);
  max-width: 780px;
  margin: 0 0 1.05em;
}

.about-section .about-copy p:first-child {
  font-size: clamp(23px, 2.35vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--am-text);
}

@media (max-width: 760px) {
  .about-section .about-copy p,
  .about-section .about-copy p:first-child {
    font-size: clamp(18px, 6vw, 28px);
    line-height: 1.15;
  }
}

/* v1.2.7: fixed right-side menu restored + translucent blurred text panels. */
:root {
  --am-glass-bg: rgba(3, 3, 3, 0.34);
  --am-glass-bg-strong: rgba(3, 3, 3, 0.48);
  --am-glass-border: rgba(245, 242, 234, 0.13);
  --am-glass-shadow: 0 24px 90px rgba(0, 0, 0, 0.24);
}

.side-menu {
  position: fixed !important;
  top: 50% !important;
  right: clamp(18px, 2.2vw, 34px) !important;
  bottom: auto !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  z-index: 90 !important;
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  overflow: visible !important;
  pointer-events: auto !important;
  text-align: right !important;
}

.side-menu ul {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  justify-content: center !important;
  gap: 14px !important;
  min-width: 0 !important;
}

.side-menu a {
  display: inline-block !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.72) !important;
}

.hero-signature .hero-copy {
  padding: clamp(18px, 2.1vw, 34px) !important;
  border: 1px solid var(--am-glass-border) !important;
  background: var(--am-glass-bg) !important;
  backdrop-filter: blur(22px) saturate(128%) !important;
  -webkit-backdrop-filter: blur(22px) saturate(128%) !important;
  box-shadow: var(--am-glass-shadow) !important;
}

.hero-signature .hero-subtitle {
  color: rgba(245, 242, 234, 0.82) !important;
}

.intro-copy p,
.about-section .about-copy p,
.split-section p,
.project-subtitle,
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.project-card__body,
.post-card a,
.empty-projects {
  border: 1px solid var(--am-glass-border) !important;
  background: var(--am-glass-bg) !important;
  backdrop-filter: blur(20px) saturate(124%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(124%) !important;
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18) !important;
}

.intro-copy p,
.about-section .about-copy p,
.split-section p,
.project-subtitle,
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.empty-projects {
  padding: clamp(18px, 2.4vw, 38px) !important;
}

.project-card__body {
  margin-top: 14px !important;
  padding: clamp(14px, 1.6vw, 24px) !important;
}

.post-card a {
  padding: clamp(18px, 2.2vw, 32px) !important;
  border-top: 1px solid var(--am-glass-border) !important;
}

.entry-content li + li {
  margin-top: 0.35em;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.section-heading h1,
.section-heading h2,
.page-hero h1,
.project-hero h1,
.project-card h3,
.post-card h2 {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: 0 !important;
}

@media (max-width: 780px) {
  .side-menu {
    top: auto !important;
    right: 14px !important;
    left: 14px !important;
    bottom: 16px !important;
    transform: none !important;
    padding: 10px 12px !important;
    border: 1px solid var(--am-glass-border) !important;
    background: var(--am-glass-bg-strong) !important;
    backdrop-filter: blur(18px) saturate(125%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(125%) !important;
    overflow-x: auto !important;
    text-align: left !important;
  }

  .side-menu ul {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 16px !important;
    min-width: max-content !important;
  }

  .hero-signature .hero-copy {
    padding: 18px !important;
  }

  .intro-copy p,
  .about-section .about-copy p,
  .split-section p,
  .project-subtitle,
  .entry-content p,
  .entry-content ul,
  .entry-content ol,
  .entry-content blockquote,
  .empty-projects {
    padding: 18px !important;
  }
}


/* v1.2.8: remove profile intro and hero name frame. */
.hero-signature .hero-copy {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}

.hero-signature .hero-title,
.hero-signature .signature-svg {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.hero-signature .hero-subtitle {
  display: inline-block !important;
  width: auto !important;
  max-width: min(680px, 92vw) !important;
  margin-top: clamp(14px, 1.8vw, 28px) !important;
  padding: clamp(12px, 1.35vw, 20px) clamp(14px, 1.65vw, 26px) !important;
  border: 1px solid var(--am-glass-border) !important;
  background: rgba(3, 3, 3, 0.28) !important;
  backdrop-filter: blur(18px) saturate(124%) !important;
  -webkit-backdrop-filter: blur(18px) saturate(124%) !important;
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.18) !important;
}

.intro-section {
  display: none !important;
}

@media (max-width: 780px) {
  .hero-signature .hero-copy {
    padding: 0 !important;
  }

  .hero-signature .hero-subtitle {
    padding: 12px 14px !important;
  }
}

/* v1.2.9: hidden cursor + plain email text. */
@media (hover: hover) and (pointer: fine) {
  html,
  body,
  body * {
    cursor: none !important;
  }

  p,
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  li,
  span,
  blockquote,
  figcaption,
  label,
  .hero-subtitle,
  .about-copy,
  .project-card,
  .project-card *,
  .section-eyebrow,
  .footer-kicker,
  .footer-email,
  input,
  textarea,
  [contenteditable="true"] {
    cursor: text !important;
  }

  a,
  button,
  .menu-toggle,
  .side-navigation a,
  .footer-links a,
  .section-action,
  .project-card a {
    cursor: none !important;
  }
}

.footer-links .footer-email {
  color: var(--am-text-muted);
  font-size: clamp(1.15rem, 2vw, 1.8rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

/* v1.2.10: homepage Work / Studies explanatory text. */
.section-description {
  max-width: 620px;
  margin: clamp(14px, 1.8vw, 24px) 0 0;
  padding: clamp(14px, 1.6vw, 22px);
  color: var(--am-text-muted);
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  text-transform: none;
  background: var(--am-glass-bg);
  border: 1px solid var(--am-glass-border);
  backdrop-filter: blur(18px) saturate(125%);
  -webkit-backdrop-filter: blur(18px) saturate(125%);
}

@media (max-width: 780px) {
  .section-heading--with-action {
    align-items: flex-start;
  }

  .section-description {
    max-width: none;
  }
}


/* v1.2.11: Work / Studies archive timeline. */
.project-archive--timeline .section-heading {
  max-width: min(980px, calc(100vw - 48px));
}

.project-timeline {
  position: relative;
  display: grid;
  gap: clamp(42px, 7vw, 96px);
  max-width: min(1120px, calc(100vw - 48px));
  margin: clamp(40px, 7vw, 100px) auto 0;
}

.project-timeline::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: clamp(78px, 10vw, 140px);
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(245, 245, 238, 0.34),
    rgba(245, 245, 238, 0.12),
    transparent
  );
  pointer-events: none;
}

.timeline-year {
  position: relative;
  display: grid;
  grid-template-columns: clamp(96px, 13vw, 172px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
}

.timeline-year__marker {
  position: sticky;
  top: clamp(82px, 12vh, 140px);
  align-self: start;
  display: grid;
  gap: 14px;
  justify-items: end;
  text-align: right;
  z-index: 2;
}

.timeline-year__marker h2 {
  margin: 0;
  color: var(--am-text);
  font-family: var(--am-font-display);
  font-size: clamp(2.1rem, 5vw, 5rem);
  line-height: 0.86;
  letter-spacing: -0.08em;
}

.timeline-year__dot {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(245, 245, 238, 0.82);
  background: rgba(245, 245, 238, 0.16);
  box-shadow: 0 0 26px rgba(245, 245, 238, 0.28);
}

.timeline-year__items {
  display: grid;
  gap: clamp(18px, 2.6vw, 34px);
}

.timeline-project {
  position: relative;
}

.timeline-project__link {
  display: grid;
  grid-template-columns: minmax(160px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(18px, 3vw, 44px);
  align-items: stretch;
  min-height: clamp(190px, 24vw, 330px);
  padding: clamp(16px, 2.2vw, 34px);
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--am-glass-border);
  background: var(--am-glass-bg);
  backdrop-filter: blur(20px) saturate(124%);
  -webkit-backdrop-filter: blur(20px) saturate(124%);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.timeline-project__link:hover,
.timeline-project__link:focus-visible {
  border-color: rgba(245, 245, 238, 0.54);
  background: rgba(10, 10, 10, 0.52);
  transform: translateX(8px);
}

.timeline-project__media {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.035);
}

.timeline-project__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(170px, 22vw, 300px);
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  transition: filter 180ms ease, transform 260ms ease;
}

.timeline-project__link:hover .timeline-project__media img,
.timeline-project__link:focus-visible .timeline-project__media img {
  filter: grayscale(0.35) contrast(1.08);
  transform: scale(1.025);
}

.timeline-project__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 42px);
}

.timeline-project__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: var(--am-text-muted);
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  line-height: 1;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.timeline-project__meta span + span::before {
  content: "/";
  margin-right: 14px;
  color: rgba(245, 245, 238, 0.28);
}

.timeline-project__content h3 {
  margin: 0;
  color: var(--am-text);
  font-family: var(--am-font-display);
  font-size: clamp(2.2rem, 5.5vw, 6rem);
  line-height: 0.86;
  letter-spacing: -0.085em;
}

.timeline-project__content p {
  max-width: 640px;
  margin: 0;
  color: var(--am-text-muted);
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  line-height: 1.42;
  letter-spacing: -0.025em;
}

@media (max-width: 900px) {
  .project-timeline::before {
    left: 8px;
  }

  .timeline-year {
    grid-template-columns: 1fr;
    padding-left: 28px;
  }

  .timeline-year__marker {
    position: relative;
    top: auto;
    justify-items: start;
    text-align: left;
  }

  .timeline-year__marker h2 {
    font-size: clamp(2.8rem, 14vw, 5.5rem);
  }

  .timeline-year__dot {
    position: absolute;
    left: -24px;
    top: 0.5em;
  }

  .timeline-project__link {
    grid-template-columns: 1fr;
    transform: none !important;
  }
}

@media (max-width: 600px) {
  .project-timeline {
    max-width: calc(100vw - 28px);
  }

  .timeline-project__link {
    padding: 14px;
  }

  .timeline-project__content h3 {
    font-size: clamp(2rem, 15vw, 4.4rem);
  }
}


/* v1.2.12: manually uploaded featured images for Work / Studies archive pages. */
.project-archive__heading {
  display: grid;
  grid-template-columns: minmax(0, 0.58fr) minmax(260px, 0.42fr);
  gap: clamp(24px, 4vw, 72px);
  align-items: end;
}

.project-archive__intro {
  min-width: 0;
}

.project-archive__featured-image {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--am-glass-border);
  background: var(--am-glass-bg);
  backdrop-filter: blur(20px) saturate(124%);
  -webkit-backdrop-filter: blur(20px) saturate(124%);
}

.project-archive__featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
}

@media (max-width: 860px) {
  .project-archive__heading {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .project-archive__featured-image {
    max-width: min(100%, 620px);
  }
}


/* v1.2.13: reliable /work + /studies image color behavior. */
.project-card__media img,
.timeline-project__media img,
.project-archive__featured-image img {
  filter: grayscale(1) contrast(1.08) brightness(0.94) !important;
  transition: filter 220ms ease, transform 320ms ease !important;
}

.project-card__link:hover .project-card__media img,
.project-card__link:focus-visible .project-card__media img,
.timeline-project__link:hover .timeline-project__media img,
.timeline-project__link:focus-visible .timeline-project__media img,
.project-archive__featured-image:hover img,
.project-archive__featured-image:focus-within img {
  filter: grayscale(0) contrast(1) brightness(1) !important;
}

.project-card__link:hover .project-card__media img,
.project-card__link:focus-visible .project-card__media img {
  transform: scale(1.055) !important;
}

.timeline-project__link:hover .timeline-project__media img,
.timeline-project__link:focus-visible .timeline-project__media img {
  transform: scale(1.025) !important;
}

/* v1.2.14: split archive timeline, visible interactive cursor, project case-study pattern. */
@media (hover: hover) and (pointer: fine) {
  a,
  button,
  input[type="button"],
  input[type="submit"],
  input[type="reset"],
  .menu-toggle,
  .side-navigation a,
  .footer-links a,
  .section-action,
  .project-card a,
  .project-card__link,
  .timeline-project__link,
  .ongoing-project__link,
  .text-link,
  [role="button"] {
    cursor: pointer !important;
  }
}

.project-timeline-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
}

.project-timeline-layout .project-timeline {
  max-width: none;
  margin: 0;
}

.timeline-ongoing {
  position: relative;
  min-width: 0;
}

.timeline-ongoing__inner {
  position: sticky;
  top: clamp(82px, 12vh, 140px);
  display: grid;
  gap: clamp(16px, 2vw, 28px);
}

.timeline-ongoing__items {
  display: grid;
  gap: clamp(14px, 2vw, 24px);
}

.ongoing-project__link {
  display: grid;
  gap: 14px;
  padding: clamp(14px, 1.8vw, 22px);
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--am-glass-border);
  background: var(--am-glass-bg);
  backdrop-filter: blur(20px) saturate(124%);
  -webkit-backdrop-filter: blur(20px) saturate(124%);
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.ongoing-project__link:hover,
.ongoing-project__link:focus-visible {
  border-color: rgba(245, 245, 238, 0.54);
  background: rgba(10, 10, 10, 0.52);
  transform: translateX(-6px);
}

.ongoing-project__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.035);
}

.ongoing-project__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.94) !important;
  transition: filter 220ms ease, transform 320ms ease !important;
}

.ongoing-project__link:hover .ongoing-project__media img,
.ongoing-project__link:focus-visible .ongoing-project__media img {
  filter: grayscale(0) contrast(1) brightness(1) !important;
  transform: scale(1.04);
}

.ongoing-project__content {
  display: grid;
  gap: 10px;
}

.ongoing-project__content span {
  color: var(--am-text-muted);
  font-size: clamp(0.72rem, 0.9vw, 0.84rem);
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ongoing-project__content h2 {
  margin: 0;
  color: var(--am-text);
  font-family: var(--am-font-display);
  font-size: clamp(1.7rem, 3.5vw, 3.8rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
}

.ongoing-project__content p {
  margin: 0;
  color: var(--am-text-muted);
  font-size: clamp(0.92rem, 1vw, 1.05rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.project-case-study,
.project-summary,
.project-process-step,
.project-conclusions {
  max-width: 1180px;
}

.project-summary,
.project-process-step,
.project-conclusions {
  margin: clamp(20px, 3vw, 42px) 0;
  padding: clamp(18px, 3vw, 42px);
  border: 1px solid var(--am-glass-border);
  background: var(--am-glass-bg);
  backdrop-filter: blur(20px) saturate(124%);
  -webkit-backdrop-filter: blur(20px) saturate(124%);
}

.project-content .project-summary h2,
.project-content .project-process-step h3,
.project-content .project-conclusions h2 {
  margin-top: 0;
}

.project-content .project-process-step .wp-block-columns {
  gap: clamp(18px, 3vw, 42px);
  align-items: center;
}

.project-content .project-process-image,
.project-content .wp-block-image {
  overflow: hidden;
}

.project-content .project-process-image img,
.project-content .wp-block-image img,
.project-hero-media img {
  filter: grayscale(1) contrast(1.08) brightness(0.94);
  transition: filter 220ms ease, transform 320ms ease;
}

.project-content .project-process-image:hover img,
.project-content .wp-block-image:hover img,
.project-hero-media:hover img {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.025);
}

@media (max-width: 1100px) {
  .project-timeline-layout {
    grid-template-columns: 1fr;
  }

  .timeline-ongoing__inner {
    position: relative;
    top: auto;
  }

  .timeline-ongoing__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .timeline-ongoing__items {
    grid-template-columns: 1fr;
  }

  .ongoing-project__link:hover,
  .ongoing-project__link:focus-visible {
    transform: none;
  }
}


/* v1.2.15: gallery zoom lightbox. */
.project-content .wp-block-gallery img,
.project-content .gallery img,
.project-content .blocks-gallery-grid img,
.project-content figure.wp-block-image img {
  cursor: zoom-in;
}

.am-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 56px);
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(18px) saturate(112%);
  -webkit-backdrop-filter: blur(18px) saturate(112%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.am-gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.am-gallery-lightbox__image {
  display: block;
  max-width: min(94vw, 1500px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none !important;
  transform: none !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
  opacity: 0;
  scale: 0.985;
  transition: opacity 180ms ease, scale 180ms ease;
}

.am-gallery-lightbox.is-open .am-gallery-lightbox__image {
  opacity: 1;
  scale: 1;
}

.am-gallery-lightbox__close {
  position: fixed;
  top: clamp(14px, 2vw, 28px);
  right: clamp(14px, 2vw, 28px);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 0;
  background: rgba(8, 8, 8, 0.38);
  color: var(--am-text);
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.am-gallery-lightbox__close:hover,
.am-gallery-lightbox__close:focus-visible {
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

body.am-lightbox-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .am-gallery-lightbox {
    padding: 14px;
  }

  .am-gallery-lightbox__image {
    max-width: 96vw;
    max-height: 84vh;
  }
}


/* v1.2.16: studies archive stays regular timeline, safer title wrapping. */
.project-timeline-layout.no-ongoing {
  display: block;
  max-width: min(1120px, calc(100vw - 48px));
  margin: clamp(40px, 7vw, 100px) auto 0;
}

.project-timeline-layout.no-ongoing .project-timeline {
  max-width: none;
  margin: 0;
}

.timeline-project__content h3,
.ongoing-project__content h2 {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.project-timeline-layout.has-ongoing .timeline-project__content h3 {
  font-size: clamp(2rem, 4.45vw, 4.9rem);
}

@media (max-width: 1200px) {
  .timeline-project__content h3 {
    font-size: clamp(2rem, 5vw, 4.8rem);
  }
}

@media (max-width: 700px) {
  .project-timeline-layout.no-ongoing {
    max-width: calc(100vw - 28px);
  }
}


/* v1.2.18: scroll-driven depth reveal for project image/text blocks and galleries. */
.project-content .project-scroll-reveal,
.project-timeline .project-scroll-reveal,
.timeline-ongoing .project-scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 90px, 0) scale(0.72);
  transform-origin: center center;
  filter: blur(16px);
  transition:
    opacity 180ms linear,
    transform 180ms linear,
    filter 180ms linear;
  will-change: opacity, transform, filter;
}

.project-content .project-scroll-reveal.is-scroll-driven,
.project-timeline .project-scroll-reveal.is-scroll-driven,
.timeline-ongoing .project-scroll-reveal.is-scroll-driven {
  opacity: var(--scroll-opacity, 0);
  transform:
    translate3d(
      0,
      var(--scroll-translate-y, 90px),
      0
    )
    scale(var(--scroll-scale, 0.72));
  filter: blur(var(--scroll-blur, 16px));
}

.project-content .project-scroll-reveal.is-visible,
.project-timeline .project-scroll-reveal.is-visible,
.timeline-ongoing .project-scroll-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.project-content .wp-block-gallery.project-scroll-reveal,
.project-content .gallery.project-scroll-reveal,
.project-content .blocks-gallery-grid.project-scroll-reveal {
  transform-origin: center center;
}

@media (prefers-reduced-motion: reduce) {
  .project-content .project-scroll-reveal,
  .project-timeline .project-scroll-reveal,
  .timeline-ongoing .project-scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}


/* v1.2.19: galleries hold their scroll-depth state longer so image groups are easier to read and target. */
.project-content .project-scroll-gallery.is-scroll-driven {
  transition:
    opacity 220ms linear,
    transform 220ms linear,
    filter 220ms linear;
}

/* v1.2.20: real 500px gallery scroll hold, so galleries stay aimable instead of evaporating. */
.project-content .am-gallery-scroll-hold {
  position: relative;
  min-height: calc(var(--am-gallery-height, 520px) + 500px);
  margin-block: clamp(3.5rem, 9vw, 9rem);
}

.project-content .am-gallery-scroll-hold > .project-scroll-gallery {
  position: sticky;
  top: var(--am-gallery-sticky-top, clamp(72px, 18vh, 150px));
  z-index: 2;
}

.project-content .am-gallery-scroll-hold > .project-scroll-gallery.is-scroll-driven {
  transition:
    opacity 90ms linear,
    transform 90ms linear,
    filter 90ms linear;
}

@media (max-width: 700px) {
  .project-content .am-gallery-scroll-hold {
    min-height: calc(var(--am-gallery-height, 420px) + 340px);
    margin-block: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-content .am-gallery-scroll-hold {
    min-height: auto !important;
  }

  .project-content .am-gallery-scroll-hold > .project-scroll-gallery {
    position: static !important;
  }
}


/* v1.2.21: galleries get a true pinned plateau. While sticky, they stay sharp and full-size instead of reacting to every scroll tick. */
.project-content .am-gallery-scroll-hold > .project-scroll-gallery.is-scroll-driven {
  transition:
    opacity 60ms linear,
    transform 60ms linear,
    filter 60ms linear;
}


/* v1.2.22: true scroll pause for project galleries and image/text blocks. The wrapper provides extra scroll distance while the child stays sticky and visually frozen. */
.project-content .am-scroll-hold {
  position: relative;
  min-height: calc(var(--am-scroll-item-height, 520px) + 500px);
  margin-block: clamp(4rem, 10vw, 10rem);
}

.project-content .am-scroll-hold > .project-scroll-hold-item {
  position: sticky;
  top: var(--am-scroll-sticky-top, clamp(72px, 16vh, 135px));
  z-index: 2;
}

.project-content .am-gallery-scroll-hold {
  min-height: calc(var(--am-scroll-item-height, 560px) + 560px);
}

.project-content .am-content-scroll-hold {
  min-height: calc(var(--am-scroll-item-height, 460px) + 430px);
}

.project-content .am-scroll-hold > .project-scroll-hold-item.is-scroll-driven {
  transition:
    opacity 40ms linear,
    transform 40ms linear,
    filter 40ms linear;
}

@media (max-width: 700px) {
  .project-content .am-scroll-hold {
    min-height: calc(var(--am-scroll-item-height, 420px) + 320px);
    margin-block: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-content .am-scroll-hold {
    min-height: auto !important;
  }

  .project-content .am-scroll-hold > .project-scroll-hold-item {
    position: static !important;
  }
}


/* v1.2.23: stronger close-up, gentler blur, and doubled sticky freeze distance. */
.project-content .am-gallery-scroll-hold {
  min-height: calc(var(--am-scroll-item-height, 560px) + 1120px);
}

.project-content .am-content-scroll-hold {
  min-height: calc(var(--am-scroll-item-height, 460px) + 860px);
}

.project-content .am-scroll-hold > .project-scroll-hold-item.is-scroll-driven {
  transition:
    opacity 35ms linear,
    transform 35ms linear,
    filter 35ms linear;
}

@media (max-width: 700px) {
  .project-content .am-gallery-scroll-hold {
    min-height: calc(var(--am-scroll-item-height, 420px) + 720px);
  }

  .project-content .am-content-scroll-hold {
    min-height: calc(var(--am-scroll-item-height, 420px) + 560px);
  }
}


/* v1.2.25: rollback from the aggressive v1.2.24 zoom logic to the stable v1.2.23 scroll-pause behaviour. This avoids scroll stuttering/glitching while keeping the sticky freeze effect. */


/* v1.2.26: remove scroll animation blur. Images/text still zoom and fade, but stay optically sharp when moving or pinned. */
.project-content .project-scroll-reveal,
.project-timeline .project-scroll-reveal,
.timeline-ongoing .project-scroll-reveal,
.project-content .project-scroll-reveal.is-scroll-driven,
.project-timeline .project-scroll-reveal.is-scroll-driven,
.timeline-ongoing .project-scroll-reveal.is-scroll-driven,
.project-content .project-scroll-reveal.is-visible,
.project-timeline .project-scroll-reveal.is-visible,
.timeline-ongoing .project-scroll-reveal.is-visible,
.project-content .am-scroll-hold > .project-scroll-hold-item.is-scroll-driven,
.project-content .am-gallery-scroll-hold > .project-scroll-gallery.is-scroll-driven {
  filter: none !important;
}


/* v1.2.27: wider project presentation panels, side-by-side image/text, stronger zoom without blur. */
.project-content {
  max-width: min(1480px, calc(100vw - clamp(32px, 8vw, 160px)));
  margin-left: auto;
  margin-right: auto;
}

.project-content .am-scroll-hold {
  width: 100%;
  max-width: min(1480px, calc(100vw - clamp(32px, 8vw, 160px)));
  margin-left: auto;
  margin-right: auto;
}

.project-content .wp-block-columns.project-scroll-hold-item,
.project-content .wp-block-media-text.project-scroll-hold-item,
.project-content .project-process-step .wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(320px, 0.58fr) minmax(280px, 0.42fr) !important;
  gap: clamp(28px, 4.8vw, 86px) !important;
  align-items: center !important;
  width: 100%;
}

.project-content .wp-block-columns.project-scroll-hold-item > .wp-block-column,
.project-content .project-process-step .wp-block-columns > .wp-block-column {
  min-width: 0;
}

.project-content .wp-block-columns.project-scroll-hold-item > .wp-block-column:first-child,
.project-content .project-process-step .wp-block-columns > .wp-block-column:first-child {
  align-self: center;
}

.project-content .wp-block-columns.project-scroll-hold-item > .wp-block-column:last-child,
.project-content .project-process-step .wp-block-columns > .wp-block-column:last-child {
  align-self: center;
}

.project-content .wp-block-media-text.project-scroll-hold-item {
  grid-template-columns: minmax(320px, 0.58fr) minmax(280px, 0.42fr) !important;
}

.project-content .wp-block-media-text.project-scroll-hold-item.has-media-on-the-right {
  grid-template-columns: minmax(280px, 0.42fr) minmax(320px, 0.58fr) !important;
}

.project-content .wp-block-media-text.project-scroll-hold-item .wp-block-media-text__media,
.project-content .wp-block-media-text.project-scroll-hold-item .wp-block-media-text__content {
  min-width: 0;
}

.project-content .wp-block-columns.project-scroll-hold-item figure,
.project-content .project-process-step .wp-block-columns figure,
.project-content .wp-block-media-text.project-scroll-hold-item figure {
  margin: 0;
}

.project-content .wp-block-columns.project-scroll-hold-item img,
.project-content .project-process-step .wp-block-columns img,
.project-content .wp-block-media-text.project-scroll-hold-item img {
  width: 100%;
  max-height: min(74vh, 820px);
  object-fit: contain;
}

.project-content .wp-block-columns.project-scroll-hold-item p,
.project-content .wp-block-media-text.project-scroll-hold-item p,
.project-content .project-process-step .wp-block-columns p {
  max-width: 560px;
}

.project-content .am-content-scroll-hold {
  min-height: calc(var(--am-scroll-item-height, 520px) + 940px);
}

.project-content .am-gallery-scroll-hold {
  min-height: calc(var(--am-scroll-item-height, 620px) + 1180px);
}

@media (max-width: 900px) {
  .project-content {
    max-width: min(100%, calc(100vw - 28px));
  }

  .project-content .am-scroll-hold {
    max-width: min(100%, calc(100vw - 28px));
  }

  .project-content .wp-block-columns.project-scroll-hold-item,
  .project-content .wp-block-media-text.project-scroll-hold-item,
  .project-content .wp-block-media-text.project-scroll-hold-item.has-media-on-the-right,
  .project-content .project-process-step .wp-block-columns {
    grid-template-columns: 1fr !important;
  }

  .project-content .wp-block-columns.project-scroll-hold-item img,
  .project-content .project-process-step .wp-block-columns img,
  .project-content .wp-block-media-text.project-scroll-hold-item img {
    max-height: none;
  }
}


/* v1.2.28: animate project process wrapper as one block; keep image and text side-by-side. */
.project-content .project-process-step.project-scroll-hold-item {
  width: 100%;
  max-width: min(1480px, calc(100vw - clamp(32px, 8vw, 160px)));
  margin-left: auto;
  margin-right: auto;
}

.project-content .project-process-step.project-scroll-hold-item > .wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(360px, 0.58fr) minmax(300px, 0.42fr) !important;
  gap: clamp(30px, 5vw, 92px) !important;
  align-items: center !important;
  width: 100%;
}

.project-content .project-process-step.project-scroll-hold-item > .wp-block-columns > .wp-block-column {
  min-width: 0 !important;
  width: auto !important;
  flex-basis: auto !important;
}

.project-content .project-process-step.project-scroll-hold-item > .wp-block-columns > .wp-block-column:first-child {
  grid-column: 1;
}

.project-content .project-process-step.project-scroll-hold-item > .wp-block-columns > .wp-block-column:last-child {
  grid-column: 2;
}

.project-content .project-process-step.project-scroll-hold-item .wp-block-image,
.project-content .project-process-step.project-scroll-hold-item figure {
  margin: 0;
}

.project-content .project-process-step.project-scroll-hold-item img {
  width: 100%;
  max-height: min(74vh, 820px);
  object-fit: contain;
}

@media (max-width: 900px) {
  .project-content .project-process-step.project-scroll-hold-item {
    max-width: min(100%, calc(100vw - 28px));
  }

  .project-content .project-process-step.project-scroll-hold-item > .wp-block-columns {
    grid-template-columns: 1fr !important;
  }

  .project-content .project-process-step.project-scroll-hold-item > .wp-block-columns > .wp-block-column:first-child,
  .project-content .project-process-step.project-scroll-hold-item > .wp-block-columns > .wp-block-column:last-child {
    grid-column: auto;
  }
}


/* v1.2.29: make right side menu readable over the light contact/footer area. */
.side-nav,
.side-nav a,
.side-nav button,
.side-nav .menu-toggle {
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    opacity 180ms ease,
    backdrop-filter 180ms ease;
}

body.am-side-nav-on-light .side-nav {
  color: rgba(7, 7, 7, 0.92);
}

body.am-side-nav-on-light .side-nav a,
body.am-side-nav-on-light .side-nav button,
body.am-side-nav-on-light .side-nav .menu-toggle {
  color: rgba(7, 7, 7, 0.92);
  border-color: rgba(7, 7, 7, 0.38);
}

body.am-side-nav-on-light .side-nav a::before,
body.am-side-nav-on-light .side-nav a::after {
  background: rgba(7, 7, 7, 0.86);
  border-color: rgba(7, 7, 7, 0.42);
}

body.am-side-nav-on-light .side-nav a:hover,
body.am-side-nav-on-light .side-nav a:focus-visible,
body.am-side-nav-on-light .side-nav button:hover,
body.am-side-nav-on-light .side-nav button:focus-visible {
  color: #000;
  border-color: rgba(0, 0, 0, 0.72);
}

@media (max-width: 1000px) {
  body.am-side-nav-on-light .side-nav,
  body.am-side-nav-on-light .side-nav__inner {
    background: rgba(246, 243, 235, 0.74);
    color: rgba(7, 7, 7, 0.92);
    backdrop-filter: blur(18px) saturate(120%);
    -webkit-backdrop-filter: blur(18px) saturate(120%);
  }
}


/* v1.2.30: force readable right menu over the bright footer/contact block. */
body.am-side-nav-on-light .site-header,
body.am-side-nav-on-light .side-navigation,
body.am-side-nav-on-light .side-nav,
body.am-side-nav-on-light .site-menu,
body.am-side-nav-on-light .main-navigation {
  color: #050505 !important;
}

body.am-side-nav-on-light .site-header a,
body.am-side-nav-on-light .side-navigation a,
body.am-side-nav-on-light .side-nav a,
body.am-side-nav-on-light .site-menu a,
body.am-side-nav-on-light .main-navigation a,
body.am-side-nav-on-light .menu-toggle {
  color: #050505 !important;
  border-color: rgba(5, 5, 5, 0.55) !important;
  text-shadow: none !important;
}

body.am-side-nav-on-light .site-header a::before,
body.am-side-nav-on-light .site-header a::after,
body.am-side-nav-on-light .side-navigation a::before,
body.am-side-nav-on-light .side-navigation a::after,
body.am-side-nav-on-light .side-nav a::before,
body.am-side-nav-on-light .side-nav a::after,
body.am-side-nav-on-light .main-navigation a::before,
body.am-side-nav-on-light .main-navigation a::after {
  background-color: #050505 !important;
  border-color: rgba(5, 5, 5, 0.55) !important;
}

body.am-side-nav-on-light .site-header svg,
body.am-side-nav-on-light .side-navigation svg,
body.am-side-nav-on-light .side-nav svg,
body.am-side-nav-on-light .main-navigation svg {
  color: #050505 !important;
  fill: #050505 !important;
  stroke: #050505 !important;
}

body.am-side-nav-on-light .side-navigation__inner,
body.am-side-nav-on-light .side-nav__inner,
body.am-side-nav-on-light .main-navigation__inner {
  color: #050505 !important;
}

@media (max-width: 1000px) {
  body.am-side-nav-on-light .site-header,
  body.am-side-nav-on-light .side-navigation,
  body.am-side-nav-on-light .side-nav,
  body.am-side-nav-on-light .main-navigation {
    background: rgba(245, 242, 234, 0.78) !important;
    backdrop-filter: blur(18px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
  }
}


/* v1.2.31: automatic side menu inversion.
   Instead of detecting the footer, the fixed menu uses difference blending, so it stays visible
   over both dark and light areas. */
@media (min-width: 1001px) {
  .side-navigation,
  .side-nav,
  .main-navigation,
  .site-header {
    mix-blend-mode: difference;
    isolation: auto;
  }

  .side-navigation a,
  .side-navigation button,
  .side-nav a,
  .side-nav button,
  .main-navigation a,
  .main-navigation button,
  .site-header a,
  .site-header button,
  .menu-toggle {
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.58) !important;
    text-shadow: none !important;
  }

  .side-navigation a::before,
  .side-navigation a::after,
  .side-nav a::before,
  .side-nav a::after,
  .main-navigation a::before,
  .main-navigation a::after,
  .site-header a::before,
  .site-header a::after {
    background-color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.64) !important;
  }

  .side-navigation svg,
  .side-nav svg,
  .main-navigation svg,
  .site-header svg {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
  }

  body.am-side-nav-on-light .side-navigation,
  body.am-side-nav-on-light .side-nav,
  body.am-side-nav-on-light .main-navigation,
  body.am-side-nav-on-light .site-header,
  body.am-side-nav-on-light .side-navigation a,
  body.am-side-nav-on-light .side-nav a,
  body.am-side-nav-on-light .main-navigation a,
  body.am-side-nav-on-light .site-header a {
    color: #ffffff !important;
  }
}

@media (max-width: 1000px) {
  .side-navigation,
  .side-nav,
  .main-navigation,
  .site-header {
    mix-blend-mode: normal;
  }
}




/* v1.2.34: restore original plain white footer/contact area. */
.site-footer {
  position: relative;
  overflow: visible;
  isolation: auto;
  background: #f5f2ea !important;
  color: #050505 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.site-footer::before,
.site-footer::after {
  content: none !important;
  display: none !important;
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a,
.site-footer span,
.site-footer li,
.site-footer .contact-link,
.site-footer .footer-contact,
.site-footer .footer-contact a {
  color: #050505 !important;
}

.site-footer a,
.site-footer .contact-link {
  border-color: rgba(5, 5, 5, 0.35) !important;
  text-decoration-color: rgba(5, 5, 5, 0.5) !important;
}


/* v1.2.35: repair footer contact readability and email display. */
@media (min-width: 1001px) {
  .side-navigation,
  .side-nav,
  .main-navigation,
  .site-header {
    mix-blend-mode: normal !important;
  }
}

.site-footer {
  overflow: hidden;
}

.site-footer .footer-links,
.site-footer .contact-links,
.site-footer .footer-contact,
.site-footer .footer-content,
.site-footer .site-info {
  min-width: 0;
}

.site-footer a,
.site-footer span,
.site-footer .contact-link {
  overflow-wrap: anywhere;
  word-break: normal;
}

body.am-footer-zone .side-navigation,
body.am-footer-zone .side-nav,
body.am-footer-zone .main-navigation,
body.am-footer-zone .site-header {
  color: #050505 !important;
  mix-blend-mode: normal !important;
}

body.am-footer-zone .side-navigation a,
body.am-footer-zone .side-navigation button,
body.am-footer-zone .side-nav a,
body.am-footer-zone .side-nav button,
body.am-footer-zone .main-navigation a,
body.am-footer-zone .main-navigation button,
body.am-footer-zone .site-header a,
body.am-footer-zone .site-header button,
body.am-footer-zone .menu-toggle {
  color: #050505 !important;
  border-color: rgba(5, 5, 5, 0.55) !important;
  text-shadow: none !important;
}

body.am-footer-zone .side-navigation a::before,
body.am-footer-zone .side-navigation a::after,
body.am-footer-zone .side-nav a::before,
body.am-footer-zone .side-nav a::after,
body.am-footer-zone .main-navigation a::before,
body.am-footer-zone .main-navigation a::after,
body.am-footer-zone .site-header a::before,
body.am-footer-zone .site-header a::after {
  background-color: #050505 !important;
  border-color: rgba(5, 5, 5, 0.55) !important;
}

body.am-footer-zone .side-navigation svg,
body.am-footer-zone .side-nav svg,
body.am-footer-zone .main-navigation svg,
body.am-footer-zone .site-header svg {
  color: #050505 !important;
  fill: #050505 !important;
  stroke: #050505 !important;
}

@media (max-width: 1000px) {
  body.am-footer-zone .side-navigation,
  body.am-footer-zone .side-nav,
  body.am-footer-zone .main-navigation,
  body.am-footer-zone .site-header {
    background: rgba(245, 242, 234, 0.86) !important;
    backdrop-filter: blur(18px) saturate(120%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(120%) !important;
  }
}


/* v1.2.36: make footer dark again so the fixed white side menu remains visible. */
.site-footer {
  background:
    linear-gradient(
      180deg,
      rgba(7, 7, 7, 0.96),
      rgba(3, 3, 3, 0.98)
    ) !important;
  color: rgba(245, 242, 234, 0.94) !important;
  border-top: 1px solid rgba(245, 242, 234, 0.12);
  overflow: hidden;
}

.site-footer::before,
.site-footer::after {
  content: none !important;
  display: none !important;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a,
.site-footer span,
.site-footer li,
.site-footer .contact-link,
.site-footer .footer-contact,
.site-footer .footer-contact a {
  color: rgba(245, 242, 234, 0.94) !important;
}

.site-footer a,
.site-footer .contact-link {
  border-color: rgba(245, 242, 234, 0.36) !important;
  text-decoration-color: rgba(245, 242, 234, 0.5) !important;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer .contact-link:hover,
.site-footer .contact-link:focus-visible {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.82) !important;
  text-decoration-color: rgba(255, 255, 255, 0.9) !important;
}

/* Kill the failed footer-zone black-menu override. White menu on dark footer is the sane option. */
body.am-footer-zone .side-navigation,
body.am-footer-zone .side-nav,
body.am-footer-zone .main-navigation,
body.am-footer-zone .site-header,
body.am-footer-zone .side-navigation a,
body.am-footer-zone .side-navigation button,
body.am-footer-zone .side-nav a,
body.am-footer-zone .side-nav button,
body.am-footer-zone .main-navigation a,
body.am-footer-zone .main-navigation button,
body.am-footer-zone .site-header a,
body.am-footer-zone .site-header button,
body.am-footer-zone .menu-toggle {
  color: rgba(245, 242, 234, 0.92) !important;
  border-color: rgba(245, 242, 234, 0.42) !important;
}

body.am-footer-zone .side-navigation a::before,
body.am-footer-zone .side-navigation a::after,
body.am-footer-zone .side-nav a::before,
body.am-footer-zone .side-nav a::after,
body.am-footer-zone .main-navigation a::before,
body.am-footer-zone .main-navigation a::after,
body.am-footer-zone .site-header a::before,
body.am-footer-zone .site-header a::after {
  background-color: rgba(245, 242, 234, 0.92) !important;
  border-color: rgba(245, 242, 234, 0.42) !important;
}


/* v1.2.37: colored footer, stronger separation from the black damascus background. */
.site-footer {
  background:
    radial-gradient(
      circle at 18% 24%,
      rgba(110, 22, 34, 0.72),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #2a070d 0%,
      #3b0a13 42%,
      #140306 100%
    ) !important;
  color: rgba(245, 242, 234, 0.96) !important;
  border-top: 1px solid rgba(245, 242, 234, 0.18);
  overflow: hidden;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a,
.site-footer span,
.site-footer li,
.site-footer .contact-link,
.site-footer .footer-contact,
.site-footer .footer-contact a {
  color: rgba(245, 242, 234, 0.96) !important;
}

.site-footer a,
.site-footer .contact-link {
  border-color: rgba(245, 242, 234, 0.42) !important;
  text-decoration-color: rgba(245, 242, 234, 0.58) !important;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer .contact-link:hover,
.site-footer .contact-link:focus-visible {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.92) !important;
  text-decoration-color: rgba(255, 255, 255, 0.92) !important;
}

.site-footer::before,
.site-footer::after {
  content: none !important;
  display: none !important;
}


/* v1.2.38: footer set to requested green #37bd40. */
.site-footer {
  background: #37bd40 !important;
  color: #050505 !important;
  border-top: 1px solid rgba(5, 5, 5, 0.18);
  overflow: hidden;
}

.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a,
.site-footer span,
.site-footer li,
.site-footer .contact-link,
.site-footer .footer-contact,
.site-footer .footer-contact a {
  color: #050505 !important;
}

.site-footer a,
.site-footer .contact-link {
  border-color: rgba(5, 5, 5, 0.38) !important;
  text-decoration-color: rgba(5, 5, 5, 0.56) !important;
}

.site-footer a:hover,
.site-footer a:focus-visible,
.site-footer .contact-link:hover,
.site-footer .contact-link:focus-visible {
  color: #000000 !important;
  border-color: rgba(5, 5, 5, 0.92) !important;
  text-decoration-color: rgba(5, 5, 5, 0.92) !important;
}

.site-footer::before,
.site-footer::after {
  content: none !important;
  display: none !important;
}


/* v1.2.39: footer contact layout fix.
   Give the contact column real space and stop the huge left headline from crushing the email. */
.site-footer {
  min-height: auto;
}

.site-footer .footer-inner,
.site-footer .footer-content,
.site-footer .site-info,
.site-footer .contact-panel,
.site-footer .footer-contact {
  box-sizing: border-box;
}

.site-footer .footer-inner,
.site-footer .footer-content,
.site-footer .contact-panel {
  display: grid !important;
  grid-template-columns: minmax(0, 0.62fr) minmax(380px, 0.38fr) !important;
  gap: clamp(36px, 7vw, 120px) !important;
  align-items: center !important;
}

.site-footer h1,
.site-footer h2,
.site-footer .footer-title,
.site-footer .contact-title {
  max-width: 10.5ch;
  font-size: clamp(58px, 7.1vw, 128px) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.07em;
}

.site-footer .footer-links,
.site-footer .contact-links,
.site-footer .footer-contact-list,
.site-footer .contact-list,
.site-footer .site-info {
  min-width: 0;
  width: 100%;
  justify-self: start;
}

.site-footer .footer-links a,
.site-footer .contact-links a,
.site-footer .footer-contact-list a,
.site-footer .contact-list a,
.site-footer .footer-links span,
.site-footer .contact-links span,
.site-footer .footer-contact-list span,
.site-footer .contact-list span,
.site-footer .site-info a,
.site-footer .site-info span {
  display: block;
  max-width: 100%;
  font-size: clamp(22px, 2.2vw, 40px) !important;
  line-height: 1.18 !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.site-footer .footer-links > :first-child,
.site-footer .contact-links > :first-child,
.site-footer .footer-contact-list > :first-child,
.site-footer .contact-list > :first-child,
.site-footer .site-info > :first-child {
  font-size: clamp(19px, 1.75vw, 30px) !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}

/* If the email is still too long on medium screens, it may wrap only after the [@] separator. */
.site-footer .footer-email,
.site-footer .contact-email {
  white-space: normal;
}

@media (max-width: 1180px) {
  .site-footer .footer-inner,
  .site-footer .footer-content,
  .site-footer .contact-panel {
    grid-template-columns: minmax(0, 0.56fr) minmax(340px, 0.44fr) !important;
    gap: clamp(28px, 5vw, 72px) !important;
  }

  .site-footer h1,
  .site-footer h2,
  .site-footer .footer-title,
  .site-footer .contact-title {
    font-size: clamp(52px, 6.6vw, 104px) !important;
  }

  .site-footer .footer-links a,
  .site-footer .contact-links a,
  .site-footer .footer-contact-list a,
  .site-footer .contact-list a,
  .site-footer .footer-links span,
  .site-footer .contact-links span,
  .site-footer .footer-contact-list span,
  .site-footer .contact-list span,
  .site-footer .site-info a,
  .site-footer .site-info span {
    font-size: clamp(21px, 2vw, 34px) !important;
  }
}

@media (max-width: 900px) {
  .site-footer .footer-inner,
  .site-footer .footer-content,
  .site-footer .contact-panel {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .site-footer h1,
  .site-footer h2,
  .site-footer .footer-title,
  .site-footer .contact-title {
    max-width: 12ch;
    font-size: clamp(48px, 14vw, 88px) !important;
  }

  .site-footer .footer-links > :first-child,
  .site-footer .contact-links > :first-child,
  .site-footer .footer-contact-list > :first-child,
  .site-footer .contact-list > :first-child,
  .site-footer .site-info > :first-child {
    white-space: normal;
  }
}


/* v1.2.40: move footer email to the bottom and make it visually calmer. */
.site-footer .footer-links,
.site-footer .contact-links,
.site-footer .footer-contact-list,
.site-footer .contact-list,
.site-footer .site-info {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: clamp(18px, 2.2vw, 34px) !important;
}

.site-footer .footer-email,
.site-footer .contact-email {
  order: 99 !important;
  margin-top: clamp(34px, 5.5vw, 86px) !important;
  padding-top: clamp(18px, 2.4vw, 34px) !important;
  border-top: 1px solid rgba(5, 5, 5, 0.28);
  display: block !important;
  max-width: min(100%, 720px) !important;
  font-size: clamp(16px, 1.28vw, 24px) !important;
  line-height: 1.45 !important;
  letter-spacing: 0.095em !important;
  word-spacing: 0.18em !important;
  text-transform: lowercase;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  opacity: 0.86;
}

.site-footer .footer-email:hover,
.site-footer .contact-email:hover {
  opacity: 1;
}

/* Keep social links stronger than the email. */
.site-footer .footer-links a,
.site-footer .contact-links a,
.site-footer .footer-contact-list a,
.site-footer .contact-list a {
  font-size: clamp(24px, 2.35vw, 42px) !important;
  line-height: 1.1 !important;
}

/* If the email gets rendered as the first child by PHP, force spacing anyway. */
.site-footer .footer-links > .footer-email:first-child,
.site-footer .contact-links > .contact-email:first-child,
.site-footer .site-info > .footer-email:first-child {
  margin-top: clamp(42px, 6vw, 96px) !important;
}

@media (max-width: 900px) {
  .site-footer .footer-email,
  .site-footer .contact-email {
    margin-top: 28px !important;
    padding-top: 18px !important;
    font-size: clamp(15px, 4vw, 20px) !important;
    letter-spacing: 0.055em !important;
    word-spacing: 0.12em !important;
  }
}


/* v1.2.41: remove the annoying top black strip on the homepage hero.
   This mainly comes from the WP admin bar/customizer offset, so compensate it directly.
   The hero panel and the right image are extended upward to fill that gap. */
.home.admin-bar .site-header {
  top: 32px;
}

.home.admin-bar .hero-signature {
  margin-top: -32px;
}

.home.admin-bar .hero-signature .hero-sticky {
  height: calc(100vh + 32px);
}

.home.admin-bar .hero-signature .hero-content.hero-content--split {
  inset: 0 !important;
  min-height: calc(100vh + 32px);
}

.home.admin-bar .hero-signature .hero-side-image {
  top: -32px !important;
  height: calc(100vh + 32px) !important;
}

.home.admin-bar .hero-signature .hero-image,
.home.admin-bar .hero-signature .hero-placeholder {
  height: calc(100% + 32px);
  margin-top: -32px;
}

@media screen and (max-width: 782px) {
  .home.admin-bar .site-header {
    top: 46px;
  }

  .home.admin-bar .hero-signature {
    margin-top: -46px;
  }

  .home.admin-bar .hero-signature .hero-sticky {
    height: calc(100vh + 46px);
  }

  .home.admin-bar .hero-signature .hero-content.hero-content--split {
    min-height: calc(100vh + 46px);
  }

  .home.admin-bar .hero-signature .hero-side-image {
    top: -46px !important;
    height: calc(100vh + 46px) !important;
  }

  .home.admin-bar .hero-signature .hero-image,
  .home.admin-bar .hero-signature .hero-placeholder {
    height: calc(100% + 46px);
    margin-top: -46px;
  }
}


/* v1.2.42: transparent 3D model viewer for project pages. */
.project-3d-section {
  max-width: min(1480px, calc(100vw - clamp(32px, 8vw, 160px)));
  margin: clamp(56px, 9vw, 140px) auto;
  padding: clamp(22px, 3.2vw, 42px);
  border: 1px solid var(--am-glass-border, rgba(245, 242, 234, 0.14));
  background: rgba(8, 8, 8, 0.18);
  backdrop-filter: blur(18px) saturate(115%);
  -webkit-backdrop-filter: blur(18px) saturate(115%);
}

.project-3d-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: clamp(18px, 2vw, 30px);
}

.project-3d-download {
  color: var(--am-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  border: 1px solid rgba(245, 242, 234, 0.32);
  padding: 10px 14px;
}

.project-3d-download:hover,
.project-3d-download:focus-visible {
  border-color: rgba(245, 242, 234, 0.86);
}

.am-3d-viewer {
  position: relative;
  width: 100%;
  height: clamp(420px, 72vh, 860px);
  overflow: hidden;
  background: transparent;
  cursor: grab;
}

.am-3d-viewer:active {
  cursor: grabbing;
}

.am-3d-viewer canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}

.am-3d-viewer__status {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(245, 242, 234, 0.72);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

@media (max-width: 800px) {
  .project-3d-section {
    max-width: calc(100vw - 28px);
    padding: 18px;
  }

  .project-3d-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .am-3d-viewer {
    height: 430px;
  }
}


/* v1.2.43: timeline ordering/ongoing cleanup.
   Ongoing is a separate left column and should not visually create its own timeline. */
.timeline-ongoing {
  align-self: start;
}

.timeline-ongoing::before,
.timeline-ongoing::after,
.timeline-ongoing .timeline-year,
.timeline-ongoing .timeline-line {
  display: none !important;
}

.project-timeline-layout.no-ongoing {
  grid-template-columns: minmax(0, 1fr);
}

.project-timeline-layout.no-ongoing .project-timeline {
  max-width: min(1120px, 100%);
}


/* v1.2.44: ongoing projects are a real left-side timeline again. */
.project-timeline-layout.has-ongoing {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(44px, 7vw, 120px);
  align-items: start;
}

.timeline-ongoing {
  position: relative;
  align-self: start;
  padding-left: clamp(20px, 2.2vw, 34px);
}

.timeline-ongoing__inner {
  position: sticky;
  top: clamp(72px, 12vh, 132px);
}

.timeline-ongoing .section-label {
  display: block !important;
  margin-bottom: clamp(24px, 3vw, 42px);
}

.timeline-ongoing__items {
  position: relative;
  display: grid;
  gap: clamp(22px, 3vw, 38px);
  padding-left: clamp(20px, 2vw, 32px);
}

.timeline-ongoing__items::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 1px;
  display: block !important;
  background: rgba(245, 242, 234, 0.18);
}

.ongoing-project {
  position: relative;
}

.ongoing-project::before {
  content: "";
  position: absolute;
  left: calc(-1 * clamp(20px, 2vw, 32px) - 4px);
  top: clamp(22px, 3vw, 38px);
  width: 9px;
  height: 9px;
  display: block !important;
  border: 1px solid rgba(245, 242, 234, 0.72);
  background: #050505;
  transform: rotate(45deg);
  z-index: 2;
}

.ongoing-project__link {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2vw, 24px);
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid rgba(245, 242, 234, 0.16);
  background: rgba(5, 5, 5, 0.36);
  backdrop-filter: blur(18px) saturate(116%);
  -webkit-backdrop-filter: blur(18px) saturate(116%);
}

.ongoing-project__media {
  margin: 0;
  overflow: hidden;
}

.ongoing-project__media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08) brightness(0.9);
  transition: filter 220ms ease, transform 320ms ease;
}

.ongoing-project__link:hover .ongoing-project__media img,
.ongoing-project__link:focus-visible .ongoing-project__media img {
  filter: grayscale(0) contrast(1) brightness(1);
  transform: scale(1.025);
}

.ongoing-project__content span {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245, 242, 234, 0.72);
}

.ongoing-project__content h2 {
  margin: 0 0 8px;
  font-family: var(--am-heading-font);
  font-size: clamp(32px, 4vw, 66px);
  line-height: 0.92;
  letter-spacing: -0.065em;
  color: var(--am-text);
}

.ongoing-project__content p {
  margin: 0;
  color: rgba(245, 242, 234, 0.78);
}

.project-timeline-layout.no-ongoing {
  grid-template-columns: minmax(0, 1fr);
}

.project-timeline-layout.no-ongoing .project-timeline {
  max-width: min(1120px, 100%);
}

@media (max-width: 1100px) {
  .project-timeline-layout.has-ongoing {
    grid-template-columns: 1fr;
  }

  .timeline-ongoing__inner {
    position: relative;
    top: auto;
  }

  .timeline-ongoing {
    padding-left: 0;
  }

  .timeline-ongoing__items {
    padding-left: clamp(18px, 4vw, 28px);
  }
}


/* v1.53: project hero overlap fix + featured image crop controls.
   Big type is cute until it eats the image like a badly trained dog. */
.single-am_project .project-hero,
.single-am_project .project-hero.project-hero--split {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 0.52fr) minmax(320px, 0.48fr) !important;
  gap: clamp(32px, 5vw, 92px) !important;
  align-items: center !important;
  min-height: min(920px, calc(100vh - 24px));
  padding-right: clamp(96px, 9vw, 170px) !important;
  overflow: hidden;
}

.single-am_project .project-hero .project-hero-content,
.single-am_project .project-hero .project-hero__content,
.single-am_project .project-hero .project-hero-copy,
.single-am_project .project-hero .project-meta {
  min-width: 0;
  max-width: 100%;
  z-index: 2;
}

.single-am_project .project-hero h1 {
  max-width: 8.2ch;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  font-size: clamp(64px, 10.5vw, 190px) !important;
  line-height: 0.82 !important;
  letter-spacing: -0.085em !important;
  margin-right: 0 !important;
  z-index: 2;
}

.single-am_project .project-hero-media,
.single-am_project .project-hero__media {
  position: relative !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  z-index: 1 !important;
  overflow: hidden;
  align-self: center;
}

.single-am_project .project-hero-media img,
.single-am_project .project-hero__media img {
  display: block;
  width: 100% !important;
  height: clamp(420px, 68vh, 760px) !important;
  object-fit: cover !important;
  object-position: var(--am-featured-crop-x, 50%) var(--am-featured-crop-y, 50%) !important;
}

@media (min-width: 1181px) {
  .single-am_project .project-hero h1 {
    transform: none !important;
  }

  .single-am_project .project-hero-media,
  .single-am_project .project-hero__media {
    transform: none !important;
  }
}

@media (max-width: 1180px) {
  .single-am_project .project-hero,
  .single-am_project .project-hero.project-hero--split {
    grid-template-columns: 1fr !important;
    min-height: auto;
    padding-right: var(--am-side) !important;
  }

  .single-am_project .project-hero h1 {
    max-width: 10ch;
    font-size: clamp(52px, 16vw, 116px) !important;
  }

  .single-am_project .project-hero-media img,
  .single-am_project .project-hero__media img {
    height: clamp(340px, 58vh, 620px) !important;
  }
}

@media (max-width: 720px) {
  .single-am_project .project-hero,
  .single-am_project .project-hero.project-hero--split {
    padding-left: 18px !important;
    padding-right: 18px !important;
    gap: 28px !important;
  }

  .single-am_project .project-hero h1 {
    max-width: 100%;
    font-size: clamp(46px, 18vw, 86px) !important;
    line-height: 0.9 !important;
  }

  .single-am_project .project-hero-media img,
  .single-am_project .project-hero__media img {
    height: 420px !important;
  }
}


/* v1.54: actual project hero fix and 3D viewer cleanup. */
.single-am_project .project-single > .project-hero {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 0.54fr) minmax(360px, 0.46fr) !important;
  gap: clamp(40px, 6vw, 110px) !important;
  align-items: center !important;
  width: min(1720px, calc(100vw - clamp(34px, 8vw, 170px))) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: clamp(112px, 8vw, 168px) !important;
  overflow: visible !important;
}

.single-am_project .project-single > .project-hero > div:first-child {
  position: relative !important;
  z-index: 2 !important;
  min-width: 0 !important;
  max-width: 100% !important;
  overflow: visible !important;
}

.single-am_project .project-single > .project-hero h1 {
  position: relative !important;
  z-index: 2 !important;
  max-width: 7.4ch !important;
  width: 7.4ch !important;
  margin: 0 !important;
  transform: none !important;
  overflow: visible !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  font-size: clamp(68px, 9.2vw, 164px) !important;
  line-height: 0.84 !important;
  letter-spacing: -0.085em !important;
}

.single-am_project .project-single > .project-hero .project-subtitle,
.single-am_project .project-single > .project-hero .section-label,
.single-am_project .project-single > .project-hero .text-link {
  max-width: min(560px, 100%) !important;
}

.single-am_project .project-single > .project-hero .project-hero-media {
  position: relative !important;
  z-index: 1 !important;
  grid-column: 2 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden !important;
  transform: none !important;
}

.single-am_project .project-single > .project-hero .project-hero-media img {
  display: block !important;
  width: 100% !important;
  height: clamp(460px, 68vh, 780px) !important;
  object-fit: cover !important;
  object-position: var(--am-featured-crop-x, 50%) var(--am-featured-crop-y, 50%) !important;
  transform: none !important;
}

.am-3d-viewer.is-loaded .am-3d-viewer__status,
.am-3d-viewer__status[hidden] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

@media (max-width: 1180px) {
  .single-am_project .project-single > .project-hero {
    grid-template-columns: 1fr !important;
    width: min(100% - 36px, 980px) !important;
    padding-right: 0 !important;
    gap: 34px !important;
  }

  .single-am_project .project-single > .project-hero h1 {
    width: auto !important;
    max-width: 10ch !important;
    font-size: clamp(54px, 15vw, 118px) !important;
  }

  .single-am_project .project-single > .project-hero .project-hero-media {
    grid-column: auto !important;
  }

  .single-am_project .project-single > .project-hero .project-hero-media img {
    height: clamp(340px, 56vh, 620px) !important;
  }
}

@media (max-width: 720px) {
  .single-am_project .project-single > .project-hero {
    width: calc(100% - 28px) !important;
  }

  .single-am_project .project-single > .project-hero h1 {
    max-width: 100% !important;
    font-size: clamp(46px, 17vw, 84px) !important;
    line-height: 0.9 !important;
  }
}


/* v1.55: real hard reset for single project hero.
   No body-class dependency, no cute guesswork. Text left, image right, no overlap. */
.project-single > header.project-hero.project-hero--safe-layout,
.project-single > header.project-hero {
  box-sizing: border-box !important;
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(0, 44vw) minmax(360px, 38vw) !important;
  column-gap: clamp(36px, 5vw, 88px) !important;
  row-gap: clamp(28px, 4vw, 52px) !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  max-width: none !important;
  min-height: min(900px, 100vh) !important;
  margin: 0 auto !important;
  padding:
    clamp(96px, 12vh, 150px)
    clamp(128px, 10vw, 190px)
    clamp(56px, 8vh, 110px)
    clamp(48px, 6vw, 110px) !important;
  overflow: hidden !important;
}

.project-single > header.project-hero.project-hero--safe-layout > .project-hero-text,
.project-single > header.project-hero > .project-hero-text,
.project-single > header.project-hero > div:first-child {
  box-sizing: border-box !important;
  position: relative !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  z-index: 3 !important;
  width: 100% !important;
  max-width: 44vw !important;
  min-width: 0 !important;
  overflow: visible !important;
  transform: none !important;
}

.project-single > header.project-hero.project-hero--safe-layout h1,
.project-single > header.project-hero h1 {
  box-sizing: border-box !important;
  display: block !important;
  position: relative !important;
  z-index: 3 !important;
  width: 100% !important;
  max-width: 44vw !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  overflow: visible !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
  font-size: clamp(64px, 8.1vw, 148px) !important;
  line-height: 0.84 !important;
  letter-spacing: -0.085em !important;
}

.project-single > header.project-hero.project-hero--safe-layout .section-label,
.project-single > header.project-hero.project-hero--safe-layout .project-subtitle,
.project-single > header.project-hero.project-hero--safe-layout .text-link,
.project-single > header.project-hero .section-label,
.project-single > header.project-hero .project-subtitle,
.project-single > header.project-hero .text-link {
  max-width: min(520px, 100%) !important;
}

.project-single > header.project-hero.project-hero--safe-layout > figure.project-hero-media,
.project-single > header.project-hero > figure.project-hero-media {
  box-sizing: border-box !important;
  position: relative !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  z-index: 2 !important;
  display: block !important;
  width: 100% !important;
  max-width: 38vw !important;
  min-width: 360px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  transform: none !important;
  inset: auto !important;
}

.project-single > header.project-hero.project-hero--safe-layout > figure.project-hero-media img,
.project-single > header.project-hero > figure.project-hero-media img {
  box-sizing: border-box !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: clamp(460px, 70vh, 780px) !important;
  max-height: 780px !important;
  margin: 0 !important;
  object-fit: cover !important;
  object-position: var(--am-featured-crop-x, 50%) var(--am-featured-crop-y, 50%) !important;
  transform: none !important;
}

/* Desktop safety: never allow the text column to physically enter image column. */
@media (min-width: 1181px) {
  .project-single > header.project-hero.project-hero--safe-layout h1,
  .project-single > header.project-hero h1 {
    contain: layout paint !important;
  }
}

/* Tablet/mobile: stack cleanly instead of trying to be clever. */
@media (max-width: 1180px) {
  .project-single > header.project-hero.project-hero--safe-layout,
  .project-single > header.project-hero {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-height: auto !important;
    padding:
      clamp(82px, 11vh, 120px)
      clamp(24px, 5vw, 54px)
      clamp(42px, 7vh, 78px) !important;
    overflow: visible !important;
  }

  .project-single > header.project-hero.project-hero--safe-layout > .project-hero-text,
  .project-single > header.project-hero > .project-hero-text,
  .project-single > header.project-hero > div:first-child,
  .project-single > header.project-hero.project-hero--safe-layout h1,
  .project-single > header.project-hero h1 {
    grid-column: 1 !important;
    grid-row: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .project-single > header.project-hero.project-hero--safe-layout h1,
  .project-single > header.project-hero h1 {
    font-size: clamp(52px, 15vw, 112px) !important;
    line-height: 0.88 !important;
  }

  .project-single > header.project-hero.project-hero--safe-layout > figure.project-hero-media,
  .project-single > header.project-hero > figure.project-hero-media {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .project-single > header.project-hero.project-hero--safe-layout > figure.project-hero-media img,
  .project-single > header.project-hero > figure.project-hero-media img {
    height: clamp(340px, 58vh, 620px) !important;
  }
}

@media (max-width: 720px) {
  .project-single > header.project-hero.project-hero--safe-layout,
  .project-single > header.project-hero {
    padding:
      82px
      18px
      48px !important;
  }

  .project-single > header.project-hero.project-hero--safe-layout h1,
  .project-single > header.project-hero h1 {
    font-size: clamp(44px, 17vw, 82px) !important;
    line-height: 0.9 !important;
  }

  .project-single > header.project-hero.project-hero--safe-layout > figure.project-hero-media img,
  .project-single > header.project-hero > figure.project-hero-media img {
    height: 420px !important;
  }
}


/* v1.56: calm down project hero title.
   Keep h1 semantically, make it behave visually like a restrained heading instead of a billboard falling down stairs. */
.project-single > header.project-hero.project-hero--safe-layout,
.project-single > header.project-hero {
  grid-template-columns: minmax(0, 38vw) minmax(380px, 42vw) !important;
  column-gap: clamp(44px, 6vw, 112px) !important;
  padding-right: clamp(112px, 8vw, 170px) !important;
}

.project-single > header.project-hero.project-hero--safe-layout > .project-hero-text,
.project-single > header.project-hero > .project-hero-text,
.project-single > header.project-hero > div:first-child {
  max-width: 38vw !important;
}

.project-single > header.project-hero.project-hero--safe-layout h1,
.project-single > header.project-hero h1 {
  max-width: 6.1ch !important;
  width: 6.1ch !important;
  font-size: clamp(54px, 6.7vw, 116px) !important;
  line-height: 0.9 !important;
  letter-spacing: -0.075em !important;
}

.project-single > header.project-hero.project-hero--safe-layout > figure.project-hero-media,
.project-single > header.project-hero > figure.project-hero-media {
  max-width: 42vw !important;
  min-width: 380px !important;
}

@media (min-width: 1500px) {
  .project-single > header.project-hero.project-hero--safe-layout h1,
  .project-single > header.project-hero h1 {
    font-size: clamp(58px, 6.4vw, 124px) !important;
    max-width: 6.4ch !important;
    width: 6.4ch !important;
  }
}

@media (max-width: 1180px) {
  .project-single > header.project-hero.project-hero--safe-layout,
  .project-single > header.project-hero {
    grid-template-columns: 1fr !important;
  }

  .project-single > header.project-hero.project-hero--safe-layout > .project-hero-text,
  .project-single > header.project-hero > .project-hero-text,
  .project-single > header.project-hero > div:first-child,
  .project-single > header.project-hero.project-hero--safe-layout h1,
  .project-single > header.project-hero h1 {
    max-width: 100% !important;
    width: 100% !important;
  }

  .project-single > header.project-hero.project-hero--safe-layout h1,
  .project-single > header.project-hero h1 {
    font-size: clamp(48px, 12vw, 92px) !important;
    line-height: 0.92 !important;
  }

  .project-single > header.project-hero.project-hero--safe-layout > figure.project-hero-media,
  .project-single > header.project-hero > figure.project-hero-media {
    max-width: none !important;
    min-width: 0 !important;
  }
}

@media (max-width: 720px) {
  .project-single > header.project-hero.project-hero--safe-layout h1,
  .project-single > header.project-hero h1 {
    font-size: clamp(42px, 14vw, 72px) !important;
    letter-spacing: -0.06em !important;
  }
}


/* v1.57: responsive support for inline-fixed single project hero.
   This targets the actual single-am_project.php markup and overrides inline desktop layout on smaller screens. */
@media (max-width: 1180px) {
  .project-single > header.project-hero.project-hero--inline-fixed {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    min-height: auto !important;
    padding: clamp(82px, 11vh, 120px) clamp(24px, 5vw, 54px) clamp(42px, 7vh, 78px) !important;
    overflow: visible !important;
  }

  .project-single > header.project-hero.project-hero--inline-fixed > .project-hero-text,
  .project-single > header.project-hero.project-hero--inline-fixed h1 {
    grid-column: 1 !important;
    grid-row: auto !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  .project-single > header.project-hero.project-hero--inline-fixed h1 {
    font-size: clamp(48px, 12vw, 92px) !important;
    line-height: 0.92 !important;
  }

  .project-single > header.project-hero.project-hero--inline-fixed > figure.project-hero-media {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
  }

  .project-single > header.project-hero.project-hero--inline-fixed > figure.project-hero-media img {
    height: clamp(340px, 58vh, 620px) !important;
  }
}

@media (max-width: 720px) {
  .project-single > header.project-hero.project-hero--inline-fixed {
    padding: 82px 18px 48px !important;
  }

  .project-single > header.project-hero.project-hero--inline-fixed h1 {
    font-size: clamp(42px, 14vw, 72px) !important;
    letter-spacing: -0.06em !important;
  }

  .project-single > header.project-hero.project-hero--inline-fixed > figure.project-hero-media img {
    height: 420px !important;
  }
}


/* v1.58: project hero featured image should show the whole image instead of cropping it. */
.project-single > header.project-hero.project-hero--inline-fixed > figure.project-hero-media,
.project-single > header.project-hero > figure.project-hero-media {
  overflow: visible !important;
  background: transparent !important;
}

.project-single > header.project-hero.project-hero--inline-fixed > figure.project-hero-media img,
.project-single > header.project-hero > figure.project-hero-media img {
  object-fit: contain !important;
  object-position: var(--am-featured-crop-x, 50%) var(--am-featured-crop-y, 50%) !important;
  background: transparent !important;
}


/* v1.59: project hero title should not clip final letters.
   Wider text column, smaller type, smaller featured image. Revolutionary idea: make things fit. */
.project-single > header.project-hero.project-hero--inline-fixed {
  grid-template-columns: minmax(0, 42vw) minmax(320px, 34vw) !important;
  column-gap: clamp(44px, 7vw, 128px) !important;
  padding-right: clamp(104px, 8vw, 160px) !important;
}

.project-single > header.project-hero.project-hero--inline-fixed > .project-hero-text,
.project-single > header.project-hero.project-hero--inline-fixed > div:first-child {
  max-width: 42vw !important;
}

.project-single > header.project-hero.project-hero--inline-fixed h1 {
  width: 100% !important;
  max-width: 42vw !important;
  font-size: clamp(48px, 5.55vw, 92px) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.065em !important;
  contain: none !important;
  overflow: visible !important;
}

.project-single > header.project-hero.project-hero--inline-fixed > figure.project-hero-media {
  max-width: 34vw !important;
  min-width: 320px !important;
}

.project-single > header.project-hero.project-hero--inline-fixed > figure.project-hero-media img {
  height: clamp(360px, 56vh, 620px) !important;
  max-height: 620px !important;
  object-fit: contain !important;
}

@media (max-width: 1180px) {
  .project-single > header.project-hero.project-hero--inline-fixed > .project-hero-text,
  .project-single > header.project-hero.project-hero--inline-fixed > div:first-child,
  .project-single > header.project-hero.project-hero--inline-fixed h1 {
    max-width: 100% !important;
    width: 100% !important;
  }

  .project-single > header.project-hero.project-hero--inline-fixed h1 {
    font-size: clamp(44px, 11vw, 82px) !important;
  }
}


/* v1.60: stop pretending the project title can be a building-sized poster.
   This intentionally overrides all previous hero experiments. */
.project-single > header.project-hero,
.project-single > header.project-hero.project-hero--inline-fixed,
.project-single > header.project-hero.project-hero--safe-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 36vw) minmax(300px, 36vw) !important;
  gap: clamp(42px, 7vw, 128px) !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

.project-single > header.project-hero .project-hero-text,
.project-single > header.project-hero > div:first-child {
  max-width: 36vw !important;
  width: 100% !important;
  overflow: visible !important;
  contain: none !important;
}

.project-single > header.project-hero h1,
.project-single > header.project-hero.project-hero--inline-fixed h1,
.project-single > header.project-hero.project-hero--safe-layout h1 {
  width: 100% !important;
  max-width: 36vw !important;
  min-width: 0 !important;
  font-size: clamp(38px, 4.35vw, 68px) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.045em !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: manual !important;
  overflow: visible !important;
  contain: none !important;
}

.project-single > header.project-hero figure.project-hero-media {
  max-width: 36vw !important;
  min-width: 300px !important;
  overflow: visible !important;
}

.project-single > header.project-hero figure.project-hero-media img {
  height: clamp(340px, 52vh, 560px) !important;
  max-height: 560px !important;
  object-fit: contain !important;
}

/* /studies and timeline cards: keep single words such as Starterpack from breaking/clipping. */
.project-archive--timeline .timeline-project__content h3,
.project-archive--timeline .timeline-project h3,
.project-section--studies .project-card h3,
.project-section--studies .project-card__title,
.project-section--studies .project-card__body h3 {
  font-size: clamp(30px, 3.1vw, 58px) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.055em !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: manual !important;
  text-wrap: balance;
  max-width: 100% !important;
  overflow: visible !important;
}

.project-archive--timeline .timeline-project__content,
.project-archive--timeline .timeline-project__link,
.project-section--studies .project-card__body {
  min-width: 0 !important;
  overflow: visible !important;
}

@media (max-width: 1180px) {
  .project-single > header.project-hero,
  .project-single > header.project-hero.project-hero--inline-fixed,
  .project-single > header.project-hero.project-hero--safe-layout {
    grid-template-columns: 1fr !important;
  }

  .project-single > header.project-hero .project-hero-text,
  .project-single > header.project-hero > div:first-child,
  .project-single > header.project-hero h1 {
    max-width: 100% !important;
    width: 100% !important;
  }

  .project-single > header.project-hero h1 {
    font-size: clamp(40px, 10vw, 82px) !important;
  }

  .project-single > header.project-hero figure.project-hero-media {
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 720px) {
  .project-archive--timeline .timeline-project__content h3,
  .project-section--studies .project-card h3,
  .project-section--studies .project-card__title,
  .project-section--studies .project-card__body h3 {
    font-size: clamp(28px, 10vw, 46px) !important;
    letter-spacing: -0.045em !important;
  }
}


/* v1.61: widen /studies timeline cards so titles fit like normal human language. */
.project-archive--timeline .project-timeline,
.project-archive--timeline .timeline-year,
.project-archive--timeline .timeline-year__items {
  width: 100% !important;
  max-width: none !important;
}

.project-archive--timeline .timeline-project__link {
  display: grid !important;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 0.58fr) !important;
  gap: clamp(34px, 4.5vw, 76px) !important;
  align-items: center !important;
  width: 100% !important;
  max-width: none !important;
}

.project-archive--timeline .timeline-project__media {
  width: 100% !important;
  max-width: none !important;
}

.project-archive--timeline .timeline-project__media img {
  width: 100% !important;
  height: clamp(340px, 34vw, 520px) !important;
  object-fit: cover !important;
}

.project-archive--timeline .timeline-project__content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  overflow: visible !important;
}

.project-archive--timeline .timeline-project__content h3,
.project-archive--timeline .timeline-project h3 {
  width: 100% !important;
  max-width: 100% !important;
  font-size: clamp(38px, 4.4vw, 78px) !important;
  line-height: 0.94 !important;
  letter-spacing: -0.06em !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: manual !important;
  overflow: visible !important;
}

@media (min-width: 1181px) {
  .project-archive--timeline .project-timeline-layout.no-ongoing .project-timeline,
  .project-archive--timeline .project-timeline-layout .project-timeline {
    max-width: min(1500px, calc(100vw - clamp(90px, 10vw, 180px))) !important;
  }
}

@media (max-width: 1180px) {
  .project-archive--timeline .timeline-project__link {
    grid-template-columns: 1fr !important;
  }

  .project-archive--timeline .timeline-project__content h3,
  .project-archive--timeline .timeline-project h3 {
    font-size: clamp(34px, 8vw, 64px) !important;
  }
}


/* v1.62: project tag filters and footer cursor fix. */
.project-tag-filter {
  width: min(1500px, calc(100vw - clamp(48px, 10vw, 180px)));
  margin: 0 auto clamp(34px, 5vw, 72px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tag-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(245, 242, 234, 0.22);
  color: rgba(245, 242, 234, 0.72);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  line-height: 1;
  cursor: pointer !important;
}

.project-tag-filter a:hover,
.project-tag-filter a:focus-visible,
.project-tag-filter a.is-active {
  color: var(--am-text);
  border-color: rgba(245, 242, 234, 0.72);
}

.site-footer,
.site-footer *,
.footer,
.footer *,
footer,
footer * {
  cursor: auto !important;
}

.site-footer a,
.site-footer button,
.footer a,
.footer button,
footer a,
footer button {
  cursor: pointer !important;
}

@media (max-width: 720px) {
  .project-tag-filter {
    width: calc(100vw - 32px);
  }
}


/* v1.63: public portfolio button in footer. */
.footer-portfolio-link {
  margin-top: clamp(18px, 2.5vw, 34px);
}

.site-footer .footer-portfolio-link .ampt-portfolio-pdf-button,
footer .footer-portfolio-link .ampt-portfolio-pdf-button {
  color: inherit;
  border-color: currentColor;
  opacity: 0.88;
  cursor: pointer !important;
}

.site-footer .footer-portfolio-link .ampt-portfolio-pdf-button:hover,
footer .footer-portfolio-link .ampt-portfolio-pdf-button:hover {
  opacity: 1;
}


/* v1.64: real filter tags and prominent footer portfolio button. */
.project-tag-filter,
.project-archive--timeline .project-tag-filter {
  width: min(1500px, calc(100vw - clamp(48px, 10vw, 180px))) !important;
  margin: 0 auto clamp(34px, 5vw, 72px) !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
}

.project-tag-filter a,
.project-archive--timeline .project-tag-filter a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  padding: 9px 15px !important;
  border: 1px solid rgba(245, 242, 234, 0.34) !important;
  background: rgba(5, 5, 5, 0.42) !important;
  color: rgba(245, 242, 234, 0.78) !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.14em !important;
  font-size: 11px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.project-tag-filter a:hover,
.project-tag-filter a:focus-visible,
.project-tag-filter a.is-active,
.project-archive--timeline .project-tag-filter a:hover,
.project-archive--timeline .project-tag-filter a:focus-visible,
.project-archive--timeline .project-tag-filter a.is-active {
  background: #f5f2ea !important;
  color: #050505 !important;
  border-color: #f5f2ea !important;
  text-decoration: none !important;
}

.site-footer .footer-portfolio-link,
footer .footer-portfolio-link {
  margin: 0 0 clamp(26px, 3vw, 46px) !important;
  padding: 0 !important;
}

.site-footer .footer-portfolio-link .ampt-portfolio-pdf-button,
footer .footer-portfolio-link .ampt-portfolio-pdf-button {
  min-height: 54px !important;
  padding: 16px 22px !important;
  border: 1px solid #050505 !important;
  background: transparent !important;
  color: #050505 !important;
  font-size: 13px !important;
  letter-spacing: 0.16em !important;
  text-decoration: none !important;
  opacity: 1 !important;
  cursor: pointer !important;
}

.site-footer .footer-portfolio-link .ampt-portfolio-pdf-button:hover,
.site-footer .footer-portfolio-link .ampt-portfolio-pdf-button:focus-visible,
footer .footer-portfolio-link .ampt-portfolio-pdf-button:hover,
footer .footer-portfolio-link .ampt-portfolio-pdf-button:focus-visible {
  background: #050505 !important;
  color: #37bd40 !important;
  border-color: #37bd40 !important;
}

@media (max-width: 720px) {
  .project-tag-filter,
  .project-archive--timeline .project-tag-filter {
    width: calc(100vw - 32px) !important;
  }
}


/* v1.68: stable /work and /studies project tag filters.
   Proper buttons, correct site typography, green active state, no cursed underline links. */
.project-archive--timeline .project-tag-filter.project-tag-filter--buttons,
.project-tag-filter.project-tag-filter--buttons {
  width: min(1500px, calc(100vw - clamp(48px, 10vw, 180px))) !important;
  margin: 0 auto clamp(34px, 5vw, 72px) !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
}

.project-archive--timeline .project-tag-filter.project-tag-filter--buttons a,
.project-tag-filter.project-tag-filter--buttons a,
.project-tag-filter__button {
  all: unset;
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 10px 15px !important;
  border: 1px solid rgba(245, 242, 234, 0.34) !important;
  background: rgba(5, 5, 5, 0.42) !important;
  color: rgba(245, 242, 234, 0.82) !important;
  font-family: var(--am-body-font, inherit) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: none !important;
}

.project-archive--timeline .project-tag-filter.project-tag-filter--buttons a::before,
.project-archive--timeline .project-tag-filter.project-tag-filter--buttons a::after,
.project-tag-filter.project-tag-filter--buttons a::before,
.project-tag-filter.project-tag-filter--buttons a::after {
  display: none !important;
  content: none !important;
}

.project-archive--timeline .project-tag-filter.project-tag-filter--buttons a:hover,
.project-archive--timeline .project-tag-filter.project-tag-filter--buttons a:focus-visible,
.project-tag-filter.project-tag-filter--buttons a:hover,
.project-tag-filter.project-tag-filter--buttons a:focus-visible {
  background: #f5f2ea !important;
  color: #050505 !important;
  border-color: #f5f2ea !important;
  text-decoration: none !important;
}

.project-archive--timeline .project-tag-filter.project-tag-filter--buttons a.is-active,
.project-tag-filter.project-tag-filter--buttons a.is-active,
.project-tag-filter__button.is-active {
  background: #37bd40 !important;
  color: #050505 !important;
  border-color: #37bd40 !important;
  text-decoration: none !important;
}

@media (max-width: 720px) {
  .project-archive--timeline .project-tag-filter.project-tag-filter--buttons,
  .project-tag-filter.project-tag-filter--buttons {
    width: calc(100vw - 32px) !important;
    gap: 8px !important;
  }

  .project-archive--timeline .project-tag-filter.project-tag-filter--buttons a,
  .project-tag-filter.project-tag-filter--buttons a {
    min-height: 34px !important;
    padding: 8px 11px !important;
    font-size: 10px !important;
  }
}


/* v1.69: tag filters as real separated buttons, plus visible project tag pills.
   This intentionally does NOT touch timeline/card grid layout. Humanity survives another CSS pass. */

.project-archive--timeline nav.project-tag-filter,
.project-archive--timeline nav.project-tag-filter.project-tag-filter--buttons,
nav.project-tag-filter.project-tag-filter--buttons {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  row-gap: 10px !important;
  width: min(1500px, calc(100vw - clamp(48px, 10vw, 180px))) !important;
  margin: 0 auto clamp(34px, 5vw, 72px) !important;
  padding: 0 !important;
  border: 0 !important;
}

.project-archive--timeline nav.project-tag-filter > a,
.project-archive--timeline nav.project-tag-filter.project-tag-filter--buttons > a,
nav.project-tag-filter.project-tag-filter--buttons > a,
a.project-tag-filter__button {
  display: inline-flex !important;
  width: auto !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 10px 15px !important;
  border: 1px solid rgba(245, 242, 234, 0.38) !important;
  border-radius: 0 !important;
  background: rgba(5, 5, 5, 0.50) !important;
  color: rgba(245, 242, 234, 0.86) !important;
  font-family: var(--am-font, var(--am-body-font, inherit)) !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  box-shadow: none !important;
  outline: 0 !important;
}

.project-archive--timeline nav.project-tag-filter > a::before,
.project-archive--timeline nav.project-tag-filter > a::after,
nav.project-tag-filter.project-tag-filter--buttons > a::before,
nav.project-tag-filter.project-tag-filter--buttons > a::after,
a.project-tag-filter__button::before,
a.project-tag-filter__button::after {
  content: none !important;
  display: none !important;
}

.project-archive--timeline nav.project-tag-filter > a:hover,
.project-archive--timeline nav.project-tag-filter > a:focus-visible,
nav.project-tag-filter.project-tag-filter--buttons > a:hover,
nav.project-tag-filter.project-tag-filter--buttons > a:focus-visible,
a.project-tag-filter__button:hover,
a.project-tag-filter__button:focus-visible {
  background: #f5f2ea !important;
  border-color: #f5f2ea !important;
  color: #050505 !important;
  text-decoration: none !important;
}

.project-archive--timeline nav.project-tag-filter > a.is-active,
nav.project-tag-filter.project-tag-filter--buttons > a.is-active,
a.project-tag-filter__button.is-active {
  background: #37bd40 !important;
  border-color: #37bd40 !important;
  color: #050505 !important;
  text-decoration: none !important;
}

/* Visible tags inside project cards */
.timeline-project__content .archive-project-tags,
.ongoing-project__content .archive-project-tags,
.archive-project-tags {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  row-gap: 7px !important;
  margin-top: 14px !important;
  padding: 0 !important;
}

.timeline-project__content .archive-project-tag,
.ongoing-project__content .archive-project-tag,
.archive-project-tag {
  display: inline-flex !important;
  width: auto !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 26px !important;
  padding: 6px 9px !important;
  border: 1px solid rgba(245, 242, 234, 0.28) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(245, 242, 234, 0.68) !important;
  font-family: var(--am-font, var(--am-body-font, inherit)) !important;
  font-size: 9px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.timeline-project__content .archive-project-tag.is-active,
.ongoing-project__content .archive-project-tag.is-active,
.archive-project-tag.is-active {
  background: #37bd40 !important;
  border-color: #37bd40 !important;
  color: #050505 !important;
}

@media (max-width: 720px) {
  .project-archive--timeline nav.project-tag-filter,
  .project-archive--timeline nav.project-tag-filter.project-tag-filter--buttons,
  nav.project-tag-filter.project-tag-filter--buttons {
    width: calc(100vw - 32px) !important;
    gap: 8px !important;
  }

  .project-archive--timeline nav.project-tag-filter > a,
  nav.project-tag-filter.project-tag-filter--buttons > a,
  a.project-tag-filter__button {
    min-height: 34px !important;
    padding: 8px 11px !important;
    font-size: 10px !important;
  }
}


/* v1.74: based on stable 1.69, asset cache fixed, no loader. */
:root {
  --am-accent: #37bd40;
}

.hero-subtitle {
  color: var(--am-accent) !important;
  border-color: rgba(55, 189, 64, 0.35) !important;
}

.site-header .menu-toggle,
.menu-toggle {
  display: none !important;
}

/* Keep Damascus/topographic canvas alive above the black body background. */
.damascus-background {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 0 !important;
  pointer-events: none !important;
  opacity: 1 !important;
}

.site-header,
.side-menu,
.site-main,
.site-footer {
  position: relative;
  z-index: 1;
}


/* v1.75: force homepage hero subtitle green. */
body.home .hero-signature .hero-subtitle,
body.front-page .hero-signature .hero-subtitle,
.hero-signature .hero-content .hero-subtitle,
.hero-content .hero-subtitle,
p.hero-subtitle {
  color: #37bd40 !important;
  border-color: rgba(55, 189, 64, 0.42) !important;
}

body.home .hero-signature .hero-subtitle *,
body.front-page .hero-signature .hero-subtitle *,
.hero-signature .hero-content .hero-subtitle * {
  color: #37bd40 !important;
}


/* v1.76: white hero subtitle, green animated signature line. */
body.home .hero-signature .hero-subtitle,
body.front-page .hero-signature .hero-subtitle,
.hero-signature .hero-content .hero-subtitle,
.hero-content .hero-subtitle,
p.hero-subtitle {
  color: var(--am-text, #f5f2ea) !important;
  border-color: rgba(245, 242, 234, 0.28) !important;
}

body.home .hero-signature .hero-subtitle *,
body.front-page .hero-signature .hero-subtitle *,
.hero-signature .hero-content .hero-subtitle * {
  color: var(--am-text, #f5f2ea) !important;
}

/* SVG signature/path animation */
.signature-path,
.signature-svg .signature-path,
.signature-draw-path,
.signature-svg path {
  stroke: #37bd40 !important;
}

/* If signature is image-layer based, tint it green-ish without replacing files. */
.signature-image,
.signature-layer {
  filter:
    brightness(0)
    saturate(100%)
    invert(54%)
    sepia(88%)
    saturate(931%)
    hue-rotate(78deg)
    brightness(88%)
    contrast(92%) !important;
}


/* v1.85: About image and exact 30% hero side image. */
@supports not selector(:has(*)) {
  .about-section {
    grid-template-columns: minmax(120px, 260px) minmax(0, 1fr) minmax(180px, 30%);
    align-items: end;
  }
}

@media (max-width: 980px) {
  .hero-content--split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-side-image {
    width: min(62vw, 360px);
  }

  .about-section:has(.about-image),
  .about-section {
    grid-template-columns: minmax(120px, 260px) minmax(0, 1fr);
  }

  .about-image {
    grid-column: 2;
    margin-top: clamp(28px, 8vw, 64px);
    max-width: min(320px, 70vw);
  }
}

@media (max-width: 700px) {
  .about-image {
    grid-column: 1 / -1;
    justify-self: start;
  }
}


/* v2.03: About only. Hero is untouched. Image + animated signature in a sliding visual panel. */
.about-section.about-section--has-image {
  grid-template-columns: minmax(120px, 260px) minmax(0, 1fr) minmax(260px, 34%) !important;
  align-items: end !important;
  column-gap: clamp(18px, 3vw, 48px) !important;
}

.about-section.about-section--has-image > .section-label {
  grid-column: 1 !important;
  grid-row: 1 !important;
}

.about-section.about-section--has-image > .about-copy {
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0 !important;
}

.about-section.about-section--has-image > .about-visual-panel {
  grid-column: 3 !important;
  grid-row: 1 !important;
  display: grid !important;
  grid-template-columns: minmax(150px, 1fr) minmax(96px, 0.58fr) !important;
  gap: clamp(10px, 1.2vw, 18px) !important;
  align-items: end !important;
  justify-content: start !important;
  width: 100% !important;
  max-width: 540px !important;
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.75,.18,1);
}

.about-section.about-section--has-image > .about-visual-panel.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.about-visual-panel > .about-image {
  grid-column: 1 !important;
  width: 100% !important;
  max-width: 320px !important;
  margin: 0 !important;
  align-self: end !important;
  justify-self: end !important;
  pointer-events: none !important;
}

.about-visual-panel > .about-image img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: min(52vh, 430px) !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  filter: drop-shadow(0 0 26px rgba(55, 189, 64, 0.14)) !important;
}

.about-signature-panel {
  grid-column: 2 !important;
  width: 100% !important;
  max-width: 190px !important;
  min-height: 108px !important;
  align-self: end !important;
  justify-self: start !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.about-signature-panel svg,
.about-signature-panel .about-signature-fallback {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-height: 150px !important;
  overflow: visible !important;
  transform: none !important;
}

.about-signature-panel svg path,
.about-signature-panel svg polyline,
.about-signature-panel svg line {
  stroke: #fff !important;
  fill: none !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.about-signature-panel.is-inline-ready .about-signature-fallback {
  display: none !important;
}

@media (max-width: 980px) {
  .about-section.about-section--has-image {
    grid-template-columns: minmax(120px, 260px) minmax(0, 1fr) !important;
  }

  .about-section.about-section--has-image > .about-visual-panel {
    grid-column: 2 !important;
    grid-row: 2 !important;
    margin-top: clamp(28px, 6vw, 56px) !important;
    max-width: min(520px, 78vw) !important;
  }
}

@media (max-width: 700px) {
  .about-section.about-section--has-image {
    grid-template-columns: 1fr !important;
  }

  .about-section.about-section--has-image > .section-label,
  .about-section.about-section--has-image > .about-copy,
  .about-section.about-section--has-image > .about-visual-panel {
    grid-column: 1 !important;
  }

  .about-section.about-section--has-image > .about-visual-panel {
    grid-template-columns: minmax(140px, 220px) minmax(82px, 130px) !important;
  }
}


/* v2.04: About copy text update + smaller About font. Hero untouched. */
.about-section .about-copy p:first-child {
  font-size: clamp(21px, 2.15vw, 36px) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.04em !important;
  max-width: 18.5ch !important;
}

.about-section .about-copy p + p {
  font-size: clamp(15px, 1.12vw, 20px) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.028em !important;
  max-width: 40ch !important;
}

@media (max-width: 980px) {
  .about-section .about-copy p:first-child {
    font-size: clamp(20px, 3.2vw, 30px) !important;
    max-width: 20ch !important;
  }

  .about-section .about-copy p + p {
    font-size: clamp(14px, 2.2vw, 18px) !important;
  }
}


/* v2.05: make both About text blocks the same width and slightly enlarge photo/signature. */
.about-section.about-section--has-image > .about-copy {
  width: 100% !important;
  max-width: 560px !important;
}

.about-section.about-section--has-image > .about-copy p,
.about-section.about-section--has-image > .about-copy p:first-child,
.about-section.about-section--has-image > .about-copy p + p {
  width: 100% !important;
  max-width: 100% !important;
}

.about-section.about-section--has-image > .about-visual-panel {
  grid-template-columns: minmax(180px, 1fr) minmax(118px, 0.7fr) !important;
  gap: clamp(12px, 1.35vw, 20px) !important;
  max-width: 610px !important;
}

.about-visual-panel > .about-image {
  max-width: 360px !important;
}

.about-visual-panel > .about-image img {
  max-height: min(58vh, 500px) !important;
}

.about-signature-panel {
  max-width: 220px !important;
  min-height: 126px !important;
}

.about-signature-panel svg,
.about-signature-panel .about-signature-fallback {
  max-height: 176px !important;
}

@media (max-width: 980px) {
  .about-section.about-section--has-image > .about-copy {
    max-width: 100% !important;
  }

  .about-section.about-section--has-image > .about-visual-panel {
    max-width: min(620px, 92vw) !important;
  }
}


/* v2.06: About layout fix.
   Desktop: 10% label/luz + 30% text + 30% image + 30% signature.
   Mobile: stacked, readable, no cursed horizontal squeeze. */
@media (min-width: 981px) {
  .about-section.about-section--has-image {
    display: grid !important;
    grid-template-columns: minmax(72px, 10%) minmax(0, 30%) minmax(0, 30%) minmax(0, 30%) !important;
    column-gap: clamp(14px, 1.45vw, 28px) !important;
    align-items: center !important;
  }

  .about-section.about-section--has-image > .section-label {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: start !important;
  }

  .about-section.about-section--has-image > .about-copy {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    align-self: center !important;
    min-width: 0 !important;
  }

  .about-section.about-section--has-image > .about-copy p,
  .about-section.about-section--has-image > .about-copy p:first-child,
  .about-section.about-section--has-image > .about-copy p + p {
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-section.about-section--has-image > .about-visual-panel {
    grid-column: 3 / 5 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    column-gap: clamp(14px, 1.45vw, 28px) !important;
    align-items: center !important;
    justify-content: stretch !important;
    width: 100% !important;
    max-width: none !important;
    align-self: center !important;
  }

  .about-visual-panel > .about-image {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .about-visual-panel > .about-image img {
    width: 100% !important;
    max-height: min(62vh, 540px) !important;
    object-fit: contain !important;
    object-position: center !important;
  }

  .about-signature-panel {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: clamp(120px, 18vw, 260px) !important;
    justify-self: stretch !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
  }

  .about-signature-panel svg,
  .about-signature-panel .about-signature-fallback {
    width: 100% !important;
    max-width: none !important;
    max-height: min(34vh, 280px) !important;
    height: auto !important;
  }
}

@media (max-width: 980px) {
  .about-section.about-section--has-image {
    display: grid !important;
    grid-template-columns: 1fr !important;
    row-gap: clamp(22px, 6vw, 48px) !important;
    align-items: start !important;
  }

  .about-section.about-section--has-image > .section-label,
  .about-section.about-section--has-image > .about-copy,
  .about-section.about-section--has-image > .about-visual-panel {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  .about-section.about-section--has-image > .about-copy {
    width: 100% !important;
    max-width: none !important;
  }

  .about-section.about-section--has-image > .about-copy p,
  .about-section.about-section--has-image > .about-copy p:first-child,
  .about-section.about-section--has-image > .about-copy p + p {
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-section.about-section--has-image > .about-visual-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: clamp(18px, 5vw, 34px) !important;
    width: 100% !important;
    max-width: none !important;
    margin-top: 0 !important;
  }

  .about-visual-panel > .about-image {
    grid-column: 1 !important;
    width: min(100%, 360px) !important;
    max-width: 360px !important;
    justify-self: start !important;
    align-self: start !important;
    margin: 0 !important;
  }

  .about-visual-panel > .about-image img {
    max-height: 420px !important;
    object-fit: contain !important;
    object-position: left center !important;
  }

  .about-signature-panel {
    grid-column: 1 !important;
    width: min(100%, 320px) !important;
    max-width: 320px !important;
    min-height: 96px !important;
    justify-self: start !important;
    align-self: start !important;
  }

  .about-signature-panel svg,
  .about-signature-panel .about-signature-fallback {
    max-height: 150px !important;
  }
}

@media (max-width: 520px) {
  .about-section.about-section--has-image {
    padding-top: clamp(64px, 18vw, 110px) !important;
    padding-bottom: clamp(64px, 18vw, 110px) !important;
  }

  .about-section.about-section--has-image > .about-copy p:first-child {
    font-size: clamp(19px, 6.2vw, 27px) !important;
    line-height: 1.08 !important;
  }

  .about-section.about-section--has-image > .about-copy p + p {
    font-size: clamp(14px, 4.2vw, 17px) !important;
    line-height: 1.25 !important;
  }

  .about-visual-panel > .about-image {
    width: min(100%, 300px) !important;
  }

  .about-signature-panel {
    width: min(100%, 260px) !important;
  }
}


/* v2.07: faster About visual/signature animation. */
.about-section.about-section--has-image > .about-visual-panel {
  transition:
    opacity 260ms ease,
    transform 300ms cubic-bezier(.2,.75,.18,1) !important;
}

.about-signature-panel svg path,
.about-signature-panel svg polyline,
.about-signature-panel svg line {
  transition-duration: 280ms !important;
  animation-duration: 420ms !important;
}

.signature-path,
.signature-svg path {
  transition-duration: 320ms !important;
  animation-duration: 520ms !important;
}


/* v2.08: Mobile About fix only.
   Desktop stays untouched. On mobile, photo and signature stay side by side. */
@media (max-width: 980px) {
  .about-section.about-section--has-image > .about-visual-panel {
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
    column-gap: clamp(14px, 4vw, 28px) !important;
    row-gap: 0 !important;
    align-items: center !important;
    justify-content: stretch !important;
    width: 100% !important;
    max-width: min(620px, 92vw) !important;
    margin-top: clamp(26px, 7vw, 56px) !important;
  }

  .about-visual-panel > .about-image {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
    align-self: center !important;
    margin: 0 !important;
  }

  .about-visual-panel > .about-image img {
    width: 100% !important;
    max-height: min(54vh, 430px) !important;
    object-fit: contain !important;
    object-position: center bottom !important;
  }

  .about-signature-panel {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: 100% !important;
    max-width: none !important;
    min-height: 92px !important;
    justify-self: stretch !important;
    align-self: center !important;
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
  }

  .about-signature-panel svg,
  .about-signature-panel .about-signature-fallback {
    width: 100% !important;
    max-width: none !important;
    max-height: min(24vh, 180px) !important;
    height: auto !important;
  }
}

@media (max-width: 520px) {
  .about-section.about-section--has-image > .about-visual-panel {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr) !important;
    column-gap: clamp(10px, 3.5vw, 18px) !important;
    max-width: 100% !important;
  }

  .about-visual-panel > .about-image {
    width: 100% !important;
    max-width: none !important;
  }

  .about-visual-panel > .about-image img {
    max-height: 390px !important;
  }

  .about-signature-panel {
    width: 100% !important;
    max-width: none !important;
    min-height: 86px !important;
  }

  .about-signature-panel svg,
  .about-signature-panel .about-signature-fallback {
    max-height: 150px !important;
  }
}


/* v2.09: mobile footer text fix only. Sticky menu untouched. */
@media (max-width: 700px) {
  .site-footer,
  .footer-inner,
  .footer-content,
  .footer-contact {
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }

  .site-footer h1,
  .site-footer h2,
  .site-footer .footer-title,
  .site-footer .footer-heading,
  .footer-cta,
  .footer-cta h2,
  .footer-cta-title {
    font-size: clamp(42px, 13.2vw, 82px) !important;
    line-height: 0.9 !important;
    letter-spacing: -0.075em !important;
    max-width: 9.5ch !important;
    margin-bottom: clamp(28px, 8vw, 52px) !important;
  }

  .site-footer .footer-links,
  .site-footer .social-links,
  .site-footer nav,
  .site-footer ul {
    gap: clamp(12px, 3.5vw, 22px) !important;
    margin-bottom: clamp(34px, 9vw, 56px) !important;
  }

  .site-footer .footer-links a,
  .site-footer .social-links a,
  .site-footer nav a {
    font-size: clamp(25px, 7vw, 38px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.035em !important;
  }

  .footer-email,
  .footer-contact,
  .footer-contact a,
  .site-footer .contact-line,
  .site-footer .contact-label,
  .site-footer .contact-value,
  .site-footer [href^="mailto:"] {
    font-size: clamp(19px, 5.2vw, 28px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0.08em !important;
  }

  .site-footer .footer-email,
  .site-footer .contact-value {
    display: block !important;
    max-width: 100% !important;
  }
}

@media (max-width: 420px) {
  .site-footer h1,
  .site-footer h2,
  .site-footer .footer-title,
  .site-footer .footer-heading,
  .footer-cta,
  .footer-cta h2,
  .footer-cta-title {
    font-size: clamp(38px, 12vw, 64px) !important;
    max-width: 10ch !important;
  }

  .footer-email,
  .footer-contact,
  .footer-contact a,
  .site-footer .contact-line,
  .site-footer .contact-label,
  .site-footer .contact-value,
  .site-footer [href^="mailto:"] {
    font-size: clamp(17px, 4.8vw, 23px) !important;
    letter-spacing: 0.07em !important;
  }
}


/* v2.10: decorative About signature accessibility fix. */
.about-signature-panel[aria-hidden="true"] {
  pointer-events: none;
}
