/* DO.HOUSE V16.1 — Editorial portfolio system
   System-font implementation inspired by the restrained typographic rhythm
   of the reference architecture website; no external font files are bundled. */
:root{
  --v16-navy:#071C31;
  --v16-navy-deep:#051525;
  --v16-navy-soft:#0B2742;
  --v16-text:#F4F7FA;
  --v16-soft:#D4DEE8;
  --v16-muted:#9EADBC;
  --v16-line:rgba(255,255,255,.14);
  --v16-accent:#FFB24D;
  --v16-font:"Helvetica Neue",Helvetica,Arial,"Nimbus Sans L",sans-serif;
}
html{background:var(--v16-navy);scroll-behavior:smooth}
body.v16-system,
body.v16-system button,
body.v16-system input,
body.v16-system select,
body.v16-system textarea{
  font-family:var(--v16-font)!important;
  font-weight:400;
  font-synthesis:none;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}
body.v16-system{background:var(--v16-navy);color:var(--v16-text);overflow-x:hidden}
body.v16-system main{background:var(--v16-navy)}
body.v16-system h1,body.v16-system h2,body.v16-system h3{
  font-family:var(--v16-font)!important;
  font-weight:400!important;
  text-wrap:balance;
}
body.v16-system p{widows:2;orphans:2}
body.v16-system .eyebrow{
  color:var(--v16-accent)!important;
  font-size:13px!important;
  line-height:1.35!important;
  font-weight:600!important;
  letter-spacing:.105em!important;
  text-transform:uppercase;
}
body.v16-system .site-header nav{gap:30px}
body.v16-system .site-header nav a{
  font-size:12px;
  line-height:1;
  font-weight:600;
  letter-spacing:.065em;
}
body.v16-system .brand-image img{width:116px;height:auto}

/* COVER / HERO BLENDING — image/video dissolves into the navy page background. */
.home-page .hero-video{isolation:isolate}
.home-page .hero-video::after{
  content:""!important;
  position:absolute!important;
  z-index:4!important;
  left:0!important;right:0!important;bottom:-1px!important;
  height:280px!important;
  pointer-events:none;
  background:linear-gradient(180deg,rgba(7,28,49,0) 0%,rgba(7,28,49,.16) 34%,rgba(7,28,49,.72) 76%,var(--v16-navy) 100%)!important;
}
.home-page .hero-copy,.home-page .hero-project,.home-page .hero-options,.home-page .hero-sound{z-index:5}
.home-page .home-intro{
  position:relative;
  z-index:5;
  margin:-150px 0 0!important;
  padding:225px 4vw 112px!important;
  border:0!important;
  background:linear-gradient(180deg,rgba(7,28,49,0) 0%,var(--v16-navy) 148px,var(--v16-navy) 100%)!important;
}
.home-page .home-intro::after{display:none!important}
.foundation-hero,.profile-hero,.projects-hero-v16,.page-hero{
  border-bottom:0!important;
  position:relative;
  background:var(--v16-navy)!important;
}
.foundation-hero::after,.profile-hero::after,.projects-hero-v16::after,.page-hero::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:-1px;height:72px;
  background:linear-gradient(180deg,rgba(7,28,49,0),var(--v16-navy));
  pointer-events:none;
}

