
/* =========================
   ICON SIGN — RESET
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #000;
    color: #fff;
    font-family: "Montserrat", sans-serif;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, .92);
    border-bottom: 1px solid #222;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 5px;
}

.nav-links {
    display: flex;
    gap: 38px;
}

.nav-links a {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #aaa;
    transition: .3s;
}

.nav-links a:hover {
    color: #fff;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    width: 35px;
    height: 35px;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: .3s;
}

.social-icons a:hover {
    background: #fff;
    color: #000;
}

/* =========================
   HERO
========================= */
.hero {
    min-height: 100vh;
    padding: 150px 5vw 70px;
    display: grid;
    grid-template-columns: 45% 55%;
    align-items: center;
    border-bottom: 1px solid #222;
}

.hero-left {
    padding-right: 60px;
}

.small-title {
    font-size: 10px;
    letter-spacing: 4px;
    color: #888;
    margin-bottom: 35px;
}

.hero h1 {
    font-size: clamp(70px, 10vw, 170px);
    line-height: .82;
    font-weight: 300;
    letter-spacing: -8px;
}

.hero h1 span {
    color: #777;
}

.hero-description {
    max-width: 390px;
    margin-top: 45px;
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}

.explore-button {
    display: inline-flex;
    align-items: center;
    gap: 35px;
    margin-top: 45px;
    padding-bottom: 12px;
    border-bottom: 1px solid #fff;
    font-size: 11px;
    letter-spacing: 2px;
    transition: .3s;
}

.explore-button:hover {
    gap: 45px;
}

.explore-button span {
    font-size: 20px;
}

/* Hero image — show the complete photograph */
.hero-right {
    position: relative;
    height: 70vh;
    min-height: 400px;
}

.flip-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
}

.flip-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: rotateY(90deg) scale(.96);
    transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1);
}

.flip-image.active {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
}

.flip-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.hero-number {
    position: absolute;
    right: 0;
    bottom: -35px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 10px;
    letter-spacing: 2px;
}

.hero-number .line {
    width: 70px;
    height: 1px;
    background: #444;
}

/* =========================
   GENERAL SECTIONS
========================= */
.projects-section,
.process-section,
.contact-section {
    padding: 120px 5vw;
}

.section-number {
    color: #777;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 30px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
}

.section-header h2,
.process-heading h2,
.contact-left h2 {
    font-size: clamp(50px, 7vw, 100px);
    line-height: .9;
    font-weight: 400;
    letter-spacing: -5px;
}

.section-header h2 span,
.process-heading h2 span,
.contact-left h2 span {
    color: #777;
}

.section-description {
    max-width: 320px;
    color: #888;
    font-size: 12px;
    line-height: 1.8;
}

/* =========================
   PROJECT SLIDER
========================= */
.projects-slider {
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    cursor: grab;
}

.projects-slider::-webkit-scrollbar {
    display: none;
}

.project-card {
    flex: 0 0 42vw;
    min-width: 0;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .7s ease, transform .7s ease;
}

.project-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.project-image {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #111;
}

/* IMPORTANT: contain prevents architectural images being cropped */
.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .8s ease;
}

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

.view-project {
    position: absolute;
    bottom: 25px;
    left: 25px;
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,.8);
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 9px;
    letter-spacing: 2px;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: .3s;
}

.view-project:hover {
    background: #fff;
    color: #000;
}

.project-info {
    display: grid;
    grid-template-columns: 40px 1fr;
    padding-top: 20px;
    border-top: 1px solid #333;
    margin-top: 15px;
}

.project-info span {
    color: #666;
    font-size: 10px;
}

.project-info h3 {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 2px;
}

.project-info p {
    grid-column: 2;
    margin-top: 7px;
    color: #666;
    font-size: 10px;
}

/* Slider controls */
.slider-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.slider-controls button {
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    background: transparent;
    color: #fff;
    cursor: pointer;
    transition: .3s;
}

.slider-controls button:hover {
    background: #fff;
    color: #000;
}

.slider-progress {
    width: 150px;
    height: 1px;
    background: #333;
}

#sliderProgress {
    width: 25%;
    height: 100%;
    background: #fff;
    transition: .3s;
}

/* =========================
   PROJECT MODAL
========================= */
.project-modal {
    position: fixed;
    inset: 0;
    background: #000;
    z-index: 2000;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
}

.project-modal.open {
    opacity: 1;
    visibility: visible;
}

.close-modal {
    position: fixed;
    top: 30px;
    right: 40px;
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    background: #000;
    color: #fff;
    font-size: 25px;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover {
    background: #fff;
    color: #000;
}

.modal-content {
    min-height: 100vh;
    padding: 110px 5vw 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-title {
    margin-bottom: 45px;
}

.modal-title p {
    color: #777;
    font-size: 10px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}

.modal-title h2 {
    font-size: clamp(45px, 7vw, 100px);
    font-weight: 400;
    line-height: .9;
    letter-spacing: -5px;
}

.modal-slider {
    width: 100%;
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr) 60px;
    align-items: center;
    gap: 25px;
}

/* Full image visible inside popup */
.modal-image-container {
    width: 100%;
    height: min(70vh, 700px);
    min-width: 0;
    background: #111;
    overflow: hidden;
}

.modal-image-container img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 1;
    transition: opacity .25s ease;
}

