/*
Theme Name: Epoch Author
Theme URI: https://chriskantz.com/
Author: Christopher Kantz
Author URI: https://chriskantz.com/
Description: A cinematic literary theme for Christopher Kantz and Epoch Studio.
Version: 1.0.1
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: epoch-author
*/

:root {
  --ink: #05090d;
  --ink-soft: #091118;
  --panel: #0b1217;
  --paper: #e8deca;
  --paper-soft: #c9bea9;
  --muted: #8f897e;
  --gold: #c99a50;
  --gold-bright: #e0b66d;
  --line: rgba(201, 154, 80, 0.22);
  --line-cool: rgba(203, 214, 220, 0.11);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --shell: min(1380px, calc(100vw - 96px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(58, 44, 75, 0.13), transparent 34rem),
    var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  content: "";
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input {
  font: inherit;
}

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

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 100;
  padding: 0.65rem 1rem;
  color: var(--ink);
  background: var(--gold-bright);
  transform: translateY(-160%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  width: 100%;
  height: 86px;
  padding: 0 4.5vw;
  border-bottom: 1px solid transparent;
  transition: background 240ms ease, border-color 240ms ease, height 240ms ease;
}

.site-header.is-scrolled {
  height: 70px;
  border-color: var(--line-cool);
  background: rgba(5, 9, 13, 0.9);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 260px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  overflow: visible;
  fill: none;
  stroke: var(--gold-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.brand-mark circle {
  fill: var(--gold-bright);
  stroke: none;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 0.28rem;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.25rem);
  margin-left: auto;
}

.site-nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.25rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav-list li {
  margin: 0;
}

.site-nav a {
  position: relative;
  color: var(--paper-soft);
  font-size: 0.78rem;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.45rem;
  height: 1px;
  content: "";
  background: var(--gold);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  right: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  border: 0;
  background: transparent;
}

.menu-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 1px;
  margin: 7px 0;
  background: var(--paper);
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--gold-bright);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 780px;
  height: min(900px, 100svh);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-art {
  position: absolute;
  inset: 0;
  background:
    url("assets/images/epoch-hero.png") center right 18% / cover no-repeat;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 8, 12, 0.99) 0%, rgba(4, 8, 12, 0.96) 24%, rgba(4, 8, 12, 0.72) 43%, rgba(4, 8, 12, 0.08) 70%),
    linear-gradient(0deg, rgba(4, 8, 12, 0.64), transparent 35%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(680px, 46vw);
  height: 100%;
  margin-left: 5.25vw;
  padding-top: 68px;
}

.hero h1,
.studio-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 7.3vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.82;
}

.hero-lede {
  max-width: 590px;
  margin: 2rem 0 0;
  color: var(--paper-soft);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.25rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  min-height: 52px;
  padding: 0.8rem 1.65rem;
  border: 1px solid var(--gold);
  font-size: 0.8rem;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #171008;
  background: linear-gradient(115deg, #d3a355, #edc983);
}

.button-quiet {
  color: var(--gold-bright);
  background: rgba(5, 9, 13, 0.3);
}

.hero-scroll {
  position: absolute;
  z-index: 3;
  right: 4.5vw;
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-scroll i {
  display: block;
  width: 55px;
  height: 1px;
  background: var(--gold);
}

.epoch-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 2fr);
  gap: 5rem;
  padding: 8rem 0;
}

.section-heading h2,
.section-kicker h2,
.author h2,
.newsletter h2,
.studio-statement blockquote,
.capability h2,
.local-first h2,
.studio-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.content-shell {
  width: min(920px, calc(100vw - 48px));
  min-height: 70vh;
  margin: 0 auto;
  padding: 10rem 0 6rem;
}

