@font-face { font-family: "Archivo"; src: url("fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("fonts/plex-mono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("fonts/ibm-plex-sans-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
/* Annesley Construction & Interiors — site styles
   Palette: Annesley Red, Charcoal, Galvanized, Gypsum, Board White */
:root {
  color-scheme: light;
  --red: #D90202;
  --red-deep: #A90202;
  --char: #0D0E10;
  --char-2: #1A1B1D;
  --steel: #4B4D50;
  --steel-2: #7A7C7F;
  --gyp: #EEEDE8;
  --gyp-2: #E4E2DB;
  --board: #F8F7F3;
  --line: #D6D3CB;
  --line-2: #BDB9AF;
  --muted: #3C3D3F;
  --error: #D90202;
  --g: clamp(16px, 4.2vw, 40px);
  --f-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow: 0 1px 2px rgba(13, 14, 16, .08), 0 14px 34px -18px rgba(13, 14, 16, .45);
  --blue: #0B1B62;
  --blue-deep: #021144;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--gyp); color: var(--char); font: 400 1.0625rem/1.65 var(--f-body); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
img { display: block; height: auto; }
a { color: inherit; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
button, input, select, textarea { font: inherit; color: inherit; font-family: var(--f-sans); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--char); color: #fff; padding: 10px 14px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ic-lg { width: 30px; height: 30px; stroke-width: 1.7; }
.wrap { width: min(100% - 2 * var(--g), 1200px); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2 { font-family: var(--f-sans); font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; color: var(--char); }
h1 { font-size: clamp(2.4rem, 4.7vw, 3.9rem); line-height: .98; }
h1 span { color: var(--red); display: block; }
h2 { font-size: clamp(2rem, 3.9vw, 3.1rem); line-height: 1.02; }
h3 { font: 700 1.1875rem/1.25 var(--f-sans); font-stretch: 104%; }
.spec { font: 600 .8125rem/1.35 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.spec-red { color: var(--red); margin-bottom: 14px; }
.spec-blue { color: var(--blue); margin-bottom: 14px; }
.spec-light { color: var(--red); margin-bottom: 14px; }
.lede { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 36em; }
.section-sub { color: var(--muted); font-size: 1.125rem; max-width: 38em; margin-top: 16px; }

/* drafting corner marks */
.marks {
  --mk: var(--char);
  background-image:
    linear-gradient(var(--mk), var(--mk)), linear-gradient(var(--mk), var(--mk)),
    linear-gradient(var(--mk), var(--mk)), linear-gradient(var(--mk), var(--mk)),
    linear-gradient(var(--mk), var(--mk)), linear-gradient(var(--mk), var(--mk)),
    linear-gradient(var(--mk), var(--mk)), linear-gradient(var(--mk), var(--mk));
  background-repeat: no-repeat;
  background-size: 14px 2px, 2px 14px, 14px 2px, 2px 14px, 14px 2px, 2px 14px, 14px 2px, 2px 14px;
  background-position: top left, top left, top right, top right, bottom left, bottom left, bottom right, bottom right;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em; cursor: pointer; text-decoration: none;
  font: 700 1rem/1.1 var(--f-sans); font-stretch: 104%; padding: .9em 1.3em; border-radius: 3px; border: 2px solid transparent;
  transition: background-color .15s, color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: scale(.96); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-lg { font-size: 1.0625rem; padding: 1em 1.5em; }
.btn-sm { font-size: .9375rem; padding: .7em 1.05em; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(238, 237, 232, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line-2); }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand img { height: 38px; width: auto; display: block; }
.nav { display: none; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; transition: color .15s; }
.header-phone:hover { color: var(--red); }
.header-actions .btn-sm { display: none; }
.menu-btn { width: 46px; height: 46px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; transition: transform .18s ease; }
.menu-btn:hover, .menu-btn:focus-visible { transform: scale(1.14); }
.menu-btn:active { transform: scale(1.28); }
.header-actions .btn {
  background: none; border: 0; box-shadow: none; color: var(--char); padding: .3em .05em;
  border-radius: 0; position: relative; font-weight: 600; font-size: .9375rem; font-stretch: 104%;
  transition: transform .18s ease;
}
.header-actions .btn::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 2px; background: var(--red);
  transition: right .3s cubic-bezier(.2, .7, .3, 1);
}
.header-actions .btn:hover, .header-actions .btn:focus-visible { transform: scale(1.06); }
.header-actions .btn:hover::after, .header-actions .btn:focus-visible::after { right: 0; }
.header-actions .btn:active { transform: scale(1.12); }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 20px; height: 2px; background: var(--char); position: relative; transition: transform .2s, background-color .2s; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
.nav.is-open { display: grid; position: absolute; left: 0; right: 0; top: 100%; background: var(--board); border-bottom: 1px solid var(--line-2); padding: 6px var(--g) 16px; box-shadow: var(--shadow); }
.nav.is-open a { padding: 14px 2px; font-weight: 700; font-size: 1.125rem; text-decoration: none; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .header-actions .btn-sm { display: inline-flex; } .brand img { height: 44px; } }
@media (min-width: 1020px) {
  .menu-btn { display: none; }
  .nav, .nav.is-open { display: flex; position: static; gap: 28px; background: none; border: 0; padding: 0; box-shadow: none; }
  .nav a, .nav.is-open a {
    position: relative; padding: 8px 1px; text-decoration: none; font-weight: 600; font-size: .9375rem;
    border: 0; transition: transform .18s ease;
  }
  .nav a::after {
    content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--red);
    transition: right .3s cubic-bezier(.2, .7, .3, 1);
  }
  .nav a:hover, .nav a:focus-visible { color: var(--red); transform: scale(1.06); }
  .nav a:hover::after, .nav a:focus-visible::after { right: 0; }
  .nav a:active { transform: scale(1.12); }
}
@media (min-width: 1240px) { .header-phone { display: inline-flex; } }
/* phones and tablets: the phone number becomes a red call button beside the menu,
   so a tap-to-call sits at the top of every screen (the full number shows from 1240px) */
@media (max-width: 1239px) {
  .header-phone { display: inline-flex; justify-content: center; width: 44px; height: 44px; border-radius: 3px; background: var(--red); color: #fff; transition: background-color .15s, transform .15s; }
  .header-phone .ic { width: 20px; height: 20px; }
  .header-phone span { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .header-phone:hover, .header-phone:focus-visible { color: #fff; background: var(--red-deep); }
  .header-phone:active { transform: scale(.94); }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(28px, 5vw, 64px); }
.hero-inner { display: grid; gap: clamp(28px, 4vw, 48px); align-items: center; }
.hero-copy { display: grid; gap: 22px; align-content: start; }
.paths { display: grid; gap: 12px; margin-top: 6px; }
@media (min-width: 620px) { .paths { grid-template-columns: 1fr 1fr; } }
.path {
  position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 52px 20px 20px; text-decoration: none;
  background: var(--board); border: 1.5px solid var(--line-2); border-radius: 4px; transition: border-color .15s, transform .15s, box-shadow .15s;
}
.path:hover { border-color: var(--char); transform: translateY(-2px); box-shadow: var(--shadow); }
.path:active { transform: scale(.98); }
.path-bid { background: var(--blue); border-color: var(--blue); color: #fff; }
.path-bid:hover { border-color: var(--blue-deep); }
.path-who { display: flex; align-items: center; gap: 8px; font: 600 .75rem/1.3 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--steel); }
.path-bid .path-who { color: rgba(255, 255, 255, .8); }
.path-do { font: 800 1.5rem/1.1 var(--f-sans); font-stretch: 110%; }
.path-note { font-size: .9375rem; color: var(--muted); }
.path-bid .path-note { color: #CDD2D7; }
.path-go { position: absolute; right: 18px; top: 20px; width: 24px; height: 24px; color: var(--red); }
.path-bid .path-go { color: #fff; }
.hero-drawing { display: grid; gap: 8px; justify-items: center; }
.hero-drawing svg { width: 100%; height: auto; max-height: 640px; }
.hero-drawing .spec { font-size: .72rem; }

/* the wall-assembly drawing, as its own section between the hero and services */
.wall-assembly { background: var(--board); border-bottom: 1px solid var(--line); }
.wall-assembly-inner { display: grid; justify-items: center; text-align: center; }
.wall-assembly .section-head { max-width: 46em; }
.wall-assembly .hero-drawing { width: 100%; max-width: 760px; margin-inline: auto; }
.wall-assembly .hero-drawing svg { max-height: 560px; }
@media (min-width: 1020px) {
  .wall-assembly .hero-drawing { max-width: 900px; }
  .wall-assembly .hero-drawing svg { max-height: 680px; }
}

/* drawing animation: lines draw in, fills and labels fade after */
.shop-drawing .ln { stroke-dasharray: 1; stroke-dashoffset: 0; }
.shop-drawing .lbl { font-family: var(--f-mono); }
@media (prefers-reduced-motion: no-preference) {
  .js .shop-drawing .ln { animation: draw 1.3s cubic-bezier(.35, .6, .2, 1) both; }
  .js .shop-drawing .fill, .js .shop-drawing .dot, .js .shop-drawing .lbl, .js .shop-drawing .tick, .js .shop-drawing .dash { animation: fadein .6s ease both; }
  .js .shop-drawing .g0 { animation-delay: .1s; }
  .js .shop-drawing .g1 { animation-delay: .25s; }
  .js .shop-drawing .g2 { animation-delay: 1.05s; }
  .js .shop-drawing .g3 { animation-delay: 1.6s; }
  .js .shop-drawing .g4 { animation-delay: 1.85s; }
  .js .shop-drawing .g5 { animation-delay: 2.5s; }
}
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 560px) { .shop-drawing .lbl-c, .shop-drawing .lbl-d { display: none; } }

.hero { padding-bottom: clamp(44px, 6vw, 80px); border-bottom: 1px solid var(--line-2); }

/* with a background photo: full width, dark, words on top; the photo drifts slower than the page (site.js) */
.hero.has-photo { position: relative; overflow: hidden; padding-block: 0; border-bottom: 0; background: var(--char); color: #fff; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-photo { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; max-width: none; object-fit: cover; object-position: 50% 50%; will-change: transform; }
.focus-top .hero-photo { object-position: 50% 18%; }
.focus-bottom .hero-photo { object-position: 50% 82%; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 10, .70) 0%, rgba(8, 9, 10, .82) 100%); }
.has-photo .hero-inner { position: relative; z-index: 1; min-height: min(820px, calc(100svh - 76px)); align-content: center; padding-block: clamp(56px, 9vw, 120px); }
.has-photo .hero-copy { max-width: 780px; }
.has-photo h1 { color: #fff; }
.has-photo h1 span { color: var(--red); }
.has-photo .spec { color: #C8CDD2; }
.has-photo .lede { color: #E3E6E9; }
.has-photo h1, .has-photo .lede { text-shadow: 0 2px 20px rgba(0, 0, 0, .35); }
.has-photo .path { background: rgba(248, 247, 243, .97); border-color: transparent; color: var(--char); }
.has-photo .path-bid { background: var(--blue); color: #fff; }
.has-photo .path-bid:hover { border-color: #fff; }
.has-photo .path-bid .path-who, .has-photo .path-bid .path-note { color: rgba(255, 255, 255, .8); }
@media (min-width: 1020px) {
  .has-photo .hero-inner { grid-template-columns: minmax(0, 780px); }
  .hero-media::after { background: linear-gradient(90deg, rgba(8, 9, 10, .90) 0%, rgba(8, 9, 10, .72) 50%, rgba(8, 9, 10, .35) 100%); }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 116px); }
.section-head { margin-bottom: clamp(32px, 5vw, 52px); }
.section-head-row { display: grid; gap: 12px; align-items: end; }
@media (min-width: 900px) { .section-head-row { grid-template-columns: 1fr 1fr; } }

.svc-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .svc-grid { grid-template-columns: repeat(3, 1fr); } }
.svc {
  position: relative; display: grid; gap: 10px; align-content: start; padding: 26px; background-color: var(--board); border: 1px solid var(--line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue); --mk: var(--blue); }
.svc:active { transform: translateY(-3px) scale(.99); }
.svc .ic-lg { color: var(--red); margin-bottom: 8px; }
.svc-grid .svc:nth-child(even) .ic-lg { color: var(--blue); }
.svc p:not(.callout) { color: var(--muted); }
.svc-art { width: 100%; max-height: 150px; object-fit: contain; object-position: left center; margin-bottom: 4px; }
.callout { font: 600 .75rem/1 var(--f-mono); letter-spacing: .08em; color: var(--red); }
.svc-grid .svc:nth-child(even) .callout { color: var(--blue); }
/* lead tile: the framing item reads as a bold "hero" card among the plainer ones */
.svc-lead {
  --mk: var(--blue);
  border-top: 4px solid var(--blue);
  background: linear-gradient(rgba(11, 27, 98, .05), rgba(11, 27, 98, .05)), var(--board);
}
@media (min-width: 1020px) {
  /* wide screens: the lead tile takes two columns and two rows, so the six services fill three even rows */
  .svc-lead { grid-column: span 2; grid-row: span 2; grid-template-rows: 1fr auto auto auto; }
  .svc-lead .svc-art { max-height: 260px; height: 100%; align-self: center; }
  .svc-lead picture { display: block; height: 100%; }
  .svc-lead .svc-photo { height: 100%; min-height: 220px; aspect-ratio: auto; }
}

.commercial { background: var(--char); color: #D4D8DC; }
.commercial h2, .commercial h3 { color: #fff; }
.commercial-inner { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1020px) { .commercial-inner { grid-template-columns: .9fr 1.1fr; } }
.commercial-copy { display: grid; gap: 20px; justify-items: start; }
.commercial-copy > p { font-size: 1.125rem; max-width: 34em; }
.commit { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 640px) { .commit { grid-template-columns: 1fr 1fr; } }
.commit li { display: grid; gap: 12px; align-content: start; padding: 24px; background: var(--char-2); transition: transform .2s ease, background-color .2s ease; }
.commit li:hover { transform: translateY(-5px); background: #232427; }
.commit .ic-lg { color: var(--red); }
.commit p { font-size: .98rem; color: #BEC4CA; margin-top: 4px; }

.build-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 700px) { .build-steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1020px) { .build-steps { grid-template-columns: repeat(4, 1fr); } }
.build-steps li {
  padding: 24px; background: var(--board); border-top: 3px solid var(--blue); display: grid; gap: 8px; align-content: start;
  transition: transform .2s ease, box-shadow .2s ease;
}
.build-steps li:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.build-steps li:nth-child(even) { border-top-color: var(--red); }
.bs-n { font: 600 .875rem/1 var(--f-mono); color: var(--blue); letter-spacing: .06em; }
.build-steps li:nth-child(even) .bs-n { color: var(--red); }
.build-steps p { color: var(--muted); }
.res-cta {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px; border-top: 4px solid var(--red);
  background: linear-gradient(rgba(11, 27, 98, .05), rgba(11, 27, 98, .05)), var(--board);
}
.res-cta p { font-weight: 600; }

.work { background: var(--gyp-2); }
.jobs { display: grid; gap: clamp(22px, 4vw, 36px); }
.job {
  display: grid; gap: clamp(18px, 3vw, 40px); background: var(--board); border: 1px solid var(--line); padding: clamp(14px, 2.2vw, 24px);
  transition: box-shadow .22s ease, border-color .22s ease;
}
.job:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.job > * { min-width: 0; }
@media (min-width: 900px) {
  .job { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: start; }
  .job:nth-child(even) .job-photos { order: 2; }
}
.js .job-extra:not(.is-shown) { display: none; }
.collage { display: grid; gap: 6px; grid-template-columns: 1fr 1fr; }
.collage .shot { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; border: 0; border-radius: 0; background: var(--gyp-2); overflow: hidden; cursor: zoom-in; }
.collage .shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.collage .shot:hover img { transform: scale(1.03); }
.collage .shot:active img { transform: scale(1.08); }
.collage .shot:first-child { grid-column: 1 / -1; }
.collage.n-1 { grid-template-columns: 1fr; }
.collage.n-2 .shot:first-child { grid-column: auto; }
@media (min-width: 700px) {
  .collage.n-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; aspect-ratio: 16 / 10; }
  .collage.n-3 .shot { aspect-ratio: auto; }
  .collage.n-3 .shot:first-child { grid-column: 1; grid-row: 1 / 3; }
}
.shot-more::after { content: ""; position: absolute; inset: 0; background: rgba(28, 31, 35, .55); }
.more { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: #fff; font: 800 clamp(1.4rem, 2.6vw, 2rem)/1 var(--f-sans); font-stretch: 110%; }
.photo-count { margin-top: 10px; font-size: .72rem; }
.collage-empty .shot { cursor: default; display: grid; place-items: center; background: repeating-linear-gradient(135deg, var(--gyp-2) 0 10px, var(--gyp) 10px 20px); border: 1px dashed var(--line-2); }
.ph-label { font: 600 .75rem/1.2 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); background: var(--board); padding: 8px 10px; border: 1px dashed var(--line-2); }
.job-info { display: grid; gap: 10px; align-content: start; }
.job-info .spec-red { margin-bottom: 2px; }
.job-info h3 { font: 800 clamp(1.4rem, 2.4vw, 1.8rem)/1.1 var(--f-sans); font-stretch: 110%; }
.job-scope { font: 500 .8125rem/1.5 var(--f-mono); color: var(--steel); }
.job-text { color: var(--muted); }
.review { margin-top: 12px; padding-top: 18px; border-top: 2px solid var(--char); }
.review blockquote { margin: 0; font-size: 1.125rem; line-height: 1.55; }
.review blockquote p::before { content: "\201C"; }
.review blockquote p::after { content: "\201D"; }
.review figcaption, .client-only { display: flex; align-items: center; gap: 12px; margin-top: 16px; line-height: 1.3; }
.review figcaption strong, .client-only strong { display: block; font-weight: 800; }
.review figcaption span span { color: var(--muted); font-size: .9375rem; }
.client-only { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.client-only .spec { display: block; font-size: .7rem; }
.client-logo { width: 60px; height: 60px; flex: none; object-fit: contain; background: #fff; border: 1px solid var(--line); padding: 4px; }
.client-initial { width: 60px; height: 60px; flex: none; display: grid; place-items: center; background: var(--blue); color: #fff; font: 800 1.5rem/1 var(--f-sans); }
.more-jobs { margin-top: 28px; text-align: center; }
html:not(.js) .more-jobs { display: none; }
.btn-line { background: transparent; border-color: var(--char); color: var(--char); }
.btn-line:hover { background: var(--char); color: #fff; }

/* full-size photo viewer (built by site.js) */
.lightbox { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(16, 18, 20, .97); color: #fff; }
.lightbox::backdrop { background: rgba(16, 18, 20, .97); }
.lb-stage { position: absolute; inset: 60px 12px 64px; }
.lb-stage img { position: absolute; inset: 0; margin: auto; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.lb-cap { position: absolute; left: 16px; right: 16px; bottom: 18px; text-align: center; font-size: .9375rem; }
.lb-count { margin-left: 10px; font-family: var(--f-mono); color: var(--steel-2); }
.lb-btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .4); border-radius: 3px; background: rgba(16, 18, 20, .6); color: #fff; cursor: pointer; font: 400 1.75rem/1 var(--f-sans); }
.lb-btn:hover { background: #fff; color: var(--char); }
.lb-close { top: 10px; right: 12px; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: 12px; }
.lb-next { right: 12px; }
.lightbox.is-single .lb-prev, .lightbox.is-single .lb-next { display: none; }

/* ---------- forms ---------- */
.contact { background: var(--board); border-top: 1px solid var(--line); }
.contact-inner { display: grid; gap: clamp(32px, 5vw, 64px); }
@media (min-width: 1020px) { .contact-inner { grid-template-columns: .8fr 1.2fr; align-items: start; } }
.contact-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; font-weight: 600; }
.contact-list li { display: flex; gap: 12px; align-items: center; }
.contact-list .ic { color: var(--red); width: 22px; height: 22px; }
.contact-list a { text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-person { align-items: flex-start !important; }
.contact-person .ic { margin-top: 2px; }
.contact-person > span { display: grid; gap: 2px; }
.cp-who { font-weight: 400; font-size: .9375rem; color: var(--muted); }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border-bottom: 1.5px solid var(--line-2); margin-bottom: 20px; }
.tab {
  position: relative; border: 0; background: transparent; padding: 12px 4px; font-weight: 700; cursor: pointer; font-size: 1rem;
  color: var(--muted); transition: transform .18s ease, color .15s;
}
.tab::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -1.5px; height: 2px; background: var(--blue);
  transition: right .3s cubic-bezier(.2, .7, .3, 1);
}
.tab:hover, .tab:focus-visible { color: var(--char); transform: scale(1.03); }
.tab:hover::after, .tab:focus-visible::after { right: 0; }
.tab[aria-selected="true"] { color: var(--char); }
.tab[aria-selected="true"]::after { right: 0; }
.tab:active { transform: scale(.97); }
.form-card { display: grid; gap: 16px; background: var(--gyp); border: 1px solid var(--line); padding: clamp(18px, 3vw, 28px); border-radius: 4px; }
.fields { display: grid; gap: 14px; }
@media (min-width: 560px) { .fields { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .scope legend { font-weight: 700; font-size: .9375rem; }
.opt { font-weight: 500; color: var(--muted); font-size: .85rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="date"], select, textarea {
  width: 100%; font-size: 1rem; padding: 12px 13px; border: 1.5px solid var(--line-2); border-radius: 3px; background: #fff; min-height: 48px;
}
textarea { resize: vertical; min-height: 84px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(11, 27, 98, .15); }
input[aria-invalid="true"] { border-color: var(--error); }
.scope { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; min-width: 0; }
.scope legend { margin-bottom: 8px; padding: 0; }
.scope label { position: relative; cursor: pointer; }
.scope input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.scope span { display: inline-flex; align-items: center; min-height: 44px; padding: 9px 14px; border: 1.5px solid var(--line-2); background: #fff; border-radius: 3px; font-weight: 700; font-size: .9375rem; }
.scope input:checked + span { background: var(--char); border-color: var(--char); color: #fff; }
.scope input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form-error { color: var(--error); font-weight: 700; }
.form-error:empty { display: none; }
.fine { font-size: .875rem; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--char); color: #BEC4CA; padding-block: 56px 28px; font-size: .98rem; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; } }
.footer-brand img { height: 46px; width: auto; margin-bottom: 16px; display: block; }
.footer-brand p { max-width: 32em; }
.footer-col h2 { font: 600 .75rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .875rem; color: #8D959D; }

/* ---------- photos added in the site editor ---------- */
.svc-photo { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 6px; }

/* ---------- story & timeline ---------- */
.story-inner { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
@media (min-width: 900px) { .story-inner { grid-template-columns: 1.05fr .95fr; } }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; display: grid; gap: 26px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 2px; background: var(--line-2); }
.timeline li { position: relative; display: grid; gap: 4px; }
.timeline li::before {
  content: ""; position: absolute; left: -26px; top: 5px; width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue); box-shadow: 0 0 0 3px var(--gyp);
}
.t-year { font: 700 .8125rem/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.timeline p { margin: 0; color: var(--muted); }

/* ---------- careers (bold tile: this is where leads become applicants) ---------- */
.careers { background: var(--blue); padding-block: clamp(72px, 10vw, 128px); }
.careers h2 { color: #fff; }
.careers-copy p:not(.spec) { color: #C7D0F2; }
.careers-copy > h2, .story-copy > h2 { margin-bottom: 18px; }   /* same breathing room as the other section headings */
.story-copy > h2 ~ p + p { margin-top: 12px; }
.careers-inner { display: grid; gap: clamp(26px, 4vw, 48px); align-items: start; }
@media (min-width: 1020px) { .careers-inner { grid-template-columns: .9fr 1.1fr; } }
.careers .mini-form {
  background: var(--board); color: var(--char); display: grid; gap: 16px;
  padding: clamp(20px, 3vw, 30px); border-top: 4px solid var(--red);
}
.careers .field label { color: var(--char); }

/* ---------- Careers and Get a price: boxes that answer the mouse ----------
   Same feel as the service cards: the form boxes lift and a thin light runs along the edge where the pointer is,
   red where it's nearest and navy further along. The phone numbers, email and scope choices lift too.
   Phones have no hover, so each form box lights up while it crosses the middle of the screen,
   and the rows and choices give a small press when tapped. */
.careers .mini-form, .contact .form-card { --bw: 2px; position: relative; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease, border-color .25s ease; }
.careers .mini-form::after, .contact .form-card::after, .contact-list li:has(a)::after, .scope label::after {
  content: ""; position: absolute; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(var(--glow, 300px) circle at calc(var(--mx, 50%) + var(--bx, 0px)) calc(var(--my, 0%) + var(--by, 0px)), rgba(232, 24, 24, .95), rgba(11, 27, 98, .55) 40%, rgba(11, 27, 98, 0) 74%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.careers .mini-form::after, .contact .form-card::after { inset: calc(var(--bw) * -1); padding: var(--bw); border-radius: inherit; }
.contact-list li:has(a) { --bx: 14px; --by: 8px; --glow: 180px; position: relative; isolation: isolate; justify-self: start; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.contact-list li:has(a)::before { content: ""; position: absolute; z-index: -1; inset: calc(var(--by) * -1) calc(var(--bx) * -1); border-radius: 4px; pointer-events: none; opacity: 0; background: #fff; border: 1px solid var(--line); transition: opacity .3s ease, box-shadow .35s ease; }
.contact-list li:has(a)::after { inset: calc(var(--by) * -1) calc(var(--bx) * -1); padding: 1.5px; border-radius: 4px; }
.contact-list li:has(a) a { transition: color .2s ease, text-decoration-color .2s ease; }
.contact-list li:has(a) a::after { content: ""; position: absolute; z-index: 1; inset: calc(var(--by) * -1) calc(var(--bx) * -1); }
.scope label { --glow: 110px; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.scope label::after { inset: 0; padding: 1.5px; border-radius: 3px; }
.scope span { transition: background-color .2s ease, border-color .2s ease, color .2s ease, box-shadow .3s ease; }
@media (hover: hover) and (pointer: fine) {
  .careers .mini-form:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
  .contact .form-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
  .careers .mini-form:hover::after, .contact .form-card:hover::after, .contact-list li:has(a):hover::after, .scope label:hover::after { opacity: 1; }
  .contact-list li:has(a):hover { transform: translateY(-2px); }
  .contact-list li:has(a):hover::before { opacity: 1; box-shadow: var(--shadow); }
  .contact-list li:has(a):hover a { color: var(--red); text-decoration-color: transparent; }
  .scope label:hover { transform: translateY(-2px); }
  .scope label:hover span { border-color: var(--blue); color: var(--blue); box-shadow: 0 10px 22px -14px rgba(11, 27, 98, .55); }
  .scope label:hover input:checked + span { background: var(--char-2); border-color: var(--char-2); color: #fff; box-shadow: 0 10px 22px -12px rgba(13, 14, 16, .6); }
}
.careers .mini-form.is-lit { transform: translateY(-3px); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .7); }
.contact .form-card.is-lit { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
.careers .mini-form.is-lit::after, .contact .form-card.is-lit::after {   /* on phones a band of light slides down both edges */
  opacity: 1;
  background: linear-gradient(transparent calc(var(--my, 0px) - 170px), rgba(11, 27, 98, .55) calc(var(--my, 0px) - 70px), rgba(232, 24, 24, .95) var(--my, 0px), rgba(11, 27, 98, .55) calc(var(--my, 0px) + 70px), transparent calc(var(--my, 0px) + 170px));
}
.contact-list li:has(a):active { transform: scale(.98); transition-duration: .12s; }
.contact-list li:has(a):active::before, .contact-list li:has(a):active::after { opacity: 1; }
.scope label:active { transform: scale(.96); transition-duration: .12s; }
.scope label:active::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .careers .mini-form, .contact .form-card, .contact-list li:has(a), .scope label { transition: box-shadow .2s ease, border-color .2s ease; }
  .careers .mini-form:hover, .contact .form-card:hover, .careers .mini-form.is-lit, .contact .form-card.is-lit,
  .contact-list li:has(a):hover, .contact-list li:has(a):active, .scope label:hover, .scope label:active { transform: none; }
}

/* ---------- heritage seal ---------- */
.seal { margin-top: 30px; }
.seal img { width: min(280px, 100%); height: auto; }

/* ---------- full-screen confirmation once a form is sent (sent.njk) ----------
   Laid out like a drawing sheet: gypsum paper with a faint drafting grid, a border drawn in around the edge,
   the message, and a title block bottom right listing what was sent. Also used as thanks.html. */
html.is-sent-open { overflow: hidden; }
.sent {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow-y: auto; overscroll-behavior: contain; color: var(--char);
  background:
    linear-gradient(rgba(11, 27, 98, .055) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(90deg, rgba(11, 27, 98, .055) 1px, transparent 1px) 0 0 / 120px 120px,
    linear-gradient(rgba(11, 27, 98, .03) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(11, 27, 98, .03) 1px, transparent 1px) 0 0 / 24px 24px,
    var(--gyp);
}
.sent::backdrop { background: var(--gyp); }
.sent-static { position: static; height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; }
.sent-sheet { --in: clamp(10px, 1.6vw, 20px); position: relative; min-height: 100%; display: grid; padding: calc(var(--in) + clamp(16px, 2.6vw, 34px)); }
.sent-static .sent-sheet { min-height: 100vh; min-height: 100dvh; }
.sheet-edge { position: absolute; z-index: 2; background: var(--char); pointer-events: none; }
.sheet-t, .sheet-b { left: var(--in); right: var(--in); height: 1.5px; }
.sheet-r, .sheet-l { top: var(--in); bottom: var(--in); width: 1.5px; }
.sheet-t { top: var(--in); transform-origin: 0 50%; }
.sheet-r { right: var(--in); transform-origin: 50% 0; }
.sheet-b { bottom: var(--in); transform-origin: 100% 50%; }
.sheet-l { left: var(--in); transform-origin: 50% 100%; }
.sent-inner { display: grid; grid-template-rows: auto 1fr; gap: clamp(18px, 4vh, 40px); width: min(100%, 1200px); margin-inline: auto; }
.sent-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sent-logo { height: 38px; width: auto; }
@media (min-width: 700px) { .sent-logo { height: 44px; } }
.sent-x { width: 44px; height: 44px; margin: -6px -10px -6px 0; border: 0; background: none; color: var(--char); cursor: pointer; display: grid; place-items: center; transition: color .15s, transform .15s; }
.sent-x span { position: relative; width: 22px; height: 22px; }
.sent-x span::before, .sent-x span::after { content: ""; position: absolute; left: 0; top: 10px; width: 22px; height: 2px; background: currentColor; transform: rotate(45deg); }
.sent-x span::after { transform: rotate(-45deg); }
.sent-x:hover, .sent-x:focus-visible { color: var(--red); transform: scale(1.1); }
.sent-body { align-self: center; display: grid; gap: clamp(34px, 5vw, 56px); align-items: end; padding-block: clamp(4px, 2vh, 24px); }
@media (min-width: 1000px) { .sent-body { grid-template-columns: minmax(0, 1fr) 390px; gap: 72px; } }
/* big screens: the title block sits in the bottom-right corner of the sheet and shares its border, like on a real drawing */
@media (min-width: 1280px) and (min-height: 880px) {
  .sent-body { grid-template-columns: minmax(0, 760px); }
  .sent .tblock { position: absolute; z-index: 1; right: calc(var(--in) + 1.5px); bottom: calc(var(--in) + 1.5px); width: 400px; max-width: none; background-image: none; border: 0; border-top: 1.5px solid var(--char); border-left: 1.5px solid var(--char); }
}
.sent-main, .sent-copy { display: grid; justify-items: start; }
.sent .spec-red { margin-bottom: 18px; }
.sent-title { display: grid; font-family: var(--f-sans); font-weight: 800; font-stretch: 112%; letter-spacing: -.015em; font-size: clamp(2.5rem, 5vw, 4.1rem); line-height: .98; color: var(--char); outline: none; }
.sent-title > span { display: block; }
.sent-red { color: var(--red); }
.sent-lede { margin-top: 22px; max-width: 34em; font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted); text-wrap: pretty; }
.sent-lede b { font-weight: 600; color: var(--char); }
.sent .nw, .sent-actions p a { white-space: nowrap; }
.sent-next { list-style: none; margin: 30px 0 0; padding: 0; width: min(100%, 560px); border-top: 1px solid var(--line-2); }
.sent-next li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.sent-next .spec { color: var(--blue); }
.sent-next p { text-wrap: pretty; }
.sent-actions { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; }
.sent-actions p { color: var(--muted); }
.sent-actions p a { color: var(--char); font-weight: 600; text-underline-offset: 3px; }
.sent-preview { margin-top: 18px; font-size: .875rem; color: var(--steel); }
/* title block: what was sent, with the time it came in */
.tblock { width: 100%; max-width: 460px; background-color: var(--board); border: 1px solid var(--line-2); }
.tblock-head, .tblock-foot { margin: 0; padding: 12px 18px; font-size: .6875rem; color: var(--steel); }
.tblock-head { border-bottom: 1px solid var(--line-2); }
.tblock-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; }
.tblock-rows { margin: 0; }
.tblock-rows > div { display: grid; grid-template-columns: 92px 1fr; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line); }
.tblock-rows dt { font: 600 .6875rem/1.6 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--steel); }
.tblock-rows dd { margin: 0; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; text-wrap: pretty; }
.tb-time { white-space: nowrap; }
.tb-time::before { content: " \00b7  "; }
@media (max-width: 480px) { .tb-time { display: block; } .tb-time::before { content: none; } }
.tblock-rows .is-received { border-bottom: 1px solid var(--line-2); }
.tblock-rows .is-received dt, .tblock-rows .is-received dd { color: var(--red); }
.tblock-rows .is-received dd { font: 600 .875rem/1.6 var(--f-mono); letter-spacing: .02em; }
/* shorter laptop screens: a little tighter, so the whole message fits without scrolling */
@media (min-width: 700px) and (max-height: 820px) {
  .sent-sheet { padding: calc(var(--in) + 16px) calc(var(--in) + clamp(16px, 2.6vw, 34px)); }
  .sent-inner { gap: 8px; }
  .sent-body { padding-block: 0; }
  .sent .spec-red { margin-bottom: 12px; }
  .sent-title { font-size: clamp(2.3rem, min(5vw, 8.2vh), 4.1rem); }
  .sent-lede { margin-top: 14px; }
  .sent-next { margin-top: 20px; }
  .sent-next li { padding: 9px 0; }
  .sent-actions { margin-top: 22px; }
  .sent-preview { margin-top: 10px; }
  .tblock-rows > div { padding-block: 9px; }
}
@media (prefers-reduced-motion: no-preference) {
  .sent[open] { animation: sent-fade .25s ease both; }
  .sent.is-closing { animation: sent-fade .18s ease reverse both; }
  /* the border is drawn in one pass around the sheet, like a pen */
  .sent[open] .sheet-t, .sent-static .sheet-t { animation: sheet-x .34s cubic-bezier(.45, 0, .7, 1) .05s both; }
  .sent[open] .sheet-r, .sent-static .sheet-r { animation: sheet-y .2s linear .39s both; }
  .sent[open] .sheet-b, .sent-static .sheet-b { animation: sheet-x .34s linear .59s both; }
  .sent[open] .sheet-l, .sent-static .sheet-l { animation: sheet-y .22s cubic-bezier(.3, 0, .55, 1) .93s both; }
  .sent[open] .sent-rise, .sent-static .sent-rise { animation: sent-rise .7s cubic-bezier(.2, .8, .2, 1) both; animation-delay: var(--d, 0s); }
  .sent[open] .tblock { animation: sent-rise .7s cubic-bezier(.2, .8, .2, 1) .5s both; }
  .sent[open] .sent-next { animation: sent-fade .5s ease .55s both; }
  .sent[open] .tblock-rows > div { animation: tb-row .5s cubic-bezier(.3, .7, .3, 1) both; animation-delay: calc(.8s + var(--i, 0) * .09s); }
}
@keyframes sent-fade { from { opacity: 0; } }
@keyframes sent-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes sheet-x { from { transform: scaleX(0); } }
@keyframes sheet-y { from { transform: scaleY(0); } }
@keyframes tb-row { from { clip-path: inset(0 100% 0 0); } }
