/* ============================================================
   OCHRE / architectural design, Philadelphia
   Plaster stock, graphite line, one pigment. One family, two widths.
   ============================================================ */
:root{
  --paper:   #E1E0D6;
  --paper-2: #D7D6CA;
  --ink:     #17191A;
  --ink-2:   #414643;
  --ink-3:   #6B706C;
  --ochre:   #9C5722;
  --schist:  #191C1D;
  --bone:    #E1E0D6;
  --rule:      rgba(23,25,26,.24);
  --rule-soft: rgba(23,25,26,.13);
  --rule-inv:  rgba(225,224,214,.26);
  --gutter: clamp(20px, 4vw, 68px);
  --max: 1480px;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
}
*{ box-sizing: border-box; }
body{
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--display); font-variation-settings: "wdth" 100, "wght" 400;
  font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
#grain{ position: fixed; inset: 0; width: 100%; height: 100%; z-index: 90; pointer-events: none;
  opacity: .3; mix-blend-mode: multiply; background-repeat: repeat; background-size: 320px 320px; }
a{ color: inherit; text-decoration: none; }
:focus-visible{ outline: 2px solid var(--ochre); outline-offset: 3px; }
.wrap{ max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.skip{ position: absolute; left: -9999px; }
.skip:focus{ position: static; display: inline-block; padding: 8px 12px; }

.mono{ font-variation-settings: "wdth" 100, "wght" 600; font-size: 11px; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.mono.minor{ font-weight: 500; font-variation-settings: "wdth" 100, "wght" 500; font-size: 10px; letter-spacing: .13em; color: var(--ink-3); }
.sec-head{ display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; }
.disp{ font-variation-settings: "wdth" 112, "wght" 400; letter-spacing: -.032em; }

/* --- masthead --- */
.masthead{ position: sticky; top: 0; z-index: 80; background: var(--paper); border-bottom: 1px solid var(--rule); }
.masthead .bar{ display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-block: 13px; }
.mark{ font-weight: 600; font-size: 14px; letter-spacing: .32em; text-transform: uppercase; }
.masthead nav{ display: flex; gap: clamp(13px, 2.2vw, 34px); }
.masthead nav a{ color: var(--ink); transition: color .2s ease; }
.masthead nav a:hover, .masthead nav a[aria-current="page"]{ color: var(--ochre); }
.masthead .loc{ display: none; }
@media (min-width: 800px){ .masthead .loc{ display: block; } }

/* --- hero --- */
.hero{ padding-block: clamp(40px, 7vw, 100px) clamp(32px, 5vw, 64px); }
.wordmark{ margin: 0; font-weight: 400; font-variation-settings: "wdth" 112, "wght" 400;
  font-size: clamp(62px, 12.4vw, 186px); line-height: .84; color: var(--ochre); letter-spacing: -.028em; }
.wordmark span:nth-child(1){ margin-right: -.018em; }
.wordmark span:nth-child(2){ margin-right: -.026em; }
.wordmark span:nth-child(3){ margin-right: -.004em; }
.wordmark span:nth-child(4){ margin-right: -.022em; }
.hero-meta{ display: grid; grid-template-columns: 1fr; gap: 10px; padding-block: 16px;
  border-top: 1px solid var(--ink); margin-top: 26px; }
@media (min-width: 880px){ .hero-meta{ grid-template-columns: 4fr 4fr 4fr; } .hero-meta > :last-child{ text-align: right; } }
.lede{ font-variation-settings: "wdth" 112, "wght" 400; font-size: clamp(34px, 6vw, 88px);
  line-height: 1.02; letter-spacing: -.038em; max-width: 14ch; margin: clamp(30px, 4vw, 60px) 0 0; }

/* --- page head, for inner pages --- */
.pagehead{ padding-block: clamp(36px, 6vw, 80px) clamp(24px, 3vw, 40px); border-bottom: 2px solid var(--ink); }
.pagehead h1{ margin: 12px 0 0; font-variation-settings: "wdth" 112, "wght" 400;
  font-size: clamp(38px, 7vw, 96px); line-height: .92; letter-spacing: -.04em; }

/* ============================================================
   THE SECTION STUDY
   ============================================================ */
.cutter{ border-top: 2px solid var(--ink); padding-block: clamp(28px, 4vw, 52px) clamp(44px, 6vw, 84px); background: var(--paper-2); }
.cut-grid{ display: grid; grid-template-columns: 1fr; gap: clamp(24px, 3vw, 46px); margin-top: 22px; }
@media (min-width: 1040px){ .cut-grid{ grid-template-columns: 4fr 8fr; } }
.cut-index{ display: flex; flex-direction: column; }
.row{ display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 12px;
  padding: 13px 0; border-top: .5px solid var(--rule-soft); cursor: pointer;
  border-left: 2px solid transparent;
  transition: padding-left .35s cubic-bezier(.2,.8,.2,1); }
.row:first-child{ border-top: 1px solid var(--ink); }
.row:last-child{ border-bottom: .5px solid var(--rule-soft); }
.row:hover{ padding-left: 10px; }
.row[aria-current="true"]{ padding-left: 12px; border-left-color: var(--ochre); }
.row .name{ font-variation-settings: "wdth" 112, "wght" 400; font-size: clamp(17px, 1.6vw, 21px); letter-spacing: -.026em; line-height: 1.15; }
.row[aria-current="true"] .name{ font-variation-settings: "wdth" 112, "wght" 560; }
.row .note{ display: block; font-size: 12px; color: var(--ink-3); margin-top: 5px; letter-spacing: 0; text-transform: none; }
.cut-draw{ display: flex; flex-direction: column; gap: 16px; }
.cut-top{ display: grid; grid-template-columns: 1fr; gap: 20px; align-items: start; }
@media (min-width: 640px){ .cut-top{ grid-template-columns: 208px 1fr; } }
#planHolder{ cursor: ns-resize; touch-action: none; }
#planHolder svg, #sectHolder svg{ display: block; width: 100%; height: auto; }
.cut-meta h3{ margin: 0 0 8px; font-variation-settings: "wdth" 112, "wght" 400; font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -.034em; line-height: 1; }
.cut-meta p{ margin: 0 0 14px; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 40ch; }
.hint{ display: inline-flex; align-items: center; gap: 8px; }
.hint::before{ content: ""; width: 22px; height: 2px; background: var(--ochre); }
.cut-foot{ display: flex; justify-content: space-between; gap: 12px; padding-top: 9px; border-top: 1px solid var(--rule); }
.key{ margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--rule); }
.key dl{ display: grid; grid-template-columns: 44px 1fr; gap: 9px 14px; margin: 12px 0 0; align-items: center; }
.key dt{ margin: 0; } .key dt svg{ display: block; width: 40px; height: 12px; }
.key dd{ margin: 0; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }

/* drawing conventions */
svg.dwg .cut{ fill: var(--ink); stroke: none; }
svg.dwg .void{ fill: var(--paper-2); stroke: none; }
svg.dwg .seen{ fill: none; stroke: var(--ink-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
svg.dwg .earth{ fill: none; stroke: var(--ink-3); stroke-width: .4; vector-effect: non-scaling-stroke; opacity: .8; stroke-dasharray: 13 5 2 5; }
svg.dwg .grade{ fill: none; stroke: var(--ink); stroke-width: 1.8; vector-effect: non-scaling-stroke; }
svg.dwg .datum{ fill: none; stroke: var(--ink-3); stroke-width: .5; stroke-dasharray: 9 3 2 3; opacity: .55; vector-effect: non-scaling-stroke; }
svg.dwg .dim{ fill: none; stroke: var(--ink-2); stroke-width: .7; vector-effect: non-scaling-stroke; }
svg.dwg text.lvl{ font-family: var(--display); font-size: 8.5px; font-weight: 500; letter-spacing: .06em; fill: var(--ink-3); }
svg.dwg .pl-wall{ stroke: var(--ink); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
svg.dwg .cutline line{ stroke: var(--ochre); stroke-width: 2.4; vector-effect: non-scaling-stroke; }
svg.dwg .cutline .grip{ fill: var(--ochre); stroke: none; }
svg.dwg .cutline .gripline{ stroke: var(--paper-2); stroke-width: 1; vector-effect: non-scaling-stroke; }
svg.dwg .cutline text{ font-family: var(--display); font-size: 9px; font-weight: 600; letter-spacing: .1em; fill: var(--ochre); }
#planHolder:hover .cutline line, #planHolder:focus-visible .cutline line{ stroke-width: 3.4; }

/* --- plain columns --- */
.cols{ padding-block: clamp(40px, 5vw, 72px); border-top: 2px solid var(--ink); }
.colgrid{ display: grid; grid-template-columns: 1fr; gap: clamp(26px, 3vw, 48px); margin-top: 20px; }
@media (min-width: 780px){ .colgrid{ grid-template-columns: repeat(3, 1fr); } }
.colgrid h2{ margin: 0 0 12px; font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--ink-3); }
.colgrid ul{ list-style: none; margin: 0; padding: 0; }
.colgrid li{ font-size: 15px; line-height: 1.42; padding-block: 4px; border-bottom: .5px solid var(--rule-soft); }
.colgrid li:last-child{ border-bottom: 0; }
.colgrid ol{ list-style: none; margin: 0; padding: 0; counter-reset: ph; }
.colgrid ol li{ display: flex; gap: 10px; }
.colgrid ol li::before{ counter-increment: ph; content: "0" counter(ph); font-size: 10px; font-weight: 600;
  letter-spacing: .1em; color: var(--ink-3); padding-top: 4px; flex: none; font-variant-numeric: tabular-nums; }

/* --- team --- */
.people{ display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 56px); padding-block: clamp(36px, 5vw, 68px); }
@media (min-width: 820px){ .people{ grid-template-columns: repeat(2, 1fr); } }
.person h2{ margin: 0; font-variation-settings: "wdth" 112, "wght" 400; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.034em; line-height: 1; }
.person .role{ display: block; margin-top: 10px; }
.contactline{ margin: 14px 0 0; }
.contactline .big{ font-size: 15px; }
.person p{ font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 46ch; margin: 16px 0 0; }
.person .portrait{ aspect-ratio: 4 / 5; border: 1px solid var(--rule); background: var(--paper-2);
  display: grid; place-items: center; margin-bottom: 18px; }

/* --- form --- */
.formwrap{ display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 60px); padding-block: clamp(36px, 5vw, 68px); }
@media (min-width: 960px){ .formwrap{ grid-template-columns: 4fr 8fr; } }
.fieldset{ border: 0; margin: 0 0 30px; padding: 0; }
.fieldset legend{ font-size: 11px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-3); padding: 0 0 12px; border-bottom: 1px solid var(--ink); width: 100%; }
.frow{ display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 18px; }
@media (min-width: 620px){ .frow.two{ grid-template-columns: 1fr 1fr; } }
.field label{ display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; margin-bottom: 7px; }
.field .help{ display: block; font-size: 12px; color: var(--ink-3); margin-top: 6px; }
input, select, textarea{ width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: transparent; border: 0; border-bottom: 1.5px solid var(--rule); padding: 9px 0; border-radius: 0; }
input:focus, select:focus, textarea:focus{ outline: 0; border-bottom-color: var(--ochre); }
textarea{ min-height: 118px; resize: vertical; }
select{ appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-3) 50%), linear-gradient(135deg, var(--ink-3) 50%, transparent 50%);
  background-position: right 10px top 55%, right 4px top 55%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.checks{ display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 20px; margin-top: 14px; }