.modal-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid #333;
    background: transparent;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    justify-self: center;
}

.modal-arrow:hover {
    background: #fff;
    color: #000;
}

.modal-bottom {
    width: calc(100% - 170px);
    margin: 25px auto 0;
    display: flex;
    align-items: center;
    gap: 15px;
    color: #777;
    font-size: 10px;
    letter-spacing: 2px;
}

.modal-line {
    flex: 1;
    height: 1px;
    background: #333;
}

/* =========================
   ACHIEVEMENTS
========================= */
.achievements {
    padding: 80px 5vw 110px;
    background: #000;
    border-top: 1px solid #222;
}

.achievements h2 {
    font-size: clamp(50px, 7vw, 100px);
    line-height: .9;
    font-weight: 300;
    letter-spacing: -5px;
    margin-bottom: 65px;
}

.achievements-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid #292929;
    border-bottom: 1px solid #292929;
}

.achievement {
    position: relative;
    padding: 55px 25px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}

.achievement.revealed {
    opacity: 1;
    transform: translateY(0);
}

.achievement:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 30px;
    width: 1px;
    height: calc(100% - 60px);
    background: #292929;
}

.achievement .number {
    display: block;
    margin-bottom: 18px;
    font-size: clamp(50px, 6vw, 90px);
    line-height: .9;
    font-weight: 400;
    letter-spacing: -5px;
    color: #d8d8d8;
}

.achievement h3 {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #777;
}

.achievement:hover .number {
    color: #fff;
}

/* =========================
   PROCESS
========================= */
.process-section {
    border-top: 1px solid #222;
}

.process-heading {
    margin-bottom: 80px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid #333;
}

.process-card {
    min-width: 0;
    min-height: 300px;
    padding: 30px;
    border-right: 1px solid #333;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s ease, transform .7s ease;
}

.process-card:first-child {
    border-left: 1px solid #333;
}

.process-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.process-card > span {
    color: #666;
    font-size: 11px;
}

.process-line {
    width: 100%;
    height: 1px;
    background: #333;
    margin: 55px 0 35px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .8s ease;
}

.process-card.revealed .process-line {
    transform: scaleX(1);
}

.process-card h3 {
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 500;
    margin-bottom: 20px;
}

.process-card p {
    color: #777;
    font-size: 11px;
    line-height: 1.8;
}

/* =========================
   CONTACT
========================= */
.contact-section {
    min-height: 65vh;
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    border-top: 1px solid #222;
}

.contact-left > p:last-child {
    margin-top: 35px;
    color: #777;
    font-size: 12px;
}

.contact-right {
    min-width: 0;
    border-top: 1px solid #333;
}

.contact-link {
    display: grid;
    grid-template-columns: 80px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid #333;
    transition: .3s;
}

.contact-link:hover {
    padding-left: 15px;
}

.contact-link span {
    color: #666;
    font-size: 9px;
    letter-spacing: 2px;
}

.contact-link strong {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 13px;
    font-weight: 400;
}

.contact-social {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.contact-social a {
    width: 40px;
    height: 40px;
    border: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .3s;
}

.contact-social a:hover {
    background: #fff;
    color: #000;
}

/* =========================
   FOOTER
========================= */
footer {
    padding: 30px 5vw;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #555;
    font-size: 9px;
    letter-spacing: 2px;
}

/* =========================
   FOUNDER BACKGROUND
========================= */
.founder-section {
    position: relative;
    width: 100%;
    min-height: 580px;
    height: 85vh;
    max-height: 700px;
    overflow: hidden;
    background: #080808;
    color: #fff;
    isolation: isolate;
}

.founder-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: grayscale(100%);
    z-index: -2;
}

.founder-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0,0,0,.88), rgba(0,0,0,.58) 42%, rgba(0,0,0,.12)),
        linear-gradient(0deg, rgba(0,0,0,.65), transparent 30%, rgba(0,0,0,.18));
}

.founder-topline,
.founder-bottomline {
    position: absolute;
    left: 6%;
    right: 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.founder-topline {
    top: 38px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,.35);
}

.founder-bottomline {
    bottom: 32px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.35);
    color: rgba(255,255,255,.75);
}

.founder-content {
    position: absolute;
    left: 10%;
    top: 50%;
    transform: translateY(-45%);
    max-width: 750px;
    z-index: 2;
}

.founder-eyebrow {
    font-family: Arial, sans-serif;
    font-size: 11px;
    letter-spacing: 2.5px;
}

.founder-content h2 {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(48px, 7vw, 100px);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -3px;
}

.founder-statement {
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.8;
    font-weight: 300;
}

.founder-signature {
    font-family: Arial, sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
}

/* =========================
   ANIMATIONS
========================= */
.hero-left .small-title,
.hero-left h1,
.hero-left .hero-description,
.hero-left .explore-button {
    opacity: 0;
    animation: revealText .8s ease forwards;
}

