:root {
    --bg: #faf9f7;
    --text: #161412;
    --muted: #7a7570;
    --border: #e4e0db;
    --accent: #161412;
    --warm: #c9b99a;
    --warm-light: #f0ebe3;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'DM Sans', sans-serif;
    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --transition: all 0.8s var(--ease);
    --shadow: 0 20px 60px rgba(22, 20, 18, 0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; }

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.7;
    overflow-x: hidden;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 5%; }

/* ============================
   HEADER
   ============================ */
.header {
    position: fixed;
    top: 0; width: 100%;
    z-index: 1000;
    background: rgba(250, 249, 247, 0.8);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    border-bottom: 1px solid transparent;
    padding: 1.4rem 0;
    transition: var(--transition);
}
.header.scrolled {
    padding: 0.9rem 0;
    background: rgba(250, 249, 247, 0.96);
    border-bottom-color: var(--border);
    box-shadow: 0 2px 24px rgba(22,20,18,0.06);
}

.nav-inner { display: flex; justify-content: space-between; align-items: center; }

.logo {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 5px;
    text-decoration: none;
    color: var(--text);
}

.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1px;
    background: var(--text);
    transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px; height: 1.5px;
    background: var(--text);
    transition: var(--transition);
    transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================
   REVEAL
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ============================
   HERO
   ============================ */
.hero {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg-lines {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-around;
    pointer-events: none;
    z-index: 0;
}
.hero-bg-lines .line {
    width: 1px;
    background: var(--border);
    opacity: 0.6;
    animation: lineFade 2s var(--ease) forwards;
    transform-origin: top;
    transform: scaleY(0);
}
@keyframes lineFade {
    to { transform: scaleY(1); }
}
.hero-bg-lines .line:nth-child(1) { animation-delay: 0.1s; }
.hero-bg-lines .line:nth-child(2) { animation-delay: 0.2s; }
.hero-bg-lines .line:nth-child(3) { animation-delay: 0.3s; }
.hero-bg-lines .line:nth-child(4) { animation-delay: 0.4s; }

.hero-content { position: relative; z-index: 1; }

.hero-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
    font-size: 0.7rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}
.dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--warm);
    flex-shrink: 0;
}

.hero-heading {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 9vw, 8rem);
    line-height: 1;
    font-weight: 400;
    margin-bottom: 4rem;
    letter-spacing: -0.5px;
}
.hero-heading em {
    font-style: italic;
    color: var(--muted);
}

.hero-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    max-width: 900px;
}
.hero-bottom p {
    max-width: 440px;
    font-size: 1.05rem;
    color: var(--muted);
    font-weight: 300;
    line-height: 1.75;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-bottom: 1.5px solid var(--text);
    padding-bottom: 4px;
    white-space: nowrap;
    transition: gap 0.3s var(--ease), opacity 0.3s;
}
.cta-link:hover { gap: 1rem; opacity: 0.7; }
.arrow { transition: transform 0.3s var(--ease); }
.cta-link:hover .arrow { transform: translateX(4px); }

.hero-scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    z-index: 1;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--warm), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}
.hero-scroll-indicator span {
    font-size: 0.6rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted);
    writing-mode: vertical-rl;
}

/* ============================
   EXPERIENCE BAR
   ============================ */
.experience-bar {
    padding: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--warm-light);
}
.exp-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
    gap: 2rem;
}
.exp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.exp-item h2 {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 300;
    line-height: 1;
    display: inline-flex;
    align-items: baseline;
    gap: 2px;
}
.exp-suffix {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--warm);
}
.exp-item p {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--muted);
    font-weight: 500;
}
.exp-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
    flex-shrink: 0;
}

/* ============================
   SECTION COMMONS
   ============================ */
.section-label {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--warm);
    font-weight: 600;
    margin-bottom: 1.2rem;
}
.section-heading {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 3rem;
}
.section-heading em { font-style: italic; color: var(--muted); }
.section-header { margin-bottom: 4rem; }

