@charset "utf-8";
/* HAO Design, Stage 2 "Gallery" design (Option A), 2026-07.
   Charcoal and bronze, light Arial family display type, image first.
   (Per Amy review 12 July 2026: Arial or similar, David's preference.)
   AMY: this file is the design engine. You never need to edit it.
   All content changes happen in the HTML pages. */

:root {
  --bg: #12110F;
  --panel: #1A1917;
  --bronze: #B08D57;
  --text: #EDEAE4;
  --dim: #9B958A;
  --hairline: #2A2822;
}
* { box-sizing: border-box; margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.serif { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 300; }

.badge {
  position: fixed; bottom: 16px; left: 16px; z-index: 90;
  background: var(--bronze); color: #171512;
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  padding: 7px 12px;
}

/* ---------- navigation ---------- */
.nav {
  position: absolute; top: 0; left: 0; right: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 40px;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
}
.nav.solid { position: static; background: var(--bg); border-bottom: 1px solid var(--hairline); }
.nav .links { display: flex; gap: 34px; }
.nav a:hover { color: var(--bronze); }
.nav .mark { font-size: 15px; letter-spacing: .34em; font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 600; display: flex; align-items: center; gap: 14px; }
.nav .mark img { height: 34px; width: auto; }
.nav .mark b { color: var(--bronze); }
.foot .mark img { height: 40px; width: auto; margin: 0 auto 16px; display: block; }

/* ---------- full screen hero (home) ---------- */
.hero { position: relative; height: 100vh; min-height: 560px; overflow: hidden; }
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: 0; transition: opacity 2.4s ease;
  filter: brightness(.62);
}
.hero img.on { opacity: 1; }
.hero .center {
  position: relative; z-index: 5; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px;
}
.hero .eyebrow { font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--bronze); margin-bottom: 26px; }
.hero h1 {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 300;
  font-size: clamp(38px, 6.2vw, 76px); line-height: 1.12;
  max-width: 15em; letter-spacing: .01em;
}
.hero .down { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); font-size: 10px; letter-spacing: .3em; color: var(--dim); }

/* ---------- statement ---------- */
.statement { max-width: 780px; margin: 0 auto; padding: 130px 24px 110px; text-align: center; }
.statement p { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 300; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.6; }
.statement em { color: var(--bronze); font-style: italic; }
.rule { width: 42px; height: 1px; background: var(--bronze); margin: 34px auto 0; }

/* ---------- editorial work rows (home) ---------- */
.works { max-width: 1240px; margin: 0 auto; padding: 0 24px 40px; }
.work {
  display: grid; grid-template-columns: 7fr 4fr; gap: 48px; align-items: end;
  margin-bottom: 120px;
  opacity: 0; transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}
.work.seen { opacity: 1; transform: none; }
.work:nth-child(even) { grid-template-columns: 4fr 7fr; }
.work:nth-child(even) .ph { order: 2; }
.work .ph { overflow: hidden; background: var(--panel); }
.work .ph img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.4s ease; }
.work:hover .ph img { transform: scale(1.04); }
.work .info .num { font-size: 12px; letter-spacing: .3em; color: var(--bronze); }
.work .info h2 { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 300; font-size: clamp(26px, 3vw, 38px); margin: 12px 0 10px; }
.work .info p { color: var(--dim); font-size: 15px; max-width: 26em; }
.work .info .view {
  display: inline-block; margin-top: 22px;
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  border-bottom: 1px solid var(--bronze); padding-bottom: 6px;
}
.work .info .view:hover { color: var(--bronze); }

/* ---------- works index page ---------- */
.page-head { max-width: 1240px; margin: 0 auto; padding: 70px 24px 30px; }
.page-head .crumb { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.page-head .crumb a:hover { color: var(--bronze); }
.page-head h1 { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 300; font-size: clamp(36px, 5vw, 60px); }
.page-head p.lead { color: var(--dim); max-width: 38em; margin-top: 14px; }
.filters { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 30px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--dim); }
.filters a { padding-bottom: 5px; border-bottom: 1px solid transparent; }
.filters a.on, .filters a:hover { color: var(--bronze); border-bottom-color: var(--bronze); }

.wgrid { max-width: 1240px; margin: 0 auto; padding: 40px 24px 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
.wcard { display: block; }
.wcard .ph { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--panel); }
.wcard .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s ease, transform .8s ease; }
.wcard .ph img.render { opacity: 0; }
.wcard:hover .ph img.render { opacity: 1; transform: scale(1.03); }
.wcard:hover .ph img.sketch { opacity: 0; }
.wcard .hint {
  position: absolute; top: 12px; right: 12px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .14em;
  color: var(--text); background: rgba(18,17,15,.72);
  padding: 5px 9px; transition: opacity .3s;
}
.wcard:hover .hint { opacity: 0; }
.wcard h3 { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 21px; margin-top: 14px; }
.wcard .cat { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); margin-top: 3px; }

/* ---------- project detail ---------- */
.pmeta { max-width: 1240px; margin: 0 auto; padding: 0 24px 34px; display: flex; flex-wrap: wrap; gap: 40px; }
.pmeta div span { display: block; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--dim); }
.pmeta div b { font-weight: 400; font-size: 15px; color: var(--text); }

