:root {
    --ink: #102e35;
    --ocean: #073d4d;
    --ocean-deep: #032b36;
    --aqua: #78d5d0;
    --foam: #eef8f6;
    --sand: #f3eadb;
    --sun: #d7a65e;
    --white: #fff;
    --muted: #63757a;
    --line: rgba(16, 46, 53, .13);
    --shadow: 0 24px 70px rgba(4, 44, 55, .12);
    --radius: 28px;
    --container: min(1180px, calc(100% - 40px));
}

* {
    box-sizing: border-box;
}

html {
    max-width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
    scroll-padding-top: 92px;
}

body {
    margin: 0;
    max-width: 100%;
    overflow-x: clip;
    background: #fbfcfa;
    color: var(--ink);
    font-family: "Alexandria", "Tahoma", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image: radial-gradient(rgba(7, 61, 77, .04) 1px, transparent 1px);
    background-size: 24px 24px;
    content: "";
    pointer-events: none;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.container {
    width: var(--container);
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--white);
    color: var(--ocean);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    color: var(--white);
    transition: background .25s ease, box-shadow .25s ease, color .25s ease;
}

.site-header.is-scrolled {
    border-bottom-color: var(--line);
    background: rgba(255, 255, 255, .94);
    box-shadow: 0 10px 40px rgba(5, 48, 59, .08);
    color: var(--ink);
    backdrop-filter: blur(15px);
}

.nav-wrap {
    display: flex;
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.brand-mark {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.brand-mark svg {
    width: 34px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.brand-mark circle {
    fill: var(--sun);
    stroke: none;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-size: 15px;
    font-weight: 700;
}

.brand small {
    margin-top: -2px;
    font-size: 9px;
    font-weight: 300;
    letter-spacing: .03em;
    opacity: .78;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
}

.desktop-nav a {
    transition: opacity .2s;
}

.desktop-nav a:hover {
    opacity: .65;
}

.nav-cta {
    padding: 11px 18px;
    border: 1px solid currentColor;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.is-disabled {
    cursor: not-allowed;
    opacity: .55;
}

.hero {
    position: relative;
    display: grid;
    min-height: 760px;
    overflow: hidden;
    place-items: center;
    color: var(--white);
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.015);
    animation: hero-in 1.4s ease-out both;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(3, 43, 54, .2), rgba(3, 43, 54, .7)),
        linear-gradient(0deg, rgba(3, 43, 54, .6), transparent 55%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 95px;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--aqua);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.eyebrow.dark {
    color: #27827f;
}

.eyebrow.light {
    color: var(--aqua);
}

.hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(46px, 6.3vw, 88px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.18;
}

.hero h1 em {
    color: var(--sand);
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-weight: 400;
}

.hero-copy {
    max-width: 620px;
    margin: 28px 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 23px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.button:not(.is-disabled):hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--aqua);
    color: var(--ocean-deep);
}

.button-primary:hover {
    background: #9ee5df;
}

.button-ghost {
    border-color: rgba(255, 255, 255, .6);
    color: var(--white);
}

.button-ghost:hover {
    background: rgba(255, 255, 255, .1);
}

.button-dark {
    background: var(--ocean);
    color: var(--white);
}

.button-outline {
    border-color: var(--ocean);
    color: var(--ocean);
}

.hero-meta {
    display: flex;
    max-width: 720px;
    margin-top: 56px;
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.hero-meta span {
    display: flex;
    min-width: 0;
    flex: 1;
    align-items: baseline;
    gap: 7px;
    padding: 20px 0;
    color: rgba(255, 255, 255, .7);
    font-size: 10px;
}

.hero-meta b {
    color: var(--white);
    font-size: 18px;
    font-weight: 500;
}

.intro-section {
    padding: 120px 0 130px;
}

.section-heading {
    display: grid;
    grid-template-columns: 1fr .8fr;
    align-items: end;
    gap: 80px;
    margin-bottom: 54px;
}

.section-heading h2,
.guide-intro h2,
.faq-section h2,
.contact-card h2 {
    margin: 0;
    font-size: clamp(34px, 4.2vw, 57px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.25;
}

.section-heading > p,
.faq-intro {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.project-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 34px;
}

.search-box {
    position: relative;
    display: flex;
    width: min(390px, 100%);
    align-items: center;
}

.search-box svg {
    position: absolute;
    right: 18px;
    width: 20px;
    fill: none;
    stroke: var(--muted);
    stroke-width: 1.6;
}

.search-box input {
    width: 100%;
    height: 50px;
    padding: 0 49px 0 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    outline: none;
    background: var(--white);
    color: var(--ink);
    font-size: 12px;
}

.search-box input:focus {
    border-color: #4aa9a4;
    box-shadow: 0 0 0 4px rgba(120, 213, 208, .18);
}

.sort-box {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-box span {
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap;
}

.sort-box select {
    min-width: 245px;
    height: 50px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    outline: none;
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    font-size: 12px;
}

.sort-box select:focus {
    border-color: #4aa9a4;
    box-shadow: 0 0 0 4px rgba(120, 213, 208, .18);
}

.projects-grid {
    display: grid;
    gap: 32px;
}

.project-card {
    display: grid;
    min-height: 570px;
    grid-template-columns: .92fr 1.08fr;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 6px 30px rgba(7, 61, 77, .04);
    scroll-margin-top: 100px;
    transition: box-shadow .25s, transform .25s;
}

.project-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
}

.project-card:nth-child(even) .project-image {
    order: 2;
}

.project-card[hidden] {
    display: none;
}

.project-image {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background: var(--sand);
}

.project-image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(3, 43, 54, .28), transparent 42%);
    content: "";
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.035);
}

.project-number {
    position: absolute;
    z-index: 2;
}

.project-number {
    right: 20px;
    bottom: 14px;
    color: var(--white);
    font-family: Georgia, serif;
    font-size: 44px;
    opacity: .86;
}

.project-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 4vw, 57px);
}

