/*
Theme Name: Cayrex Deeptech v11
Theme URI: https://cayrex.net/
Author: Cayrex
Author URI: https://cayrex.net/
Description: Profesionalna deeptech tema za Cayrex - Hyperflow, APC, Wall Battery, Battery Kit, About in Contact. Vsaka podstran ima svoj custom dizajn z lepo tipografijo in mintno/teal paleto.
Version: 21.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cayrex-deeptech
Tags: technology, custom-colors, custom-logo, custom-menu, featured-images
*/

:root {
  --bg: #f7f8fa; --bg-2: #ffffff; --bg-3: #eef2f6;
  --ink: #0c1426; --ink-soft: #1e293b;
  --line: rgba(12,20,38,0.08); --line-strong: rgba(12,20,38,0.14);
  --teal: #0d9488; --teal-dark: #0f766e;
  --mint: #14b8a6; --mint-bright: #2dd4bf;
  --text: #1e293b; --text-2: #475569; --muted: #64748b;
  --display: 'Space Grotesk', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--body); font-weight: 400; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body::before { content: ''; position: fixed; inset: 0; background-image: linear-gradient(rgba(13,148,136,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(13,148,136,0.05) 1px, transparent 1px); background-size: 56px 56px; pointer-events: none; z-index: 0; mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%); }
.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 2; }
a { color: var(--teal); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

nav { position: sticky; top: 0; background: rgba(247,248,250,0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); z-index: 100; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 32px; max-width: 1280px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); cursor: pointer; }
.logo-mark { width: 36px; height: 36px; background: linear-gradient(135deg, var(--teal), var(--mint)); border-radius: 9px; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(13,148,136,0.3); }
.logo-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links button { background: none; border: none; color: var(--text-2); font-size: 14px; font-weight: 500; letter-spacing: 0.01em; cursor: pointer; font-family: var(--body); padding: 8px 0; transition: color 0.2s; }
.nav-links button:hover, .nav-links button.active { color: var(--teal); }
.nav-cta { background: var(--ink) !important; color: white !important; padding: 10px 20px !important; border-radius: 8px; font-weight: 600 !important; transition: transform 0.2s, box-shadow 0.2s, background 0.2s; }
.nav-cta:hover { transform: translateY(-1px); background: var(--teal) !important; box-shadow: 0 8px 20px rgba(13,148,136,0.3); }

.page { display: none; }
.page.active { display: block; }

.hero { position: relative; padding: 120px 0 100px; overflow: hidden; }
.hero::before { content: ''; position: absolute; top: -200px; right: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(20,184,166,0.18), transparent 60%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: -300px; left: -200px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(13,148,136,0.1), transparent 60%); pointer-events: none; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border: 1px solid rgba(13,148,136,0.25); border-radius: 999px; background: rgba(13,148,136,0.08); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-dark); margin-bottom: 32px; }
.hero-eyebrow .pulse { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(13,148,136,0.5); } 70% { box-shadow: 0 0 0 12px rgba(13,148,136,0); } 100% { box-shadow: 0 0 0 0 rgba(13,148,136,0); } }
.hero h1 { font-family: var(--display); font-size: clamp(48px, 7vw, 96px); font-weight: 700; line-height: 0.98; letter-spacing: -0.035em; margin-bottom: 28px; max-width: 1000px; color: var(--ink); }
.hero h1 .accent { background: linear-gradient(120deg, var(--teal), var(--mint)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--text-2); max-width: 640px; margin-bottom: 40px; line-height: 1.55; }
.pill-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 48px; }
.pill { padding: 8px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; color: var(--text-2); background: white; font-weight: 500; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 10px; font-weight: 600; font-size: 15px; text-decoration: none; transition: all 0.2s; cursor: pointer; border: none; font-family: var(--body); }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(13,148,136,0.3); }
.btn-secondary { background: white; color: var(--ink); border: 1px solid var(--line-strong); }
.btn-secondary:hover { border-color: var(--teal); color: var(--teal); }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 80px; border: 1px solid var(--line); background: var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 12px 40px rgba(12,20,38,0.06); }
.stat { background: white; padding: 28px 24px; }
.stat-num { font-family: var(--display); font-weight: 700; font-size: clamp(28px, 3vw, 40px); color: var(--teal); line-height: 1; margin-bottom: 8px; letter-spacing: -0.02em; }
.stat-num .unit { font-size: 0.6em; color: var(--text-2); }
.stat-label { font-size: 12px; color: var(--muted); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.05em; }

