/* ============================================================
   ELENA PARRAS — Portfolio Stylesheet
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   ------------------------------------------------------------ */
:root {
  /* Colors */
  --color-bg:         #FFFFFF;
  --color-surface:    #FFFFFF;
  --color-text:       #1A1A1A;
  --color-text-muted: #6B6B6B;
  --color-accent:     #2D3AE0;
  --color-accent-hover: #2130C7;
  --color-pink:       #FF2D78;
  --color-pink-hover: #E0205F;

  /* Typography */
  --font-body:        'Outfit', sans-serif;
  --font-display:     'Reenie Beanie', cursive;

  /* Type scale */
  --text-h1:    3.5rem;
  --text-h2:    2.5rem;
  --text-h3:    1.875rem;
  --text-h4:    1.5rem;
  --text-h5:    1.25rem;
  --text-h6:    1.125rem;
  --text-large: 1.125rem;
  --text-body:  1rem;
  --text-small: 0.875rem;
  --text-label: 0.75rem;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);
}

/* ------------------------------------------------------------
   2. Reset
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent-hover);
}

/* ------------------------------------------------------------
   3. Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text);
}

.font-handwritten {
  font-family: var(--font-display);
  font-weight: 400;
}

.font-sans {
  font-family: var(--font-body);
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }
h5 { font-size: var(--text-h5); }
h6 { font-size: var(--text-h6); }

p {
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-text);
}

.text-large  { font-size: var(--text-large); }
.text-small  { font-size: var(--text-small); color: var(--color-text-muted); }
.text-label  { font-size: var(--text-label); color: var(--color-text-muted); font-family: var(--font-body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
.text-muted  { color: var(--color-text-muted); }

.text-label.font-handwritten {
  font-size: var(--text-large);
  -webkit-text-stroke: 0.4px currentColor;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ------------------------------------------------------------
   4. Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: 600;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: all 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary,
.btn-secondary {
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  line-height: 1.4;
}

/* Primary — solid cobalt fill */
.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-accent-hover);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover {
  color: #fff;
}

/* Secondary — ghost (transparent fill, cobalt border) */
.btn-secondary {
  color: var(--color-accent);
  background-color: transparent;
  border: 2px solid var(--color-accent);
  padding: calc(0.75rem - 2px) calc(1.75rem - 2px);
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-accent);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn-secondary:hover::before {
  transform: translateX(0);
}

.btn-secondary:hover {
  color: #fff;
}

/* Tertiary — text with arrow and underline on hover */
.btn-tertiary {
  color: var(--color-accent);
  text-decoration: none;
  position: relative;
}

.btn-tertiary::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.btn-tertiary:hover::before {
  width: calc(100% - 1.5em);
}

.btn-tertiary::after {
  content: ' →';
  display: inline-block;
  transition: transform 0.2s ease;
}

.btn-tertiary:hover {
  color: var(--color-accent-hover);
}

.btn-tertiary:hover::after {
  transform: translateX(4px);
}

/* ------------------------------------------------------------
   5. Cards
   ------------------------------------------------------------ */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}


/* ------------------------------------------------------------
   6. Form Elements
   ------------------------------------------------------------ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  max-width: 480px;
}

.form .form-group {
  width: 100%;
}

.form .btn {
  align-self: flex-start;
}

label {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text);
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E0E0E0;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text);
  background-color: var(--color-surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(45, 58, 224, 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* ------------------------------------------------------------
   8. Site Header
   ------------------------------------------------------------ */
.site-header {
  background-color: transparent;
  padding: var(--space-lg) var(--space-xl);
  position: relative;
  z-index: 200;
}

.site-header .nav,
.masonry {
  max-width: 2200px;
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------
   9. Masonry Grid
   ------------------------------------------------------------ */
.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 280px;
  gap: var(--space-md);
  grid-auto-flow: dense;
  padding: var(--space-lg) var(--space-xl);
  max-width: 2200px;
  margin-left: auto;
  margin-right: auto;
}

.masonry-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  grid-column: span 1;
  grid-row: span 1;
}

.masonry-item img {
  width: 100%;
  display: block;
}

.masonry-item.placeholder {
  background-color: #E8E8E6;
}

.masonry-item--image {
  background-size: cover;
  background-position: center;
}

/* Size variants */
.masonry-item--wide   { grid-column: span 2; }
.masonry-item--tall   { grid-row: span 2; }
.masonry-item--big    { grid-column: span 2; grid-row: span 2; }

@media (min-width: 1024px) {
  .masonry { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1023px) {
  .masonry { grid-template-columns: repeat(2, 1fr); }
  .masonry-item--big  { grid-column: span 2; grid-row: span 2; }
  .masonry-item--wide { grid-column: span 2; }
  .masonry-item--tall { grid-row: span 2; }
}

@media (max-width: 599px) {
  .masonry {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    padding: var(--space-sm) var(--space-sm);
  }
  .masonry-item--big  { grid-column: span 2; }
  .masonry-item--wide { grid-column: span 2; }
}

/* ------------------------------------------------------------
   11. Section Grid System
   ------------------------------------------------------------ */
.section {
  margin-bottom: var(--space-3xl);
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--space-xl);
  width: 100%;
}