/* Detail covers use a transparent header over the image. */
.detail-v16 .site-header{
  position:fixed!important;
  top:0;left:0;right:0;
  z-index:40;
  background:linear-gradient(180deg,rgba(3,12,22,.58),rgba(3,12,22,.08) 72%,transparent)!important;
  border:0!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  transition:background .28s ease,box-shadow .28s ease,backdrop-filter .28s ease;
}
.detail-v16.header-scrolled .site-header{
  background:rgba(7,28,49,.94)!important;
  backdrop-filter:blur(16px)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.14)!important;
}
.detail-hero-v16{
  position:relative;
  height:min(92svh,980px);
  min-height:650px;
  overflow:hidden;
  background:var(--v16-navy-soft);
  isolation:isolate;
}
.detail-hero-v16>img{width:100%;height:100%;object-fit:cover;display:block;transform:scale(1.001)}
.detail-hero-shade-v16{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg,rgba(1,8,15,.10) 0%,rgba(1,8,15,.08) 44%,rgba(2,11,20,.42) 72%,rgba(7,28,49,.98) 100%);
}
.detail-hero-v16::after{
  content:"";
  position:absolute;z-index:2;left:0;right:0;bottom:-1px;height:210px;
  background:linear-gradient(180deg,rgba(7,28,49,0),var(--v16-navy) 98%);
  pointer-events:none;
}
.detail-hero-copy-v16{
  position:absolute;z-index:3;left:4vw;right:4vw;bottom:72px;max-width:1050px;
}
.detail-hero-copy-v16 h1{
  max-width:1040px;
  margin:15px 0 24px;
  font-size:clamp(54px,7vw,108px);
  line-height:.91;
  letter-spacing:-.058em;
  color:#fff;
}
.detail-hero-copy-v16 h1 small{
  display:block;
  margin-top:18px;
  font-size:.27em;
  line-height:1.12;
  letter-spacing:.045em;
  font-weight:400;
}
.detail-hero-copy-v16 .lead{
  max-width:760px;margin:0;
  color:#D9E2EA;
  font-size:clamp(17px,1.45vw,21px);
  line-height:1.55;
}
.hero-status-v16{
  position:absolute;z-index:4;right:4vw;bottom:76px;
  padding:10px 13px;
  border:1px solid rgba(255,255,255,.42);
  color:#fff;
  background:rgba(4,18,32,.22);
  backdrop-filter:blur(10px);
  font-size:10px;font-weight:600;letter-spacing:.11em;
}
.project-facts-v16{
  position:relative;z-index:5;
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:36px;
  margin-top:-2px;padding:30px 4vw 74px;
  border:0!important;
  background:var(--v16-navy);
}
.project-facts-v16 span{
  color:var(--v16-accent);font-size:10px;font-weight:600;letter-spacing:.11em;
}
.project-facts-v16 p{margin:9px 0 0;color:var(--v16-soft);font-size:13px;line-height:1.52}

