/*
Theme Name: Viera
Theme URI: https://vieraink.com
Author: Isaac Viera / FairForge
Author URI: https://fairforge.io
Description: A minimal, terminal-inspired WordPress theme for photographers and creative professionals. Built for speed, designed for impact. Integrates seamlessly with Share-one-Drive for OneDrive-backed galleries and file delivery.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viera
Tags: photography, portfolio, minimal, dark-mode, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, blog, one-column, two-columns
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
*/

/* ═══════════════════════════════════════════
   CSS VARIABLES
   ═══════════════════════════════════════════ */

:root {
    /* Light mode */
    --bg-primary: #faf9f7;
    --bg-secondary: #f0eeeb;
    --bg-tertiary: #e5e2dd;
    --bg-card: #ffffff;
    --text-primary: #1a1a18;
    --text-secondary: #5a5a56;
    --text-tertiary: #8a8a84;
    --text-accent: #2d5a27;
    --border-color: #d4d1cc;
    --border-subtle: #e8e6e2;
    --accent: #2d5a27;
    --accent-hover: #1e3d1a;
    --accent-subtle: rgba(45, 90, 39, 0.08);
    --code-bg: #f5f3f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.08);
    --box-char: "┌─┐│└─┘├┤┬┴┼";
}

[data-theme="dark"] {
    --bg-primary: #0e0e0c;
    --bg-secondary: #1a1a18;
    --bg-tertiary: #242422;
    --bg-card: #161614;
    --text-primary: #e8e6e2;
    --text-secondary: #a0a09a;
    --text-tertiary: #6a6a64;
    --text-accent: #7dba74;
    --border-color: #2e2e2a;
    --border-subtle: #222220;
    --accent: #7dba74;
    --accent-hover: #9dd496;
    --accent-subtle: rgba(125, 186, 116, 0.08);
    --code-bg: #1e1e1c;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
    --shadow-md: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.4);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'IBM Plex Mono', 'SF Mono', 'Fira Code', monospace;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ═══════════════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
    font-family: 'Instrument Serif', 'Playfair Display', Georgia, serif;
    font-weight: 400;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