.col-12 { grid-column: span 12; min-width: 0; }
.col-8  { grid-column: span 8;  min-width: 0; }
.col-6  { grid-column: span 6;  min-width: 0; }
.col-4  { grid-column: span 4;  min-width: 0; }
.col-3  { grid-column: span 3;  min-width: 0; }
.col-2  { grid-column: span 2;  min-width: 0; }

@media (max-width: 599px) {
  .col-12,
  .col-8,
  .col-6,
  .col-4,
  .col-3 {
    grid-column: span 12;
  }
  .nav-links {
    gap: var(--space-md);
  }
  .ux-card {
    padding: var(--space-lg) var(--space-md);
  }
  .section-grid {
    gap: var(--space-md);
  }
  .ux-page {
    padding: 0 var(--space-sm);
  }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }
}

@media (max-width: 900px) {
  .col-4,
  .col-8 {
    grid-column: span 12;
  }
}

@media (max-width: 768px) {
  .col-6 {
    grid-column: span 12;
  }
  .ux-page {
    padding: 0 var(--space-md);
  }
}

/* ------------------------------------------------------------
   12. UX Page
   ------------------------------------------------------------ */
.ux-page-bg {
  background-color: #FAFAF8;
  min-height: 100vh;
}

.ux-page {
  padding: 0 var(--space-xl);
  padding-bottom: 0;
  margin-top: 0;
}

.ux-card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: var(--shadow-lg);
  padding: var(--space-3xl);
  width: 100%;
  max-width: 2200px;
  margin: 0 auto;
  min-height: calc(100vh - 120px);
}

.section-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  display: block;
}

.section-image--cover {
  height: 480px;
  object-fit: cover;
}
.section-image--card {
  height: 260px;
  object-fit: cover;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--space-sm);
  row-gap: var(--space-md);
  margin-top: var(--space-md);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-small);
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 0.375rem;
}

.chip svg,
.chip i svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.chip i {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.chip img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.chip-logo {
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  line-height: 1;
}

.chip-logo svg,
.chip-logo i {
  width: 18px;
  height: 18px;
}

.chip-tool {
  background-color: #F0F0EE;
  color: var(--color-text);
}

.chip-tool svg {
  fill: var(--color-text);
}

.chip-skill {
  background-color: #F0F0EE;
  color: var(--color-text);
}
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }

.section-company-header {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.company-logo {
  height: 64px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

.company-logo--wide {
  height: auto;
  width: 120px;
}

.methodology {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}
  margin: 0;
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--color-text);
}
@media (min-width: 600px) {
  .masonry { columns: 2; }
}

@media (min-width: 1024px) {
  .masonry { columns: 3; }
}

@media (min-width: 1440px) {
  .masonry { columns: 4; }
}

@media (min-width: 1920px) {
  .masonry { columns: 5; }
}

/* ------------------------------------------------------------
   Card overlay
   ------------------------------------------------------------ */
.card-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  pointer-events: none;
  background: rgba(0, 0, 0, 0);
  transition: background 0.45s ease;
}

.card-overlay.is-open {
  pointer-events: all;
  background: #FAFAF8;
}

.card-panel {
  position: fixed;
  background: #fff;
  overflow-y: auto;
  z-index: 101;
  border-radius: var(--radius-md);
  visibility: hidden;
  transition: top 0.45s cubic-bezier(0.32, 0.72, 0, 1),
              left 0.45s cubic-bezier(0.32, 0.72, 0, 1),
              width 0.45s cubic-bezier(0.32, 0.72, 0, 1),
              height 0.45s cubic-bezier(0.32, 0.72, 0, 1),
              border-radius 0.45s ease;
}

.card-overlay.is-open .card-panel {
  visibility: visible;
}

.card-panel.is-expanded {
  overflow-y: auto;
}

.card-close {
  position: sticky;
  top: var(--space-md);
  float: right;
  margin: var(--space-md) var(--space-md) 0 0;
  background: #F0F0EE;
  border: none;
  border-radius: 999px;
  width: 36px;
  height: 36px;
  font-size: 14px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  z-index: 1;
}

.card-panel.is-expanded .card-close {
  display: flex;
}

.card-content {
  clear: both;
  opacity: 0;
  transition: opacity 0.2s ease 0.3s;
}

.card-panel.is-expanded .card-content {
  opacity: 1;
}

