@media screen {

:root {
    --ink: #ffffff;
    --muted: #ffffff;
    --forest: #000000;
    --forest2: #000000;
    --cream: #000000;
    --paper: #080b10;
    --sand: #080b10;
    --line: #8bd4ff;
    --clay: #8bd4ff;
    --gold: #8bd4ff;
    --white: #ffffff;
    --shadow: none;
    color-scheme: dark;
}

html, body, main {
    background: #000000 !important;
    color: #ffffff !important;
}

.topbar, .hero, .quickbar,
.section, .darksection,
.contact, .footer {
    background: #000000 !important;
    color: #ffffff !important;
}

.card, .dashboard, .metric,
.note, .pill, .ribbon,
.degree-status {
    background: #080b10 !important;
    border: 1px solid #8bd4ff !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.dashboard-top, .dashnav,
.dash-main {
    background: #080b10 !important;
    color: #ffffff !important;
}

body :is(
    h1,h2,h3,h4,h5,h6,
    p,span,strong,small,
    em,li,a,b,label,button
) {
    color: #ffffff !important;
}

.hero .intro, .hero-meta,
.hero-meta strong, .hero-tag,
.intro, .lead, .eyebrow,
.sideline, .mini, .art-label,
.quickitem strong, .quickitem span,
.card p, .card .mini,
.education-notes, .service p,
.stage p, .concept, .note,
.ribbon, .contact-details,
.footer, .nav a,
.dash-main p, .dash-list li em,
.metric small, .brand span {
    color: #ffffff !important;
}

.topbar, .quickbar, .quickitem,
.card, .dashboard, .dashboard-top,
.dashnav, .metric, .pill,
.note, .stage, .service,
.contact, .footer,
.contact-details, .hero-tag,
.ribbon, .btn, .section + .section {
    border-color: #8bd4ff !important;
}

.services, .stages,
.dash-list li {
    border-color: #8bd4ff !important;
}

.btn, .btn.dark,
.btn.paper, .btn.ghost {
    background: #080b10 !important;
    color: #ffffff !important;
    border: 1px solid #8bd4ff !important;
}

.btn:hover, .dash-tab:hover {
    background: #102c42 !important;
}

.dash-tab {
    color: #ffffff !important;
    background: transparent !important;
}

.dash-tab[aria-selected="true"] {
    background: #102c42 !important;
    color: #ffffff !important;
    outline: 1px solid #8bd4ff;
}

.degree .rule {
    background: #8bd4ff !important;
}

.dotset i {
    background: #8bd4ff !important;
}

#dusk stop:first-child {
    stop-color: #b9e5ff !important;
}

#dusk stop:last-child {
    stop-color: #57a9db !important;
}

:focus-visible {
    outline-color: #8bd4ff !important;
}

}


/* Education section beneath Explore the approach */
.hero #credentials {
    padding: 35px 0;
}
.hero #credentials .page {
    padding: 0;
}
.hero #credentials .secthead {
    display: block;
    margin-bottom: 25px;
}
.hero #credentials .secthead h2 {
    font-size: 2rem;
}
.hero #credentials .three {
    grid-template-columns: 1fr;
}
.hero #credentials .card {
    padding: 20px;
}


/* DC RESPONSIVE START */
@media screen {

  /* General page widths */
  .page, .topinner, .footerinner {
    width: 100%;
    max-width: 1320px;
    margin-inline: auto;
    padding-inline: clamp(18px, 3vw, 40px);
  }

  body { overflow-wrap: break-word; }
  html { scroll-padding-top: 100px; }

  /* Navigation */
  .topinner { gap: clamp(12px, 2vw, 28px); }
  .nav { gap: clamp(12px, 1.6vw, 25px); }

  /* Main introduction and architectural illustration */
  .hero-grid {
    display: block;
    min-height: 0;
    position: relative;
  }

  .hero-content {
    width: 100%;
    padding: clamp(56px, 7vw, 92px) 0 65px;
  }

  .hero-content > h1 {
    max-width: 57%;
    font-size: clamp(3.2rem, 6vw, 6rem);
    overflow-wrap: break-word;
  }

  .hero-content > .eyebrow,
  .hero-content > .hero-tag,
  .hero-content > .intro {
    max-width: 54%;
  }

  .hero-art {
    position: absolute;
    top: 36px;
    right: 0;
    width: 42%;
    height: 520px;
    min-height: 0;
    pointer-events: none;
  }

  .architectural {
    width: 112%;
    max-height: 490px;
  }

  /* Education and Skills & Tools */
  .hero #credentials,
  .hero #capabilities {
    padding: 48px 0 0;
    background: transparent;
    scroll-margin-top: 100px;
  }

  .hero #credentials .page,
  .hero #capabilities .page {
    padding: 0;
    max-width: none;
  }

  .hero #credentials .secthead,
  .hero #capabilities .secthead {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px;
    margin-bottom: 26px;
  }

  .hero #credentials .secthead h2 {
    font-size: clamp(2rem, 3.4vw, 3.2rem);
  }

  .hero #credentials .three,
  .hero #capabilities .skills {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .hero #credentials .card,
  .hero #capabilities .card {
    min-width: 0;
    padding: 24px;
  }

  .hero #capabilities {
    margin-top: 24px;
    border-top: 1px solid var(--line);
  }

  .hero-meta { margin-top: 32px; }
  .section { scroll-margin-top: 110px; }

  /* TABLET */
  @media (min-width: 731px) and (max-width: 1100px) {

    .topinner {
      flex-wrap: wrap;
      padding-block: 12px;
    }

    .topinner .nav {
      display: flex;
      order: 3;
      width: 100%;
      margin: 0;
      justify-content: center;
      flex-wrap: wrap;
    }

    .topactions { margin-left: auto; }

    .hero-content > h1 {
      max-width: 60%;
      font-size: clamp(3rem, 6vw, 4.8rem);
    }

    .hero-art {
      top: 55px;
      width: 40%;
      height: 420px;
    }

    .hero #credentials .three,
    .hero #capabilities .skills {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero #credentials .secthead,
    .hero #capabilities .secthead {
      grid-template-columns: 145px minmax(0, 1fr);
    }

    .contact-grid { gap: 30px; }
  }

  /* PHONE */
  @media (max-width: 730px) {

    html { scroll-padding-top: 16px; }
    .topbar { position: relative; }

    .topinner {
      flex-wrap: wrap;
      gap: 8px 14px;
      padding-block: 10px;
    }

    .topinner .nav {
      display: flex;
      order: 3;
      width: 100%;
      margin: 0;
      gap: 18px;
      overflow-x: auto;
      flex-wrap: nowrap;
      padding: 7px 0 3px;
      white-space: nowrap;
      scrollbar-width: thin;
    }

    .nav a { flex: 0 0 auto; }
    .topactions { margin-left: auto; }

    .topactions .btn.dark {
      padding: 8px 10px;
      font-size: .69rem;
    }

    .hero-content { padding: 44px 0 50px; }

    .hero-content > h1 {
      max-width: 100%;
      font-size: clamp(2.65rem, 10.5vw, 4.5rem);
      line-height: 1.03;
      margin: 18px 0 20px;
    }

    .hero-content > .eyebrow,
    .hero-content > .hero-tag,
    .hero-content > .intro {
      max-width: 100%;
    }

    .hero .intro { font-size: 1rem; }
    .hero-art { display: none; }

    .hero #credentials,
    .hero #capabilities {
      padding-top: 42px;
      scroll-margin-top: 16px;
    }

    .hero #credentials .secthead,
    .hero #capabilities .secthead {
      display: block;
      margin-bottom: 20px;
    }

    .hero #credentials .secthead h2 {
      font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero #credentials .three,
    .hero #capabilities .skills {
      grid-template-columns: 1fr;
      gap: 14px;
    }

    .hero #credentials .card,
    .hero #capabilities .card {
      padding: 21px;
    }

    .hero #capabilities { margin-top: 28px; }

    .hero-meta {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 15px;
    }

    .section { scroll-margin-top: 20px; }

    .dash-list li { flex-wrap: wrap; }

    .stages { grid-template-columns: 1fr; }

    .stage,
    .stage:nth-child(3),
    .stage:nth-child(2n) {
      border-right: 0;
      border-top: 1px solid var(--line);
      padding: 18px 0;
    }

    .stage:first-child { border-top: 0; }
  }

  /* SMALL PHONES */
  @media (max-width: 440px) {

    .quickinner { grid-template-columns: 1fr; }

    .quickitem,
    .quickitem:first-child,
    .quickitem:nth-child(3) {
      padding: 14px 0;
      border-right: 0;
      border-top: 1px solid var(--line);
    }

    .quickitem:first-child { border-top: 0; }
    .hero-meta { grid-template-columns: 1fr; }
  }
}
/* DC RESPONSIVE END */

