:root {
  color-scheme: light;
  font: 100%/1.4 Arial, sans-serif;
  background: #202b29;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
.edge-site {
  --rail: clamp(3rem, 10vw, 7rem);
  display: flex;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  isolation: isolate;
}
.edge-page {
  flex: 0 0 var(--rail);
  min-width: 0;
  position: relative;
  overflow-x: clip;
  transition: flex-basis 400ms cubic-bezier(.26,.77,.22,1);
}
.edge-page.is-open { flex-basis: calc(100% - var(--rail) * 2); }
.edge-about { background: #ed6648; color: #211e1a; }
.edge-work { background: #202b29; color: #f2eee3; }
.edge-contact { background: #c7dfd3; color: #1b2a23; }
.edge-site a { color: inherit; }
.edge-heading { margin: 0; font-weight: 600; }
.edge-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font: 600 clamp(2rem,4.4vw,3.5rem)/1 "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  letter-spacing: -.025em;
}
.edge-page:not(.is-open) .edge-tab {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.edge-page.is-open {
  --inset: clamp(1rem,5vw,4.5rem);
  padding: clamp(1.5rem,6vh,5rem) var(--inset) 2.8rem;
}
.is-open .edge-tab {
  display: inline-flex;
  min-height: 2.75rem;
  font-size: clamp(4rem,13vw,10.5rem);
  letter-spacing: -.04em;
  line-height: .93;
}
.edge-copy {
  margin-top: clamp(1rem,3.5vh,2.4rem);
  padding-top: clamp(.85rem,2.4vh,1.8rem);
  border-top: 1px solid currentColor;
  font-size: clamp(1rem,2.3vw,1.5rem);
  line-height: 1.4;
  letter-spacing: -.018em;
  overflow-wrap: break-word;
}
.edge-copy[hidden] { display: none; }
.edge-copy p { max-width: 45ch; margin: 0 0 1em; }
.edge-copy p:last-child { margin-bottom: 0; }
.edge-copy p:first-child {
  max-width: 36ch;
  font-size: 1.24em;
  line-height: 1.2;
  letter-spacing: -.03em;
}
.edge-copy a { text-underline-offset: .15em; text-decoration-thickness: 1px; }
.edge-contact .edge-copy p { font-size: inherit; }
.edge-contact .edge-copy a { display: inline-block; min-height: 2.75rem; }
.edge-contact .email-reveal {
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .15em;
  cursor: pointer;
}
.edge-contact .edge-copy a[href^="mailto:"] { max-width: 100%; overflow-wrap: anywhere; }
.edge-site a:focus-visible,
.edge-site .email-reveal:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.edge-page:not(.is-open) .edge-tab:focus-visible { outline-offset: -4px; }
@media (max-width: 430px) {
  .edge-site { --rail: 2.75rem; }
  .edge-page.is-open { --inset: 1rem; }
  .is-open .edge-tab { font-size: 3.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .edge-page { transition: none; }
}
