/*
  Hero según referencia: fondo negro, retrato BN + grano, marquee gigante del nombre,
  roles abajo derecha, ubicación abajo izquierda, nav + idiomas claros.
*/

:root {
  --header-height: 3.85rem;
  --ink: #0a0a0a;
  --muted: rgba(10, 10, 10, 0.45);
  --line: rgba(10, 10, 10, 0.1);
  --accent-teal: #AE253C;
  /* Bloques oscuros: mismo ritmo horizontal / vertical */
  --section-pad-x: clamp(1.25rem, 8vw, 5rem);
  --section-pad-y: clamp(2.25rem, 5vw, 3.5rem);
  --section-pad-y-first: clamp(2.25rem, 5vw, 3.5rem);
  --section-pad-y-services-split: clamp(2rem, 4vw, 3rem);
  --section-inner-max: 75rem;
  /* Párrafos / intros: ancho de lectura cómodo */
  --prose-max: 42rem;
}

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

html {
  scroll-behavior: smooth;
}

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

  .hero__marquee-inner {
    animation: none !important;
  }
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: #fff;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 1rem;
}

/* —— Header: transparente + texto blanco sobre hero; negro + blanco al hacer scroll —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  min-height: var(--header-height);
  padding: 0.65rem var(--section-pad-x);
  background: transparent;
  transition:
    background 0.35s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.site-header--dark {
  color: #ffffff;
}

.site-header--dark .site-header__links a {
  color: rgb(255, 255, 255);
}

.site-header--dark .site-header__links a:hover {
  opacity: 0.75;
}

.site-header--dark .site-header__brand {
  color: #ffffff;
}

.site-header:not(.site-header--dark) {
  background: #000000;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.site-header:not(.site-header--dark) .site-header__brand,
.site-header:not(.site-header--dark) .site-header__links a {
  color: #ffffff;
}

.site-header__brand {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  pointer-events: auto;
}

.site-header__brand--logo {
  font-size: 0;
  letter-spacing: 0;
  text-transform: none;
  line-height: 0;
}

.site-header__brand--logo img {
  display: block;
  width: 150px;
  height: auto;
  max-width: 100%;
}

.site-header__brand:hover {
  opacity: 0.75;
}

.site-header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.site-header__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(20px, 2.5vw, 40px);
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.site-header__links a {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  pointer-events: auto;
  transition: opacity 0.2s ease;
}

.site-header:not(.site-header--dark) .site-header__links a:hover {
  opacity: 0.75;
}

@media (max-width: 720px) {
  .site-header {
    padding-top: calc(0.65rem + env(safe-area-inset-top, 0px));
    align-items: flex-start;
  }

  .site-header__nav {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.15rem;
  }

  .site-header__nav::-webkit-scrollbar {
    display: none;
  }

  .site-header__links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: clamp(0.75rem, 3vw, 1.25rem);
  }

  .site-header__links a {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

/* —— Hero oscuro (referencia Laugon) —— */
.hero--dark {
  --hero-bottom: clamp(1.25rem, 4vw, 2.25rem);
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  overflow: hidden;
  background: #000000;
  color: #ffffff;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: grayscale(1) contrast(1.18) brightness(0.72);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 25%, rgba(0, 0, 0, 0.55) 100%);
}

.hero__grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.28;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

