/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ─── Tokens ─── */
:root {
    --ink:       #0b0b09;
    --ink-2:     #131311;
    --paper:     #f4f2ed;
    --paper-2:   #ebe8e0;
    --white:     #ffffff;
    --gold:      #c9b89a;
    --gold-dim:  rgba(201,184,154,0.18);
    --dim-d:     rgba(255,255,255,0.4);
    --dim-l:     #7c7a72;
    --rule-d:    rgba(255,255,255,0.08);
    --rule-l:    #dad7cf;
    --serif:     'Cormorant Garamond', serif;
    --sans:      'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    cursor: none;
}

/* ─── Preloader ─── */
#preloader {
    position: fixed;
    inset: 0;
    background: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 8000;
    transition: opacity 0.7s ease 0.1s, visibility 0.7s ease 0.1s;
}
#preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.pl-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.pl-logo {
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: var(--white);
    animation: plFade 1.1s ease both;
}

@keyframes plFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
}

.pl-bar {
    width: 120px;
    height: 1px;
    background: var(--rule-d);
    overflow: hidden;
}

.pl-fill {
    display: block;
    height: 100%;
    background: var(--gold);
    animation: plBar 1.1s cubic-bezier(0.4,0,0.2,1) both;
}

@keyframes plBar {
    from { width: 0; }
    to   { width: 100%; }
}

/* ─── Custom cursor ─── */
#cursor {
    width: 7px;
    height: 7px;
    background: var(--white);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 7999;
    transform: translate(-50%,-50%);
    mix-blend-mode: difference;
    transition: width 0.16s, height 0.16s;
    will-change: left, top;
}
#cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 7998;
    transform: translate(-50%,-50%);
    mix-blend-mode: difference;
    transition: width 0.22s, height 0.22s;
    will-change: left, top;
}
#cursor.big    { width: 14px; height: 14px; }
#cursor-ring.big { width: 60px; height: 60px; }

/* ─── Shared ─── */
.eyebrow {
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--dim-l);
}
.eyebrow.light { color: var(--dim-d); }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 1rem 2.25rem;
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid;
    cursor: none;
    transition: background 0.3s, color 0.3s;
}
.btn .arr { font-size: 0.9rem; transition: transform 0.25s; }
.btn:hover .arr { transform: translate(3px, -2px); }

.btn-outline {
    color: var(--white);
    background: transparent;
    border-color: rgba(255,255,255,0.38);
}
.btn-outline:hover { background: var(--white); color: var(--ink); border-color: var(--white); }

.btn-solid {
    color: var(--white);
    background: var(--ink);
    border-color: var(--ink);
}
.btn-solid:hover { background: transparent; color: var(--ink); }

/* ─── Nav ─── */
#nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 4rem;
    transition: background 0.4s, border-color 0.4s, padding 0.35s;
}
#nav.nav-dark {
    background: transparent;
    border-bottom: 1px solid var(--rule-d);
}
#nav.nav-light {
    background: rgba(244,242,237,0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--rule-l);
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

.logo {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.07em;
    text-decoration: none;
    transition: color 0.4s;
}
.nav-dark .logo { color: var(--white); }
.nav-light .logo { color: var(--ink); }

.nav-links { list-style: none; display: flex; gap: 3rem; }
.nav-links a {
    font-size: 0.62rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
    cursor: none;
}
.nav-dark  .nav-links a { color: var(--dim-d); }
.nav-light .nav-links a { color: var(--dim-l); }
.nav-dark  .nav-links a:hover { color: var(--white); }
.nav-light .nav-links a:hover { color: var(--ink); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: none;
    padding: 4px;
    z-index: 501;
    position: relative;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    transition: transform 0.3s, background 0.4s;
    transform-origin: center;
}
.nav-dark  .nav-toggle span { background: var(--white); }
.nav-light .nav-toggle span { background: var(--ink); }
.nav-toggle.open span:first-child { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle.open span:last-child  { transform: rotate(-45deg) translate(4px, -4px); }

/* ─── Hero ─── */
#hero {
    min-height: 100vh;
    background: var(--ink);
    display: flex;
    align-items: center;
    padding: 9rem 4rem 6rem;
    position: relative;
    overflow: hidden;
}

.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    pointer-events: none;
    will-change: transform;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 60% at 72% 52%, rgba(201,184,154,0.08) 0%, transparent 65%),
        radial-gradient(ellipse 35% 70% at 5% 50%, rgba(201,184,154,0.04) 0%, transparent 55%);
    pointer-events: none;
}

/* Building elevation illustration */
.hero-illus {
    position: absolute;
    right: -2%;
    top: 50%;
    transform: translateY(-48%);
    width: 52%;
    max-width: 580px;
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    animation: illustIn 1.2s ease 1.4s forwards;
}