/* Header branding */
.topbar .brand {
    white-space: normal;
    line-height: 1.3;
}

.site-end-contact {
    padding: 34px 20px 38px;
    border-top: 1px solid rgba(255, 255, 255, .18);
    background: #000;
    color: #f8f6ef;
    text-align: center;
}

.site-end-contact a {
    color: inherit;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-decoration: none;
}

.site-end-contact a:hover {
    text-decoration: underline;
}

.header-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    color: var(--forest);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .015em;
    text-decoration: none;
    white-space: nowrap;
}

.header-email svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.header-email:hover {
    color: var(--clay);
}

.header-email:hover span {
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 730px) {
    .header-email {
        gap: 6px;
        font-size: .72rem;
    }

    .header-email svg {
        width: 17px;
        height: 17px;
    }
}


/* Main heading — 70% size */
@media screen {
    .hero h1.serif {
        font-size: clamp(2.24rem, 4.2vw, 4.2rem) !important;
    }

    @media (max-width: 730px) {
        .hero h1.serif {
            font-size: clamp(1.855rem, 7.35vw, 3.15rem) !important;
        }
    }
}


/* DC CONSISTENT LAYOUT START */

@media screen {

    /* Consistent section spacing and dividers */
    #opportunity,
    #credentials,
    #capabilities,
    #project-hub {
        padding: clamp(40px, 5vw, 72px) 0 !important;
        margin: 0 !important;
        border-top: 2px solid #8BD4FF !important;
        border-bottom: 0 !important;
        scroll-margin-top: 90px;
    }

    /* Consistent alignment */
    .hero-content > .section > .page {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: none !important;
    }

    /* Section headings */
    #opportunity .secthead,
    #credentials .secthead,
    #capabilities .secthead,
    #project-hub .secthead {
        display: block !important;
        margin: 0 0 28px !important;
        padding: 0 !important;
    }

    /* Heading and paragraph spacing */
    .secthead h2 {
        margin: 0 !important;
    }

    .secthead .lead {
        margin: 16px 0 0 !important;
    }

    /* Uniform card spacing */
    #opportunity .three,
    #credentials .three,
    #capabilities .skills {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 20px !important;
    }

    #opportunity .card,
    #credentials .card,
    #capabilities .card {
        min-width: 0;
        padding: 24px !important;
    }
}

/* Tablet */
@media screen and (max-width: 1100px) {
    #opportunity .three,
    #credentials .three,
    #capabilities .skills {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Phone */
@media screen and (max-width: 730px) {
    #opportunity .three,
    #credentials .three,
    #capabilities .skills {
        grid-template-columns: 1fr !important;
    }

    #opportunity,
    #credentials,
    #capabilities,
    #project-hub {
        padding: 36px 0 !important;
        scroll-margin-top: 20px;
    }

    #opportunity .card,
    #credentials .card,
    #capabilities .card {
        padding: 20px !important;
    }
}

/* DC CONSISTENT LAYOUT END */

/* Four-card desktop grids */
@media screen and (min-width: 1101px) {
    #opportunity .three,
    #credentials .three,
    #capabilities .skills {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

.degree h2.degree-status {
    margin: 0 0 4px;
    font-family: inherit;
    line-height: 1.2;
}

.interactive-plans-demo {
    width: min(85vw, 86vh, 1080px);
    margin: 0 auto clamp(40px, 5vw, 72px);
    padding-top: clamp(28px, 4vh, 40px);
    border-top: 2px solid #8bd4ff;
}

.interactive-plans-demo h2 {
    width: 100%;
    margin: 0 auto 18px;
    color: #fff;
    font-size: clamp(2.25rem, 4vw, 4rem);
    line-height: 1.05;
}

.interactive-plans-media {
    position: relative;
    width: 100%;
    margin: 0 auto;
}

.interactive-plans-demo video {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 6 / 5;
    border: 2px solid #8bd4ff;
    border-radius: 12px;
    background: #000;
    object-fit: cover;
}

.interactive-plans-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: clamp(68px, 8vw, 92px);
    aspect-ratio: 1;
    padding: 0;
    border: 2px solid #8bd4ff;
    border-radius: 50%;
    background: rgba(8, 16, 17, .82);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
    transform: translate(-50%, -50%);
    transition: background .2s ease, transform .2s ease;
}

