/* ============================================================
 Design Plan Associates Stylesheet
 Architecture · Urban Design · Heritage Care
 ============================================================ */

:root {
 --ink: #0a0a0a;
 --ink-soft: #1a1a1a;
 --paper: #ffffff;
 --paper-warm: #fafaf8;
 --rule: #e8e8e6;
 --rule-strong: #cfcfcc;
 --muted: #6b6b6b;
 --accent: #EA3C00;
 --accent-deep: #c43200;
 --serif: 'Playfair Display', 'Times New Roman', serif;
 --sans: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

 --gutter: clamp(20px, 4vw, 48px);
 --section-gap: clamp(60px, 9vw, 120px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
 font-family: var(--sans);
 background: var(--paper);
 color: var(--ink);
 line-height: 1.5;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
 overflow-x: hidden;
 min-width: 320px;
}
::selection { background: var(--accent); color: var(--paper); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font-family: inherit; }

/* ============= LIGHTBOX ============= */
.lightbox {
 position: fixed; inset: 0; z-index: 1000;
 display: none; align-items: center; justify-content: center;
 background: rgba(10, 10, 10, 0.92);
 padding: 4vh 4vw; cursor: zoom-out;
 opacity: 0; transition: opacity 0.2s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img {
 max-width: min(100%, 1200px);
 max-height: min(85vh, 800px);
 width: auto; height: auto; object-fit: contain;
 cursor: default; box-shadow: 0 24px 70px rgba(0,0,0,0.5);
 background: #fff;
}
.lightbox-close {
 position: fixed; top: 16px; right: 24px;
 font-size: 36px; line-height: 1; color: #fff;
 background: none; border: none; cursor: pointer;
 opacity: 0.8; transition: opacity 0.2s ease; z-index: 1;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
 position: fixed; top: 50%; transform: translateY(-50%);
 background: rgba(0,0,0,0.4); border: none; color: #fff;
 width: 48px; height: 48px; border-radius: 999px;
 font-size: 24px; line-height: 1;
 cursor: pointer; opacity: 0.8; transition: opacity .2s, background .2s;
 z-index: 2; display: none;
}
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; background: rgba(0,0,0,0.7); }
.lightbox.open .lightbox-prev, .lightbox.open .lightbox-next { display: block; }
.lightbox-counter {
 position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
 color: #fff; font-size: 12px; letter-spacing: 0.14em;
 background: rgba(0,0,0,0.4); padding: 6px 14px; border-radius: 999px;
 z-index: 1;
}
@media (max-width: 560px) {
 .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 20px; }
 .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

/* ============= GLOBAL NAV ============= */
.topnav {
 position: fixed; top: 0; left: 0; right: 0;
 z-index: 100;
 padding: 18px var(--gutter);
 display: flex; align-items: center; justify-content: space-between;
 background: rgba(255,255,255,0.88);
 backdrop-filter: blur(14px);
 -webkit-backdrop-filter: blur(14px);
 border-bottom: 1px solid var(--rule);
 gap: 16px;
}
.topnav .brand {
 display: flex; align-items: center;
 text-decoration: none; color: var(--ink);
 flex-shrink: 0;
}
.topnav .brand img {
 height: 64px;
 width: auto;
 display: block;
}
.topnav ul {
 list-style: none; display: flex;
 gap: clamp(20px, 3.5vw, 40px);
 font-size: 13px; font-weight: 500;
 letter-spacing: 0.06em; text-transform: uppercase;
 margin: 0; padding: 0;
}
.topnav ul a {
 color: var(--ink); text-decoration: none;
 position: relative; padding-bottom: 4px;
 transition: color .25s ease;
 white-space: nowrap;
}
.topnav ul a::after {
 content: ''; position: absolute; bottom: 0; left: 0;
 width: 0; height: 1px; background: var(--accent);
 transition: width .35s ease;
}
.topnav ul a.active { color: var(--accent); }
.topnav ul a.active::after,
.topnav ul a:hover::after { width: 100%; }
.topnav ul a:hover { color: var(--accent); }
.topnav .cta {
 font-size: 12px; font-weight: 500; letter-spacing: 0.08em;
 text-transform: uppercase; padding: 11px 20px;
 border: 1px solid var(--ink); color: var(--ink);
 text-decoration: none; transition: all .3s ease;
 white-space: nowrap; flex-shrink: 0;
}
.topnav .cta:hover { background: var(--ink); color: var(--paper); }

.menu-toggle {
 display: none;
 background: transparent; border: 0; cursor: pointer;
 width: 32px; height: 24px; position: relative; padding: 0;
 flex-shrink: 0;
}
.menu-toggle span {
 position: absolute; left: 0; right: 0; height: 1.5px;
 background: var(--ink);
 transition: transform .3s ease, top .3s ease, opacity .2s ease;
}
.menu-toggle span:nth-child(1) { top: 5px; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { top: calc(100% - 6px); }
.menu-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { top: 50%; transform: translateY(-50%) rotate(-45deg); }

/* ============= MAIN ============= */
main {
 padding: 100px var(--gutter) clamp(60px, 8vw, 90px);
 position: relative;
 min-height: 60vh;
 max-width: 1560px;
 margin: 0 auto;
}
@media (min-width: 1400px) {
 main { padding-left: clamp(48px, 5vw, 88px); padding-right: clamp(48px, 5vw, 88px); }
}
.page-label {
 position: absolute;
 top: clamp(80px, 11vw, 110px);
 right: var(--gutter);
 font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase;
 color: var(--muted);
 z-index: 5;
}
.page-label::before {
 content: ''; display: inline-block; width: 24px; height: 1px;
 background: var(--accent); margin-right: 10px; vertical-align: middle;
}

/* ============= HERO ============= */
.hero {
 display: grid;
 grid-template-columns: 1fr 1.2fr;
 gap: clamp(40px, 6vw, 80px);
 align-items: start;
 min-height: calc(100vh - 200px);
}
.hero-eyebrow {
 font-family: var(--serif);
 font-style: italic;
 font-weight: 300;
 font-size: clamp(17px, 1.8vw, 22px);
 letter-spacing: 0;
 text-transform: none;
 color: var(--ink-soft);
 margin-bottom: clamp(20px, 3vw, 32px);
 display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.hero-eyebrow .dot {
 width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
 flex-shrink: 0;
}
.disciplines-img {
 width: clamp(340px, 44vw, 600px);
 height: auto;
 display: block;
}
.disciplines-list {
 display: flex;
 align-items: center;
 gap: 0;
 font-family: var(--sans);
 font-style: normal;
 font-size: clamp(13px, 1.4vw, 18px);
 font-weight: 500;
 color: var(--ink);
 letter-spacing: 0.01em;
}
.disciplines-list span {
 padding: 0 clamp(10px, 1.2vw, 18px);
}
.disciplines-list span:first-child { padding-left: 0; }
.disciplines-list .vline {
 display: block;
 width: 1px;
 height: 1.1em;
 background: var(--ink);
 padding: 0;
 flex-shrink: 0;
 opacity: 0.35;
}
.disciplines-svg {
 width: clamp(280px, 48vw, 520px);
 height: auto;
 display: block;
 overflow: hidden;
}
.hero-since {
 font-family: var(--serif);
 font-style: italic;
 font-size: clamp(16px, 1.8vw, 24px);
 color: var(--accent);
 letter-spacing: 0;
 padding-left: 4px;
}
.hero h1 {
 font-family: var(--sans);
 font-size: clamp(48px, 8.5vw, 124px);
 font-weight: 700; line-height: 0.94;
 letter-spacing: -0.035em;
 margin-bottom: clamp(24px, 3vw, 36px);
 word-wrap: break-word; overflow-wrap: break-word;
}
.hero h1 .accent { color: var(--accent); }
.hero h1 .italic {
 font-family: var(--serif); font-style: italic;
 font-weight: 300; letter-spacing: -0.02em;
}
.hero p.lede {
 font-size: clamp(16px, 1.6vw, 19px);
 line-height: 1.55; max-width: 460px; color: var(--ink-soft);
 margin-bottom: clamp(28px, 4vw, 44px); font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

.btn-primary {
 background: var(--ink); color: var(--paper);
 padding: 15px 26px; font-size: 12px; font-weight: 500;
 letter-spacing: 0.1em; text-transform: uppercase;
 text-decoration: none; display: inline-flex; align-items: center; gap: 12px;
 transition: all .3s ease; border: 0; cursor: pointer;
 font-family: var(--sans); white-space: nowrap;
}
.btn-primary:hover { background: var(--accent); }
.btn-primary .arrow { transition: transform .3s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }
.btn-ghost {
 color: var(--ink); padding: 15px 0;
 font-size: 12px; font-weight: 500; letter-spacing: 0.1em;
 text-transform: uppercase; text-decoration: none;
 border-bottom: 1px solid var(--ink);
 transition: color .3s ease, border-color .3s ease;
 display: inline-block;
}
.btn-ghost:hover { color: var(--accent); border-color: var(--accent); }

.hero-visual {
 position: relative;
 align-self: stretch;
 height: auto;
 min-height: clamp(460px, 84vh, 920px);
 overflow: hidden;
 background: var(--paper);
 margin-right: calc(-1 * var(--gutter) - 30px);
}
.hero-visual > img:first-child {
 width: 100%; height: 100%; object-fit: cover; object-position: center;
}
.sketch-sig {
 position: absolute;
 bottom: 16px;
 right: 20px;
 width: 44px;
 height: auto;
 opacity: 0.5;
 z-index: 10;
 pointer-events: none;
 display: block;
}
@media (max-width: 900px) {
 .sketch-sig { display: none !important; }

}

.hero-visual .frame-tag {
 position: absolute; bottom: 20px; left: 20px; z-index: 2;
 font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
 color: var(--ink); background: var(--paper);
 padding: 7px 12px; border: 1px solid var(--ink);
}
.hero-visual .corner-mark {
 position: absolute; top: 18px; right: 18px; z-index: 2;
 font-family: var(--serif); font-style: italic; font-size: 17px;
 color: var(--accent);
 background: rgba(255, 255, 255, 0.88);
 padding: 3px 10px;
}

/* ============= STATS ============= */
.stats {
 display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
 margin-top: clamp(60px, 9vw, 100px);
 border-top: 1px solid var(--ink);
}
.stats > div {
 padding: clamp(28px, 4vw, 38px) clamp(16px, 2.5vw, 28px) clamp(24px, 3vw, 30px) 0;
 border-right: 1px solid var(--rule);
 position: relative;
}
.stats > div:last-child { border-right: none; }
.stat-num {
 font-size: clamp(52px, 7vw, 88px);
 font-weight: 300; letter-spacing: -0.04em;
 line-height: 1; margin-bottom: 12px;
}
.stat-num sup { font-size: 0.32em; color: var(--accent); top: -1.5em; }
.stat-lbl {
 font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
 color: var(--muted); line-height: 1.4;
}

/* ============= STUDIO ============= */
.page-intro {
 max-width: 980px;
 margin-bottom: clamp(50px, 8vw, 80px);
 padding-top: clamp(20px, 4vw, 40px);
}
.page-intro .eyebrow {
 font-family: var(--serif);
 font-style: italic;
 font-weight: 300;
 font-size: clamp(15px, 1.5vw, 18px);
 letter-spacing: 0;
 text-transform: none;
 color: var(--ink-soft);
 margin-bottom: 26px;
 display: flex; align-items: center; gap: 14px;
}
.page-intro .eyebrow::before {
 content: ''; width: 24px; height: 1px; background: var(--accent);
 flex-shrink: 0;
}
.page-intro h1 {
 font-size: clamp(48px, 8.5vw, 124px);
 font-weight: 700; line-height: 0.94;
 letter-spacing: -0.035em;
 margin-bottom: clamp(24px, 3vw, 36px);
}
.page-intro h1 em {
 font-family: var(--serif); font-style: italic; font-weight: 300;
 color: var(--accent);
}
.page-intro p {
 font-size: clamp(17px, 1.8vw, 21px);
 line-height: 1.55; color: var(--ink-soft); max-width: 640px;
}

.about-grid {
 display: grid; grid-template-columns: 1fr 1fr;
 gap: clamp(40px, 6vw, 80px);
 margin-top: clamp(40px, 5vw, 60px);
 align-items: start;
}
/* Studio: image pulls up alongside the heading */
.studio-intro-grid { margin-top: clamp(8px, 2vw, 24px); }
.studio-intro-grid .about-visual {
 top: 110px;
 margin-right: calc(-1 * var(--gutter));
}
.about-grid h2 {
 font-size: clamp(34px, 5vw, 80px);
 font-weight: 600; letter-spacing: -0.035em;
 line-height: 1; margin-bottom: clamp(24px, 3vw, 36px);
}
.about-grid h2 em {
 font-family: var(--serif); font-style: italic; font-weight: 300;
 color: var(--accent);
}
.about-text p {
 font-size: clamp(15px, 1.4vw, 17px);
 line-height: 1.7; color: var(--ink-soft);
 margin-bottom: 22px; max-width: 540px;
}
.about-text p:first-of-type::first-letter {
 font-family: var(--serif); font-size: 64px; font-weight: 400;
 float: left; line-height: 0.9; padding: 6px 12px 0 0;
 color: var(--accent);
}
.about-text p.expertise-highlight {
 font-size: clamp(15px, 1.4vw, 17px);
 line-height: 1.7;
 color: var(--ink-soft);
 font-weight: 400;
 max-width: 540px;
 padding: 20px 24px;
 background: #f7f5f0;
 border-left: 6px solid var(--accent);
 border-radius: 0 6px 6px 0;
 margin-top: 28px;
}
.about-text p.expertise-highlight::first-letter { font-size: inherit; float: none; padding: 0; color: inherit; font-family: inherit; }
.about-visual {
 position: sticky; top: 110px;
 aspect-ratio: 4/5;
 overflow: hidden; background: var(--paper);
 margin-right: calc(-1 * var(--gutter));
}
.about-visual > img:first-child {
 width: 100%; height: 100%; object-fit: contain; object-position: right center;
}
.about-visual .caption {
 position: absolute; bottom: 18px; left: 18px;
 font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
 color: var(--ink); background: var(--paper);
 padding: 7px 12px; border: 1px solid var(--ink);
}

.values {
 margin-top: clamp(60px, 10vw, 100px);
 display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
 border-top: 1px solid var(--ink);
}
.values > div {
 padding: clamp(28px, 4vw, 40px) clamp(16px, 2.5vw, 28px) clamp(28px, 4vw, 40px) 0;
 border-right: 1px solid var(--rule);
}
.values > div:last-child { border-right: none; padding-right: 0; }
.values .num {
 font-family: var(--serif); font-style: italic;
 color: var(--accent); font-size: 16px; margin-bottom: 22px; display: block;
}
.values h4 {
 font-size: clamp(20px, 2.2vw, 26px);
 font-weight: 500; letter-spacing: -0.02em;
 margin-bottom: 14px; line-height: 1.2;
}
.values h4 span { color: var(--accent); }
.values p {
 color: var(--muted);
 font-size: clamp(14px, 1.3vw, 15px);
 line-height: 1.65; max-width: 320px;
}

.team {
 margin-top: clamp(80px, 12vw, 120px);
 padding-top: clamp(40px, 6vw, 60px);
 border-top: 1px solid var(--rule);
}
.team-head {
 display: flex; justify-content: space-between; align-items: end;
 margin-bottom: clamp(36px, 5vw, 50px);
 gap: 24px; flex-wrap: wrap;
}
.team-head h3 {
 font-size: clamp(28px, 4vw, 56px);
 font-weight: 600; letter-spacing: -0.025em; line-height: 1;
}
.team-head h3 em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--accent); }
.team-head .meta { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.team-grid {
 display: grid; grid-template-columns: repeat(4, 1fr);
 gap: clamp(20px, 3vw, 32px);
}
.team-member { border-top: 1px solid var(--ink); padding-top: 16px; }
.team-member .num {
 font-family: var(--serif); font-style: italic; color: var(--accent);
 font-size: 13px; margin-bottom: 10px;
}
.team-member .name {
 font-size: clamp(15px, 1.5vw, 18px);
 font-weight: 500; letter-spacing: -0.015em; margin-bottom: 6px;
}
.team-member .role {
 font-size: 13px; color: var(--muted); line-height: 1.5;
}

/* ============= PROJECTS ============= */
.projects-header {
 display: flex; justify-content: space-between; align-items: end;
 margin-bottom: clamp(40px, 6vw, 60px);
 padding-bottom: clamp(20px, 3vw, 28px);
 border-bottom: 1px solid var(--ink);
 gap: 28px; flex-wrap: wrap;
}
.projects-header h2 {
 font-size: clamp(40px, 7vw, 100px);
 font-weight: 600; letter-spacing: -0.04em; line-height: 0.95;
}
.projects-header h2 em {
 font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--accent);
}
.projects-header .filter {
 display: flex; gap: clamp(14px, 2vw, 24px);
 font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
 color: var(--muted); flex-wrap: wrap; align-items: center;
}
.projects-header .filter a {
 color: var(--muted); text-decoration: none;
 padding-bottom: 4px; border-bottom: 1px solid transparent;
 transition: all .25s ease; cursor: pointer;
}
.projects-header .filter a.active { color: var(--ink); border-color: var(--accent); }
.projects-header .filter a:hover { color: var(--ink); }

.project-list { display: flex; flex-direction: column; }
.project-row {
 display: grid;
 grid-template-columns: 50px 1.4fr 1.5fr 0.8fr 60px;
 gap: clamp(16px, 2.5vw, 32px);
 padding: clamp(24px, 3vw, 32px) 0;
 border-bottom: 1px solid var(--rule);
 align-items: center; cursor: pointer;
 transition: padding .35s ease;
 position: relative;
 text-decoration: none; color: inherit;
}
.project-row::after {
 content: ''; position: absolute; left: 0; bottom: -1px;
 width: 0; height: 1px; background: var(--accent);
 transition: width .5s ease;
}
.project-row:hover { padding-left: 12px; }
.project-row:hover::after { width: 100%; }
.project-num {
 font-family: var(--serif); font-style: italic;
 font-size: 14px; color: var(--muted);
}
.project-name {
 font-size: clamp(18px, 2.1vw, 26px);
 font-weight: 500; letter-spacing: -0.02em;
 line-height: 1.15; transition: color .3s ease;
}
.project-row:hover .project-name { color: var(--accent); }
.project-meta { font-size: 14px; color: var(--muted); line-height: 1.5; }
.project-year {
 font-size: 12px; letter-spacing: 0.1em;
 color: var(--ink); text-align: right;
}
.project-arrow {
 text-align: right; font-size: 22px;
 transition: transform .35s ease, color .35s ease;
}
.project-row:hover .project-arrow { transform: translateX(8px); color: var(--accent); }

.feature-project {
 margin-top: clamp(60px, 9vw, 80px);
 display: grid; grid-template-columns: 1fr 1fr;
 gap: clamp(40px, 6vw, 60px);
 align-items: center;
 padding: clamp(40px, 6vw, 60px) 0;
 border-top: 1px solid var(--ink);
 border-bottom: 1px solid var(--ink);
}
.feature-project .visual { aspect-ratio: 4/3; overflow: hidden; }
.feature-project .visual img { width: 100%; height: 100%; object-fit: cover; }
.feature-project .meta {
 font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
 color: var(--accent); margin-bottom: 18px;
}
.feature-project h3 {
 font-size: clamp(28px, 4vw, 56px);
 font-weight: 500; letter-spacing: -0.03em;
 line-height: 1.04; margin-bottom: 22px;
}
.feature-project h3 em { font-family: var(--serif); font-style: italic; font-weight: 300; }
.feature-project p {
 font-size: clamp(15px, 1.4vw, 16px);
 line-height: 1.7; color: var(--ink-soft);
 margin-bottom: 26px; max-width: 460px;
}
.feature-project .specs {
 display: grid; grid-template-columns: repeat(3, auto);
 gap: clamp(20px, 3vw, 36px); margin-top: 24px;
 font-size: 12px;
}
.feature-project .specs dt {
 color: var(--muted); letter-spacing: 0.14em;
 text-transform: uppercase; margin-bottom: 6px; font-size: 10px;
}
.feature-project .specs dd { font-weight: 500; font-size: 14px; }

.project-gallery {
 margin-top: clamp(50px, 7vw, 80px);
 display: grid; grid-template-columns: repeat(3, 1fr);
 gap: clamp(24px, 3vw, 36px);
}
.gallery-card { text-decoration: none; color: inherit; cursor: pointer; }
.gallery-card .img-wrap {
 aspect-ratio: 4/5; overflow: hidden;
 background: var(--paper-warm); margin-bottom: 14px;
}
.gallery-card .img-wrap img {
 width: 100%; height: 100%; object-fit: cover;
 transition: transform .9s ease;
}
.gallery-card:hover .img-wrap img { transform: scale(1.04); }
.gallery-card .label {
 font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
 color: var(--accent); margin-bottom: 6px;
}
.gallery-card h4 {
 font-size: clamp(17px, 1.7vw, 20px);
 font-weight: 500; letter-spacing: -0.015em;
 margin-bottom: 4px; line-height: 1.2;
 transition: color .3s ease;
}
.gallery-card:hover h4 { color: var(--accent); }
.gallery-card .sub { font-size: 13px; color: var(--muted); }

/* ============= CONTACT ============= */
.contact-grid {
 display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.3fr);
 gap: clamp(24px, 3vw, 48px);
 margin-top: clamp(20px, 3vw, 40px);
 align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-grid h2 {
 font-size: clamp(48px, 8vw, 130px);
 font-weight: 700; letter-spacing: -0.04em; line-height: 0.92;
 margin-bottom: clamp(28px, 4vw, 40px);
}
.contact-grid h2 em {
 font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--accent);
}
.contact-grid .contact-lede {
 font-size: clamp(16px, 1.6vw, 18px);
 line-height: 1.6; color: var(--ink-soft);
 max-width: 480px;
 margin-bottom: clamp(40px, 6vw, 56px);
}
.contact-blocks {
 display: grid; grid-template-columns: 1fr 1fr;
 gap: clamp(24px, 3vw, 40px);
 border-top: 1px solid var(--rule);
 padding-top: clamp(28px, 4vw, 40px);
}
.contact-block .label {
 font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
 color: var(--muted); margin-bottom: 12px;
 display: flex; align-items: center; gap: 10px;
}
.contact-block .label::before {
 content: ''; width: 18px; height: 1px; background: var(--accent);
 flex-shrink: 0;
}
.contact-block .val {
 font-size: clamp(15px, 1.5vw, 17px);
 line-height: 1.55; word-break: break-word;
}
.contact-block .val a {
 color: var(--ink); text-decoration: none;
 border-bottom: 1px solid var(--rule);
 transition: border-color .25s ease, color .25s ease;
}
.contact-block .val a:hover { color: var(--accent); border-color: var(--accent); }

.contact-form {
 background: var(--paper-warm);
 padding: clamp(28px, 4vw, 48px);
 border: 1px solid var(--rule);
}
.contact-form h3 {
 font-size: clamp(20px, 2vw, 22px);
 font-weight: 500; letter-spacing: -0.015em;
 margin-bottom: clamp(24px, 3vw, 32px);
}
.contact-form h3 em { font-family: var(--serif); font-style: italic; color: var(--accent); }
.form-row { margin-bottom: 22px; }
.form-row label {
 display: block;
 font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
 color: var(--muted); margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
 width: 100%; background: transparent; border: none;
 border-bottom: 1px solid var(--ink);
 padding: 10px 0;
 font-family: var(--sans); font-size: 16px;
 color: var(--ink); outline: none;
 transition: border-color .25s ease;
 border-radius: 0; -webkit-appearance: none;
}
.form-row textarea { resize: vertical; min-height: 80px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
 border-color: var(--accent);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 24px); }