@keyframes illustIn {
    from { opacity: 0; transform: translateY(-48%) translateX(20px); }
    to   { opacity: 1; transform: translateY(-48%) translateX(0); }
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 52%;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.hero-tags {
    display: flex;
    gap: 1rem;
    animation: fadeUp 0.8s ease 0.7s both;
}

.tag {
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--dim-d);
    padding: 0.4rem 0.85rem;
    border: 1px solid var(--rule-d);
}

#hero h1 {
    font-family: var(--serif);
    font-size: clamp(5rem, 11vw, 11rem);
    font-weight: 300;
    line-height: 0.86;
    letter-spacing: -0.02em;
    color: var(--white);
    display: flex;
    flex-direction: column;
}

.hl { display: block; overflow: hidden; }
.hl > * { display: block; animation: lineIn 1s cubic-bezier(0.2,0.8,0.3,1) both; }
.hl:nth-child(1) > *,
.hl:nth-child(1) { animation: lineIn 1s cubic-bezier(0.2,0.8,0.3,1) 0.85s both; }
.hl:nth-child(2),
.hl:nth-child(2) { animation: lineIn 1s cubic-bezier(0.2,0.8,0.3,1) 1.0s both; }
.hl:nth-child(3),
.hl:nth-child(3) { animation: lineIn 1s cubic-bezier(0.2,0.8,0.3,1) 1.15s both; }

@keyframes lineIn {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: none; }
}

.i1 { padding-left: 4.5vw; }
.i2 { padding-left: 9vw; }
#hero h1 em { font-style: italic; color: var(--gold); font-weight: 300; }

.hero-foot {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    animation: fadeUp 0.8s ease 1.35s both;
}

.hero-sub {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--dim-d);
    max-width: 360px;
    line-height: 1.9;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: none; }
}

.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    right: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 2;
    animation: fadeUp 0.8s ease 1.6s both;
}
.sh-bar {
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.22));
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%,100% { opacity: 0.4; transform: scaleY(1); }
    50%      { opacity: 1;   transform: scaleY(1.3); }
}
.sh-label {
    font-size: 0.55rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--dim-d);
}

/* ─── Ticker ─── */
.ticker {
    background: var(--gold);
    padding: 0.8rem 0;
    overflow: hidden;
    white-space: nowrap;
}
.ticker-inner {
    display: inline-flex;
    gap: 2.5rem;
    animation: tick 34s linear infinite;
}
.ticker-inner span {
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ink);
}
.ticker-inner b { opacity: 0.35; font-weight: 400; font-size: 0.7rem; }

@keyframes tick {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ─── Services ─── */
#services {
    padding: 8rem 4rem;
    background: var(--paper);
}

.sec-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 2rem;
    margin-bottom: 4.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--rule-l);
}
.sec-head-l .eyebrow { display: block; margin-bottom: 0.75rem; }
.sec-head-l h2 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.01em;
}
.sec-intro {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--dim-l);
    line-height: 1.9;
    max-width: 360px;
    align-self: end;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border: 1px solid var(--rule-l);
}

.sc {
    padding: 2.25rem 1.75rem 2rem;
    border-right: 1px solid var(--rule-l);
    border-bottom: 1px solid var(--rule-l);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    cursor: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}
.sc::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-dim) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
}
.sc:hover { background: var(--paper-2); }
.sc:hover::after { opacity: 1; }

.sc:nth-child(4n)       { border-right: none; }
.sc:nth-last-child(-n+4){ border-bottom: none; }

.sc-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.sc-n {
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    color: var(--dim-l);
}
.sc-arr {
    font-size: 0.9rem;
    color: var(--rule-l);
    transition: color 0.28s, transform 0.28s;
    line-height: 1;
}
.sc:hover .sc-arr { color: var(--gold); transform: translate(3px,-3px); }

.sc-icon {
    width: 36px;
    height: 36px;
    color: var(--dim-l);
    transition: color 0.3s;
}
.sc:hover .sc-icon { color: var(--gold); }

.sc h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.2;
    flex: 1;
}
.sc p {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--dim-l);
    line-height: 1.85;
}

/* ─── Process ─── */
#process {
    background: var(--ink-2);
    padding: 8rem 4rem;
    position: relative;
    overflow: hidden;
}
#process::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}

.process-wrap { position: relative; z-index: 1; }

.process-head {
    margin-bottom: 5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--rule-d);
}
.process-head .eyebrow { display: block; margin-bottom: 0.75rem; }
.process-head h2 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.01em;
}

.process-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: start;
    gap: 0 1.5rem;
}

.step {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: relative;
}

