:root {
  --ground: #F4EBDD;
  --text: #2A1711;
  --muted: #735F50;
  --line: #C9B79C;
  --accent: #7F956E;
  --paper: #F9F1E6;
  --max: 120rem;
  --measure: 72ch;
  --gutter: clamp(1rem, 3.8vw, 4rem);
  --display: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --body: "Avenir Next", Avenir, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
  background: var(--ground);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    repeating-linear-gradient(0deg, rgba(201, 183, 156, .18) 0 1px, transparent 1px 4rem),
    var(--ground);
}

img,
svg {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: .07em;
  text-underline-offset: .18em;
}

p,
h1,
h2,
h3 {
  overflow-wrap: anywhere;
}

p {
  margin: 0;
  max-width: var(--measure);
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
  margin: 0;
}

h2 {
  font-size: clamp(2rem, 5vw, 4.8rem);
}

h3 {
  font-size: clamp(1.22rem, 2.1vw, 1.65rem);
  letter-spacing: -.025em;
  line-height: 1.08;
}

button {
  font: inherit;
}

.er-skip {
  position: absolute;
  left: 1rem;
  top: .75rem;
  z-index: 20;
  transform: translateY(-180%);
  background: var(--text);
  color: var(--ground);
  padding: .7rem 1rem;
}

.er-skip:focus {
  transform: translateY(0);
}

.er-site-head {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(1rem, 2vw, 1.45rem) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.er-brand {
  display: inline-flex;
  align-items: center;
  gap: .85rem;
  min-width: 0;
  color: var(--text);
  text-decoration: none;
}

.er-brand-mark {
  color: var(--accent);
  width: 3rem;
  flex: 0 0 3rem;
}

.er-brand strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -.015em;
}

.er-brand small {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  max-width: 18rem;
}

.er-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(.75rem, 2.2vw, 1.65rem);
  flex-wrap: wrap;
}

.er-nav a,
.er-footer a,
.er-text-link {
  text-decoration: none;
  color: var(--muted);
  transition: color .22s ease, transform .22s ease;
}

.er-nav a {
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.er-nav a:hover,
.er-nav a[aria-current="page"],
.er-footer a:hover,
.er-text-link:hover {
  color: var(--text);
}

.er-text-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 600;
}

.er-text-link::after {
  content: "↗";
  color: var(--accent);
  transition: transform .22s ease, color .22s ease;
}

.er-text-link:hover {
  transform: translateX(.28rem);
}

.er-text-link:hover::after {
  transform: translate(.12rem, -.12rem);
  color: var(--text);
}

.er-masthead,
.er-page-head,
.er-contact-hero,
.er-owner {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(4rem, 10vw, 9.5rem) var(--gutter) clamp(2.5rem, 7vw, 7rem);
  display: grid;
  grid-template-columns: minmax(8rem, 14rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 5rem);
}

.er-masthead-home {
  grid-template-columns: minmax(8rem, 13rem) minmax(0, .96fr) minmax(16rem, .62fr);
  align-items: center;
}

.er-index-col {
  color: var(--muted);
  font-size: .86rem;
  min-width: 0;
}

.er-index-rule {
  display: block;
  width: 100%;
  height: 1px;
  margin: 1rem 0;
  background: var(--line);
}

.er-kicker {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  max-width: none;
}

.er-display {
  font-size: clamp(3.55rem, 11vw, 7.2rem);
  max-width: 10.5ch;
  margin-top: .55rem;
}

.er-page-head .er-display,
.er-contact-hero .er-display {
  max-width: 11.5ch;
}

.er-masthead-main,
.er-reading,
.er-contact-panel {
  min-width: 0;
}

.er-plain-lines {
  margin-top: clamp(1.4rem, 3vw, 2.2rem);
  display: grid;
  gap: .7rem;
  font-size: clamp(1.05rem, 1.55vw, 1.22rem);
  line-height: 1.55;
  color: var(--text);
}

