:root {
  --paper: #F1F3F4;
  --grid-fine: #e4ebf2;
  --grid-major: #d5e0ea;
  --ink: #14213A;
  --line: #27506b;
  --water: #4fa3ad;
  --teal: #245257;
  --green: #2F6B4E;
  --sand: #e8d6bd;
  --orange: #e08a4e;
  --terra: #c2673a;
  --maroon: #7d3340;
  --gold: #b9893f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-fine) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-fine) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  background-position: -1px -1px;
}

h1, h2, h3, h4 {
  font-family: 'Nunito', 'Trebuchet MS', sans-serif;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 0.4em;
}

a { color: #9D3600; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; margin: 0; padding: 0; }

.section {
  max-width: 72rem;
  margin: 0 auto;
  padding: 40px 20px;
}

.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 10px;
}

.lede { font-size: 1.1rem; font-weight: 600; }

/* ---------------------------------------------------------------------
   Finish rule: page-level imagery matte, small/inset imagery glossy.
--------------------------------------------------------------------- */

.plate-matte img,
.plate-matte { filter: saturate(.62) brightness(1.03); }

.plate-glossy,
.iso-plate,
.plate-glossy img { filter: saturate(1.18) contrast(1.04); }

/* The four installed plate illustrations: full saturation, no desaturation.
   Shadow lives on the outer, non-absolutely-positioned .plate wrapper
   (combined into the same filter declaration as its existing saturate/
   contrast, since a second `filter` rule would replace rather than add to
   it) -- never on .plate-image, which stays exactly as it was. */
.plate-photo { filter: saturate(1.06) contrast(1.02) drop-shadow(0 26px 50px rgba(20, 33, 58, 0.34)) drop-shadow(0 4px 10px rgba(20, 33, 58, 0.16)); }
.plate-photo img { filter: saturate(1.06) contrast(1.02); }

/* ---------------------------------------------------------------------
   Frame
--------------------------------------------------------------------- */

.plate-frame { position: relative; }

.evidence-plate,
.about-portrait {
  position: relative;
}

/* ---------------------------------------------------------------------
   Header
--------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 2px solid var(--line);
}

.site-header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}

.wordmark-glasses { height: 40px; width: auto; flex-shrink: 0; display: block; }

.wordmark-text-group { display: flex; flex-direction: column; line-height: 1.2; }

.wordmark-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
}

.aframepress-link { display: flex; align-items: center; }
.aframepress-mark { height: 34px; width: auto; display: block; }

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { border-bottom-color: var(--gold); text-decoration: none; }

.earth-afloat-mark { color: var(--teal); display: flex; }
.megaphone { height: 34px; width: auto; display: block; }

/* ---------------------------------------------------------------------
   Plates / pins
--------------------------------------------------------------------- */

.plate { max-width: 60rem; margin: 0 auto 40px; }

.plate-photo { margin-bottom: 54px; }

.plate-square { max-width: 640px; }

.plate-frame {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plate-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plate-overlay {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 2;
  max-width: 80%;
  padding: 14px 18px;
  color: #fff;
  text-align: left;
}

.plate-overlay h1,
.plate-overlay .hero-line {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.6);
}

.iso-plate .plate-frame {
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(60deg, rgba(39,80,107,0.14) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-60deg, rgba(39,80,107,0.14) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(39,80,107,0.14) 0 1px, transparent 1px 26px);
}

.plate-label {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--teal);
  text-align: center;
  margin: 0;
  background: rgba(255,255,255,0.85);
  padding: 4px 12px;
}

.plate-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 11rem;
}

.plate-pin p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: 2px 6px;
}

.pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--terra);
  border: 2px solid var(--ink);
  flex-shrink: 0;
}

.pin-left { top: 50%; left: 6%; transform: translateY(-50%); max-width: none; white-space: nowrap; }
.pin-left p { white-space: nowrap; font-size: 0.68rem; }
.pin-right { top: 20%; right: 6%; max-width: none; white-space: nowrap; }
.pin-right p { white-space: nowrap; font-size: 0.68rem; }
.pin-center { bottom: 8%; left: 50%; transform: translateX(-50%); max-width: none; white-space: nowrap; }
.pin-center p { white-space: nowrap; font-size: 0.68rem; }
.pin-top-left { top: 8%; left: 5%; }
.pin-top-right { top: 8%; right: 5%; }

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

.hero-section { text-align: center; }

.plate-overlay h1 { font-size: 1.6rem; margin: 0 0 8px; }