.step-num-bg {
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-family: var(--serif);
    font-size: 5rem;
    font-weight: 300;
    color: rgba(255,255,255,0.03);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.02em;
}

.step-icon {
    width: 44px;
    height: 44px;
    color: var(--gold);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.step-body { position: relative; z-index: 1; }

.step-body h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.step-body p {
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--dim-d);
    line-height: 1.85;
}

.step-divider {
    display: flex;
    align-items: center;
    padding-top: 3.5rem;
    width: 60px;
}

/* ─── Studio ─── */
#studio {
    background: var(--ink);
    padding: 8rem 4rem;
    position: relative;
    overflow: hidden;
}

.floorplan-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0.7;
}

.studio-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.studio-l .eyebrow { display: block; margin-bottom: 2rem; }
.studio-l h2 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 4.5vw, 4.2rem);
    font-weight: 300;
    color: var(--white);
    line-height: 1.18;
    letter-spacing: -0.01em;
}
.studio-l h2 em { color: var(--gold); font-style: italic; font-weight: 300; }

.studio-r p {
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--dim-d);
    line-height: 1.95;
    margin-bottom: 3.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    padding-top: 2.5rem;
    border-top: 1px solid var(--rule-d);
}

.stat { padding-right: 2rem; }
.stat + .stat { border-left: 1px solid var(--rule-d); padding-left: 2rem; padding-right: 0; }

.sn {
    display: block;
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.sn sup {
    font-size: 1.6rem;
    vertical-align: super;
    line-height: 0;
}
.sl {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dim-d);
}

/* ─── Portfolio ─── */
#portfolio {
    padding: 8rem 4rem;
    background: var(--paper);
}

.port-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: end;
    gap: 2rem;
    margin-bottom: 4rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--rule-l);
}
.port-head-l .eyebrow { display: block; margin-bottom: 0.75rem; }
.port-head-l h2 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1;
    letter-spacing: -0.01em;
}
.port-note {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--dim-l);
    line-height: 1.9;
    max-width: 360px;
    align-self: end;
}

.port-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 1.5rem;
}

.proj { display: flex; flex-direction: column; cursor: none; }

.proj-img {
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
}
.proj-img--ext {
    background: linear-gradient(155deg,
        #a8bcc8 0%, #8aa0b0 20%,
        #c4b49a 55%, #b09070 80%, #907858 100%);
}
.proj-img--int {
    background: linear-gradient(155deg,
        #ded5c2 0%, #c8baa8 25%,
        #b0a085 55%, #988868 80%, #806850 100%);
}
.proj-img--ngt {
    background: linear-gradient(155deg,
        #141820 0%, #1c2030 25%,
        #252015 55%, #181008 80%, #0a0808 100%);
}

.proj-sketch {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.proj-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.25rem;
    background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.15) 50%, transparent 75%);
    opacity: 0;
    transition: opacity 0.35s;
}
.proj:hover .proj-overlay { opacity: 1; }

.proj-type {
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    align-self: flex-start;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(201,184,154,0.4);
    backdrop-filter: blur(4px);
}
.proj-year {
    font-size: 0.65rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    align-self: flex-end;
}

.proj-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--rule-l);
}
.proj-info h4 {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.01em;
}
.proj-link {
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--dim-l);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    cursor: none;
    transition: color 0.2s;
}
.proj-link span { font-size: 0.85rem; transition: transform 0.2s; }
.proj-link:hover { color: var(--ink); }
.proj-link:hover span { transform: translate(2px,-2px); }

/* ─── Contact ─── */
#contact {
    padding: 8rem 4rem;
    background: var(--paper-2);
}

.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.contact-l .eyebrow { display: block; margin-bottom: 1.5rem; }
.contact-l h2 {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
    letter-spacing: -0.01em;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.contact-l p {
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--dim-l);
    line-height: 1.85;
    max-width: 320px;
    margin-bottom: 2rem;
}

.email-link {
    display: block;
    font-size: 0.875rem;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 2px;
    width: fit-content;
    margin-bottom: 2.5rem;
    transition: color 0.2s, border-color 0.2s;
}
.email-link:hover { color: var(--dim-l); border-color: var(--dim-l); }

.contact-detail {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule-l);
    font-size: 0.75rem;
    font-weight: 300;
}
.contact-detail span:first-child { color: var(--dim-l); letter-spacing: 0.05em; }
.contact-detail span:last-child { color: var(--ink); font-weight: 400; }

.contact-form { display: flex; flex-direction: column; gap: 1.75rem; }

