/*
Theme Name: Bplay Future
Theme URI: https://example.com/bplay-future
Author: Bplay
Description: Статическая главная Bplay и динамический минималистичный блог без метаданных и комментариев.
Version: 1.1.0
Text Domain: bplay
Requires at least: 6.0
Requires PHP: 7.4
*/

:root {
  --paper: #f4f5ef;
  --paper-2: #e9ece3;
  --ink: #10251e;
  --muted: #53635d;
  --emerald: #063f32;
  --acid: #dfff00;
  --acid-soft: #edff75;
  --line: rgba(16, 37, 30, .16);
  --shadow: 0 24px 80px rgba(19, 57, 44, .18);
  --radius: 18px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Segoe UI Variable", "Aptos", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 50; opacity: .18; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
p { color: var(--muted); line-height: 1.72; font-size: clamp(1rem, 1.1vw, 1.14rem); margin: 0 0 1.25rem; }
h1, h2, h3 { margin: 0; letter-spacing: -.055em; line-height: .96; }
h2 { font-size: clamp(3rem, 6vw, 7.2rem); font-weight: 760; }

.site-header { position: fixed; top: 0; left: 0; right: 0; height: var(--header-h); z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 3vw; color: #f7f8f2; background: linear-gradient(180deg, rgba(6, 25, 20, .72), transparent); backdrop-filter: blur(10px); }
.brand { justify-self: start; display: block; width: clamp(104px, 8vw, 128px); line-height: 0; }
.brand img, .footer-brand img { display: block; width: 100%; height: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3.5rem); font-size: .96rem; }
.site-header nav > a { transition: opacity .3s ease, transform .3s ease; }
.site-header nav > a:hover { opacity: .7; transform: translateY(-2px); }
.nav-cta { position: fixed; right: 3vw; top: 13px; display: flex; gap: .55rem; align-items: center; padding: .75rem 1rem .75rem 1.3rem; color: var(--emerald); background: var(--acid); border-radius: 999px; font-weight: 700; }
.nav-cta svg { width: 20px; height: 20px; }
.menu-button { display: none; justify-self: end; width: 44px; height: 44px; border: 0; border-radius: 50%; color: var(--emerald); background: var(--acid); place-items: center; }

.hero { min-height: 100dvh; position: relative; display: flex; align-items: flex-end; overflow: hidden; color: #f7f8f2; background: var(--emerald); padding: 0 4vw 7vh; }
.image-shell { display: block; position: relative; overflow: hidden; background: #d8ddd3; }
.image-shell img { width: 100%; height: 100%; display: block; object-fit: cover; opacity: 0; transition: opacity .6s ease, transform .9s cubic-bezier(.16,1,.3,1); }
.image-shell.is-loaded img { opacity: 1; }
.image-skeleton { position: absolute; inset: 0; background: linear-gradient(100deg, #dfe3da 20%, #eef1e9 40%, #dfe3da 60%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.image-error { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; letter-spacing: .1em; }
@keyframes shimmer { to { background-position: -200% 0; } }
.hero-media, .hero-scrim { position: absolute; inset: 0; }
.hero-media img { object-position: 57% center; }
.hero-scrim { z-index: 1; background: linear-gradient(90deg, rgba(4, 33, 25, .84) 0%, rgba(4, 33, 25, .46) 45%, rgba(4, 33, 25, .04) 72%), linear-gradient(0deg, rgba(3, 23, 18, .64), transparent 45%); }
.hero-copy { position: relative; z-index: 2; width: min(1060px, 88vw); padding-top: var(--header-h); }
.type-badge { display: inline-flex; align-items: center; gap: .55rem; min-width: 150px; margin-bottom: 1.5rem; padding: .55rem .8rem; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; backdrop-filter: blur(12px); font-size: .88rem; }
.type-badge svg { color: var(--acid); }
.type-badge i { width: 2px; height: 1em; background: var(--acid); animation: blink .8s infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero h1 { max-width: 1050px; font-size: clamp(2.7rem, 5.2vw, 5.6rem); font-weight: 760; text-wrap: balance; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: .7rem; padding: .8rem 1.4rem; border-radius: 999px; font-weight: 730; white-space: nowrap; transition: transform .25s cubic-bezier(.16,1,.3,1), box-shadow .25s ease, background .25s ease; }
.button:hover { transform: translateY(-3px); }
.button:active { transform: scale(.98); }
.button-primary { color: var(--emerald); background: var(--acid); box-shadow: 0 12px 34px rgba(223,255,0,.23); }
.button-glass { color: #fff; border: 1px solid rgba(255,255,255,.45); background: rgba(8,36,28,.26); backdrop-filter: blur(16px); }
.button-dark { color: var(--paper); background: var(--emerald); }
.button-outline { border: 1px solid var(--ink); }
.hero-signal { position: absolute; right: 4vw; bottom: 6vh; z-index: 2; display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; color: var(--emerald); background: rgba(244,245,239,.88); border-radius: var(--radius); backdrop-filter: blur(14px); font-weight: 720; }

.intro-section { max-width: 1540px; margin: auto; padding: 10rem 4vw 8rem; display: grid; grid-template-columns: 72px minmax(0, 1.35fr) minmax(400px, .85fr); align-items: start; gap: clamp(1.5rem, 3vw, 3.75rem); position: relative; }
.intro-mark { width: 58px; height: 58px; display: grid; place-items: center; position: sticky; top: 7rem; color: var(--emerald); background: var(--acid); border-radius: var(--radius); font-size: 2rem; }
.intro-copy { max-width: 820px; padding-top: .25rem; }
.intro-copy .lead { max-width: 790px; margin-bottom: 2.4rem; font-size: clamp(1.65rem, 2.25vw, 2.55rem); color: var(--ink); line-height: 1.17; letter-spacing: -.035em; text-wrap: pretty; }
.intro-copy > div:not(:first-child) { max-width: 650px; }
.intro-image { height: 720px; border-radius: var(--radius); box-shadow: var(--shadow); }
.intro-image:hover img { transform: scale(1.035); }
.floating-cta { position: absolute; right: 2.5vw; bottom: 4.5rem; width: 150px; height: 150px; display: grid; place-items: center; text-align: center; padding: 1rem; border-radius: 50%; color: var(--emerald); background: var(--acid); font-weight: 750; transform: rotate(7deg); box-shadow: 0 18px 52px rgba(136,155,0,.26); }

.moments-section { padding: 8rem 4vw; background: var(--paper-2); }
.stack-title { max-width: 1100px; margin: 0 auto 5rem; text-align: center; }
.moment-layout { max-width: 1280px; margin: auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 8vw; }
.moment-prose { max-width: 520px; }
.moment-list { display: grid; }
.moment-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 1rem; align-items: start; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.moment-item > span { font: 700 .8rem ui-monospace, monospace; color: var(--muted); }
.moment-item p { margin: 0; color: var(--ink); }
.moment-item svg { margin-top: .3rem; }
.moment-after { max-width: 560px; margin: 4rem auto 0; padding: 1.5rem; border-left: 6px solid var(--acid); }
.section-image-pair { display: grid; grid-template-columns: 1.35fr .65fr; gap: 1rem; }
.section-image-pair .image-shell { min-height: 260px; border-radius: var(--radius); }
.section-image-pair .image-shell:last-child { margin-top: 4rem; }
.moment-media-pair { max-width: 1280px; margin: 5rem auto 0; }

.rhythm-section { min-height: 100dvh; display: grid; grid-template-columns: 1.05fr .95fr; background: #eef0e8; position: relative; }
.rhythm-image-wrap { min-height: 100%; padding: 2.2rem 0 2.2rem 2.2rem; }
.rhythm-image { height: 100%; min-height: 780px; border-radius: var(--radius); }
.rhythm-copy { padding: 8vw 6vw; align-self: center; }
.rhythm-copy h2 { margin-bottom: 2.5rem; }
.orbit-cta { position: absolute; left: calc(52.5% - 44px); top: 50%; width: 88px; height: 88px; display: grid; place-items: center; border-radius: 50%; color: var(--emerald); background: var(--acid); box-shadow: 0 16px 40px rgba(12,63,50,.2); }

.simple-section { padding: 9rem 4vw 11rem; max-width: 1540px; margin: auto; }
.simple-head { display: grid; grid-template-columns: 72px minmax(0, 1040px); gap: clamp(1.5rem, 3vw, 3.75rem); align-items: start; margin-bottom: 5rem; }
.simple-head > svg { width: 58px; height: 58px; padding: .8rem; color: var(--emerald); background: var(--acid); border-radius: var(--radius); }
.simple-head h2 { max-width: 1040px; font-size: clamp(3rem, 5vw, 5.6rem); line-height: .98; }
.simple-grid { display: grid; grid-template-columns: minmax(360px, .9fr) minmax(480px, 1.1fr); align-items: start; gap: clamp(3rem, 7vw, 8rem); position: relative; }
.simple-photo { border-radius: var(--radius); box-shadow: var(--shadow); }
.simple-photo.tall { grid-column: 1; grid-row: 1; width: 88%; height: 720px; }
.simple-photo.square { grid-column: 1; grid-row: 1; align-self: end; justify-self: end; width: 54%; height: 330px; margin: 0 0 -3rem; z-index: 2; border: 8px solid var(--paper); box-shadow: 0 24px 70px rgba(19, 57, 44, .28); }
.simple-copy { grid-column: 2; grid-row: 1; max-width: 680px; padding-top: .5rem; }
.simple-copy p { font-size: clamp(1rem, 1.05vw, 1.1rem); }

.functions-section { padding: 9rem 4vw; color: var(--paper); background: var(--emerald); }
.functions-section > h2, .functions-section > div, .functions-section > h3 { max-width: 1320px; margin-left: auto; margin-right: auto; }
.functions-section h2 { max-width: 1050px; margin-bottom: 4rem; }
.functions-intro { display: grid; grid-template-columns: 1fr .8fr; gap: 6vw; }
.functions-intro p, .function-after p { color: rgba(244,245,239,.72); }
.function-photo { min-height: 520px; border-radius: var(--radius); }
.functions-section h3 { margin-top: 8rem; margin-bottom: 2.5rem; font-size: clamp(2rem, 4vw, 4.6rem); }
.function-table-lead { margin-bottom: 1.5rem; }
.function-table-lead p { color: rgba(244,245,239,.72); }
.table-heading { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 1rem; padding: 0 0 1rem; color: var(--acid); font-weight: 760; }
.function-grid { display: grid; grid-template-columns: 1.2fr .8fr 1fr; grid-auto-rows: minmax(230px, auto); gap: 1rem; }
.function-cell { padding: 2rem; border-radius: var(--radius); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.function-cell span { color: var(--acid); font-size: 1.5rem; font-weight: 750; }
.function-cell p { color: rgba(244,245,239,.74); margin-top: 1rem; }
.cell-1 { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: var(--acid); }
.cell-1 span, .cell-1 p { color: var(--emerald); }
.cell-4 { background: linear-gradient(135deg, rgba(223,255,0,.2), rgba(255,255,255,.04)); }
.cell-6 { grid-column: span 2; }
.function-after { max-width: 620px !important; margin-top: 4rem !important; }
.function-media-pair { max-width: 1320px !important; margin-top: 5rem !important; }
.function-media-pair .image-shell { min-height: 340px; }

.theme-section { min-height: 100dvh; position: relative; display: grid; align-items: center; padding: 6rem 4vw; overflow: hidden; }
.theme-bg { position: absolute; inset: 0; }
.theme-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,34,26,.88), rgba(4,34,26,.38)); }
.theme-panel { position: relative; width: min(860px, 92vw); padding: clamp(3rem, 4vw, 4.5rem); color: var(--paper); background: rgba(7,48,38,.8); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); backdrop-filter: blur(22px); box-shadow: var(--shadow); }
.theme-panel h2 { max-width: 720px; margin-bottom: 2.5rem; font-size: clamp(3.4rem, 5vw, 6.2rem); line-height: .97; }
.theme-panel p { max-width: 690px; color: rgba(244,245,239,.82); }
.theme-panel .button { margin-top: 1rem; }

.review-section { width: min(100%, 1540px); margin: 0 auto; padding: 9rem 4vw 10rem; display: grid; grid-template-columns: minmax(360px, .72fr) minmax(620px, 1.28fr); grid-template-rows: auto auto auto; column-gap: clamp(4rem, 7vw, 8rem); row-gap: 1.25rem; align-items: start; overflow: hidden; }
.review-title { grid-column: 1 / -1; grid-row: 1; margin-bottom: 3.5rem; }
.review-title h2 { max-width: 1120px; font-size: clamp(3.4rem, 5.2vw, 6rem); line-height: .98; }
.review-lead { grid-column: 1; grid-row: 2; max-width: 540px; margin: 0; }
.review-lead p:last-child { margin-bottom: 0; }
.review-toolbar { grid-column: 2; grid-row: 2; align-self: end; display: flex; justify-content: flex-end; gap: .55rem; margin: 0 0 .25rem; }
.review-toolbar button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; transition: color .25s ease, background .25s ease, transform .25s ease; }
.review-toolbar button:hover { color: var(--emerald); background: var(--acid); transform: translateY(-2px); }
.review-toolbar button:active { transform: scale(.96); }
.review-track { grid-column: 2; grid-row: 3; display: flex; width: 100%; gap: 1rem; overflow-x: scroll; overflow-y: hidden; padding: .25rem 0 1rem; scroll-snap-type: x mandatory; scroll-padding-inline: 0; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; touch-action: auto; scrollbar-width: thin; scrollbar-color: var(--emerald) var(--paper-2); cursor: grab; }
.review-track:active { cursor: grabbing; }
.review-track:focus-visible { outline: 3px solid var(--acid); outline-offset: 6px; }
.review-track::-webkit-scrollbar { height: 8px; }
.review-track::-webkit-scrollbar-track { background: var(--paper-2); border-radius: 999px; }
.review-track::-webkit-scrollbar-thumb { background: var(--emerald); border-radius: 999px; }
.gallery-strip::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 calc(50% - .5rem); min-height: 390px; padding: 2rem; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--paper-2); scroll-snap-align: start; scroll-snap-stop: always; }
.review-card:nth-child(2), .review-card:nth-child(5) { background: var(--acid); }
.review-card > span { font-size: .8rem; font-weight: 800; }
.review-card h3 { margin-top: auto; font-size: 1.7rem; }
.review-card p { margin-top: 1rem; }
.review-notes { grid-column: 1; grid-row: 3; max-width: 540px; margin: 0; padding-top: .25rem; }

.gallery-section { padding: 7rem 0 5rem; color: var(--paper); background: #0a2921; overflow: hidden; }
.gallery-head { display: flex; align-items: flex-end; justify-content: space-between; padding: 0 4vw 3rem; }
.gallery-label { display: inline-flex; padding: .65rem 1rem; border-radius: 999px; color: var(--emerald); background: var(--acid); font-weight: 760; }
.gallery-controls { display: flex; gap: .55rem; }
.gallery-controls button { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--paper); background: transparent; cursor: pointer; }
.gallery-stage { height: min(60vw, 680px); min-height: 480px; position: relative; margin: 0 4vw; }
.gallery-main, .gallery-main > .image-shell { width: 100%; height: 100%; border-radius: var(--radius); }
.gallery-count { position: absolute; right: 1.5rem; bottom: 1.5rem; padding: 1rem 1.2rem; color: var(--emerald); background: var(--acid); border-radius: var(--radius); }
.gallery-count strong { font-size: 2rem; }
.gallery-count span { margin-left: .4rem; }
.gallery-thumbs { width: min(100%, 880px); margin: 0 auto; padding: 1.4rem 2rem 0; display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 1rem; box-sizing: border-box; }
.gallery-thumb-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: var(--paper); background: transparent; cursor: pointer; }
.gallery-thumb-arrow:hover { color: var(--emerald); background: var(--acid); }
.gallery-strip { min-width: 0; position: relative; display: flex; gap: .65rem; overflow-x: auto; padding: .25rem 0 .7rem; scrollbar-width: none; scroll-snap-type: x mandatory; overscroll-behavior-inline: contain; -webkit-overflow-scrolling: touch; touch-action: pan-x; cursor: grab; }
.gallery-strip:active { cursor: grabbing; }
.gallery-strip button { width: 128px; min-width: 128px; height: 82px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: transparent; opacity: .54; cursor: pointer; scroll-snap-align: center; }
.gallery-strip button.is-active { opacity: 1; border-color: var(--acid); }
.gallery-strip .image-shell { width: 100%; height: 100%; }

.variety-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: 5vw; padding: 10rem 4vw; align-items: center; }
.variety-copy h2 { margin-bottom: 2rem; }
.variety-copy .button { margin-top: 1rem; }
.variety-collage { display: grid; grid-template-columns: 1fr .8fr; grid-template-rows: 340px 340px; gap: 1rem; }
.variety-collage .image-shell { border-radius: var(--radius); }
.variety-collage .image-shell:first-child { grid-row: span 2; }