.content-header {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.content-title {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.content-meta {
  margin-top: 1rem;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.entry-content {
  padding-top: 3rem;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.35rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1;
}

.entry-content h2 {
  margin-top: 3.5rem;
  font-size: 3rem;
}

.entry-content a {
  color: var(--gold-bright);
  text-decoration: underline;
  text-decoration-color: rgba(201, 154, 80, 0.45);
  text-underline-offset: 0.2em;
}

.entry-content img {
  height: auto;
  margin: 2.5rem auto;
}

.entry-content blockquote {
  margin: 3rem 0;
  padding-left: 2rem;
  border-left: 1px solid var(--gold);
  color: var(--paper);
  font-size: 1.75rem;
}

.post-list {
  display: grid;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--line);
}

.post-card {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: 3rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--line);
}

.post-card time {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-card h2 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 0.95;
}

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

.pagination {
  display: flex;
  justify-content: space-between;
  padding-top: 3rem;
  color: var(--gold-bright);
}

.wp-caption,
.wp-caption-text,
.gallery-caption {
  max-width: 100%;
}

.wp-caption-text {
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.75rem;
}

.alignleft {
  float: left;
  margin: 0 2rem 1rem 0;
}

.alignright {
  float: right;
  margin: 0 0 1rem 2rem;
}

.aligncenter {
  display: block;
  margin-right: auto;
  margin-left: auto;
}

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

.admin-bar .site-header {
  top: 32px;
}

.section-heading h2 {
  font-size: clamp(2.8rem, 4vw, 4.7rem);
}

.section-heading > p:not(.eyebrow) {
  max-width: 37rem;
  color: var(--muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--gold-bright);
  font-size: 0.76rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principle {
  position: relative;
  min-height: 360px;
  padding: 3rem 2.1rem;
  border-left: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.025), transparent);
}

.principle:last-child {
  border-right: 1px solid var(--line);
}

.principle-number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: rgba(201, 154, 80, 0.45);
  font-family: var(--serif);
  font-size: 0.8rem;
}

.principle svg {
  width: 76px;
  height: 76px;
  margin-bottom: 2.6rem;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.principle h3 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 400;
}

.principle p {
  color: var(--muted);
  font-size: 0.84rem;
}

.books {
  padding: 5rem 0 9rem;
}

.section-kicker {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.section-kicker h2 {
  font-size: clamp(4rem, 7vw, 7rem);
}

.book-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
  border-bottom: 1px solid var(--line);
}

.book-feature-dancing {
  grid-template-columns: 0.9fr 1.1fr;
}

.book-cover-wrap {
  display: grid;
  place-items: center;
  padding: 5rem;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle, rgba(201, 154, 80, 0.14), transparent 54%),
    #070d12;
}

.book-cover {
  max-height: 520px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.68);
  transform: perspective(1000px) rotateY(5deg);
}

.dancing-cover {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: min(390px, 90%);
  aspect-ratio: 0.72;
  padding: 2.2rem;
  overflow: hidden;
  border: 1px solid rgba(224, 182, 109, 0.48);
  color: #fff6e4;
  background:
    linear-gradient(0deg, rgba(8, 7, 14, 0.94) 0%, rgba(8, 7, 14, 0.38) 48%, rgba(8, 7, 14, 0.08) 76%),
    url("assets/images/dancing-art.png") center / cover no-repeat;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.68);
  transform: perspective(1000px) rotateY(5deg);
}

.dancing-cover::after {
  position: absolute;
  inset: 0.75rem;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 233, 190, 0.3);
}

.dancing-cover span,
.dancing-cover small,
.dancing-cover strong {
  position: relative;
  z-index: 1;
}

.dancing-cover span {
  margin-bottom: auto;
  color: #fff0d1;
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  text-align: center;
  text-transform: uppercase;
}

.dancing-cover strong {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 4vw, 4.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.76;
  text-shadow: 0 4px 24px #07050c;
}

.dancing-cover small {
  margin-top: 1.5rem;
  color: var(--gold-bright);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.book-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 8vw, 8rem);
}

.book-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.5rem, 7.6vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.78;
}

.book-copy > p:not(.book-index) {
  max-width: 33rem;
  margin-top: 2rem;
  color: var(--muted);
}