.field { display: flex; flex-direction: column; gap: 0.55rem; }
.field label {
    font-size: 0.58rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--dim-l);
}
.field input,
.field textarea {
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--ink);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule-l);
    padding: 0.7rem 0;
    outline: none;
    resize: none;
    -webkit-appearance: none;
    transition: border-color 0.25s;
    cursor: none;
}
.field input::placeholder, .field textarea::placeholder { color: #ccc8bf; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }

.select-wrap { position: relative; }
.select-wrap select {
    width: 100%;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 300;
    color: var(--dim-l);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--rule-l);
    padding: 0.7rem 2rem 0.7rem 0;
    outline: none;
    -webkit-appearance: none;
    cursor: none;
    transition: border-color 0.25s;
}
.select-wrap select:focus { border-color: var(--ink); color: var(--ink); }
.select-wrap select option { color: var(--ink); background: var(--white); }
.select-chevron {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 8px;
    color: var(--dim-l);
    pointer-events: none;
}

/* ─── Footer ─── */
footer {
    background: var(--ink);
    padding: 3.5rem 4rem 2rem;
}
.ft-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    gap: 2rem;
    padding-bottom: 2.5rem;
    margin-bottom: 1.75rem;
    border-bottom: 1px solid var(--rule-d);
}
.ft-brand { display: flex; flex-direction: column; gap: 0.4rem; }
.ft-logo {
    font-family: var(--serif);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.07em;
}
.ft-tagline {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--dim-d);
}
.ft-nav {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}
.ft-nav a {
    font-size: 0.6rem;
    font-weight: 400;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--dim-d);
    cursor: none;
    transition: color 0.2s;
}
.ft-nav a:hover { color: var(--white); }
.ft-email {
    font-size: 0.75rem;
    font-weight: 300;
    color: var(--dim-d);
    text-decoration: none;
    text-align: right;
    cursor: none;
    transition: color 0.2s;
}
.ft-email:hover { color: var(--white); }
.ft-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    color: rgba(255,255,255,0.22);
    letter-spacing: 0.08em;
}

/* ─── Scroll reveal ─── */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.85s ease, transform 0.85s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ─── Responsive: 2-column services ─── */
@media (max-width: 1160px) {
    .service-grid { grid-template-columns: repeat(2,1fr); }
    .sc:nth-child(4n)        { border-right: 1px solid var(--rule-l); }
    .sc:nth-child(2n)        { border-right: none; }
    .sc:nth-last-child(-n+4) { border-bottom: 1px solid var(--rule-l); }
    .sc:nth-last-child(-n+2) { border-bottom: none; }
}

/* ─── Responsive: tablet / mobile ─── */
@media (max-width: 860px) {
    #nav { padding: 1.25rem 2rem; }
    #nav.nav-light { padding: 1.25rem 2rem; }

    .nav-links {
        display: none;
        position: fixed;
        inset: 0;
        background: var(--ink);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 499;
    }
    .nav-links.open { display: flex; }
    .nav-links a { color: rgba(255,255,255,0.7) !important; font-size: 0.85rem; }
    .nav-links a:hover { color: var(--white) !important; }
    .nav-toggle { display: flex; }

    #hero { padding: 8rem 2rem 5rem; }
    .hero-content { width: 100%; }
    .hero-illus { display: none; }
    .hero-foot { flex-direction: column; align-items: flex-start; gap: 2rem; }
    .scroll-hint { right: 2rem; }

    #services { padding: 5rem 2rem; }
    .sec-head { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .sc { border-right: none !important; border-bottom: 1px solid var(--rule-l) !important; }
    .sc:last-child { border-bottom: none !important; }
    .sc:nth-last-child(-n+2) { border-bottom: 1px solid var(--rule-l) !important; }

    #process { padding: 5rem 2rem; }
    .process-steps {
        grid-template-columns: 1fr;
        gap: 2.5rem 0;
    }
    .step-divider {
        display: none;
    }

    #studio { padding: 5rem 2rem; }
    .studio-inner { grid-template-columns: 1fr; gap: 3rem; }

    #portfolio { padding: 5rem 2rem; }
    .port-head { grid-template-columns: 1fr; }
    .port-grid { grid-template-columns: 1fr; }

    #contact { padding: 5rem 2rem; }
    .contact-wrap { grid-template-columns: 1fr; gap: 3.5rem; }

    footer { padding: 2.5rem 2rem 1.5rem; }
    .ft-top { grid-template-columns: 1fr; text-align: left; gap: 1.5rem; }
    .ft-nav { justify-content: flex-start; flex-wrap: wrap; }
    .ft-email { text-align: left; }
    .ft-bottom { flex-direction: column; gap: 0.4rem; }

    /* Disable cursor on touch */
    #cursor, #cursor-ring { display: none; }
    body, .btn, .nav-toggle, .sc, .proj, .field input, .field textarea,
    .select-wrap select, .ft-nav a, .nav-links a, .proj-link { cursor: auto; }
}
