/* ============================================================
   六面空间 · 个人索引
   me.mihomiho666.com
   ============================================================ */

:root {
  --paper: #f2ede3;
  --paper-2: #f7f2e8;
  --paper-3: #e9e2d3;
  --ink: #171b17;
  --ink-2: #2b302a;
  --muted: #5f655b;
  --faint: #8b8f84;
  --line: rgba(23, 27, 23, 0.16);
  --line-soft: rgba(23, 27, 23, 0.08);
  --vermilion: #b4442a;
  --forest: #264e3f;
  --gold: #7d5e2b;
  --slate: #3f5d6b;
  --serif: "Songti SC", "STSong", "Noto Serif CJK SC", "Source Han Serif SC", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --display: "Bodoni 72", "Didot", "Times New Roman", var(--serif);
  --gutter: clamp(20px, 5vw, 74px);
  --max: 1360px;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background:
    radial-gradient(900px 700px at 82% 2%, rgba(180, 68, 42, 0.075), transparent 62%),
    radial-gradient(1000px 800px at 6% 28%, rgba(38, 78, 63, 0.055), transparent 64%),
    linear-gradient(180deg, #f4efe5 0%, #f2ede3 48%, #eee7da 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--vermilion);
  color: var(--paper-2);
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='180'%20height='180'%3E%3Cfilter%20id='n'%3E%3CfeTurbulence%20type='fractalNoise'%20baseFrequency='.85'%20numOctaves='3'%20stitchTiles='stitch'/%3E%3C/filter%3E%3Crect%20width='180'%20height='180'%20filter='url(%23n)'%20opacity='.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------------- Masthead ---------------- */

.masthead {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px var(--gutter);
  border-bottom: 1px solid transparent;
  transition:
    padding 0.45s var(--ease),
    background-color 0.45s var(--ease),
    border-color 0.45s var(--ease);
}

.masthead.is-scrolled {
  padding-top: 13px;
  padding-bottom: 13px;
  background: rgba(242, 237, 227, 0.82);
  border-bottom-color: var(--line-soft);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  min-width: 0;
}

.brand-glyph {
  width: 25px;
  height: 25px;
  flex: none;
  color: var(--ink);
}

.brand-word {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.brand-sub {
  padding-left: 11px;
  border-left: 1px solid var(--line);
  font-size: 7.5px;
  line-height: 1.35;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.mast-right {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  white-space: nowrap;
}

.mast-index {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.mast-clock {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.mast-open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.mast-open i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3f7d5e;
  box-shadow: 0 0 0 4px rgba(63, 125, 94, 0.12);
}

/* ---------------- Hero ---------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(24px, 4vw, 70px);
  width: 100%;
  max-width: var(--max);
  min-height: 100svh;
  margin: 0 auto;
  padding: clamp(124px, 15vh, 180px) var(--gutter) clamp(70px, 9vh, 110px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  letter-spacing: 0.22em;
  line-height: 1.4;
  color: var(--muted);
}

.eyebrow-rule {
  width: 42px;
  height: 1px;
  background: var(--line);
}

.hero h1 {
  margin: clamp(22px, 3vh, 32px) 0 clamp(24px, 3vh, 34px);
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 90px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero h1 span {
  color: var(--vermilion);
}

.keep {
  white-space: nowrap;
}

.lede {
  max-width: 34em;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.95;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(36px, 5vh, 54px);
}

.enter {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 13px 16px 13px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition:
    background-color 0.45s var(--ease),
    color 0.45s var(--ease);
}

.enter-arrow {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper-2);
  font-size: 11px;
  transition:
    transform 0.45s var(--ease),
    background-color 0.45s var(--ease),
    color 0.45s var(--ease);
}

.enter:hover {
  background: var(--ink);
  color: var(--paper-2);
}

.enter:hover .enter-arrow {
  background: var(--paper-2);
  color: var(--ink);
  transform: translateY(3px);
}

.hero-note {
  font-size: 8.5px;
  line-height: 1.9;
  letter-spacing: 0.2em;
  text-align: right;
  color: var(--faint);
}

.hero-note span {
  color: var(--ink-2);
}

/* ---------------- Hero object ---------------- */

.hero-object {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transform: translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 0.7s var(--ease);
  animation: fade-in 1.3s var(--ease) 0.12s both;
}

.object-halo {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(180, 68, 42, 0.1) 0%,
    rgba(38, 78, 63, 0.05) 42%,
    transparent 68%
  );
  filter: blur(12px);
  pointer-events: none;
}

.hex {
  position: relative;
  display: block;
  width: min(100%, 620px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 32px 48px rgba(23, 27, 23, 0.06));
}

.ring-line {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.ticks {
  stroke: var(--line);
  stroke-width: 1;
}

.ring-text {
  transform-origin: 360px 360px;
  animation: ring-spin 150s linear infinite;
}

.ring-text text {
  font-family: var(--sans);
  font-size: 8.5px;
  letter-spacing: 0.34em;
  fill: var(--muted);
  opacity: 0.72;
}

.facet {
  stroke: var(--paper);
  stroke-width: 5;
  stroke-linejoin: round;
  transition:
    fill 0.6s var(--ease),
    opacity 0.6s var(--ease);
}

.facet--1 {
  fill: #dbe4da;
}
.facet--2 {
  fill: #e9d7cf;
}
.facet--3 {
  fill: #e7ddc5;
}
.facet--4 {
  fill: #d9e1e4;
}
.facet--5,
.facet--6 {
  fill: rgba(23, 27, 23, 0.025);
}

.facet--1.is-active {
  fill: var(--forest);
}
.facet--2.is-active {
  fill: var(--vermilion);
}
.facet--3.is-active {
  fill: var(--gold);
}
.facet--4.is-active {
  fill: var(--slate);
}

.facet-numbers text {
  font-family: var(--display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-anchor: middle;
  fill: rgba(23, 27, 23, 0.5);
  transition: fill 0.5s var(--ease);
}

.hex[data-active="1"] .facet-numbers text:nth-child(1),
.hex[data-active="2"] .facet-numbers text:nth-child(2),
.hex[data-active="3"] .facet-numbers text:nth-child(3),
.hex[data-active="4"] .facet-numbers text:nth-child(4) {
  fill: var(--paper-2);
}

.core-ring {
  stroke: rgba(23, 27, 23, 0.22);
  stroke-width: 1;
}

.core-word {
  font-family: var(--serif);
  font-size: 50px;
  font-weight: 600;
  fill: var(--ink);
  text-anchor: middle;
}

.core-label {
  font-family: var(--sans);
  font-size: 7px;
  letter-spacing: 0.36em;
  fill: var(--muted);
  text-anchor: middle;
}

.object-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 540px);
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--faint);
}

.object-caption span:last-child {
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

/* ---------------- Section heading ---------------- */

.faces {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section-head {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  align-items: end;
  gap: 22px;
  margin-bottom: clamp(26px, 3vw, 38px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.kicker {
  padding-bottom: 9px;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--muted);
}

.section-head h2,
.now-head h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.section-en {
  padding-bottom: 9px;
  font-size: 9px;
  letter-spacing: 0.24em;
  color: var(--muted);
  text-align: right;
}

/* ---------------- Face cards ---------------- */

.face-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(10px, 1.2vw, 16px);
}

.face {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  grid-column: span 6;
  min-height: clamp(290px, 29vw, 380px);
  padding: clamp(22px, 2.4vw, 34px);
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 252, 245, 0.36);
  color: var(--ink);
  text-decoration: none;
  transition:
    color 0.5s var(--ease),
    border-color 0.5s var(--ease);
  animation: rise-in 0.9s var(--ease) both;
}

.face:nth-child(1) {
  grid-column: span 7;
  animation-delay: 0.08s;
}
.face:nth-child(2) {
  grid-column: span 5;
  animation-delay: 0.14s;
}
.face:nth-child(3) {
  grid-column: span 5;
  animation-delay: 0.2s;
}
.face:nth-child(4) {
  grid-column: span 7;
  animation-delay: 0.26s;
}

.face::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--accent);
  transform: translateY(calc(100% + 1px));
  transition: transform 0.65s var(--ease);
}

.face:hover::before,
.face:focus-visible::before {
  transform: translateY(0);
}

.face:hover,
.face:focus-visible {
  color: var(--paper-2);
  border-color: var(--accent);
}

.face--fit {
  --accent: var(--forest);
}
.face--podcast {
  --accent: var(--vermilion);
}
.face--review {
  --accent: var(--gold);
}
.face--tabletop {
  --accent: var(--slate);
}

.face-chip {
  position: absolute;
  top: 0;
  right: 0;
  width: 62px;
  height: 62px;
  background: var(--accent);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
  opacity: 0.92;
  transition:
    transform 0.6s var(--ease),
    opacity 0.6s var(--ease);
}

.face:hover .face-chip,
.face:focus-visible .face-chip {
  opacity: 0;
  transform: translate(10px, -10px);
}

.face-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.face-no {
  font-family: var(--display);
  font-size: clamp(32px, 3.2vw, 50px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  transition: color 0.5s var(--ease);
}

.face:hover .face-no,
.face:focus-visible .face-no {
  color: var(--paper-2);
}

.face-en {
  padding-top: 6px;
  font-size: 8px;
  letter-spacing: 0.22em;
  color: var(--muted);
  text-align: right;
  transition: color 0.5s var(--ease);
}

.face:hover .face-en,
.face:focus-visible .face-en {
  color: rgba(247, 242, 232, 0.66);
}

.face-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 94%;
  margin-top: auto;
  padding-top: clamp(42px, 5vw, 66px);
  padding-right: 54px;
}

.face-title {
  font-family: var(--serif);
  font-size: clamp(27px, 2.7vw, 39px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.face-desc {
  max-width: 33em;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
  transition: color 0.5s var(--ease);
}

.face:hover .face-desc,
.face:focus-visible .face-desc {
  color: rgba(247, 242, 232, 0.8);
}

.face-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 10px;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition:
    color 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.face:hover .face-meta,
.face:focus-visible .face-meta {
  color: rgba(247, 242, 232, 0.66);
  border-color: rgba(247, 242, 232, 0.22);
}

.face-meta b {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: inherit;
}

.face-arrow {
  position: absolute;
  right: clamp(20px, 2.4vw, 34px);
  bottom: clamp(20px, 2.4vw, 34px);
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 15px;
  transition:
    transform 0.5s var(--ease),
    background-color 0.5s var(--ease),
    border-color 0.5s var(--ease),
    color 0.5s var(--ease);
}

.face:hover .face-arrow,
.face:focus-visible .face-arrow {
  background: var(--paper-2);
  border-color: var(--paper-2);
  color: var(--accent);
  transform: rotate(45deg);
}

/* ---------------- Now band ---------------- */

.now {
  position: relative;
  margin-top: clamp(90px, 11vw, 150px);
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.now::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180, 68, 42, 0.16), transparent 65%);
  pointer-events: none;
}

.now-inner {
  position: relative;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(50px, 6vw, 84px) var(--gutter);
}

.now-head {
  display: grid;
  grid-template-columns: 132px 1fr minmax(160px, 230px);
  align-items: end;
  gap: 22px;
  margin-bottom: clamp(34px, 4vw, 52px);
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(247, 242, 232, 0.16);
}

.now .kicker {
  color: rgba(247, 242, 232, 0.48);
}

.now-note {
  font-size: 11px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  text-align: right;
  color: rgba(247, 242, 232, 0.62);
}

.now-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.now-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 0 clamp(14px, 2.2vw, 32px);
  border-left: 1px solid rgba(247, 242, 232, 0.14);
}

.now-cell:first-child {
  padding-left: 0;
  border-left: 0;
}

.now-num {
  font-family: var(--display);
  font-size: clamp(46px, 5.4vw, 76px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.now-label {
  margin-top: 8px;
  font-size: 11.5px;
  color: rgba(247, 242, 232, 0.75);
}

.now-cell small {
  margin-top: 10px;
  font-size: 8px;
  letter-spacing: 0.24em;
  color: rgba(247, 242, 232, 0.36);
}

/* ---------------- Footer ---------------- */

.footer {
  position: relative;
  margin-top: clamp(80px, 9vw, 120px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.footer-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(42px, 5vw, 66px) var(--gutter) 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  align-items: start;
  gap: 32px;
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.footer-brand p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.45;
}

.footer-brand span {
  font-family: var(--sans);
  font-size: 7.5px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.footer-line {
  font-family: var(--serif);
  font-size: clamp(19px, 1.9vw, 27px);
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--ink-2);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.footer-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 42px;
  padding: 17px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 8px;
  letter-spacing: 0.2em;
  color: var(--faint);
}

.footer-ghost {
  margin-top: clamp(12px, 2vw, 28px);
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(96px, 16vw, 220px);
  font-weight: 500;
  line-height: 1.25;
  padding-bottom: 0.3em;
  letter-spacing: -0.08em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(23, 27, 23, 0.13);
  user-select: none;
  pointer-events: none;
}

/* ---------------- 404 ---------------- */

.error-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  max-width: var(--max);
  min-height: 100svh;
  margin: 0 auto;
  padding: 120px var(--gutter) 80px;
}

.error-page .code {
  font-family: var(--display);
  font-size: clamp(80px, 18vw, 260px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--vermilion);
}

.error-page h1 {
  margin: 22px 0 14px;
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  letter-spacing: -0.04em;
}

.error-page p {
  max-width: 34em;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.error-page .enter {
  margin-top: 34px;
}

/* ---------------- Focus & motion ---------------- */

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--vermilion);
  outline-offset: 4px;
}

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

@keyframes ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------------- Responsive ---------------- */

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  }

  .mast-index {
    display: none;
  }

  .section-head,
  .now-head {
    grid-template-columns: 90px 1fr auto;
  }

  .now-head {
    grid-template-columns: 90px 1fr minmax(150px, 200px);
  }

  .face {
    min-height: 330px;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    min-height: auto;
    padding-top: 130px;
    padding-bottom: 30px;
  }

  .hero-object {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }

  .hex {
    width: min(100%, 520px);
  }

  .section-head {
    grid-template-columns: 1fr auto;
    row-gap: 12px;
  }

  .section-head .kicker {
    grid-column: 1 / -1;
    padding-bottom: 0;
  }

  .section-head h2 {
    padding-bottom: 2px;
  }

  .face:nth-child(n) {
    grid-column: span 6;
    min-height: 320px;
  }

  .face-body {
    max-width: 100%;
    padding-right: 0;
  }

  .face-arrow {
    width: 38px;
    height: 38px;
    right: 22px;
    bottom: 22px;
  }

  .now-head {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .now-note {
    max-width: none;
    text-align: left;
  }

  .now-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 34px;
  }

  .now-cell:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .now-cell:nth-child(3),
  .now-cell:nth-child(4) {
    padding-top: 28px;
    border-top: 1px solid rgba(247, 242, 232, 0.14);
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-nav {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .masthead {
    padding-top: 15px;
    padding-bottom: 15px;
  }

  .brand-word {
    font-size: 15px;
  }

  .brand-sub {
    display: none;
  }

  .mast-open {
    display: none;
  }

  .mast-clock {
    font-size: 11px;
  }

  .hero {
    padding-top: 112px;
  }

  .eyebrow {
    gap: 10px;
    font-size: 8px;
  }

  .eyebrow-rule {
    width: 26px;
  }

  .hero h1 {
    font-size: clamp(42px, 12.4vw, 66px);
  }

  .lede br {
    display: none;
  }

  .hero-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
  }

  .hero-note {
    text-align: left;
  }

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

  .face:nth-child(n) {
    grid-column: auto;
    min-height: 300px;
  }

  .face-body {
    padding-top: 38px;
  }

  .face-meta {
    gap: 6px 14px;
  }

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

  .now-num {
    font-size: clamp(40px, 12vw, 54px);
  }

  .now-cell {
    padding-left: 14px;
  }

  .now-cell:first-child,
  .now-cell:nth-child(3) {
    padding-left: 0;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-nav {
    grid-column: auto;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }

  .footer-ghost {
    font-size: 40vw;
  }
}

@media (max-width: 380px) {
  .mast-clock {
    display: none;
  }

  .hero h1 {
    font-size: 40px;
  }

  .face-meta {
    font-size: 9.5px;
  }
}
