/* Reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }

@font-face {
  font-family: 'Lora';
  src: url('../fonts/Lora-2.woff2') format('woff2'); /* Adjusting to one of the downloaded */
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Lora';
  src: url('../fonts/Lora-4.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/PublicSans-2.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Public Sans';
  src: url('../fonts/PublicSans-0.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Typography base */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.2;
    margin-bottom: var(--space-4);
    font-weight: 700;
}
p {
    margin-bottom: var(--space-4);
}
a {
    color: var(--color-link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
a:hover {
    color: var(--color-link-hover);
}

/* Layout Utilities */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

.grid {
    display: grid;
    gap: var(--space-8);
}
@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
    .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Specific Section Layouts - Editorial/Brutalist */
.section { padding: var(--space-16) 0; }
.section-alt { background-color: var(--color-bg-alt); }
.section-dark {
    background-color: var(--color-text);
    color: var(--color-bg);
}
.section-dark h1, .section-dark h2, .section-dark h3 {
    color: var(--color-bg);
}

.editorial-spread {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}
@media (min-width: 1024px) {
    .editorial-spread { grid-template-columns: 4fr 8fr; gap: var(--space-12); }
}

/* Shared Components */
.site-header {
    border-bottom: 2px solid var(--color-text);
    padding: var(--space-4) 0;
    margin-bottom: var(--space-8);
}
.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}
.site-logo {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    text-decoration: none;
    color: var(--color-text);
}
.nav-links {
    display: flex;
    gap: var(--space-6);
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.nav-links a[aria-current="page"] {
    border-bottom: 3px solid var(--color-accent);
}

.site-footer {
    border-top: 2px solid var(--color-text);
    padding: var(--space-8) 0;
    margin-top: var(--space-16);
    font-size: var(--text-sm);
}