/* ============================
   ABOUT
   ============================ */
.about-section { padding: 140px 0; }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
}
.about-visual { position: relative; }
.about-img-wrap { position: relative; }
.about-img-placeholder {
    aspect-ratio: 4/5;
    background: linear-gradient(135deg, #c9b99a 0%, #a08870 60%, #8a7060 100%);
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}
.placeholder-lines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 80%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.placeholder-lines div {
    height: 80px;
    background: rgba(255,255,255,0.12);
    border-radius: 1px;
}
.placeholder-lines div:nth-child(2) { height: 120px; margin-top: -20px; }
.placeholder-lines div:nth-child(5) { height: 100px; margin-top: -10px; }
.placeholder-label {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-serif);
    font-size: 0.85rem;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    white-space: nowrap;
}
.about-tag {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--text);
    color: white;
    padding: 1.2rem 1.8rem;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    letter-spacing: 1px;
}
.about-text { padding-top: 1rem; }
.about-text p { color: var(--muted); margin-bottom: 1.25rem; font-size: 1rem; }
.about-features {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}
.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
}
.feature-icon { color: var(--warm); font-size: 0.6rem; }

/* ============================
   SERVICES
   ============================ */
.services-section { padding: 0 0 140px; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
}
.service-card {
    padding: 3.5rem 3rem;
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    transition: background 0.5s, transform 0.5s var(--ease);
    cursor: default;
}
.service-card:last-child { border-right: none; }
.service-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 0;
    background: var(--warm-light);
    transition: height 0.5s var(--ease);
    z-index: 0;
}
.service-card:hover::before { height: 100%; }
.service-card > * { position: relative; z-index: 1; }

.service-num {
    font-family: var(--font-serif);
    font-size: 4rem;
    font-weight: 300;
    color: var(--border);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color 0.4s;
}
.service-card:hover .service-num { color: var(--warm); }
.service-icon {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--warm);
    display: block;
}
.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
}
.service-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.8; }
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s, transform 0.4s var(--ease);
}
.service-card:hover .service-link { opacity: 1; transform: translateY(0); }

/* ============================
   PROCESS
   ============================ */
.process-section { padding: 0 0 140px; }
.process-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
}
.process-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
    gap: 1.5rem;
}
.step-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    border: 1.5px solid var(--warm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--warm);
    flex-shrink: 0;
}
.step-content h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.6rem;
}
.step-content p { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.process-connector {
    flex-shrink: 0;
    width: 80px;
    height: 1.5px;
    background: var(--border);
    margin-top: 26px;
    position: relative;
}
.process-connector::after {
    content: '';
    position: absolute;
    right: -4px; top: -3px;
    width: 7px; height: 7px;
    background: var(--warm);
    border-radius: 50%;
}

/* ============================
   PROJECTS
   ============================ */
.projects-section { padding: 0 0 140px; }
.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 1.5px;
    background: var(--border);
    margin-bottom: 3rem;
}
.project-card { background: var(--bg); overflow: hidden; position: relative; }
.project-card.large { grid-row: span 2; }

.project-thumb {
    position: relative;
    overflow: hidden;
    transition: transform 0.8s var(--ease);
}
.project-card.large .project-thumb { height: 520px; }
.project-card:not(.large) .project-thumb { height: 240px; }
.project-card:hover .project-thumb { transform: scale(1.02); }

.project-pattern {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.project-pattern svg { width: 60%; height: 60%; }

.project-info { padding: 1.8rem 2rem; }
.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.7rem;
}
.project-type {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    color: var(--warm);
}
.project-year { font-size: 0.75rem; color: var(--muted); }
.project-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
}
.project-card:not(.large) h3 { font-size: 1.05rem; }
.project-card p { font-size: 0.85rem; color: var(--muted); }
.projects-cta { text-align: center; padding-top: 1rem; }

/* ============================
   TESTIMONIAL
   ============================ */
