:root {
    --ink: #1b1d19;
    --paper: #f1efe8;
    --warm: #e3dfd3;
    --lime: #d7f232;
    --muted: #74766f;
    --line: rgba(27, 29, 25, 0.18);
    --pad: clamp(24px, 5vw, 76px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; font-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { color: inherit; font: inherit; }
::selection { color: var(--ink); background: var(--lime); }

.site-header { position: absolute; z-index: 20; top: 0; left: 0; display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 28px var(--pad); color: white; }
.brand { display: inline-flex; align-items: center; gap: 13px; line-height: 1; }
.brand-mark { position: relative; display: flex; width: 35px; height: 39px; align-items: flex-end; gap: 3px; }
.brand-mark i { display: block; width: 9px; border: 2px solid currentColor; border-bottom: 0; transform: skewY(-27deg); transform-origin: bottom; }
.brand-mark i:nth-child(1) { height: 24px; }
.brand-mark i:nth-child(2) { height: 31px; }
.brand-mark i:nth-child(3) { height: 38px; }
.brand-copy { display: grid; gap: 5px; }
.brand-copy strong { font-family: "Manrope", sans-serif; font-size: 18px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; }
.brand-copy span { font-size: 9px; letter-spacing: 0.19em; opacity: 0.75; text-transform: uppercase; }
.menu-toggle { display: none; border: 0; background: none; }
.site-nav { display: flex; align-items: center; gap: clamp(25px, 3vw, 52px); font-size: 13px; letter-spacing: 0.06em; }
.site-nav > a:not(.nav-contact) { position: relative; }
.site-nav > a:not(.nav-contact)::after { position: absolute; right: 0; bottom: -6px; left: 0; height: 1px; background: currentColor; content: ""; transform: scaleX(0); transform-origin: right; transition: transform 0.3s; }
.site-nav > a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-contact { padding: 13px 18px; border: 1px solid rgba(255,255,255,0.5); transition: 0.3s; }
.nav-contact:hover { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.nav-contact span { margin-left: 16px; }

.hero { position: relative; min-height: 100svh; color: white; background: #34372f; overflow: hidden; }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { height: 100%; object-fit: cover; animation: heroZoom 18s ease-out both; }
.hero-overlay { background: linear-gradient(90deg, rgba(17,19,15,0.82) 0%, rgba(17,19,15,0.35) 55%, rgba(17,19,15,0.18) 100%), linear-gradient(0deg, rgba(17,19,15,0.4), transparent 50%); }
.hero-content { position: relative; z-index: 2; display: flex; min-height: 100svh; max-width: 1050px; flex-direction: column; justify-content: center; padding: 150px var(--pad) 90px; }
.eyebrow { display: flex; margin: 0 0 28px; align-items: center; gap: 12px; color: #686b63; font-size: 11px; font-weight: 600; letter-spacing: 0.19em; text-transform: uppercase; }
.eyebrow::before { width: 28px; height: 1px; background: currentColor; content: ""; }
.eyebrow.light { color: rgba(255,255,255,0.7); }
h1, h2 { margin: 0; font-family: "Manrope", sans-serif; font-weight: 500; letter-spacing: -0.055em; line-height: 0.98; }
h1 { max-width: 940px; font-size: clamp(58px, 9vw, 142px); }
h1 em, h2 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; letter-spacing: -0.06em; }
.hero-intro { max-width: 510px; margin: 36px 0; color: rgba(255,255,255,0.75); font-size: clamp(16px, 1.5vw, 20px); }
.text-link { display: inline-flex; width: fit-content; align-items: center; gap: 44px; padding-bottom: 8px; border-bottom: 1px solid currentColor; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.text-link span { transition: transform 0.3s; }
.text-link:hover span { transform: translateY(4px); }
.hero-index { position: absolute; z-index: 2; right: var(--pad); bottom: 34px; margin: 0; font-size: 10px; letter-spacing: 0.18em; opacity: 0.65; }

.section { position: relative; padding: 120px var(--pad); }
.section-index { display: flex; padding-bottom: 32px; border-bottom: 1px solid var(--line); justify-content: space-between; color: var(--muted); font-size: 10px; letter-spacing: 0.17em; text-transform: uppercase; }
.section-index.inverse { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.2); }
h2 { font-size: clamp(46px, 6.5vw, 100px); }
.intro-heading { max-width: 1130px; margin: 95px 0 110px auto; }
.intro-heading h2 em, .projects-heading h2 em, .profile h2 em { color: #8a8c83; }
.intro-grid { display: grid; grid-template-columns: minmax(320px, 0.9fr) minmax(350px, 0.7fr); gap: clamp(50px, 10vw, 170px); align-items: center; }
.intro-image { position: relative; }
.intro-image img { height: min(680px, 75vw); filter: saturate(0.75); object-fit: cover; }
.image-note { position: absolute; right: -30px; bottom: -25px; padding: 18px 24px; color: var(--ink); background: var(--lime); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; line-height: 1.5; text-transform: uppercase; }
.intro-copy { max-width: 590px; }
.intro-copy p { color: #555851; }
.intro-copy .lead { color: var(--ink); font-family: "Manrope", sans-serif; font-size: clamp(22px, 2.2vw, 32px); line-height: 1.35; }
blockquote { margin: 55px 0 0; padding: 27px 0 0 28px; border-top: 1px solid var(--line); border-left: 3px solid var(--lime); font-family: Georgia, serif; font-size: clamp(20px, 2vw, 27px); font-style: italic; line-height: 1.45; }

.approach { color: white; background: var(--ink); }
.approach-header { margin: 95px 0; }
.approach-grid { display: grid; border-top: 1px solid rgba(255,255,255,0.18); border-left: 1px solid rgba(255,255,255,0.18); grid-template-columns: repeat(3, 1fr); }
.approach-card { min-height: 330px; padding: 35px; border-right: 1px solid rgba(255,255,255,0.18); border-bottom: 1px solid rgba(255,255,255,0.18); }
.approach-card > span { color: var(--lime); font-size: 10px; letter-spacing: 0.16em; }
.approach-card h3 { margin: 85px 0 15px; font: 500 clamp(27px, 3vw, 43px)/1 "Manrope", sans-serif; }
.approach-card p { max-width: 310px; margin: 0; color: rgba(255,255,255,0.55); }
.materials { display: flex; padding-top: 45px; flex-wrap: wrap; justify-content: space-between; gap: 20px; color: rgba(255,255,255,0.48); font: italic 17px Georgia, serif; }

.projects-heading { margin: 95px 0; }
.project-feature { display: grid; margin-bottom: 80px; background: var(--warm); grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.6fr); }
.project-feature-image { min-height: 520px; overflow: hidden; }
.project-feature-image img { height: 100%; object-fit: cover; transition: transform 0.8s ease; }
.project-feature:hover img { transform: scale(1.025); }
.project-feature-copy { display: flex; padding: clamp(30px, 4vw, 60px); flex-direction: column; justify-content: flex-end; }
.project-number { margin-bottom: auto; color: var(--muted); font-size: 10px; letter-spacing: 0.15em; }
.project-feature h3, .project-row h3 { margin: 0; font: 500 clamp(27px, 3vw, 44px)/1.1 "Manrope", sans-serif; letter-spacing: -0.04em; }
.project-feature-copy p { color: var(--muted); }
.project-feature-copy p:last-child { max-width: 350px; margin-top: 32px; color: #50534c; }
.project-list { border-top: 1px solid var(--line); }
.project-row { display: grid; padding: 30px 10px; border-bottom: 1px solid var(--line); align-items: center; grid-template-columns: 70px 1fr 1fr; transition: padding 0.3s, background 0.3s; }
.project-row:hover { padding-right: 25px; padding-left: 25px; background: var(--lime); }
.project-row > span { color: var(--muted); font-size: 10px; }
.project-row h3 { font-size: clamp(24px, 2.7vw, 38px); }
.project-row p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }
.project-row > p { text-align: right; }
.construction-note { margin: 30px 0 0; color: var(--muted); font-size: 12px; text-align: right; }

.profile { display: grid; padding-top: 40px; background: var(--warm); grid-template-columns: minmax(300px, 0.8fr) minmax(350px, 1fr); gap: clamp(50px, 10vw, 160px); align-items: center; }
.profile-photo img { max-height: 850px; filter: saturate(0.7); object-fit: cover; object-position: center 30%; }
.profile-copy { max-width: 650px; }
.profile-copy h2 { margin-bottom: 55px; }
.profile-copy > p { color: #555851; }
.logos { display: flex; margin-top: 55px; padding-top: 35px; border-top: 1px solid var(--line); align-items: center; gap: 35px; }
.logos img { width: auto; max-width: 190px; max-height: 70px; object-fit: contain; mix-blend-mode: multiply; }
.logos img:last-child { max-width: 70px; }

.contact { display: grid; min-height: 650px; color: white; background: #30352c; grid-template-columns: 1.3fr 0.7fr; gap: 80px; align-items: end; }
.contact-main h2 { font-size: clamp(55px, 7.5vw, 112px); }
.contact-mail { display: flex; max-width: 650px; margin-top: 70px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.35); justify-content: space-between; font-size: clamp(20px, 2.5vw, 35px); }
.contact-mail span { color: var(--lime); }
.contact-details { display: grid; gap: 38px; }
.contact-details div { display: grid; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,0.16); gap: 9px; }
.contact-details div span { color: rgba(255,255,255,0.45); font-size: 9px; letter-spacing: 0.17em; text-transform: uppercase; }
.contact-details a, address { font-size: 18px; font-style: normal; }
.map-link { display: flex; justify-content: space-between; color: var(--lime); font-size: 11px !important; letter-spacing: 0.14em; text-transform: uppercase; }
footer { display: flex; padding: 35px var(--pad); align-items: center; justify-content: space-between; color: rgba(255,255,255,0.55); background: var(--ink); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-brand { color: white; transform: scale(0.75); transform-origin: left; }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }

@media (max-width: 900px) {
    .site-header { padding-top: 22px; }
    .menu-toggle { z-index: 22; display: grid; width: 58px; height: 48px; padding: 10px; place-content: center; gap: 6px; cursor: pointer; }
    .menu-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
    .menu-toggle i { display: block; width: 27px; height: 1px; background: currentColor; transition: 0.3s; }
    .menu-open .menu-toggle i:first-of-type { transform: translateY(3.5px) rotate(45deg); }
    .menu-open .menu-toggle i:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }
    .site-nav { position: fixed; z-index: 21; inset: 0; display: flex; padding: 130px var(--pad) 60px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 24px; color: white; background: var(--ink); font: 500 clamp(34px, 8vw, 60px)/1.2 "Manrope", sans-serif; opacity: 0; pointer-events: none; transform: translateY(-20px); transition: 0.35s; }
    .menu-open .site-nav { opacity: 1; pointer-events: auto; transform: none; }
    .nav-contact { margin-top: 15px; font: 500 13px "DM Sans", sans-serif; }
    .intro-grid, .profile, .contact { grid-template-columns: 1fr; }
    .intro-heading { margin: 70px 0; }
    .intro-grid { gap: 75px; }
    .intro-image { max-width: 680px; }
    .approach-grid { grid-template-columns: 1fr; }
    .approach-card { min-height: 250px; }
    .approach-card h3 { margin-top: 55px; }
    .project-feature { grid-template-columns: 1fr; }
    .project-feature-image { min-height: auto; }
    .project-feature-copy { min-height: 350px; }
    .profile { padding-top: 90px; }
    .profile-photo { max-width: 580px; }
    .contact { gap: 100px; }
}

@media (max-width: 620px) {
    .brand-copy strong { font-size: 15px; }
    .brand-copy span { font-size: 7px; }
    .hero-content { justify-content: flex-end; padding-bottom: 110px; }
    .hero-overlay { background: linear-gradient(0deg, rgba(17,19,15,0.85), rgba(17,19,15,0.15) 85%); }
    .hero-index { display: none; }
    .section { padding-top: 85px; padding-bottom: 85px; }
    .intro-heading, .approach-header, .projects-heading { margin: 65px 0; }
    .intro-image img { height: 120vw; max-height: 600px; }
    .image-note { right: -8px; }
    .materials { display: grid; grid-template-columns: 1fr 1fr; }
    .project-feature-image img { min-height: 260px; object-fit: cover; }
    .project-row { grid-template-columns: 38px 1fr; }
    .project-row > p { display: none; }
    .logos { flex-wrap: wrap; }
    .contact { min-height: 720px; }
    .contact-mail { font-size: 17px; }
    footer { align-items: flex-start; flex-direction: column; gap: 25px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