.comparison-section { padding: 10rem 4vw; display: grid; grid-template-columns: minmax(340px, .78fr) minmax(600px, 1.22fr); grid-template-rows: auto auto auto auto; column-gap: clamp(4rem, 7vw, 8rem); row-gap: 2rem; align-items: start; background: var(--paper-2); }
.comparison-title { grid-column: 1; grid-row: 1; }
.comparison-title h2 { max-width: 620px; font-size: clamp(3.5rem, 5.2vw, 6.2rem); line-height: .95; }
.comparison-prose { grid-column: 2; grid-row: 1; max-width: 720px; margin: .5rem 0 1.5rem; }
.comparison-prose p:first-child { font-size: 1.25rem; color: var(--ink); }
.comparison-heading { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: .62fr 1.38fr; gap: 4.5rem; padding: 0 1.5rem; color: var(--muted); font-size: .78rem; font-weight: 760; text-transform: uppercase; letter-spacing: .04em; }
.comparison-board { grid-column: 2; grid-row: 3; display: grid; gap: .75rem; }
.comparison-row { min-height: 112px; display: grid; grid-template-columns: .62fr 44px 1.38fr; align-items: center; gap: 1.25rem; padding: 1.35rem 1.5rem; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.58); transition: transform .3s ease, background .3s ease, border-color .3s ease; }
.comparison-row:hover { transform: translateX(8px); border-color: rgba(5,59,47,.24); background: #fff; }
.comparison-row:nth-child(2) { background: var(--acid); border-color: var(--acid); }
.comparison-row span { font-size: 1.05rem; color: var(--muted); }
.comparison-row svg { width: 42px; height: 42px; padding: 11px; color: var(--emerald); border: 1px solid var(--line); border-radius: 50%; }
.comparison-row strong { font-size: clamp(1.2rem, 1.65vw, 1.75rem); line-height: 1.15; }
.comparison-after-wrap { grid-column: 2; grid-row: 4; }
.comparison-after { max-width: 720px; margin: 1.5rem 0 0; padding-left: 1.5rem; border-left: 5px solid var(--acid); }
.comparison-media-pair { grid-column: 1; grid-row: 2 / span 3; width: 100%; max-width: 620px; margin: 0; grid-template-columns: 1fr .62fr; align-self: end; }
.comparison-media-pair .image-shell { min-height: 390px; }
.comparison-media-pair .image-shell:last-child { min-height: 280px; margin-top: 6rem; }

.responsible-section { width: min(100%, 1600px); margin: auto; padding: 10rem 4vw; display: grid; grid-template-columns: minmax(500px, 1.08fr) minmax(430px, .92fr); gap: clamp(4rem, 7vw, 8rem); align-items: center; }
.responsible-photo { width: 100%; height: min(76vh, 780px); min-height: 660px; border-radius: var(--radius); }
.responsible-photo img { object-position: center; }
.responsible-content { max-width: 640px; }
.responsible-heading { display: block; margin-bottom: 3rem; }
.responsible-icon { width: 88px; height: 88px; display: grid; place-items: center; border-radius: var(--radius); color: var(--emerald); background: var(--acid); }
.responsible-icon svg { width: 50px; height: 50px; }
.responsible-heading .responsible-icon { margin-bottom: 1.5rem; }
.responsible-section h2 { max-width: 640px; font-size: clamp(3.35rem, 4vw, 4.5rem); line-height: .96; }
.responsible-copy { display: grid; gap: 0; }
.responsible-copy p { margin: 0 0 1.35rem; }
.responsible-copy > div:first-child p { font-size: 1.2rem; color: var(--ink); }
.responsible-copy > div:last-child { margin-top: .75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

.changing-section { min-height: 100dvh; display: grid; align-items: end; position: relative; padding: 7rem 4vw 5rem; overflow: hidden; }
.changing-bg { position: absolute; inset: 0; }
.changing-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,34,25,.72), rgba(3,34,25,.12) 72%); }
.changing-copy { position: relative; width: min(100%, 1240px); padding: clamp(2rem, 4vw, 4rem); display: grid; grid-template-columns: minmax(320px, .9fr) minmax(500px, 1.1fr); gap: clamp(3rem, 6vw, 7rem); align-items: start; color: var(--paper); background: rgba(5,50,39,.78); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); backdrop-filter: blur(18px); }
.changing-title h2 { max-width: 560px; font-size: clamp(3.6rem, 5.2vw, 6rem); line-height: .95; }
.changing-text { max-width: 650px; padding-top: .4rem; }
.changing-copy p { margin: 0 0 1.35rem; color: rgba(244,245,239,.8); }
.changing-text > div:first-child p { font-size: 1.15rem; color: var(--paper); }
.changing-text > div:last-child { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); }

