/* ═══════════════════════════════════════════════════════════════
   MINIMALIST MONOCHROME DESIGN SYSTEM
   veronikapaulusova.cz
   ═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
    --bg: #FFFFFF;
    --fg: #000000;
    --muted: #F5F5F5;
    --muted-fg: #525252;
    --accent: #ff6600;
    --accent-hover: #e85d00;
    --border: #000000;
    --border-light: #E5E5E5;
    --inverted-bg: #000000;
    --inverted-fg: #FFFFFF;

    --font-display: "Playfair Display", Georgia, serif;
    --font-body: "Source Serif 4", Georgia, serif;
    --font-mono: "JetBrains Mono", monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--fg);
    line-height: 1.7;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Noise texture overlay on body */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9999;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.018;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.heading-9xl {
    font-size: clamp(4rem, 10vw, 10rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.heading-7xl {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1;
    letter-spacing: -0.035em;
}

.heading-5xl {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.1;
}

.heading-4xl {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    line-height: 1.15;
}

.heading-3xl {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.2;
}

.label-mono {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted-fg);
}

.text-muted {
    color: var(--muted-fg);
}

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

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

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

/* Border utilities */
.rule-thick {
    border: none;
    border-top: 4px solid var(--border);
    margin: 0;
}

.rule-ultra {
    border: none;
    border-top: 8px solid var(--border);
    margin: 0;
}

.rule-thin {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0;
}

.rule-light {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════════ */

.site-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    max-width: 1080px;
    margin: 0 auto;
}

.site-nav__name {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--fg);
    text-decoration: none;
}

.site-nav__name:hover {
    color: var(--accent);
}

.site-nav__links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}

.site-nav__links a {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--muted-fg);
    text-decoration: none;
    transition: color 0.2s;
}

.site-nav__links a:hover,
.site-nav__links a.active {
    color: var(--fg);
}

.nav-border {
    border-bottom: 1px solid var(--border);
}

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    padding: 0.4rem 0.6rem;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--fg);
}

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

.hero {
    padding: 5rem 2rem 4rem;
    max-width: 1080px;
    margin: 0 auto;
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 9vw, 8rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    margin-bottom: 4.5rem;
}

.hero__bottom {
    display: flex;
    justify-content: flex-end;
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted-fg);
    max-width: 520px;
}

/* ═══════════════════════════════════════════════════════════════
   INVERTED / MANIFESTO SECTION
   ═══════════════════════════════════════════════════════════════ */

.section-inverted {
    background: var(--inverted-bg);
    color: var(--inverted-fg);
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.section-inverted::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 1px,
        rgba(255,255,255,0.03) 1px,
        rgba(255,255,255,0.03) 2px
    );
    background-size: 4px 100%;
    pointer-events: none;
}

.manifesto__text {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-style: italic;
}

/* ═══════════════════════════════════════════════════════════════
   PHILOSOPHY SECTION (editorial 2-column)
   ═══════════════════════════════════════════════════════════════ */

.philosophy {
    max-width: 1080px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.philosophy__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-top: 4px solid var(--border);
}

.philosophy__heading {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    padding-top: 1.5rem;
}

.philosophy__index {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--muted-fg);
    letter-spacing: 0.02em;
    padding-top: 1.5rem;
}

.philosophy__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Figure with label */
.philosophy__figure {
    position: relative;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.philosophy__figure-img {
    width: 100%;
    display: block;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    background: var(--muted);
}

.philosophy__figure-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--inverted-bg);
    color: var(--inverted-fg);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.5rem 1rem;
}

/* Drop cap */
.philosophy__body {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--fg);
}

.philosophy__lead {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.philosophy__lead::first-letter {
    font-family: var(--font-display);
    font-size: 4rem;
    float: left;
    line-height: 0.8;
    padding-right: 0.6rem;
    padding-top: 0.15rem;
    font-weight: 700;
    color: var(--fg);
}

.philosophy__text {
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.philosophy__pillars {
    list-style: none;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.philosophy__pillars li {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--fg);
    padding-left: 1.25rem;
    position: relative;
}

.philosophy__pillars li::before {
    content: "•";
    position: absolute;
    left: 0;
}

/* ═══════════════════════════════════════════════════════════════
   SECTIONS (general)
   ═══════════════════════════════════════════════════════════════ */

.section {
    padding: 5rem 2rem;
    max-width: 1080px;
    margin: 0 auto;
}

.section__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3rem;
}

.section__title {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 5vw, 3.5rem);
}