section { padding: 90px 0; position: relative; }
.section-label { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.section-title { font-family: var(--display); font-size: clamp(32px, 4vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -0.025em; margin-bottom: 20px; max-width: 760px; color: var(--ink); }
.section-sub { font-size: 18px; color: var(--text-2); max-width: 700px; line-height: 1.6; margin-bottom: 50px; }

.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tech-card { position: relative; background: white; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s; display: flex; flex-direction: column; cursor: pointer; box-shadow: 0 4px 14px rgba(12,20,38,0.04); }
.tech-card:hover { transform: translateY(-6px); border-color: var(--teal); box-shadow: 0 24px 50px rgba(13,148,136,0.15); }
.tech-image { height: 320px; background-size: cover; background-position: center; }
.tech-body { padding: 32px; flex: 1; display: flex; flex-direction: column; }
.tech-tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: rgba(13,148,136,0.1); border: 1px solid rgba(13,148,136,0.25); border-radius: 6px; font-family: var(--mono); font-size: 11px; color: var(--teal-dark); margin-bottom: 16px; letter-spacing: 0.05em; width: fit-content; }
.tech-title { font-family: var(--display); font-size: 32px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 12px; line-height: 1.1; color: var(--ink); }
.tech-desc { color: var(--text-2); margin-bottom: 24px; flex: 1; }
.tech-link { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 600; font-size: 15px; transition: gap 0.2s; }
.tech-card:hover .tech-link { gap: 14px; }

.features-section { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { background: var(--bg); border: 1px solid var(--line); border-radius: 16px; padding: 32px; transition: border-color 0.3s, transform 0.3s, background 0.3s, box-shadow 0.3s; }
.feature:hover { border-color: var(--teal); transform: translateY(-2px); background: white; box-shadow: 0 12px 30px rgba(13,148,136,0.08); }
.feature-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--teal), var(--mint)); border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; color: white; box-shadow: 0 6px 16px rgba(13,148,136,0.25); }
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { font-family: var(--display); font-size: 20px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.01em; color: var(--ink); }
.feature p { color: var(--text-2); font-size: 15px; line-height: 1.55; }

.gallery-section { background: var(--bg-3); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-item { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; cursor: pointer; background: white; border: 1px solid var(--line); }
.gallery-item.tall { grid-row: span 2; aspect-ratio: 0.5; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item .caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(to top, rgba(12,20,38,0.85), transparent); font-size: 13px; color: white; font-weight: 500; opacity: 0; transition: opacity 0.3s; }
.gallery-item:hover .caption { opacity: 1; }

.cta { background: linear-gradient(135deg, var(--ink) 0%, #1e293b 100%); border-radius: 24px; padding: 80px 60px; text-align: center; position: relative; overflow: hidden; color: white; }
.cta::before { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 700px; height: 700px; background: radial-gradient(circle, rgba(20,184,166,0.18), transparent 60%); pointer-events: none; }
.cta-content { position: relative; z-index: 1; }
.cta .section-label { color: var(--mint-bright); }
.cta h2 { font-family: var(--display); font-size: clamp(32px, 4.5vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -0.025em; margin-bottom: 20px; color: white; }
.cta p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto 36px; }
.cta .btn-group { justify-content: center; }
.cta .btn-primary { background: var(--mint); color: var(--ink); }
.cta .btn-primary:hover { background: var(--mint-bright); box-shadow: 0 12px 30px rgba(20,184,166,0.4); }
.cta .btn-secondary { background: transparent; color: white; border-color: rgba(255,255,255,0.25); }
.cta .btn-secondary:hover { border-color: var(--mint); color: var(--mint-bright); }

.page-hero { position: relative; padding: 80px 0 40px; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -200px; right: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(20,184,166,0.15), transparent 60%); pointer-events: none; }
.page-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; position: relative; z-index: 1; }
.page-hero h1 { font-family: var(--display); font-size: clamp(40px, 5vw, 68px); font-weight: 700; line-height: 1.0; letter-spacing: -0.03em; color: var(--ink); margin: 14px 0 22px; }
.page-hero h1 .accent { color: var(--teal); }
.page-hero .lead { font-size: 17px; color: var(--text-2); line-height: 1.6; max-width: 540px; margin-bottom: 28px; }
.page-hero-image { background: white; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(12,20,38,0.1); aspect-ratio: 4/3; }
.page-hero-image img { width: 100%; height: 100%; object-fit: cover; }

.content-block { padding: 40px 0; }
.content-block .container { max-width: 1100px; }
.content-block h2 { font-family: var(--display); font-size: clamp(28px, 3.5vw, 42px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--ink); margin-bottom: 24px; }
.content-block h3 { font-family: var(--display); font-size: 22px; font-weight: 600; color: var(--ink); margin: 32px 0 12px; letter-spacing: -0.01em; }
.content-block p { color: var(--text-2); font-size: 17px; line-height: 1.7; margin-bottom: 18px; }
.content-block strong { color: var(--ink); }
.content-block .figure { margin: 40px 0; }
.content-block .figure img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(12,20,38,0.08); }
.content-block .figure .caption { font-size: 14px; color: var(--muted); font-style: italic; text-align: center; margin-top: 14px; }
.content-block .two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.content-block .two-col.image-text { gap: 50px; align-items: center; }

.mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 32px 0; }
.mode-card { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 32px; transition: all 0.3s; }
.mode-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,148,136,0.1); }
.mode-card .mode-tag { display: inline-flex; padding: 6px 12px; background: rgba(13,148,136,0.1); border: 1px solid rgba(13,148,136,0.25); border-radius: 6px; font-family: var(--mono); font-size: 11px; color: var(--teal-dark); margin-bottom: 16px; letter-spacing: 0.05em; }
.mode-card h3 { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 12px; letter-spacing: -0.02em; }
.mode-card p { color: var(--text-2); font-size: 15px; line-height: 1.6; margin-bottom: 12px; }
.mode-card p:last-child { margin-bottom: 0; }

.key-features { background: var(--bg-3); padding: 60px 0; }
.key-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.key-feature { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 24px; display: flex; align-items: start; gap: 16px; transition: all 0.3s; }
.key-feature:hover { border-color: var(--teal); transform: translateY(-2px); }
.key-feature .check { width: 32px; height: 32px; background: linear-gradient(135deg, var(--teal), var(--mint)); border-radius: 8px; display: grid; place-items: center; color: white; flex-shrink: 0; }
.key-feature .check svg { width: 18px; height: 18px; }
.key-feature h4 { font-family: var(--display); font-size: 16px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.key-feature p { font-size: 14px; color: var(--text-2); line-height: 1.5; margin: 0; }

.spec-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 32px 0; }
.spec-stat { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 24px; text-align: center; transition: all 0.3s; }
.spec-stat:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: 0 12px 30px rgba(13,148,136,0.08); }
.spec-stat .num { font-family: var(--display); font-size: 28px; font-weight: 700; color: var(--teal); letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 6px; }
.spec-stat .label { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }

.arch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.arch-card { background: white; border: 2px solid var(--line); border-radius: 18px; padding: 36px; transition: all 0.3s; }
.arch-card:hover { border-color: var(--teal); transform: translateY(-4px); }
.arch-card .arch-tag { display: inline-block; font-family: var(--mono); font-size: 11px; color: var(--teal); background: rgba(13,148,136,0.1); padding: 5px 10px; border-radius: 6px; letter-spacing: 0.08em; margin-bottom: 14px; }
.arch-card h3 { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 14px; letter-spacing: -0.02em; }
.arch-card p { color: var(--text-2); font-size: 15px; line-height: 1.6; }

.apps-section { background: white; border-top: 1px solid var(--line); }
.app-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.app-pill { background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px; font-size: 14px; color: var(--ink); font-weight: 500; transition: all 0.3s; }
.app-pill:hover { background: var(--teal); color: white; border-color: var(--teal); transform: translateY(-2px); }