.interactive-plans-play:hover {
    background: rgba(8, 16, 17, .96);
    transform: translate(-50%, -50%) scale(1.05);
}

.interactive-plans-play span {
    display: block;
    width: 0;
    height: 0;
    margin-left: 39%;
    border-top: 13px solid transparent;
    border-bottom: 13px solid transparent;
    border-left: 21px solid #fff;
}

.interactive-plans-play[hidden] {
    display: none;
}

@media screen and (max-width: 730px) {
    .interactive-plans-demo {
        padding-top: 36px;
        margin-bottom: 36px;
    }

    .interactive-plans-demo h2 {
        margin-bottom: 20px;
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .interactive-plans-demo video {
        border-radius: 8px;
    }
}


/* DC CAROUSEL START */
@media screen {
    .dc-carousel {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .dc-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding: 20px calc((100% - min(76%, 850px)) / 2);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .dc-track::-webkit-scrollbar {
        display: none;
    }

    .dc-slide {
        flex: 0 0 min(76%, 850px);
        margin: 0;
        scroll-snap-align: center;
        opacity: .25;
        transform: scale(.94);
        transition: opacity .3s, transform .3s;
    }

    .dc-slide.active {
        opacity: 1;
        transform: scale(1);
    }

    .dc-slide img {
        display: block;
        width: 100%;
        height: clamp(220px, 42vw, 530px);
        object-fit: contain;
    }

    .dc-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        width: 44px;
        height: 44px;
        border: 1px solid #8BD4FF;
        border-radius: 50%;
        background: rgba(0,0,0,.75);
        color: white;
        font-size: 30px;
        cursor: pointer;
    }

    .dc-prev { left: 8px; }
    .dc-next { right: 8px; }

    .dc-arrow:disabled {
        opacity: .25;
        cursor: default;
    }
}

@media screen and (max-width: 730px) {
    .dc-track {
        gap: 10px;
        padding-inline: 8%;
    }

    .dc-slide {
        flex-basis: 84%;
    }

    .dc-slide img {
        height: 300px;
    }

    .dc-arrow {
        width: 32px;
        height: 32px;
    }
}
/* DC CAROUSEL END */


/* PORTFOLIO CAROUSELS START */

@media screen {

    .portfolio-section {
        padding: clamp(36px, 5vw, 72px) 0;
        border-top: 2px solid #8BD4FF;
    }

    .portfolio-section .secthead {
        display: block;
        margin-bottom: 24px;
    }

    .portfolio-carousel {
        position: relative;
        width: 100%;
    }

    .portfolio-carousel-track {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        padding: 20px calc((100% - min(78%, 800px)) / 2);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .portfolio-carousel-track::-webkit-scrollbar {
        display: none;
    }

    .portfolio-carousel-slide {
        flex: 0 0 min(78%, 800px);
        min-width: 0;
        margin: 0;
        scroll-snap-align: center;
        opacity: 0.25;
        transform: scale(0.94);
        transition: opacity .3s, transform .3s;
    }

    .portfolio-carousel-slide.is-active {
        opacity: 1;
        transform: scale(1);
    }

    .portfolio-carousel-slide img {
        display: block;
        width: 100%;
        height: clamp(250px, 43vw, 530px);
        object-fit: contain;
    }

    .portfolio-carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        width: 44px;
        height: 44px;
        border: 1px solid #8BD4FF;
        border-radius: 50%;
        background: rgba(0,0,0,.8);
        color: white;
        font-size: 30px;
        cursor: pointer;
    }

    .portfolio-carousel-prev {
        left: 8px;
    }

    .portfolio-carousel-next {
        right: 8px;
    }

    .portfolio-carousel-arrow:disabled {
        opacity: .25;
        cursor: default;
    }

    @media (max-width: 730px) {
        .portfolio-carousel-track {
            gap: 10px;
            padding-inline: 8%;
        }

        .portfolio-carousel-slide {
            flex-basis: 84%;
        }

        .portfolio-carousel-slide img {
            height: 300px;
        }

        .portfolio-carousel-arrow {
            width: 32px;
            height: 32px;
            font-size: 24px;
        }
    }
}

/* PORTFOLIO CAROUSELS END */


/* HERO CAROUSEL START */

@media screen {

    .portfolio-carousel {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .portfolio-carousel-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 16px !important;
        padding: 24px 0 !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }

    /* Space to center the first and last photos */
    .portfolio-carousel-track::before,
    .portfolio-carousel-track::after {
        content: "";
        flex: 0 0 calc(25% - 16px);
    }

    /* One large hero; half-visible neighbors */
    .portfolio-carousel-slide {
        flex: 0 0 50% !important;
        margin: 0;
        scroll-snap-align: center;
        opacity: 0.20;
        transform: scale(0.94);
        transition: opacity .35s ease,
                    transform .35s ease;
    }

    .portfolio-carousel-slide.is-active {
        opacity: 1;
        transform: scale(1);
    }

    .portfolio-carousel-slide img {
        display: block;
        width: 100%;
        height: clamp(300px, 45vw, 600px);
        object-fit: contain;
    }

    .portfolio-carousel-slide:not(.is-active) img {
        object-fit: cover;
    }
}

/* PHONE */
@media screen and (max-width: 730px) {

    .portfolio-carousel-track {
        gap: 10px !important;
        padding: 18px 0 !important;
    }

    .portfolio-carousel-slide {
        flex-basis: 64% !important;
    }

    .portfolio-carousel-track::before,
    .portfolio-carousel-track::after {
        flex-basis: calc(18% - 10px);
    }

    .portfolio-carousel-slide img {
        height: 320px;
    }
}

/* HERO CAROUSEL END */


/* DC MULTI IMAGE CAROUSEL START */

/* All devices: arrows without circles or borders */
@media screen {

    .portfolio-carousel {
        position: relative;
    }

    .portfolio-carousel-arrow {
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: #ffffff !important;
        font-size: 46px;
        width: 40px;
        height: 54px;
        padding: 0;
        text-shadow: 0 2px 8px #000;
    }

    .portfolio-carousel-arrow:focus-visible {
        outline: 2px solid #8BD4FF !important;
    }
}

/* Desktop and tablet */
@media screen and (min-width: 731px) {

    .portfolio-carousel {
        padding-inline: 36px;
        box-sizing: border-box;
    }

    .portfolio-carousel-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 50px !important;
        padding: 20px 0 !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    /* Remove the old hero centering spacers */
    .portfolio-carousel-track::before,
    .portfolio-carousel-track::after {
        display: none !important;
    }

    /* Show all visible photos at full opacity */
    .portfolio-carousel-slide,
    .portfolio-carousel-slide.is-active {
        flex: 0 0 calc((100% - 30px) / 2) !important;
        opacity: 1 !important;
        transform: none !important;
        scroll-snap-align: start;
        min-width: 0;
    }

    .portfolio-carousel-slide img {
        width: 100%;
        height: 320px;
        object-fit: contain !important;
    }

    .portfolio-carousel-prev {
        left: 0;
    }

    .portfolio-carousel-next {
        right: 0;
    }
}

/* Desktop / large tablet: 3 photos */
@media screen and (min-width: 900px) {

    .portfolio-carousel-slide,
    .portfolio-carousel-slide.is-active {
        flex-basis: calc((100% - 60px) / 3) !important;
    }
}

/* Large desktop: 4 photos */
@media screen and (min-width: 1200px) {

    .portfolio-carousel-slide,
    .portfolio-carousel-slide.is-active {
        flex-basis: calc((100% - 90px) / 4) !important;
    }
}

/* Phone: retain centered, ghosted hero style */
@media screen and (max-width: 730px) {

    .portfolio-carousel-arrow {
        font-size: 32px;
        width: 30px;
        height: 40px;
    }
}

/* DC MULTI IMAGE CAROUSEL END */


/* SINGLE ROW CAROUSEL START */

@media screen {

    .portfolio-section .portfolio-carousel-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 30px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        width: 100%;
        box-sizing: border-box;
        scroll-snap-type: x mandatory;
    }

    .portfolio-section .portfolio-carousel-slide {
        flex-shrink: 0 !important;
        scroll-snap-align: start;
        margin: 0 !important;
    }

    /* Desktop: four images per row */
    @media (min-width: 1200px) {
        .portfolio-carousel-slide {
            flex-basis: calc((100% - 90px) / 4) !important;
        }
    }

    /* Medium desktop: three images */
    @media (min-width: 900px) and (max-width: 1199px) {
        .portfolio-carousel-slide {
            flex-basis: calc((100% - 60px) / 3) !important;
        }
    }

    /* Tablet: two images */
    @media (min-width: 731px) and (max-width: 899px) {
        .portfolio-carousel-slide {
            flex-basis: calc((100% - 30px) / 2) !important;
        }
    }

    /* Phone: one hero with faded neighbors */
    @media (max-width: 730px) {
        .portfolio-section .portfolio-carousel-track {
            gap: 10px !important;
        }

        .portfolio-carousel-slide {
            flex-basis: 64% !important;
            scroll-snap-align: center;
        }
    }
}