.section__link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ═══════════════════════════════════════════════════════════════
   PROJECT CARDS
   ═══════════════════════════════════════════════════════════════ */

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

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
    transition: border-color 0.2s;
}

.project-card:first-child {
    padding-top: 0;
}

.project-card:last-child {
    border-bottom: none;
}

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

.project-card__image {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: 0;
}

.project-card__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-card__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
}

.project-card__desc {
    color: var(--muted-fg);
    font-size: 1rem;
    line-height: 1.7;
}

.project-card__features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.project-card__features li {
    font-size: 0.95rem;
    color: var(--muted-fg);
    padding-left: 1.25rem;
    position: relative;
}

.project-card__features li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--border-light);
}

.project-card__features strong {
    color: var(--fg);
    font-weight: 500;
}

/* Compact project cards (homepage preview) */
.project-card--compact {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.5rem 0;
}

.project-card--compact .project-card__image {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════
   BLOG LIST
   ═══════════════════════════════════════════════════════════════ */

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

.blog-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 2rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--border-light);
    transition: border-color 0.2s;
}

.blog-item:hover {
    border-color: var(--border);
}

.blog-item__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 400;
}

.blog-item__title a {
    color: var(--fg);
    text-decoration: none;
}

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

.blog-item__date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted-fg);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.blog-empty {
    padding: 3rem 0;
    text-align: center;
    color: var(--muted-fg);
    font-style: italic;
    font-size: 1.05rem;
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE (blog post)
   ═══════════════════════════════════════════════════════════════ */

.article-back {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted-fg);
    margin-bottom: 2.5rem;
}

.article-back:hover {
    color: var(--fg);
}

.article-header {
    margin-bottom: 1.5rem;
}

.article-header__title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.article-header__date {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted-fg);
    letter-spacing: 0.02em;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.25rem;
}

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

.article-content strong {
    font-weight: 600;
    color: var(--fg);
}

.article-content code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--fg);
    color: var(--inverted-fg);
    padding: 0.15em 0.4em;
    border-radius: 0;
}

.article-content blockquote {
    border-left: 4px solid var(--border);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--muted-fg);
}

/* ═══════════════════════════════════════════════════════════════
   PROMPT BLOCK (terminal component)
   ═══════════════════════════════════════════════════════════════ */

.prompt-block {
    background: #0a0a0a;
    border: 1px solid #2a2a2a;
    margin: 2rem 0;
    overflow: hidden;
}

.prompt-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1.25rem;
    background: #141414;
    border-bottom: 1px solid #2a2a2a;
}

.prompt-dots {
    display: flex;
    gap: 6px;
}