.page-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; }
.page-gallery.cols-4 { grid-template-columns: repeat(4, 1fr); }
.page-gallery .gallery-item { aspect-ratio: 4/3; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.team-card { background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; transition: all 0.3s; }
.team-card:hover { border-color: var(--teal); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(13,148,136,0.12); }
.team-card .photo { aspect-ratio: 1; background: var(--bg-3); overflow: hidden; }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .info { padding: 24px; text-align: center; }
.team-card .name { font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 4px; }
.team-card .role { font-family: var(--mono); font-size: 11px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.1em; }

.achievements-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 32px; }
.achievement { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; align-items: start; gap: 16px; transition: all 0.3s; }
.achievement:hover { border-color: var(--teal); transform: translateY(-2px); }
.achievement .ach-icon { width: 40px; height: 40px; background: linear-gradient(135deg, var(--teal), var(--mint)); border-radius: 10px; display: grid; place-items: center; color: white; flex-shrink: 0; }
.achievement .ach-icon svg { width: 20px; height: 20px; }
.achievement h4 { font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; line-height: 1.3; }
.achievement p { font-size: 13px; color: var(--text-2); line-height: 1.5; margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: start; margin-top: 40px; }
.contact-info { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: 0 8px 30px rgba(12,20,38,0.04); }
.contact-info h3 { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.02em; }
.contact-item { display: flex; align-items: start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-item:last-child { border-bottom: none; }
.contact-item .ico { width: 40px; height: 40px; background: linear-gradient(135deg, var(--teal), var(--mint)); border-radius: 10px; display: grid; place-items: center; color: white; flex-shrink: 0; }
.contact-item .ico svg { width: 20px; height: 20px; }
.contact-item .label { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 4px; }
.contact-item .value { color: var(--ink); font-weight: 500; font-size: 16px; }
.contact-item .value a { color: var(--ink); }
.contact-item .value a:hover { color: var(--teal); }
.contact-form { background: white; border: 1px solid var(--line); border-radius: 18px; padding: 36px; box-shadow: 0 8px 30px rgba(12,20,38,0.04); }
.contact-form h3 { font-family: var(--display); font-size: 22px; font-weight: 700; color: var(--ink); margin-bottom: 24px; letter-spacing: -0.02em; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px; }
.form-field input, .form-field textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 10px; font-family: var(--body); font-size: 15px; color: var(--ink); background: var(--bg); transition: border-color 0.2s, background 0.2s; }
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--teal); background: white; }
.form-field textarea { resize: vertical; min-height: 120px; }

footer.site-footer { background: white; border-top: 1px solid var(--line); padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-family: var(--display); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); margin-bottom: 18px; }
.footer-col a, .footer-col span, .footer-col button { display: block; color: var(--text-2); text-decoration: none; font-size: 14px; padding: 5px 0; transition: color 0.2s; background: none; border: none; cursor: pointer; font-family: var(--body); text-align: left; }
.footer-col a:hover, .footer-col button:hover { color: var(--teal); }
.footer-bottom { padding-top: 30px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); flex-wrap: wrap; gap: 16px; }
.socials { display: flex; gap: 12px; }
.socials a { width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 8px; display: grid; place-items: center; color: var(--text-2); transition: all 0.2s; }
.socials a:hover { background: var(--teal); border-color: var(--teal); color: white; }
.socials svg { width: 16px; height: 16px; }

@media (max-width: 900px) {
  .nav-links { gap: 12px; flex-wrap: wrap; }
  .nav-links button { font-size: 13px; }
  .stats, .spec-stats { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
  .tech-grid, .mode-grid, .arch-grid, .page-hero-grid, .key-features-grid, .content-block .two-col, .contact-grid, .team-grid, .achievements-grid { grid-template-columns: 1fr; }
  .gallery, .page-gallery, .page-gallery.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.tall { grid-row: auto; aspect-ratio: 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta { padding: 50px 28px; }
  section { padding: 60px 0; }
  .hero, .page-hero { padding: 50px 0 40px; }
  .container { padding: 0 20px; }
}

/* WordPress admin bar offset */
body.admin-bar .site-nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-nav { top: 46px; } }

/* WP defaults for content */
.entry-content > * { max-width: 800px; margin-left: auto; margin-right: auto; }
.entry-content h1, .entry-content h2, .entry-content h3 { font-family: var(--display); color: var(--ink); margin: 32px 0 16px; }
.entry-content p { margin-bottom: 16px; color: var(--text-2); line-height: 1.7; }
.entry-content img { border-radius: 12px; margin: 24px auto; }