.book-index {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.book-feature-nile {
  min-height: 580px;
}

.book-feature-nile .book-copy {
  border-right: 1px solid var(--line);
}

.nile-art {
  min-height: 580px;
  background:
    linear-gradient(90deg, rgba(5, 9, 13, 0.3), rgba(5, 9, 13, 0.05)),
    url("assets/images/nile-banner.png") center / cover no-repeat;
  filter: saturate(0.62) sepia(0.25);
}

.author {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.8fr;
  gap: 9vw;
  padding: 9rem 0;
}

.author-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: linear-gradient(transparent, var(--line), transparent);
}

.author h2 {
  max-width: 760px;
  font-size: clamp(4rem, 6vw, 7rem);
}

.author-copy {
  align-self: center;
  max-width: 38rem;
  color: var(--paper-soft);
}

.author-copy p {
  margin: 0 0 1.5rem;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  padding: 7rem 5vw;
  border: 1px solid var(--line);
  background: linear-gradient(115deg, rgba(201, 154, 80, 0.06), rgba(255, 255, 255, 0.015));
}

.newsletter h2 {
  font-size: clamp(3.5rem, 5.3vw, 6rem);
}

.newsletter-copy > p:last-child {
  max-width: 40rem;
  color: var(--muted);
}

.newsletter-form {
  align-self: center;
}

.newsletter-form label {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.newsletter-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
}

.newsletter-form input {
  min-width: 0;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line);
  border-right: 0;
  outline: 0;
  color: var(--paper);
  background: rgba(5, 9, 13, 0.7);
}

.newsletter-form input:focus {
  border-color: var(--gold);
}

.newsletter-form button {
  padding: 0 1.8rem;
  border: 1px solid var(--gold);
  color: #171008;
  background: var(--gold-bright);
  cursor: pointer;
}

.newsletter-form small {
  display: block;
  margin-top: 0.75rem;
  color: #706b63;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 5rem;
  width: var(--shell);
  margin: 7rem auto 0;
  padding: 3rem 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.68rem;
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

/* Epoch Studio */

.studio-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.55fr);
  align-items: end;
  min-height: 850px;
  padding: 11rem 7vw 7rem;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 72% 42%, rgba(201, 154, 80, 0.12), transparent 22rem),
    radial-gradient(circle at 72% 42%, rgba(73, 52, 99, 0.18), transparent 38rem),
    #05090d;
}

.studio-orbit {
  position: absolute;
  top: 50%;
  left: 67%;
  width: min(60vw, 760px);
  aspect-ratio: 1;
  border: 1px solid rgba(201, 154, 80, 0.13);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.studio-orbit::before,
.studio-orbit::after {
  position: absolute;
  inset: 12%;
  content: "";
  border: 1px solid rgba(201, 154, 80, 0.1);
  border-radius: 50%;
}

.studio-orbit::after {
  inset: 32%;
  box-shadow:
    0 -230px 0 -225px var(--gold-bright),
    202px 116px 0 -225px var(--gold-bright),
    -202px 116px 0 -225px var(--gold-bright);
}

.studio-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 880px;
}

.studio-hero h1 {
  font-size: clamp(5.2rem, 9vw, 10rem);
}

.studio-hero-copy > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--paper-soft);
  font-size: 1.18rem;
}

.studio-manifesto {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem 1.2rem;
  padding: 2rem;
  border-left: 1px solid var(--gold);
  background: rgba(5, 9, 13, 0.5);
  backdrop-filter: blur(8px);
}

.studio-manifesto span {
  color: var(--gold);
  font-family: var(--serif);
}

.studio-manifesto p {
  margin: 0;
  color: var(--paper-soft);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
}

.studio-statement {
  padding: 9rem 0;
}

.studio-statement blockquote {
  max-width: 1240px;
  margin: 0;
  font-size: clamp(4rem, 7vw, 7.8rem);
}

.studio-capabilities {
  border-top: 1px solid var(--line);
}

.capability {
  display: grid;
  grid-template-columns: 0.35fr 1fr 0.8fr;
  gap: 5vw;
  align-items: start;
  padding: 5rem 0;
  border-bottom: 1px solid var(--line);
}

