/* Hexagoned case study page: There is NO Store.
   Standalone: it does not load styles.css or the morph scripts. Black page, white
   frame, Figtree, square-edged panels. The store panels use the store's own palette
   and type (Anton, Work Sans, Instrument Serif), because they show its real design. */

@font-face { font-family: "Anton"; src: url("/work/thereisnostore/anton.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/work/thereisnostore/worksans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/work/thereisnostore/instrument-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --black: #000;
  --white: #fff;
  --muted: #5b5b5b;
  --font: "Figtree", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --t-ink: #16110f;
  --t-cream: #fff7f2;
  --t-blush: #f6e3da;
  --t-yellow: #ffd23f;
  --t-magenta: #c8106a;
  --t-display: "Anton", "Impact", sans-serif;
  --t-body: "Work Sans", system-ui, sans-serif;
  --t-serif: "Instrument Serif", Georgia, serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --measure: 38rem;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--black);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--black);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.6rem 1rem;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
}

.skip:focus {
  top: 1rem;
}

/* Top bar on the black page -------------------------------------------------- */

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1.25rem, 3vw, 2.5rem);
  color: var(--white);
}

.top-logo {
  display: block;
  width: clamp(7.5rem, 14vw, 10.5rem);
  aspect-ratio: 462.5 / 133.9;
  background: var(--white);
  -webkit-mask: url("/hexagoned-logo.svg") left center / contain no-repeat;
  mask: url("/hexagoned-logo.svg") left center / contain no-repeat;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2rem);
  font-size: 1rem;
  font-weight: 700;
}

.top-nav a {
  text-decoration: none;
}

.top-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.top-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.top-cta::before {
  content: "";
  width: 0.7rem;
  height: 1.2rem;
  background: currentColor;
  -webkit-mask: url("/cta-mark.svg") center / contain no-repeat;
  mask: url("/cta-mark.svg") center / contain no-repeat;
  transform: scaleX(-1);
}

/* The white frame ------------------------------------------------------------ */

.frame {
  margin: 0 clamp(0.75rem, 1.6vw, 1.5rem) clamp(0.75rem, 1.6vw, 1.5rem);
  padding: 0 var(--gutter);
  background: var(--white);
  border-radius: clamp(1.25rem, 2.4vw, 2rem);
}

.wrap {
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
}

.sec {
  padding: var(--section) 0 0;
}

.sec:last-child {
  padding-bottom: var(--section);
}

.label {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--muted);
}