/* SINGLE ROW CAROUSEL END */


/* SCRIVIANA SINGLE ROW START */

@media screen {

    #project-hub .portfolio-carousel-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        gap: 30px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        align-items: center !important;
        width: 100%;
        max-width: 100%;
    }

    #project-hub .portfolio-carousel-slide {
        display: block !important;
        flex: 0 0 clamp(220px, 24%, 360px) !important;
        width: auto !important;
        min-width: 0;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        scroll-snap-align: start;
    }

    #project-hub .portfolio-carousel-slide img {
        display: block;
        width: 100%;
        height: 300px;
        object-fit: contain !important;
    }
}

@media screen and (max-width: 730px) {

    #project-hub .portfolio-carousel-track {
        gap: 10px !important;
    }

    #project-hub .portfolio-carousel-slide {
        flex: 0 0 64% !important;
        scroll-snap-align: center;
    }

    #project-hub .portfolio-carousel-slide:not(.is-active) {
        opacity: .25 !important;
    }
}

/* SCRIVIANA SINGLE ROW END */


/* SCRIVIANA CAROUSEL START */

@media screen {

    #scriviana-carousel {
        position: relative;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    #scriviana-carousel .scriviana-track {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center;
        gap: 30px !important;

        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    #scriviana-carousel .scriviana-track::-webkit-scrollbar {
        display: none;
    }

    #scriviana-carousel .scriviana-slide {
        flex: 0 0 196.5px !important;
        min-width: 0;
        margin: 0 !important;
        opacity: 1 !important;
        transform: none !important;
        scroll-snap-align: start;
    }

    #scriviana-carousel .scriviana-slide img {
        display: block;
        width: 100%;
        height: auto;
        max-height: none;
        object-fit: contain;
    }

    #scriviana-carousel .scriviana-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;

        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        box-shadow: none !important;

        color: white;
        font-size: 48px;
        cursor: pointer;
        width: 36px;
        height: 54px;
    }

    #scriviana-carousel .scriviana-prev {
        left: 0;
    }

    #scriviana-carousel .scriviana-next {
        right: 0;
    }
}

@media screen and (max-width: 730px) {

    #scriviana-carousel .scriviana-slide {
        flex-basis: 80vw !important;
    }

    #scriviana-carousel .scriviana-slide img {
        width: 100%;
        height: auto;
        max-height: none;
        transform: none !important;
    }
}

/* SCRIVIANA CAROUSEL END */




/* DC LIGHTBOX START */

#dc-lightbox[hidden] {
    display: none !important;
}

#dc-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2147483646;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.96);
}

#dc-lightbox .dc-lb-image {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 100px) !important;
    max-height: calc(100dvh - 60px) !important;
    object-fit: contain !important;
    transform: none !important;
    opacity: 1 !important;
}

#dc-lightbox button {
    position: absolute;
    z-index: 2;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: white !important;
    box-shadow: none !important;
    cursor: pointer;
    font-family: Arial, sans-serif;
}

#dc-lightbox .dc-lb-close {
    top: 14px;
    right: 20px;
    font-size: 42px;
}

#dc-lightbox .dc-lb-prev,
#dc-lightbox .dc-lb-next {
    top: 50%;
    transform: translateY(-50%);
    font-size: 52px;
    padding: 12px;
}