.project-title-row {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.project-location,
.project-en {
    margin: 0;
    color: #388d89;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.project-en {
    margin-top: 2px;
    color: #879397;
    font-weight: 400;
}

.project-card h3 {
    margin: 3px 0 0;
    font-size: clamp(27px, 3vw, 39px);
    font-weight: 500;
    letter-spacing: -.035em;
    line-height: 1.3;
}

.developer-label {
    max-width: 145px;
    padding: 7px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 9px;
    text-align: center;
}

.project-tagline {
    margin: 23px 0 5px;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
}

.project-description {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
}

.project-facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 25px 0 0;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
}

.project-facts div {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.project-facts dt {
    color: var(--muted);
    font-size: 9px;
}

.project-facts dd {
    margin: 2px 0 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.6;
}

.feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 19px 0 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--foam);
    color: #376b6b;
    font-size: 9px;
}

.project-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.text-link {
    border-bottom: 1px solid currentColor;
    color: var(--ocean);
    font-size: 11px;
    font-weight: 600;
}

.project-notice {
    margin: 12px 0 0;
    color: #99a2a4;
    font-size: 8px;
}

.no-results {
    padding: 50px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
    text-align: center;
}

.guide-section {
    padding: 120px 0;
    background: var(--ocean-deep);
    color: var(--white);
}

.guide-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 110px;
}

.guide-intro {
    position: sticky;
    top: 130px;
    align-self: start;
}

.guide-intro p:last-child {
    max-width: 480px;
    margin-top: 28px;
    color: rgba(255, 255, 255, .58);
    font-size: 13px;
}

.guide-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.guide-list li {
    display: grid;
    grid-template-columns: 65px 1fr;
    gap: 25px;
    padding: 27px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.guide-list li:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.guide-list span {
    color: var(--aqua);
    font-family: Georgia, serif;
    font-size: 24px;
}

.guide-list h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 500;
}

.guide-list p {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, .58);
    font-size: 12px;
}

.faq-section {
    padding: 120px 0;
    background: var(--sand);
}

.faq-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 110px;
}

.faq-intro {
    max-width: 390px;
    margin-top: 24px;
}

.accordion details {
    border-top: 1px solid rgba(16, 46, 53, .2);
}

.accordion details:last-child {
    border-bottom: 1px solid rgba(16, 46, 53, .2);
}

.accordion summary {
    display: flex;
    min-height: 75px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    list-style: none;
}

.accordion summary::-webkit-details-marker {
    display: none;
}

.accordion summary span {
    position: relative;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.accordion summary span::before,
.accordion summary span::after {
    position: absolute;
    top: 9px;
    right: 2px;
    width: 16px;
    height: 1px;
    background: var(--ink);
    content: "";
}

.accordion summary span::after {
    transform: rotate(90deg);
    transition: transform .2s;
}

.accordion details[open] summary span::after {
    transform: rotate(0);
}

.accordion details p {
    max-width: 620px;
    margin: -5px 0 25px;
    color: var(--muted);
    font-size: 12px;
}

.contact-section {
    padding: 90px 0;
}

.contact-card {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 50px;
    padding: clamp(32px, 6vw, 75px);
    border-radius: var(--radius);
    background: var(--foam);
}

.contact-card h2 {
    font-size: clamp(32px, 4vw, 52px);
}

.contact-card p:last-child {
    max-width: 590px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.contact-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 10px;
}

.site-footer {
    padding: 70px 0 25px;
    background: var(--ocean-deep);
    color: var(--white);
}

.footer-main,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 25px;
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .42);
    font-size: 9px;
}

