@charset "UTF-8";
:root {
  color-scheme: dark;
  --paper: #f2f6f9;
  --muted: #aebfcd;
  --accent: #8ec9e7;
  --edge: clamp(24px, 4.1vw, 80px);
  --hairline: rgb(202 225 241 / 23%);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #0b1c2b;
  color: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
a:focus-visible, main:focus-visible { outline: 2px solid var(--accent); outline-offset: 7px; }
::selection { color: #0b1c2b; background: var(--accent); }
.accent { color: var(--accent); }
.skip-link { position: fixed; z-index: 20; top: 12px; left: var(--edge); padding: 12px 20px; color: #0b1c2b; background: var(--accent); transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.backdrop { position: fixed; inset: 0; overflow: hidden; z-index: -1; background: #0b1c2b; }
.backdrop__image { width: 100%; height: 100%; object-fit: cover; object-position: 65% center; filter: grayscale(1) blur(2px); transform: scale(1.035); }
.backdrop__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(6 24 41 / 92%) 0%, rgb(10 35 57 / 72%) 44%, rgb(16 65 98 / 29%) 100%), linear-gradient(0deg, rgb(5 21 36 / 91%), transparent 40%, rgb(20 66 101 / 17%) 75%, rgb(6 25 43 / 53%)); }
.backdrop::after { content: ""; position: absolute; inset: 0; background: #24577a; mix-blend-mode: color; opacity: .6; pointer-events: none; }
.backdrop__grain { position: absolute; inset: 0; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.header { position: fixed; top: 0; left: var(--edge); right: var(--edge); height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--hairline); z-index: 5; }
.brand-logo { display: inline-flex; align-items: center; padding: 5px 0; }
.brand-logo img { display: block; width: 204px; height: auto; }
.header__caption { font: 10px/1.5 "Courier New", monospace; letter-spacing: 1.7px; color: var(--muted); position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; }
.header__actions { display: flex; align-items: center; gap: 28px; }
.language-switch { display: flex; align-items: center; gap: 5px; font: 10px/1 "Courier New", monospace; letter-spacing: .5px; }
.language-switch a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 20px; color: var(--muted); transition: color .2s; }
.language-switch a[aria-current="page"], .language-switch a:hover { color: var(--accent); }
.language-switch > span { color: #8ba6bb; font-size: 9px; }
.header__contact { font-size: 13px; display: flex; align-items: center; gap: 29px; padding: 12px 0; }
.header__contact-arrow { font-size: 25px; line-height: 1; color: var(--accent); transition: transform .25s; }
.header__contact:hover .header__contact-arrow { transform: translate(3px, -3px); }
.scene { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 165px calc(var(--edge) + 52px) 160px var(--edge); }
.scene__content { width: 100%; max-width: 1100px; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 35px; font: 10px/1.6 "Courier New", monospace; letter-spacing: 1.8px; }
.eyebrow__line { width: 27px; height: 1px; background: var(--accent); flex: 0 0 auto; }
h1, h2 { margin: 0; font-size: clamp(68px, 7.8vw, 150px); line-height: 1.045; font-weight: 400; letter-spacing: -.067em; }
.scene__description { color: #c3d1dc; font-size: clamp(15px, 1.12vw, 20px); line-height: 1.8; margin: 30px 0 27px; letter-spacing: -.15px; }
.text-link { display: inline-flex; align-items: center; gap: 39px; font-size: 12px; padding: 0 0 12px; border-bottom: 1px solid var(--hairline); }
.text-link > span { font-size: 23px; line-height: .8; color: var(--accent); transition: transform .25s; }
.text-link:hover > span { transform: translate(3px, 3px); }
.scene__aside { position: absolute; bottom: 21%; right: calc(var(--edge) + 70px); width: 190px; }
.cross { font-size: 25px; color: var(--accent); font-weight: 200; }
.scene__aside p { color: #c9d9e5; font-size: 12px; line-height: 1.8; margin: 16px 0 0; }
.scene__footnote { position: absolute; bottom: 114px; left: var(--edge); color: #a5baca; font: 9px/1.6 "Courier New", monospace; letter-spacing: 1.55px; margin: 0; }
.scene__footnote > span { margin: 0 14px; color: var(--accent); }
.email-link { display: inline-flex; align-items: center; gap: 32px; font-size: clamp(19px, 2.2vw, 34px); letter-spacing: -.8px; border-bottom: 1px solid var(--accent); padding-bottom: 13px; margin-top: 2px; }
.email-link > span { color: var(--accent); transition: transform .25s; }
.email-link:hover > span { transform: translate(4px, -4px); }
.phone-contact { margin-top: 24px; }
.whatsapp-link { display: inline-flex; align-items: center; gap: 16px; padding: 5px 0; }
.whatsapp-link__icon { width: 26px; height: 26px; flex: 0 0 auto; color: var(--accent); }
.whatsapp-link__details { display: flex; flex-direction: column; gap: 7px; }
.whatsapp-link__number { font-size: 18px; letter-spacing: .2px; }
.whatsapp-link__label { font-size: 11px; color: var(--muted); }
.whatsapp-link__arrow { margin-left: 10px; font-size: 23px; color: var(--accent); transition: transform .25s; }
.whatsapp-link:hover .whatsapp-link__arrow { transform: translate(4px, -4px); }
.project-links { display: flex; flex-wrap: wrap; gap: 20px 38px; margin-top: 4px; }
.project-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; padding-bottom: 12px; border-bottom: 1px solid var(--hairline); font-size: clamp(18px, 1.8vw, 27px); letter-spacing: -.4px; }
.project-link > span { color: var(--accent); transition: transform .25s; }
.project-link:hover > span { transform: translate(3px, -3px); }
.chapter-nav { position: fixed; right: var(--edge); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; z-index: 5; }
.chapter-nav__item { display: flex; align-items: center; justify-content: flex-end; gap: 14px; min-height: 44px; min-width: 44px; font: 10px/1 "Courier New", monospace; color: #b9cbd8; }
.chapter-nav__item span { opacity: 0; transition: opacity .25s; }
.chapter-nav__item i { display: block; width: 13px; height: 2px; background: #8ba6bb; transition: width .25s, background .25s; }
.chapter-nav__item.is-current i { width: 29px; background: var(--accent); }
.chapter-nav__item.is-current span, .chapter-nav__item:hover span, .chapter-nav__item:focus-visible span { opacity: 1; }
.chapter-nav__item.is-current { color: var(--accent); }
.footer { position: fixed; bottom: 0; left: var(--edge); right: var(--edge); height: 83px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--hairline); z-index: 5; }
.footer__location { display: flex; align-items: center; gap: 9px; font: 9px/1.5 "Courier New", monospace; letter-spacing: 1.5px; }
.location-dot { width: 5px; height: 5px; background: var(--accent); border-radius: 50%; margin-right: 4px; box-shadow: 0 0 12px rgb(142 201 231 / 25%); }
.footer__dash { color: #8ba6bb; }
.scroll-cue { display: flex; align-items: center; gap: 20px; font-size: 11px; color: #bed0de; position: absolute; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 12px 0; }
.scroll-cue__arrow { color: var(--accent); font-size: 21px; transition: transform .3s; }
.scroll-cue:hover .scroll-cue__arrow { transform: translateY(4px); }
.scroll-cue.is-last .scroll-cue__arrow { transform: rotate(180deg); }
.footer__chapter { display: flex; align-items: center; gap: 13px; font: 11px/1 "Courier New", monospace; color: #8ba6bb; }
.chapter-number { color: var(--paper); }
.chapter-divider { width: 40px; height: 1px; background: var(--hairline); }
.progress { position: fixed; bottom: 0; left: 0; right: 0; height: 2px; z-index: 8; }
.progress > span { display: block; width: 100%; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }
/* Without enhancement the same content is a readable sequence of sections. */
html:not(.is-enhanced) .footer { position: relative; left: auto; right: auto; margin: 0 var(--edge); }
/* The scroll distance scales with chapter count, retaining the short transitions. */
.is-enhanced .narrative { height: calc(100svh + var(--chapter-scroll, 120svh)); }
.is-enhanced .stage { height: 100svh; position: sticky; top: 0; overflow: hidden; }
.is-enhanced .scene { position: absolute; inset: 0; min-height: 0; will-change: transform, opacity; transition: opacity .55s ease, transform .75s cubic-bezier(.2,.65,.25,1); }
.is-enhanced .scene:not(.is-active) { pointer-events: none; }
.is-enhanced .backdrop__image { will-change: transform; }
@media (min-width: 1600px) {
  .scene__aside { right: calc(var(--edge) + 100px); }
}
@media (max-width: 1050px) {
  .scene__aside { display: none; }
  .header__caption { font-size: 9px; letter-spacing: 1px; }
  h1, h2 { font-size: clamp(64px, 9.3vw, 100px); }
}
@media (max-width: 640px) {
  .header { height: 86px; gap: 12px; }
  .brand-logo img { width: 154px; }
  .header__caption { display: none; }
  .header__actions { gap: 14px; }
  .header__contact { width: 32px; min-height: 44px; justify-content: flex-end; gap: 0; }
  .header__contact-label { display: none; }
  .backdrop__image { object-position: 64% center; }
  .backdrop__shade { background: linear-gradient(90deg, rgb(6 24 41 / 92%), rgb(10 40 65 / 58%)), linear-gradient(0deg, rgb(5 21 36 / 89%), transparent 70%); }
  .scene { padding: 128px 44px 143px var(--edge); }
  .scene__content { transform: translateY(-8px); }
  .eyebrow { font-size: 8px; letter-spacing: 1px; gap: 10px; margin-bottom: 29px; }
  .eyebrow__line { width: 18px; }
  h1, h2 { font-size: clamp(44px, 10.1vw, 66px); line-height: 1.1; letter-spacing: -.065em; }
  .scene__description { font-size: 13px; line-height: 1.9; margin: 25px 0; }
  .scene__description br { display: none; }
  .text-link { font-size: 12px; }
  .scene__footnote { bottom: 109px; font-size: 7px; letter-spacing: .8px; max-width: calc(100% - 48px); }
  .scene__footnote > span { margin: 0 7px; }
  .chapter-nav { right: 12px; gap: 0; top: 48%; }
  .chapter-nav__item { gap: 5px; min-width: 30px; min-height: 44px; font-size: 8px; }
  .chapter-nav__item i { width: 8px; }
  .chapter-nav__item.is-current i { width: 14px; }
  .chapter-nav__item span { display: none; }
  .footer { height: 83px; padding-bottom: env(safe-area-inset-bottom, 0px); }
  .footer__location { font-size: 7px; letter-spacing: .8px; gap: 6px; }
  .footer__chapter { font-size: 10px; gap: 8px; }
  .chapter-divider { width: 20px; }
  .scroll-cue { min-width: 44px; min-height: 44px; justify-content: center; }
  .scroll-cue__text { display: none; }
  .email-link { font-size: clamp(17px, 5.2vw, 27px); gap: 18px; letter-spacing: -.6px; }
  .phone-contact { margin-top: 19px; }
  .whatsapp-link { gap: 12px; }
  .whatsapp-link__icon { width: 23px; height: 23px; }
  .whatsapp-link__number { font-size: 16px; }
  .whatsapp-link__label { font-size: 10px; }
  .whatsapp-link__arrow { margin-left: 4px; }
  .project-links { gap: 18px; }
  .project-link { font-size: 16px; gap: 14px; }
}
@media (max-height: 620px) and (min-width: 641px) {
  .header { height: 77px; }
  .scene { padding-top: 100px; padding-bottom: 110px; }
  h1, h2 { font-size: min(7.5vw, 70px); }
  .eyebrow { margin-bottom: 16px; }
  .scene__description { margin: 16px 0; font-size: 13px; line-height: 1.6; }
  .scene__footnote { bottom: 83px; }
  .footer { height: 61px; }
  .scene__aside { display: none; }
  .scene--contact .eyebrow { margin-bottom: 10px; }
  .scene--contact .scene__description { margin: 12px 0; }
  .phone-contact { margin-top: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .is-enhanced .scene { transform: none !important; }
  .is-enhanced .backdrop__image { transform: scale(1.035) !important; }
}

@media (max-width: 360px) {
  .brand-logo img { width: 140px; }
}