.form-submit {
 margin-top: 12px; width: 100%;
 background: var(--ink); color: var(--paper);
 padding: 17px;
 font-size: 12px; font-weight: 500; letter-spacing: 0.14em;
 text-transform: uppercase;
 border: none; cursor: pointer;
 transition: background .3s ease;
 font-family: var(--sans);
}
.form-submit:hover { background: var(--accent); }
.form-success {
 display: none;
 margin-top: 22px; padding: 14px 16px;
 background: var(--paper); border: 1px solid var(--accent);
 font-size: 14px; color: var(--accent); line-height: 1.5;
}
.form-success.show { display: block; }
.form-note {
 margin-top: 14px;
 font-size: 12.5px; line-height: 1.55; color: var(--muted);
}

.faq-sketch-grid {
 margin: clamp(24px, 4vw, 48px) 0 0;
}
/* Right column of contact-grid now stacks sketch + form together */
.contact-right {
 display: flex;
 flex-direction: column;
 gap: clamp(20px, 3vw, 32px);
}
.contact-right .contact-sketch { margin-right: 0; }
.contact-right .contact-form { margin: 0; padding: clamp(24px, 3vw, 40px); box-sizing: border-box; }
.faq-sketch-grid .faq {
 padding: clamp(32px, 5vw, 60px) clamp(32px, 4vw, 60px) clamp(32px, 5vw, 60px) var(--gutter);
 margin: 0;
 border-top: none;
 box-sizing: border-box;
}
/* Form now sits in the bottom-right mirror the FAQ padding so it aligns */
.faq-sketch-grid .contact-form {
 padding: clamp(32px, 5vw, 60px) var(--gutter) clamp(32px, 5vw, 60px) clamp(32px, 4vw, 60px);
 margin: 0;
 box-sizing: border-box;
}
/* Sketch sits inside .contact-grid at top-right — sized to its natural aspect,
 no cropping, no whitespace above/below. */
