@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-Regular.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-Medium.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/IBMPlexSans-SemiBold.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, 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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/IBMPlexSansHebrew-Regular.woff2") format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/IBMPlexSansHebrew-Medium.woff2") format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/IBMPlexSansHebrew-SemiBold.woff2") format("woff2");
  unicode-range: U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-500.woff2") format("woff2");
}

:root {
  --ice: #d7f4f8;
  --navy: #071426;
  --silver: #c5cdd6;
  --paper: #ffffff;
  --panel: 340px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--ice);
}

body {
  margin: 0;
  background: var(--ice);
  color: var(--navy);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.55;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

.plant :focus-visible,
.banner :focus-visible {
  outline-color: var(--ice);
}

::selection {
  background: var(--ice);
  color: var(--navy);
}

.skip {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  z-index: 80;
  transform: translateY(-160%);
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--silver);
  padding: 0.45rem 0.7rem;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.plant-switch {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 861px) {
  .plant-switch {
    display: none;
  }
}

.plant {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: var(--panel);
  z-index: 20;
  background: var(--navy);
  color: var(--ice);
  overflow: auto;
}

.plant-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.25rem 0.4rem;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  color: var(--ice);
  text-decoration: none;
}

.brand-kicker,
.ex-tag,
.plant-hours,
.kicker,
figcaption,
.btn,
.mono,
caption,
.readouts dt,
.plant nav a span,
.field span,
.banner .mono {
  font-family: "IBM Plex Mono", monospace;
}

