:root {
  color-scheme: dark;
  --ink: #101011;
  --black: #0b0b0c;
  --graphite: #171719;
  --text: #f5f2ed;
  --soft: #d5d0c9;
  --muted: #a8a5a2;
  --line: #343337;
  --line-light: #565456;
  --accent: #dfc0b3;
  --accent-line: #64504e;
  --display: Georgia, 'Times New Roman', serif;
  --body: 'Segoe UI', system-ui, sans-serif;
  --motion-ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: max(clamp(1.25rem, 5.1vw, 5.5rem), calc(env(safe-area-inset-left, 0px) + .5rem), calc(env(safe-area-inset-right, 0px) + .5rem));
  --header-height: 4.75rem;
  --tile-width: clamp(15.5rem, 25vw, 24rem);
  --tile-gap: clamp(.85rem, 1.5vw, 1.4rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + env(safe-area-inset-top, 0px) + 1rem); -webkit-text-size-adjust: 100%; }
html:has(:focus-visible) { scroll-behavior: auto; }
body { margin: 0; color: var(--text); background: var(--ink); font: 1rem/1.65 var(--body); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button { color: inherit; font: inherit; cursor: pointer; }
button:disabled { opacity: .45; cursor: default; }
figure, h1, h2, h3, p, ul, ol { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #e9d8c1; outline-offset: 5px; }
::selection { color: var(--black); background: #e2d8c9; }

.wrap { width: min(calc(100% - 2 * var(--gutter)), 86rem); margin-inline: auto; }
.section { padding-block: clamp(4.7rem, 8vw, 8rem); }
.section-heading { margin-bottom: clamp(1.75rem, 3vw, 3rem); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: fixed; top: .75rem; left: .75rem; z-index: 20; padding: .7rem 1rem; color: var(--ink); background: var(--text); }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 1.25rem; height: 1.25rem; flex: none; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; }
h1, h2 { letter-spacing: -.065em; }
h2 { font-size: clamp(2.6rem, 5.1vw, 5rem); line-height: 1.04; }
h3 { font-size: clamp(1.5rem, 2.35vw, 2.2rem); line-height: 1.14; letter-spacing: -.04em; }
em { color: var(--soft); font-weight: inherit; }
.eyebrow { display: flex; align-items: center; gap: .78rem; margin-bottom: 1.25rem; color: var(--soft); font-size: .81rem; font-weight: 650; letter-spacing: .23em; line-height: 1.35; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 1.8rem; height: 1px; background: #898581; }
.actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.15rem; padding: .7rem 1.15rem; border: 1px solid transparent; color: var(--text); background: transparent; font-size: .8rem; font-weight: 700; line-height: 1.35; letter-spacing: .085em; text-align: center; text-transform: uppercase; transition: background .23s, color .23s, border-color .23s, transform .23s; }
.button-light { background: #eeebe5; color: #171719; border-color: #eeebe5; }
.button-outline { background: #1010114d; border-color: #7a7775; }
.button:active { transform: translateY(1px); }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--text); font-size: .81rem; font-weight: 650; line-height: 1.25; letter-spacing: .065em; text-transform: uppercase; text-decoration: underline; text-underline-offset: .4em; text-decoration-color: #8b8785; transition: color .2s, text-decoration-color .2s; }

.header { position: sticky; top: 0; z-index: 5; padding-top: env(safe-area-inset-top, 0px); background: #101011f4; border-bottom: 1px solid #ffffff19; backdrop-filter: blur(16px); transition: background .24s, border-color .24s; }
.header.is-scrolled { background: #101011e8; border-color: #ae8b7f39; }
.header-inner { display: flex; min-height: var(--header-height); align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .68rem; flex: none; min-height: 2.75rem; }
.brand-mark { width: 2.62rem; height: 2.62rem; }
.brand strong, .brand small { display: block; }
.brand strong { font: 1.12rem/1.08 var(--display); white-space: nowrap; }
.brand small { margin-top: .3rem; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .26em; line-height: 1; }
.navigation { display: flex; align-items: center; gap: clamp(.7rem, 2.15vw, 2rem); }
.navigation a { position: relative; display: flex; align-items: center; min-height: 2.75rem; color: var(--muted); font-size: .88rem; white-space: nowrap; transition: color .2s; }
.navigation a[aria-current], .navigation a:hover, .navigation a:focus-visible { color: var(--text); }
.navigation a::after { position: absolute; content: ''; height: 1px; bottom: .27rem; left: 0; right: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--motion-ease); }
.navigation a:is([aria-current], :hover, :focus-visible)::after { transform: scaleX(1); }
.header-contact { min-height: 2.55rem; padding-inline: 1.13rem; }
.menu-toggle { display: none; }

.hero {
  --hero-zoom: 5.25;
  --hero-camera-x: clamp(-26rem, -22vw, 0px);
  --hero-camera-y: 0px;
  --hero-opening-time: 4.8s;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  overflow: clip;
  background: var(--black);
}
.hero-media {
  --hero-pointer-x: 0;
  --hero-pointer-y: 0;
  position: absolute;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: calc(1 - .58 * var(--hero-exit, 0));
}
.hero-layer {
  position: absolute;
  z-index: 1;
  inset-block: 0 1.5rem;
  inset-inline: 49.5% max(var(--gutter), calc((100% - 86rem) / 2));
  display: grid;
  place-items: center;
  translate: 0 var(--hero-drift, 0px);
}
.hero-emblem {
  --eye-x: 50.1%;
  --eye-y: 55%;
  position: relative;
  width: min(100%, 40rem);
  transform-origin: var(--eye-x) var(--eye-y);
  translate: calc(var(--hero-pointer-x) * 8px) calc(var(--hero-pointer-y) * 5px);
  transition: translate .65s var(--motion-ease);
}
.hero-emblem-art { position: relative; }
.hero-emblem picture { display: block; }
.hero-emblem img { height: auto; }
.hero-eye-motion {
  position: absolute;
  /* Eye crop in the original 1280 × 1134 emblem: 522, 541, 245, 183. */
  inset: 47.7072% auto auto 40.78125%;
  width: 19.140625%;
  height: 16.1376%;
  pointer-events: none;
}
.hero-eye-glow {
  position: absolute;
  left: var(--eye-x);
  top: var(--eye-y);
  width: 16%;
  aspect-ratio: 1.56;
  translate: -50% -50%;
  mix-blend-mode: screen;
  background: radial-gradient(ellipse closest-side, #ff5b393b, #d912272f 47%, transparent);
  opacity: 0;
}
.hero-opening-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, #0b0b0cf7 5%, #0b0b0cec 34%, #0b0b0cbc 46%, #0b0b0c45 56%, transparent 70%);
  opacity: 0;
}
.hero-media::before, .hero-media::after { content: ''; position: absolute; inset: 0; }
.hero-media::before {
  z-index: 0;
  background: repeating-linear-gradient(115deg, transparent 0 5px, #f3ddd409 5px 6px);
  mask-image: radial-gradient(ellipse at 76% 48%, #000, transparent 65%);
}
.hero-media::after {
  z-index: 2;
  background:
    radial-gradient(ellipse at 69% 45%, transparent 29%, #0b0b0c38 76%, #0b0b0c92),
    linear-gradient(0deg, var(--black), transparent 27%);
}
.hero-light {
  position: absolute;
  top: 49%;
  right: 0;
  width: clamp(30rem, 62vw, 67rem);
  aspect-ratio: 1;
  background: radial-gradient(ellipse closest-side at 54% 45%, #bd8b5052, #66363542 48%, transparent);
  opacity: .78;
  transform: translate3d(calc(var(--hero-pointer-x) * 3.25rem), calc(-50% + var(--hero-pointer-y) * 2rem), 0);
  transition: transform .65s var(--motion-ease);
}
.hero-inner {
  display: flex;
  min-height: 43rem;
  min-height: max(43rem, calc(100svh - var(--header-height) - env(safe-area-inset-top, 0px) - 1px));
  flex-direction: column;
  justify-content: flex-end;
}
.hero-copy { max-width: min(48%, 48rem); margin-block: auto; padding-block: clamp(3rem, 6.5vh, 5rem); }
.hero-name {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: clamp(1rem, 2vw, 1.65rem);
  color: #eee2d8;
  font-size: clamp(.75rem, 1.15vw, 1rem);
  font-weight: 650;
  letter-spacing: .22em;
  line-height: 1.25;
  text-transform: uppercase;
}
.hero-name::before {
  flex: 0 0 clamp(1.15rem, 3.5vw, 3rem);
  height: 1px;
  background: linear-gradient(90deg, #85726c60, #dac4b7);
  transform-origin: left;
  content: '';
}
.hero h1 { font-size: clamp(2.95rem, 6.45vw, 7.25rem); line-height: .91; }
.hero-line, .hero-line > * { display: block; }
.hero-line em { margin-top: .19em; font-size: .66em; letter-spacing: -.07em; line-height: 1.04; }
.hero-experience {
  display: flex;
  align-items: center;
  gap: .75rem;
  max-width: 30rem;
  margin-top: clamp(1rem, 2vw, 1.55rem);
  color: #eadfd6;
  font-weight: 600;
  line-height: 1.35;
}
.hero-experience strong {
  flex: none;
  min-inline-size: 2.2ch;
  padding-right: .75rem;
  border-right: 1px solid #86726c;
  font: 400 clamp(2.1rem, 4vw, 3.25rem)/.95 var(--display);
  font-variant-numeric: lining-nums tabular-nums;
  letter-spacing: -.055em;
}
.hero-experience span { text-wrap: balance; }
.hero-description { max-width: 30rem; margin-top: .95rem; color: #cbc8c5; font-size: clamp(1rem, 1.25vw, 1.125rem); }
.hero .actions { margin-top: 1.45rem; }
.hero-action { display: inline-flex; }
.hero-action .button { translate: var(--magnet-x, 0px) var(--magnet-y, 0px); transition-property: background, color, border-color, transform, translate; }

.m-enter .hero:not([data-intro-skipped]) .hero-emblem { animation: hero-zoom var(--hero-opening-time) cubic-bezier(.24, .59, .37, 1) backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-emblem-art { animation: hero-gold var(--hero-opening-time) var(--motion-ease) backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-eye-glow { animation: hero-eye-light var(--hero-opening-time) ease-out backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-opening-shade { animation: hero-opening-shade var(--hero-opening-time) ease-in-out backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-light { animation: hero-exposure 3.8s var(--motion-ease) backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-name::before { animation: hero-rule .66s var(--motion-ease) 1.47s backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-name span { animation: hero-line-in .7s var(--motion-ease) 1.59s backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-line > * { animation: hero-line-in .72s var(--motion-ease) 1.88s backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-line:nth-child(2) > * { animation-delay: 2.04s; }
.m-enter .hero:not([data-intro-skipped]) .hero-line:nth-child(3) > * { animation-delay: 2.2s; }
.m-enter .hero:not([data-intro-skipped]) .hero-experience { animation: hero-arrive .65s var(--motion-ease) 2.64s backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-experience strong { animation: hero-accent .7s var(--motion-ease) 2.71s backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-description { animation: hero-arrive .64s var(--motion-ease) 2.88s backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-action { animation: hero-arrive .66s var(--motion-ease) 3.68s backwards; }
.m-enter .hero:not([data-intro-skipped]) .hero-action + .hero-action { animation-delay: 3.9s; }
.m-enter.m-enter-pending .hero :is(.hero-emblem, .hero-emblem-art, .hero-eye-glow, .hero-opening-shade, .hero-light, .hero-name span, .hero-line > *, .hero-experience, .hero-experience strong, .hero-description, .hero-action),
.m-enter.m-enter-pending .hero .hero-name::before { animation-play-state: paused; }
@keyframes hero-zoom {
  from, 27% { transform: translate3d(var(--hero-camera-x), var(--hero-camera-y), 0) scale(var(--hero-zoom)); }
  to { transform: none; }
}
@keyframes hero-gold { from { filter: brightness(.73); } 64% { filter: brightness(.92); } to { filter: none; } }
@keyframes hero-eye-light {
  from { opacity: .18; scale: .95; }
  23% { opacity: .26; }
  29% { opacity: .65; }
  64% { opacity: .14; }
  to { opacity: 0; scale: 1.06; }
}
@keyframes hero-opening-shade { from, 27% { opacity: 0; } 46% { opacity: .94; } 75% { opacity: .62; } to { opacity: 0; } }
@keyframes hero-exposure { from { opacity: .31; scale: .96; } to { opacity: .78; scale: 1; } }
@keyframes hero-rule { from { opacity: 0; transform: scaleX(.12); } to { opacity: 1; transform: scaleX(1); } }
@keyframes hero-line-in {
  from { clip-path: inset(100% -.17em -.2em); opacity: 0; transform: translateY(.34em); }
  38% { opacity: 1; }
  to { clip-path: inset(-.2em -.17em -.2em); opacity: 1; transform: translateY(0); }
}
@keyframes hero-arrive { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-accent { from { opacity: .38; transform: translateX(-.2em) scale(.94); } to { opacity: 1; transform: none; } }

.hero-bottom { position: relative; display: flex; min-height: 3.45rem; justify-content: space-between; align-items: center; gap: .75rem; border-top: 1px solid #c0bdb833; color: #c4bebb; }
.hero-bottom::before { content: ''; position: absolute; inset: -1px auto auto 0; width: clamp(2rem, 12vw, 10rem); height: 1px; background: linear-gradient(90deg, var(--accent), transparent); transform: scaleX(calc(.55 + .45 * var(--hero-exit, 0))); transform-origin: left; }
.scroll-link, .hero-social { display: inline-flex; min-height: 2.75rem; align-items: center; gap: .55rem; font-size: .8rem; }
.hero-social { margin-right: max(0px, calc(4.55rem + env(safe-area-inset-right, 0px) - var(--gutter))); }
.scroll-link { font-weight: 650; letter-spacing: .1em; text-transform: uppercase; }
.scroll-link::before { content: ''; align-self: center; width: 1px; height: 1.1rem; margin-right: .25rem; background: #9c9790; }

.machine-parallax {
  --machine-progress: 0;
  --machine-width: clamp(4.25rem, 9.5vw, 9rem);
  --machine-travel: 2.1rem;
  --machine-tilt: 7deg;
  --machine-side: 6px;
  position: fixed;
  z-index: 2;
  top: clamp(9rem, 40vh, 26rem);
  top: clamp(9rem, 40svh, 26rem);
  left: 0;
  display: flex;
  justify-content: flex-end;
  width: min(10rem, max(var(--gutter), calc((100% - 86rem) / 2)));
  padding: .7rem .35rem calc(var(--machine-travel) + .8rem) 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.machine-parallax img {
  flex: 0 0 auto;
  width: var(--machine-width);
  align-self: flex-start;
  transform-origin: 78% 48%;
  transform: translate3d(calc(-1 * var(--machine-side) * var(--machine-progress)), calc(var(--machine-travel) * var(--machine-progress)), 0)
    rotate(calc(var(--machine-tilt) * var(--machine-progress) - var(--machine-tilt) / 2));
}

.about { border-top: 1px solid #272529; background: linear-gradient(180deg, var(--black), var(--ink) 10rem); }
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); }
.photo-frame { overflow: hidden; background: var(--graphite); }
.photo-frame img { aspect-ratio: 1 / 1; object-fit: cover; transition: transform .7s; }
.about-portrait figcaption { display: flex; justify-content: space-between; gap: 1rem; margin-top: .8rem; color: var(--muted); font-size: .8rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; }
.about-copy h2 { margin-bottom: 1.38rem; }
.about-copy h2 em { display: block; }
.about-copy > p:not(.eyebrow) { max-width: 39rem; color: var(--muted); }
.about-copy > p + p { margin-top: .85rem; }
.credentials { display: grid; grid-template-columns: minmax(8rem, .74fr) minmax(0, 1.26fr); gap: 1.15rem; align-items: center; margin-top: 1.75rem; padding-top: 1.3rem; border-top: 1px solid var(--line); }
.experience strong, .experience span { display: block; }
.experience strong { font: clamp(3.55rem, 6vw, 5.9rem)/.95 var(--display); letter-spacing: -.1em; }
.experience span { margin-top: .45rem; color: var(--muted); font-size: .82rem; }
.detail-list { list-style: none; padding: 0; color: var(--soft); }
.detail-list li { display: flex; align-items: baseline; gap: .8rem; }
.detail-list li + li { margin-top: .64rem; }
.detail-list li::before { content: ''; flex: 0 0 .29rem; height: .29rem; background: #a7a19a; transform: translateY(-.2em) rotate(45deg); }
.credentials .detail-list { font-size: .88rem; line-height: 1.5; }

.styles { background: #151416; border-block: 1px solid var(--line); }
.style-chapters { position: relative; border-block: 1px solid var(--line); }
.styles-ink {
  position: absolute;
  inset-block-end: calc(100% - 1px);
  inset-inline-start: 0;
  width: min(82%, 56rem);
  height: clamp(1.13rem, 2.25vw, 2rem);
  pointer-events: none;
}
.styles-ink::before, .styles-ink::after {
  position: absolute;
  inset: 0;
  content: '';
}
.styles-ink::before {
  background: radial-gradient(ellipse at 44% 93%, #b6817326, #8e626416 36%, transparent 73%);
}
.styles-ink::after {
  background: linear-gradient(90deg, transparent 2%, #79615d 19%, var(--accent) 49%, #a88378 71%, var(--line));
  mask-image: radial-gradient(ellipse 100% 100% at 100% 0%, transparent 91%, #000 95%, #000 97%, transparent 100%);
}
@media (prefers-reduced-motion: no-preference) {
  .js .styles-ink { clip-path: inset(0 100% 0 0); transition: clip-path 2.2s cubic-bezier(.38, .08, .44, 1); }
  .js .styles-ink.is-drawn { clip-path: inset(0); }
}
.style-chapter {
  --chapter-accent: #c6c0bb;
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(0, .88fr);
  grid-template-areas: 'photos copy';
  align-items: center;
  gap: clamp(1.5rem, 6vw, 6rem);
  padding-block: clamp(1.65rem, 4vw, 4rem);
}
.style-chapter + .style-chapter { border-top: 1px solid var(--line); }
#colorido { --chapter-accent: #db9f95; grid-template-columns: minmax(0, .88fr) minmax(0, 1.32fr); grid-template-areas: 'copy photos'; }
#premium { --chapter-accent: var(--accent); }
.style-photos {
  grid-area: photos;
  display: grid;
  grid-template-columns: minmax(0, 1.07fr) minmax(0, .93fr);
  gap: 1px;
  aspect-ratio: 1.55;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #332e31;
}
#colorido .style-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); border-color: #584145; }
#premium .style-photos { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); border-color: var(--accent-line); }
.style-image { min-height: 0; overflow: hidden; background: #080808; }
.style-image img { height: 100%; object-fit: contain; transition: transform .65s var(--motion-ease); }
.style-body { grid-area: copy; display: flex; align-items: flex-start; flex-direction: column; }
.style-body::before { content: ''; width: 2.35rem; height: 1px; margin-bottom: clamp(.85rem, 2.5vw, 1.55rem); background: var(--chapter-accent); }
.style-body h3 { font-size: clamp(2.25rem, 4.7vw, 4.5rem); line-height: 1.01; letter-spacing: -.06em; }
.style-body p { max-width: 33ch; margin-block: 1rem .95rem; color: var(--soft); font-size: clamp(1rem, 1.3vw, 1.14rem); }
.style-link { gap: .55rem; text-decoration-color: var(--chapter-accent); }
.style-link .icon { width: 1.03rem; height: 1.03rem; color: var(--chapter-accent); transition: translate .22s var(--motion-ease); }
.style-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 1.15rem; }
.text-link.quiet { color: var(--muted); }

.gallery { position: relative; overflow: hidden; overflow: clip; }
.gallery-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.filters, .gallery-controls, .lightbox-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.gallery-tools button, .lightbox-controls button { min-height: 2.75rem; padding: .4rem .8rem; border: 1px solid var(--line-light); background: transparent; color: var(--soft); font-size: .88rem; line-height: 1.25; transition: color .2s, background .2s, border-color .2s; }
.filters button[aria-pressed='true'] { color: var(--black); background: #e8e4de; border-color: #e8e4de; }
.gallery-controls [data-pause] { display: grid; min-width: 2.75rem; place-items: center; }
.play-icon { width: .59rem; height: .73rem; border-inline: 2px solid currentColor; }
[data-pause][aria-pressed='true'] .play-icon { width: 0; height: 0; border: .37rem solid transparent; border-right: 0; border-left: .58rem solid currentColor; }
.gallery-viewport { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-viewport:focus-visible { outline-offset: -3px; }
.gallery-track { display: flex; width: max-content; padding-inline: var(--gutter); }
.gallery-group { display: flex; gap: var(--tile-gap); padding-right: var(--tile-gap); }
.gallery-group:last-child { padding-right: 0; }
.gallery-track.is-filtered { --tile-width: clamp(15.5rem, 30vw, 26rem); }
.gallery-tile { position: relative; flex: 0 0 var(--tile-width); width: var(--tile-width); padding: 0; overflow: hidden; border: 1px solid var(--line); text-align: left; background: var(--black); transition: border-color .24s; }
.gallery-tile:focus-visible { outline-offset: -4px; }
.gallery-tile img { width: 100%; aspect-ratio: 333 / 469; object-fit: contain; transition: transform .6s; }
.gallery-tile::after { content: ''; position: absolute; inset: 52% 0 0; background: linear-gradient(transparent, #090909ee); pointer-events: none; }
.tile-caption, .tile-open { position: absolute; z-index: 1; }
.tile-caption { left: .95rem; right: 3.25rem; bottom: .9rem; color: #fff; font: 1.42rem/1.1 var(--display); }
.tile-open { display: grid; bottom: .78rem; right: .75rem; width: 2.1rem; height: 2.1rem; border: 1px solid #dedbd179; place-items: center; background: #0b0b0c9e; }
.tile-open .icon { width: 1rem; height: 1rem; }
.gallery-invite { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.3rem; margin-top: 2.25rem; border-top: 1px solid var(--line); padding-top: 1.6rem; }
.gallery-invite p { font: clamp(1.5rem, 2.7vw, 2.45rem)/1.2 var(--display); letter-spacing: -.043em; }

.closing { position: relative; isolation: isolate; overflow: hidden; border-top: 1px solid var(--accent-line); }
.closing-photo, .closing::after { position: absolute; z-index: -1; inset: 0; height: 100%; }
.closing-photo img { height: 100%; object-fit: cover; object-position: 50% 79%; }
.closing::after { content: ''; background: linear-gradient(0deg, #0b0b0cee, #0b0b0c9c 60%, #0b0b0cd1); }
.closing-inner { padding-block: clamp(5rem, 11vw, 9.5rem); text-align: center; }
.closing .actions { justify-content: center; margin-top: 1.55rem; }
.footer { background: #0d0d0e; border-top: 1px solid var(--accent-line); }
.footer-main { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .48fr) minmax(0, 1fr) auto; align-items: start; gap: 1.35rem; padding-block: clamp(1.7rem, 4.3vw, 3.9rem); }
.footer-main .brand { justify-self: start; }
.footer-links { display: grid; justify-items: start; font-style: normal; }
.footer-links a { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.75rem; color: var(--soft); font-size: .9rem; text-decoration: underline; text-underline-offset: .36em; text-decoration-color: transparent; transition: color .2s, text-decoration-color .2s; }
.footer-links span { overflow-wrap: anywhere; }
.footer-links .icon { width: 1.08rem; height: 1.08rem; color: var(--accent); }
.footer-top { display: grid; width: 2.75rem; height: 2.75rem; place-items: center; border: 1px solid var(--accent-line); color: var(--accent); transition: background .2s, border-color .2s; }
.footer-top .icon { rotate: -90deg; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem 1.5rem; padding-block: 1rem 1.35rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; }
.footer-bottom strong { color: var(--soft); }
.floating-contact { position: fixed; z-index: 4; right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); display: grid; width: 3.1rem; height: 3.1rem; border: 1px solid #777473; border-radius: 50%; place-items: center; background: #262628; color: var(--text); box-shadow: 0 5px 25px #0008; transition: background .25s, color .25s; }
.floating-contact .icon { width: 1.65rem; height: 1.65rem; }

dialog { max-height: calc(100vh - 1.5rem); max-height: calc(100dvh - 1.5rem); border: 1px solid var(--line-light); background: #151517; color: var(--text); }
dialog:not([open]) { display: none; }
dialog::backdrop { background: #060607da; backdrop-filter: blur(7px); }
.dialog-close { position: absolute; right: .5rem; top: .5rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line-light); background: #151517f2; color: var(--text); font-size: 1.5rem; }
.lightbox { width: min(calc(100% - 1.5rem), 38rem); padding: .75rem; text-align: center; }
.lightbox img { width: auto; max-width: 100%; height: auto; max-height: min(69vh, 43rem); max-height: min(69dvh, 43rem); margin-inline: auto; object-fit: contain; }
.lightbox figcaption { padding: .65rem 0 .5rem; color: var(--soft); }
.lightbox-controls { justify-content: center; gap: 1rem; }
.lightbox-position { min-width: 4rem; color: var(--muted); }
.contact-dialog { width: min(calc(100% - 1.5rem), 35rem); padding: clamp(1.4rem, 5vw, 2.4rem); }
.contact-dialog h2 { margin: .5rem 2rem 1rem 0; font-size: clamp(2rem, 5vw, 3.3rem); }
.contact-dialog > p { color: var(--soft); }
.contact-message { margin-block: 1rem; padding: .85rem 1rem; border-left: 1px solid #99938c; background: var(--black); user-select: text; }
.copy-status:not(:empty) { margin-top: .7rem; }
.reveal.revealed { animation: reveal .65s var(--motion-ease) both; }
@keyframes reveal {
  from { opacity: .45; transform: translateY(9px); }
  to { opacity: 1; transform: translateY(0); }
}
.about-portrait.revealed .photo-frame img { animation: develop-photo .64s var(--motion-ease) backwards; }
@keyframes develop-photo {
  from { opacity: .78; translate: 0 4px; }
  to { opacity: 1; translate: none; }
}

@media (hover: hover) and (pointer: fine) {
  .button:hover:not(:active) { transform: translateY(-1px); }
  .button-light:hover, .floating-contact:hover { background: #faf8f3; color: var(--ink); }
  .button-outline:hover, .gallery-tools button:not(:disabled):not([aria-pressed='true']):hover, .lightbox-controls button:not(:disabled):hover { background: #343337; border-color: #8e8985; color: var(--text); }
  .text-link:hover, .footer-links a:hover, .hero-bottom a:hover { color: #fff; text-decoration-color: #fff; }
  .photo-frame:hover img, .style-image:hover img, .gallery-tile:hover img { transform: scale(1.025); }
  .style-link:hover .icon { translate: 3px 0; }
  .gallery-tile:hover, .footer-top:hover { border-color: var(--accent); }
  .footer-top:hover { background: #2b2325; }
}

@media (max-width: 1000px) {
  .header-contact { display: none; }
  .about-grid { gap: 2.5rem; }
  .credentials { grid-template-columns: 1fr; gap: .85rem; }
  .experience { display: flex; align-items: baseline; gap: .9rem; }
}

@media (max-width: 900px) {
  :root { --header-height: 4.15rem; }
  .header, .header.is-scrolled { background: var(--ink); backdrop-filter: none; }
  .header-inner { flex-wrap: wrap; }
  .navigation { flex-wrap: wrap; padding-bottom: .65rem; gap: 0 .85rem; }
  .js .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: .35rem; width: 2.75rem; height: 2.75rem; border: 1px solid var(--line-light); background: #171719; }
  .menu-toggle span { width: 1.05rem; height: 1px; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded='true'] span:first-child { transform: translateY(.2rem) rotate(45deg); }
  .menu-toggle[aria-expanded='true'] span:last-child { transform: translateY(-.2rem) rotate(-45deg); }
  .js .navigation { position: absolute; inset: 100% 0 auto; display: none; max-height: calc(100vh - var(--header-height)); max-height: calc(100dvh - var(--header-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overflow-y: auto; padding: .4rem var(--gutter) .75rem; border-bottom: 1px solid var(--line); background: var(--ink); box-shadow: 0 1rem 1.75rem #0008; }
  .js .navigation.is-open { display: grid; animation: menu-arrive .2s var(--motion-ease) both; }
  .navigation a { padding-inline: .25rem; min-height: 2.75rem; }
  .js .navigation a + a { border-top: 1px solid var(--line); }
  .navigation a::after { left: .25rem; right: auto; width: 1.4rem; }
}

@keyframes menu-arrive { from { opacity: .72; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 800px) {
  .about-grid { gap: 1.8rem; }
  .style-chapter, #colorido { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'photos' 'copy'; }
  .footer-main { grid-template-columns: auto minmax(0, 1fr) auto; gap: .85rem 1.3rem; }
  .footer-main .brand { grid-column: 1 / 3; }
  .footer-top { grid-area: 1 / 3; }
  .footer-links:not(.footer-nav) { grid-column: 2 / 4; }
}

@media (max-width: 720px) {
  .hero { --hero-zoom: 5.05; --hero-camera-x: 0px; --hero-camera-y: clamp(2.6rem, 12vw, 4.65rem); --hero-copy-top: clamp(13rem, 68vw, 19.5rem); }
  .hero-inner { min-height: 0; }
  .hero-layer { inset: 0 0 auto; height: var(--hero-copy-top); }
  .hero-emblem { width: min(71vw, 19.5rem); }
  .hero-light { top: calc(var(--hero-copy-top) * .52); right: -10%; width: 120%; }
  .hero-opening-shade { background: linear-gradient(0deg, #0b0b0c 24%, #0b0b0cea 50%, transparent 77%); }
  .hero-media::after {
    background:
      radial-gradient(ellipse 84% var(--hero-copy-top) at 50% calc(var(--hero-copy-top) * .48), transparent 35%, #0b0b0c5c 92%),
      linear-gradient(0deg, var(--black), transparent 26%);
  }
  .hero-copy { max-width: none; margin-block: 0; padding: var(--hero-copy-top) 0 1.9rem; }
  .hero h1 { font-size: clamp(3rem, 13.2vw, 5.25rem); }
  .hero-description { margin-top: .8rem; }
  .hero .actions { margin-top: 1.05rem; }
  .hero .button, .hero-action { width: 100%; }
  .hero-social { display: none; }
}

@media (max-width: 600px) {
  :root { --tile-width: min(76vw, 23rem); }
  .machine-parallax {
    --machine-width: 2.25rem;
    --machine-travel: .7rem;
    --machine-tilt: 3.5deg;
    --machine-side: 2px;
    top: auto;
    bottom: 8vh;
    bottom: calc(max(1.25rem, 8svh) + env(safe-area-inset-bottom, 0px));
    padding-right: .16rem;
  }
  .about-grid { grid-template-columns: 1fr; }
  .about-copy { order: -1; }
  .credentials { grid-template-columns: minmax(5.7rem, .65fr) minmax(0, 1.35fr); }
  .experience { display: block; }
  .style-chapter { padding-block: 1.35rem 1.6rem; }
  .style-photos { aspect-ratio: 1.4; }
  .gallery-track.is-filtered { --tile-width: min(76vw, 23rem); }
  .gallery-invite .button { width: 100%; }
  .closing .actions > * { flex-basis: 100%; }
  .js .floating-contact:not(.can-float) { visibility: hidden; pointer-events: none; }
  .footer-bottom { padding-right: 3.4rem; }
}

@media (max-width: 720px) and (max-height: 710px) {
  .hero { --hero-copy-top: clamp(11.25rem, 63vw, 15rem); }
  .hero-emblem { width: min(66vw, 17rem); }
  .hero-copy { display: grid; }
  .hero h1 { font-size: clamp(2.7rem, 12.4vw, 4.65rem); }
  .hero .actions { grid-row: 4; }
  .hero-description { grid-row: 5; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
  .machine-parallax { display: none; }
  .hero-media { opacity: 1; }
  .hero-action .button, .hero-layer, .hero-emblem { translate: none; }
  .hero-eye-motion { display: none; }
  .hero-light { transform: translateY(-50%); }
  .style-link .icon { translate: none; }
  .button:hover:not(:active), .photo-frame:hover img, .style-image:hover img, .gallery-tile:hover img { transform: none; }
}
