/* Architectural sketches: readable drawings first, short motion as enhancement. */
.sketch {
  --sketch-ink: #d7e1ed;
  --sketch-blue: #83b7fb;
  --sketch-muted: #8195ae;
  min-width: 0;
  margin: 0;
  position: relative;
  border: 1px solid rgba(143, 174, 215, .2);
  border-radius: 12px;
  background-color: rgba(12, 23, 38, .82);
  background-image: linear-gradient(rgba(130, 163, 207, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 163, 207, .035) 1px, transparent 1px);
  background-size: 26px 26px;
}
.sketch::before, .sketch::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  border-color: rgba(131, 183, 251, .65);
}
.sketch::before { top: -1px; left: -1px; border-left: 1px solid; border-top: 1px solid; border-top-left-radius: 12px; }
.sketch::after { bottom: -1px; right: -1px; border-right: 1px solid; border-bottom: 1px solid; border-bottom-right-radius: 12px; }
.sketch-topline {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(143, 174, 215, .14);
}
.sketch-label { font: 500 10px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #a9c4e5; }
.sketch-replay {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  gap: 7px;
  min-height: 38px;
  min-width: 68px;
  padding: 7px 9px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: #bdcde0;
  background: transparent;
  font: 500 11px/1 var(--sans);
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.sketch-replay:hover { background: rgba(131, 183, 251, .08); border-color: rgba(131, 183, 251, .3); color: #fff; }
.sketch-replay span { font-size: 19px; }
.sketch-canvas { display: block; width: 100%; height: auto; overflow: visible; }
.sketch-stroke { fill: none; stroke: var(--sketch-ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.sketch-accent { stroke: var(--sketch-blue); }
.sketch-muted { stroke: var(--sketch-muted); }
.sketch-fill { fill: var(--sketch-blue); stroke: none; }
.sketch-surface { fill: #14243a; }
.sketch-stone { fill: #203954; }
.sketch-connection { stroke-width: 2; }
.sketch-text { fill: var(--sketch-ink); font: 12px var(--mono); letter-spacing: .02em; }
.sketch-small { font-size: 10px; fill: var(--sketch-muted); }
.sketch-guides { fill: none; stroke: #91aed1; stroke-width: .75; opacity: .18; }
.sketch-input-label { font-size: 12px; fill: #a9c4e5; letter-spacing: .11em; }
.sketch-footnote { font-size: 11px; fill: #a9c4e5; letter-spacing: .12em; }
.sketch figcaption { margin: 0 20px; padding: 16px 0 18px; border-top: 1px solid rgba(143, 174, 215, .14); font: 400 13px/1.55 var(--sans); color: #b4c1d2; }
.hero-home .hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 4vw, 56px); padding-block: clamp(56px, 7vw, 86px); }
.hero-copy { min-width: 0; }
.hero-home h1 { font-size: clamp(38px, 4.45vw, 62px); }
.hero-home .lede { max-width: 520px; }
.hero-home .eyebrow { max-width: 420px; font-size: 10.5px; line-height: 1.8; }
.hero-sketch { box-shadow: 0 24px 64px rgba(3, 10, 20, .2); }
.service-sketch { margin-top: 28px; max-width: 470px; }
.service-sketch .sketch-topline { padding-inline: 16px; }
.service-sketch figcaption { margin-inline: 16px; }
@media (max-width: 1100px) {
  .hero-home .hero-inner { gap: 28px; }
  .hero-home h1 { font-size: clamp(38px, 4.2vw, 48px); }
  .hero-home .lede { font-size: 16px; }
  .hero-sketch .sketch-topline { padding-inline: 14px; }
  .hero-sketch .sketch-label { font-size: 9px; letter-spacing: .08em; }
}
@media (max-width: 900px) {
  .hero-home .hero-inner { grid-template-columns: 1fr; gap: 38px; }
  .hero-home h1 { font-size: clamp(38px, 6.5vw, 58px); }
  .hero-copy { max-width: 650px; }
  .hero-sketch { width: 100%; max-width: 620px; justify-self: center; }
  .hero-home .eyebrow { font-size: 11px; max-width: 480px; }
  .hero-sketch .sketch-label { font-size: 10px; }
}
@media (max-width: 760px) {
  .service-sketch { max-width: 520px; }
}
@media (max-width: 420px) {
  .sketch-topline { padding-inline: 12px; min-height: 56px; gap: 4px; }
  .sketch-label, .hero-sketch .sketch-label { font-size: 9px; letter-spacing: .045em; }
  .sketch-replay { min-height: 40px; min-width: 62px; padding-inline: 5px; }
  .sketch figcaption { margin-inline: 14px; font-size: 12px; }
  .hero-home .hero-inner { padding-top: 48px; padding-bottom: 48px; }
  .hero-home .eyebrow { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sketch-replay { display: none; }
}
