/* tape.games studio site. One page, no script. The look comes from the design canvas
   (direction A, "Marquee"): near-black ground, the logo's yellow as the one accent,
   Big Shoulders Display for headings, Barlow for body text. */

/* Fonts are served from this site, so the page makes no third-party request.
   Both families are under the SIL Open Font License (fonts/OFL-*.txt). */
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/big-shoulders-display-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Big Shoulders Display';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(fonts/big-shoulders-display-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/barlow-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/barlow-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/barlow-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --ground: #100E0B;
  --text: #EFE8DA;
  --muted: #BDB4A3;
  --accent: #FBC42D;
  --red: #D8221C;
  --rule: rgba(239, 232, 218, 0.16);
  --gutter: clamp(20px, 5vw, 72px);
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  -webkit-text-size-adjust: 100%;
}

img { max-width: 100%; }
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
h1, h2, h3, p { margin: 0; }

/* Header */
.site-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 28px var(--gutter);
  border-bottom: 1px solid var(--rule);
}
.site-header .mark { display: flex; align-items: center; }
.site-header .mark img { width: 92px; height: auto; display: block; }
.site-nav {
  display: flex;
  flex-wrap: wrap;
  /* Four links on one line down to a 320px screen. */
  gap: 8px clamp(16px, 4vw, 36px);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(14px, 4vw, 17px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-nav a { padding: 12px 0; }

/* Hero */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 88px var(--gutter) 104px;
  text-align: center;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(56px, 14vw, 204px);
  line-height: 0.88;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero .lede {
  max-width: 640px;
  font-size: 21px;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}
.button {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 32px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.button:hover { background: var(--accent); color: var(--ground); }

/* Numbered sections */
.section {
  padding: clamp(64px, 9vw, 88px) var(--gutter);
  border-top: 1px solid var(--rule);
  scroll-margin-top: 8px;
}
.section > .inner {
  max-width: 1296px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.label {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.label .n { color: var(--accent); }
.label h2 { font: inherit; letter-spacing: inherit; color: var(--muted); }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px 56px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 56px 72px;
}
.item { display: flex; flex-direction: column; gap: 14px; }
.item p { color: var(--muted); text-wrap: pretty; }
.item h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.pillar h3 { font-size: 52px; }
.point { gap: 12px; padding-top: 24px; border-top: 2px solid var(--accent); }
.point h3 { font-size: 36px; line-height: 1.05; }

/* Studio */
.studio { gap: 48px 72px; align-items: start; }
.studio .statement {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1;
  text-transform: uppercase;
}
.suit {
  display: inline-block;
  width: 0.82em;
  height: 0.82em;
  vertical-align: -0.07em;
  stroke: var(--text);
  stroke-width: 0.86;
  stroke-linejoin: round;
}
.suit.heart { fill: var(--red); }
.suit.spade { fill: #000; }
.studio h3 { font-size: 36px; line-height: 1.05; }
.text-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  color: var(--accent);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--accent);
}
.text-link:hover { color: var(--text); border-bottom-color: var(--text); }

/* Contact */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 104px var(--gutter);
  border-top: 1px solid var(--rule);
  text-align: center;
}
.contact h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact a {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(36px, 8vw, 116px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--accent);
  overflow-wrap: anywhere;
}
.contact a:hover { color: var(--text); }

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding: 28px var(--gutter);
  border-top: 1px solid var(--rule);
  font-size: 15px;
  color: var(--muted);
}
