/* Tallis Concrete & Hardscape (fictional). The page under the photo is light broom-finished concrete,
   ruled in ink, with one chalk-line blue for action. Mona Sans across its width axis. */
:root{
  --slab:#b4afa3;       /* cured light concrete */
  --slab-hi:#bdb8ad;
  --slab-lo:#a29d91;
  --ink:#161513;
  --ink-2:#36342f;      /* secondary text, tinted from the ink, never neutral gray */
  --white:#f6f4ee;
  --chalk:#2a4cc4;      /* snapped chalk line, ultramarine */
  --chalk-hi:#3459d6;
  --chalk-lo:#1d3a9e;
  --gut:20px;
  --plate-h:300px;
  --frame-h:300px;      /* the photo + notes composition; the plate may show a window of it (cover) */
  /* broom finish: long horizontal striations, fine sand grain and a slow mottle, all very low contrast */
  --broom:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='432' height='240'%3E%3Cfilter id='s' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.0045 .62' numOctaves='3' seed='7' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .085 0 0 0 0 .07 .42 0 0 0 -.17'/%3E%3C/filter%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .075 0 0 0 0 .06 0 0 0 -.9 .52'/%3E%3C/filter%3E%3Cfilter id='m' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='2' seed='11' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .98 0 0 0 0 .93 0 0 0 .7 -.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23s)'/%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  color-scheme:light;
}
*{box-sizing:border-box}
html{background:var(--slab);-webkit-text-size-adjust:100%}
body{margin:0;font-family:'Mona Sans',system-ui,sans-serif;font-stretch:100%;font-weight:450;color:var(--ink);
  background:var(--slab) var(--broom) 0 0/432px 240px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
::selection{background:var(--chalk);color:#fff}
a{color:inherit}
:focus-visible{outline:2px solid var(--chalk);outline-offset:3px}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:8px 12px;z-index:50}
.skip:focus{left:8px}

/* ---- nav: white over the photo, slab-solid once scrolled ---- */
/* --navk 0..1 is scroll-linked (js/scroll.js): white over the photo, slab-solid and ruled once past it */
.nav{position:fixed;inset:0 0 auto 0;z-index:20;height:56px;display:flex;align-items:center;justify-content:space-between;
  padding:0 var(--gut);--navk:0;color:color-mix(in srgb,var(--ink) calc(var(--navk) * 100%),var(--white));
  background:rgb(180 175 163 / var(--navk));box-shadow:0 1px 0 rgb(22 21 19 / var(--navk))}
.mark{display:inline-flex;align-items:center;gap:9px;font-weight:800;font-stretch:125%;font-size:16px;letter-spacing:.12em;text-decoration:none;line-height:1}
.mark svg{width:22px;height:12px;fill:currentColor;stroke:currentColor;flex:none;overflow:visible}
.nav nav{display:flex;align-items:center;gap:18px}
.nav-est{font-weight:600;font-stretch:112%;font-size:13px;letter-spacing:.02em;text-decoration:underline;text-underline-offset:5px;text-decoration-thickness:1px}
.menu{appearance:none;border:0;background:none;padding:10px 0 10px 6px;color:inherit;cursor:pointer;display:grid;gap:6px}
.menu i{display:block;width:22px;height:1.5px;background:currentColor}

/* ---- photo plate ---- */
.hero{position:relative}
.plate{position:relative;margin:0;height:var(--plate-h);overflow:hidden;background:#6f6a5e}
.frame{position:absolute;left:0;right:0;height:var(--frame-h);top:calc((var(--plate-h) - var(--frame-h)) * var(--win, .5))}
.photo{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 50%;
  transform:scale(var(--zoom,1));transform-origin:62% 55%}
.plate::before{content:"";position:absolute;inset:0 0 auto 0;height:104px;z-index:1;pointer-events:none;
  background:linear-gradient(rgba(14,13,11,.5),rgba(14,13,11,.16) 58%,rgba(14,13,11,0))}
.notes{position:absolute;inset:0;width:100%;height:100%;z-index:2;overflow:visible;transform:scale(var(--zoom,1));transform-origin:62% 55%}
.notes .ln{fill:none;stroke-width:1;vector-effect:non-scaling-stroke}
.notes .tk{fill:none;stroke-width:1.4}
.notes text{font-family:'Mona Sans',sans-serif;font-stretch:118%;font-weight:640;font-size:9.5px;letter-spacing:.09em;
  paint-order:stroke;stroke-width:2.6px;stroke-linejoin:round}
.notes .t-w{--c:var(--white);--h:rgba(20,19,16,.55)}
.notes .t-k{--c:var(--ink);--h:rgba(222,214,194,.5)}
.notes .ln,.notes .tk{stroke:var(--c)}
.notes text{fill:var(--c);stroke:var(--h)}
.notes .dot{fill:var(--ink);stroke:var(--white);stroke-width:1.2}

/* ---- section cut: the slab drawn in section under the photo ---- */
.cut{height:14px;border-top:2px solid var(--ink);border-bottom:1px solid var(--ink);
  background:var(--slab) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='12'%3E%3Cg fill='%23161513'%3E%3Ccircle cx='3' cy='3.5' r='.7'/%3E%3Ccircle cx='11' cy='9' r='.6'/%3E%3Ccircle cx='19' cy='2.6' r='.5'/%3E%3Ccircle cx='27' cy='8' r='.7'/%3E%3Ccircle cx='36' cy='4.4' r='.6'/%3E%3Ccircle cx='42' cy='10' r='.5'/%3E%3Ccircle cx='7' cy='10.6' r='.5'/%3E%3Ccircle cx='31' cy='2' r='.5'/%3E%3C/g%3E%3Cg fill='none' stroke='%23161513' stroke-width='.7'%3E%3Cpath d='M14 5l3 4h-4.4z'/%3E%3Cpath d='M38 7l2.6 3.4h-4z'/%3E%3Cpath d='M22 10l2-2.6 1.2 3.4z'/%3E%3C/g%3E%3C/svg%3E") 0 0/46px 12px repeat-x}

/* ---- title block: the headline cell, then the estimate row ruled into the same grid ---- */
.titleblock{border-bottom:1px solid var(--ink)}
h1{margin:0;padding:15px var(--gut) 13px;font-weight:780;font-stretch:85%;font-size:55px;line-height:48px;letter-spacing:-.022em;color:var(--ink)}
.tb-row{display:grid;grid-template-columns:246px 1fr;height:78px;border-top:1px solid var(--ink)}
.est{position:relative;display:flex;align-items:center;justify-content:space-between;padding:0 18px 0 var(--gut);
  background:var(--chalk);color:#fff;text-decoration:none;font-weight:620;font-stretch:104%;font-size:18px;letter-spacing:-.005em;
  box-shadow:inset 0 -3px 0 var(--chalk-lo);transition:background-color .2s}
.est svg{width:20px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .2s cubic-bezier(.2,.8,.2,1)}
.est:hover{background:var(--chalk-hi)}
.est:hover svg{transform:translateX(3px)}
.est:active{box-shadow:inset 0 2px 4px rgba(0,0,0,.3)}
.scope{margin:0;align-self:center;padding:0 16px;font-weight:580;font-size:14px;line-height:19px;color:var(--ink)}

.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* cover composition: a shorter window onto the same photo + notes frame */
.cover{--plate-h:248px;--win:0}

@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