.capability > span {
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.capability h2 {
  font-size: clamp(3rem, 4.5vw, 5rem);
}

.capability p {
  margin: 0;
  color: var(--muted);
}

.local-first {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 8vw;
  align-items: center;
  padding: 10rem 0;
}

.local-first-mark {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 154, 80, 0.08), transparent 65%);
}

.local-first-mark svg {
  width: 70%;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.local-first h2 {
  font-size: clamp(3.8rem, 6vw, 7rem);
}

.local-first p:not(.eyebrow) {
  max-width: 770px;
  color: var(--muted);
}

.studio-cta {
  padding: 8rem 0 10rem;
  text-align: center;
  border-top: 1px solid var(--line);
}

.studio-cta h2 {
  margin-bottom: 3rem;
  font-size: clamp(5rem, 9vw, 10rem);
}

.reveal {
  opacity: 1;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.motion-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 980px) {
  :root {
    --shell: min(100% - 48px, 820px);
  }

  .site-header {
    height: 72px;
    padding: 0 24px;
  }

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 1.2rem;
  }

  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 24px 2rem;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 9, 13, 0.98);
  }

  .site-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    font-size: 1rem;
  }

  .hero {
    height: auto;
    min-height: 880px;
  }

  .hero-art {
    background-position: 58% center;
  }

  .hero-scrim {
    background:
      linear-gradient(0deg, rgba(4, 8, 12, 1) 0%, rgba(4, 8, 12, 0.88) 43%, rgba(4, 8, 12, 0.08) 78%),
      linear-gradient(90deg, rgba(4, 8, 12, 0.9), rgba(4, 8, 12, 0.08));
  }

  .hero-copy {
    justify-content: flex-end;
    width: auto;
    height: 880px;
    margin: 0 24px;
    padding: 0 0 7rem;
  }

  .hero h1 {
    font-size: clamp(4.2rem, 13vw, 7rem);
  }

  .hero-scroll {
    display: none;
  }

  .epoch-intro,
  .author,
  .newsletter,
  .local-first,
  .studio-hero {
    grid-template-columns: 1fr;
  }

  .epoch-intro {
    gap: 4rem;
  }

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

  .principle,
  .principle:last-child {
    min-height: 260px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .book-feature,
  .book-feature-dancing {
    grid-template-columns: 1fr;
  }

  .book-cover-wrap,
  .book-feature-nile .book-copy {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .book-feature-nile .book-copy {
    order: 2;
  }

  .book-copy {
    padding: 5rem 0;
  }

  .author-line {
    display: none;
  }

  .newsletter {
    padding: 4rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .studio-hero {
    align-items: end;
    min-height: 900px;
    padding: 10rem 24px 5rem;
  }

  .studio-orbit {
    top: 34%;
    left: 70%;
    width: 780px;
  }

  .studio-manifesto {
    margin-top: 4rem;
  }

  .capability {
    grid-template-columns: 0.25fr 1fr;
  }

  .capability p {
    grid-column: 2;
  }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 620px) {
  :root {
    --shell: calc(100% - 32px);
  }

  body {
    font-size: 15px;
  }

  .brand small {
    display: none;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    height: 760px;
    margin: 0 16px;
    padding-bottom: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(3.9rem, 18vw, 5.6rem);
  }

  .hero-lede {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .epoch-intro,
  .books,
  .author,
  .studio-statement,
  .local-first {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .book-cover-wrap {
    padding: 3rem 1.5rem;
  }

  .book-copy h3 {
    font-size: 4.4rem;
  }

  .nile-art {
    min-height: 420px;
  }

  .newsletter {
    padding: 3rem 1.5rem;
  }

  .newsletter-form > div {
    grid-template-columns: 1fr;
  }

  .newsletter-form input {
    border-right: 1px solid var(--line);
  }

  .newsletter-form button {
    min-height: 50px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .studio-hero h1 {
    font-size: clamp(4.5rem, 20vw, 7rem);
  }

  .studio-statement blockquote {
    font-size: 3.5rem;
  }

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

  .capability p {
    grid-column: auto;
  }

  .local-first-mark {
    width: 80%;
    margin: 0 auto;
  }

  .local-first h2 {
    font-size: 4rem;
  }

  .post-card {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
