@font-face { font-family: "WindSong"; src: url("assets/fonts/WindSong-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
.work { --work-padding: 32px; --heading-gap: 24px; overflow-anchor: none; max-width: 1920px; margin: auto; padding: 32px clamp(22px, 4.444444vw, 80px) 72px; background: var(--paper); }
.work p { margin: 0; }
.work-heading { overflow: hidden; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 24px; }
.work .eyebrow { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; font-size: 13px; text-transform: none; letter-spacing: 0; color: var(--ink); }
.work .eyebrow::before { content: ''; width: 6px; height: 6px; background: var(--violet); border-radius: 50%; }
.work h2 { margin: 0; max-width: none; font-size: clamp(38px, 4.7vw, 80px); line-height: 1; font-weight: 500; letter-spacing: -.05em; }
.work-intro { font-size: 16px; line-height: 1.4; padding-bottom: 3px; }
.project-stage { position: relative; height: var(--scene-height, clamp(220px, calc(100svh - 320px), 720px)); container-type: size; }
.project-scene { --project-ground: #0b3c46; --project-ink: #f6f7f2; position: absolute; inset: 0; overflow: hidden; isolation: isolate; color: #fff; background: var(--project-ground); }
.project-scene[hidden] { display: none; }
.scene-surface, .poster-shade, .scene-foreground { position: absolute; inset: 0; pointer-events: none; }
.scene-surface { z-index: 1; background: #125b68; }
.scene-quietude { --project-ground: #e4d2c1; --project-ink: #352820; color: #352820; }
.scene-naturelo { --project-ground: #271c14; --project-ink: #f2dfc6; }
.scene-quietude .scene-surface { background: #f4ebe2; }
.scene-naturelo .scene-surface { background: linear-gradient(100deg, #291a11dd, #58351a99), url("assets/scenes/optimized/naturelo-earth.webp") center / cover; }
.scene-photo { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.scene-photo img, .scene-foreground img { position: absolute; width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; }
.poster-shade { z-index: 3; background: linear-gradient(90deg, #083e4440, transparent 74%), linear-gradient(0deg, #073a43bb, transparent 26%); }
.scene-quietude .poster-shade { background: linear-gradient(90deg, #f4ebe2 32%, #f4ebe2b3 42%, transparent 58%); }
.scene-naturelo .poster-shade { background: none; }
.work .poster-title { position: absolute; z-index: 4; margin: 0; left: 4.6%; top: 14%; font-family: var(--display); font-size: min(20cqw, calc((86cqh - 100px) / 1.56)); line-height: .78; font-weight: 600; letter-spacing: -.065em; color: inherit; }
.scene-assurances .poster-title span { display: block; margin-left: .35em; }
.scene-foreground { z-index: 5; overflow: hidden; mask-image: url("assets/scenes/assurances-lighthouse-mask.svg"); mask-repeat: no-repeat; }
.scene-assurances { --assurances-shade: linear-gradient(90deg, #083e4440, transparent 74%), linear-gradient(0deg, #073a43bb, transparent 26%); }
.scene-assurances .poster-shade, .scene-foreground::after { background: var(--assurances-shade); }
.scene-foreground::after { content: ""; position: absolute; inset: 0; }
.scene-quietude .poster-title { top: 16%; font-size: min(9.2cqw, 23cqh); line-height: .98; font-weight: 500; color: #352820; letter-spacing: -.055em; }
.scene-naturelo .poster-title { top: 13%; left: 5.5%; font-family: "WindSong", cursive; font-size: min(14.8cqw, 29cqh); line-height: 1.2; font-weight: 400; letter-spacing: 0; color: #f2dfc6; }
.poster-note { position: absolute; z-index: 4; top: 49%; left: 10%; font-family: var(--display); font-size: min(4.5cqw, 8cqh); line-height: 1.04; letter-spacing: -.04em; color: #f2dfc6; }
.scene-caption { position: absolute; z-index: 7; bottom: 34px; left: 4.6%; font-size: 15px; line-height: 1.5; }
.scene-caption p + p { font-size: 12px; opacity: .8; margin-top: 4px; }
.scene-controls { display: flex; position: absolute; z-index: 8; bottom: 34px; right: 3%; gap: 20px; align-items: center; }
.scene-action, .visit-site { display: inline-flex; gap: 24px; align-items: center; justify-content: space-between; min-height: 48px; padding: 14px 20px; border: 1px solid transparent; border-radius: 0; font-size: 14px; line-height: 1.2; cursor: pointer; white-space: nowrap; }
.scene-action { background: #fff; color: #000; }
.visit-site span { font-size: 1em; line-height: 1; }
.scene-action:hover { background: var(--lime); }
.scene-action[aria-disabled="true"] { cursor: wait; }
.scene-action[hidden], .visit-site[hidden] { display: none; }
.visit-site { border-color: currentColor; }
.visit-site:hover { background: var(--lime); color: #000; border-color: var(--lime); }
.scene-action:focus-visible, .visit-site:focus-visible { outline: 3px solid var(--lime); outline-offset: 5px; }
.site-view { position: absolute; z-index: 0; opacity: 0; overflow: hidden; }
.site-view picture, .site-view img { display: block; width: 100%; height: 100%; }
.site-view img { object-fit: contain; opacity: 0; }
.site-bitmap { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-assurances .site-view { outline: 1px solid #d5d5d5; outline-offset: -1px; }
.scene-error { position: absolute; z-index: 8; top: 16px; left: 16px; max-width: calc(100% - 32px); padding: 12px; background: #fff; color: #000; font-size: 14px; }
.project-navigation { display: flex; gap: 24px; align-items: center; justify-content: space-between; border-bottom: 1px solid #dcdcdc; }
.project-pager { display: none; }
.project-tabs { display: flex; gap: clamp(24px, 3.2vw, 56px); }
.project-tabs button { position: relative; display: flex; align-items: baseline; gap: 10px; text-align: left; background: none; border: 0; padding: 26px 0; min-height: 66px; cursor: pointer; font-size: 14px; line-height: 1.3; }
.project-number { font-size: 11px; color: #707070; }
.project-tabs button::after { content: ''; position: absolute; bottom: -1px; left: 0; width: 100%; height: 2px; background: var(--violet); transform: scaleX(0); transform-origin: left; }
.project-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.project-tabs button:hover { color: var(--violet); }
.all-projects { display: inline-flex; justify-content: space-between; gap: 24px; align-items: center; min-height: 48px; font-size: 13px; white-space: nowrap; }
.all-projects span { font-size: 22px; }
.all-projects:hover { color: var(--violet); }
@media (min-width: 761px) and (max-height: 700px) {
  .work .poster-title { top: 10%; font-size: min(17cqw, 45cqh); }
  .scene-quietude .poster-title { font-size: min(9cqw, 24cqh); }
  .scene-naturelo .poster-title { font-size: min(13cqw, 29cqh); }
}
@media (max-width: 1050px) {
  .work-intro { font-size: 14px; }
  .project-tabs { gap: 20px; }
  .project-tabs button { font-size: 12px; gap: 7px; }
  .all-projects { font-size: 12px; gap: 10px; }
  .scene-caption { font-size: 13px; }
}
@media (max-width: 760px) {
  .work { --work-padding: 24px; --heading-gap: 16px; padding: 24px var(--gutter) 48px; }
  .work-heading { margin-bottom: 16px; }
  .work .eyebrow { display: none; }
  .work h2 { max-width: none; font-size: clamp(28px, 8.7vw, 58px); line-height: 1.04; }
  .work-intro { display: none; }
  .work .poster-title { top: 14%; left: 6%; font-size: min(26cqw, 24cqh); line-height: .85; }
  .scene-assurances .poster-title span { margin-left: 0; }
  .scene-assurances { --assurances-shade: linear-gradient(0deg, #073a43e8, transparent 42%); }
  .scene-quietude .poster-title { top: 6%; font-size: min(21cqw, 19cqh); line-height: .98; }
  .scene-quietude .poster-shade { background: linear-gradient(#f4ebe2 18%, #f4ebe2dd 28%, transparent 48%), linear-gradient(0deg, #f4ebe2 0%, #f4ebe2f0 18%, transparent 36%); }
  .scene-naturelo .poster-title { top: 12%; left: 7%; font-size: 15.2cqw; }
  .poster-note { top: 36%; left: 9%; font-size: min(10cqw, 10cqh); }
  .scene-caption { left: 20px; bottom: 100px; right: 20px; font-size: 14px; }
  .scene-caption p + p { font-size: 11px; }
  .scene-controls { left: 20px; bottom: 24px; right: auto; }
  .scene-action { min-height: 48px; font-size: 13px; }
  .project-navigation { flex-direction: column; align-items: stretch; gap: 0; border: 0; }
  .project-tabs { display: grid; grid-template-columns: 1.55fr 1fr .85fr; gap: 16px; border-bottom: 1px solid #dcdcdc; }
  .project-tabs button { display: block; font-size: 12px; padding-block: 12px; }
  .project-number { display: block; margin-bottom: 6px; font-size: 10px; }
  .scenes-ready .project-tabs { display: none; }
  .scenes-ready .project-stage { touch-action: pan-y pinch-zoom; }
  .scenes-ready .project-pager { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; }
  .project-count { display: flex; align-items: baseline; gap: 8px; font-size: 15px; font-variant-numeric: tabular-nums; }
  .project-current { color: var(--violet); }
  .project-directions { display: flex; gap: 10px; }
  .project-directions button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: var(--paper); cursor: pointer; }
  .project-directions svg { display: block; fill: none; stroke: currentColor; stroke-width: 1.25; }
  .project-directions button:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
  .all-projects { align-self: stretch; justify-content: center; padding: 12px 16px; font-size: 14px; margin-top: 20px; min-height: 52px; border: 1px solid var(--ink); background: var(--paper); white-space: normal; text-align: center; }
}
@media (max-width: 760px) and (hover: hover) {
  .project-directions button:hover { color: var(--violet); border-color: var(--violet); }
  .all-projects:hover { border-color: var(--violet); }
}
@media (max-width: 760px) and (max-height: 700px) {
  .scene-caption { bottom: 86px; font-size: 12px; }
  .scene-caption p + p { display: none; }
  .scene-quietude .poster-title { font-size: min(21cqw, 14cqh); }
}
@media (min-width: 761px) and (min-height: 601px) and (max-height: 850px) {
  .scene-assurances .poster-title { top: 7%; font-size: min(20cqw, 55cqh); }
  .scene-assurances .scene-caption { top: 20px; bottom: auto; left: auto; right: 3%; text-align: right; }
  .scene-assurances { --assurances-shade: linear-gradient(180deg, #073a4380, transparent 26%), linear-gradient(90deg, #083e4440, transparent 74%), linear-gradient(0deg, #073a43bb, transparent 26%); }
}
@media (min-width: 761px) and (max-height: 600px) {
  .work { --work-padding: 16px; --heading-gap: 14px; padding-top: 16px; }
  .work-heading { margin-bottom: 14px; }
  .work .eyebrow, .work-intro { display: none; }
  .work h2 { font-size: 32px; }
  .project-tabs button { padding-block: 16px; min-height: 54px; }
  .work .poster-title { top: 7%; font-size: min(17cqw, 34cqh); }
  .scene-quietude .poster-title { font-size: min(9cqw, 24cqh); }
  .scene-naturelo .poster-title { font-size: min(13cqw, 29cqh); }
  .scene-caption { bottom: 18px; left: 24px; font-size: 12px; }
  .scene-caption p + p { display: none; }
  .scene-controls { bottom: 12px; }
  .scene-action { min-height: 40px; padding: 10px 16px; }
}

.work-heading-slot { position: relative; }
.work-heading-slot .work-heading { position: absolute; inset: 0 0 auto; overflow: visible; margin: 0; }
.project-scene { overflow: visible; background: transparent; }
.scene-viewport { position: absolute; inset: 0; overflow: hidden; background: var(--project-ground); transform-origin: 0 0; }
.scene-content { position: relative; width: 100%; height: 100%; container-type: size; transform-origin: 0 0; }
.scene-photo, .scene-photo img { transform-origin: 0 0; }
.design-toolbar { position: absolute; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 44px; color: var(--project-ink); }
.design-toolbar[hidden] { display: none; }
.design-toolbar > p { min-width: 0; font-size: 16px; font-weight: 500; line-height: 1.3; }
.design-actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.scene-return, .design-visit { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; font-size: 12px; line-height: 1.25; color: inherit; background: transparent; text-decoration: none; white-space: nowrap; cursor: pointer; }
.scene-return { padding: 8px 0; border: 0; opacity: .75; transition: opacity .2s; }
.scene-return:hover { opacity: 1; }
.design-visit { gap: 12px; padding: 9px 13px; border: 1px solid color-mix(in srgb, currentColor 45%, transparent); border-radius: 5px; transition: background-color .2s, border-color .2s; }
.design-visit span { font-size: 1em; line-height: 1; }
.design-visit:hover { background: color-mix(in srgb, currentColor 9%, transparent); border-color: currentColor; }
.scene-return:focus-visible, .design-visit:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 1050px) and (min-width: 761px) {
  .design-toolbar { gap: 16px; }
  .design-toolbar > p { font-size: 14px; }
  .design-actions { gap: 16px; }
  .scene-return, .design-visit { font-size: 11px; }
}
@media (max-width: 760px) {
  .design-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .design-toolbar > p { font-size: 15px; }
  .design-actions { width: 100%; justify-content: space-between; gap: 12px; }
  .scene-return, .design-visit { font-size: 11px; }
  .design-visit { gap: 8px; padding-inline: 9px; }
}

.scene-photo, .scene-photo img { transform: translate(0, 0) scale(1, 1); will-change: transform; }

.project-stage { transform: translateY(0px); will-change: transform; }