.prompt-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.prompt-dots span:nth-child(1) { background: #ff5f57; }
.prompt-dots span:nth-child(2) { background: #febc2e; }
.prompt-dots span:nth-child(3) { background: #28c840; }

.prompt-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
    flex: 1;
}

.prompt-copy {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    background: transparent;
    border: 1px solid #333;
    padding: 0.3rem 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.prompt-copy:hover {
    color: #fff;
    border-color: #555;
}

.prompt-copy.copied {
    color: var(--accent);
    border-color: var(--accent);
}

.prompt-body {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.65;
    color: #d4d4d4;
    padding: 1.5rem;
    white-space: pre-wrap;
    word-break: break-word;
    overflow-x: auto;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.contact-content p {
    margin-bottom: 1.5rem;
}

.contact-photo {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.contact-photo__img {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    object-fit: cover;
}

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

.site-footer {
    border-top: 8px solid var(--border);
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.site-footer__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: end;
}

.site-footer__copy {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted-fg);
    letter-spacing: 0.02em;
    line-height: 1.6;
}

.site-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.site-footer__links a {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--muted-fg);
    text-decoration: none;
    transition: color 0.2s;
}

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

.site-footer__contact {
    text-align: right;
}

.site-footer__contact a {
    font-family: var(--font-body);
    font-size: 1.05rem;
    color: var(--fg);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 2px;
    transition: border-color 0.2s;
}

.site-footer__contact a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ═══════════════════════════════════════════════════════════════
   PAGE-SPECIFIC STYLES
   ═══════════════════════════════════════════════════════════════ */

.page-header {
    padding: 5rem 2rem 3rem;
    max-width: 1080px;
    margin: 0 auto;
}

.page-header__title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 400;
    margin-bottom: 1rem;
}

.page-header__intro {
    font-size: 1.1rem;
    color: var(--muted-fg);
    max-width: 640px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   FEATURE CARDS (3-column grid with numbered labels)
   ═══════════════════════════════════════════════════════════════ */

.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    max-width: 1080px;
    margin: 0 auto;
    margin-top: 2rem;
}

.feature-card {
    border: 1px solid var(--border-light);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card + .feature-card {
    border-left: none;
}

.feature-card__number {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 500;
    border: 1px solid var(--border);
    display: inline-block;
    padding: 0.2rem 0.5rem;
    width: fit-content;
    letter-spacing: 0.02em;
}

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.feature-card__desc {
    font-size: 0.95rem;
    color: var(--muted-fg);
    line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════════════
   STATS SECTION (inverted with big numbers)
   ═══════════════════════════════════════════════════════════════ */

.stats-section {
    background: var(--inverted-bg);
    color: var(--inverted-fg);
    padding: 5rem 2rem 6rem;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 1px,
        rgba(255,255,255,0.03) 1px,
        rgba(255,255,255,0.03) 2px
    );
    background-size: 4px 100%;
    pointer-events: none;
}

.stats-section__inner {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
}

.stats-section__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.stats-section__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    font-style: italic;
}

.stats-section__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.5);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item__number {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.stat-item__label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.45);
}

.stats-section__quote {
    font-family: var(--font-display);
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-style: italic;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   PROJECT FEATURED (single project with image)
   ═══════════════════════════════════════════════════════════════ */

.project-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.project-featured__image {
    width: 100%;
    border: 1px solid var(--border-light);
    border-radius: 0;
}

.project-featured__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-featured__title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 400;
}

.project-featured__desc {
    color: var(--muted-fg);
    font-size: 1rem;
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════════
   BLOG CARD GRID (3-column cards for homepage)
   ═══════════════════════════════════════════════════════════════ */

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    border: 1px solid var(--border-light);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color 0.2s;
}

.blog-card:hover {
    border-color: var(--border);
}

.blog-card__date {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted-fg);
    letter-spacing: 0.02em;
}

.blog-card__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.25;
}

.blog-card__title a {
    color: var(--fg);
    text-decoration: none;
}

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

.blog-card__desc {
    font-size: 0.9rem;
    color: var(--muted-fg);
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .site-nav {
        padding: 1.5rem;
    }

    .site-nav__links {
        display: none;
        flex-direction: column;
        gap: 1.5rem;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg);
        padding: 1.5rem 2rem 2rem;
        border-bottom: 1px solid var(--border);
        z-index: 100;
    }

    .site-nav__links.is-open {
        display: flex;
    }

    .site-nav {
        position: relative;
    }

    .nav-toggle {
        display: block;
    }

    .hero {
        padding: 3rem 1.5rem 3rem;
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .section-inverted {
        padding: 4rem 1.5rem;
    }

    .project-card {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .page-header {
        padding: 3rem 1.5rem 2rem;
    }

    .site-footer__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .site-footer__links {
        align-items: flex-start;
    }

    .site-footer__contact {
        text-align: left;
    }

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

    .contact-photo {
        order: 1;
    }

    .contact-content {
        order: 2;
    }

    .blog-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .philosophy {
        padding: 3rem 1.5rem;
    }

    .philosophy__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .philosophy__figure-img {
        aspect-ratio: 4 / 3;
    }

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .feature-card + .feature-card {
        border-left: 1px solid var(--border-light);
        border-top: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .stats-section {
        padding: 3.5rem 1.5rem;
    }

    .project-featured {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .blog-card-grid {
        grid-template-columns: 1fr;
    }

    .container, .container--narrow {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .hero {
        padding: 2.5rem 1.25rem 2.5rem;
    }

    .section {
        padding: 2.5rem 1.25rem;
    }

    .container, .container--narrow {
        padding: 0 1.25rem;
    }
}