.contact-grid .contact-sketch { min-height: 0; }
.contact-sketch {
 overflow: hidden;
 margin-right: calc(-1 * var(--gutter));
 line-height: 0;
}
.contact-sketch > img:first-child {
 position: static;
 width: 100%;
 height: auto;
 object-fit: initial;
 display: block;
}
@media (max-width: 860px) {
 .contact-sketch { margin-right: 0; }
 .faq-sketch-grid .contact-form { padding: clamp(28px, 5vw, 48px) var(--gutter); }
}

.faq {
 margin-top: clamp(70px, 10vw, 100px);
 padding-top: clamp(40px, 6vw, 60px);
 border-top: 1px solid var(--rule);
}
.faq h3 {
 font-size: clamp(28px, 4vw, 56px);
 font-weight: 600; letter-spacing: -0.025em; line-height: 1;
 margin-bottom: clamp(28px, 4vw, 40px);
}
.faq h3 em { font-family: var(--serif); font-style: italic; font-weight: 300; color: var(--accent); }
.faq-item {
 border-bottom: 1px solid var(--rule);
 padding: clamp(20px, 2.8vw, 24px) 0;
 cursor: pointer;
}
.faq-item .q {
 display: flex; justify-content: space-between; align-items: center;
 font-size: clamp(16px, 1.7vw, 19px);
 font-weight: 500; letter-spacing: -0.01em; gap: 16px;
}
.faq-item .toggle {
 font-size: 24px; line-height: 1; color: var(--accent);
 transition: transform .3s ease; flex-shrink: 0;
}
.faq-item.open .toggle { transform: rotate(45deg); }
.faq-item .a {
 max-height: 0; overflow: hidden;
 transition: max-height .4s ease, margin .3s ease;
 font-size: clamp(14px, 1.4vw, 16px);
 line-height: 1.7; color: var(--muted); max-width: 720px;
}
.faq-item.open .a { max-height: 400px; margin-top: 14px; }

