/* Ferris Structural Engineers — site styles. Built 31 Oct 2026 from the 4 Sept design system. */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/montserrat-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/montserrat-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/montserrat-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/montserrat-latin-700-normal.woff2) format('woff2')}

:root{
  --charcoal:#2b2d2e; --edge:#3d3b38; --cream:#efe9df; --panel:#e7e0d3;
  --gold:#c9a45c; --gold-dark:#7a5e2e; --offwhite:#f5f5f5;
  --ink:#2b2d2e; --ink-soft:#5c5751; --dim:rgba(245,245,245,.76);
  --font:'Montserrat',system-ui,-apple-system,'Segoe UI',sans-serif;
  --max:1180px; --gutter:clamp(1.25rem,4vw,3rem); --header:110px; --strip:44px;
  --body:17px; --small:14px;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font);font-size:var(--body);line-height:1.6;color:var(--ink);background:var(--cream);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.wrap{max-width:var(--max);margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.skip{position:absolute;left:-999px;top:0;background:var(--gold);color:var(--charcoal);padding:.6rem 1rem;z-index:100}
.skip:focus{left:var(--gutter)}
h1,h2,h3{font-weight:700;line-height:1.12;letter-spacing:-.015em}
h2{font-size:clamp(1.9rem,3.4vw,2.75rem)}
h3{font-size:var(--body);letter-spacing:0}
p+p,ul+p,p+ul{margin-top:1rem}
.lede{max-width:34em}
.muted{color:var(--ink-soft)}
.small{font-size:var(--small);line-height:1.6}
.textlink{font-weight:600;text-decoration:underline;text-underline-offset:.28em;text-decoration-color:var(--gold);text-decoration-thickness:1px}
a.textlink{padding:.16em 0}
.textlink:hover{color:var(--gold-dark)}
.section--dark .textlink:hover,.band .textlink:hover{color:var(--gold)}
.mt{margin-top:1.6rem}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:.6rem;padding:.85rem 1.4rem;border-radius:2px;font-weight:600;font-size:var(--body);line-height:1.2;text-decoration:none;border:1px solid transparent;transition:background-color .15s,color .15s,border-color .15s;white-space:nowrap}
.btn--gold{background:var(--gold);color:var(--charcoal);border-color:var(--gold)}
.btn--gold:hover{background:#d5b471;border-color:#d5b471}
.btn--ghost{border-color:rgba(245,245,245,.55);color:var(--offwhite)}
.btn--ghost:hover{border-color:var(--offwhite)}
.btn--ink{border-color:var(--charcoal);color:var(--charcoal)}
.btn--ink:hover{background:var(--charcoal);color:var(--offwhite)}
.btn--solid{background:var(--gold);color:var(--charcoal);border-color:var(--gold-dark);box-shadow:0 12px 24px -16px rgba(43,45,46,.7)}
.btn--solid:hover{background:#d5b471}
.btn svg{width:1.05em;height:1.05em;flex:none}
.tick{width:1.15em;height:1.15em;flex:none;color:var(--gold)}

/* Header: the logo alone on top, centred and prominent; the menu underneath; a Menu button on phones */
.site-header{position:fixed;top:0;left:0;right:0;z-index:50;transition:background-color .3s,border-color .3s,transform .25s;border-bottom:1px solid transparent;color:var(--offwhite)}
.site-header.solid,.site-header.menu-open{background:var(--charcoal);border-bottom-color:rgba(201,164,92,.35)}
/* The end of a page. Scrolled to the end, the header's lower edge must not cut a line of text in half ("half words show up
   at the top", 20 November). The last part of the page grows to fill the last screen (.fill; site.js gives --tail, the
   height of the header and of everything under that part), so the edge lies on that part's top edge. Where the part is
   taller than the screen, as on a phone, the header steps aside at the end instead (.away). */
.site-header.away{transform:translateY(-100%)}
.site-header.still,.site-header.still .wrap,.site-header.still .logo img{transition:none}
.fill{min-height:calc(100vh - var(--tail,100vh));min-height:calc(100dvh - var(--tail,100dvh))}
.site-header .wrap{position:relative;display:grid;grid-template-columns:1fr;justify-items:center;row-gap:.7rem;padding-top:1.1rem;padding-bottom:.85rem;transition:padding .25s}
.logo{display:inline-flex;grid-row:1}
.logo img{height:42px;width:auto;transition:height .25s}
.site-header.solid .wrap{padding-top:.55rem;padding-bottom:.5rem;row-gap:.45rem}
.site-header.solid .logo img{height:30px}
.navs{display:flex;justify-content:center;grid-row:2}
.nav{display:flex;align-items:center;gap:2rem;list-style:none}
.nav li{list-style:none;display:block;position:relative}
.nav a{color:var(--offwhite);text-decoration:none;font-size:15px;font-weight:500;opacity:.92;white-space:nowrap;display:inline-block;padding:.3rem 0}
.nav a:hover,.nav a[aria-current=page],.nav a.in-section{color:var(--gold);opacity:1}
.nav a[aria-current=page],.nav a.in-section{text-decoration:underline;text-underline-offset:.35em;text-decoration-thickness:1px}
.has-sub{display:flex;align-items:center;gap:.3rem}
.sub-toggle{background:none;border:0;color:var(--offwhite);opacity:.8;padding:.55rem .45rem;margin:-.25rem;cursor:pointer;display:inline-flex;align-items:center}
.sub-toggle svg{width:11px;height:8px;transition:transform .2s}
.has-sub:hover .sub-toggle svg,.has-sub.open .sub-toggle svg,.has-sub:focus-within .sub-toggle svg{transform:rotate(180deg)}
.sub{display:none;position:absolute;top:100%;left:50%;transform:translateX(-50%);background:var(--charcoal);border-top:1px solid var(--gold);border-bottom:1px solid rgba(201,164,92,.35);padding:.5rem 0;min-width:15rem;list-style:none;box-shadow:0 18px 30px -18px rgba(0,0,0,.6);z-index:5}
.has-sub:hover .sub,.has-sub:focus-within .sub,.has-sub.open .sub{display:block}
.sub li{position:static}
.sub a{display:block;padding:.5rem 1.3rem;opacity:.9}
.sub a[aria-current=page],.sub a.in-section{text-decoration:none;color:var(--gold)}
@media (prefers-reduced-motion:reduce){.sub-toggle svg{transition:none}}
.menu-btn{display:none;background:none;border:1px solid rgba(245,245,245,.5);color:var(--offwhite);font:600 15px var(--font);padding:.55rem .85rem;border-radius:2px;cursor:pointer}
.mobile-menu{display:none}
@media (max-width:760px){
  :root{--header:76px}
  .site-header .wrap{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:auto;height:var(--header);padding:0 var(--gutter);align-items:center}
  .site-header.solid .wrap{padding:0 var(--gutter)}
  .logo{grid-column:2;grid-row:1}
  .logo img,.site-header.solid .logo img{height:34px}
  .navs{display:none}
  .menu-btn{display:inline-flex;grid-column:3;grid-row:1;justify-self:end}
  .mobile-menu{position:absolute;top:var(--header);left:0;right:0;background:var(--charcoal);padding:1.2rem var(--gutter) 1.8rem;border-top:1px solid rgba(201,164,92,.35);border-bottom:1px solid rgba(201,164,92,.35);list-style:none;flex-direction:column;gap:1rem;max-height:calc(100svh - var(--header));overflow:auto}
  .site-header.menu-open .mobile-menu{display:flex}
  .mobile-menu a{color:var(--offwhite);text-decoration:none;font-weight:500}
  .mobile-menu a:hover,.mobile-menu a[aria-current=page]{color:var(--gold)}
  .mobile-menu .btn{margin-top:.6rem;color:var(--charcoal)}
  .mobile-menu .group{margin-top:.4rem;padding-top:.9rem;border-top:1px solid rgba(201,164,92,.4)}
  .mobile-menu .group:first-child{margin-top:0;padding-top:0;border-top:0}
  .mobile-menu .group a{color:var(--gold);font-weight:600}
  .mobile-menu .subitem{padding-left:1.1rem}
  .mobile-menu .plain{padding-top:.9rem;border-top:1px solid rgba(201,164,92,.4)}
  .mobile-menu .plain+.plain{padding-top:0;border-top:0}
}

/* Hero: the report cover at web scale */
.hero{position:relative;min-height:calc(100svh - var(--strip));display:flex;align-items:flex-end;background:var(--charcoal);color:var(--offwhite);overflow:hidden;isolation:isolate}
.hero__photo{position:absolute;inset:0;background-position:center 40%;background-size:cover;background-repeat:no-repeat;opacity:.55;filter:sepia(.3) saturate(.8) contrast(1.05);transform:scale(1.07)}
.hero__wash{position:absolute;inset:0;z-index:1;background:
  radial-gradient(115% 95% at 50% 55%, rgba(43,45,46,0) 0%, rgba(61,59,56,.42) 100%),
  linear-gradient(180deg, rgba(43,45,46,.78) 0%, rgba(43,45,46,.3) 40%, rgba(43,45,46,.92) 100%)}
.rule{position:absolute;left:var(--gutter);right:var(--gutter);height:1px;background:var(--gold);z-index:2;transform-origin:left center}
.rule--top{top:calc(var(--header) + .9rem)}
.rule--bottom{bottom:1.2rem}
.hero__content{position:relative;z-index:3;width:100%;padding-top:calc(var(--header) + 4.5rem);padding-bottom:5rem}
.eyebrow{font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold);font-weight:600;max-width:40em;line-height:1.6}
@media (max-width:560px){.eyebrow{letter-spacing:.14em}}
.hero h1{font-size:clamp(3rem,8.2vw,6.8rem);line-height:.98;letter-spacing:-.02em;margin:0 0 1.1rem}
.hero h1 .eyebrow{display:block;margin-bottom:1.1rem}
.hero__line{display:block;max-width:11ch}
.hero__sub{max-width:33em;color:rgba(245,245,245,.9)}
.hero__cta{display:flex;flex-wrap:wrap;align-items:center;gap:.9rem 1.2rem;margin-top:1.5rem}
.hero__cta .textlink{color:var(--offwhite);padding:0}.share .textlink{padding:0}
.hero__proof,.band__proof{display:flex;align-items:center;gap:.5rem;font-size:var(--small);line-height:1.5;color:rgba(245,245,245,.88)}
.hero__proof{margin-top:1.25rem}

/* Sub-page cover band */
.band{position:relative;background:radial-gradient(120% 110% at 50% 60%,var(--charcoal) 55%,var(--edge) 100%);color:var(--offwhite);padding:calc(var(--header) + 5.5rem) 0 4.5rem;overflow:hidden;isolation:isolate}
.band--photo .band__photo{position:absolute;inset:0;background-position:center 45%;background-size:cover;opacity:.34;filter:sepia(.3) saturate(.7) contrast(1.03)}
.band--photo .band__wash{position:absolute;inset:0;background:linear-gradient(180deg,rgba(43,45,46,.62) 0,rgba(43,45,46,.5) var(--header),rgba(43,45,46,0) calc(var(--header) + 70px)),linear-gradient(180deg, rgba(43,45,46,.7) 0%, rgba(43,45,46,.35) 50%, rgba(43,45,46,.88) 100%)}
.band--tower .band__photo{background-position:62% 40%}
.band::before,.band::after{content:"";position:absolute;left:var(--gutter);right:var(--gutter);height:1px;background:var(--gold);opacity:.9;transform-origin:left center;z-index:2}
.band::before{top:calc(var(--header) + .9rem)}
.band::after{bottom:1.2rem}
.band .wrap{position:relative;z-index:3}
.band h1{font-size:clamp(2.4rem,5.5vw,4.4rem);line-height:1.02;letter-spacing:-.02em;max-width:16ch}
.band .lede{color:rgba(245,245,245,.88);margin-top:1.2rem;max-width:36em}
.band .hero__cta{margin-top:1.8rem}
.band__note{margin-top:1.6rem;color:rgba(245,245,245,.78)}
.band__note .textlink{color:var(--offwhite)}.band__jump{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.3rem 1.4rem;align-items:baseline}h2[id]{scroll-margin-top:calc(var(--header) + 1.5rem)}
/* The right half of the band: the button and one line of proof */
.band__grid{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:clamp(2rem,5vw,5rem);align-items:end}
.band__side{border-left:1px solid rgba(201,164,92,.6);padding:.3rem 0 .3rem 1.7rem;max-width:22rem}
.band__proof{margin-top:.9rem}
@media (max-width:860px){
  .band__grid{grid-template-columns:1fr}
  .band__side{border-left:0;padding:0;margin-top:1.8rem;max-width:none}
}

/* Sections */
.section{padding:clamp(4.5rem,9vw,7.5rem) 0}
.section--dark{background:var(--charcoal);color:var(--offwhite);position:relative}
.section--dark::before,.section--dark::after{content:"";position:absolute;left:var(--gutter);right:var(--gutter);height:1px;background:var(--gold);opacity:.85}
.section--dark::before{top:1.2rem}
.section--dark::after{bottom:1.2rem}
.section--dark+.section--dark::before{display:none}
.section--dark .muted{color:var(--dim)}
.section:not(.section--dark)+.section:not(.section--dark){padding-top:0}
.spread{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:clamp(2rem,5vw,5.5rem);align-items:start}
.spread>h2{position:sticky;top:calc(var(--header) + 1.5rem)}
@media (max-width:860px){.spread{grid-template-columns:1fr}.spread>h2{position:static}}
.subhead{margin-top:2.6rem}
.subhead:first-child{margin-top:0}

/* Three doors */
.doors{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem;margin-top:2.5rem}
.door{background:var(--panel);border-top:2px solid var(--gold);padding:2rem 1.75rem 2.1rem;text-decoration:none;color:var(--ink);display:flex;flex-direction:column;gap:.8rem;min-height:15rem;transition:background-color .15s}
.door:hover{background:#dfd6c5}
.door h3{color:var(--gold-dark)}
.door .textlink{margin-top:auto}
@media (max-width:860px){.doors{grid-template-columns:1fr}.door{min-height:0}}
.doors--four{grid-template-columns:repeat(2,1fr)}
.doors--four .door{min-height:0;padding-top:1.7rem;padding-bottom:1.8rem}
@media (max-width:860px){.doors--four{grid-template-columns:1fr}}

/* Spec list */
.spec{list-style:none;margin-top:2.2rem}
.spec li{display:grid;grid-template-columns:9.5rem 1fr;gap:1rem;padding:1.05rem 0;border-top:1px solid rgba(43,45,46,.14)}
.spec li:last-child{border-bottom:1px solid rgba(43,45,46,.14)}
.spec strong{font-weight:700;color:var(--gold-dark)}
@media (max-width:560px){.spec li{grid-template-columns:1fr;gap:.2rem}}

/* Photos */
.photo{border:1px solid var(--gold);background:var(--panel)}
.photo img{width:100%;height:100%;object-fit:cover}
/* Evidence: one photograph at the width of the text, and a line saying what it shows */
.evidence{margin-top:2.4rem;max-width:42rem}
.evidence .photo{aspect-ratio:4/3}
.evidence--crop .photo{aspect-ratio:2/1}
.evidence--crop img{object-position:center bottom}
.evidence figcaption{margin-top:.8rem;color:var(--ink-soft);max-width:38em}
.evidence figcaption strong{color:var(--ink)}
.trio{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem;margin-top:2.2rem;max-width:42rem}
.trio .photo{aspect-ratio:4/3}
.trio figcaption{margin-top:.55rem;font-size:var(--small);line-height:1.4;color:var(--ink-soft)}
.quad{display:grid;grid-template-columns:repeat(2,1fr);gap:1.1rem .9rem;margin-top:2.2rem;max-width:42rem}
.quad .photo{aspect-ratio:4/3}
.quad figcaption{margin-top:.55rem;font-size:var(--small);line-height:1.4;color:var(--ink-soft)}
/* the thermal pair: the ordinary photo beside the thermal image */
.pair{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.evidence--pair .photo{aspect-ratio:3/4}
.pair__label{margin-top:.55rem;font-size:var(--small);line-height:1.4;font-weight:600}
.portrait{aspect-ratio:4/5;max-width:22rem;margin-top:2.2rem}
.portrait img{object-position:top}
.postnom{margin-top:.45rem;font-size:var(--small);letter-spacing:.06em;color:var(--ink-soft)}

/* Steps */
.steps{list-style:none;display:grid;grid-template-columns:repeat(5,1fr);gap:1.6rem;margin-top:3rem}
.step{padding-top:1.3rem;border-top:1px solid rgba(201,164,92,.55)}
.step b{display:block;font-size:1.5rem;color:var(--gold);font-weight:700;line-height:1;margin-bottom:.9rem}
.step h3{margin-bottom:.5rem}
@media (min-width:981px){.steps:not(.steps--list) h3{min-height:2.24em;text-wrap:balance}}
.step p{color:var(--dim)}
@media (max-width:980px){.steps{grid-template-columns:repeat(2,1fr)}}
@media (max-width:560px){.steps{grid-template-columns:1fr;gap:1.2rem}}
.steps--list{grid-template-columns:1fr;gap:0;margin-top:1.6rem}
.steps--list .step{display:grid;grid-template-columns:3rem 1fr;gap:1rem;padding:1.3rem 0;border-top:1px solid rgba(43,45,46,.14)}
.steps--list .step:last-child{border-bottom:1px solid rgba(43,45,46,.14)}
.steps--list .step b{color:var(--gold-dark);font-size:1.3rem;margin:0}
.steps--list .step p{color:var(--ink-soft)}
.steps--list .step h3{margin-bottom:.35rem}

/* Report */
.report{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(2rem,5vw,5rem);align-items:center;margin-top:2.6rem}
@media (max-width:860px){.report{grid-template-columns:1fr}}
.cover{aspect-ratio:1.414/1;position:relative;color:var(--offwhite);padding:9% 8%;display:flex;flex-direction:column;justify-content:space-between;
  background:radial-gradient(120% 110% at 50% 50%, var(--charcoal) 55%, var(--edge) 100%);
  box-shadow:0 34px 60px -34px rgba(43,45,46,.6)}
.cover::before,.cover::after{content:"";position:absolute;left:5%;right:5%;height:1px;background:var(--gold)}
.cover::before{top:5%}
.cover::after{bottom:5%}
.cover img{height:9%;width:auto;align-self:center}
.cover__title{font-size:12px;letter-spacing:.22em;text-transform:uppercase;font-weight:600;color:var(--gold)}
.cover__addr{font-size:var(--small);color:var(--dim);margin-top:.35rem}
.js .cover{opacity:0;transform:rotate(-4deg) translateY(28px);transition:transform 1s cubic-bezier(.2,.7,.2,1),opacity 1s}
.js .cover.in{opacity:1;transform:rotate(-1.5deg) translateY(0)}

/* The colour key of the report */
.key{list-style:none;margin-top:1.2rem}
.key li{display:grid;grid-template-columns:6.4rem 1fr;gap:1rem;padding:.9rem 0;border-top:1px solid rgba(43,45,46,.14)}
.key li:last-child{border-bottom:1px solid rgba(43,45,46,.14)}
.key b{display:flex;align-items:center;gap:.6rem;align-self:start;font-weight:700}
.key b::before{content:"";width:1.05rem;height:1.05rem;border-radius:3px;background:var(--k);flex:none}
.key__item--red{--k:#c8372d}
.key__item--amber{--k:#eaa91f}
.key__item--green{--k:#2f8f55}
.key+p{margin-top:1.6rem}
@media (max-width:560px){.key li{grid-template-columns:1fr;gap:.25rem}}

/* Plain lists */
.plain,.inside{list-style:none;margin-top:1.4rem}
.plain li,.inside li{padding:.55rem 0 .55rem 1.25rem;position:relative;border-top:1px solid rgba(43,45,46,.14)}
.plain li:last-child,.inside li:last-child{border-bottom:1px solid rgba(43,45,46,.14)}
.plain li::before,.inside li::before{content:"";position:absolute;left:0;top:1.15rem;width:.45rem;height:1px;background:var(--gold-dark)}
.section--dark .plain li{border-color:rgba(245,245,245,.16)}
.section--dark .plain li::before{background:var(--gold)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem}
@media (max-width:760px){.two{grid-template-columns:1fr}}
.big-cta{display:flex;flex-wrap:wrap;gap:1rem;margin-top:2rem}
.share{display:flex;flex-wrap:wrap;align-items:center;gap:.9rem 1.3rem;margin-top:1.8rem}

/* Quotes */
.quotes{display:grid;grid-template-columns:repeat(3,1fr);gap:2.2rem;margin-top:2.8rem}
.quotes--two{grid-template-columns:repeat(2,1fr)}
.quote{border-left:1px solid var(--gold);padding-left:1.3rem}
.quote p{color:rgba(245,245,245,.92)}
.quote strong{font-weight:700;color:#fff}
.quote footer{margin-top:1rem;font-size:var(--small);color:var(--dim)}
.quote__who{display:block}
.quote__rec{display:flex;align-items:center;gap:.45rem;margin-top:.4rem;color:var(--gold);font-weight:600}
@media (max-width:860px){.quotes{grid-template-columns:1fr}}
.quotes--one{grid-template-columns:minmax(0,44rem)}

/* Credentials */
.creds{list-style:none;margin-top:1.5rem;columns:2;column-gap:2.5rem}
.creds li{break-inside:avoid;padding:.35rem 0;border-top:1px solid rgba(43,45,46,.14)}
@media (max-width:640px){.creds{columns:1}}
/* About, "Where I have worked": the years in their own column, as the numbers of a numbered list are. */
.cv{list-style:none}
.cv li{display:grid;grid-template-columns:9.75rem minmax(0,1fr);column-gap:1.5rem;padding:1.2rem 0;border-top:1px solid rgba(43,45,46,.14)}
.cv li:last-child{border-bottom:1px solid rgba(43,45,46,.14)}
.cv__when{color:var(--gold-dark);font-weight:600}
.cv h3{margin-bottom:.3rem}
.cv p{color:var(--ink-soft)}
@media (max-width:640px){.cv li{grid-template-columns:1fr;row-gap:.25rem}}

/* FAQ */
.faq{margin-top:.2rem}
.faq details{border-top:1px solid rgba(43,45,46,.14)}
.faq details:last-of-type{border-bottom:1px solid rgba(43,45,46,.14)}
.faq summary{list-style:none;cursor:pointer;padding:1.1rem 2.5rem 1.1rem 0;font-weight:600;position:relative}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";position:absolute;right:.2rem;top:.95rem;color:var(--gold-dark);font-weight:400;font-size:1.4rem;line-height:1}
.faq details[open] summary::after{content:"–"}
.faq .answer{padding:0 0 1.3rem;max-width:40em;color:var(--ink-soft)}

/* Design portfolio mosaic: each photograph keeps its own shape, and every row fills the same width.
   A tile grows in proportion to its width-to-height ratio (--r), so the tiles in a row come out the same height.
   The row gap is half the column gap because each row break is a flex line of its own. */
.mosaic{display:flex;flex-wrap:wrap;gap:.45rem .9rem;margin-top:2.6rem}
.tile{position:relative;display:block;flex:var(--r) 1 0%;min-width:0;overflow:hidden;border:1px solid var(--gold);background:var(--panel);color:var(--offwhite);text-decoration:none}
.tile picture{display:block;width:100%;height:100%}
.tile img{width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.tile:hover img,.tile:focus-visible img{transform:scale(1.035)}
.tile__cap{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;gap:.1rem;padding:2.8rem 1rem .85rem;background:linear-gradient(180deg,rgba(43,45,46,0) 0%,rgba(43,45,46,.9) 100%);line-height:1.3}
.tile__cap strong{font-weight:700}
.tile__cap span{font-size:var(--small);color:rgba(245,245,245,.86)}
.brk{flex-basis:100%;height:0}
.brk--narrow{display:none}
.mosaic__credit{margin-top:1.2rem;font-size:var(--small);color:var(--ink-soft);max-width:62em}
@media (max-width:700px){
  .mosaic{gap:.3rem .6rem}
  .brk--wide{display:none}
  .brk--narrow{display:block}
  .tile__cap{padding:1.9rem .65rem .55rem}
  .tile__cap strong{font-size:var(--small)}
  .tile__cap span{display:none}
}
.project{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(1.6rem,4vw,4rem);padding:2.6rem 0;border-top:1px solid rgba(43,45,46,.14);align-items:start}
.project:last-child{border-bottom:1px solid rgba(43,45,46,.14)}
.project .photo{aspect-ratio:3/2}
.project h2{color:var(--gold-dark);font-size:1.25rem;letter-spacing:-.01em;line-height:1.2}
.project .meta{font-size:var(--small);color:var(--ink-soft);margin:.4rem 0 1rem}
.project .credit{font-size:var(--small);color:var(--ink-soft);margin-top:1rem}
@media (max-width:760px){.project{grid-template-columns:1fr}}

/* Home band for new houses */
.hint{background:var(--panel);border-top:2px solid var(--gold);padding:2rem 1.75rem;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:1.5rem 3rem;align-items:center}
.hint h2{font-size:clamp(1.5rem,2.6vw,2.1rem)}
@media (max-width:860px){.hint{grid-template-columns:1fr}}

/* Contact + footer */
/* The closing band. When it grows to fill the last screen, what it says sits in the middle: two spacers share the spare
   room, and the upper one is never less than the top padding the band used to have over its bottom padding. At its own
   height the band is exactly as it was. */
.contact{display:flex;flex-direction:column;padding-top:clamp(3rem,6vw,5rem);padding-bottom:clamp(3rem,6vw,5rem)}
.contact>.wrap{flex:1 0 auto;width:100%;display:flex;flex-direction:column}
.contact>.wrap::before,.contact>.wrap::after{content:"";flex:1 1 0px}
.contact>.wrap::before{min-height:clamp(1.5rem,3vw,2.5rem)}
.contact h2 span{display:block}.contact h2 span+span{max-width:14ch}
.contact__cta{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:2.2rem}
.contact__note{margin-top:1.6rem;color:var(--dim);max-width:40em}
/* The end of each page: the small print. The menu is in the header; phone and email are in the band above. */
.footer{background:var(--charcoal);color:var(--dim);padding:1.5rem 0 1.7rem;font-size:var(--small);text-align:center}
.footer>.wrap{display:flex;flex-direction:column;align-items:center}
.footer a{color:var(--offwhite);text-decoration:none}
.footer a:hover{color:var(--gold)}
.footer p{max-width:44em}
.footer p+p{margin-top:.3rem}
.footer__name{display:none}
.footer .footer__links{display:flex;justify-content:center;gap:1.3rem;margin-top:0}
.footer__links a{display:inline-block;padding:.5rem 0}
/* The strip: fixed at the base of the screen, like the footer band of the report. The page scrolls behind it.
   Wide screens: on the left the address, which gives way to WhatsApp and Email once the page's own WhatsApp
   button has scrolled away; the name in spaced capitals and the letters in the middle; two links on the right;
   and a gold line on the top edge that grows as the page is read (--read, from site.js).
   Phones and tablets: the name in semi-bold and the letters a size smaller; it turns into two buttons while
   the page's own buttons are below the first screen, and again once they have scrolled away,
   WhatsApp and Email. Everywhere it turns back while the contact band or the small print is on screen,
   because they carry the same links. */
body{padding-bottom:calc(var(--strip) + var(--cookie,0px) + env(safe-area-inset-bottom))}
html{scroll-padding-bottom:calc(var(--strip) + var(--cookie,0px) + 1rem)}
.strip{position:fixed;left:0;right:0;bottom:0;z-index:45;background:var(--charcoal);color:var(--dim);border-top:1px solid rgba(201,164,92,.35);padding-bottom:env(safe-area-inset-bottom);line-height:1.2}
.strip .wrap{position:relative;height:var(--strip);display:grid;grid-template-columns:minmax(max-content,1fr) auto minmax(max-content,1fr);align-items:center;column-gap:1.5rem}
.strip a:focus-visible{outline-offset:-4px}
.strip__l{justify-self:start}
.strip__c{grid-column:2;white-space:nowrap}
.strip__c b{font-weight:inherit}
.strip__r{grid-column:3;justify-self:end;display:flex;gap:1.5rem}
.strip .strip__l,.strip__r a{display:inline-flex;align-items:center;height:var(--strip)}
.site-header.menu-open~.footer .strip{visibility:hidden}
@media (min-width:1040px){
  .footer .footer__links{display:none}
  .strip__l,.strip__acts,.strip__c,.strip__r{grid-row:1}
  .strip__l{grid-column:1;transition:opacity .2s}
  .strip__acts{grid-column:1;justify-self:start;display:flex;gap:1.7rem;opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s linear .2s}
  .strip .strip__act{display:inline-flex;align-items:center;gap:.5rem;height:var(--strip);font-weight:600;white-space:nowrap}
  .strip__act svg{width:1.25em;height:1.25em;flex:none;color:var(--gold)}
  .strip--act .strip__acts{opacity:1;visibility:visible;transition:opacity .2s}
  .strip--act .strip__l{opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s linear .2s}
  .strip__c b{font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:var(--offwhite);margin-right:.5em}
  .strip::after{content:"";position:absolute;left:0;top:-1px;width:100%;height:3px;background:var(--gold);transform:scaleX(var(--read,0));transform-origin:0 50%}
}
@media (max-width:1039px){
  :root{--strip:50px}
  .strip .wrap{grid-template-columns:1fr 1fr;column-gap:0;padding:0;max-width:none}
  .strip .strip__l,.strip .strip__r{display:none}
  .strip__acts{display:contents}
  .strip__c{position:absolute;inset:0;grid-column:1/-1;display:block;text-align:center;line-height:var(--strip);font-size:12px;transition:opacity .2s}
  .strip__c b{font-size:var(--small);font-weight:600;color:var(--offwhite);margin-right:.3em}
  .strip .strip__act{display:flex;align-items:center;justify-content:center;gap:.55rem;height:100%;font-size:15px;font-weight:600;letter-spacing:.01em;opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s linear .2s}
  .strip__act+.strip__act{border-left:1px solid rgba(201,164,92,.35)}
  .strip__act svg{width:1.3em;height:1.3em;flex:none;color:var(--gold)}
  .strip--act .strip__act{opacity:1;visibility:visible;transition:opacity .2s}
  .strip--act .strip__c{opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s linear .2s}
}
@media (max-width:359px){.strip__act svg{display:none}}
/* Not enough height for two fixed bands (a phone on its side, heavy zoom): the strip sits at the end of the page. */
@media (max-height:480px){.strip{position:static}.strip::after{display:none}body{padding-bottom:0}.hero{min-height:100svh}}

/* The cookie notice ("102 yes", 21 November). The site sets only the cookies of Wix, which hosts it. A visitor who has
   not pressed OK sees one line saying so, with an OK button, on a bar that sits on top of the strip. site.js makes the
   bar and gives the page room for it at its end (--cookie), so the bar never covers the small print or a link that has
   the keyboard's focus. Where the strip is not fixed, the bar is not either: it lies just above the strip at the end of
   the page. The button is drawn small; the space around it answers a finger as well. */
.cookiebar{position:fixed;left:0;right:0;bottom:calc(var(--strip) + 1px + env(safe-area-inset-bottom));z-index:46;background:var(--charcoal);border-top:1px solid var(--gold);color:var(--offwhite);font-size:var(--small);line-height:1.5;text-align:left}
.cookiebar__in{max-width:var(--max);margin:0 auto;padding:.75rem var(--gutter);display:flex;align-items:center;justify-content:center;gap:1.5rem}
.cookiebar p{max-width:none}
.cookiebar .btn{position:relative;flex:none;padding:.4rem 1.5rem;font-family:inherit;font-size:var(--small);cursor:pointer}
.cookiebar .btn::after{content:"";position:absolute;inset:-7px -4px}
.site-header.menu-open~.footer .cookiebar{visibility:hidden}
@media (max-width:700px){.cookiebar__in{justify-content:space-between;gap:1rem;padding:.8rem var(--gutter)}.cookiebar .btn{padding:.45rem 1.1rem}}
@media (max-height:480px){.cookiebar{position:static}}

/* Not found */
.notfound{min-height:70svh;display:flex;align-items:center}

/* Motion: one orchestrated moment, then quiet */
.js .rule{transform:scaleX(0);animation:draw .9s cubic-bezier(.2,.7,.2,1) forwards}
.js .rule--bottom{animation-delay:.25s}
.js .hero__photo{animation:push 16s cubic-bezier(.16,.6,.2,1) forwards}
.js .hero__content>*{opacity:0;transform:translateY(14px);animation:rise .45s cubic-bezier(.2,.7,.2,1) forwards}
.js .hero__content>*:nth-child(2){animation-delay:.05s}
.js .hero__content>*:nth-child(3){animation-delay:.1s}
.js .hero__content>*:nth-child(4){animation-delay:.15s}
.js .hero__content>*:nth-child(5){animation-delay:.2s}
.js .band::before,.js .band::after{transform:scaleX(0);animation:draw .9s cubic-bezier(.2,.7,.2,1) forwards}
.js .band::after{animation-delay:.25s}
.js .band .wrap>*{opacity:0;transform:translateY(14px);animation:rise .45s cubic-bezier(.2,.7,.2,1) forwards}
.js .band .wrap>*:nth-child(2){animation-delay:.06s}
.js .band .wrap>*:nth-child(3){animation-delay:.12s}
.js .band .wrap>*:nth-child(4){animation-delay:.18s}
@keyframes draw{to{transform:scaleX(1)}}
@keyframes push{to{transform:scale(1)}}
@keyframes rise{to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .rule,.js .hero__photo,.js .hero__content>*,.js .band::before,.js .band::after,.js .band .wrap>*{animation:none;opacity:1;transform:none}
  .js .cover{opacity:1;transform:rotate(-1.5deg);transition:none}
  .btn,.door,.site-header,.tile img,.strip__c,.strip__l,.strip__acts,.strip .strip__act,.strip--act .strip__act,.strip--act .strip__c,.strip--act .strip__l,.strip--act .strip__acts{transition:none}
}
/* 320 px wide: small phones, and phones set to large text */
@media (max-width:359px){
  .logo img,.site-header.solid .logo img{height:30px}
  .menu-btn{padding:.5rem .65rem}
  .contact__cta .btn,.big-cta .btn{font-size:15px;padding:.8rem .9rem;gap:.45rem}
}
@media print{
  .site-header,.mobile-menu,.strip,.cookiebar{display:none}
  .hero,.band,.section--dark,.footer{background:#fff;color:#000}
  body{padding-bottom:0}
  .fill{min-height:0}
  .footer a{color:#000}
  .footer__name{display:inline}
}

/* Design portfolio: the collage is the page. A project's text comes up over it when its picture is chosen.
   Without scripts, or without <dialog>, the texts follow the collage and each picture links down to its own. */
.mosaic--top{margin-top:0}
.mosaic__hint{display:none;margin:0 0 .9rem;font-size:var(--small);color:var(--ink-soft)}
.has-pop .mosaic__hint{display:block}
.has-pop .projects{display:none}
.project{scroll-margin-top:calc(var(--header) + 1rem)}
.pop-open{overflow:hidden}
.pop{width:min(46rem,calc(100vw - 1.5rem));max-width:none;max-height:none;margin:auto;padding:0;border:1px solid var(--gold);background:var(--cream);color:var(--ink);overflow:visible}
.pop::backdrop{background:rgba(24,25,26,.82)}
.pop[open]{animation:pop-in .18s ease-out}
.pop[open]::backdrop{animation:pop-fade .18s ease-out}
@keyframes pop-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes pop-fade{from{opacity:0}to{opacity:1}}
.pop__body{max-height:calc(100vh - 2rem);max-height:calc(100dvh - 2rem);overflow:auto;overscroll-behavior:contain}
.pop__close{position:absolute;top:.55rem;right:.55rem;z-index:1;width:44px;height:44px;padding:0;border:1px solid var(--gold);border-radius:50%;background:var(--charcoal);color:var(--offwhite);font:inherit;font-size:1.5rem;line-height:1;cursor:pointer}
.pop__close:focus-visible{outline:2px solid var(--gold);outline-offset:2px}
.pop__body:focus-visible,.pop .project>div:last-child:focus-visible{outline:2px solid var(--gold-dark);outline-offset:-2px}
.pop .project{display:flex;flex-direction:column;align-items:stretch;gap:0;padding:0;border:0}
.pop .project .photo{aspect-ratio:auto!important;border:0;background:var(--charcoal);display:flex;justify-content:center}
.pop .project .photo img{width:auto;height:auto;max-width:100%;max-height:33vh;object-fit:contain}
.pop:not(.pop--tall) .project .photo img{width:100%;max-height:none}
.pop .project>div:last-child{padding:1.25rem 1.25rem 1.5rem}
@media (min-width:861px){
  .pop .project>div:last-child{padding:1.9rem 2.2rem 2.1rem}
  .pop .project .photo img{max-height:52vh}
}
/* On a wide screen the picture is on the left and the text beside it. An upright picture sets the pop-up's
   height and takes the width its shape gives it; a landscape one takes 58% of the width. */
@media (min-width:1040px){
  .pop{width:min(66rem,calc(100vw - 3rem))}
  .pop .project{flex-direction:row}
  .pop .project .photo{display:block;flex:0 0 58%;align-self:stretch;aspect-ratio:3/2!important}
  .pop .project .photo img,.pop:not(.pop--tall) .project .photo img{width:100%;height:100%;max-width:none;max-height:none;object-fit:cover}
  .pop .project>div:last-child{flex:1 1 20rem;min-width:0;align-self:center;max-height:100%;overflow:auto;padding:2.4rem}
  .pop--tall .pop__body{max-height:none;overflow:visible}
  .pop--tall .project{height:min(84vh,46rem)}
  .pop--tall .project .photo{flex:0 0 auto;height:100%;aspect-ratio:var(--shape)!important}
}
@media (prefers-reduced-motion:reduce){.pop[open],.pop[open]::backdrop{animation:none}}
/* The email box. An email link asks the visitor's device for its mail program; where none answers, this box comes up a
   second later with Gmail, Outlook and the address to copy ("94 a", 20 November). site.js makes it. */
.pop.mailbox{width:min(22rem,calc(100vw - 1.5rem))}
.mailbox__body{padding:2.1rem 1.5rem 1.6rem}
.mailbox h2{font-size:1.5rem;padding-right:3rem}
.mailbox__to{margin-top:.5rem;overflow-wrap:anywhere}
.mailbox__ways{display:flex;flex-direction:column;gap:.7rem;margin-top:1.3rem}
.mailbox__ways .btn{justify-content:center;background:none;font-family:inherit;cursor:pointer}
.mailbox__ways .btn:hover{background:var(--charcoal)}
@media print{.has-pop .projects{display:block}.has-pop .mosaic__hint{display:none}}