a {
    color: var(--text-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

strong, b {
    font-weight: 600;
}

small {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

blockquote {
    border-left: 2px solid var(--accent);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-secondary);
}

code, pre {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    background: var(--code-bg);
    border-radius: 3px;
}

code {
    padding: 0.15em 0.4em;
}

pre {
    padding: 1.5rem;
    overflow-x: auto;
    border: 1px solid var(--border-color);
    margin: 1.5rem 0;
}

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */

.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-container--narrow {
    max-width: 800px;
}

.site-container--wide {
    max-width: 1400px;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
    padding: 0 2rem;
    transition: background-color 0.3s ease;
}

.site-header__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.site-logo {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-logo::before {
    content: "▸";
    color: var(--accent);
}

.site-logo img {
    max-height: 32px;
    width: auto;
}

/* Navigation */
.site-nav ul {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
}

.site-nav a {
    display: block;
    padding: 0.5rem 0.875rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.site-nav a:hover,
.site-nav .current-menu-item a,
.site-nav .current_page_item a {
    color: var(--text-primary);
    background: var(--accent-subtle);
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8125rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--text-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    border-radius: 4px;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */

.hero {
    padding: 6rem 0 4rem;
    border-bottom: 1px solid var(--border-color);
}

.hero__label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero__label::before {
    content: "───";
    color: var(--accent);
}

.hero__title {
    margin-bottom: 1.5rem;
}

.hero__subtitle {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.8;
}

.hero__cta {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8125rem;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
}

.btn--primary {
    background: var(--accent);
    color: #ffffff;
    border-color: var(--accent);
}

.btn--primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn--outline:hover {
    border-color: var(--accent);
    color: var(--text-accent);
    background: var(--accent-subtle);
}

/* ═══════════════════════════════════════════
   SECTIONS
   ═══════════════════════════════════════════ */

.section {
    padding: 5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.section:last-child {
    border-bottom: none;
}

.section__header {
    margin-bottom: 3rem;
}

.section__label {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section__label::before {
    content: "┌";
    color: var(--accent);
    font-size: 0.875rem;
}

/* ═══════════════════════════════════════════
   TERMINAL CARD (TUI Component)
   ═══════════════════════════════════════════ */

.tui-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tui-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.tui-card__bar {
    display: flex;
    align-items: center;
    padding: 0.5rem 0.875rem;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    gap: 0.5rem;
}

.tui-card__bar::before {
    content: "● ● ●";
    font-size: 0.5rem;
    letter-spacing: 0.25em;
    color: var(--text-tertiary);
}

.tui-card__body {
    padding: 1.5rem;
}

.tui-card__image {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    display: block;
}

.tui-card__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tui-card__meta {
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.75rem;
}

.tui-card__excerpt {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   GRID LAYOUTS
   ═══════════════════════════════════════════ */

.grid {
    display: grid;
    gap: 1.5rem;
}

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

.grid--portfolio {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.grid--masonry {
    columns: 3;
    column-gap: 1.5rem;
}

.grid--masonry > * {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

/* ═══════════════════════════════════════════
   GALLERY / SHARE-ONE-DRIVE INTEGRATION
   ═══════════════════════════════════════════ */

.gallery-section {
    padding: 5rem 0;
}

/* Override Share-one-Drive default styles to match theme */
.wpcp-module {
    font-family: 'IBM Plex Mono', monospace !important;
}

.wpcp-module .entry-info-name {
    font-family: 'Instrument Serif', Georgia, serif !important;
}

/* Client Gallery Portal */
.client-portal {
    padding: 4rem 0;
}

.client-portal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.client-portal__welcome {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════
   STATUS BAR (tmux-inspired footer element)
   ═══════════════════════════════════════════ */

.status-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    z-index: 99;
}

.status-bar__left,
.status-bar__right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.status-bar__item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.status-bar__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.status-bar__dot--warn {
    background: #d4a017;
}

/* ═══════════════════════════════════════════
   SERVICES / PACKAGES
   ═══════════════════════════════════════════ */

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
    transition: all 0.2s ease;
}

.pricing-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
}

.pricing-card--featured {
    border-color: var(--accent);
    position: relative;
}

.pricing-card--featured::before {
    content: "recommended";
    position: absolute;
    top: -0.6rem;
    left: 1rem;
    background: var(--accent);
    color: #fff;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 0.2rem 0.75rem;
    border-radius: 2px;
}

.pricing-card__name {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.pricing-card__price {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.pricing-card__period {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    margin-bottom: 1.5rem;
}

.pricing-card__features {
    list-style: none;
    margin-bottom: 2rem;
}

.pricing-card__features li {
    padding: 0.4rem 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-card__features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 600;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */

.testimonial {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
}

.testimonial__text {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial__text::before {
    content: """;
    font-size: 3rem;
    line-height: 0;
    vertical-align: -0.5rem;
    color: var(--accent);
    margin-right: 0.25rem;
}

.testimonial__author {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

/* ═══════════════════════════════════════════
   CONTACT / FORMS
   ═══════════════════════════════════════════ */

.form-section {
    max-width: 600px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: border-color 0.2s ease;
    outline: none;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-subtle);
}

label {
    display: block;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

/* Contact Form 7 overrides */
.wpcf7 input[type="submit"] {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    padding: 0.75rem 2rem;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8125rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.wpcf7 input[type="submit"]:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* ═══════════════════════════════════════════
   BLOG / POSTS
   ═══════════════════════════════════════════ */

.post-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.post-item {
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-subtle);
}

.post-item:last-child {
    border-bottom: none;
}

.post-item__date {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-bottom: 0.5rem;
}

.post-item__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.post-item__title a {
    color: var(--text-primary);
}

.post-item__title a:hover {
    color: var(--text-accent);
}

.post-item__excerpt {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Single Post */
.post-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 0 5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 2rem 0;
}

.post-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.post-content h3 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.post-content ul, .post-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.post-content li {
    margin-bottom: 0.5rem;
}

/* ═══════════════════════════════════════════
   WooCommerce OVERRIDES
   ═══════════════════════════════════════════ */

.woocommerce .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.woocommerce .product {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.woocommerce .product:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.woocommerce .product .woocommerce-loop-product__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.125rem;
    padding: 0.75rem 1rem 0;
}

.woocommerce .product .price {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 1rem;
    color: var(--accent);
    padding: 0.5rem 1rem;
}

.woocommerce .button,
.woocommerce .added_to_cart {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 4rem;
    margin-bottom: 28px; /* space for status bar */
}

.site-footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.site-footer__brand {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.site-footer__brand a {
    color: var(--text-secondary);
}

.site-footer__links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}

.site-footer__links a {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.site-footer__links a:hover {
    color: var(--text-accent);
}

.site-footer__copy {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.6875rem;
    color: var(--text-tertiary);
    margin-top: 2rem;
    width: 100%;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-subtle);
}

/* ═══════════════════════════════════════════
   PAGE TEMPLATES
   ═══════════════════════════════════════════ */

.page-header {
    padding: 4rem 0 2rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 3rem;
}

.page-header__title {
    margin-bottom: 0.75rem;
}

.page-header__description {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    max-width: 600px;
}

/* ═══════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════ */

.pagination {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    padding: 3rem 0;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.875rem;
}

.pagination a,
.pagination span {
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination a:hover {
    border-color: var(--accent);
    color: var(--text-accent);
}

.pagination .current {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* ═══════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════ */

.error-404 {
    text-align: center;
    padding: 8rem 0;
}

.error-404__code {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 8rem;
    font-weight: 600;
    color: var(--border-color);
    line-height: 1;
}

.error-404__message {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin: 1rem 0 2rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 768px) {
    .site-header__inner {
        height: 56px;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-color);
        padding: 1rem 2rem;
    }

    .site-nav.active {
        display: block;
    }

    .site-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .site-nav a {
        padding: 0.75rem 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    .grid--2,
    .grid--3,
    .grid--4 {
        grid-template-columns: 1fr;
    }

    .grid--masonry {
        columns: 1;
    }

    .site-footer__inner {
        flex-direction: column;
    }

    .status-bar {
        display: none;
    }

    .site-footer {
        margin-bottom: 0;
    }

    .section {
        padding: 3rem 0;
    }

    .site-container {
        padding: 0 1.25rem;
    }
}

@media (max-width: 480px) {
    .hero__cta {
        flex-direction: column;
    }

    .btn {
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════ */

.text-center { text-align: center; }
.text-mono { font-family: 'IBM Plex Mono', monospace; }
.text-serif { font-family: 'Instrument Serif', Georgia, serif; }
.text-muted { color: var(--text-tertiary); }
.text-accent { color: var(--text-accent); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ═══════════════════════════════════════════
   PRINT
   ═══════════════════════════════════════════ */

@media print {
    .site-header,
    .site-footer,
    .status-bar,
    .theme-toggle,
    .menu-toggle {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a { color: #000; text-decoration: underline; }
}