/* ============= PARTNER PROFILES ============= */
.partner-grid {
 display: grid;
 gap: 0;
 border-top: 1px solid var(--ink);
}
.partner-card {
 display: grid;
 grid-template-columns: 360px 1fr;
 border-bottom: 1px solid var(--rule);
 overflow: hidden;
}
.partner-photo {
 background: var(--paper-warm);
 overflow: hidden;
 align-self: start;
 aspect-ratio: 3 / 4;
}
.partner-photo img {
 width: 100%; height: 100%;
 object-fit: cover;
 object-position: top center;
 display: block;
 filter: grayscale(10%);
 transition: filter 0.6s ease;
}
.partner-card:hover .partner-photo img { filter: grayscale(0%); }

.partner-body {
 padding: clamp(32px, 4vw, 52px);
 border-left: 1px solid var(--rule);
}
.partner-index {
 font-family: var(--serif); font-style: italic;
 color: var(--accent); font-size: 15px;
 margin-bottom: 14px; display: block;
}
.partner-name {
 font-size: clamp(22px, 2.8vw, 36px);
 font-weight: 600; letter-spacing: -0.025em;
 line-height: 1.1; margin-bottom: 8px;
}
.partner-role {
 font-size: 11px; letter-spacing: 0.12em;
 text-transform: uppercase; color: var(--accent);
 font-weight: 500; margin-bottom: 6px;
}
.partner-titles {
 font-size: 13px; color: var(--muted);
 margin-bottom: 24px; padding-bottom: 24px;
 border-bottom: 1px solid var(--rule);
}
.partner-quals {
 font-size: 13px; color: var(--ink-soft);
 line-height: 1.6; margin-bottom: 6px;
}
.quals-label {
 font-size: 10px; letter-spacing: 0.16em;
 text-transform: uppercase; color: var(--muted);
 margin-right: 10px;
}
.partner-since {
 font-size: 12px; color: var(--muted);
 margin-bottom: 16px;
}
.partner-memberships {
 list-style: none; padding: 0;
 margin: 0 0 28px 0;
 display: flex; flex-wrap: wrap; gap: 8px;
}
.partner-memberships li {
 font-size: 14px; font-weight: 500;
 color: var(--ink-soft);
 line-height: 1.35;
 padding: 8px 18px;
 border: 1px solid transparent;
 border-radius: 999px;
 background: #f2f2f0;
 transition: background 0.2s, color 0.2s;
}
.partner-memberships li:hover {
 background: #e8e8e5;
 color: var(--ink);
}
.partner-desc {
 font-size: clamp(14px, 1.4vw, 16px);
 line-height: 1.75; color: var(--ink-soft);
}
/* Partner appointments clean labeled block replacing the old .partner-roles dump */
.partner-appointments {
 margin: 26px 0 0;
 padding-top: 22px;
 border-top: 1px solid var(--rule);
 display: grid;
 gap: 18px;
}
.partner-appointments > div {
 display: grid;
 grid-template-columns: 110px 1fr;
 gap: 20px;
 align-items: start;
}
.partner-appointments dt {
 font-size: 10.5px;
 font-weight: 600;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--muted);
 padding-top: 3px;
}
.partner-appointments dd {
 margin: 0;
 font-size: 13.5px;
 line-height: 1.65;
 color: var(--ink-soft);
}
.partner-appointments dd .pa-role {
 color: var(--ink);
 font-weight: 600;
}
.partner-appointments .pa-links dd {
 display: flex;
 flex-wrap: wrap;
 gap: 6px 14px;
}
.partner-appointments .pa-links a {
 font-size: 13px;
 color: var(--accent);
 text-decoration: none;
 border-bottom: 1px solid transparent;
 transition: border-color 0.2s;
}
.partner-appointments .pa-links a:hover { border-bottom-color: var(--accent); }
@media (max-width: 620px) {
 .partner-appointments > div { grid-template-columns: 1fr; gap: 4px; }
 .partner-appointments dt { padding-top: 0; }
}