.hero-left .small-title { animation-delay: .2s; }
.hero-left h1 { animation-delay: .4s; }
.hero-left .hero-description { animation-delay: .7s; }
.hero-left .explore-button { animation-delay: .9s; }

@keyframes revealText {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.section-header > div,
.achievements h2,
.process-heading,
.contact-left h2 {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}

.section-header > div.revealed,
.achievements h2.revealed,
.process-heading.revealed,
.contact-left h2.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   TABLET
========================= */
@media (max-width: 900px) {
    .nav-links { display: none; }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 130px;
    }

    .hero-left {
        padding-right: 0;
        margin-bottom: 45px;
    }

    .hero-right {
        height: 55vh;
        min-height: 300px;
    }

    .section-header { display: block; }

    .section-description { margin-top: 30px; }

    .project-card { flex: 0 0 80vw; }

    .project-image { height: 380px; }

    .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

    .process-card { border-bottom: 1px solid #333; }

    .contact-section {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .modal-slider {
        grid-template-columns: 45px minmax(0,1fr) 45px;
        gap: 10px;
    }

    .modal-image-container { height: 60vh; }

    .modal-bottom { width: calc(100% - 110px); }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 700px) {
    .navbar {
        height: 75px;
        padding: 0 20px;
    }

    .logo {
        font-size: 14px;
        letter-spacing: 4px;
    }

    .social-icons { gap: 8px; }

    .social-icons a {
        width: 32px;
        height: 32px;
    }

    .hero {
        padding: 115px 20px 65px;
    }

    .hero h1 {
        font-size: clamp(55px, 12vw, 70px);
        letter-spacing: -4px;
    }

    .hero-right {
        height: 42vh;
        min-height: 260px;
    }

    .projects-section,
    .process-section,
    .contact-section {
        padding: 85px 20px;
    }

    .section-header h2,
    .process-heading h2,
    .contact-left h2 {
        letter-spacing: -3px;
    }

    .project-card { flex: 0 0 85vw; }

    .project-image { height: 300px; }

    .view-project {
        left: 12px;
        bottom: 12px;
        padding: 10px 12px;
        font-size: 8px;
    }

    .achievements { padding: 70px 20px; }

    .achievements-container { grid-template-columns: 1fr; }

    .achievement { padding: 35px 20px; }

    .achievement:not(:last-child)::after {
        top: auto;
        right: 15%;
        bottom: 0;
        width: 70%;
        height: 1px;
    }

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

    .process-card {
        min-height: 230px;
        border-left: 1px solid #333;
        padding: 25px;
    }

    .process-line { margin: 35px 0 25px; }

    .contact-link {
        grid-template-columns: 55px minmax(0,1fr) 20px;
        gap: 10px;
        padding: 22px 0;
    }

    .contact-link strong { font-size: 11px; }

    .modal-content { padding: 95px 15px 30px; }

    .modal-title { margin-bottom: 25px; }

    .modal-title h2 {
        font-size: clamp(38px, 10vw, 60px);
        letter-spacing: -3px;
    }

    .modal-slider {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .modal-image-container {
        height: 55vh;
        min-height: 240px;
        grid-row: 1;
    }

    .modal-slider .modal-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        width: 40px;
        height: 40px;
        background: rgba(0,0,0,.7);
    }

    .modal-prev { left: 20px; }
    .modal-next { right: 20px; }

    .modal-bottom {
        width: 100%;
        margin-top: 20px;
    }

    .close-modal {
        top: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
    }

    .founder-section {
        height: 75vh;
        min-height: 550px;
    }

    .founder-background {
        object-position: center center;
    }

    .founder-content {
        left: 7%;
        right: 7%;
        max-width: none;
    }

    .founder-content h2 {
        font-size: clamp(42px, 10vw, 65px);
        letter-spacing: -2px;
    }

    .founder-statement { font-size: 13px; }

    .founder-topline,
    .founder-bottomline {
        left: 7%;
        right: 7%;
        font-size: 8px;
        letter-spacing: 1px;
        gap: 10px;
    }

    footer {
        padding: 25px 20px;
        flex-wrap: wrap;
        font-size: 8px;
        line-height: 1.8;
    }
}

/* =========================
   SMALL PHONES
========================= */
@media (max-width: 380px) {
    .hero h1 { font-size: 52px; }

    .project-image { height: 260px; }

    .modal-image-container { height: 48vh; }

    .founder-topline,
    .founder-bottomline {
        font-size: 7px;
        letter-spacing: .7px;
    }

    .contact-link {
        grid-template-columns: 45px minmax(0,1fr) 15px;
        gap: 8px;
    }
}

/* =========================
   REDUCED MOTION
========================= */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }

    .hero-left .small-title,
    .hero-left h1,
    .hero-left .hero-description,
    .hero-left .explore-button,
    .section-header > div,
    .achievements h2,
    .process-heading,
    .contact-left h2,
    .project-card,
    .achievement,
    .process-card {
        opacity: 1;
        transform: none;
    }

    .process-line { transform: none; }
}
