/* Original typography, tile shapes, layout and GSAP tracks are retained. */
html { scroll-behavior: smooth; }
section[id], .service-card[id] { scroll-margin-top: 88px; }
.alex-anniversary { width: 58px; height: 58px; flex: none; position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; text-decoration: none; border-radius: 50%; color: #382710; background: linear-gradient(135deg, #b88b3d 0%, #f9e9b5 23%, #dcc17a 43%, #fff0bf 59%, #b8914c 83%, #e5cb87 100%); border: 1px solid #efdb9b; box-shadow: inset 0 0 0 3px #71541d28, inset 0 1px 1px #fff8, 0 4px 18px #0006; animation: none; opacity: 0; visibility: hidden; filter: blur(6px); transition: opacity 1.8s ease, filter 1.8s ease, box-shadow .3s ease; }
.alex-anniversary.is-visible { opacity: 1; visibility: visible; filter: blur(0); }
.alex-anniversary::before { content: ''; position: absolute; inset: 4px; border-radius: inherit; border: 1px solid #6d4b2740; pointer-events: none; }
.alex-anniversary:hover { box-shadow: inset 0 0 0 3px #71541d28, inset 0 1px 1px #fff8, 0 4px 20px #d3ad5d35; }
.hero-logo-sup-text .alex-anniversary { width: 76px; height: 76px; pointer-events: auto; }
.hero-logo-sup-text .alex-anniversary-number { font-size: 42px; }
.hero-logo-sup-text .alex-anniversary-label { font-size: 9px; }
.alex-anniversary-number { font-family: Georgia, 'Times New Roman', serif; font-size: 31px; line-height: 1; letter-spacing: -.065em; padding-right: .065em; font-weight: 500; }
.alex-anniversary-label { font-family: 'Chivo Mono', monospace; font-size: 8px; line-height: 1.2; font-weight: 500; letter-spacing: .16em; margin-top: 2px; }
.alex-anniversary-star { position: absolute; top: -3px; right: -3px; width: 18px; height: 18px; color: #e6c67c; filter: drop-shadow(0 1px 2px #0006); transform-origin: center; }
.alex-anniversary-star.is-flashing { animation: alex-anniversary-flash .8s ease-out both; }
@keyframes alex-anniversary-flash {
 0%, 100% { color: #e6c67c; transform: scale(1); filter: drop-shadow(0 1px 2px #0006); }
 22% { color: #fff; transform: scale(2.25); filter: brightness(2) drop-shadow(0 0 4px #fff) drop-shadow(0 0 14px #fff) drop-shadow(0 0 38px #fff) drop-shadow(0 0 80px #ffe5a0); }
 45% { color: #fff; transform: scale(1.7); filter: brightness(1.8) drop-shadow(0 0 12px #fff) drop-shadow(0 0 32px #fff) drop-shadow(0 0 64px #ffe9b1); }
 72% { color: #fff6df; transform: scale(1.2); filter: drop-shadow(0 0 16px #fff) drop-shadow(0 0 32px #ffe29e); }
}
.alex-anniversary::after {
 content: ''; pointer-events: none; position: absolute; z-index: 2;
 top: -49px; right: -49px; width: 110px; height: 110px; opacity: 0;
 background: linear-gradient(transparent, #fff, transparent) center / 3px 100% no-repeat,
 linear-gradient(90deg, transparent, #fff, transparent) center / 100% 3px no-repeat,
 radial-gradient(circle, #fff 0%, #fffdf2dd 8%, #ffe6a266 30%, transparent 70%);
 filter: drop-shadow(0 0 8px #fff); transform: scale(.25);
}
.alex-anniversary.is-sparkling::after { animation: alex-anniversary-flare .8s ease-out both; }
@keyframes alex-anniversary-flare {
 0%, 100% { opacity: 0; transform: scale(.25); }
 22% { opacity: 1; transform: scale(1.15); }
 45% { opacity: .85; transform: scale(.95); }
 72% { opacity: .2; transform: scale(.7); }
}
.alex-nav-brand-group { display: flex; align-items: center; gap: 16px; position: relative; z-index: 5; flex: none; }
.alex-anniversary-dock { display: block; width: 54px; height: 54px; flex: none; }
.alex-anniversary.is-flying { z-index: 2000; pointer-events: auto; animation: none; margin: 0; }
.alex-anniversary.is-docked { width: 54px; height: 54px; animation: none; transform: none; }
.alex-anniversary.is-docked .alex-anniversary-number { font-size: 29px; }
.alex-anniversary.is-docked .alex-anniversary-label { font-size: 8px; }

.hero-marquee-wrapper { filter: blur(2px); }
.hero-logo-wrapper { --alex-logo-size: min(12.5rem, 15.5vw); visibility: hidden; }
.alex-headline-started .hero-logo-wrapper { visibility: visible; }
.hero-logo-main-text { white-space: nowrap; text-transform: none; font-size: inherit; position: relative; top: .45em; margin: 0; }
.hero-logo-sup-text { font-family: Interdisplay, Arial, sans-serif; position: absolute; left: calc(100% - 32px); margin-left: 0; top: -18px; }
.alex-wordmark-stack { position: relative; font-size: var(--alex-logo-size); height: 1.85em; }
.alex-wordmark-subtitle { position: absolute; top: .95em; left: 50%; transform: translateX(-50%); width: max-content; color: #fff; opacity: 0; text-align: center; font-family: Utara, Arial, sans-serif; font-size: inherit; font-weight: 900; letter-spacing: -.07em; line-height: .9em; white-space: nowrap; pointer-events: none; }
.project-crad-image { aspect-ratio: 3 / 2; }
.alexo-motion-art { position: relative; height: 100%; width: 100%; overflow: hidden; }
.alexo-motion-image { width: 100%; height: 100%; object-fit: cover; animation: alexo-image-drift 11s ease-in-out infinite alternate; }
.hero-marquee-block-03 .alexo-motion-image, .hero-marquee-block-11 .alexo-motion-image { animation-direction: alternate-reverse; animation-duration: 14s; }
.hero-marquee-block-05 .alexo-motion-image, .hero-marquee-block-14 .alexo-motion-image { animation-duration: 17s; }
.alexo-motion-art.is-paused .alexo-motion-image { animation-play-state: paused; }
.alexo-motion-control { z-index: 2; right: 10px; bottom: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%; color: white; background: #ffffff25; font-size: 14px; backdrop-filter: blur(8px); cursor: pointer; position: absolute; }
@keyframes alexo-image-drift { from { transform: scale(1.04) translateY(-1%); } to { transform: scale(1.16) translateY(2%); } }
.alexo-dialog { color: #fff; background: #111; border: 1px solid #ffffff24; border-radius: 24px; padding: 40px; width: min(720px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); margin: auto; overflow: auto; font-family: Interdisplay, Arial, sans-serif; }
.alexo-dialog::backdrop { background: #000b; backdrop-filter: blur(12px); }
.alexo-dialog h2 { font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: -.04em; margin: 14px 0 24px; }
.alexo-dialog h3 { font-size: 23px; line-height: 1.25; margin: 24px 0 12px; }
.alexo-dialog p { color: #bbb; font-size: 17px; line-height: 1.65; margin: 0 0 18px; }
.alexo-dialog .alexo-eyebrow { font: 12px 'Chivo Mono', monospace; letter-spacing: .1em; color: #9c9c9c; }
.alexo-dialog-close { float: right; border: 1px solid #ffffff30; border-radius: 50%; width: 36px; height: 36px; background: transparent; color: #fff; cursor: pointer; font-size: 24px; }
.alexo-dialog label { display: block; color: #ddd; font-size: 15px; margin: 18px 0 8px; }
.alexo-dialog input, .alexo-dialog textarea, .alexo-dialog select { width: 100%; color: white; background: #1e1e1e; border: 1px solid #ffffff25; padding: 14px; border-radius: 8px; font: inherit; }
.alexo-dialog textarea { min-height: 145px; resize: vertical; }
.alexo-dialog-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.alexo-action { display: inline-block; padding: 13px 22px; border-radius: 30px; background: white; color: #111; border: 0; font: inherit; cursor: pointer; text-decoration: none; }
.alexo-action.secondary { color: white; background: #ffffff12; border: 1px solid #ffffff30; }
.alexo-preview-note { font-size: 13px !important; margin-top: 16px !important; }
.alexo-concept-image { width: 100%; max-height: 360px; object-fit: cover; border-radius: 12px; margin-bottom: 24px; }
.alexo-reel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.alexo-reel img { aspect-ratio: 2/3; width: 100%; object-fit: cover; border-radius: 16px; animation: alexo-reel-image 5s ease-in-out infinite alternate; }
.alexo-reel img:nth-child(2) { animation-delay: -2s; }
.alexo-reel img:nth-child(3) { animation-delay: -4s; }
@keyframes alexo-reel-image { from { filter: brightness(.8); transform: translateY(0); } to { filter: brightness(1.1); transform: translateY(-7px); } }
:focus-visible { outline: 2px solid #c5fbaf; outline-offset: 5px; }
@media(max-width: 991px) {
 .hero-logo-wrapper { --alex-logo-size: min(10rem, 15.5vw); }
}
@media(max-width: 767px) {
 .alex-nav-brand-group { gap: 10px; }
 .alex-nav-brand-group .nav-brand { font-size: 1.55rem; white-space: nowrap; }
 .alex-anniversary-dock, .alex-anniversary.is-docked { width: 44px; height: 44px; }
 .alex-anniversary.is-docked .alex-anniversary-number { font-size: 24px; }
 .alex-anniversary.is-docked .alex-anniversary-label { font-size: 7px; }
 .alex-anniversary { width: 50px; height: 50px; }
 .alex-anniversary-number { font-size: 27px; }
 .hero-logo-sup-text { left: calc(100% - 20px); top: -12px; }
 .hero-logo-sup-text .alex-anniversary { width: 48px; height: 48px; }
 .hero-logo-sup-text .alex-anniversary-number { font-size: 25px; }
 .hero-logo-sup-text .alex-anniversary-label { font-size: 7px; }
 .alexo-dialog { padding: 24px; }
 .alexo-dialog p { font-size: 16px; }
 .hero-logo-wrapper { --alex-logo-size: clamp(2rem, 15.5vw, 5.6rem); }
 .hero-logo-main-text { font-size: inherit; }
}
@media(prefers-reduced-motion: reduce) {
 html { scroll-behavior: auto; }
 .alexo-motion-image, .alexo-reel img { animation: none; }
 .alex-anniversary { animation: none; transition: none; }
 .alex-anniversary-star.is-flashing { animation: alex-anniversary-flash .8s ease-out both; }
}

.alexo-photo-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.alexo-photo-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: 12px; }

/* Loading curtain: a fuse splits the screen before both panels open. */
.alex-curtain { display: none; }
html.alex-opening, html.alex-opening body { overflow: hidden; }
.alex-opening .alex-curtain { display: block; position: fixed; inset: 0; z-index: 10000; overflow: hidden; pointer-events: auto; }
.alex-curtain-panel { position: absolute; left: 0; width: 100%; height: 50.1%; background: #0a0a0b; transition: transform 1.6s cubic-bezier(.76,0,.24,1); will-change: transform; }
.alex-curtain-top { top: 0; }
.alex-curtain-bottom { bottom: 0; }
.alex-curtain-fuse { position: absolute; z-index: 2; top: 50%; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg,#8e632c,#f9d795,#fff); transform: scaleX(0); transform-origin: left; box-shadow: 0 0 9px #ffd98d, 0 0 22px #dfa24a99; }
.alex-curtain-spark { position: absolute; z-index: 3; top: calc(50% - 4px); left: -8px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 3px #fff, 0 0 18px 7px #ffdb8b, 0 0 42px 12px #d88b37aa; }
.alex-curtain-spark::after { content: ''; position: absolute; right: 0; top: 3px; width: 65px; height: 2px; background: linear-gradient(90deg,transparent,#ffe6ae); transform-origin: right; }
.alex-curtain.is-burning .alex-curtain-fuse { animation: alex-fuse-line 3.2s linear both; }
.alex-curtain.is-burning .alex-curtain-spark { animation: alex-fuse-spark 3.2s linear both; }
.alex-curtain.is-opening .alex-curtain-top { transform: translateY(-100%); }
.alex-curtain.is-opening .alex-curtain-bottom { transform: translateY(100%); }
.alex-curtain.is-opening .alex-curtain-fuse, .alex-curtain.is-opening .alex-curtain-spark { opacity: 0; transition: opacity .35s ease; }
@keyframes alex-fuse-line { to { transform: scaleX(1); } }
@keyframes alex-fuse-spark { to { left: calc(100% + 8px); } }
@media(prefers-reduced-motion: reduce) { .alex-curtain-fuse, .alex-curtain-spark { display: none; } .alex-curtain-panel { transition: none; } }

.service-card-description-block { max-width: 460px; }
.service-card-title-wrapper { max-width: 45%; align-self: flex-start; }
.service-card-title-wrapper h3 { hyphens: auto; overflow-wrap: break-word; }
.alex-service-details { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.alex-service-details strong { display: block; color: #fff; font-size: 16px; line-height: 1.4; font-weight: 500; margin-bottom: 4px; }
.alex-service-details span { display: block; font-size: 16px; line-height: 1.55; color: #ffffffb3; }
@media(max-width: 767px) { .service-card-title-wrapper, .service-card-description-block { max-width: 100%; } }