.er-hero-actions,
.er-link-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  align-items: center;
  margin-top: 2rem;
}

.er-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  padding: .82rem 1.08rem .86rem;
  border: 1px solid var(--text);
  color: var(--ground);
  background: var(--text);
  text-decoration: none;
  font-weight: 600;
  line-height: 1;
  transition: color .22s ease, border-color .22s ease, transform .22s ease;
}

.er-button:hover {
  color: #fff8ed;
  border-color: var(--accent);
  transform: translateX(.22rem);
}

.er-hero-diagram {
  color: var(--line);
  min-width: 0;
  align-self: stretch;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.er-hero-diagram svg {
  color: var(--text);
  opacity: .82;
  transform-origin: 50% 50%;
}

.er-js .er-hero-diagram svg {
  animation: er-drift 12s ease-in-out both;
}

.er-availability {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.er-availability > div {
  min-width: 0;
  padding: clamp(1rem, 2vw, 1.4rem) clamp(.75rem, 1.6vw, 1.15rem);
  border-right: 1px solid var(--line);
}

.er-availability > div:first-child {
  border-left: 1px solid var(--line);
}

.er-availability strong {
  display: block;
  margin-top: .42rem;
  font-size: clamp(1.05rem, 1.7vw, 1.65rem);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.er-section {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter) 0;
}

.er-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.35rem, 3vw, 2.5rem);
  padding-bottom: 1.05rem;
  border-bottom: 1px solid var(--line);
}

.er-section-head h2 {
  margin-top: .35rem;
}

.er-rate-note {
  margin: -1rem 0 1.2rem;
  color: var(--muted);
  font-size: .86rem;
}

.er-stock-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.er-stock-card {
  position: relative;
  min-width: 0;
  min-height: 25rem;
  padding: 1.15rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 1.1rem 1.1rem, transparent 0 .26rem, var(--line) .27rem .31rem, transparent .32rem),
    repeating-linear-gradient(0deg, transparent 0 1.95rem, rgba(201, 183, 156, .45) 1.95rem calc(1.95rem + 1px)),
    var(--ground);
  display: flex;
  flex-direction: column;
  transition: color .22s ease;
}

.er-stock-card::before,
.er-stock-card::after {
  content: "";
  position: absolute;
  width: 1.05rem;
  height: 1.05rem;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  opacity: .9;
}

.er-stock-card::before {
  left: .65rem;
  bottom: .65rem;
}

.er-stock-card::after {
  right: .65rem;
  top: .65rem;
  transform: rotate(180deg);
}

.er-stock-card:hover h2,
.er-stock-card:hover h3,
.er-stock-card:hover p,
.er-stock-card:hover dd {
  color: var(--text);
}

.er-stock-card:hover {
  color: var(--text);
}

.er-tab {
  position: absolute;
  top: -.01rem;
  right: 1rem;
  background: var(--accent);
  color: var(--ground);
  padding: .42rem .6rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 88% 100%, 0 100%);
}

.er-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.er-rate {
  border: 1px solid var(--line);
  padding: .34rem .45rem;
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
  transform: rotate(-1.5deg);
}

.er-stock-card h2,
.er-stock-card h3 {
  margin-bottom: .8rem;
  max-width: 12ch;
}

.er-stock-card p {
  color: var(--muted);
}

.er-stock-card dl {
  margin: auto 0 0;
  padding-top: 1.3rem;
  display: grid;
  gap: .72rem;
}

.er-stock-card dl div {
  display: grid;
  grid-template-columns: 5.4rem minmax(0, 1fr);
  gap: .7rem;
  padding-top: .45rem;
  border-top: 1px solid rgba(201, 183, 156, .75);
}

.er-stock-card dt {
  font-size: .72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .14em;
}

.er-stock-card dd {
  margin: 0;
  color: var(--text);
  font-size: .86rem;
  min-width: 0;
}