.card-panel:not(.is-expanded) .card-content {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.card-content img {
  width: 100%;
  border-radius: var(--radius-md);
  display: block;
}

.card-text-block {
  /* replaced by section-grid in JS */
}

.card-grid {
  padding-left: var(--space-xl);
  padding-right: var(--space-xl);
  gap: var(--space-md);
}

.card-title {
  font-size: var(--text-h1);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.card-subtitle {
  font-size: var(--text-body);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
}

.card-body {
  margin-top: var(--space-md);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-text);
}

.card-project-image {
  width: 100%;
  display: block;
  border-radius: 0;
  margin-bottom: 4px;
}

.card-project-image:last-child {
  margin-bottom: 0;
}

.masonry-item[data-type] {
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.masonry-item[data-type]:hover {
  opacity: 0.85;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  background-color: transparent;
}

.nav-logo-img {
  height: 60px;
  width: auto;
  display: block;
}

.nav-logo-svg {
  height: 60px;
  width: auto;
  display: block;
}

.nav-logo-svg .logo-fill {
  fill: #FF2D78;
  transition: fill 0.4s ease;
}

.nav-logo-svg:hover .logo-fill {
  fill: #2D3AE0;
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
  list-style: none;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: var(--text-small);
  color: var(--color-text);
  font-weight: 500;
  white-space: nowrap;
  letter-spacing: 0.03em;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: var(--color-accent);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav--light .nav-links a {
  color: #fff;
}

.nav--light .nav-links a:hover,
.nav--light .nav-links a.active {
  color: #fff;
}

.nav--light .nav-links a::after {
  background-color: #fff;
}

.nav--light .logo-fill {
  fill: #fff;
}

.nav--light .logo-fill:hover {
  fill: #fff;
}

/* ------------------------------------------------------------
   Lightbox
   ------------------------------------------------------------ */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close {
  position: fixed;
  top: var(--space-lg);
  right: var(--space-lg);
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-prev { left: var(--space-xl); }
.lightbox-next { right: var(--space-xl); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255,255,255,0.3);
}
   ------------------------------------------------------------ */
@keyframes fade-in {
  from { opacity: 0; }
}

@keyframes fade-out {
  to { opacity: 0; }
}

@keyframes slide-from-right {
  from { transform: translateX(40px); opacity: 0; }
}

@keyframes slide-to-left {
  to { transform: translateX(-40px); opacity: 0; }
}

::view-transition-old(root) {
  animation: 300ms ease fade-out;
}

::view-transition-new(root) {
  animation: 300ms ease fade-in;
}

::view-transition-old(antheia-hero),
::view-transition-new(antheia-hero) {
  animation: none;
  mix-blend-mode: normal;
}

/* ------------------------------------------------------------
   Project pages
   ------------------------------------------------------------ */
.masonry-item--link {
  display: block;
  text-decoration: none;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.masonry-item-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(45, 58, 224, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: background-color 0.3s ease;
}

.masonry-item-title {
  color: #fff;
  font-size: var(--text-h5);
  font-weight: 600;
  text-align: center;
  padding: 0 var(--space-md);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.masonry-item--link:hover .masonry-item-overlay {
  background-color: rgba(45, 58, 224, 0.82);
}

.masonry-item--link:hover .masonry-item-title {
  opacity: 1;
  transform: translateY(0);
}

.project-hero {
  display: none;
}

.project-hero-image {
  display: none;
}

.project-card {
  margin-top: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.project-back {
  display: inline-flex;
  color: var(--color-accent);
}

.project-back:hover {
  color: var(--color-accent-hover);
}

@media (max-width: 768px) {
  .project-hero-image {
    display: none;
  }
}

/* ------------------------------------------------------------
   Project page — full background
   ------------------------------------------------------------ */
.project-page {
  background-color: var(--project-bg);
  background-image: var(--project-img);
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: top center;
  min-height: 100vh;
}

.project-page .site-header {
  background-color: transparent;
  padding: var(--space-lg) var(--space-xl);
}

.nav--pill {
  background-color: transparent;
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-lg);
  box-shadow: none;
}

.project-main {
  padding: 0 var(--space-xl);
  padding-bottom: 0;
  margin-top: 220px;
}

@media (max-width: 768px) {
  .project-main {
    padding: 0 var(--space-sm);
    padding-bottom: 0;
    margin-top: 80px;
  }
  .ux-card {
    padding: var(--space-xl) var(--space-md);
  }
  .ux-page {
    padding: 0 var(--space-sm);
  }
  .nav {
    padding: var(--space-md) var(--space-lg) var(--space-md) var(--space-md);
  }
  .nav-links {
    gap: var(--space-md);
  }
  .site-header,
  .project-page .site-header {
    padding: var(--space-sm) 0;
  }
  .masonry {
    padding: var(--space-sm) var(--space-sm);
  }
}

.masonry-item--placeholder-tile {
  background-color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
}

.masonry-placeholder-title {
  color: #fff;
  font-size: var(--text-h5);
  font-weight: 600;
  text-align: center;
  padding: 0 var(--space-md);
}
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-xs);
}

.character-name {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.character-role {
  font-size: var(--text-small);
  color: var(--color-text-muted);
  margin: 0;
}

.project-notification-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-lg);
  padding: 0 var(--space-xl);
}

.notification-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  display: block;
}

.calendar-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.calendar-stack-item {
  width: 100%;
  display: block;
}

@media (max-width: 900px) {
  .project-notification-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .project-calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .project-notification-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 var(--space-md);
  }
  .project-calendar-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 var(--space-md);
  }
}
