@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 460 560;
  font-display: swap;
  src: url("../fonts/fraunces.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 460 560;
  font-display: swap;
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
}

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 360 520;
  font-display: swap;
  src: url("../fonts/outfit.woff2") format("woff2");
}

:root {
  --paper: #f3eee6;
  --ink: #1c1915;
  --persimmon: #8f3016;
  --muted: #4e4942;
  --cap: #e6ded2;
  --line: rgba(28, 25, 21, 0.72);
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.4;
}

a {
  color: inherit;
}

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

.frame {
  width: min(980px, calc(100% - 4.5rem));
  margin-inline: auto;
  padding: 1.7rem 0 3rem;
}

.bar-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

h1 {
  margin: 1.35rem 0 0;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(2.15rem, 4vw, 3.15rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo {
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 0.92rem;
}

.host {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.7rem;
  border: 1px solid var(--line);
}

.door {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  color: inherit;
  text-decoration: none;
  background: var(--paper);
}

.door + .door {
  border-left: 1px solid var(--line);
}

.door:focus-visible {
  outline-offset: -4px;
}

.shot {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.shot iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 1180px;
  height: 1600px;
  border: 0;
  transform: scale(calc(100cqw / 1180px));
  transform-origin: top left;
  pointer-events: none;
  overflow: hidden;
  background: var(--paper);
}

.cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem 1.12rem;
  background: var(--cap);
}

.cap-copy {
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
  min-width: 0;
}

.cap-title {
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.cap-path {
  color: var(--muted);
  font-size: 0.95rem;
}

.cap-go {
  flex: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.door:hover .cap,
.door:focus-visible .cap {
  background: var(--ink);
  color: var(--paper);
}

.door:hover .cap-path,
.door:focus-visible .cap-path {
  color: rgba(243, 238, 230, 0.72);
}

.door:hover .cap-go,
.door:focus-visible .cap-go {
  color: var(--paper);
}

.stub {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 12vh 7vw 0;
}

.stub p {
  margin: 0;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 500;
}

.stub h1 {
  margin: 0.35rem 0 0;
  font-family: var(--serif);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-size: clamp(4.8rem, 16vw, 11rem);
}

@media (max-width: 680px) {
  .frame {
    width: min(440px, calc(100% - 2rem));
  }

  .doors {
    grid-template-columns: 1fr;
  }

  .door + .door {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cap {
    transition: none;
  }
}
