:root {
  --bg: #f5f1ea;
  --bg-strong: #ebe3d8;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --ink: #211f1d;
  --ink-soft: #4b4742;
  --accent: #db4a2f;
  --accent-alt: #00786b;
  --accent-gold: #b57f12;
  --line: rgba(33, 31, 29, 0.1);
  --radius-xl: 2rem;
  --radius-lg: 1.25rem;
  --shadow-soft: 0 24px 60px rgba(51, 43, 29, 0.12);
  --shadow-hover: 0 30px 80px rgba(30, 21, 11, 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(145deg, #f7f2ea 0%, #ece4d8 65%, #efe8de 100%);
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

.ambient {
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.glow {
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.4;
  position: absolute;
}

.glow-a {
  width: 28rem;
  height: 28rem;
  background: #ff734b;
  top: -10rem;
  left: -6rem;
  animation: driftA 18s ease-in-out infinite alternate;
}

.glow-b {
  width: 24rem;
  height: 24rem;
  background: #ffcb59;
  top: 35%;
  right: -8rem;
  animation: driftB 20s ease-in-out infinite alternate;
}

.glow-c {
  width: 22rem;
  height: 22rem;
  background: #00927f;
  bottom: -8rem;
  left: 36%;
  animation: driftC 24s ease-in-out infinite alternate;
}

@keyframes driftA {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4rem, 2rem, 0) scale(1.12);
  }
}

@keyframes driftB {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-5rem, -3rem, 0) scale(1.14);
  }
}

@keyframes driftC {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-3rem, 2rem, 0) scale(1.09);
  }
}

.topbar {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 1.35rem;
  box-shadow: 0 20px 40px rgba(43, 33, 23, 0.1);
  margin: 0 auto;
  max-width: 1150px;
  margin-top: 1.1rem;
  padding: 1.3rem 1.35rem 1.45rem;
  position: sticky;
  top: 0.6rem;
  z-index: 6;
  backdrop-filter: blur(10px);
}

.topbar__line {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.85rem;
  justify-content: space-between;
}

.topbar__label {
  background: rgba(0, 120, 107, 0.14);
  border-radius: 999px;
  letter-spacing: 0.08em;
  margin: 0;
  padding: 0.35rem 0.62rem;
  text-transform: uppercase;
  color: var(--accent-alt);
  font-weight: 700;
  font-size: 0.7rem;
}

.topbar__meta {
  color: #59534d;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0;
}

