:root {
  --bg: #080808;
  --bg-soft: #121212;
  --bg-panel: #0d0d0f;
  --text: #f5f5f0;
  --muted: #a7a7a0;
  --line: rgba(255, 255, 255, 0.12);
  --glass: rgba(255, 255, 255, 0.06);
  --accent: #d6b56d;
  --accent-soft: rgba(214, 181, 109, 0.18);
  --ink-red: #3a171a;
  --forest: #10251f;
  --radius: 24px;
  --radius-card: 8px;
  --max-width: 1240px;
  --nav-height: 82px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(58, 23, 26, 0.14), transparent 18rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  transform: translateY(-150%);
  padding: 0.75rem 1rem;
  color: var(--bg);
  background: var(--accent);
  border-radius: var(--radius-card);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: background 260ms ease, border-color 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(8, 8, 8, 0.78);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.nav-shell {
  width: min(100% - 2rem, var(--max-width));
  min-height: var(--nav-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-initials {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid rgba(214, 181, 109, 0.55);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.86rem;
}

.brand-copy {
  display: grid;
  line-height: 1.2;
}

.brand-copy span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  color: rgba(245, 245, 240, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-menu a {
  position: relative;
  padding: 0.4rem 0;
  transition: color 220ms ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease);
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-menu a.active {
  color: var(--text);
}

.nav-menu a:hover::after,
.nav-menu a:focus-visible::after,
.nav-menu a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 1px;
  background: var(--text);
  transition: transform 220ms var(--ease);
}

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

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

.hero-section {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--nav-height) + 3rem) 1rem 4rem;
}

.hero-video,
.hero-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -4;
  transform: scale(1.04);
  animation: heroDrift 18s var(--ease) both;
}

.hero-fallback {
  z-index: -5;
  background:
    linear-gradient(120deg, rgba(214, 181, 109, 0.16), transparent 32%),
    linear-gradient(315deg, rgba(16, 37, 31, 0.48), transparent 42%),
    linear-gradient(180deg, #151515, #050505);
}

.hero-video.is-unavailable {
  opacity: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.84) 0%, rgba(8, 8, 8, 0.42) 45%, rgba(8, 8, 8, 0.64) 100%),
    linear-gradient(0deg, rgba(8, 8, 8, 0.96) 0%, transparent 38%, rgba(8, 8, 8, 0.42) 100%);
}

.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.14;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 78%, transparent);
}

.hero-content {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  padding-bottom: 4vh;
  transform: translateY(var(--hero-copy-shift, 0));
}

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

.hero-titleline,
.section-kicker {
  margin: 0 0 1rem;
  color: rgba(245, 245, 240, 0.76);
  font-size: 0.92rem;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  font-size: clamp(4rem, 6rem, 7rem);
}

.hero-headline {
  max-width: 780px;
  margin: 1.4rem 0 0;
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.3rem, 2.7rem);
  line-height: 1.12;
}

.hero-subheadline {
  max-width: 660px;
  margin: 1.2rem 0 0;
  color: rgba(245, 245, 240, 0.76);
  font-size: 1.05rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius-card);
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: transform 220ms var(--ease), border-color 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #17120a;
  background: var(--accent);
  box-shadow: 0 18px 42px rgba(214, 181, 109, 0.18);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
}

.button-secondary:hover {
  border-color: rgba(214, 181, 109, 0.42);
  box-shadow: 0 18px 42px rgba(214, 181, 109, 0.1);
}