#dc-lightbox .dc-lb-prev { left: 8px; }
#dc-lightbox .dc-lb-next { right: 8px; }

#scriviana-carousel .scriviana-slide img,
#project-hub .portfolio-carousel-slide img,
#pajaro-gallery .portfolio-carousel-slide img {
    cursor: zoom-in;
}

@media (max-width: 730px) {
    #dc-lightbox .dc-lb-image {
        max-width: calc(100vw - 65px) !important;
        max-height: 85dvh !important;
    }

    #dc-lightbox .dc-lb-prev { left: 0; }
    #dc-lightbox .dc-lb-next { right: 0; }
}

/* DC LIGHTBOX END */

/* HERO TITLE CROSSFADE START */
@media screen {
    .hero-title-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(280px, 58.5%);
        align-items: stretch;
        gap: clamp(28px, 5vw, 72px);
    }

    .hero-title-copy {
        min-width: 0;
    }

    .hero-title-copy h1 {
        position: relative;
        width: 100%;
        height: 100%;
        max-width: 760px;
        margin: 0;
    }

    .hero-title-copy h1 span {
        position: absolute;
        left: 0;
        display: block;
        padding: .04em .08em;
        white-space: nowrap;
    }

    .hero-title-copy h1 span:nth-child(1) {
        top: 0;
    }

    .hero-title-copy h1 span:nth-child(2) {
        top: 50%;
        left: 8%;
        font-size: .9em;
        transform: translateY(-50%);
    }

    .hero-title-copy h1 span:nth-child(3) {
        bottom: 0;
        left: 17%;
        font-size: 0.72em;
    }

    .hero .intro-break {
        display: block;
    }

    .hero-title-slideshow {
        position: relative;
        width: 100%;
        aspect-ratio: 1000 / 576;
        margin: 0;
        overflow: hidden;
        border: 1px solid #8bd4ff;
        background: #080b10;
    }

    .hero-title-slideshow img {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        animation: hero-title-crossfade 6s linear infinite;
    }

    .hero-title-slideshow img:first-child {
        animation-delay: 0s;
    }

    .hero-title-slideshow img:last-child {
        animation-delay: -3s;
    }

    @keyframes hero-title-crossfade {
        0%, 33.333% { opacity: 1; }
        50%, 83.333% { opacity: 0; }
        100% { opacity: 1; }
    }

    @media (min-width: 1101px) {
        .hero-title-row {
            grid-template-columns: minmax(0, 1fr) minmax(280px, 52.65%);
        }

        .hero-title-copy h1 {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 40px;
            text-align: center;
        }

        .hero-title-copy h1 span,
        .hero-title-copy h1 span:nth-child(1),
        .hero-title-copy h1 span:nth-child(2),
        .hero-title-copy h1 span:nth-child(3) {
            position: static;
            top: auto;
            right: auto;
            bottom: auto;
            left: auto;
            transform: none;
        }

        .hero-title-copy h1 span:nth-child(2) {
            font-size: .8em;
        }

        .hero-title-copy h1 span:nth-child(3) {
            font-size: .7em;
        }
    }

    @media (max-width: 730px) {
        .hero-content {
            padding-top: 20px;
        }

        .hero-title-row {
            grid-template-columns: 1fr;
            gap: 24px;
        }

        .hero-title-copy h1 {
            position: static;
            display: flex;
            flex-direction: column;
            align-items: center;
            height: auto;
            text-align: center;
        }

        .hero-title-copy h1 span,
        .hero-title-copy h1 span:nth-child(1),
        .hero-title-copy h1 span:nth-child(2),
        .hero-title-copy h1 span:nth-child(3) {
            position: static;
            left: auto;
            top: auto;
            bottom: auto;
            margin-left: 0;
            transform: none;
        }

        .hero-title-slideshow {
            width: 116%;
            margin-left: -8%;
        }

        .hero-title-copy h1 span:nth-child(2) {
            font-size: .88em;
        }

        .hero-title-copy h1 span:nth-child(3) {
            font-size: .64em;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .hero-title-slideshow img {
            animation: none;
        }

        .hero-title-slideshow img:first-child {
            opacity: 1;
        }
    }
}
/* HERO TITLE CROSSFADE END */

/* PAJARO APP TOUR START */
#project-hub {
    overflow: hidden;
}

#scriviana-carousel.app-tour {
    overflow: visible;
    color: #fff;
}

.app-tour-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 520px);
    gap: 36px;
    align-items: end;
    margin-bottom: 34px;
}

.app-tour-kicker {
    margin: 0 0 7px;
    color: #dcc18a;
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.app-tour-heading h2 {
    margin: 0;
    color: #fff;
    font: 400 clamp(2.3rem, 4.6vw, 4.8rem)/1.02 Georgia, "Times New Roman", serif;
    letter-spacing: -.044em;
}

.app-tour-copy {
    margin: 0 0 7px;
    color: #c9d6cc;
    font-size: .94rem;
    line-height: 1.6;
}

.app-tour-stage {
    position: relative;
    width: 100%;
    height: min(61vw, 670px);
    min-height: 520px;
    overflow: visible;
    outline: none;
}

.app-tour-screen {
    position: absolute;
    top: 0;
    left: 50%;
    width: clamp(238px, 25vw, 310px);
    margin: 0;
    transform-origin: center center;
    transition: transform .72s cubic-bezier(.22,.7,.2,1), opacity .58s ease, filter .58s ease;
    will-change: transform, opacity;
}

.app-tour-screen:not([data-position]) {
    z-index: 1;
    opacity: 0;
    transform: translateX(-50%) scale(.96);
    pointer-events: none;
    transition: none;
}

.app-tour-screen:first-of-type:not([data-position]) {
    z-index: 3;
    opacity: 1;
    filter: none;
    transform: translateX(-50%) scale(1);
}

.app-tour-screen img {
    display: block;
    width: 100%;
    height: auto;
    border: 1px solid rgba(117, 242, 235, .42);
    border-radius: 22px;
    background: #050909;
    box-shadow: 0 28px 58px rgba(0, 0, 0, .42);
}

.app-tour-screen[data-position="current"] {
    z-index: 3;
    opacity: 1;
    filter: none;
    transform: translateX(-50%) scale(1);
}

.app-tour-screen[data-position="previous"] {
    z-index: 2;
    opacity: .34;
    filter: saturate(.65);
    transform: translateX(calc(-150% - 50px)) scale(.78);
}

.app-tour-screen[data-position="next"] {
    z-index: 2;
    opacity: .34;
    filter: saturate(.65);
    transform: translateX(calc(50% + 50px)) scale(.78);
}

.app-tour-screen[data-position="past"] {
    z-index: 1;
    opacity: 0;
    transform: translateX(calc(-210% - 80px)) scale(.66);
    pointer-events: none;
}

.app-tour-screen[data-position="future"] {
    z-index: 1;
    opacity: 0;
    transform: translateX(calc(110% + 80px)) scale(.66);
    pointer-events: none;
}

.app-tour.no-transition .app-tour-screen {
    transition: none !important;
}

.app-tour-play {
    position: absolute;
    top: clamp(180px, 22vw, 270px);
    left: 50%;
    z-index: 6;
    width: 72px;
    height: 72px;
    padding: 0;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 255, 255, .72);
    border-radius: 50%;
    background: rgba(5, 12, 14, .78);
    color: #fff;
    box-shadow: 0 12px 38px rgba(0, 0, 0, .42);
    backdrop-filter: blur(8px);
}