/* Editorial project system — deliberately fewer words and larger images. */
.editorial-block-v16{
  display:grid;
  grid-template-columns:minmax(120px,170px) minmax(0,900px);
  gap:48px;
  padding:92px 4vw;
  border:0!important;
}
.editorial-block-v16>div{max-width:900px}
.editorial-block-v16 h2,.gallery-heading-v16 h2{
  margin:0 0 28px;
  font-size:clamp(40px,4.65vw,70px);
  line-height:1.025;
  letter-spacing:-.048em;
}
.editorial-block-v16 div>p{
  max-width:760px;margin:0 0 16px;
  color:var(--v16-muted);
  font-size:17px;line-height:1.68;
}
.response-block-v16{padding-top:82px;padding-bottom:82px;background:rgba(5,21,37,.32)}
.conclusion-block-v16{padding-top:86px;padding-bottom:100px}
.role-line-v16{
  max-width:760px!important;
  margin:34px 0 0!important;
  padding-top:20px;
  border-top:1px solid var(--v16-line);
  color:var(--v16-soft)!important;
  font-size:14px!important;
}
.role-line-v16 strong{display:block;margin-bottom:8px;color:var(--v16-accent);font-size:10px;letter-spacing:.11em}
.image-pair-v16{
  display:grid;grid-template-columns:minmax(0,1.18fr) minmax(0,.82fr);gap:2vw;
  padding:0 4vw 96px;
}
.image-pair-v16 figure,.curated-grid-v16 figure,.special-grid-v16 figure{margin:0;min-width:0}
.image-pair-v16 img{display:block;width:100%;height:clamp(430px,51vw,720px);object-fit:cover}
.image-pair-v16 figure:nth-child(2) img{height:clamp(430px,43vw,650px);margin-top:8vw}
.image-pair-v16 figcaption,.curated-grid-v16 figcaption,.special-grid-v16 figcaption{
  padding-top:11px;color:var(--v16-accent);font-size:10px;line-height:1.35;letter-spacing:.10em;
}
.curated-gallery-v16,.special-gallery-v16{padding:92px 4vw 106px}
.special-gallery-v16{background:rgba(5,21,37,.36)}
.gallery-heading-v16{
  display:grid;grid-template-columns:minmax(120px,170px) minmax(0,900px);gap:48px;
  margin-bottom:54px;
}
.gallery-heading-v16>p:last-child{
  grid-column:2;max-width:660px;margin:-12px 0 0;
  color:var(--v16-muted);font-size:15px;line-height:1.6;
}
.curated-grid-v16,.special-grid-v16{
  display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:56px 2vw;
}
.curated-grid-v16 figure,.special-grid-v16 figure{grid-column:span 6}
.curated-grid-v16 figure.wide,.special-grid-v16 figure.wide{grid-column:1/-1}
.curated-grid-v16 img,.special-grid-v16 img{display:block;width:100%;height:auto;max-height:760px;object-fit:cover;background:var(--v16-navy-soft)}
.curated-grid-v16 figure:not(.wide) img{aspect-ratio:4/3}
.special-grid-v16 figure:not(.wide) img{aspect-ratio:1.45/1;object-fit:contain;background:#F5F5F2}
.special-grid-v16 figure.wide img{max-height:720px;object-fit:contain;background:#F5F5F2}
.project-end-v16{
  display:flex;align-items:flex-end;justify-content:space-between;gap:42px;
  padding:64px 4vw 86px;
  border:0!important;
  background:var(--v16-navy-deep);
}
.project-end-v16 span{color:var(--v16-accent);font-size:10px;font-weight:600;letter-spacing:.11em}
.project-end-v16>div>a{display:block;margin-top:18px;font-size:clamp(34px,4.4vw,66px);line-height:1;letter-spacing:-.045em}
.project-end-v16 b{font-weight:400}
.small-contact-v16{padding-bottom:7px;border-bottom:1px solid rgba(255,255,255,.55);font-size:12px;font-weight:600;letter-spacing:.08em}

/* Projects index — two calm columns, no duplicate Selected Work. */
.projects-hero-v16{
  padding:154px 4vw 76px;
  display:grid;grid-template-columns:minmax(120px,170px) minmax(0,900px);gap:48px;
}
.projects-hero-v16 h1{margin:0 0 26px;font-size:clamp(52px,6vw,92px);line-height:.96;letter-spacing:-.055em}
.projects-hero-v16>div>p{max-width:700px;margin:0;color:var(--v16-muted);font-size:17px;line-height:1.65}
.project-filter-shell-v16{
  position:sticky;top:74px;z-index:20;
  display:flex;align-items:center;gap:28px;
  padding:15px 4vw;
  border-top:1px solid var(--v16-line);border-bottom:1px solid var(--v16-line);
  background:rgba(7,28,49,.94);backdrop-filter:blur(16px);
}
.project-filters-v16{display:flex;align-items:center;gap:24px;overflow:auto;flex:1;scrollbar-width:none}
.project-filters-v16::-webkit-scrollbar{display:none}
.project-filters-v16 button{
  min-height:38px;padding:0;border:0;background:none;color:var(--v16-muted);
  font-family:var(--v16-font)!important;font-size:11px;font-weight:600;letter-spacing:.075em;white-space:nowrap;cursor:pointer;
}
.project-filters-v16 button.active,.project-filters-v16 button:hover,.project-filters-v16 button:focus-visible{color:#fff}
.project-filters-v16 sup{margin-left:4px;color:var(--v16-accent)}
.project-count-v16{color:var(--v16-accent);font-size:10px;letter-spacing:.10em;white-space:nowrap}
.filter-toggle-v16{display:none}
.project-grid-v16{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:78px 2.6vw;padding:72px 4vw 118px}
.project-card-v16 figure{margin:0;aspect-ratio:4/3;overflow:hidden;background:var(--v16-navy-soft)}
.project-card-v16 img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.22,.61,.36,1)}
.project-card-v16:hover img{transform:scale(1.022)}
.project-card-copy-v16{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;gap:13px;padding-top:17px}
.project-card-copy-v16 h2{margin:0 0 8px;font-size:clamp(25px,2.1vw,36px);line-height:1.05;letter-spacing:-.035em}
.project-card-copy-v16 p{margin:0 0 4px;color:var(--v16-soft);font-size:13px;line-height:1.45}
.project-card-copy-v16 small{color:var(--v16-muted);font-size:11px;line-height:1.45}
.project-no-v16{padding-top:4px;color:var(--v16-accent);font-size:10px}
.project-card-copy-v16 b{font-size:16px;font-weight:400}
.compact-contact-v16{margin:0 4vw 90px!important;border-top:1px solid var(--v16-line)!important;border-bottom:1px solid var(--v16-line)!important}

/* Foundation page typography aligned with the same editorial system. */
.foundation-hero h1,.profile-hero h1,.page-hero h1{
  font-size:clamp(52px,6vw,94px)!important;
  line-height:.97!important;
  letter-spacing:-.052em!important;
  font-weight:400!important;
}
.foundation-lead,.page-lead,.profile-hero>p:last-of-type{font-size:clamp(17px,1.45vw,20px)!important;line-height:1.62!important}
.service-item h2,.process-list h2,.about-statement h2,.foundation-cta h2,.home-intro h2,.expertise-title,.home-contact h2{
  font-weight:400!important;letter-spacing:-.045em!important;
}

@media(max-width:900px){
  .project-facts-v16{grid-template-columns:1fr 1fr}
  .editorial-block-v16,.gallery-heading-v16,.projects-hero-v16{grid-template-columns:1fr;gap:24px}
  .gallery-heading-v16>p:last-child{grid-column:auto;margin:-8px 0 0}
  .image-pair-v16{grid-template-columns:1fr;gap:38px}
  .image-pair-v16 img,.image-pair-v16 figure:nth-child(2) img{height:auto;aspect-ratio:16/10;margin-top:0}
  .project-grid-v16{grid-template-columns:1fr 1fr;gap:58px 3vw}
}
@media(max-width:620px){
  body.v16-system .eyebrow{font-size:12px!important}
  body.v16-system .site-header{height:64px!important;padding:0 18px!important}
  body.v16-system .brand-image img{width:104px}
  .home-page .hero-video::after{height:190px!important}
  .home-page .home-intro{margin-top:-94px!important;padding:150px 18px 74px!important;background:linear-gradient(180deg,rgba(7,28,49,0),var(--v16-navy) 92px,var(--v16-navy) 100%)!important}
  .detail-hero-v16{height:79svh;min-height:590px}
  .detail-hero-v16::after{height:170px}
  .detail-hero-copy-v16{left:18px;right:18px;bottom:42px}
  .detail-hero-copy-v16 h1{font-size:clamp(39px,11vw,50px);line-height:.96;margin:12px 0 17px;letter-spacing:-.047em}
  .detail-hero-copy-v16 h1 small{font-size:.31em;margin-top:11px;letter-spacing:.04em}
  .detail-hero-copy-v16 .lead{font-size:15px;line-height:1.52;max-width:92%}
  .hero-status-v16{right:18px;bottom:18px;padding:8px 10px;font-size:9px}
  .project-facts-v16{grid-template-columns:1fr;gap:0;padding:26px 18px 46px}
  .project-facts-v16>div{padding:0 0 18px;margin-bottom:18px;border-bottom:1px solid rgba(255,255,255,.09)}
  .project-facts-v16>div:last-child{border:0;margin:0;padding:0}
  .editorial-block-v16{padding:62px 18px;gap:19px}
  .editorial-block-v16 h2,.gallery-heading-v16 h2{font-size:clamp(34px,9vw,42px);line-height:1.04;margin-bottom:23px;letter-spacing:-.04em}
  .editorial-block-v16 div>p{font-size:16px;line-height:1.63}
  .image-pair-v16{padding:0 18px 64px}
  .image-pair-v16 img,.image-pair-v16 figure:nth-child(2) img{aspect-ratio:4/3}
  .curated-gallery-v16,.special-gallery-v16{padding:62px 18px 72px}
  .gallery-heading-v16{margin-bottom:35px;gap:18px}
  .curated-grid-v16,.special-grid-v16{grid-template-columns:1fr;gap:38px}
  .curated-grid-v16 figure,.special-grid-v16 figure,.curated-grid-v16 figure.wide,.special-grid-v16 figure.wide{grid-column:auto}
  .curated-grid-v16 img,.curated-grid-v16 figure:not(.wide) img{aspect-ratio:4/3;max-height:none}
  .special-grid-v16 img,.special-grid-v16 figure:not(.wide) img,.special-grid-v16 figure.wide img{aspect-ratio:auto;max-height:none}
  .project-end-v16{display:block;padding:44px 18px 64px}
  .project-end-v16>div>a{font-size:35px;line-height:1.04}
  .small-contact-v16{display:inline-block;margin-top:38px}
  .projects-hero-v16{padding:112px 18px 48px;gap:19px}
  .projects-hero-v16 h1{font-size:43px;line-height:1;margin-bottom:22px}
  .projects-hero-v16>div>p{font-size:16px;line-height:1.58}
  .project-filter-shell-v16{top:64px;display:grid;grid-template-columns:1fr auto;gap:10px;padding:12px 18px}
  .filter-toggle-v16{display:flex;align-items:center;justify-content:space-between;min-height:44px;padding:0 13px;border:1px solid var(--v16-line);background:none;color:#fff;font-family:var(--v16-font);font-size:11px;letter-spacing:.09em}
  .filter-toggle-v16 span{font-size:18px;font-weight:300}
  .project-filters-v16{display:none;grid-column:1/-1;flex-direction:column;align-items:stretch;gap:0;padding:3px 0 7px}
  .project-filter-shell-v16.open .project-filters-v16{display:flex}
  .project-filters-v16 button{text-align:left;border-bottom:1px solid rgba(255,255,255,.10);min-height:44px}
  .project-count-v16{font-size:9px}
  .project-grid-v16{grid-template-columns:1fr;padding:44px 18px 78px;gap:50px}
  .project-card-copy-v16{grid-template-columns:27px minmax(0,1fr) 16px;gap:9px;padding-top:14px}
  .project-card-copy-v16 h2{font-size:28px}
  .compact-contact-v16{margin:0 18px 68px!important}
  .foundation-hero h1,.profile-hero h1,.page-hero h1{font-size:clamp(39px,10.5vw,53px)!important}
}

/* V16.1 transition refinement: the next section casts a long fade back over the video. */
.home-page .home-intro{
  margin-top:0!important;
  padding-top:110px!important;
  background:var(--v16-navy)!important;
  isolation:isolate;
}
.home-page .home-intro::before{
  content:""!important;
  display:block!important;
  position:absolute;
  z-index:-1;
  left:0;right:0;top:-260px;height:262px;
  background:linear-gradient(180deg,rgba(7,28,49,0) 0%,rgba(7,28,49,.20) 28%,rgba(7,28,49,.72) 70%,var(--v16-navy) 100%);
  pointer-events:none;
}
@media(max-width:620px){
  .home-page .home-intro{margin-top:0!important;padding:78px 18px 74px!important;background:var(--v16-navy)!important}
  .home-page .home-intro::before{top:-190px;height:192px;background:linear-gradient(180deg,rgba(7,28,49,0) 0%,rgba(7,28,49,.24) 30%,rgba(7,28,49,.78) 72%,var(--v16-navy) 100%)}
}
.home-page .home-intro::before{z-index:0!important}
.home-page .home-intro>*{position:relative;z-index:1}
.home-page .hero-video::after{
  height:250px!important;
  background:linear-gradient(180deg,rgba(7,28,49,0) 0%,rgba(7,28,49,.18) 30%,rgba(7,28,49,.76) 66%,var(--v16-navy) 88%,var(--v16-navy) 100%)!important;
}
@media(max-width:620px){.home-page .hero-video::after{height:220px!important;background:linear-gradient(180deg,rgba(7,28,49,0) 0%,rgba(7,28,49,.20) 30%,rgba(7,28,49,.78) 64%,var(--v16-navy) 87%,var(--v16-navy) 100%)!important}}
.home-page .hero-shade{
  z-index:3!important;
  background:
    linear-gradient(180deg,rgba(7,28,49,0) 0%,rgba(7,28,49,0) 54%,rgba(7,28,49,.34) 72%,rgba(7,28,49,.88) 90%,var(--v16-navy) 100%),
    linear-gradient(90deg,rgba(0,0,0,.50) 0%,rgba(0,0,0,.20) 44%,rgba(0,0,0,.05) 72%,rgba(0,0,0,.20) 100%)!important;
}

/* V18 COMPLETE PROJECTS — retain V16 editorial image rhythm; keep documents fully visible. */
.complete-images-v18 .special-grid-v16 img{
  object-fit:contain;
  background:#F5F5F2;
}
.complete-images-v18 .curated-grid-v16 img,
.complete-images-v18 .image-pair-v16 img{
  object-position:center;
}

/* V17.1 contact hotfix retained in V18. */
.contact-page .submit-project{
  color:#F4F7FA!important;
  border-top-color:rgba(255,255,255,.52)!important;
  border-bottom-color:rgba(255,255,255,.52)!important;
  background:transparent!important;
  font-family:var(--v16-font)!important;
  font-weight:400!important;
}
.contact-page .submit-project span{color:var(--v16-accent)!important}
.contact-page .submit-project:hover,
.contact-page .submit-project:focus-visible{
  color:var(--v16-accent)!important;
  outline:none;
}