/* ─── Consultant cards ───────────────────────────────────── */
.consultants-section {
 margin-top: clamp(50px, 7vw, 70px);
}
.consultants-label {
 display: flex; align-items: center; gap: 16px;
 font-size: 11px; letter-spacing: 0.18em;
 text-transform: uppercase; color: var(--muted);
 margin-bottom: clamp(28px, 4vw, 40px);
}
.consultants-label .label-line {
 display: inline-block; width: 28px; height: 1px;
 background: var(--accent); flex-shrink: 0;
}
.consultants-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 border-top: 1px solid var(--ink);
 gap: clamp(24px, 3vw, 40px);
}
.consultant-card { padding-top: clamp(20px, 3vw, 28px); }
.consultant-index {
 font-family: var(--serif); font-style: italic;
 color: var(--accent); font-size: 13px; margin-bottom: 12px;
}
.consultant-name {
 font-size: clamp(16px, 1.7vw, 21px);
 font-weight: 500; letter-spacing: -0.018em;
 margin-bottom: 6px; line-height: 1.2;
}
.consultant-role {
 font-size: 11px; letter-spacing: 0.1em;
 text-transform: uppercase; color: var(--accent);
 font-weight: 500; margin-bottom: 12px;
}
.consultant-quals {
 font-size: 12px; color: var(--muted);
 line-height: 1.6; margin-bottom: 12px;
}
.consultant-memberships {
 list-style: none; padding: 0; margin: 0 0 14px 0;
}
.consultant-memberships li {
 font-size: 11px; color: var(--muted);
 letter-spacing: 0.03em; line-height: 1.6;
}
.consultant-desc {
 font-size: 13px; line-height: 1.7; color: var(--ink-soft);
}