.app-tour-play[hidden] {
    display: none;
}

.app-tour-play span {
    display: block;
    width: 0;
    height: 0;
    margin-left: 28px;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 17px solid currentColor;
}

.app-tour-caption {
    width: min(100%, 620px);
    margin: 22px auto 0;
    text-align: center;
}

.app-tour-caption > div {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 12px;
}

.app-tour-caption strong {
    font: 400 1.45rem/1.2 Georgia, "Times New Roman", serif;
}

.app-tour-caption span {
    color: #dcc18a;
    font-size: .65rem;
    letter-spacing: .12em;
}

.app-tour-caption p {
    min-height: 2.7em;
    margin: 7px 0 15px;
    color: #c9d6cc;
    font-size: .84rem;
}

.app-tour-caption i {
    display: block;
    width: min(250px, 65vw);
    height: 2px;
    margin: auto;
    overflow: hidden;
    background: rgba(255, 255, 255, .18);
}

.app-tour-caption b {
    display: block;
    width: 16.666%;
    height: 100%;
    background: #dcc18a;
    transition: width .6s ease;
}

@media (max-width: 730px) {
    .app-tour-heading {
        display: block;
        margin-bottom: 28px;
    }

    .app-tour-copy {
        margin-top: 15px;
    }

    .app-tour-stage {
        height: calc((68vw * 2.164) + 4px);
        min-height: 0;
    }

    .app-tour-screen {
        width: 68vw;
        max-width: 274px;
    }

    .app-tour-screen[data-position="previous"] {
        transform: translateX(calc(-150% - 13px)) scale(.76);
    }

    .app-tour-screen[data-position="next"] {
        transform: translateX(calc(50% + 13px)) scale(.76);
    }

    .app-tour-play {
        top: 31vw;
        width: 64px;
        height: 64px;
    }

    .app-tour-play span {
        margin-left: 25px;
    }

    .app-tour-caption {
        margin-top: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-tour-screen,
    .app-tour-caption b {
        transition: none !important;
    }
}
/* PAJARO APP TOUR END */

/* PAJARO LANDSCAPE TABLET TOUR START */
.app-tour--tablet {
    margin-top: clamp(82px, 10vw, 145px);
    color: #fff;
}

.app-tour-heading--compact h2 {
    font-size: clamp(2.1rem, 3.8vw, 4rem);
}

.app-tour--tablet .app-tour-stage {
    height: min(47vw, 570px);
    min-height: 390px;
}

.app-tour--tablet .app-tour-screen {
    width: clamp(520px, 63vw, 780px);
}

.app-tour--tablet .app-tour-screen img {
    border-radius: 18px;
}

.app-tour--tablet .app-tour-screen[data-position="previous"] {
    transform: translateX(calc(-150% - 38px)) scale(.68);
}

.app-tour--tablet .app-tour-screen[data-position="next"] {
    transform: translateX(calc(50% + 38px)) scale(.68);
}

.app-tour--tablet .app-tour-play {
    top: min(22vw, 270px);
}

@media (max-width: 730px) {
    .app-tour--tablet {
        margin-top: 84px;
    }

    .app-tour--tablet .app-tour-stage {
        height: calc(84vw * .695);
        min-height: 0;
    }

    .app-tour--tablet .app-tour-screen {
        width: 84vw;
        max-width: 420px;
    }

    .app-tour--tablet .app-tour-screen[data-position="previous"] {
        transform: translateX(calc(-150% - 8px)) scale(.72);
    }

    .app-tour--tablet .app-tour-screen[data-position="next"] {
        transform: translateX(calc(50% + 8px)) scale(.72);
    }

    .app-tour--tablet .app-tour-play {
        top: 29vw;
    }
}
/* PAJARO LANDSCAPE TABLET TOUR END */

@media (max-width: 730px) {
    .app-tour--tablet .app-tour-stage {
        height: calc(78vw * .695);
    }

    .app-tour--tablet .app-tour-screen {
        width: 78vw;
    }

    .app-tour--tablet .app-tour-screen[data-position="previous"] {
        transform: translateX(-106%) scale(.72);
    }

    .app-tour--tablet .app-tour-screen[data-position="next"] {
        transform: translateX(6%) scale(.72);
    }

    .app-tour--tablet .app-tour-play {
        top: 27vw;
    }
}

/* PAJARO DESKTOP TOUR START */
.app-tour--desktop {
    margin-top: clamp(92px, 11vw, 160px);
}

.app-tour--desktop .app-tour-stage {
    height: min(46vw, 610px);
    min-height: 430px;
}

.app-tour--desktop .app-tour-screen {
    width: clamp(600px, 66vw, 880px);
}

.app-tour--desktop .app-tour-screen img {
    border-radius: 12px;
}

.app-tour--desktop .app-tour-screen[data-position="previous"] {
    transform: translateX(-110%) scale(.62);
}

.app-tour--desktop .app-tour-screen[data-position="next"] {
    transform: translateX(10%) scale(.62);
}

.app-tour--desktop .app-tour-play {
    top: min(23vw, 300px);
}

@media (max-width: 730px) {
    .app-tour--desktop {
        margin-top: 92px;
    }

    .app-tour--desktop .app-tour-stage {
        height: calc(82vw * .6945);
        min-height: 0;
    }

    .app-tour--desktop .app-tour-screen {
        width: 82vw;
        max-width: 410px;
    }

    .app-tour--desktop .app-tour-screen[data-position="previous"] {
        transform: translateX(-103%) scale(.7);
    }

    .app-tour--desktop .app-tour-screen[data-position="next"] {
        transform: translateX(3%) scale(.7);
    }

    .app-tour--desktop .app-tour-play {
        top: 28.5vw;
    }
}
/* PAJARO DESKTOP TOUR END */

/* PAJARO CONSTRUCTION TOUR START */
.app-tour--construction .app-tour-screen img {
    aspect-ratio: 1.44 / 1;
    object-fit: contain;
    background: #050909;
}

.app-tour--construction .app-tour-caption p {
    display: none;
}

.app-tour--construction .app-tour-caption i {
    margin-top: 15px;
}
/* PAJARO CONSTRUCTION TOUR END */

/* FULL-SCREEN WALKTHROUGH SNAP START */
@media screen {
    #project-hub {
        height: 100svh;
        min-height: 560px;
        padding: 0 !important;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior-y: auto;
        scroll-behavior: smooth;
        scroll-snap-type: y mandatory;
        scroll-padding-block: 0;
        scrollbar-width: thin;
        scrollbar-color: rgba(220, 193, 138, .55) rgba(255, 255, 255, .07);
        outline: none;
    }

    #project-hub:focus-visible {
        box-shadow: inset 0 0 0 2px rgba(220, 193, 138, .7);
    }

    #project-hub > .page {
        width: 100%;
        height: 100%;
        max-width: none;
        padding: 0;
    }

    #project-hub .interactive-plans-demo {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
        min-height: 100%;
        margin: 0 !important;
        padding: clamp(22px, 4vh, 44px) clamp(20px, 5vw, 72px);
        border-top: 0;
        overflow: hidden;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    #project-hub .interactive-plans-demo h2,
    #project-hub .interactive-plans-media {
        width: min(85vw, 86vh, 1080px);
        margin-inline: auto;
    }

    #project-hub .interactive-plans-demo h2 {
        margin-block: 0 18px;
    }

    #project-hub .sketchup-model {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
        min-height: 100%;
        margin: 0;
        padding: clamp(22px, 4vh, 44px) clamp(20px, 5vw, 72px);
        overflow: hidden;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    #project-hub .sketchup-model-heading,
    #project-hub .sketchup-model-frame {
        width: min(85vw, 1100px);
        margin-inline: auto;
    }

    #project-hub .sketchup-model-heading {
        margin-bottom: 18px;
    }

    #project-hub .sketchup-model-heading p {
        margin: 0 0 8px;
        color: #d6c08f;
        font-size: .69rem;
        font-weight: 700;
        letter-spacing: .16em;
        text-transform: uppercase;
    }

    #project-hub .sketchup-model-heading h2 {
        margin: 0;
        color: #f5f2ea;
        font-size: clamp(2rem, 4.2vw, 4rem);
        line-height: 1;
    }

    #project-hub .sketchup-model-frame {
        position: relative;
        aspect-ratio: 580 / 326;
        max-height: 68svh;
        overflow: hidden;
        border: 1px solid rgba(139, 212, 255, .72);
        background: #080b10;
    }

    #project-hub .sketchup-model-frame iframe {
        display: block;
        width: 100%;
        height: 100%;
        border: 0;
    }

    #project-hub .sketchup-model-frame--deferred .sketchup-model-poster,
    #project-hub .sketchup-model-frame--deferred iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    #project-hub .sketchup-model-poster {
        display: block;
        object-fit: cover;
    }

    #project-hub .sketchup-model-frame--presentation .sketchup-model-poster {
        transform: scale(2.6);
        transform-origin: 50% 54%;
    }

    #project-hub .sketchup-model-frame--deferred iframe {
        visibility: hidden;
        pointer-events: none;
    }

    #project-hub .sketchup-model-launch {
        position: absolute;
        inset: 0;
        z-index: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 9px;
        border: 0;
        color: #fff;
        background: linear-gradient(to bottom, transparent 55%, rgba(3, 8, 12, .24));
    }

    #project-hub .sketchup-model-launch span {
        width: 48px;
        height: 48px;
        border: 2px solid rgba(255, 255, 255, .9);
        border-radius: 50%;
        background: rgba(12, 18, 24, .72);
        box-shadow: 0 5px 18px rgba(0, 0, 0, .35);
    }

    #project-hub .sketchup-model-launch span::after {
        content: '';
        display: block;
        width: 0;
        height: 0;
        margin: 13px 0 0 18px;
        border-top: 9px solid transparent;
        border-bottom: 9px solid transparent;
        border-left: 14px solid #fff;
    }

    #project-hub .sketchup-model-launch strong,
    #project-hub .sketchup-model-close {
        padding: 6px 11px;
        border: 1px solid rgba(255, 255, 255, .65);
        border-radius: 999px;
        color: #fff;
        background: rgba(7, 13, 20, .78);
        box-shadow: 0 4px 14px rgba(0, 0, 0, .28);
        font-size: .68rem;
        letter-spacing: .04em;
        backdrop-filter: blur(6px);
    }

    #project-hub .sketchup-model-close {
        position: absolute;
        top: 10px;
        right: 10px;
        z-index: 4;
    }

    #project-hub .sketchup-model-close[hidden] {
        display: none;
    }

    #project-hub .sketchup-model-frame--deferred.is-loaded iframe {
        visibility: visible;
        pointer-events: auto;
    }

    #project-hub .sketchup-model-frame--deferred.is-loaded .sketchup-model-poster,
    #project-hub .sketchup-model-frame--deferred.is-loaded .sketchup-model-launch {
        display: none;
    }

    #project-hub .app-tour {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        height: 100%;
        min-height: 100%;
        margin: 0 !important;
        padding: clamp(22px, 4vh, 44px) clamp(20px, 5vw, 72px);
        overflow: hidden;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    #project-hub #scriviana-carousel .app-tour-stage {
        height: min(62svh, 670px);
        min-height: 0;
    }

    #project-hub #scriviana-carousel .app-tour-screen {
        width: min(clamp(238px, 25vw, 310px), 28.6svh);
    }
}