.check{ display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input{ width: 15px; height: 15px; flex: none; margin-top: 2px; accent-color: var(--ochre); border-bottom: 0; }
button{ font: inherit; font-size: 15px; font-weight: 600; letter-spacing: .04em; color: var(--paper);
  background: var(--ink); border: 0; padding: 14px 26px; cursor: pointer; transition: background .2s ease; }
button:hover{ background: var(--ochre); }
.formnote{ font-size: 13px; color: var(--ink-3); margin-top: 16px; max-width: 52ch; }

/* --- under construction --- */
.uc{ padding-block: clamp(48px, 8vw, 120px); display: grid; gap: 26px; }
.uc p{ font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; max-width: 46ch; color: var(--ink-2); margin: 0; }

/* --- cta + footer --- */
.cta{ border-top: 2px solid var(--ink); padding-block: clamp(40px, 5vw, 72px); }
.cta-grid{ display: grid; grid-template-columns: 1fr; gap: 20px; align-items: end; }
@media (min-width: 820px){ .cta-grid{ grid-template-columns: 8fr 4fr; } }
.cta p{ margin: 0; font-variation-settings: "wdth" 112, "wght" 400; font-size: clamp(22px, 2.6vw, 34px); letter-spacing: -.03em; line-height: 1.14; max-width: 24ch; }
.big{ width: fit-content; font-weight: 600; font-size: clamp(16px, 1.5vw, 20px); letter-spacing: -.01em;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; text-decoration-color: var(--rule);
  display: inline-block; transition: color .2s ease, text-decoration-color .2s ease; }
.big:hover{ color: var(--ochre); text-decoration-color: var(--ochre); }
footer{ background: var(--schist); color: var(--bone); padding-block: clamp(34px, 4vw, 56px) 26px; }
footer .fgrid{ display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 780px){ footer .fgrid{ grid-template-columns: repeat(4, 1fr); } }
footer .mono{ color: rgba(225,224,214,.62); }
footer a{ color: var(--bone); }
footer a:hover{ color: #D08a4a; }
footer .lines{ font-size: 13.5px; line-height: 1.7; color: rgba(225,224,214,.9); margin-top: 10px; }
footer .lines a{ text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(225,224,214,.35); }
.legal{ border-top: 1px solid var(--rule-inv); margin-top: 30px; padding-top: 18px;
  display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: space-between; }

@media (prefers-reduced-motion: no-preference){
  .wordmark span{ animation: rise .85s cubic-bezier(.16,.84,.28,1) backwards; }
  .wordmark span:nth-child(1){ animation-delay: .03s; }
  .wordmark span:nth-child(2){ animation-delay: .09s; }
  .wordmark span:nth-child(3){ animation-delay: .15s; }
  .wordmark span:nth-child(4){ animation-delay: .21s; }
  .wordmark span:nth-child(5){ animation-delay: .27s; }
  .hero-meta, .lede{ animation: fade .85s ease .4s backwards; }
}
@keyframes rise{ from{ transform: translateY(.13em); opacity: 0; } to{ transform: none; opacity: 1; } }
@keyframes fade{ from{ opacity: 0; } to{ opacity: 1; } }