.compare-wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.compare { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.compare .top-img { clip-path: inset(0 calc(100% - var(--cut, 50%)) 0 0); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare .bar { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 1px; background: var(--bronze); pointer-events: none; }
.compare .bar::after {
  content: "\2194";
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--bronze); color: #171512;
  font-size: 18px; line-height: 42px; text-align: center;
}
.compare .tag {
  position: absolute; bottom: 14px;
  font-size: 9.5px; font-weight: 700; letter-spacing: .18em;
  color: var(--text); background: rgba(18,17,15,.72);
  padding: 5px 10px; pointer-events: none;
}
.compare .tag.l { left: 14px; }
.compare .tag.r { right: 14px; }

.pbody { max-width: 780px; margin: 0 auto; padding: 70px 24px 30px; }
.pbody h2 { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 300; font-size: clamp(24px, 3vw, 34px); margin-bottom: 16px; }
.pbody p { color: var(--dim); }
.pbody .placeholder {
  border: 1px dashed var(--hairline); background: var(--panel);
  padding: 16px 18px; font-size: 14px; color: var(--dim); font-style: italic;
  margin-top: 18px;
}

/* related strip reuses .wgrid */

/* ---------- closing call to action ---------- */
.close { text-align: center; padding: 60px 24px 140px; }
.close h2 { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 300; font-size: clamp(28px, 4vw, 46px); max-width: 18em; margin: 0 auto 34px; }
.btn {
  display: inline-block; border: 1px solid var(--bronze); color: var(--bronze);
  font-size: 12px; letter-spacing: .3em; text-transform: uppercase;
  padding: 16px 38px; transition: all .3s;
}
.btn:hover { background: var(--bronze); color: #171512; }

/* ---------- footer ---------- */
.foot {
  border-top: 1px solid var(--hairline);
  padding: 40px 24px 46px; text-align: center;
  font-size: 12.5px; color: var(--dim); letter-spacing: .06em;
}
.foot b { color: var(--text); font-weight: 600; }

/* ---------- phones and tablets ---------- */
@media (max-width: 900px) {
  .wgrid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { padding: 20px 18px; }
  .nav .links { display: none; }
  .work, .work:nth-child(even) { grid-template-columns: 1fr; gap: 18px; margin-bottom: 70px; }
  .work:nth-child(even) .ph { order: 0; }
  .statement { padding: 80px 24px 60px; }
  .wgrid { grid-template-columns: 1fr; }
  .pmeta { gap: 22px; }
}

/* ================================================================
   Stage 2 site additions (beyond the approved Option A preview)
   ================================================================ */

/* header nav current-page marker */
.nav .links a.on { color: var(--bronze); }

/* light reading panel: text-heavy pages (FAQ, services, about, downloads)
   sit on paper inside the dark shell for legibility, incl. older visitors */
.panel-wrap { max-width: 1000px; margin: 0 auto; padding: 30px 24px 90px; }
.panel {
  background: #F7F6F3;
  color: #3A3A38;
  padding: 46px 52px 54px;
  line-height: 1.75;
  font-size: 16.5px;
}
.panel h1, .panel h2, .panel h3, .panel h4 { color: #1B1B1B; font-weight: 600; }
.panel h1 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 18px; font-weight: 300; }
.panel h2 { font-size: 21px; margin: 30px 0 10px; }
.panel h3 { font-size: 17.5px; margin: 22px 0 8px; }
.panel p { margin: 0 0 14px; }
.panel a { color: #A4784A; text-decoration: underline; }
.panel a:hover { color: #7d5a35; }
.panel ul, .panel ol { margin: 0 0 14px 22px; }
.panel li { margin-bottom: 6px; }
.panel img { max-width: 100%; height: auto; }
.panel table { max-width: 100%; border-collapse: collapse; }
.panel td, .panel th { padding: 4px 8px; }
.panel .btn { background: var(--bronze); border-color: var(--bronze); color: #171512; text-decoration: none; }
.panel .btn:hover { background: #96763F; }
/* FAQ accordion inside the panel */
.panel details { border: 1px solid #E0DDD6; background: #fff; margin-bottom: 10px; padding: 0 18px; }
.panel summary { cursor: pointer; font-weight: 600; color: #1B1B1B; padding: 14px 0; list-style: none; font-size: 16px; }
.panel summary::before { content: "+"; color: var(--bronze); font-weight: 700; margin-right: 12px; }
.panel details[open] summary::before { content: "\2212"; }
.panel details > *:not(summary) { margin-left: 26px; }
.panel details > p:last-child, .panel details > div:last-child { padding-bottom: 14px; }
/* linearise legacy tables on phones */
@media (max-width: 760px) {
  .panel { padding: 26px 20px 34px; }
  .panel table, .panel tbody, .panel tr, .panel td, .panel th {
    display: block; width: auto !important; height: auto !important;
  }
  .panel td:empty { display: none; }
  .panel iframe { width: 100% !important; min-height: 300px; }
}

/* lightbox: click a work card to open the compare slider */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10, 9, 8, .93);
  display: none;
  align-items: center; justify-content: center;
  padding: 4vh 4vw;
}
.lb.open { display: flex; }
.lb .box { width: min(1200px, 100%); position: relative; }
.lb .box .compare { aspect-ratio: 16 / 8.5; }
/* show the whole building in the comparison viewer, never crop
   (Dave review 13 Jul: Shoptop Housing was cut off at the right edge) */
.lb .box .compare img { object-fit: contain; }
.lb .cap { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; }
.lb .cap b { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 300; font-size: 24px; color: var(--text); }
.lb .cap span { font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--bronze); }
.lb .close-x {
  position: absolute; top: -8px; right: 0;
  background: none; border: 0; color: var(--dim);
  font-size: 30px; cursor: pointer; line-height: 1;
  transform: translateY(-100%);
}
.lb .close-x:hover { color: var(--bronze); }

/* films band (In motion) */
.films { padding: 84px 0; border-top: 1px solid var(--hairline); }
.films .head { max-width: 1240px; margin: 0 auto 36px; padding: 0 24px; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.films h2 { font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif; font-weight: 300; font-size: clamp(26px, 3vw, 38px); }
.films .note { color: var(--dim); font-size: 14px; max-width: 34em; margin-top: 8px; }
.fgrid { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.film { display: block; }
.film .ph { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--panel); }
.film .ph img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s, transform .5s; }
.film:hover .ph img { opacity: 1; transform: scale(1.03); }
.film .ph iframe { width: 100%; height: 100%; border: 0; }
.film .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(176, 141, 87, .92);
}
.film .play::after {
  content: ""; position: absolute; top: 50%; left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid; border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent #171512;
}
.film .fcat { display: block; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: var(--bronze); margin: 12px 0 2px; }
.film b { font-weight: 400; font-size: 17px; color: var(--text); }
.film span.sub { display: block; font-size: 12.5px; color: var(--dim); }

/* built work photo mosaic */
.mosaic { max-width: 1240px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mosaic figure { margin: 0; position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: var(--panel); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, opacity .4s; opacity: .9; }
.mosaic figure:hover img { transform: scale(1.05); opacity: 1; }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px 12px 10px;
  background: linear-gradient(transparent, rgba(10,9,8,.75));
  font-size: 12px; color: var(--text); letter-spacing: .04em;
  opacity: 0; transition: opacity .3s;
}
.mosaic figure:hover figcaption { opacity: 1; }

/* quote form, gallery styled */
.qcard { max-width: 640px; margin: 0 auto; padding: 0 24px 90px; }
.qcard form { background: var(--panel); border: 1px solid var(--hairline); padding: 34px 34px 30px; }
.qcard label { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); margin: 18px 0 6px; }
.qcard input, .qcard select, .qcard textarea {
  width: 100%; padding: 12px;
  background: #211F1C; border: 1px solid #3A362F; color: var(--text);
  font-size: 15px; font-family: inherit;
}
.qcard input:focus, .qcard select:focus, .qcard textarea:focus { outline: 1px solid var(--bronze); }
.qcard textarea { min-height: 120px; resize: vertical; }
.qcard select option { background: #211F1C; }
.qcard .req { color: var(--bronze); }
.qcard button {
  margin-top: 24px; width: 100%;
  background: var(--bronze); color: #171512; border: 0;
  font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  padding: 16px; cursor: pointer; transition: background .3s;
}
.qcard button:hover { background: #C9A369; }
.qcard .footnote { font-size: 12px; color: var(--dim); margin-top: 12px; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* category hero slideshow: home format at category-page height */
.hero.cathero { height: 62vh; min-height: 440px; }
.hero.cathero h1 { font-size: clamp(32px, 5vw, 58px); }
.page-head.slim { padding-top: 34px; }

/* footer columns (site version of the preview's one-line footer) */
.foot .cols {
  max-width: 1240px; margin: 0 auto 34px;
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px; text-align: left; padding: 0 24px;
}
.foot h4 { color: var(--text); font-size: 11px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 14px; font-weight: 600; }
.foot .cols a { display: block; font-size: 13.5px; color: var(--dim); padding: 3px 0; }
.foot .cols a:hover { color: var(--bronze); }
.foot .cols p { font-size: 13.5px; color: var(--dim); line-height: 1.8; }
.foot .base { border-top: 1px solid var(--hairline); padding-top: 22px; }
@media (max-width: 900px) { .foot .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .foot .cols { grid-template-columns: 1fr; } }

/* small screens */
@media (max-width: 900px) { .fgrid, .mosaic { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .fgrid { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .lb { padding: 2vh 2vw; }
}

/* mobile burger nav (site-wide) */
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; }
@media (max-width: 760px) {
  .burger { display: block; }
  .nav { position: relative; }
  .nav .links { display: none; }
  .nav.open .links {
    display: flex; flex-direction: column; gap: 4px;
    position: absolute; top: 100%; left: 0; right: 0; z-index: 30;
    background: var(--bg); border-bottom: 1px solid var(--hairline);
    padding: 12px 18px 18px;
  }
}
