/* Homepage artwork, layouts and motion. Shared foundations live in ../site/base.css. */



/* The DOM is complete and readable before the decorative WebGL scene loads. */
.hero { position: relative; min-height: min(990px, calc(100svh - 60px)); height: max(740px, calc(100svh - 60px)); max-height: 1100px; isolation: isolate; overflow: hidden; display: grid; place-items: center; }
.hero-art { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 82%, transparent); }
#orbital-scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
#orbital-scene canvas { display: block; width: 100%; height: 100%; }
.scene-ready #orbital-scene { opacity: 1; }
.orbit-fallback { position: absolute; width: 1500px; height: 1400px; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-24deg); opacity: .55; transition: opacity 1s ease; }
.orbit-fallback i { position: absolute; left: 50%; top: 50%; width: 22%; height: 27%; border: 1px solid #b9b8b2; border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-fallback i:nth-child(2) { width: 37%; height: 43%; }
.orbit-fallback i:nth-child(3) { width: 53%; height: 59%; }
.orbit-fallback i:nth-child(4) { width: 69%; height: 76%; }
.orbit-fallback i:nth-child(5) { width: 85%; height: 93%; }
.orbit-fallback i:nth-child(6) { width: 101%; height: 110%; }
.fallback-project { position: absolute; width: 190px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; opacity: .68; box-shadow: 0 8px 25px #1414160a; transition: opacity 1s ease; }
.fallback-project img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.fallback-one { left: 9%; top: 12%; transform: rotate(-9deg); }
.fallback-two { right: 7%; top: 20%; transform: rotate(8deg); }
.fallback-three { right: 23%; bottom: 5%; transform: rotate(-6deg); width: 150px; }
.scene-ready .orbit-fallback, .scene-ready .fallback-project { opacity: 0; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 39% 30% at 50% 53%, rgb(242 241 238 / .99) 10%, rgb(242 241 238 / .90) 45%, transparent 100%); }
.hero-topline, .hero-bottomline { position: absolute; left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.hero-topline { top: 28px; color: var(--muted); }
.hero-topline span:first-child::before { content: "+"; padding-right: 12px; font-size: 15px; }
.hero-bottomline { bottom: 26px; }
.hero-content { width: min(1100px, calc(100% - 48px)); text-align: center; padding: 68px 0 82px; }
.wordmark { display: flex; justify-content: center; margin: 0 0 34px; font: 800 clamp(80px, 13.8vw, 198px)/.98 var(--display); letter-spacing: -.085em; user-select: none; }
.wordmark > span { display: inline-block; overflow: hidden; padding: .06em .035em .05em 0; margin-right: -.035em; }
.wordmark i { display: inline-block; font-style: normal; transform-origin: 50% 100%; }
.hero h1 { font-size: clamp(26px, 3vw, 43px); line-height: 1.16; letter-spacing: -.055em; }
.hero h1 em { font-size: 1.13em; line-height: 1.25; }
.hero-description { margin: 20px auto 25px; max-width: 485px; font-size: 16px; line-height: 1.7; }
.hero-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }
.hero-location { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 25px; color: var(--muted); font-size: 9px; }
.status-dot { display: inline-block; width: 5px; height: 5px; background: var(--ink); border-radius: 50%; box-shadow: 0 0 0 4px #1414160a; }
.scroll-cue { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.scroll-cue-icon { display: grid; place-items: center; width: 26px; height: 33px; border: 1px solid var(--line); font-size: 17px; }
.motion-toggle { display: flex; gap: 9px; align-items: center; border: 0; padding: 10px 0 10px 10px; background: transparent; color: var(--muted); }
.motion-toggle:disabled { cursor: default; }
.motion-icon { width: 10px; font-size: 12px; }

.ticker { overflow: hidden; width: 100%; border-block: 1px solid var(--line); background: var(--soft); }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker-group { display: flex; flex: 0 0 auto; align-items: center; min-height: 59px; gap: 45px; padding-right: 45px; }
.ticker-group a, .ticker-group > span { white-space: nowrap; font: 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.ticker-group b { font-size: 25px; font-weight: 400; }
.ticker:focus-within .ticker-track, .ticker:hover .ticker-track, .motion-paused .ticker-track { animation-play-state: paused; }
.ticker a:hover { text-decoration: underline; text-underline-offset: 5px; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding-bottom: 85px; }
.section-bar { position: relative; display: flex; justify-content: space-between; gap: 15px; padding: 23px 32px; color: var(--muted); }
.draw-rule { position: absolute; inset: auto 0 0; height: 1px; background: var(--line); transform-origin: left; }
.section-bar::before, .section-bar::after { content: "+"; position: absolute; bottom: -11px; z-index: 1; font: 18px var(--mono); color: #99988f; }
.section-bar::before { left: -6px; }
.section-bar::after { right: -6px; }
.section-intro { padding: 67px 40px 58px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 70px; align-items: end; }
.section-intro > p, .section-intro > div { max-width: 450px; }
.section-intro p { font-size: 16px; line-height: 1.85; }
.section-intro .text-link { margin-top: 24px; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-bottom: 5px; border-bottom: 1px solid #a9a79f; font-size: 13px; font-weight: 500; line-height: 1.5; }
.text-link:hover { border-color: var(--ink); }
.text-link svg { transition: transform .3s; }
.text-link:hover svg { transform: translate(3px, -3px); }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.service-card { min-width: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.service-card:nth-child(3n) { border-right: 0; }
.card-caption { display: flex; justify-content: space-between; gap: 10px; padding: 15px 22px; color: var(--muted); font-size: 9px; }
.card-caption > span:last-child { color: #818079; }
.service-diagram { position: relative; margin: 0 21px; overflow: hidden; border: 1px solid var(--line); background: #eceae5; }
.service-diagram svg { width: 100%; height: auto; color: #64635c; fill: none; stroke: currentColor; stroke-width: 1; }
.service-diagram .diagram-paper { fill: var(--paper); }
.service-diagram .diagram-tint { fill: #dfddd5; }
.service-diagram .diagram-fill { fill: var(--ink); stroke: none; }
.service-copy { padding: 25px 22px 29px; }
.service-copy h3 { font-size: clamp(18px, 1.75vw, 25px); letter-spacing: -.04em; }
.service-copy h3 a, .project-description h3 a { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.service-copy h3 span { font: 20px var(--body); }
.service-copy p { margin-top: 13px; font-size: 13px; line-height: 1.9; }
.service-start { background: #e6e4dc; display: flex; flex-direction: column; }
.service-start-content { display: flex; flex-direction: column; align-items: flex-start; padding: 20px 27px 32px; flex-grow: 1; }
.turning-star { width: 43px; height: 43px; fill: currentColor; margin-bottom: 22px; }
.service-start h3 { font-size: clamp(27px, 2.4vw, 38px); }
.service-start p { font-size: 13px; margin: 12px 0 20px; }
.service-start .text-link { margin-top: auto; }

.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.project-card { padding: 23px; border-right: 1px solid var(--line); min-width: 0; perspective: 1100px; }
.project-card:last-child { border-right: 0; }
.project-visual { display: block; border: 1px solid #cac8c0; background: #e2e0d8; transform-style: preserve-3d; will-change: transform; }
.browser-chrome { padding: 10px 9px; display: flex; justify-content: space-between; gap: 8px; background: #e5e3dc; font-size: 8px; letter-spacing: .02em; color: #68665d; }
.browser-chrome > span:first-child { font-size: 6px; align-self: center; letter-spacing: 1px; }
.project-image { overflow: hidden; aspect-ratio: 4 / 3; background: #dfddd5; }
.project-image img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.project-visual:hover img { transform: scale(1.035); }
.project-description { padding-top: 26px; }
.project-description > .mono { margin-bottom: 9px; font-size: 8px; }
.project-description h3 { font-size: 28px; }
.project-description h3 span { font: 22px var(--body); }
.project-description > p:last-child { font-size: 13px; margin-top: 13px; padding-bottom: 6px; line-height: 1.9; }
.project-image.image-unavailable { display: grid; place-items: center; }
.project-image.image-unavailable::after { content: "Project image unavailable"; font: 10px var(--mono); text-transform: uppercase; letter-spacing: .05em; }

.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; padding: 70px 40px 15px; gap: 80px; align-items: center; }
.about-copy > p { margin-top: 20px; font-size: 14px; }
.about-copy .large-copy { font-size: 20px; color: var(--ink); line-height: 1.6; margin-top: 28px; }
.about-links { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; }
.horizon-art { border: 1px solid var(--line); background: #eae8e0; overflow: hidden; color: #5b5b50; }
.horizon-label { display: block; padding: 24px 24px 0; font-size: 9px; }
.horizon-art > svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: .8; }
.horizon-bottom { display: flex; justify-content: space-between; gap: 12px; padding: 20px 24px; border-top: 1px solid var(--line); font-size: 9px; }
.resources-layout, .faq-layout { display: grid; grid-template-columns: 1fr 1.25fr; gap: 85px; padding: 70px 40px 5px; }
.resources-layout > div:first-child > p { max-width: 320px; font-size: 14px; margin-block: 25px; }
.resource-list > a { position: relative; display: block; border-bottom: 1px solid var(--line); padding: 22px 38px 22px 0; transition: padding .3s, background .3s; }
.resource-list > a:first-child { padding-top: 0; }
.resource-list > a:hover { padding-left: 12px; background: #e9e7df; }
.resource-list .mono { font-size: 9px; color: var(--muted); }
.resource-list h3 { font-size: 22px; margin-top: 9px; line-height: 1.3; }
.resource-arrow { position: absolute; right: 6px; top: 50%; font-size: 23px; }
.resource-list > a:first-child .resource-arrow { top: 27%; }
.faq-layout { padding-top: 65px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 23px 0; list-style: none; font-size: 14px; font-weight: 500; line-height: 1.5; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary > span { font-size: 23px; font-weight: 400; transition: transform .3s; }
.faq-list details[open] summary > span { transform: rotate(45deg); }
.faq-answer { padding: 0 25px 25px 0; font-size: 13px; line-height: 1.9; }
.faq-answer a { text-decoration: underline; text-underline-offset: 3px; }

.contact-section { position: relative; overflow: hidden; isolation: isolate; padding: 88px 40px 100px; text-align: center; border-top: 1px solid var(--line); }
.contact-section > .mono { font-size: 9px; margin-bottom: 32px; }
.contact-section h2 { position: relative; display: inline-block; font-size: clamp(65px, 8.5vw, 128px); line-height: .97; }
.contact-section h2 em { font-size: 1.11em; }
.contact-section h2 svg { position: absolute; width: .30em; height: .30em; right: -.5em; top: 48%; fill: currentColor; }
.contact-description { margin: 31px auto 26px; font-size: 14px; max-width: 530px; }
.contact-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 26px; }
.contact-orbits { position: absolute; width: 140%; height: 190%; inset: -40% -20%; z-index: -1; transform: rotate(-25deg); opacity: .4; }
.contact-orbits i { position: absolute; inset: 14%; border: 1px solid var(--line); border-radius: 50%; }
.contact-orbits i:nth-child(2) { inset: 4%; }
.contact-orbits i:nth-child(3) { inset: 24%; }

.scroll-ruler { position: fixed; z-index: 45; top: 86px; bottom: 30px; right: 0; width: 42px; }
.ruler-track { position: absolute; inset: 0 0 0 0; background: repeating-linear-gradient(to bottom, #b5b3ab 0, #b5b3ab 1px, transparent 1px, transparent 12px) right top / 9px 100% no-repeat; }
.ruler-number { position: absolute; right: 15px; font: 8px var(--mono); color: #7e7d77; transform: translateY(-50%); }
.ruler-track > a { position: absolute; right: 0; width: 32px; height: 22px; transform: translateY(-50%); display: grid; place-items: center; }
.ruler-track > a::after { content: ""; width: 5px; height: 5px; border: 1px solid var(--muted); background: var(--paper); transform: rotate(45deg); }
.ruler-track > a:hover::after, .ruler-track > a[aria-current="location"]::after { background: var(--ink); }
.ruler-progress { position: absolute; left: 0; right: 0; top: 0; border-top: 1px solid var(--ink); pointer-events: none; }
.ruler-progress > span { display: block; width: fit-content; font: 8px var(--mono); background: var(--paper); padding: 3px 4px; color: var(--ink); }

@media (min-width: 1700px) { .hero-topline, .hero-bottomline { left: calc((100% - 1400px)/2); right: calc((100% - 1400px)/2); } }
@media (max-width: 1100px) {
  .section-intro, .about-grid, .resources-layout, .faq-layout { padding-inline: 28px; gap: 40px; }
  .project-card { padding: 18px; }
  .scroll-ruler { width: 31px; }
}
@media (max-width: 900px) {
  .hero { height: max(700px, calc(100svh - 60px)); }
  .hero-content { width: calc(100% - 56px); }
  .wordmark { font-size: 14.5vw; }
  .hero-art::after { background: radial-gradient(ellipse 48% 35% at 50% 50%, var(--paper) 10%, rgb(242 241 238 / .95) 40%, transparent 100%); }
  .hero-topline { font-size: 8px; }
  .hero h1 { font-size: 32px; }
  .hero-bottomline { font-size: 8px; }
  .scroll-cue { font-size: 8px; }
  .motion-toggle { font-size: 8px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:nth-child(3n) { border-right: 1px solid var(--line); }
  .service-card:nth-child(2n) { border-right: 0; }
  .service-copy h3 { font-size: 24px; }
  .section-aside { max-width: 230px; text-align: right; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 25px; padding: 26px; border-right: 0; border-bottom: 1px solid var(--line); align-items: center; }
  .project-card:last-child { border-bottom: 0; }
  .project-description { padding-top: 0; }
  .project-description h3 { font-size: 31px; }
  .about-grid { gap: 35px; }
  .horizon-label { padding-inline: 15px; font-size: 8px; }
  .horizon-bottom { font-size: 7px; padding-inline: 15px; }
  .resources-layout, .faq-layout { grid-template-columns: 1fr 1.3fr; gap: 35px; }
  .resource-list h3 { font-size: 19px; }
  .scroll-ruler { display: none; }
}
@media (max-width: 600px) {
  .hero { min-height: 710px; height: calc(100svh - 54px); max-height: 850px; }
  .hero-topline { top: 22px; align-items: flex-start; gap: 10px; font-size: 8px; letter-spacing: .07em; }
  .hero-topline span:first-child { max-width: 120px; }
  .hero-topline span:first-child::before { display: none; }
  .hero-topline span:last-child { max-width: 100px; text-align: right; }
  .hero-content { width: calc(100% - 36px); padding-top: 90px; padding-bottom: 65px; }
  .wordmark { font-size: 15.2vw; margin-bottom: 33px; }
  .hero h1 { font-size: clamp(24px, 6.3vw, 33px); }
  .hero-description { font-size: 13px; max-width: 320px; margin: 20px auto 24px; text-wrap: pretty; }
  .hero-buttons { gap: 9px; flex-direction: column; align-items: center; }
  .hero-buttons .button { min-width: 245px; padding-block: 14px; min-height: 47px; font-size: 9px; }
  .hero-location { gap: 9px; font-size: 8px; letter-spacing: .06em; margin-top: 22px; }
  .hero-bottomline { bottom: 16px; gap: 10px; }
  .scroll-cue { font-size: 8px; letter-spacing: .025em; gap: 9px; }
  .scroll-cue-icon { width: 20px; height: 28px; font-size: 14px; }
  .motion-toggle { font-size: 8px; letter-spacing: .025em; gap: 4px; }
  .hero-art::after { background: radial-gradient(ellipse 64% 36% at 50% 53%, var(--paper) 20%, rgb(242 241 238 / .95) 45%, transparent 100%); }
  .fallback-project { width: 110px; }
  .fallback-one { left: -4%; top: 14%; }
  .fallback-two { right: -4%; top: 12%; }
  .fallback-three { bottom: 4%; right: 20%; width: 95px; }
  .ticker-group { min-height: 49px; gap: 26px; padding-right: 26px; }
  .ticker-group a, .ticker-group > span { font-size: 9px; }
  .ticker-group b { font-size: 21px; }
  .section { padding-bottom: 48px; }
  .section-bar { padding: 19px 17px; }
  .section-bar > .mono { font-size: 8px; }
  .section-aside { display: none; }
  .section-intro { grid-template-columns: 1fr; padding: 40px 20px 35px; gap: 25px; }
  h2 { font-size: clamp(38px, 10.5vw, 58px); }
  .section-intro p { font-size: 13px; line-height: 1.8; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card, .service-card:nth-child(3n) { border-right: 0; }
  .card-caption { padding: 16px 20px; }
  .service-diagram { margin-inline: 20px; }
  .service-copy { padding: 23px 20px 28px; }
  .service-copy h3 { font-size: 24px; }
  .service-start-content { padding: 15px 22px 30px; }
  .service-start h3 { font-size: 35px; }
  .service-start .turning-star { margin-bottom: 24px; }
  .project-card { grid-template-columns: 1fr; gap: 25px; padding: 22px 20px 30px; }
  .project-description h3 { font-size: 29px; }
  .project-description > p:last-child { padding-bottom: 0; }
  .about-grid { grid-template-columns: 1fr; padding: 40px 20px 0; gap: 34px; }
  .about-copy > p { font-size: 13px; }
  .about-copy .large-copy { font-size: 19px; }
  .about-links { gap: 18px; }
  .text-link { font-size: 12px; gap: 14px; }
  .horizon-label { font-size: 8px; }
  .horizon-bottom { font-size: 8px; }
  .resources-layout, .faq-layout { grid-template-columns: 1fr; padding: 40px 20px 0; gap: 35px; }
  .resources-layout > div:first-child > p { font-size: 13px; margin-block: 22px; }
  .resource-list h3 { font-size: 20px; }
  .faq-list summary { font-size: 13px; gap: 15px; }
  .faq-answer { font-size: 12px; padding-right: 12px; }
  .contact-section { padding: 55px 20px 60px; }
  .contact-section > .mono { font-size: 7px; letter-spacing: .08em; margin-bottom: 30px; }
  .contact-section h2 { font-size: 19vw; }
  .contact-description { font-size: 13px; margin-top: 28px; }
  .contact-actions { flex-direction: column; gap: 23px; }
  .contact-actions .button { font-size: 9px; gap: 16px; }
}
@media (max-width: 350px) {
  .hero-location { font-size: 7px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .ticker-track { width: 100%; transform: none; }
  .ticker-group:first-child { flex-wrap: wrap; justify-content: center; padding: 16px 20px; gap: 12px 24px; width: 100%; }
  .ticker-group[aria-hidden="true"] { display: none; }
  .project-visual:hover img { transform: none; }
}