.testimonial-section {
    padding: 100px 0;
    background: var(--text);
    color: white;
}
.testimonial {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.testimonial p {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 3vw, 2.2rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2.5rem;
}
.testimonial footer { display: flex; flex-direction: column; gap: 0.3rem; }
.testimonial strong {
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--warm);
    font-weight: 600;
}
.testimonial span { font-size: 0.75rem; color: rgba(255,255,255,0.4); letter-spacing: 1px; }
.testimonial-section .cta-link {
    color: white;
    border-bottom-color: rgba(255,255,255,0.4);
}
.testimonial-section .cta-link:hover { opacity: 0.7; }

/* ============================
   CONTACT
   ============================ */
.contact-section { padding: 140px 0; }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 8rem;
    align-items: start;
}
.contact-info h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
}
.contact-info > p { color: var(--muted); margin-bottom: 2.5rem; font-size: 1rem; }

.office-note {
    background: var(--warm-light);
    padding: 1.5rem 1.8rem;
    border-left: 3px solid var(--warm);
    margin-bottom: 2.5rem;
}
.office-note strong {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
    color: var(--muted);
}
.office-note p { font-size: 0.9rem; color: var(--muted); }

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1.2rem; align-items: flex-start; }
.contact-icon { color: var(--warm); font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong {
    display: block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.3rem;
    color: var(--muted);
}
.contact-item p { font-size: 0.92rem; color: var(--text); }
.contact-item a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); transition: border-color 0.3s; }
.contact-item a:hover { border-color: var(--text); }

.map-container {
    width: 100%;
    height: 520px;
    background: #e8e4de;
    border-radius: 2px;
    overflow: hidden;
    filter: grayscale(0.85) sepia(0.1);
    transition: filter 0.8s var(--ease), box-shadow 0.5s;
}
.map-container:hover {
    filter: grayscale(0) sepia(0);
    box-shadow: var(--shadow);
}

/* ============================
   FOOTER
   ============================ */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border);
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}
.footer-brand .logo {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.4rem;
}
.footer-brand p { font-size: 0.75rem; color: var(--muted); letter-spacing: 1px; }
.footer-links {
    display: flex;
    gap: 2.5rem;
}
.footer-links a {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--text); }
.footer-copy {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.5px;
    text-align: right;
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .about-grid { gap: 4rem; }
    .contact-grid { gap: 4rem; }
    .process-steps { flex-wrap: wrap; justify-content: center; }
    .process-connector { display: none; }
    .process-step { flex: 0 0 calc(50% - 2rem); }
}

@media (max-width: 860px) {
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: min(300px, 80vw);
        height: 100dvh;
        background: var(--bg);
        border-left: 1px solid var(--border);
        flex-direction: column;
        justify-content: center;
        gap: 2.5rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.6s var(--ease);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a { font-size: 0.85rem; }
    .hamburger { display: flex; }

    .hero-bottom { flex-direction: column; align-items: flex-start; }
    .hero-heading { font-size: clamp(3rem, 10vw, 5rem); }

    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-tag { display: none; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card { border-right: none; border-bottom: 1px solid var(--border); }
    .service-card:last-child { border-bottom: none; }

    .projects-grid { grid-template-columns: 1fr; }
    .project-card.large { grid-row: span 1; }
    .project-card.large .project-thumb { height: 320px; }

    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .map-container { height: 360px; }

    .experience-bar { padding: 60px 0; }
    .exp-grid { flex-wrap: wrap; gap: 2.5rem; }
    .exp-divider { display: none; }
    .exp-item { flex: 0 0 40%; }

    .footer-inner { flex-direction: column; align-items: flex-start; }
    .footer-copy { text-align: left; }
    .footer-links { flex-wrap: wrap; gap: 1.5rem; }

    .process-step { flex: 0 0 calc(100% - 2rem); }
}

@media (max-width: 540px) {
    .hero-heading { font-size: 2.8rem; }
    .exp-item { flex: 0 0 100%; }
    .exp-item h2 { font-size: 3rem; }
}