@media screen and (max-width: 730px) {
    #project-hub {
        min-height: 520px;
    }

    #project-hub .interactive-plans-demo,
    #project-hub .app-tour {
        min-height: 520px;
        padding: max(16px, env(safe-area-inset-top)) 20px max(16px, env(safe-area-inset-bottom));
    }

    #project-hub .sketchup-model {
        height: 50%;
        min-height: 0;
        padding: 10px 20px;
    }

    #project-hub .sketchup-model + .sketchup-model {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }

    #project-hub .sketchup-model-heading,
    #project-hub .sketchup-model-frame {
        width: min(94vw, 580px);
    }

    #project-hub .sketchup-model-heading {
        margin-bottom: 8px;
    }

    #project-hub .sketchup-model-heading p {
        margin-bottom: 4px;
        font-size: .58rem;
    }

    #project-hub .sketchup-model-heading h2 {
        font-size: clamp(1.2rem, 5.8vw, 1.55rem);
        line-height: 1.05;
    }

    #project-hub #scriviana-carousel .app-tour-heading {
        margin-bottom: 18px;
    }

    #project-hub #scriviana-carousel .app-tour-copy {
        margin-top: 9px;
    }

    #project-hub #scriviana-carousel .app-tour-stage {
        flex: 0 0 auto;
        height: min(61svh, 132vw);
    }

    #project-hub #scriviana-carousel .app-tour-screen {
        width: min(62vw, 28svh, 250px);
    }

    #project-hub #scriviana-carousel .app-tour-caption {
        margin-top: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    #project-hub {
        scroll-behavior: auto;
    }
}
/* FULL-SCREEN WALKTHROUGH SNAP END */

