/* Nexo: architectural photography, deliberate scale and connected scenes. */
.nexo { --space-page: clamp(1.25rem, 5vw, 6rem); --space-section: clamp(5rem, 10vw, 10rem); }
.nexo .wrap { max-width: 1760px; }
.nexo h1, .nexo h2, .nexo h3 { overflow-wrap: anywhere; }
.nexo-comparison { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; min-height: 44px; font-family: var(--mono); font-size: .6875rem; color: var(--text-soft); border-bottom: 1px solid var(--line); }
.nexo-comparison nav, .nexo-footer__bottom nav { display: flex; gap: 1rem; }
.nexo-comparison a, .nexo-footer__bottom nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nexo-comparison a[aria-current], .nexo-footer__bottom a[aria-current] { color: var(--amber); }
.nexo-comparison a:hover, .nexo-footer a:hover { color: var(--amber); }
.nexo-header { position: relative; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; column-gap: 1rem; row-gap: 0; min-height: 80px; padding-top: .5rem; }
.nexo-header .brand img { width: 126px; }
.nexo-nav { display: flex; flex-wrap: wrap; order: 2; flex-basis: 100%; justify-content: space-between; gap: .5rem 1rem; border-top: 1px solid var(--line); margin-top: .5rem; color: var(--text-soft); font-size: .8125rem; }
.nexo-nav a { display: inline-flex; align-items: center; min-height: 44px; }
.nexo-nav a:hover { color: var(--amber); }
.nexo-header__contact { display: inline-flex; align-items: center; gap: .8rem; min-height: 44px; font-size: .8rem; }
.nexo-header__contact span { color: var(--amber); font-size: 1.2rem; }
.nexo-hero { position: relative; isolation: isolate; overflow: hidden; }
.nexo-hero__visual { position: absolute; z-index: -2; inset: 0; overflow: hidden; }
.nexo-hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.nexo-hero__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 84%, transparent), color-mix(in srgb, var(--bg) 33%, transparent)), linear-gradient(0deg, var(--bg), transparent 50%); }
.nexo-hero__content { padding-top: 2.25rem; padding-bottom: 3rem; }
.nexo-kicker { display: flex; align-items: center; gap: .7rem; font-size: .6875rem; color: var(--text); margin-bottom: 2rem; }
.nexo-mark { font-family: var(--editorial); color: var(--amber); font-size: 1.3rem; font-weight: 800; }
.nexo h1 { font-size: clamp(3.35rem, 12.5vw, 6.4rem); font-weight: 550; letter-spacing: -.065em; line-height: .99; }
.nexo h1 em { font-weight: 400; }
.nexo-hero__intro { margin-top: 2rem; }
.nexo-hero__intro > p { font-size: .95rem; line-height: 1.75; max-width: 28rem; color: var(--text); }
.nexo-hero .actions { gap: 1rem 1.5rem; margin-top: 2rem; }
.nexo-desktop-break { display: none; }
.nexo-hero__foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-bottom: 1.25rem; }
.nexo-explore { min-height: 44px; display: inline-flex; align-items: center; gap: .8rem; font-family: var(--mono); font-size: .75rem; color: var(--text-soft); }
.nexo-explore > span { color: var(--amber); font-size: 1.5rem; }
.nexo-hero__note { display: none; }
.nexo .motion-toggle { position: static; padding-inline: 0; font-size: .75rem; }
.nexo-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 1rem; }
.nexo-index a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .4rem; padding-block: 1rem; border-bottom: 1px solid var(--line-dash); min-width: 0; }
.nexo-index a + a { padding-left: .7rem; }
.nexo-index a > span:first-child { font-family: var(--mono); font-size: .6875rem; color: var(--amber); }
.nexo-index strong { grid-column: 1 / -1; font-weight: 400; font-size: .875rem; overflow-wrap: anywhere; }
.nexo-index a > span:last-child { grid-column: 2; grid-row: 1; color: var(--text-soft); margin-left: auto; padding-right: .5rem; }
.nexo-index a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .5s ease; }
.nexo-index a:hover::after, .nexo-index a.is-active::after { transform: scaleX(1); }
.nexo-section-head { display: grid; gap: 2rem; padding-top: var(--space-section); padding-bottom: 3rem; }
.nexo-section-head > .eyebrow { color: var(--amber); }
.nexo-section-head h2 { font-size: clamp(2.55rem, 6.2vw, 6.3rem); line-height: 1.05; }
.nexo-section-head h2 span { color: var(--text-soft); }
.nexo-section-head > p:last-child { max-width: 23rem; color: var(--text-soft); line-height: 1.8; }
.nexo-toolbar { display: flex; justify-content: flex-end; align-items: center; gap: 2rem; padding-bottom: 2rem; }
.nexo-toolbar > span { display: none; font-family: var(--mono); font-size: .625rem; color: var(--text-soft); }
.nexo-toolbar .service-motion-toggle { font-size: .75rem; }
.nexo-scene { padding-bottom: 5rem; scroll-margin-top: 1.5rem; }
.nexo-scene__layout { display: grid; min-width: 0; }
.nexo-scene__heading { min-width: 0; position: relative; z-index: 2; padding-block: 2rem; }
.nexo-scene__index { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; font-family: var(--mono); color: var(--text-soft); font-size: .75rem; line-height: 1.6; }
.nexo-scene__index > span { color: var(--amber); font-size: 1.1rem; }
.nexo-scene h3 { font-size: clamp(2.7rem, 10.7vw, 7rem); letter-spacing: -.065em; line-height: 1; font-weight: 500; }
.nexo-scene h3 > span { display: inline; color: var(--text-soft); font-size: .66em; letter-spacing: -.045em; }
.nexo-scene__photo { min-width: 0; margin-inline: calc(-1 * var(--space-page)); }
.nexo-scene__crop { overflow: hidden; aspect-ratio: 3 / 2; background: var(--surface-2); }
.nexo-scene__photo img { width: 100%; height: 100%; object-fit: cover; }
.nexo-scene__photo figcaption { padding: .9rem var(--space-page) 0; font-family: var(--mono); color: var(--text-soft); font-size: .75rem; line-height: 1.6; }
.nexo-scene__copy { min-width: 0; padding-top: 2rem; position: relative; z-index: 2; background: var(--bg); }
.nexo-scene__copy > p:first-child { font-size: clamp(1.5rem, 2.8vw, 2.5rem); line-height: 1.2; letter-spacing: -.035em; max-width: 26rem; }
.nexo-scene__copy > p + p { color: var(--text-soft); font-size: .9375rem; line-height: 1.8; margin-top: 1.25rem; max-width: 26rem; }
.nexo-scene__copy ul { list-style: none; margin: 1.5rem 0; padding: 0; }
.nexo-scene__copy li { padding-block: .35rem; font-size: .8125rem; }
.nexo-scene__copy ul li::before { content: "+"; margin-right: .75rem; color: var(--amber); font-family: var(--mono); }
.nexo-service-link { display: inline-flex; align-items: center; gap: 2.75rem; min-height: 52px; border-bottom: 1px solid var(--amber); font-size: .875rem; }
.nexo-service-link span { color: var(--amber); font-size: 1.35rem; transition: transform .25s ease; }
.nexo-service-link:hover span { transform: translate(3px, -3px); }
.nexo-service-link:hover { color: var(--amber); }
.nexo-flow { margin-block: 1.5rem; }
.nexo-flow figcaption { font-family: var(--mono); color: var(--text-soft); font-size: .75rem; margin-bottom: .5rem; }
.nexo-flow ol { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 0; }
.nexo-flow li { display: flex; gap: .5rem; align-items: center; font-size: .75rem; }
.nexo-flow li + li::before { content: "→"; color: var(--amber); }
.nexo-approach { background: var(--surface-2); }
.nexo-approach__intro > .eyebrow { color: var(--amber); margin-bottom: 2rem; }
.nexo-approach h2 { font-size: clamp(2.55rem, 6.7vw, 6.5rem); }
.nexo-approach__intro > p:last-child { margin-top: 1.75rem; color: var(--text-soft); max-width: 28rem; line-height: 1.8; }
.nexo-method { display: grid; gap: 2rem; list-style: none; margin: 4rem 0 0; padding: 0; }
.nexo-method li { border-top: 1px solid var(--line-dash); padding-top: 1.5rem; }
.nexo-method .small-index { color: var(--amber); }
.nexo-method h3 { font-weight: 400; font-size: clamp(1.85rem, 3vw, 2.7rem); letter-spacing: -.04em; line-height: 1.1; margin-top: 1.5rem; }
.nexo-method p { color: var(--text-soft); max-width: 23rem; margin-top: 1rem; font-size: .9rem; line-height: 1.8; }
.nexo-principles { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; font-family: var(--mono); font-size: .75rem; margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line-dash); color: var(--text-soft); }
.nexo-principles span::before { content: "+"; color: var(--amber); margin-right: .6rem; }
.nexo-contact h2 { font-size: clamp(3.4rem, 6.5vw, 6.5rem); }
.nexo-contact .contact-intro > .eyebrow { color: var(--amber); }
.nexo-contact .contact-grid > * { min-width: 0; }
.nexo-contact .contact-mail { max-width: 100%; overflow-wrap: anywhere; }
/* Fit the available column, keeping at most two fields per row. */
.nexo-contact .form {
  --nexo-form-gap: 1.75rem;
  column-gap: var(--nexo-form-gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, max(15rem, calc((100% - var(--nexo-form-gap)) / 2))), 1fr));
}
.nexo-contact .field label { font-size: .875rem; }
.nexo-contact .field input, .nexo-contact .field select, .nexo-contact .field textarea { font-size: 1rem; }
.nexo-contact .form__note { line-height: 1.7; }
.nexo-footer { padding-bottom: 1.25rem; }
.nexo-footer__top { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; padding-block: 2.5rem; border-top: 1px solid var(--line-dash); }
.nexo-footer__top > p { color: var(--text-soft); font-size: .875rem; grid-column: 1; }
.nexo-footer__top .back-top { grid-column: 2; grid-row: 1; }
.nexo-footer__bottom { display: flex; flex-direction: column; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dash); font-family: var(--mono); font-size: .75rem; color: var(--text-soft); }
.nexo-footer__bottom > p { max-width: 30rem; }