.brand-kicker {
  color: var(--silver);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-name {
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.brand-sub {
  color: var(--silver);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.plant-toggle {
  display: none;
}

.plant-body {
  display: block;
}

.ex-tag {
  margin: 1.1rem 1.25rem 0.7rem;
  color: var(--silver);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.readouts {
  margin: 0;
  padding: 0 1.25rem;
}

.readouts div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: baseline;
  border-bottom: 1px solid var(--silver);
  padding: 0.45rem 0;
}

.readouts dt {
  margin: 0;
  color: var(--silver);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.readouts dd {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 500;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  color: var(--ice);
}

.hairline {
  height: 1px;
  margin: 1.15rem 1.25rem 0.35rem;
  background: var(--ice);
}

.plant nav {
  display: flex;
  flex-direction: column;
}

.plant nav a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.78rem 1.25rem;
  color: var(--ice);
  text-decoration: none;
  border-bottom: 1px solid var(--silver);
}

.plant nav a span {
  color: var(--silver);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.plant nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--ice);
}

.plant-hours {
  margin: 1.1rem 1.25rem 1.5rem;
  color: var(--silver);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.plant-hours a {
  color: var(--ice);
}

.sheet {
  margin-left: var(--panel);
  min-height: 100vh;
  background: var(--ice);
}

html.has-banner .sheet {
  padding-bottom: 9.5rem;
}

main {
  padding: 2.8rem 3.2rem 1.5rem;
  max-width: 74rem;
}

main ul {
  margin: 0.6rem 0 1rem;
  padding-left: 1.15rem;
}

main li {
  margin: 0.28rem 0;
}

h1 {
  margin: 0.35rem 0 1rem;
  max-width: 13em;
  font-weight: 600;
  font-size: clamp(2.35rem, 4.6vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 0.98;
}

h2 {
  margin: 2.6rem 0 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--silver);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h3 {
  margin: 1.4rem 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  margin: 0.7rem 0;
}

.kicker {
  margin: 0;
  color: var(--navy);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.lede {
  max-width: 40rem;
  font-size: 1.15rem;
  line-height: 1.5;
}

a {
  color: var(--navy);
}

main a {
  text-underline-offset: 0.16em;
}

.note {
  color: var(--navy);
  font-size: 0.95rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 1.25rem;
  align-items: stretch;
  background: var(--paper);
  border: 1px solid var(--silver);
  padding: 1rem;
}

.schematic {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  border-right: 1px solid var(--silver);
  padding-right: 1rem;
}

.schematic svg {
  width: 100%;
  height: auto;
  display: block;
}

.schematic p {
  margin: 0.6rem 0 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.table-wrap {
  overflow-x: auto;
  background: var(--paper);
  border: 1px solid var(--silver);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  font-size: 0.98rem;
}

.spec-grid .table-wrap,
.spec-grid table.data {
  border: 0;
  background: transparent;
}

caption {
  caption-side: top;
  text-align: left;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--silver);
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 0.72rem 0.8rem;
  border-bottom: 1px solid var(--silver);
}

th {
  font-weight: 500;
}

tbody th[scope="row"] {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

td.num,
th.num {
  font-family: "IBM Plex Mono", monospace;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

tbody tr {
  background: var(--paper);
  transition: background-color 160ms linear;
}

tbody tr:hover,
tbody tr:focus-within {
  background: var(--ice);
}

figure {
  margin: 2rem 0;
}

figure img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--paper);
  border: 1px solid var(--silver);
}

figure.portrait {
  max-width: 26rem;
}

figcaption {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--silver);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.callout {
  background: var(--paper);
  border: 1px solid var(--silver);
  border-left: 3px solid var(--navy);
  padding: 0.9rem 1rem;
  margin: 1.4rem 0;
}

.callout p:first-child {
  margin-top: 0;
}

.callout .mono {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  align-items: center;
  margin: 1.4rem 0;
}

.btn,
button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--navy);
  color: var(--ice);
  border: 1px solid var(--navy);
  padding: 0.72rem 0.95rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.btn-line,
.banner .btn-line {
  background: transparent;
  color: var(--ice);
  border-color: var(--silver);
}

.sheet .btn-line {
  background: var(--paper);
  color: var(--navy);
  border-color: var(--navy);
}

.book {
  display: grid;
  gap: 0.9rem;
  max-width: 40rem;
  margin-top: 1rem;
}

.field {
  display: grid;
  gap: 0.3rem;
}

.field span,
.field legend {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

fieldset.field {
  border: 0;
  margin: 0;
  padding: 0;
}

input,
select,
textarea {
  width: 100%;
  background: var(--paper);
  color: var(--navy);
  border: 1px solid var(--silver);
  border-radius: 0;
  padding: 0.65rem 0.7rem;
  font: inherit;
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
}

.check input {
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.2rem;
}

.form-error {
  background: var(--paper);
  border: 1px solid var(--silver);
  border-left: 3px solid var(--navy);
  padding: 0.7rem 0.8rem;
  margin: 0;
}

.result {
  background: var(--paper);
  border: 1px solid var(--silver);
  padding: 1rem;
  margin-top: 1rem;
}

.result pre {
  white-space: pre-wrap;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.85rem;
  margin: 0.6rem 0;
}

.colophon {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 0 3.2rem 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--silver);
  max-width: 74rem;
  font-size: 0.92rem;
}

.foot-name {
  font-weight: 600;
  margin: 0;
}

.foot-he {
  margin: 0.15rem 0 0.4rem;
  font-weight: 500;
}

.foot-legal {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.banner {
  position: fixed;
  z-index: 40;
  left: var(--panel);
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  gap: 1.25rem;
  align-items: center;
  background: var(--navy);
  color: var(--ice);
  border-top: 1px solid var(--ice);
  padding: 0.95rem 1.25rem;
}

html.choice-set .banner {
  display: none;
}

.banner p {
  margin: 0.2rem 0;
}

.banner a {
  color: var(--ice);
}

#cookie-title {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.banner .btn {
  background: var(--ice);
  color: var(--navy);
  border-color: var(--ice);
}

.banner .btn-line {
  background: transparent;
  color: var(--ice);
  border-color: var(--silver);
}

.banner[hidden],
.form-error[hidden],
.result[hidden],
.note[hidden] {
  display: none;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.flick.play {
  animation: readout-flicker 1.15s steps(2, end) 1;
}

@keyframes readout-flicker {
  0% { opacity: 1; }
  12% { opacity: 0.15; }
  24% { opacity: 1; }
  36% { opacity: 0.35; }
  48% { opacity: 1; }
  62% { opacity: 0.7; }
  76%, 100% { opacity: 1; }
}

@media (max-width: 860px) {
  .plant {
    position: sticky;
    top: 0;
    width: 100%;
    height: auto;
    bottom: auto;
    overflow: visible;
  }

  .plant-bar {
    align-items: center;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid var(--ice);
  }

  .plant-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--silver);
    color: var(--ice);
    padding: 0.45rem 0.65rem;
    font-family: "IBM Plex Mono", monospace;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .plant-switch:focus-visible + .plant-bar .plant-toggle {
    outline: 2px solid var(--ice);
    outline-offset: 3px;
  }

  .plant-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 280ms ease;
  }

  .plant-switch:checked ~ .plant-body {
    grid-template-rows: 1fr;
  }

  .plant-inner {
    min-height: 0;
    overflow: hidden;
  }

  .sheet,
  html.has-banner .sheet {
    margin-left: 0;
  }

  main,
  .colophon {
    margin-left: 0;
    margin-right: 0;
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }

  main {
    padding-top: 1.5rem;
  }

  .spec-grid,
  .schematic {
    display: block;
    border-right: 0;
    padding-right: 0;
  }

  .schematic {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--silver);
  }

  .banner {
    left: 0;
    flex-direction: column;
    align-items: stretch;
  }

  tbody th[scope="row"] {
    white-space: normal;
  }

  table.wide {
    min-width: 46rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flick.play {
    animation: none;
  }

  .plant-body,
  tbody tr {
    transition: none;
  }
}
