:root {
  --ink: #121212;
  --paper: #fffdf8;
  --wash: #f3eee4;
  --stamp: #c8102e;
  --mark: #e59b1a;
  --muted: #4a4a4a;
  --max: 72rem;
}

* {
  box-sizing: border-box;
  border-radius: 0 !important;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

::selection {
  background: var(--mark);
  color: var(--ink);
}

button,
input {
  border-radius: 0;
  appearance: none;
  font: inherit;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.display {
  font-family: "Archivo Narrow", "Arial Narrow", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
}

/* Header */

.site-header {
  border-bottom: 2px solid var(--ink);
}

.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-right: 2px solid var(--ink);
  text-decoration: none;
}

.mark {
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  background: var(--stamp);
  color: var(--paper);
  font-family: "Archivo Narrow", "Arial Narrow", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.brand-name {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-tag {
  display: block;
  margin-top: 0.2rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.nav {
  display: flex;
}

.nav a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.15rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.nav a:hover {
  background: var(--wash);
}

.nav a.current {
  background: var(--ink);
  color: var(--paper);
  border-left: 2px solid var(--ink);
}

.nav a.current:hover {
  background: var(--stamp);
}

/* Home */

.sheet {
  border-bottom: 2px solid var(--ink);
  background-image:
    linear-gradient(to right, rgba(18, 18, 18, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(18, 18, 18, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.hero {
  display: grid;
}

.hero-copy,
.hero-list {
  padding: 2.5rem 1rem;
}

.hero-copy {
  border-bottom: 2px solid var(--ink);
}

.notice {
  display: inline-block;
  border: 2px solid var(--ink);
  background: var(--mark);
  padding: 0.25rem 0.5rem;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.hero h1 {
  margin-top: 1.5rem;
  font-size: clamp(2.8rem, 8vw, 4.5rem);
  line-height: 0.95;
}

.hero h1 .red {
  color: var(--stamp);
}

.lede {
  max-width: 28rem;
  margin-top: 1.5rem;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.form {
  display: flex;
  flex-direction: column;
  max-width: 36rem;
  margin-top: 2rem;
}

.form input {
  height: 3rem;
  border: 2px solid var(--ink);
  background: var(--paper);
  padding: 0 0.75rem;
  outline: none;
}

.form input:focus {
  background: var(--wash);
}

.form button {
  height: 3rem;
  border: 2px solid var(--ink);
  border-top: 0;
  background: var(--stamp);
  color: var(--paper);
  font-family: "Archivo Narrow", "Arial Narrow", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.form button:hover {
  background: var(--ink);
}

.form-ok {
  margin-top: 2rem;
  max-width: 36rem;
  border: 2px solid var(--ink);
  background: var(--wash);
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

.units-link {
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.units-link a {
  font-weight: 500;
  text-underline-offset: 3px;
}

.hero-list {
  background: var(--wash);
}

.list-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.5rem;
  margin-bottom: 0.25rem;
}

.list-head h2 {
  font-size: 1.5rem;
}

.list-head span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rate li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(18, 18, 18, 0.2);
}

.rate li:last-child {
  border-bottom: 0;
}

.num {
  font-family: "Archivo Narrow", "Arial Narrow", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--stamp);
}

.item {
  display: block;
  font-weight: 500;
}

.note {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
}

.draft-note {
  margin-top: 1.5rem;
  border: 2px dashed rgba(18, 18, 18, 0.4);
  padding: 0.75rem;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.facts {
  display: grid;
  border-bottom: 2px solid var(--ink);
}

.facts article {
  padding: 2rem 1rem;
  border-bottom: 2px solid var(--ink);
}

.facts article:last-child {
  border-bottom: 0;
}

.facts h2 {
  font-size: 1.25rem;
}

.facts p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Units page */

.page-head {
  border-bottom: 2px solid var(--ink);
  background: var(--wash);
}

.page-head .wrap {
  padding: 2rem 1rem;
}

.kicker {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.page-head h1 {
  margin-top: 0.5rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

.page-head p {
  max-width: 40rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
}

.units {
  padding: 2rem 1rem;
}

.table-wrap {
  overflow-x: auto;
  border: 2px solid var(--ink);
  margin-bottom: 2rem;
}

table {
  width: 100%;
  min-width: 880px;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
  background: var(--paper);
}

th,
td {
  border: 1px solid var(--ink);
  padding: 0.5rem 0.75rem;
  vertical-align: top;
}

thead th {
  background: var(--mark);
  font-weight: 600;
}

tbody th {
  font-weight: 600;
  text-align: left;
}

.mono {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
}

.map-link {
  color: #1a56db;
}

.cards {
  display: grid;
  border: 2px solid var(--ink);
}

.card {
  padding: 1.25rem;
  border-bottom: 2px solid var(--ink);
}

.card:nth-child(3),
.card:nth-child(4) {
  border-bottom: 0;
}

.card-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
}

.region {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--stamp);
}

.card h2 {
  margin-top: 0.25rem;
  font-size: 1.5rem;
}

.code {
  border: 2px solid var(--ink);
  background: var(--wash);
  padding: 0.15rem 0.45rem;
  font-size: 12px;
  font-weight: 700;
  height: fit-content;
}

.place {
  margin-top: 0.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.addr {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.fssai {
  margin-top: 0.75rem;
  font-size: 0.9rem;
}

.card a {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.9rem;
  text-underline-offset: 3px;
}

/* Footer */

.site-footer {
  border-top: 2px solid var(--ink);
  background: var(--wash);
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  font-size: 0.9rem;
}

.foot-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.foot-nav a {
  text-decoration: none;
}

.foot-nav a:hover {
  color: var(--stamp);
}

@media (min-width: 640px) {
  .brand,
  .hero-copy,
  .hero-list,
  .facts article,
  .page-head .wrap,
  .units,
  .site-footer .wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .form {
    flex-direction: row;
  }

  .form button {
    border-top: 2px solid var(--ink);
    border-left: 0;
    white-space: nowrap;
    padding: 0 1.25rem;
  }

  .site-footer .wrap {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .facts {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .facts article {
    border-bottom: 0;
    border-right: 2px solid var(--ink);
  }

  .facts article:last-child {
    border-right: 0;
  }

  .cards {
    grid-template-columns: 1fr 1fr;
  }

  .card:nth-child(odd) {
    border-right: 2px solid var(--ink);
  }

  .card:nth-child(1),
  .card:nth-child(2) {
    border-bottom: 2px solid var(--ink);
  }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .hero-copy {
    border-bottom: 0;
    border-right: 2px solid var(--ink);
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-list {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}