@media (min-width: 600px) {
  .nexo-header { padding-top: 0; column-gap: .8rem; }
  .nexo-header .brand img { width: 150px; }
  .nexo-nav { order: 0; flex-basis: auto; margin: 0 0 0 auto; border-top: 0; gap: 1rem; font-size: .75rem; }
  .nexo-hero__content { padding-block: 4rem 7rem; }
  .nexo h1 { font-size: clamp(4.5rem, 9.5vw, 9rem); }
  .nexo-mobile-break { display: none; }
  .nexo-desktop-break { display: initial; }
  .nexo-hero__intro > p { font-size: 1.05rem; }
  .nexo-kicker { font-size: .7rem; }
  .nexo-hero__note { display: block; font-family: var(--mono); font-size: .625rem; color: var(--text-soft); margin-left: auto; margin-right: 2rem; }
  .nexo-index a { display: flex; gap: 1rem; min-height: 86px; }
  .nexo-index a + a { padding-left: 1.5rem; }
  .nexo-index a > span:first-child { flex-basis: auto; }
  .nexo-index strong { font-size: 1.05rem; }
  .nexo-scene h3 { font-size: clamp(4rem, 9vw, 8rem); }
  .nexo-scene__photo { margin-inline: 0; }
  .nexo-scene__photo figcaption { padding-inline: 0; }
  .nexo-scene__copy { max-width: 38rem; }
  .nexo-toolbar { justify-content: space-between; }
  .nexo-toolbar > span { display: block; }
  .nexo-footer__top { grid-template-columns: 1fr 1fr auto; align-items: center; }
  .nexo-footer__top > p { grid-column: 2; grid-row: 1; }
  .nexo-footer__top .back-top { grid-column: 3; }
}
@media (min-width: 960px) {
  .nexo-header { min-height: 106px; }
  .nexo-header .brand img { width: 168px; }
  .nexo-nav { gap: 2.75rem; margin-right: 3rem; font-size: .8125rem; }
  .nexo-header__contact { font-size: .875rem; gap: 2rem; }
  .nexo-hero { min-height: 760px; min-height: min(980px, max(760px, calc(100svh - 150px))); display: flex; flex-direction: column; justify-content: space-between; }
  .nexo-hero__visual img { object-position: center; }
  .nexo-hero__visual::after { background: linear-gradient(90deg, color-mix(in srgb, var(--bg) 66%, transparent), color-mix(in srgb, var(--bg) 8%, transparent) 70%), linear-gradient(0deg, var(--bg), transparent 28%); }
  .nexo-hero__content { padding-top: clamp(4rem, 6vw, 7rem); padding-bottom: 4rem; }
  .nexo h1 { font-size: clamp(5.7rem, 8.2vw, 9rem); }
  .nexo-kicker { margin-bottom: 2.5rem; }
  .nexo-hero__intro { margin-top: 2.25rem; }
  .nexo-hero__foot { padding-block: 1.5rem 2rem; }
  .nexo-hero__note { margin-right: 5rem; }
  .nexo-index { padding-top: 0; }
  .nexo-index a { min-height: 108px; }
  .nexo-index strong { font-size: 1.25rem; }
  .nexo-section-head { grid-template-columns: 1fr 1fr; column-gap: 10%; padding-bottom: 4rem; }
  .nexo-section-head .eyebrow { grid-column: 1 / -1; }
  .nexo-section-head h2 { grid-column: 1 / -1; }
  .nexo-section-head > p:last-child { grid-column: 2; margin-top: -1rem; font-size: 1.05rem; }
  .nexo-toolbar { padding-bottom: 3rem; }
  .nexo-scene { padding-bottom: clamp(5rem, 8vw, 9rem); }
  .nexo-scene__layout { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; align-items: start; }
  .nexo-scene__heading { grid-column: 2 / -1; grid-row: 1; padding-top: 1rem; padding-bottom: 3rem; }
  .nexo-scene__index { gap: 1.1rem; margin-bottom: 1.75rem; }
  .nexo-scene__index > span { font-size: 1.5rem; }
  .nexo-scene h3 { font-size: clamp(4.5rem, 7.7vw, 8.5rem); }
  .nexo-scene h3 > span { font-size: .69em; }
  .nexo-scene__photo { grid-column: 1 / 12; grid-row: 2; }
  .nexo-scene__crop { aspect-ratio: 16 / 9; }
  .nexo-scene__photo figcaption { padding-top: 1.25rem; max-width: 50%; }
  .nexo-scene__copy { grid-column: 8 / -1; grid-row: 2 / 4; margin-top: clamp(16rem, 26vw, 28rem); padding: clamp(2rem, 3.1vw, 3rem) 0 1rem clamp(2rem, 3.1vw, 3rem); max-width: none; }
  .nexo-scene__copy > p:first-child { font-size: clamp(1.7rem, 2.2vw, 2.6rem); }
  .nexo-scene--reverse .nexo-scene__heading { grid-column: 1 / -1; }
  .nexo-scene--reverse .nexo-scene__photo { grid-column: 2 / -1; }
  .nexo-scene--reverse .nexo-scene__photo figcaption { margin-left: auto; text-align: right; }
  .nexo-scene--reverse .nexo-scene__copy { grid-column: 1 / 6; padding-inline: 0 clamp(2rem, 3.1vw, 3rem); }
  .nexo-scene--automation .nexo-scene__photo img { object-position: left center; }
  .nexo-approach__intro > p:last-child { margin-left: auto; }
  .nexo-method { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5%; margin-top: 5rem; }
  .nexo-method li { padding-top: 2rem; }
  .nexo-method h3 { margin-top: 2rem; }
  .nexo-principles { margin-top: 5rem; justify-content: space-between; }
  .nexo-contact .contact-grid { gap: 9%; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
  .nexo-footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .nexo-footer__bottom > p { max-width: 21rem; }
}
@media (min-width: 600px) and (max-height: 500px) {
  .nexo-hero { min-height: 0; }
  .nexo-hero__content { padding-block: 2rem; }
  .nexo h1 { font-size: clamp(3.25rem, 7vw, 5rem); }
  .nexo-kicker { margin-bottom: 1.25rem; }
  .nexo-hero__intro { margin-top: 1.25rem; }
}
@media (prefers-reduced-motion: no-preference) {
  .nexo.motion-ready .nexo-hero__visual img { animation: nexo-depth 26s ease-in-out infinite alternate; transform-origin: 68% 55%; animation-play-state: paused; }
  .nexo.motion-ready .nexo-hero.is-visible .nexo-hero__visual img { animation-play-state: running; }
  .nexo.motion-ready .nexo-scene__photo img { animation: nexo-pan 20s ease-in-out infinite alternate; animation-play-state: paused; }
  .nexo.motion-ready .nexo-scene.is-in-view .nexo-scene__photo img { animation-play-state: running; }
  .nexo.motion-ready .nexo-scene--reverse .nexo-scene__photo img { animation-direction: alternate-reverse; }
  .nexo.motion-paused .nexo-hero.is-visible .nexo-hero__visual img, .nexo.motion-paused .nexo-scene.is-in-view .nexo-scene__photo img { animation-play-state: paused; }
  .nexo [data-nexo-reveal] { transition: opacity .8s ease, transform 1s cubic-bezier(.2,.65,.3,1); }
  .nexo [data-nexo-reveal].nexo-reveal-pending { opacity: 0; transform: translateY(24px); }
  .nexo.motion-paused [data-nexo-reveal] { transition: none; }
  .nexo.motion-paused [data-nexo-reveal].nexo-reveal-pending { opacity: 1; transform: none; }
  @keyframes nexo-depth { from { transform: scale(1); } to { transform: scale(1.07) translateX(-.5%); } }
  @keyframes nexo-pan { from { transform: scale(1.035) translateX(-.6%); } to { transform: scale(1.065) translateX(.6%); } }
}
@media (prefers-reduced-motion: reduce) {
  .nexo [data-nexo-reveal].nexo-reveal-pending { opacity: 1; transform: none; }
  .nexo .nexo-index a::after, .nexo .button, .nexo .nexo-service-link span { transition: none; }
}
