@charset "utf-8";
/* ============================================================
   tanishqbhaiji.dev — "Sheet"
   The portfolio drawn the way its subject draws.
   World: electrical drafting. Palette: IEC wiring convention.
   ============================================================ */

/* ---------- Faces ---------- */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Azeret";
  src: url("fonts/azeret-mono-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "Azeret", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* The drawing is read on a laptop, in daylight, by someone skimming.
     Drawings are read on paper: light is the ground, ink mode is the exception. */
  --surround: #e4e5e1;      /* the desk / CAD viewport the sheet lies on */
  --sheet:    #fcfcfb;      /* paper */
  --sheet-2:  #f2f2ef;      /* recessed fields inside the sheet */
  --ink:      #101215;      /* drawing ink */
  --ink-2:    #4a4f56;      /* secondary annotation */
  --ink-3:    #666c74;      /* tertiary / dimension text */

  --rule:      rgba(16, 18, 21, 0.16);  /* hairline */
  --rule-firm: rgba(16, 18, 21, 0.34);  /* sheet border, table rules */

  /* IEC wiring convention, not screen habit */
  --neutral-blue: #17539c;   /* N — the interactive colour */
  --blue-lift:    #1f66bb;
  --line-brown:   #7a4a2b;   /* L1 — drawn systems, warm callouts */
  --pe-green:     #007a3d;   /* PE — the signature, with yellow */
  --pe-yellow:    #f2cc0d;

  --stroke: 1.25;            /* drawing stroke weight, px at 1x */

  --sheet-shadow: 0 1px 2px rgba(16, 18, 21, 0.07),
                  0 10px 26px -12px rgba(16, 18, 21, 0.28);

  /* Drawings render from an already-visible default; only the hero is authored. */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease:     cubic-bezier(0.4, 0, 0.2, 1);
}

:root[data-theme="ink"] {
  color-scheme: dark;
  --surround: #0c0d0f;
  --sheet:    #17191d;
  --sheet-2:  #1f2228;
  --ink:      #e9eae6;
  --ink-2:    #a8adb5;
  --ink-3:    #838a93;
  --rule:      rgba(233, 234, 230, 0.15);
  --rule-firm: rgba(233, 234, 230, 0.32);
  --neutral-blue: #7fb2f0;
  --blue-lift:    #9ac6fb;
  --line-brown:   #c98f66;
  --pe-green:     #35b86b;
  --pe-yellow:    #f5d640;
  --sheet-shadow: 0 1px 2px rgba(0, 0, 0, 0.5), 0 14px 34px -14px rgba(0, 0, 0, 0.7);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surround);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* Browser surfaces belong to the design, not to the browser. */
::selection { background: var(--pe-yellow); color: #101215; }
:root[data-theme="ink"] ::selection { background: var(--pe-green); color: #06120b; }

html { scrollbar-color: var(--rule-firm) transparent; scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: var(--rule-firm);
  border: 3px solid var(--surround);
  border-radius: 99px;
}
::-webkit-scrollbar-thumb:hover { background: var(--ink-3); }

:focus-visible {
  outline: 2px solid var(--neutral-blue);
  outline-offset: 2px;
}

input, textarea { caret-color: var(--neutral-blue); }

/* ---------- Type ---------- */
h1, h2, h3 {
  font-weight: 620;
  line-height: 1.06;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.3rem + 3.4vw, 3.9rem); }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.3rem); }
h3 { font-size: clamp(1.125rem, 1.03rem + 0.45vw, 1.35rem); letter-spacing: -0.018em; }

p { text-wrap: pretty; }

.dim {
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: var(--ink-3);
}
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

/* ---------- The sheet ---------- */
.stack {
  --pad: clamp(0.5rem, 2vw, 1.75rem);
  padding: var(--pad);
  display: grid;
  gap: var(--pad);
}

.sheet {
  position: relative;
  background: var(--sheet);
  border: 1px solid var(--rule-firm);
  box-shadow: var(--sheet-shadow);
  container-type: inline-size;
}

/* Drawing-border grid references, drawn on the sheet margin. */
.sheet__refs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}
@media (min-width: 900px) {
  .sheet__refs { display: block; }
  .sheet { padding: 22px; }
  .sheet__inner { border: 1px solid var(--rule); }
}
.sheet__refs span {
  position: absolute;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  color: var(--ink-3);
  opacity: 0.75;
  line-height: 1;
}
.sheet__refs .t { top: 7px; }
.sheet__refs .b { bottom: 7px; }
.sheet__refs .l { left: 8px; }
.sheet__refs .r { right: 8px; }

.pad { padding: clamp(1.25rem, 3.5vw, 3rem); }