.er-owner {
  align-items: start;
}

.er-owner .er-reading {
  max-width: 68rem;
  padding-top: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}

.er-owner p:not(.er-signoff) {
  margin-top: 1.4rem;
  font-size: clamp(1.05rem, 1.8vw, 1.38rem);
  line-height: 1.55;
  color: var(--text);
}

.er-signoff {
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.er-process {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(3.5rem, 7vw, 7rem) var(--gutter) 0;
}

.er-process ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.er-process li {
  min-width: 0;
  padding: 1.15rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.er-process span {
  display: block;
  color: var(--accent);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.er-process strong {
  display: block;
  font-size: 1.22rem;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.er-process p {
  margin-top: .6rem;
  color: var(--muted);
  font-size: .86rem;
}

.er-note {
  width: min(78rem, calc(100% - var(--gutter) * 2));
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: var(--paper);
}

.er-note blockquote {
  margin: .9rem 0 1.5rem;
  font-size: clamp(1.22rem, 2.2vw, 2rem);
  line-height: 1.25;
  letter-spacing: -.03em;
  max-width: 58rem;
}

.er-page-head .er-reading > p:not(.er-kicker),
.er-reading > p:not(.er-kicker) {
  margin-top: 1rem;
  font-size: clamp(1.05rem, 1.35vw, 1.22rem);
  line-height: 1.58;
}

.er-filter-panel {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 1rem;
}

.er-filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem .7rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.er-filter-group .er-kicker {
  flex: 0 0 8.5rem;
}

.er-chip {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  padding: .58rem .74rem .62rem;
  cursor: pointer;
  line-height: 1;
  font-size: .86rem;
  font-weight: 600;
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.er-chip:hover {
  color: var(--text);
  border-color: var(--accent);
  transform: translateX(.18rem);
}

.er-chip.is-active {
  border-color: var(--text);
  color: var(--text);
}

.er-stock-card.is-filtered-out {
  display: none;
}

.er-empty {
  margin-top: 1rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.er-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.er-table {
  width: 100%;
  min-width: 45rem;
  border-collapse: collapse;
  background: var(--ground);
}

.er-table th,
.er-table td {
  text-align: left;
  vertical-align: top;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.er-table th {
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}

.er-table td {
  color: var(--text);
}

.er-price-grid,
.er-fit-grid,
.er-contact-grid,
.er-contact-lists {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.er-price-card,
.er-fit-card,
.er-info-card {
  min-width: 0;
  padding: 1.15rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}

.er-price-card h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 1.5rem 0 1rem;
}

.er-price-card p,
.er-fit-card p,
.er-info-card p {
  color: var(--muted);
}

.er-price-card span {
  margin-top: auto;
  padding-top: 2rem;
  color: var(--text);
  font-size: .86rem;
  font-weight: 600;
}

.er-two-col {
  display: grid;
  grid-template-columns: minmax(12rem, 22rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 5rem);
}

.er-two-col .er-section-head {
  display: block;
  margin: 0;
  align-self: start;
}

.er-list-ledger {
  min-width: 0;
}

.er-list-ledger h3 {
  margin-bottom: 1rem;
}

.er-list-ledger ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.er-list-ledger li {
  display: grid;
  grid-template-columns: minmax(7rem, 12rem) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  transition: transform .22s ease, color .22s ease;
}

.er-list-ledger li:hover {
  transform: translateX(.35rem);
}

.er-list-ledger li:hover span {
  color: var(--text);
}

.er-list-ledger span {
  color: var(--accent);
  font-weight: 600;
}

.er-list-ledger p {
  color: var(--muted);
}

.er-redlines {
  columns: 2 22rem;
  column-gap: clamp(1.5rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}

.er-redlines p {
  break-inside: avoid;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  transition: transform .22s ease, color .22s ease;
}

.er-redlines p:hover {
  transform: translateX(.35rem);
  color: var(--text);
}

.er-link-band {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 8rem) var(--gutter) 0;
  border-top: 0;
}

.er-fit-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.er-fit-card {
  min-height: 17rem;
}

.er-fit-card h3 {
  margin: 1.5rem 0 .9rem;
}

.er-contact-hero {
  padding-bottom: clamp(3rem, 5vw, 5rem);
}

.er-contact-panel {
  padding: clamp(1.3rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 2.4rem, rgba(201, 183, 156, .35) 2.4rem calc(2.4rem + 1px)),
    var(--paper);
}

.er-email {
  display: inline-block;
  margin: clamp(1.2rem, 3vw, 2rem) 0 1rem;
  font-size: clamp(2rem, 6.4vw, 6.2rem);
  line-height: .95;
  letter-spacing: -.055em;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .22s ease, transform .22s ease;
}

.er-email:hover {
  color: var(--accent);
  transform: translateY(-.12rem);
}

.er-contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.er-info-card {
  min-height: 18rem;
}

.er-info-card h2 {
  font-size: clamp(1.65rem, 3vw, 3.2rem);
  margin: 1rem 0 1.2rem;
}

.er-contact-lists {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 0;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.er-footer {
  width: min(var(--max), 100%);
  margin: clamp(4rem, 8vw, 8rem) auto 0;
  padding: 1.25rem var(--gutter) 2rem;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  color: var(--muted);
  font-size: .86rem;
}

.er-footer strong {
  color: var(--text);
}

.er-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
}

.er-footer p {
  margin: 0;
}

.er-js .er-wipe {
  clip-path: inset(0 100% 0 0);
  animation: er-wipe 900ms cubic-bezier(.2, .8, .2, 1) 120ms forwards;
}

.er-js .er-reveal.er-hidden {
  transform: translateY(.75rem);
}

.er-js .er-reveal {
  transition: opacity 520ms ease, transform 520ms ease;
}

.er-js [data-stagger] {
  transition-delay: calc(var(--er-stagger, 0) * 70ms);
}

@keyframes er-wipe {
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes er-drift {
  0% {
    transform: scale(1.02) translate3d(-1.2%, .5%, 0);
  }
  100% {
    transform: scale(1.08) translate3d(1.4%, -1%, 0);
  }
}

@media (max-width: 1050px) {
  .er-masthead-home,
  .er-masthead,
  .er-page-head,
  .er-contact-hero,
  .er-owner {
    grid-template-columns: 1fr;
  }

  .er-index-col {
    max-width: 26rem;
  }

  .er-hero-diagram {
    max-width: 38rem;
  }

  .er-availability {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .er-stock-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .er-process ol,
  .er-price-grid,
  .er-fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .er-two-col {
    grid-template-columns: 1fr;
  }

  .er-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  :root {
    --gutter: 1rem;
  }

  .er-site-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .er-brand small {
    max-width: 14rem;
  }

  .er-nav {
    justify-content: flex-start;
  }

  .er-display {
    font-size: clamp(3rem, 18vw, 4.8rem);
  }

  .er-availability,
  .er-stock-grid,
  .er-process ol,
  .er-price-grid,
  .er-fit-grid,
  .er-contact-grid,
  .er-contact-lists {
    grid-template-columns: 1fr;
  }

  .er-section-head {
    display: block;
  }

  .er-section-head .er-text-link {
    margin-top: 1rem;
  }

  .er-stock-card {
    min-height: 23rem;
  }

  .er-stock-card dl div,
  .er-list-ledger li {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .er-filter-group .er-kicker {
    flex-basis: 100%;
  }

  .er-email {
    font-size: clamp(2.05rem, 12vw, 3.4rem);
  }

  .er-note {
    width: calc(100% - 2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }

  .er-js .er-reveal.er-hidden {
    opacity: 1;
    transform: none;
  }

  .er-js .er-wipe {
    clip-path: none;
  }
}