.h2 {
  max-width: 17ch;
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lede {
  max-width: 30ch;
  margin: 1.25rem 0 0;
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.text {
  max-width: var(--measure);
  margin: 1rem 0 0;
  font-size: clamp(1.0625rem, 1.15vw, 1.1875rem);
  line-height: 1.62;
  color: #2b2b2b;
}

.text a {
  text-underline-offset: 0.2em;
}

/* Header of the case study --------------------------------------------------- */

.cs-head {
  padding-top: clamp(3rem, 7vw, 6rem);
}

.cs-title {
  margin: 0;
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.cs-head .lede {
  max-width: 24ch;
  margin-top: clamp(1.25rem, 3vw, 2.25rem);
  font-size: clamp(1.5rem, 2.8vw, 2.5rem);
}

.meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.75rem 2rem;
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
  padding: 1.5rem 0 0;
  border-top: 2px solid var(--black);
}

.meta dt {
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--muted);
}

.meta dd {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.4;
}

.visit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.visit:hover {
  border-bottom-width: 4px;
}

/* Two-column sections --------------------------------------------------------- */

.split {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 62rem) {
  .split {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
}

.points {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.points li {
  padding: 1.25rem 0;
  border-top: 2px solid var(--black);
}

.points li:last-child {
  border-bottom: 2px solid var(--black);
}

.points strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.points span {
  color: #2b2b2b;
}
.statement {
  max-width: 24ch;
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
/* Decisions ------------------------------------------------------------------- */

.decisions {
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: d;
}

.decision {
  display: grid;
  gap: 1.5rem;
  padding: clamp(2rem, 5vw, 3.5rem) 0;
  border-top: 2px solid var(--black);
  counter-increment: d;
}

.decision:last-child {
  border-bottom: 2px solid var(--black);
}

@media (min-width: 62rem) {
  .decision {
    grid-template-columns: 5fr 7fr;
    gap: clamp(2rem, 5vw, 4rem);
  }
}

.decision-title {
  margin: 0;
  font-size: clamp(1.625rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.decision-title::before {
  content: counter(d, decimal-leading-zero);
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.decision .text {
  margin-top: 0.9rem;
}

.spec {
  align-self: start;
  min-width: 0;
  font-family: var(--t-body);
}

/* Screenshots ----------------------------------------------------------------- */

.shot {
  margin: 0;
}

.shot img {
  width: 100%;
  border: 2px solid var(--black);
}

.shots {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

.shots--two {
  align-items: start;
}

@media (min-width: 48rem) {
  .shots--two {
    grid-template-columns: 1fr 1fr;
  }
}

.phones {
  display: flex;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: flex-start;
}

.phones .shot {
  flex: 1 1 0;
  min-width: 0;
  max-width: 17rem;
}

.phones .shot img {
  border-radius: 1.25rem;
}

/* Build facts ------------------------------------------------------------------ */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0;
  margin: clamp(2.5rem, 6vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--black);
}

.facts li {
  padding: 1.5rem 1.5rem 1.5rem 0;
  border-bottom: 2px solid var(--black);
}

.facts b {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.facts + .text {
  margin-top: 2rem;
}

.facts span {
  display: block;
  max-width: 20ch;
  margin-top: 0.5rem;
  font-weight: 500;
  color: #2b2b2b;
}

/* Close ------------------------------------------------------------------------ */

.close {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  align-items: center;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  background: var(--black);
  color: var(--white);
  font-size: 1.0625rem;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid var(--black);
  transition: background-color 0.14s ease, color 0.14s ease;
}

.btn:hover {
  background: var(--white);
  color: var(--black);
}

.close a:not(.btn) {
  font-weight: 800;
  text-underline-offset: 0.25em;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  padding: 0 clamp(1.25rem, 3vw, 2.5rem) 1.75rem;
  color: #cfcfcf;
  font-size: 0.9375rem;
}

.foot a {
  color: inherit;
}

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

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

.top-nav a {
  white-space: nowrap;
}

@media (max-width: 30rem) {
  .top-nav a:not(.top-cta) {
    display: none;
  }
}

/* Store panels ---------------------------------------------------------------- */

.tn {
  position: relative;
  container-type: inline-size;
  overflow: hidden;
  background: var(--white);
  color: var(--t-ink);
  font-family: var(--t-body);
}

.tn--dots {
  background: var(--t-cream) radial-gradient(#ead3c8 1.2px, transparent 1.4px) 0 0 / 14px 14px;
}

.tn-chip {
  display: inline-block;
  padding: 0.55em 0.8em;
  background: var(--t-yellow);
  color: var(--t-ink);
  font-size: max(10px, 1.15cqw);
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.tn-h {
  margin: 0;
  font-family: var(--t-display);
  font-weight: 400;
  line-height: 0.98;
  text-transform: uppercase;
}

.tn-h em {
  display: block;
  font-style: normal;
  color: var(--t-magenta);
}

.tn-btn {
  display: inline-block;
  padding: 0.8em 1.2em;
  border: 2px solid var(--t-ink);
  background: var(--white);
  color: var(--t-ink);
  font-size: max(11px, 1.3cqw);
  font-weight: 800;
  line-height: 1;
}

.tn-btn--hot {
  background: var(--t-magenta);
  color: var(--white);
  box-shadow: 4px 4px 0 var(--t-ink);
}

.tn-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  height: 5.4cqw;
  padding: 0 2cqw;
  overflow: hidden;
  background: var(--t-ink);
  color: var(--t-cream);
  font-family: var(--t-display);
  font-size: 2cqw;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.tn-marquee i {
  color: var(--t-yellow);
  font-style: normal;
}

/* poster */
.tn--poster {
  aspect-ratio: 16 / 9;
}

.tn-copy {
  position: absolute;
  left: 5cqw;
  top: 6.5cqw;
  width: 44cqw;
}

.tn--poster .tn-h {
  margin-top: 2.4cqw;
  font-size: 7.4cqw;
}

.tn-sub {
  max-width: 34cqw;
  margin: 2.4cqw 0 0;
  font-size: max(11px, 1.6cqw);
  line-height: 1.45;
}

.tn-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4cqw;
  margin-top: 2.8cqw;
}

.tn--poster {
  border: 2px solid var(--t-ink);
}

.tn-pols {
  position: absolute;
  left: 48cqw;
  top: 11cqw;
  width: 50cqw;
  height: auto;
  mix-blend-mode: multiply;
}

@media (max-width: 700px) {
  .tn--poster {
    aspect-ratio: 4 / 5;
  }

  .tn-copy {
    top: 6cqw;
    width: 90cqw;
  }

  .tn-chip {
    font-size: max(9px, 2.4cqw);
  }

  .tn--poster .tn-h {
    margin-top: 4cqw;
    font-size: 13.5cqw;
  }

  .tn-sub,
  .tn-btns {
    display: none;
  }

  .tn-pols {
    left: 0;
    top: 62cqw;
    width: 100cqw;
  }

  .tn-marquee {
    height: 8.5cqw;
    font-size: 3.6cqw;
    gap: 3cqw;
  }
}

/* idea */
.idea-name {
  display: inline-block;
  margin: 2rem 0 0;
  padding: 0.5rem 0.9rem;
  background: var(--t-yellow);
  color: var(--t-ink);
  font-family: var(--t-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.idea-side {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--t-yellow) radial-gradient(rgba(22, 17, 15, 0.18) 1.2px, transparent 1.4px) 0 0 / 14px 14px;
  border: 2px solid var(--t-ink);
  box-shadow: 8px 8px 0 var(--t-ink);
  color: var(--t-ink);
}

.quote {
  max-width: 14ch;
  margin: 0;
  font-family: var(--t-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.02;
  text-transform: uppercase;
}

.quote span {
  color: var(--t-magenta);
}

/* swatches */
.swatches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.swatch {
  display: flex;
  min-height: 9rem;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.3;
}

.swatch b {
  display: block;
  font-size: 1.125rem;
  font-weight: 800;
}

.swatch--ink { background: var(--t-ink); color: var(--t-cream); }
.swatch--cream { background: var(--t-cream); color: var(--t-ink); box-shadow: inset 0 0 0 2px var(--t-ink); }
.swatch--yellow { background: var(--t-yellow); color: var(--t-ink); }
.swatch--magenta { background: var(--t-magenta); color: var(--white); }

.btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
  background: var(--white);
  border: 2px solid var(--t-ink);
  border-top: 0;
}

.btnrow .tn-btn {
  font-size: 1rem;
}

/* type specimen */
.tn-type {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.tn-aa {
  margin: 0;
  font-family: var(--t-display);
  font-size: clamp(5.5rem, 13vw, 10rem);
  line-height: 0.9;
}

.tn-line {
  margin: 1rem 0 0;
  font-family: var(--t-display);
  font-size: clamp(1.75rem, 3.6vw, 3rem);
  line-height: 1;
  text-transform: uppercase;
}

.tn-line span {
  color: var(--t-magenta);
}

.tn-body {
  max-width: 34ch;
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.tn-serif {
  margin: 1rem 0 0;
  font-family: var(--t-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-style: italic;
  line-height: 1.1;
}

.tn-names {
  margin: 1.25rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 700;
}

/* headline demo */
.heads {
  position: relative;
  aspect-ratio: 4 / 3.1;
}

.heads-in {
  position: absolute;
  left: 6cqw;
  right: 6cqw;
  top: 7cqw;
  transition: opacity 0.25s ease;
}

.heads.is-out .heads-in {
  opacity: 0;
}

.heads .tn-chip {
  font-size: max(10px, 2.1cqw);
}

.heads .tn-h {
  margin-top: 4cqw;
  font-size: 11.5cqw;
}

.heads .tn-btns {
  margin-top: 4.5cqw;
}

.heads .tn-btn {
  font-size: max(12px, 2.4cqw);
}

.heads-dots {
  position: absolute;
  left: 6cqw;
  bottom: 5cqw;
  display: flex;
  gap: 1.6cqw;
  margin: 0;
  padding: 0;
  list-style: none;
}

.heads-dots button {
  display: block;
  width: 9cqw;
  height: 2.2cqw;
  min-height: 10px;
  padding: 0;
  border: 2px solid var(--t-ink);
  background: var(--white);
  cursor: pointer;
}

.heads-dots button[aria-current="true"] {
  background: var(--t-ink);
}

.heads-note {
  position: absolute;
  right: 6cqw;
  bottom: 4.2cqw;
  margin: 0;
  font-family: var(--t-serif);
  font-size: max(13px, 2.7cqw);
  font-style: italic;
}

/* voice cards */
.pair3 {
  display: grid;
  margin-top: clamp(2rem, 5vw, 3rem);
}

@media (min-width: 48rem) {
  .pair3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.vcard {
  display: flex;
  min-height: 14rem;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(1.25rem, 3vw, 2rem);
  font-family: var(--t-body);
}

.vcard-tag {
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.vcard-line {
  margin: 2rem 0 0;
  font-family: var(--t-display);
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.vcard--hot { background: var(--t-magenta); color: var(--white); }
.vcard--yellow { background: var(--t-yellow); color: var(--t-ink); }
.vcard--ink { background: var(--t-ink); color: var(--t-cream); }
.vcard--ink .vcard-tag { color: var(--t-yellow); }

.signoff {
  max-width: 32ch;
  margin: clamp(2rem, 5vw, 3rem) 0 0;
  padding-left: 1.25rem;
  border-left: 4px solid var(--t-magenta);
  font-family: var(--t-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-style: italic;
  line-height: 1.15;
}

.signoff small {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-style: normal;
  color: var(--muted);
}

.shots--three {
  align-items: start;
}

@media (min-width: 48rem) {
  .shots--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.cs-title {
  font-size: clamp(2.75rem, 8vw, 7.5rem);
}
.stage {
  margin: clamp(2.5rem, 6vw, 4.5rem) 0 0;
}

.stage figcaption,
.shot figcaption,
.cap {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--muted);
}

.heads,
.tn-type {
  border: 2px solid var(--t-ink);
}