/* ---------- Header rail ---------- */
.rail {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--surround) 86%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--rule);
}
.rail__in {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0 clamp(0.75rem, 2.5vw, 2rem);
  height: 46px;
}
.rail__name {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.rail__name a:hover { color: var(--neutral-blue); }
.rail nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.rail nav::-webkit-scrollbar { display: none; }
.rail nav a {
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 0.3rem 0.5rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 120ms var(--ease), border-color 120ms var(--ease);
}
.rail nav a:hover { color: var(--ink); }
.rail nav a[aria-current] {
  color: var(--ink);
  border-bottom-color: var(--neutral-blue);
}
/* Too many items to fit a phone. The numbered sheets live on the index, so the
   rail keeps only the destinations you cannot get to another way. */
@media (max-width: 680px) { .rail nav a.n { display: none; } }

.rail__tools { display: flex; align-items: center; gap: 0.35rem; flex: none; }

.iconbtn {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border: 1px solid var(--rule);
  color: var(--ink-2);
  transition: color 120ms var(--ease), border-color 120ms var(--ease);
}
.iconbtn:hover { color: var(--ink); border-color: var(--rule-firm); }
.iconbtn svg { width: 15px; height: 15px; }
.iconbtn .ink-only { display: none; }
:root[data-theme="ink"] .iconbtn .ink-only { display: block; }
:root[data-theme="ink"] .iconbtn .day-only { display: none; }

/* ---------- Landing hero ---------- */
.hero { display: grid; gap: clamp(1.1rem, 2.5vw, 1.6rem); justify-items: start; }
.hero h1 {
  font-size: clamp(1.9rem, 1.1rem + 3.3vw, 3.5rem);
  max-width: 17ch;
  letter-spacing: -0.032em;
}
.hero .lead-in { max-width: 54ch; }

.avail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-2);
  border: 1px solid var(--rule-firm);
  padding: 0.32rem 0.7rem;
}
.live {
  width: 6px; height: 6px;
  background: var(--pe-green);
  flex: none;
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--pe-green) 55%, transparent);
  animation: live 2.8s var(--ease) infinite;
}
@keyframes live {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pe-green) 55%, transparent); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .live { animation: none; } }