@media (max-width: 960px) {
 .partner-card { grid-template-columns: 240px 1fr; }
 .consultants-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
 .partner-card { grid-template-columns: 1fr; }
 .partner-photo { max-height: 340px; }
 .partner-body { border-left: none; border-top: 1px solid var(--rule); }
 .consultants-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ============= FOOTER ============= */
footer {
 padding: clamp(50px, 8vw, 80px) var(--gutter) clamp(28px, 4vw, 40px);
 background: var(--ink); color: var(--paper);
}
.fb-link { display: inline-flex; align-items: center; gap: 8px; }
.fb-icon { width: 18px; height: 18px; color: #fff; flex-shrink: 0; }
.footer-top {
 display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
 gap: clamp(36px, 5vw, 60px);
 padding-bottom: clamp(40px, 6vw, 60px);
 border-bottom: 1px solid #2a2a2a;
}
.footer-top h3 {
 font-family: var(--sans);
 font-size: clamp(28px, 4.6vw, 60px);
 font-weight: 600; letter-spacing: -0.03em;
 line-height: 1; max-width: 520px;
}
.footer-top h3 em {
 font-family: var(--serif); font-style: italic; font-weight: 300;
 color: var(--accent);
}
.footer-col h5 {
 font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
 color: #888; margin-bottom: 16px; font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
 color: var(--paper); text-decoration: none;
 font-size: 14px;
 transition: color .25s ease; word-break: break-word;
}
.footer-col a:hover { color: var(--accent); }
.footer-bot {
 padding-top: 24px;
 display: flex; justify-content: space-between;
 font-size: 12px; color: #888; letter-spacing: 0.04em;
 flex-wrap: wrap; gap: 12px;
}
.footer-bot .accent-bar {
 display: inline-block; width: 18px; height: 1px;
 background: var(--accent); margin-right: 10px; vertical-align: middle;
}
.footer-credit a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.25); transition: color .2s, border-color .2s; }
.footer-credit a:hover { color: var(--accent); border-color: var(--accent); }