.topbar h1 {
  font-family: "Syne", "Sora", sans-serif;
  font-size: clamp(1.9rem, 4.3vw, 4rem);
  line-height: 1.06;
  margin: 0.8rem 0 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.layout {
  margin: 0 auto;
  max-width: 1150px;
  padding: 0 1.25rem 3.4rem;
}

.hero {
  align-items: stretch;
  background: linear-gradient(128deg, rgba(20, 28, 35, 0.96) 0%, rgba(17, 39, 50, 0.93) 43%, rgba(36, 19, 23, 0.93) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: 0 36px 78px rgba(19, 15, 10, 0.28);
  display: grid;
  gap: 1.8rem;
  grid-template-columns: 1.16fr 1fr;
  overflow: hidden;
  padding: clamp(1.4rem, 3vw, 2.7rem);
  position: relative;
  isolation: isolate;
}

.hero::before {
  content: "";
  background: radial-gradient(circle at 15% 12%, rgba(255, 163, 91, 0.28), transparent 33%),
    radial-gradient(circle at 84% 74%, rgba(0, 181, 160, 0.28), transparent 37%);
  inset: 0;
  position: absolute;
  z-index: -1;
}

.hero > * {
  position: relative;
}

.hero__kicker {
  color: #9deadd;
  display: inline-flex;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0;
  padding: 0.24rem 0.58rem;
  text-transform: uppercase;
  border: 1px solid rgba(157, 234, 221, 0.42);
  border-radius: 999px;
}

.hero h2 {
  color: #f8f4ee;
  font-family: "Syne", "Sora", sans-serif;
  font-size: clamp(1.6rem, 3.1vw, 2.9rem);
  line-height: 1.08;
  margin: 0.95rem 0 0;
  font-family: "Syne", "Sora", sans-serif;
}

.hero__text {
  color: rgba(243, 237, 229, 0.88);
  font-size: 1.03rem;
  margin: 1rem 0 0;
  max-width: 44ch;
}

.hero__stats {
  display: grid;
  gap: 0.72rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.2rem;
}

.hero-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 0.9rem;
  padding: 0.68rem 0.74rem;
}

.hero-stat__value {
  color: #fff;
  font-family: "Syne", "Sora", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero-stat__label {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin: 0.28rem 0 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.3rem;
}

.button {
  border: 1px solid transparent;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.7rem 1.2rem;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 190ms ease, background 190ms ease, color 190ms ease;
}

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

.button--primary {
  background: linear-gradient(120deg, #ffd891, #ffb152);
  color: #221200;
  font-weight: 700;
  box-shadow: 0 14px 26px rgba(255, 176, 82, 0.24);
}

.button--primary:hover {
  background: linear-gradient(120deg, #ffe8b9, #ffc373);
  color: #2b1800;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.2);
}

.hero__panel {
  align-items: center;
  border-radius: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.04));
  display: flex;
  justify-content: center;
  min-height: 310px;
  overflow: hidden;
  position: relative;
  padding: 1rem;
}

.hero-ribbon {
  border-radius: 1.5rem;
  position: absolute;
  width: 13.5rem;
  height: 13.5rem;
  border: 14px solid;
  transform: rotate(-12deg);
}

.hero-ribbon--a {
  border-color: rgba(255, 167, 119, 0.55);
  animation: floatA 5.4s ease-in-out infinite;
}

.hero-ribbon--b {
  border-color: rgba(129, 230, 220, 0.53);
  transform: rotate(16deg) scale(0.84);
  animation: floatB 6.2s ease-in-out infinite;
}

@keyframes floatA {
  0% {
    transform: translateY(0) rotate(-12deg);
  }
  50% {
    transform: translateY(-7px) rotate(-9deg);
  }
  100% {
    transform: translateY(0) rotate(-12deg);
  }
}

@keyframes floatB {
  0% {
    transform: translateY(0) rotate(16deg) scale(0.84);
  }
  50% {
    transform: translateY(9px) rotate(12deg) scale(0.86);
  }
  100% {
    transform: translateY(0) rotate(16deg) scale(0.84);
  }
}

.hero__stack {
  display: grid;
  gap: 0.82rem;
  position: relative;
  width: min(100%, 20rem);
  z-index: 2;
}

.stack-card {
  border-radius: 0.86rem;
  color: #fff;
  padding: 0.86rem 0.9rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 28px rgba(9, 14, 18, 0.28);
}

.stack-card p {
  font-size: 0.98rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

.stack-card span {
  color: rgba(255, 255, 255, 0.88);
  display: block;
  font-size: 0.77rem;
  margin-top: 0.3rem;
}

.stack-card--a {
  margin-left: 0;
  background: rgba(255, 192, 128, 0.2);
}

.stack-card--b {
  margin-left: 1.05rem;
  background: rgba(102, 210, 194, 0.2);
}

.stack-card--c {
  margin-left: 2.1rem;
  background: rgba(166, 180, 255, 0.2);
}

.section {
  margin-top: 1.6rem;
}

.section__head {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section__head--split {
  gap: 1rem;
}

.section__head--projects {
  align-items: flex-start;
  display: grid;
  gap: 0.44rem;
  justify-content: start;
}

.section__eyebrow {
  color: var(--accent-alt);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.section h3 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.2rem, 2.7vw, 2rem);
  font-family: "Syne", "Sora", sans-serif;
}

.section__lead {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0.2rem 0 0;
  max-width: 70ch;
}

.gallery-count {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.project-grid {
  display: grid;
  gap: 1.05rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-card {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.93), rgba(240, 246, 244, 0.93));
  border: 1px solid rgba(33, 31, 29, 0.1);
  border-radius: 1.2rem;
  box-shadow: 0 20px 35px rgba(34, 26, 17, 0.08);
  overflow: hidden;
  padding: 1rem 1rem 1.15rem;
  position: relative;
  transition: transform 240ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.project-card::before {
  content: "";
  height: 0.3rem;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  background: linear-gradient(120deg, #f46c47, #f2be57, #00a58f);
}

.project-card:hover {
  border-color: rgba(0, 120, 107, 0.34);
  transform: translateY(-7px);
  box-shadow: 0 26px 44px rgba(23, 18, 12, 0.16);
}

.project-card__slug {
  color: #6d675f;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0.32rem 0 0;
  text-transform: uppercase;
}

.project-card h4 {
  font-family: "Syne", "Sora", sans-serif;
  margin: 0.34rem 0 0;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
}

.project-card__count {
  background: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  margin-top: 0.7rem;
  font-size: 0.76rem;
  border: 1px solid rgba(33, 31, 29, 0.2);
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  font-weight: 600;
}

.project-card p {
  margin: 0.55rem 0 0;
  color: #474038;
  font-size: 0.93rem;
}

/* Editorial landing redesign: header, hero, and project descriptions only. */

.topbar {
  background: #fff;
  border: 2px solid #111;
  border-radius: 0;
  box-shadow: none;
  padding: 1rem 1.1rem 1.25rem;
  position: relative;
  top: auto;
  backdrop-filter: none;
}

.topbar__line {
  border-bottom: 2px solid #111;
  padding-bottom: 0.6rem;
}

.topbar__label {
  background: none;
  color: #111;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.84rem;
  padding: 0;
}

.topbar__meta {
  color: #222;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.98rem;
  font-weight: 400;
  margin: 0.74rem 0 0;
}

.topbar__nav {
  display: inline-flex;
  gap: 0.3rem;
}

.topbar__nav a {
  border: 1px solid #111;
  color: #111;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.52rem;
  text-decoration: none;
  text-transform: uppercase;
}

.topbar__nav a:hover {
  background: #111;
  color: #fff;
}

.topbar h1 {
  font-family: "Archivo Black", "Impact", sans-serif;
  font-size: clamp(2.1rem, 5vw, 4.8rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin-top: 0.7rem;
  max-width: 14ch;
  text-transform: uppercase;
}

.hero {
  background: #fff;
  border: 3px solid #111;
  border-radius: 0;
  box-shadow: none;
  gap: 0;
  grid-template-columns: 1.16fr 1fr;
  padding: 0;
}

.hero::before {
  background: repeating-linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.03) 0,
    rgba(0, 0, 0, 0.03) 1px,
    transparent 1px,
    transparent 64px
  );
  z-index: 0;
}

.hero__content {
  border-right: 2px solid #111;
  padding: clamp(1rem, 2.5vw, 2rem);
}

.hero__kicker {
  background: #111;
  border: 1px solid #111;
  border-radius: 0;
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.82rem;
  padding: 0.2rem 0.5rem;
}

.hero h2 {
  color: #111;
  font-family: "Archivo Black", "Impact", sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  line-height: 0.98;
  margin-top: 0.95rem;
  text-transform: uppercase;
}

.hero__text {
  color: #1f1f1f;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
}

.hero__stats {
  border: 2px solid #111;
  gap: 0;
  margin-top: 1.05rem;
}

.hero-stat {
  background: #fff;
  border: none;
  border-right: 2px solid #111;
  border-radius: 0;
  padding: 0.56rem 0.68rem;
}

.hero-stat:last-child {
  border-right: none;
}

.hero-stat__value {
  color: #111;
  font-family: "Archivo Black", "Impact", sans-serif;
  letter-spacing: 0.01em;
}

.hero-stat__label {
  color: #2d2d2d;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__actions {
  gap: 0.55rem;
  margin-top: 1rem;
}

.button {
  border: 2px solid #111;
  border-radius: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.52rem 0.86rem;
  text-transform: uppercase;
}

.button--primary {
  background: #111;
  box-shadow: none;
  color: #fff;
}

.button--primary:hover {
  background: #fff;
  color: #111;
}

.button--ghost {
  background: #fff;
  border-color: #111;
  color: #111;
}

.button--ghost:hover {
  background: #111;
  color: #fff;
}

.hero__panel {
  background: #f6f6f6;
  border: none;
  border-radius: 0;
  display: flex;
  min-height: 100%;
  overflow: hidden;
  padding: 0;
}

.hero__photo {
  display: block;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center 14%;
  width: 100%;
}

.hero-ribbon,
.hero__stack,
.stack-card {
  display: none;
}

.hero-ledger {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  height: 100%;
}

.ledger-item {
  border-top: 2px solid #111;
  padding: 0.95rem 1rem;
}

.ledger-item:first-child {
  border-top: none;
}

.ledger-item__kicker {
  color: #1b1b1b;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0;
  text-transform: uppercase;
}

.ledger-item h3 {
  font-family: "Archivo Black", "Impact", sans-serif;
  font-size: 1.16rem;
  line-height: 0.98;
  margin: 0.34rem 0 0;
  text-transform: uppercase;
}

.ledger-item span {
  color: #202020;
  display: block;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.9rem;
  margin-top: 0.42rem;
}

.section--projects .section__head--projects {
  border-bottom: 2px solid #111;
  gap: 0.32rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.66rem;
}

.section--projects .section__eyebrow {
  color: #111;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.8rem;
}

.section--projects h3 {
  font-family: "Archivo Black", "Impact", sans-serif;
  font-size: clamp(1.7rem, 3.1vw, 2.65rem);
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0;
  text-transform: uppercase;
}

.section--projects .section__lead {
  color: #1b1b1b;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 1rem;
  margin-top: 0.12rem;
}

.section--projects .project-card {
  background: #fff;
  border: 2px solid #111;
  border-radius: 0;
  box-shadow: none;
  transition: transform 200ms ease, background 200ms ease, color 200ms ease;
}

.section--projects .project-card::before {
  background: #111;
  height: 2px;
}

.section--projects .project-card:hover {
  background: #111;
  color: #fff;
  transform: translateY(-5px);
}

.section--projects .project-card__slug {
  color: #1f1f1f;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.78rem;
}

.section--projects .project-card h4 {
  font-family: "Archivo Black", "Impact", sans-serif;
  font-size: 1.34rem;
  letter-spacing: 0;
  line-height: 0.98;
  text-transform: uppercase;
}

.section--projects .project-card p {
  color: #1e1e1e;
  font-family: "Source Serif 4", Georgia, serif;
  font-size: 0.95rem;
}

.section--projects .project-card__count {
  background: #fff;
  border: 1px solid #111;
  border-radius: 0;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section--projects .project-card:hover .project-card__slug,
.section--projects .project-card:hover h4,
.section--projects .project-card:hover p,
.section--projects .project-card:hover .project-card__count {
  color: #fff;
}

.section--projects .project-card:hover .project-card__count {
  background: transparent;
  border-color: #fff;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.filter-button {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(33, 31, 29, 0.14);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.55rem 0.84rem;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

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

.filter-button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.gallery-grid {
  columns: 4 260px;
  column-gap: 0.95rem;
}

.work-card {
  background: var(--surface-strong);
  border-radius: 1rem;
  border: 1px solid rgba(33, 31, 29, 0.16);
  box-shadow: 0 8px 28px rgba(36, 28, 19, 0.1);
  break-inside: avoid;
  cursor: pointer;
  margin-bottom: 0.95rem;
  overflow: hidden;
  position: relative;
  transition: transform 210ms ease, box-shadow 250ms ease;
}

.work-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 26px 50px rgba(34, 25, 14, 0.2);
}

.work-card img {
  display: block;
  width: 100%;
  height: auto;
}

.work-card__meta {
  background: linear-gradient(180deg, rgba(15, 15, 15, 0) 0%, rgba(12, 12, 12, 0.74) 64%, rgba(12, 12, 12, 0.89) 100%);
  color: #fff;
  inset: auto 0 0 0;
  padding: 1.2rem 0.9rem 0.82rem;
  position: absolute;
  transform: translateY(30%);
  transition: transform 220ms ease;
}

.work-card:hover .work-card__meta {
  transform: translateY(0);
}

.work-card__label {
  display: inline-flex;
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.88;
  font-weight: 700;
}

.work-card h4 {
  margin: 0.4rem 0 0;
  font-size: 0.98rem;
}

.work-card p {
  font-size: 0.77rem;
  margin: 0.42rem 0 0;
  opacity: 0.9;
}

.footer {
  padding: 1.15rem 1rem 2.2rem;
  text-align: center;
}

.footer p {
  font-size: 0.84rem;
  color: var(--ink-soft);
  margin: 0;
}

.whatsapp-float {
  background: #111;
  border: 2px solid #111;
  bottom: 1rem;
  color: #fff;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.52rem 0.85rem;
  position: fixed;
  right: 1rem;
  text-decoration: none;
  text-transform: uppercase;
  z-index: 20;
  transition: background 160ms ease, color 160ms ease;
}

.whatsapp-float:hover {
  background: #fff;
  color: #111;
}

.lightbox {
  background: rgba(22, 20, 18, 0.92);
  border: none;
  width: min(96vw, 1300px);
  max-height: 90vh;
  border-radius: 1rem;
  color: #fff;
  padding: 1.3rem;
}

.lightbox::backdrop {
  backdrop-filter: blur(8px);
  background: rgba(10, 10, 10, 0.7);
}

.lightbox__figure {
  margin: 0;
}

.lightbox img {
  display: block;
  width: 100%;
  max-height: 64vh;
  object-fit: contain;
  border-radius: 0.74rem;
}

.lightbox figcaption {
  margin-top: 0.7rem;
}

.lightbox__category {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ecd6bb;
}

.lightbox h4 {
  margin: 0.3rem 0 0;
  font-size: 1.1rem;
}

.lightbox figcaption p:last-child {
  margin: 0.4rem 0 0;
  font-size: 0.89rem;
  color: #e4ddd5;
}

.lightbox__close,
.lightbox__nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  justify-content: center;
}

.lightbox__close {
  font-size: 1.6rem;
  height: 2.2rem;
  position: absolute;
  right: 0.75rem;
  top: 0.68rem;
  width: 2.2rem;
}

.lightbox__nav {
  font-size: 1.35rem;
  height: 2.5rem;
  margin-top: -1.25rem;
  position: absolute;
  top: 50%;
  width: 2.5rem;
}

.lightbox__nav--left {
  left: 0.85rem;
}

.lightbox__nav--right {
  right: 0.85rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: transform 560ms cubic-bezier(0.2, 0.78, 0.22, 1), opacity 560ms ease;
}

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

@media (max-width: 980px) {
  .topbar {
    position: static;
  }

  .topbar h1 {
    max-width: 100%;
  }

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

  .hero__content {
    border-right: none;
    border-bottom: 2px solid #111;
  }

  .hero__panel {
    min-height: 340px;
  }

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

@media (max-width: 760px) {
  .layout {
    padding: 0 0.84rem 2.5rem;
  }

  .topbar {
    margin-top: 0.75rem;
    padding: 0.85rem 0.82rem 1rem;
  }

  .topbar h1 {
    font-size: clamp(1.66rem, 8.7vw, 2.5rem);
    margin-top: 0.55rem;
  }

  .topbar__meta {
    font-size: 0.88rem;
  }

  .topbar__line {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .section__head {
    align-items: start;
    flex-direction: column;
    gap: 0.45rem;
  }

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

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

  .hero__panel {
    min-height: 300px;
  }

  .gallery-grid {
    columns: 2 170px;
  }

  .work-card__meta {
    transform: translateY(0);
    position: static;
    background: #14100c;
  }

  .lightbox {
    width: 96vw;
    padding: 1rem;
  }

  .lightbox__nav {
    display: none;
  }

  .whatsapp-float {
    bottom: 0.75rem;
    right: 0.75rem;
  }
}