/* Headline figures, read as title-block fields rather than marketing stats. */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--rule-firm);
}
@media (min-width: 560px)  { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats > div {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  min-width: 0;
}
.stats dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  color: var(--ink-3);
  margin-bottom: 0.3rem;
}
.stats dd {
  font-size: clamp(1.15rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 650;
  letter-spacing: -0.028em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.stats dd span {
  display: block;
  font-size: 0.74rem;
  font-weight: 450;
  letter-spacing: 0;
  color: var(--ink-2);
  margin-top: 0.25rem;
}

/* ---------- Title block ---------- */
.tblock {
  display: grid;
  border: 1px solid var(--rule-firm);
  background: var(--sheet);
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .tblock { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tblock { grid-template-columns: repeat(4, 1fr); } }

.tblock > div {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--rule);
  min-width: 0;
}
.tblock > div:last-child { border-bottom: 0; }
@media (min-width: 640px) {
  .tblock > div { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
}
.tblock dt {
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 0.2rem;
}
.tblock dd h1,
.tblock dd h2 {
  font-size: inherit;
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: inherit;
}
.tblock dd {
  font-size: 0.86rem;
  font-weight: 560;
  line-height: 1.35;
  letter-spacing: -0.008em;
  overflow-wrap: break-word;
}
.tblock dd a { border-bottom: 1px solid var(--rule-firm); }
.tblock dd a:hover { color: var(--neutral-blue); border-bottom-color: currentColor; }
.tblock--wide > div { grid-column: 1 / -1; }

/* Padding cells carry the rules but no content. */
.tblock > div:empty { background: var(--sheet); }

/* ---------- The stamp ---------- */
.stamp {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  border: 1.5px solid var(--stamp-c, var(--ink-2));
  color: var(--stamp-c, var(--ink-2));
  padding: 0.3rem 0.6rem;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  background: color-mix(in srgb, var(--stamp-c, var(--ink-2)) 7%, transparent);
}
.stamp b { font-weight: 700; }
.stamp small { font-weight: 400; font-size: 0.92em; opacity: 0.85; }
.stamp[data-s="built"]   { --stamp-c: var(--pe-green); }
.stamp[data-s="service"] { --stamp-c: var(--pe-green); }
.stamp[data-s="partial"] { --stamp-c: var(--line-brown); }
.stamp[data-s="review"]  { --stamp-c: var(--neutral-blue); }
.stamp[data-s="study"]   { --stamp-c: var(--ink-3); }

/* ---------- Drawing ---------- */
.dwg {
  width: 100%;
  height: auto;
  display: block;
  color: var(--ink);
}
.dwg text { font-family: var(--mono); fill: var(--ink-3); }
.dwg .lbl { font-size: 10px; font-weight: 500; }
.dwg .lbl-b { font-size: 10.5px; font-weight: 700; fill: var(--ink); }
.dwg .val { font-size: 10.5px; font-weight: 600; fill: var(--line-brown); }
.dwg .body { stroke: var(--ink); stroke-width: var(--stroke); fill: none; stroke-linejoin: round; }
.dwg .thin { stroke: var(--ink-3); stroke-width: 0.6; fill: none; }
.dwg .dimline { stroke: var(--line-brown); stroke-width: 0.6; fill: none; }
.dwg .lead { stroke: var(--ink-3); stroke-width: 0.6; fill: none; stroke-dasharray: 0; }
.dwg .hidden-edge { stroke: var(--ink-3); stroke-width: 0.6; fill: none; stroke-dasharray: 4 3; }
.dwg .centre { stroke: var(--neutral-blue); stroke-width: 0.6; fill: none; stroke-dasharray: 9 3 2 3; }
.dwg .fillsoft { fill: var(--sheet-2); stroke: var(--ink); stroke-width: var(--stroke); }
.dwg .hot { stroke: var(--pe-green); stroke-width: 1.6; fill: none; }

/* A drawing keeps its annotation legible: below the fold-out width it pans. */
.dwgbox { overflow-x: auto; overscroll-behavior-x: contain; }
.dwgbox:focus-visible { outline: 2px solid var(--neutral-blue); outline-offset: 3px; }
@media (max-width: 760px) {
  .dwgbox .dwg { min-width: 640px; }
}

figure { display: grid; gap: 0.6rem; }
figcaption { font-family: var(--mono); font-size: 0.66rem; color: var(--ink-3); line-height: 1.5; }

/* The one authored moment: the hero drawing draws itself, once. */
@media (prefers-reduced-motion: no-preference) {
  .dwg--hero .body,
  .dwg--hero .thin,
  .dwg--hero .hot,
  .dwg--hero .dimline,
  .dwg--hero .lead,
  .dwg--hero .hidden-edge,
  .dwg--hero .centre {
    stroke-dasharray: var(--len, 1200);
    stroke-dashoffset: var(--len, 1200);
    animation: draw 1.15s var(--ease-out) forwards;
    animation-delay: calc(var(--i, 0) * 32ms);
  }
  .dwg--hero .hidden-edge { animation-name: draw-dashed; }
  .dwg--hero .centre { animation-name: draw-centre; }
  .dwg--hero text,
  .dwg--hero .fillsoft {
    opacity: 0;
    animation: ink 520ms var(--ease-out) forwards;
    animation-delay: calc(820ms + var(--i, 0) * 26ms);
  }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes draw-dashed { to { stroke-dashoffset: 0; stroke-dasharray: 4 3; } }
  @keyframes draw-centre { to { stroke-dashoffset: 0; stroke-dasharray: 9 3 2 3; } }
  @keyframes ink { to { opacity: 1; } }
}

/* ---------- Notes ---------- */
.notes { display: grid; gap: 0.9rem; counter-reset: n; }
.notes > li {
  list-style: none;
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  gap: 0.4rem;
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 74ch;
}
.notes > li::before {
  counter-increment: n;
  content: counter(n, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--ink-3);
  padding-top: 0.32em;
}
.notes strong { color: var(--ink); font-weight: 620; }

/* Spacing: a heading belongs to what follows it, so it sits closer to its own
   content than to the block above. Grid gap alone makes those two equal. */
.sec > h2:not(:first-child),
.sec > h3:not(:first-child) { margin-top: clamp(0.75rem, 2vw, 1.75rem); }
.sec > h2 + *, .sec > h3 + * { margin-top: calc(-1 * clamp(0.1rem, 0.4vw, 0.35rem)); }

.skillset { display: grid; gap: 0.8rem; align-content: start; }

.prose { max-width: 70ch; display: grid; gap: 1em; }
.prose p { color: var(--ink-2); font-size: 1rem; line-height: 1.68; }
.prose strong { color: var(--ink); font-weight: 620; }
.prose a { color: var(--neutral-blue); border-bottom: 1px solid currentColor; text-underline-offset: 3px; }
.prose a:hover { color: var(--blue-lift); }

.lead-in {
  font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 58ch;
  letter-spacing: -0.012em;
}

/* ---------- Tables (measurement) ---------- */
.tbl { overflow-x: auto; border: 1px solid var(--rule-firm); }
table { width: 100%; border-collapse: collapse; font-size: 0.86rem; min-width: 420px; }
caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--ink-2);
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--rule-firm);
  background: var(--sheet-2);
}
th, td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th {
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ink-3);
  white-space: nowrap;
}
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 580; }
td.v {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-weight: 500;
  white-space: nowrap;
}
td.n { color: var(--ink-2); }
tr[data-picked] { background: color-mix(in srgb, var(--pe-green) 9%, transparent); }
tr[data-picked] th { color: var(--pe-green); }
.met { color: var(--pe-green); font-weight: 600; }
.part { color: var(--line-brown); font-weight: 600; }