/* ============= ANIMATIONS ============= */
.fade-up {
 opacity: 0; transform: translateY(24px);
 transition: opacity .9s ease, transform .9s ease;
}
.fade-up.in { opacity: 1; transform: translateY(0); }
/* Skip fade-up on mobile so IntersectionObserver misses can't hide content */
@media (max-width: 900px) {
 .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
 /* Universal mobile safety: prevent horizontal overflow and image/text overlap */
 html, body { overflow-x: hidden; max-width: 100vw; }
 img, video, svg { max-width: 100%; height: auto; }
 /* Kill any absolute-positioned image bleed that could sit on top of text */
 .contact-sketch,
 .about-visual,
 .story-portrait,
 .story-timeline,
 .work-hero-sketch,
 .proj-side-sketch,
 .insights-hero-visual {
  position: relative !important;
  min-height: 0 !important;
 }
 .contact-sketch img,
 .about-visual img,
 .story-portrait img,
 .story-timeline img,
 .work-hero-sketch img,
 .proj-side-sketch img,
 .insights-hero-visual img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  inset: auto !important;
 }
 /* Ensure any grid on mobile stacks cleanly — no overlap via negative margins */
 .contact-grid,
 .contact-right,
 .proj-detail-hero,
 .proj-detail-hero.no-sketch,
 .work-hero,
 .story-hero,
 .story-body,
 .hero,
 .insights-hero,
 .ins-event,
 .about-grid,
 .studio-intro-grid,
 .cat-grid,
 .partner-grid {
  display: block !important;
 }
 .contact-right > * + *,
 .story-body > * + *,
 .cat-grid > * + * { margin-top: clamp(16px, 3vw, 24px); }
 /* Sticky elements that overlap content — un-stick on mobile */
 .about-visual, .story-timeline { position: static !important; top: auto !important; }
}
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after {
 animation-duration: 0.01ms !important;
 animation-iteration-count: 1 !important;
 transition-duration: 0.01ms !important;
 }
 .fade-up { opacity: 1; transform: none; }
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1100px) {
 .stats { grid-template-columns: repeat(2, 1fr); }
 .stats > div:nth-child(2) { border-right: none; }
 .stats > div:nth-child(1),
 .stats > div:nth-child(2) { border-bottom: 1px solid var(--rule); }
 .team-grid { grid-template-columns: repeat(2, 1fr); }
 .project-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
 .faq-sketch-grid {
 grid-template-columns: 1fr;
 margin-left: calc(-1 * var(--gutter));
 margin-right: calc(-1 * var(--gutter));
 }
 .faq-sketch-grid .faq {
 padding: clamp(28px, 6vw, 48px) var(--gutter);
 }
 .contact-sketch { min-height: 320px; }

 .topnav .cta { display: none; }
 .topnav ul {
 display: none; position: fixed;
 top: 84px; left: 0; right: 0;
 background: var(--paper);
 flex-direction: column; gap: 0;
 padding: 16px var(--gutter) 24px;
 border-bottom: 1px solid var(--rule);
 box-shadow: 0 8px 24px rgba(0,0,0,0.06);
 }
 .topnav ul.open { display: flex; }
 .topnav ul li { padding: 14px 0; border-bottom: 1px solid var(--rule); }
 .topnav ul li:last-child { border-bottom: 0; }
 .topnav ul a { font-size: 14px; padding-bottom: 0; display: block; }
 .topnav ul a::after { display: none; }
 .menu-toggle { display: block; }

 .hero {
 grid-template-columns: 1fr;
 gap: 32px; min-height: auto;
 }
 .hero-visual {
 order: -1;
 align-self: auto;
 height: clamp(220px, 40vh, 340px);
 min-height: unset;
 margin-left: calc(-1 * var(--gutter));
 opacity: 1 !important;
 transform: none !important;
 transition: none !important;
 }

 .about-grid { grid-template-columns: 1fr; gap: 36px; }
 .about-visual {
 position: static; aspect-ratio: 4/3.5;
 max-height: 460px;
 margin-left: calc(-1 * var(--gutter));
 }

 .values { grid-template-columns: 1fr; }
 .values > div {
 border-right: none;
 border-bottom: 1px solid var(--rule);
 padding: 30px 0;
 }
 .values > div:last-child { border-bottom: none; padding-bottom: 0; }
 .values > div:first-child { padding-top: 0; }

 .project-row {
 grid-template-columns: 32px 1fr 40px;
 gap: 14px; padding: 22px 0;
 }
 .project-row .project-meta,
 .project-row .project-year { display: none; }
 .project-row:hover { padding-left: 6px; }

 .feature-project { grid-template-columns: 1fr; gap: 28px; }
 .feature-project .specs { grid-template-columns: 1fr 1fr; gap: 18px; }

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

 .footer-top {
 grid-template-columns: 1fr 1fr; gap: 32px;
 padding-bottom: 36px;
 }
 .footer-top > div:first-child {
 grid-column: 1 / -1; margin-bottom: 8px;
 }
}