.scroll-indicator {
  position: absolute;
  right: max(1.5rem, calc((100vw - var(--max-width)) / 2));
  bottom: 3rem;
  display: grid;
  justify-items: center;
  gap: 0.55rem;
  color: rgba(245, 245, 240, 0.7);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.scroll-indicator i {
  width: 1px;
  height: 56px;
  background: linear-gradient(var(--accent), transparent);
}

.section {
  position: relative;
  padding: 7rem 1rem;
}

.page-main {
  padding-top: var(--nav-height);
}

.page-hero {
  position: relative;
  min-height: 48svh;
  display: grid;
  align-items: end;
  padding: 7rem 1rem 4rem;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(120deg, rgba(214, 181, 109, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(16, 37, 31, 0.36), transparent 44%),
    linear-gradient(180deg, #111, var(--bg));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, black, transparent);
}

.page-hero-inner {
  display: grid;
  gap: 1rem;
}

.page-hero h1 {
  max-width: none;
  font-size: clamp(4rem, 7rem, 8.5rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: rgba(245, 245, 240, 0.74);
  font-size: clamp(1.15rem, 1.45rem, 1.8rem);
}

.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: min(100% - 2rem, var(--max-width));
  height: 1px;
  transform: translateX(-50%);
  background: var(--line);
}

.section-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.section-heading {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin-bottom: 3rem;
}

.section-heading h2,
.statement-block h2,
.contact-copy h2 {
  font-size: clamp(2.4rem, 4rem, 5.2rem);
}

.section-heading p:not(.eyebrow),
.contact-copy p,
.about-copy p,
.media-card p,
.project-card p,
.glass-card p {
  color: var(--muted);
}

.about-section {
  background:
    linear-gradient(180deg, rgba(16, 37, 31, 0.2), transparent 58%),
    var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.portrait-panel {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  display: grid;
  gap: 1rem;
}

.portrait-frame {
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(214, 181, 109, 0.16), transparent),
    #111;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.05);
}

.portrait-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.84rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.about-copy {
  padding: 1rem 0 0;
}

.about-copy h2 {
  font-size: clamp(3rem, 5rem, 6rem);
}

.about-intro {
  margin-top: 2rem;
  color: var(--text) !important;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.5rem, 2rem, 2.5rem);
  line-height: 1.22;
}

.signature {
  max-width: 190px;
  max-height: 92px;
  margin-top: 2rem;
  object-fit: contain;
  opacity: 0.9;
  filter: invert(1) sepia(0.4) saturate(0.8);
}

.facts-panel {
  grid-column: 2;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.facts-panel h3 {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.facts-panel dl {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.facts-panel div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.facts-panel dt {
  color: var(--accent);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.facts-panel dd {
  margin: 0;
  color: var(--text);
}

.philosophy-section {
  background:
    linear-gradient(180deg, transparent, rgba(58, 23, 26, 0.16)),
    var(--bg-panel);
}

.statement-block {
  max-width: 1040px;
  margin-bottom: 3rem;
}

.philosophy-grid,
.project-grid,
.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.glass-card,
.project-card,
.media-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.072), rgba(255, 255, 255, 0.032));
  backdrop-filter: blur(18px);
  transition: transform 260ms var(--ease), border-color 260ms ease, box-shadow 260ms ease;
}

.glass-card:hover,
.project-card:hover,
.media-card:hover {
  transform: translateY(-5px);
  border-color: rgba(214, 181, 109, 0.36);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(214, 181, 109, 0.08);
}

.glass-card {
  min-height: 240px;
  padding: 1.4rem;
}

.glass-card span {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
}

.glass-card h3,
.project-card h3,
.media-card h3 {
  margin: 1.2rem 0 0.7rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  line-height: 1.18;
}

.gallery-section {
  background: var(--bg);
}

.featured-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  min-height: 420px;
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-soft);
}

.featured-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: linear-gradient(135deg, rgba(214, 181, 109, 0.15), rgba(16, 37, 31, 0.45));
}

.featured-gallery div {
  display: grid;
  align-content: end;
  gap: 1rem;
  padding: 2rem;
}

.featured-gallery span,
.project-meta,
.media-type {
  color: var(--accent);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.featured-gallery h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1.18;
}

.text-button {
  width: fit-content;
  padding: 0.2rem 0;
  color: var(--text);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--accent);
  cursor: pointer;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.filter-button {
  min-height: 40px;
  padding: 0.55rem 0.85rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  cursor: pointer;
  transition: color 220ms ease, border-color 220ms ease, background 220ms ease;
}

.filter-button.active,
.filter-button:hover {
  color: var(--text);
  border-color: rgba(214, 181, 109, 0.45);
  background: var(--accent-soft);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #111;
  cursor: pointer;
}

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

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transition: transform 600ms var(--ease), filter 260ms ease;
}

.gallery-card:hover img {
  transform: scale(1.065);
  filter: saturate(1.08);
}

.gallery-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 5rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
}

.gallery-card small {
  color: var(--accent);
  text-transform: uppercase;
}

.gallery-card p {
  margin: 0.35rem 0 0;
  color: var(--text);
}

.work-section {
  background:
    linear-gradient(180deg, rgba(16, 37, 31, 0.16), transparent 50%),
    var(--bg-panel);
}

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

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.project-image {
  min-height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(214, 181, 109, 0.16), rgba(58, 23, 26, 0.5));
}

.project-image img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 520ms var(--ease);
}

.project-card:hover .project-image img {
  transform: scale(1.055);
}

.project-body {
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  padding: 1.4rem;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.timeline-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 4rem;
}

.sticky-heading {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  align-self: start;
  margin-bottom: 0;
}

.timeline-list {
  position: relative;
  display: grid;
  gap: 0;
}