.conscious-section { padding: 11rem 4vw; text-align: center; }
.conscious-section > svg { width: 76px; height: 76px; color: var(--emerald); margin-bottom: 2rem; }
.conscious-section h2 { max-width: 1000px; margin: auto; }
.conscious-copy { max-width: 820px; margin: 4rem auto; text-align: left; columns: 2; column-gap: 4rem; }
.conscious-copy > div { break-inside: avoid; }
.conscious-media-pair { max-width: 1100px; margin: 0 auto 4rem; text-align: left; }
.conscious-actions { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }

.site-footer { min-height: 260px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 2rem; padding: 4rem 4vw; color: var(--paper); background: #08251e; }
.footer-brand { display: block; width: clamp(190px, 20vw, 310px); line-height: 0; }
.footer-links { display: flex; gap: 1.5rem; align-items: center; }
.footer-action { justify-self: end; display: flex; gap: .7rem; align-items: center; color: var(--acid); }

.blog-page { padding-bottom: 9rem; }
.blog-hero { min-height: 72dvh; position: relative; display: grid; align-items: end; padding: 9rem 4vw 4rem; color: var(--paper); background: var(--emerald); overflow: hidden; }
.blog-hero > .image-shell { position: absolute; inset: 0; }
.blog-hero > .image-shell::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,35,27,.9), rgba(3,35,27,.1)); }
.blog-hero > div { position: relative; z-index: 2; }
.blog-badge { display: inline-block; padding: .55rem .85rem; border-radius: 999px; color: var(--emerald); background: var(--acid); font-weight: 750; }
.blog-hero h1 { font-size: clamp(5rem, 14vw, 13rem); }
.blog-grid { width: min(100%, 1480px); margin: 0 auto; padding: 7rem 4vw; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 3vw, 3rem); row-gap: clamp(4rem, 7vw, 7rem); align-items: stretch; }
.post-card { min-width: 0; }
.post-card:nth-child(3n), .post-card:nth-child(3n + 1):not(:first-child) { grid-column: auto; }
.post-card a { height: 100%; display: flex; flex-direction: column; }
.post-card a > div { flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.post-card .image-shell { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--radius); }
.post-card:hover img { transform: scale(1.035); }
.post-card h2 { max-width: 620px; font-size: clamp(2rem, 2.7vw, 3rem); line-height: 1.02; margin: 1.5rem 0 1rem; }
.post-card span { margin-top: auto; display: inline-flex; align-items: center; gap: .5rem; font-weight: 750; }