@media (max-width: 600px) {
 :root { --gutter: 20px; }
 .topnav { padding: 14px var(--gutter); }
 .topnav .brand img { height: 44px; }
 .topnav ul { top: 70px; }

 .hero h1 { font-size: clamp(42px, 13vw, 64px); }
 .hero-eyebrow { font-size: 11px; letter-spacing: 0.18em; }
 .disciplines-img { width: clamp(260px, 80vw, 420px); }
 .disciplines-svg { width: clamp(240px, 88vw, 380px); }
 .hero-actions { flex-direction: column; align-items: stretch; }
 .hero-actions .btn-primary,
 .hero-actions .btn-ghost {
 width: 100%; text-align: center; justify-content: center;
 }

 .stats { grid-template-columns: 1fr 1fr; }
 .stats > div { border-right: none; }
 .stats > div:nth-child(odd) { border-right: 1px solid var(--rule); }
 .stat-num { font-size: clamp(34px, 9vw, 44px); }
 .stats > div:nth-child(1),
 .stats > div:nth-child(2) { border-bottom: 1px solid var(--rule); }
 .stats > div:nth-child(3),
 .stats > div:nth-child(4) { border-bottom: none; }

 .contact-blocks { grid-template-columns: 1fr; gap: 24px; }
 .form-grid { grid-template-columns: 1fr; }

 .projects-header {
 flex-direction: column; align-items: flex-start; gap: 24px;
 }
 .projects-header .filter { font-size: 10px; gap: 12px; }

 .project-gallery { grid-template-columns: 1fr; gap: 28px; }
 .team-grid { grid-template-columns: 1fr; gap: 28px; }

 .footer-top { grid-template-columns: 1fr; gap: 28px; }
 .footer-bot { font-size: 11px; }

 .feature-project .specs { grid-template-columns: 1fr; gap: 14px; }
}

@media (max-width: 380px) {
 .hero h1 { font-size: clamp(36px, 12vw, 50px); }
 .topnav .brand img { height: 38px; }
}

/* ============= MOBILE LAYOUT POLISH ============= */
@media (max-width: 860px) {
 /* Our Story tighten the hero on mobile */
 .story-hero {
 grid-template-columns: 1fr !important;
 margin-top: 0 !important;
 gap: 16px !important;
 }
 .story-hero .story-portrait {
 max-width: 280px; margin: 0 auto;
 }
 /* Reduce body whitespace */
 .story-body { padding: 0 var(--gutter); }
}
@media (max-width: 720px) {
 /* Insights tile grid: 2 columns on phones */
 .ins-pubs { grid-template-columns: repeat(2, 1fr) !important; }
 /* International page sub-nav: allow wrap, smaller top sticky offset */
 .intl-subnav, .ins-subnav { top: 56px !important; }
}