/* ---------- Index of sheets ---------- */
.index { display: grid; }
.index a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 0.9rem;
  padding: 0.95rem 0.25rem;
  border-bottom: 1px solid var(--rule);
  transition: background-color 130ms var(--ease);
}
.index a:first-child { border-top: 1px solid var(--rule); }
.index a:hover { background: var(--sheet-2); }
.index a:hover .index__t { color: var(--neutral-blue); }
.index__n { font-family: var(--mono); font-size: 0.66rem; font-weight: 600; color: var(--ink-3); }
.index__t { font-size: 1.02rem; font-weight: 580; letter-spacing: -0.014em; min-width: 0; }
.index__t span { display: block; font-size: 0.82rem; font-weight: 420; color: var(--ink-2); letter-spacing: 0; margin-top: 0.15rem; }
.index__m { font-family: var(--mono); font-size: 0.62rem; color: var(--ink-3); white-space: nowrap; text-align: right; }

/* ---------- Actions ---------- */
.act {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: var(--sheet);
  transition: background-color 130ms var(--ease), color 130ms var(--ease),
              border-color 130ms var(--ease);
}
.act:hover { background: var(--ink); color: var(--sheet); }
.act:active { transform: translateY(0.5px); }
.act svg { width: 13px; height: 13px; }

/* The signature: a protective-earth stripe marking the primary action.
   The stripe is a marking, never a background for text: dark type on the green
   bands only reaches about 2.5:1. The button stays solid ink and wears the
   stripe along its bottom edge. */
.act--pe {
  position: relative;
  background: var(--ink);
  color: var(--sheet);
  border-color: var(--ink);
  padding-bottom: calc(0.72em + 4px);
}
.act--pe::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: repeating-linear-gradient(
    -56deg,
    var(--pe-green) 0 8px,
    var(--pe-yellow) 8px 16px
  );
}
.act--pe:hover { background: var(--ink-2); border-color: var(--ink-2); color: var(--sheet); }

.quiet {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--rule-firm);
  padding-bottom: 1px;
  transition: color 130ms var(--ease), border-color 130ms var(--ease);
}
.quiet:hover { color: var(--neutral-blue); border-bottom-color: currentColor; }
.quiet svg { width: 12px; height: 12px; }

/* ---------- Revision / caveat ---------- */
.rev {
  border: 1px solid var(--rule-firm);
  background: var(--sheet-2);
  padding: 0.85rem 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 76ch;
}
.rev b {
  display: block;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.3rem;
}

/* ---------- Photo slot ---------- */
.slot {
  display: grid;
  place-items: center;
  min-height: 150px;
  border: 1px dashed var(--rule-firm);
  background: var(--sheet-2);
  font-family: var(--mono);
  font-size: 0.62rem;
  color: var(--ink-3);
  text-align: center;
  padding: 1.5rem 1rem;
  line-height: 1.6;
}
.shot { border: 1px solid var(--rule-firm); width: 100%; height: auto; }

/* Hardware images sit beside each other once there is room for both. */
.shots { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); margin-top: clamp(1.25rem, 3vw, 2rem); }
@media (min-width: 760px) { .shots { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.shots figure { gap: 0.55rem; }

/* ---------- Layout helpers ---------- */
.two { display: grid; gap: clamp(1.5rem, 4vw, 2.75rem); }
@media (min-width: 900px) { .two { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); align-items: start; } }

.row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; }
.sec { display: grid; gap: 1.25rem; }
.sec + .sec { margin-top: clamp(2.5rem, 6vw, 4.5rem); }
.sec > h2 { max-width: 24ch; }
hr.hair { border: 0; border-top: 1px solid var(--rule); }

/* ---------- Foot ---------- */
.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.66rem;
  color: var(--ink-3);
}
.foot a { border-bottom: 1px solid var(--rule); }
.foot a:hover { color: var(--neutral-blue); border-bottom-color: currentColor; }

.skip {
  position: fixed; top: 6px; left: 50%;
  translate: -50% -200%;
  z-index: 90;
  background: var(--ink); color: var(--sheet);
  padding: 0.5rem 0.9rem;
  font-family: var(--mono); font-size: 0.7rem;
}
.skip:focus { translate: -50% 0; }

@media print {
  .rail, .skip { display: none; }
  body { background: #fff; }
  .sheet { box-shadow: none; border-color: #000; }
}