/* DESKTOP MODEL WALKTHROUGH HEIGHT START */
@media screen and (min-width: 1101px) {
    #project-hub {
        height: calc(100svh - 74px);
        min-height: 560px;
        scroll-margin-top: 74px;
    }

    #project-hub .interactive-plans-demo,
    #project-hub .sketchup-model,
    #project-hub .app-tour {
        height: 100%;
    }
}
/* DESKTOP MODEL WALKTHROUGH HEIGHT END */

/* DOCUMENT WALKTHROUGH SNAP START */
@media screen {
    html.dc-walkthrough-snap {
        scroll-snap-type: none;
    }

    #project-hub {
        height: auto;
        min-height: 0;
        padding: 0 !important;
        overflow: visible;
        overscroll-behavior-y: auto;
        scroll-snap-type: none;
        scroll-margin-top: 0;
    }

    #project-hub > .page {
        height: auto;
    }

    #project-hub .sketchup-model,
    #project-hub .interactive-plans-demo,
    #project-hub .app-tour {
        height: 100dvh;
        min-height: 100dvh;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

@media screen and (max-width: 730px) and (hover: none) and (pointer: coarse) {
    html.dc-walkthrough-snap {
        scroll-snap-type: y mandatory;
    }
}

@media screen and (max-width: 730px) {
    #project-hub .sketchup-model {
        height: 50dvh;
        min-height: 0;
    }

    #project-hub .sketchup-model + .sketchup-model {
        scroll-snap-align: none;
        scroll-snap-stop: normal;
    }

    #project-hub .interactive-plans-demo,
    #project-hub .app-tour {
        height: 100dvh;
        min-height: 100dvh;
    }
}
/* DOCUMENT WALKTHROUGH SNAP END */

/* CONTINUOUS WALKTHROUGH FLOW START */
@media screen {
    html.dc-walkthrough-snap {
        scroll-snap-type: none !important;
    }

    #project-hub {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        overscroll-behavior-y: auto;
        scroll-behavior: auto;
        scroll-snap-type: none !important;
    }

    #project-hub > .page {
        height: auto !important;
    }

    #project-hub .sketchup-model,
    #project-hub .interactive-plans-demo,
    #project-hub .app-tour {
        height: auto !important;
        min-height: 0 !important;
        justify-content: flex-start;
        overflow: visible;
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
    }

    #project-hub .sketchup-model,
    #project-hub .interactive-plans-demo {
        padding-block: clamp(36px, 6vw, 76px);
    }

    #project-hub .app-tour {
        padding-block: clamp(42px, 7vw, 88px);
    }
}

@media screen and (max-width: 730px) {
    #project-hub .sketchup-model,
    #project-hub .sketchup-model + .sketchup-model,
    #project-hub .interactive-plans-demo,
    #project-hub .app-tour {
        height: auto !important;
        min-height: 0 !important;
    }

    #project-hub .sketchup-model,
    #project-hub .interactive-plans-demo,
    #project-hub .app-tour {
        padding-block: 34px;
    }
}
/* CONTINUOUS WALKTHROUGH FLOW END */

/* RELIABLE WALKTHROUGH PAGE BREAKS START */
@media screen {
    #project-hub {
        height: 100svh !important;
        min-height: 560px !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        overscroll-behavior-y: auto;
        scroll-behavior: smooth;
        scroll-snap-type: y mandatory !important;
        scroll-padding-block: 0;
    }

    #project-hub > .page {
        height: 100% !important;
    }

    #project-hub .sketchup-model,
    #project-hub .interactive-plans-demo,
    #project-hub .app-tour {
        height: 100% !important;
        min-height: 100% !important;
        justify-content: center;
        overflow: hidden;
        scroll-snap-align: start !important;
        scroll-snap-stop: always !important;
    }
}

@media screen and (min-width: 1101px) {
    #project-hub {
        height: calc(100svh - 74px) !important;
    }
}

@media screen and (max-width: 730px) {
    #project-hub {
        min-height: 520px !important;
    }

    #project-hub .sketchup-model,
    #project-hub .sketchup-model + .sketchup-model {
        height: 50% !important;
        min-height: 0 !important;
        padding: 10px 20px;
    }

    #project-hub .sketchup-model + .sketchup-model {
        scroll-snap-align: none !important;
        scroll-snap-stop: normal !important;
    }

    #project-hub .interactive-plans-demo,
    #project-hub .app-tour {
        height: 100% !important;
        min-height: 100% !important;
        padding: max(16px, env(safe-area-inset-top)) 20px max(16px, env(safe-area-inset-bottom));
    }
}

@media (prefers-reduced-motion: reduce) {
    #project-hub {
        scroll-behavior: auto;
    }
}
/* RELIABLE WALKTHROUGH PAGE BREAKS END */