.hero-line { font-size: 1.15rem; color: var(--teal); margin: 0 0 18px; }

/* Interior band (home) */

.interior-plate { max-width: 60rem; margin: 0 auto 20px; }

.interior-frame {
  position: relative;
  background: transparent;
  display: flex;
  flex-direction: column;
}

.interior-image-half {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px 10px;
}

.interior-photo {
  display: block;
  width: auto;
  height: auto;
  max-width: 88%;
  max-height: 320px;
  transform: rotate(2.5deg);
  filter: drop-shadow(0 18px 34px rgba(20, 33, 58, 0.28));
}

.interior-text-half {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 20px 28px;
}

.interior-text-half h2 { font-size: 1.3rem; margin: 0 0 14px; }

.holds-list { display: flex; flex-direction: column; }

.holds-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--grid-major);
}

.holds-list li:last-child { border-bottom: none; }

.holds-list a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #9D3600;
  text-decoration: none;
}

.holds-list a:hover { color: var(--water); }

.holds-list p {
  margin: 4px 0 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #33465f;
}

@media (min-width: 720px) {
  .interior-plate { aspect-ratio: 21 / 9; }
  .interior-frame { flex-direction: row; height: 100%; }
  .interior-image-half { flex: 0 0 46%; padding: 24px; }
  .interior-photo { max-height: 100%; }
  .interior-text-half { flex: 1; padding: 28px 36px; max-width: 34rem; }
}

.panels-caption {
  max-width: 44rem;
  margin: 12px auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: #33465f;
}

.diorama-section { text-align: center; }

.diorama-link {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
}

/* Holds grid */

.holds-section h2 { text-align: center; margin-bottom: 20px; }

.holds-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.holds-card {
  display: block;
  background: #fff;
  border: 2px solid var(--line);
  padding: 18px 20px;
  text-decoration: none;
  color: var(--ink);
}

.holds-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.holds-card p { margin: 0; font-size: 0.92rem; color: #33465f; }

.title-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  font-weight: 600;
  margin-top: 14px;
}

.title-list li:not(:last-child)::after { content: "\00b7"; margin-left: 16px; color: var(--gold); }

/* ---------------------------------------------------------------------
   Work page
--------------------------------------------------------------------- */