/* Sombra inferior: profundidad y transición al bloque siguiente */
.hero__shadow {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(5.5rem, 26vh, 13rem);
  pointer-events: none;
  z-index: 3;
  background: linear-gradient(
    to top,
    #000000 0%,
    rgba(0, 0, 0, 0.82) 28%,
    rgba(0, 0, 0, 0.35) 62%,
    transparent 100%
  );
  box-shadow: 0 -28px 56px rgba(0, 0, 0, 0.45);
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero__marquee {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  overflow: hidden;
  z-index: 4;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 1;
  transition: opacity 1.2s 0.5s;
  mix-blend-mode: difference;
}

.hero__marquee-scroll {
  width: 100%;
  min-width: 0;
  padding-left: var(--section-pad-x);
  overflow: hidden;
}

.hero__marquee-inner {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: marqueeScroll 240s linear infinite;
}

.hero__marquee-track {
  flex-shrink: 0;
  padding-right: 0.35em;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(160px, 26vw, 440px);
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: -0.06em;
  color: rgb(255, 255, 255);
  user-select: none;
  white-space: nowrap;
}

.hero__headline {
  position: absolute;
  right: var(--section-pad-x);
  bottom: var(--hero-bottom);
  z-index: 5;
  margin: 0;
  text-align: right;
}

.hero__headline-line {
  display: block;
  font-family: "Inter", system-ui, sans-serif;
  color: rgba(242, 242, 242, 0.95);
  font-size: clamp(28px, 3.8vw, 60px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.04em;
  will-change: transform;
  transform: none;
}

.hero__corner {
  position: absolute;
  left: var(--section-pad-x);
  bottom: var(--hero-bottom);
  z-index: 5;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.hero__glyph {
  flex-shrink: 0;
  display: block;
  color: #ffffff;
  opacity: 0.95;
}

.hero__location {
  margin: 0;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 720px) {
  .hero--dark {
    --hero-bottom: max(clamp(1rem, 3vw, 1.5rem), env(safe-area-inset-bottom, 0px));
  }

  /* Ancho fluido entre paddings (sin width fijo) para que las líneas no partan mal */
  .hero__headline {
    left: var(--section-pad-x);
    right: var(--section-pad-x);
    bottom: calc(var(--hero-bottom) + clamp(5.5rem, 22vh, 9.5rem));
    width: auto;
    max-width: none;
    margin-left: 0;
    text-align: right;
    text-wrap: balance;
  }

  .hero__headline-line {
    font-size: clamp(26px, 4.8vw, 60px);
    line-height: 1.22;
  }

  .hero__headline-line + .hero__headline-line {
    margin-top: 0.3em;
  }

  .hero__corner {
    align-items: center;
    max-width: min(11.5rem, calc(100vw - 2 * var(--section-pad-x)));
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }

  .hero__location {
    font-size: 0.5rem;
    line-height: 1.45;
    letter-spacing: 0.14em;
  }
}

/* —— Welcome (post-hero) —— */
.welcome {
  background: #000000;
  color: #ffffff;
  padding: var(--section-pad-y-first) var(--section-pad-x) var(--section-pad-y);
}

.welcome__inner {
  max-width: var(--section-inner-max);
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.welcome__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
}

.welcome__label-line {
  width: 2rem;
  height: 1px;
  background: var(--accent-teal);
  flex-shrink: 0;
}

.welcome__label-text {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.welcome__title {
  max-width: 52rem;
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 7vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.welcome__title-line {
  display: block;
}

.welcome__accent {
  color: var(--accent-teal);
}

.welcome__body {
  max-width: var(--prose-max);
}

.welcome__body p {
  margin: 0 0 1.35rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  color: #ffffff;
}

.welcome__body p:last-child {
  margin-bottom: 0;
}

/* —— Lo que hago —— */
.whatido {
  background: #000000;
  color: #ffffff;
  padding: var(--section-pad-y) var(--section-pad-x) var(--section-pad-y);
}

.whatido__inner {
  max-width: var(--section-inner-max);
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.whatido__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 clamp(1.5rem, 3.5vw, 2.25rem);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.whatido__dash {
  flex-shrink: 0;
  font-weight: 700;
}

.whatido__title {
  max-width: 52rem;
  margin: 0 0 clamp(1.75rem, 4vw, 2.75rem);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 8.5vw, 5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #ffffff;
}

.whatido__title-line {
  display: block;
}

.whatido__accent {
  color: var(--accent-teal);
}

.whatido__lede {
  max-width: var(--prose-max);
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.125rem);
  font-weight: 400;
  line-height: 1.6;
  color: #ffffff;
}

/* —— Services / skills (two columns + chips) —— */
.services-stack {
  background: #000000;
  color: #ffffff;
}

.skills-panel {
  background: #000000;
  color: #ffffff;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.skills-panel--follow {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: var(--section-pad-y-services-split);
  padding-bottom: var(--section-pad-y);
}

.skills-panel__inner {
  max-width: var(--section-inner-max);
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(2rem, 6vw, 4.5rem);
}

.skills-panel__copy {
  flex: 1 1 45%;
  min-width: min(100%, 280px);
  max-width: min(32rem, 100%);
}

.skills-panel__title {
  margin: 0 0 clamp(1rem, 2.5vw, 1.35rem);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.skills-panel__text {
  margin: 0;
  max-width: min(28rem, 100%);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.skills-panel__cloud {
  flex: 1 1 48%;
  min-width: min(100%, 260px);
  max-width: min(32rem, 100%);
}

.skills-panel__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skills-panel__row + .skills-panel__row {
  margin-top: 0.65rem;
}

.skills-panel__row--offset {
  padding-left: clamp(1.25rem, 4vw, 2.75rem);
}

.skills-chip {
  display: inline-block;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.08);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffffff;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .skills-panel__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .skills-panel__cloud {
    max-width: 100%;
  }

  .skills-panel__row--offset {
    padding-left: clamp(0.75rem, 6vw, 2rem);
  }

  .skills-chip {
    white-space: normal;
    text-align: center;
  }
}

/* —— Work showcase (carousel + filters) —— */
.work-showcase {
  background: #000000;
  color: #ffffff;
}

.work-showcase__inner {
  width: 100%;
  margin-left: 0;
  margin-right: auto;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.work-showcase__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: flex-start;
  gap: clamp(1rem, 3vw, 1.75rem) clamp(1.5rem, 4vw, 2.75rem);
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}

.work-showcase__lead {
  flex: 1 1 auto;
  min-width: min(100%, 220px);
}

.work-showcase__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 clamp(0.75rem, 2vw, 1rem);
}

.work-showcase__eyebrow-line {
  width: 1.75rem;
  height: 1px;
  background: var(--accent-teal);
  flex-shrink: 0;
}

.work-showcase__eyebrow-text {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.work-showcase__title {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
}

.work-showcase__filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem clamp(0.75rem, 2vw, 1.35rem);
}

.work-showcase__filter {
  margin: 0;
  padding: 0.35rem 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.work-showcase__filter:hover {
  color: rgba(255, 255, 255, 0.85);
}

.work-showcase__filter.is-active {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.95);
}

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

.work-showcase__viewport-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.85rem, 2.2vw, 1.35rem);
  width: 100%;
}

.work-showcase__nav {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
}

.work-showcase__nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.work-showcase__nav-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
}

.work-showcase__nav-btn:active {
  transform: scale(0.96);
}

.work-showcase__nav-btn:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

.work-showcase__viewport {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.work-showcase__pane {
  width: 100%;
}

.work-showcase__pane[hidden] {
  display: none;
}

.work-showcase__track {
  display: flex;
  width: 100%;
  transition: transform 0.7s cubic-bezier(0.33, 1, 0.68, 1);
}

.work-showcase__slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  padding-right: 0;
  box-sizing: border-box;
}

.work-showcase__group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  width: 100%;
  max-width: 100%;
}

@media (max-width: 680px) {
  .work-showcase__group {
    grid-template-columns: 1fr;
    max-width: min(19rem, 92vw);
    margin-left: auto;
    margin-right: auto;
  }
}

.work-card {
  margin: 0;
}

.work-card__media {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

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

.work-card__caption {
  margin: 0.65rem 0 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
}

@media (prefers-reduced-motion: reduce) {
  .work-showcase__track {
    transition-duration: 0.01ms;
  }
}

/* —— Visor lightbox (trabajo) —— */
.work-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right))
    max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease;
}