.timeline-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.8rem;
  bottom: 0.8rem;
  width: 1px;
  background: linear-gradient(var(--accent), var(--line));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 2rem;
  padding: 0 0 3rem 2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg);
  box-shadow: 0 0 0 7px rgba(214, 181, 109, 0.08);
}

.timeline-year {
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.timeline-item h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.75rem;
  line-height: 1.2;
}

.media-section {
  background:
    linear-gradient(180deg, rgba(58, 23, 26, 0.18), transparent 48%),
    var(--bg);
}

.media-card {
  min-height: 300px;
  display: grid;
  align-content: space-between;
  gap: 1.1rem;
  padding: 1.35rem;
}

.media-embed {
  overflow: hidden;
  margin: -1.35rem -1.35rem 0;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(214, 181, 109, 0.16), rgba(16, 37, 31, 0.35));
}

.media-embed img,
.media-embed video {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.media-card time {
  color: var(--muted);
  font-size: 0.86rem;
}

.contact-section {
  background:
    linear-gradient(180deg, transparent, rgba(214, 181, 109, 0.08)),
    var(--bg-panel);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: 3rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--glass);
  backdrop-filter: blur(18px);
}

.field-group {
  display: grid;
  gap: 0.45rem;
}

.field-group label {
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  color: var(--text);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 0.85rem 0.9rem;
  transition: border-color 180ms ease, background 180ms ease;
}

.field-group textarea {
  resize: vertical;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: rgba(214, 181, 109, 0.55);
  background: rgba(0, 0, 0, 0.36);
  outline: 0;
}

.form-note {
  min-height: 1.5rem;
  margin: 0;
  color: var(--accent);
}

.site-footer {
  padding: 4rem 1rem;
  color: var(--muted);
  background: #050505;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2rem;
}

.footer-inner h2 {
  margin-bottom: 0.6rem;
  color: var(--text);
  font-size: 2rem;
}

.footer-inner nav,
.footer-social {
  display: grid;
  gap: 0.55rem;
}

.footer-inner a {
  transition: color 180ms ease;
}

.footer-inner a:hover {
  color: var(--text);
}

.copyright {
  grid-column: 1 / -1;
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  place-items: center;
  gap: 1rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  width: min(100%, 1080px);
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-card);
}

.lightbox figcaption {
  margin-top: 1rem;
  color: var(--text);
  text-align: center;
}

.lightbox-close,
.lightbox-arrow {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.7rem 0.9rem;
}

.lightbox-arrow {
  padding: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms var(--ease), transform 720ms var(--ease);
}

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

.placeholder-tint {
  object-fit: cover;
}

@keyframes heroDrift {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1.02);
  }
}

@media (max-width: 1024px) {
  :root {
    --nav-height: 72px;
  }

  h1 {
    font-size: clamp(3.35rem, 4.8rem, 5.4rem);
  }

  .about-grid,
  .timeline-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .portrait-panel,
  .sticky-heading {
    position: static;
  }

  .facts-panel {
    grid-column: auto;
  }

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

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

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

@media (max-width: 768px) {
  .nav-toggle {
    display: grid;
  }

  .brand-copy small {
    display: none;
  }

  .nav-menu {
    position: fixed;
    inset: var(--nav-height) 1rem auto 1rem;
    display: grid;
    gap: 0;
    padding: 0.6rem;
    background: rgba(13, 13, 15, 0.96);
    border: 1px solid var(--line);
    border-radius: var(--radius-card);
    transform: translateY(-16px);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(20px);
    transition: opacity 220ms ease, transform 220ms var(--ease);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-menu a {
    padding: 0.9rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu a:last-child {
    border-bottom: 0;
  }

  .hero-section {
    align-items: end;
    padding-bottom: 5rem;
  }

  h1 {
    font-size: clamp(3rem, 4rem, 4.2rem);
  }

  .hero-headline,
  .about-intro {
    font-size: clamp(1.45rem, 1.85rem, 2rem);
  }

  .scroll-indicator {
    left: 1.5rem;
    right: auto;
  }

  .section {
    padding: 5rem 1rem;
  }

  .featured-gallery,
  .project-grid,
  .philosophy-grid,
  .media-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .featured-gallery {
    min-height: 0;
  }

  .featured-gallery img {
    min-height: 300px;
  }

  .facts-panel div {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 4rem 1rem 1rem;
  }

  .lightbox-arrow {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .nav-shell,
  .section-inner,
  .hero-content,
  .footer-inner {
    width: min(100% - 1rem, var(--max-width));
  }

  .brand-initials {
    width: 38px;
    height: 38px;
  }

  .brand-copy span {
    font-size: 0.9rem;
  }

  h1 {
    font-size: 3.1rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

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

  .portrait-frame,
  .portrait-frame img {
    min-height: 380px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

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