.page-intro { text-align: center; padding-bottom: 10px; }
.intro-deck { max-width: 42rem; margin: 0 auto; font-size: 1.02rem; color: #33465f; }

.work-section h2, .services-section h2, .record-section h2 { text-align: center; margin-bottom: 24px; }

.project-list { display: flex; flex-direction: column; gap: 40px; }

.project {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.evidence-plate { text-align: center; }
.evidence-secondary {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 8px;
  filter: drop-shadow(0 18px 34px rgba(20, 33, 58, 0.28));
}
.evidence-primary {
  width: 60%;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 18px 34px rgba(20, 33, 58, 0.28));
}
.evidence-plate figcaption { margin-top: 8px; font-size: 0.82rem; color: var(--teal); }
.evidence-plate figcaption span { display: block; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.68rem; color: #7a8ba0; }

.project-copy h3 { font-size: 1.3rem; }
.project-statement { font-size: 0.98rem; color: #33465f; }
.project-role span { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--teal); margin-top: 10px; }
.project-role p { margin: 4px 0 0; font-size: 0.9rem; }

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.service-card { background: #fff; border: 2px solid var(--line); padding: 18px; }
.service-number { color: var(--water); font-weight: 800; margin: 0 0 6px; }

.timeline {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.timeline li {
  display: flex;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--grid-major);
}

.timeline time { flex: 0 0 4.5em; font-weight: 700; color: var(--teal); }

.availability-section { text-align: center; max-width: 40rem; }

/* ---------------------------------------------------------------------
   Portfolio pages (book-layout-formatting / book-cover-design)
--------------------------------------------------------------------- */

.portfolio-section h2 { text-align: center; margin-bottom: 20px; }

.cover-line {
  text-align: center;
  color: var(--teal);
  font-weight: 600;
  margin: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* Wider landscape spreads (e.g. children's book interiors): one per row on
   mobile, two per row on desktop -- never three or four across. */
.portfolio-grid-wide { grid-template-columns: 1fr; }

.portfolio-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-thumb {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(20, 33, 58, 0.28));
}

/* ---------------------------------------------------------------------
   Production case study (/production-case-study/)
--------------------------------------------------------------------- */

.case-subtitle-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.case-subtitle { font-weight: 600; color: var(--teal); margin: 0; }

.case-figure-mini { margin: 0; }
.case-figure-mini .portfolio-thumb { width: 64px; height: auto; }

.case-top-figures {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 60rem;
}

.case-figure { margin: 0; }
.case-figure .portfolio-thumb { width: 100%; height: auto; }

.case-section { max-width: 44rem; }
.case-section h2 { margin-bottom: 10px; }
.case-section p { color: #33465f; }

.case-figure-inline { max-width: 20rem; margin-top: 16px !important; }

/* ---------------------------------------------------------------------
   Bio page (/bio/)
--------------------------------------------------------------------- */

.bio-section { text-align: center; }

/* ---------------------------------------------------------------------
   Shaper briefs (/surf-2026/ /surf/) -- plain spec-sheet feel, undressed
--------------------------------------------------------------------- */

.spec-section { max-width: 44rem; }

.spec-list { margin: 0 0 1em; }
.spec-list li { margin: 0 0 0.3em; }

.spec-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.spec-figure { margin: 0; flex: 1 1 160px; max-width: 220px; }
.spec-figure .portfolio-thumb { width: 100%; height: auto; display: block; }
.spec-figure figcaption { font-size: 0.85rem; color: var(--teal); margin-top: 4px; }

/* ---------------------------------------------------------------------
   About page
--------------------------------------------------------------------- */

.about-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
}

.about-portrait { text-align: center; }
.about-portrait-image {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 34px rgba(20, 33, 58, 0.28));
}
.about-portrait figcaption { margin-top: 8px; font-size: 0.85rem; color: var(--teal); }

.published-record h2 { text-align: center; margin-bottom: 20px; }

.publication-list { display: flex; flex-direction: column; gap: 12px; max-width: 44rem; margin: 0 auto; }

.publication-item {
  display: block;
  background: #fff;
  border: 2px solid var(--line);
  padding: 16px 18px;
  color: var(--ink);
}

.publication-label { display: block; font-size: 0.78rem; color: var(--teal); font-weight: 700; margin: 0; }
.publication-item h3 { font-size: 1.05rem; margin: 4px 0; }
.publication-item h3 a { color: #9D3600; text-decoration: none; }
.publication-item h3 a:hover { color: var(--water); }
.publication-item > p { margin: 0; font-size: 0.9rem; color: #33465f; }

.publication-formats {
  margin: 8px 0 0 !important;
  font-size: 0.82rem !important;
  color: #33465f;
}

.publication-formats a { color: #9D3600; text-decoration: none; }
.publication-formats a:hover { color: var(--water); }


/* ---------------------------------------------------------------------
   Stack page: two-tone tiers + chain + circle diagram
--------------------------------------------------------------------- */

.tiers-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.tier-block {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  width: 100%;
  max-width: 46rem;
  border: 2px solid var(--line);
  height: auto;
}

.tier-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  padding: 14px;
  min-width: 0;
}

.tier-body { background: #fff; padding: 16px 18px; min-width: 0; }
.tier-number { color: var(--water); font-weight: 800; margin: 0; }
.tier-body h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.02em; }
.tier-subtitle { font-size: 0.85rem; color: var(--teal); margin: -4px 0 8px; }

.tier-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.tier-columns li {
  padding: 4px 0;
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--grid-major);
  overflow-wrap: break-word;
  white-space: normal;
}

.indesign-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #FF3366;
  color: #fff;
  border: 1px solid #fff;
  font-weight: 800;
  font-size: 0.85rem;
  font-family: 'Nunito', sans-serif;
}

.integration-section h2 { text-align: center; margin-bottom: 20px; }

.integration-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  max-width: 46rem;
  margin: 0 auto;
}

.cycle-diagram { width: 100%; max-width: 220px; margin: 0 auto; }
.cycle-label { font-size: 10px; fill: var(--teal); letter-spacing: 0.04em; }

.mark-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.mark-list li { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; }
.mark-dash { width: 16px; height: 2px; background: var(--gold); flex-shrink: 0; }

/* ---------------------------------------------------------------------
   Panel page: the one dark console
--------------------------------------------------------------------- */

.console {
  background: linear-gradient(180deg, #132433, #0e1c28);
  background-image:
    linear-gradient(180deg, #132433, #0e1c28),
    repeating-linear-gradient(0deg, rgba(127,211,221,0.08) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(90deg, rgba(127,211,221,0.08) 0 1px, transparent 1px 14px);
  color: #cfe6ea;
  border: 2px solid var(--line);
  padding: 24px 20px;
  margin: 0 20px;
}

.console-inner {
  max-width: 60rem;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.console-slots { flex: 1; display: flex; flex-direction: column; gap: 12px; }

.panel-slot { border: 1px solid rgba(207,230,234,0.3); padding: 10px 14px; }

.panel-slot-row { display: flex; justify-content: space-between; font-size: 0.92rem; }
.panel-slot-name { color: #7fd3dd; font-weight: 700; }
.panel-slot-fill { color: #e3a86a; }

.panel-slot-bar { height: 4px; background: rgba(207,230,234,0.15); margin-top: 8px; }
.panel-slot-bar span { display: block; height: 100%; background: #e3a86a; }

.vertical-chain { display: flex; flex-direction: column; justify-content: space-between; align-items: center; }
.chain-link { display: block; }

.panel-groups { max-width: 50rem; }

.plain-group { margin-bottom: 20px; }
.plain-group h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--teal); }
.plain-group ul { display: flex; flex-direction: column; gap: 4px; }
.plain-group li { font-size: 0.92rem; }

.panel-close { text-align: center; margin-top: 20px; }

/* ---------------------------------------------------------------------
   Network page: pyramid on isometric bg
--------------------------------------------------------------------- */

.iso-bg {
  background-color: var(--paper);
  background-image:
    repeating-linear-gradient(60deg, rgba(39,80,107,0.14) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-60deg, rgba(39,80,107,0.14) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(0deg, rgba(39,80,107,0.14) 0 1px, transparent 1px 26px);
  filter: saturate(1.18) contrast(1.04);
  text-align: center;
  padding: 30px 20px;
}

.pyramid { width: 100%; max-width: 320px; }
.pyramid-label { font-size: 11px; font-weight: 700; fill: var(--ink); letter-spacing: 0.03em; }
.pyramid-knot { font-size: 9px; font-weight: 800; fill: var(--ink); letter-spacing: 0.04em; }

.zone-blocks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 50rem;
  margin: 0 auto 20px;
}

.zone-blocks article { background: #fff; border: 2px solid var(--line); padding: 16px 18px; }
.zones-section { text-align: center; }
.zones-section .lede { max-width: 40rem; margin: 0 auto; }

.seen-outside, .network-products { max-width: 44rem; text-align: center; }
.seen-outside h2, .network-products h2 { margin-bottom: 14px; }

/* ---------------------------------------------------------------------
   Suite page
--------------------------------------------------------------------- */

.movements-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 40rem;
  margin: 0 auto;
}

.movement-block {
  background: #fff;
  border: 2px solid var(--line);
  padding: 14px;
  text-align: center;
  font-weight: 700;
}

.phases-section h2 { text-align: center; margin-bottom: 20px; }

.phases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.phase-block {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  border: 2px solid var(--line);
}

.phase-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.phase-number { color: #fff; font-weight: 800; margin: 0; }
.phase-body { background: #fff; padding: 14px 16px; min-width: 0; }
.phase-block h3 { font-size: 1rem; margin: 0 0 8px; }

.phase-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 10px;
  border-radius: 999px;
}

.badge-service { background: rgba(47,107,78,0.15); color: var(--green); }
.badge-frame { background: rgba(185,137,63,0.18); color: var(--gold); }

.how-it-runs { text-align: center; max-width: 44rem; }
.how-it-runs .mark-list { align-items: center; }
.how-it-runs li { justify-content: center; }

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

.site-footer {
  border-top: 2px solid var(--line);
  margin-top: 48px;
  padding: 20px 20px 24px;
}

.site-footer-inner {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.footer-copyright { font-size: 0.82rem; color: #445872; margin: 0; }

/* ---------------------------------------------------------------------
   Tablet and up
--------------------------------------------------------------------- */

@media (min-width: 720px) {
  .plate-overlay h1 { font-size: 2.2rem; }
  .pin-left p, .pin-right p, .pin-center p { font-size: 0.78rem; }
  .holds-grid { grid-template-columns: repeat(2, 1fr); }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .project { grid-template-columns: 1fr 1.2fr; }
  .about-hero { grid-template-columns: 1.1fr 1fr; }
  .integration-grid { grid-template-columns: 240px 1fr; }
  .console-inner { flex-direction: row; }
  .zone-blocks { grid-template-columns: repeat(3, 1fr); }
  .phases-grid { grid-template-columns: repeat(2, 1fr); }
  .movements-row { grid-template-columns: repeat(4, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .portfolio-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
  .holds-grid { grid-template-columns: repeat(3, 1fr); }
  .phases-grid { grid-template-columns: repeat(3, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .portfolio-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