.work-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.work-lightbox__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}

.work-lightbox__shell {
  position: relative;
  z-index: 1;
  width: min(96vw, 1180px);
  max-height: min(92vh, 960px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  touch-action: pan-y pinch-zoom;
}

.work-lightbox__close {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.work-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.work-lightbox__close:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

.work-lightbox__row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(0.35rem, 1.5vw, 0.85rem);
  min-height: 0;
  touch-action: pan-y pinch-zoom;
}

.work-lightbox__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.work-lightbox__arrow:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
}

.work-lightbox__arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.work-lightbox__arrow:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

.work-lightbox__figure {
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-height: min(78vh, 820px);
}

.work-lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(72vh, 760px);
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
}

.work-lightbox__caption {
  margin: 0;
  max-width: 42rem;
  text-align: center;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.88);
}

@media (max-width: 560px) {
  .work-lightbox__row {
    grid-template-columns: auto 1fr auto;
    gap: 0.35rem;
  }

  .work-lightbox__arrow {
    width: 2.4rem;
    height: 2.4rem;
  }

  .work-lightbox__img {
    max-height: min(62vh, 640px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .work-lightbox {
    transition-duration: 0.01ms;
  }
}

/* —— About —— */
.about-block {
  background: #000000;
  color: #ffffff;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.about-block__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 100%;
  max-width: var(--section-inner-max);
  margin-left: 0;
  margin-right: auto;
}

.about-block__figure {
  margin: 0;
}

.about-block__photo {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-width: 26rem;
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
}

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

.about-block__content {
  min-width: 0;
}

.about-block__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 clamp(0.85rem, 2vw, 1.1rem);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.about-block__eyebrow-line {
  width: 1.75rem;
  height: 1px;
  background: var(--accent-teal);
  flex-shrink: 0;
}

.about-block__title {
  margin: 0 0 clamp(1rem, 2.5vw, 1.5rem);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.about-block__text {
  max-width: var(--prose-max);
}

.about-block__text p {
  margin: 0 0 1.1rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.68;
  color: rgba(255, 255, 255, 0.82);
}

.about-block__text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 800px) {
  .about-block__inner {
    grid-template-columns: 1fr;
  }

  .about-block__photo {
    max-width: none;
    aspect-ratio: 3 / 4;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(2.25rem, 5vw, 3.5rem) var(--section-pad-x);
}

.section__inner {
  max-width: var(--section-inner-max);
  margin-left: 0;
  margin-right: auto;
}

.section--muted {
  background: #fafafa;
}

.section--contact {
  background: #050505;
  color: #f5f5f5;
}

/* —— Contact (form + reserva) —— */
.contact-panel {
  background: #000000;
  color: #ffffff;
  padding: var(--section-pad-y) var(--section-pad-x);
}

.contact-panel__inner {
  width: 100%;
  max-width: var(--section-inner-max);
  margin-left: 0;
  margin-right: auto;
}

.contact-panel__head {
  max-width: var(--prose-max);
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.contact-panel__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 clamp(0.75rem, 2vw, 1rem);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-teal);
}

.contact-panel__eyebrow-line {
  width: 1.75rem;
  height: 1px;
  background: var(--accent-teal);
  flex-shrink: 0;
}

.contact-panel__title {
  margin: 0 0 clamp(0.75rem, 2vw, 1rem);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.contact-panel__lede {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel__form {
  max-width: min(32rem, 100%);
}

.contact-panel__inline-link {
  color: var(--accent-teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 169, 165, 0.45);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.contact-panel__inline-link:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.contact-panel__inline-link:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

.book-panel {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.book-panel__card {
  max-width: min(28rem, 100%);
}

.book-panel__card .contact-book__actions {
  margin: 0;
}

.book-panel__card .contact-book__mail {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.contact-form__status {
  margin: 0 0 1.25rem;
  padding: 0.75rem 1rem;
  max-width: min(32rem, 100%);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.5;
  border-radius: 10px;
  border: 1px solid transparent;
}

.contact-form__status--success {
  color: #d4fff8;
  background: rgba(0, 169, 165, 0.12);
  border-color: rgba(0, 255, 255, 0.25);
}

.contact-form__status--error {
  color: #ffd4d4;
  background: rgba(220, 60, 60, 0.12);
  border-color: rgba(255, 120, 120, 0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

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

.contact-form__row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form__label {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.contact-form__input,
.contact-form__textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.45;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.contact-form__textarea {
  resize: vertical;
  min-height: 8rem;
}

.contact-form__input::placeholder,
.contact-form__textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form__input:hover,
.contact-form__textarea:hover {
  border-color: rgba(255, 255, 255, 0.22);
}

.contact-form__input:focus,
.contact-form__textarea:focus {
  outline: none;
  border-color: var(--accent-teal);
  background: rgba(255, 255, 255, 0.08);
}

.contact-form__submit {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.75rem 1.5rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000000;
  background: #ffffff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.contact-form__submit:hover {
  opacity: 0.9;
}

.contact-form__submit:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

.contact-book {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.contact-book__title {
  margin: 0 0 0.65rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
}

.contact-book__text {
  margin: 0 0 1.1rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.contact-book__actions {
  margin: 0 0 1.1rem;
}

.contact-book__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff;
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.06);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.contact-book__btn:hover {
  border-color: rgba(0, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.08);
}

.contact-book__btn:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

.contact-book__btn--primary {
  color: #000000;
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: none;
}

.contact-book__btn--primary:hover {
  opacity: 0.92;
  border-color: #ffffff;
  background: #ffffff;
}

.contact-book__hint {
  margin: 1rem 0 0;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.contact-book__hint strong {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.contact-book__mail {
  margin: 1.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.875rem;
}

.contact-book__link {
  color: var(--accent-teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 169, 165, 0.45);
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.contact-book__link:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.contact-book__link:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
  margin: 0 0 1.25rem;
}

.eyebrow--on-dark {
  color: rgba(245, 245, 245, 0.45);
}

.section__heading {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  letter-spacing: -0.028em;
  line-height: 1.18;
  margin: 0 0 1rem;
}

.section__heading--on-dark {
  color: #fff;
}

.section__lede {
  font-size: 1.0625rem;
  color: rgba(10, 10, 10, 0.72);
  margin: 0;
}

.section__text {
  margin: 0;
  color: rgba(10, 10, 10, 0.65);
}

.section__text--on-dark {
  color: rgba(245, 245, 245, 0.65);
}

/* —— Footer —— */
.site-footer {
  background: #000000;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: clamp(2rem, 5vw, 3rem) var(--section-pad-x);
}

.site-footer__inner {
  max-width: var(--section-inner-max);
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1rem, 3vw, 1.75rem) clamp(1rem, 3vw, 2rem);
  row-gap: 1rem;
}

.site-footer__nav,
.site-footer__aside {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1.5rem);
}

.site-footer__nav {
  flex: 1 1 auto;
  min-width: min(100%, max-content);
}

.site-footer__aside {
  flex: 0 1 auto;
  justify-content: flex-end;
  align-self: flex-end;
  min-width: 0;
  max-width: 100%;
}

.site-footer__nav .site-footer__link {
  white-space: nowrap;
}

.site-footer__aside .site-footer__link {
  white-space: nowrap;
}

.site-footer__aside .site-footer__link--email {
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: right;
}

.site-footer__link {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition:
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.site-footer__link:hover {
  opacity: 0.8;
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.site-footer__link:focus-visible {
  outline: 2px solid var(--accent-teal);
  outline-offset: 3px;
}

.site-footer__link--email {
  letter-spacing: 0.12em;
}

@media (max-width: 560px) {
  .site-footer__bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .site-footer__nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    row-gap: 0.5rem;
  }

  .site-footer__aside {
    flex-direction: column;
    align-items: flex-start;
    align-self: stretch;
    gap: 0.5rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .site-footer__aside .site-footer__link--email {
    text-align: left;
    max-width: 100%;
  }
}