.article-page { padding: 8rem 4vw 0; }
.back-link { display: inline-flex; gap: .6rem; align-items: center; margin-bottom: 3rem; font-weight: 750; }
.article-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4vw; align-items: end; }
.article-hero h1 { font-size: clamp(3rem, 6.2vw, 7rem); }
.article-hero .image-shell { height: 620px; border-radius: var(--radius); }
.article-body { max-width: 820px; margin: 7rem auto; }
.article-body p, .article-body li { font-size: 1.15rem; line-height: 1.8; color: var(--muted); }
.article-body h2 { font-size: clamp(2.7rem, 5vw, 5rem); margin: 6rem 0 2rem; }
.article-body li { margin-bottom: .8rem; }
.article-body figure { margin: 4rem -10vw; }
.article-body figure .image-shell { height: 620px; border-radius: var(--radius); }
.article-next { margin: 0 -4vw; padding: 7rem 4vw; text-align: center; color: var(--paper); background: var(--emerald); }
.article-next > span { color: var(--acid); font-weight: 750; }
.article-next h2 { max-width: 900px; margin: 1rem auto 2rem; }
.article-next a { display: inline-flex; align-items: center; gap: .6rem; color: var(--acid); font-weight: 750; }

/* WordPress integration */
.header-menu, .footer-menu { margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 3.5rem); list-style: none; }
.site-header nav { justify-content: center; }
.site-header nav a { transition: opacity .3s ease, transform .3s ease; }
.site-header nav a:hover { opacity: .72; transform: translateY(-2px); }
.footer-links .footer-menu { gap: 1.5rem; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.section-icon { width: 78px; height: 78px; display: grid; place-items: center; border-radius: var(--radius); color: var(--emerald); background: var(--acid); font-size: 2.2rem; }
.moment-item > span:last-child { justify-self: end; font-size: 1.25rem; }
.comparison-row > span:nth-child(2) { width: 42px; height: 42px; display: grid; place-items: center; color: var(--emerald); border: 1px solid var(--line); border-radius: 50%; }
.responsible-icon { font-size: 2rem; font-weight: 800; }
.conscious-icon { width: 76px; height: 76px; margin: 0 auto 2rem; display: grid; place-items: center; color: var(--emerald); font-size: 4rem; }
.gallery-main img { transition: opacity .35s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.gallery-main img.is-switching { opacity: .18; transform: scale(1.025); }
.entry-content img { max-width: 100%; height: auto; border-radius: var(--radius); }
.entry-content h2, .entry-content h3 { margin: 4rem 0 1.5rem; }
.entry-content a { text-decoration: underline; text-decoration-color: var(--acid); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.empty-posts { grid-column: 1 / -1; min-height: 40vh; display: grid; place-items: center; text-align: center; }
.blog-hero-compact { min-height: 56dvh; }
.not-found { min-height: 100dvh; padding: 10rem 4vw; display: grid; place-content: center; justify-items: center; text-align: center; background: var(--paper-2); }
.not-found > span { color: var(--acid); font-size: clamp(5rem, 16vw, 14rem); font-weight: 800; line-height: .8; text-shadow: 2px 2px 0 var(--emerald); }
.not-found h1 { margin: 2rem 0; font-size: clamp(2.5rem, 6vw, 6rem); }
.menu-button span { width: 18px; height: 2px; display: block; background: currentColor; }
.menu-button span + span { margin-top: 5px; }
.admin-bar .site-header { top: 32px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .site-header { grid-template-columns: 1fr auto; padding: 0 1rem; }
  .site-header nav { position: fixed; top: 0; right: 0; width: min(340px, 88vw); min-height: 100dvh; padding: 7rem 2rem 2rem; flex-direction: column; align-items: stretch; background: var(--emerald); transform: translateX(105%); transition: transform .4s cubic-bezier(.16,1,.3,1); }
  .site-header nav.is-open { transform: translateX(0); }
  .header-menu { flex-direction: column; align-items: stretch; }
  .header-menu a { display: block; padding: .75rem 0; }
  .nav-cta { position: static; justify-content: center; }
  .menu-button { display: grid; position: relative; z-index: 2; }
  .hero { min-height: 100dvh; padding: 0 1rem 2rem; }
  .hero-copy { width: 100%; }
  .hero h1 { font-size: clamp(2.35rem, 10vw, 4rem); }
  .hero-signal { display: none; }
  .intro-section, .moment-layout, .rhythm-section, .simple-grid, .functions-intro, .variety-section, .responsible-section, .article-hero { grid-template-columns: 1fr; }
  .intro-section { padding: 7rem 1rem 5rem; }
  .intro-mark { display: none; }
  .intro-image { height: 520px; min-height: 0; }
  .floating-cta { position: static; width: auto; height: 54px; border-radius: 999px; transform: none; display: flex; margin-top: 1rem; }
  .moments-section, .simple-section, .functions-section, .review-section, .comparison-section, .responsible-section, .conscious-section { padding: 6rem 1rem; }
  .stack-title { text-align: left; margin-bottom: 3rem; }
  .rhythm-section { min-height: auto; }
  .rhythm-image-wrap { padding: 1rem; }
  .rhythm-image { min-height: 520px; }
  .rhythm-copy { padding: 4rem 1rem 6rem; }
  .orbit-cta { left: auto; right: 2rem; top: 500px; }
  .simple-head { grid-template-columns: 1fr; }
  .simple-photo.tall, .simple-photo.square { height: 520px; margin-top: 0; }
  .simple-copy { order: -1; }
  .simple-photo.tall, .simple-photo.square, .simple-copy { grid-column: auto; grid-row: auto; width: 100%; }
  .simple-photo.square { margin: 0; border: 0; transform: none; }
  .function-grid { grid-template-columns: 1fr; }
  .cell-1, .cell-6 { grid-row: auto; grid-column: auto; }
  .theme-section, .changing-section { padding: 5rem 1rem; }
  .theme-panel, .changing-copy { width: 100%; padding: 1.5rem; }
  .changing-copy { grid-template-columns: 1fr; gap: 2rem; }
  .changing-title h2 { max-width: 720px; }
  .changing-text { max-width: 720px; padding-top: 0; }
  .theme-panel h2 { font-size: clamp(2.8rem, 11vw, 4.6rem); }
  .review-lead, .comparison-prose { margin: 2.5rem 0; }
  .review-toolbar { justify-content: flex-start; }
  .review-track { margin-right: -1rem; padding-right: 1rem; }
  .review-card { flex-basis: min(82vw, 330px); }
  .review-section { display: block; width: 100%; }
  .review-title { margin-bottom: 0; }
  .review-lead, .review-notes { max-width: none; }
  .review-toolbar { margin-bottom: 1rem; }
  .review-track { width: calc(100% + 1rem); }
  .review-notes { margin-top: 3rem; }
  .comparison-section { display: block; width: 100%; }
  .comparison-title h2 { max-width: 720px; }
  .comparison-prose { max-width: 720px; }
  .comparison-heading { margin-bottom: 1rem; }
  .comparison-board { width: 100%; }
  .comparison-after-wrap { margin-top: 2rem; }
  .comparison-media-pair { width: 100%; max-width: none; margin: 3rem 0 0; }
  .gallery-section { padding-top: 5rem; }
  .gallery-head { padding: 0 1rem 2rem; }
  .gallery-stage { height: 68dvh; min-height: 480px; margin: 0 1rem; }
  .section-image-pair { grid-template-columns: 1fr 1fr; }
  .section-image-pair .image-shell { min-height: 210px; }
  .section-image-pair .image-shell:last-child { margin-top: 2rem; }
  .gallery-thumbs { width: 100%; padding-left: 1rem; padding-right: 1rem; grid-template-columns: 44px minmax(0, 1fr) 44px; gap: .6rem; }
  .gallery-thumb-arrow { width: 44px; height: 44px; }
  .variety-section { padding: 6rem 1rem; }
  .variety-collage { grid-template-rows: 260px 260px; }
  .responsible-section { gap: 3rem; }
  .responsible-content { max-width: none; order: 1; }
  .responsible-photo { height: 520px; min-height: 0; order: 2; }
  .responsible-icon { width: 72px; height: 72px; }
  .responsible-icon svg { width: 42px; height: 42px; }
  .conscious-copy { columns: 1; }
  .site-footer { grid-template-columns: 1fr; align-items: start; padding: 4rem 1rem; }
  .footer-action { justify-self: start; }
  .footer-links .footer-menu { flex-wrap: wrap; }
  .blog-hero { padding-left: 1rem; padding-right: 1rem; }
  .blog-grid { padding: 4rem 1rem; grid-template-columns: 1fr; row-gap: 4rem; }
  .post-card, .post-card:nth-child(3n), .post-card:nth-child(3n + 1):not(:first-child) { grid-column: auto; }
  .post-card .image-shell { height: auto; aspect-ratio: 4 / 3; }
  .article-page { padding: 6rem 1rem 0; }
  .article-hero .image-shell { height: 500px; }
  .article-body { margin: 5rem auto; }
  .article-body figure { margin: 3rem 0; }
  .article-body figure .image-shell { height: 460px; }
  .article-next { margin: 0 -1rem; }
}

@media (max-width: 560px) {
  h2 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .hero-media img { object-position: 66% center; }
  .hero-scrim { background: linear-gradient(0deg, rgba(4,33,25,.9), rgba(4,33,25,.1) 85%); }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .moment-item { grid-template-columns: 32px 1fr; }
  .moment-item svg { display: none; }
  .simple-photo.tall, .simple-photo.square { height: 430px; }
  .function-photo { min-height: 410px; }
  .responsible-heading { grid-template-columns: 1fr; }
  .responsible-section h2 { max-width: 100%; font-size: clamp(3rem, 13vw, 3.8rem); overflow-wrap: anywhere; }
  .gallery-head { align-items: center; }
  .gallery-label { font-size: .9rem; }
  .gallery-stage { height: 58dvh; min-height: 420px; }
  .gallery-strip button { width: 96px; min-width: 96px; height: 66px; }
  .variety-collage { grid-template-columns: 1fr 1fr; grid-template-rows: 360px 190px; }
  .variety-collage .image-shell:first-child { grid-column: span 2; grid-row: auto; }
  .comparison-row { grid-template-columns: 1fr; gap: .5rem; }
  .comparison-heading { grid-template-columns: 1fr; gap: .4rem; }
  .comparison-row svg { transform: rotate(90deg); }
  .footer-links { flex-wrap: wrap; }
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (prefers-color-scheme: dark) {
  :root { --paper: #f4f5ef; --paper-2: #e9ece3; --ink: #10251e; --muted: #53635d; }
}