.footer-bottom p {
    margin: 0;
}

.mobile-contact-bar {
    display: none;
}

@keyframes hero-in {
    from { opacity: .55; transform: scale(1.06); }
    to { opacity: 1; transform: scale(1.015); }
}

@media (max-width: 920px) {
    .desktop-nav {
        display: none;
    }

    .hero {
        min-height: 700px;
    }

    .section-heading,
    .guide-grid,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .project-card {
        grid-template-columns: 1fr;
    }

    .project-card:nth-child(even) .project-image {
        order: 0;
    }

    .project-image {
        min-height: 450px;
    }

    .guide-intro {
        position: static;
    }

    .contact-card {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 680px) {
    :root {
        --container: min(100% - 28px, 1180px);
        --radius: 21px;
    }

    body {
        padding-bottom: calc(62px + env(safe-area-inset-bottom));
    }

    .nav-wrap {
        min-height: 70px;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

    .brand-mark svg {
        width: 29px;
    }

    .brand small {
        display: none;
    }

    .nav-cta {
        padding: 8px 12px;
        font-size: 9px;
    }

    .hero {
        min-height: 700px;
    }

    .hero-overlay {
        background:
            linear-gradient(90deg, rgba(3, 43, 54, .15), rgba(3, 43, 54, .55)),
            linear-gradient(0deg, rgba(3, 43, 54, .82), rgba(3, 43, 54, .12) 85%);
    }

    .hero-content {
        padding-top: 75px;
    }

    .hero h1 {
        font-size: clamp(42px, 13vw, 58px);
        overflow-wrap: anywhere;
    }

    .hero-copy {
        font-size: 14px;
    }

    .hero-meta {
        margin-top: 42px;
    }

    .hero-meta span {
        display: block;
        padding-left: 8px;
        line-height: 1.45;
    }

    .hero-meta b {
        display: block;
    }

    .intro-section,
    .guide-section,
    .faq-section {
        padding: 82px 0;
    }

    .section-heading {
        margin-bottom: 35px;
    }

    .section-heading h2,
    .guide-intro h2,
    .faq-section h2 {
        font-size: 36px;
    }

    .project-tools {
        align-items: stretch;
        flex-direction: column;
    }

    .search-box {
        width: 100%;
    }

    .sort-box {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
    }

    .sort-box select {
        width: 100%;
    }

    .projects-grid {
        gap: 22px;
    }

    .project-card {
        min-height: 0;
    }

    .project-image {
        min-height: 350px;
        aspect-ratio: 1 / .92;
    }

    .project-body {
        padding: 27px 22px 29px;
    }

    .project-title-row {
        display: block;
    }

    .developer-label {
        display: inline-flex;
        margin-top: 12px;
    }

    .project-facts {
        grid-template-columns: 1fr;
    }

    .project-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
    }

    .project-actions .button {
        width: 100%;
    }

    .text-link {
        align-self: center;
    }

    .guide-list li {
        grid-template-columns: 45px 1fr;
        gap: 15px;
    }

    .contact-section {
        padding: 65px 0;
    }

    .contact-actions {
        width: 100%;
        flex-direction: column;
    }

    .footer-main,
    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .footer-bottom {
        gap: 8px;
    }

    .mobile-contact-bar {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 120;
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        border-top: 1px solid var(--line);
        background: rgba(255, 255, 255, .96);
        box-shadow: 0 -10px 35px rgba(3, 43, 54, .1);
        backdrop-filter: blur(14px);
    }

    .mobile-contact-bar a {
        display: grid;
        min-height: 45px;
        place-items: center;
        border-radius: 999px;
        color: var(--ocean);
        font-size: 12px;
        font-weight: 600;
    }

    .mobile-contact-bar a:last-child {
        background: var(--ocean);
        color: var(--white);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@media print {
    .site-header,
    .hero-actions,
    .project-tools,
    .project-actions,
    .mobile-contact-bar {
        display: none !important;
    }

    .hero {
        min-height: 400px;
    }

    .project-card {
        break-inside: avoid;
        box-shadow: none;
    }
}
