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

:root {
  --bg-deep: #08090c;
  --bg-primary: #0c0e14;
  --bg-elevated: #12151e;
  --bg-card: #161a26;
  --bg-card-hover: #1a1f2e;
  --gold-dim: #8b7355;
  --gold: #c9a96e;
  --gold-bright: #e4c990;
  --gold-light: #f0ddb4;
  --gold-glow: rgba(201, 169, 110, 0.15);
  --text-primary: #e8e4dc;
  --text-secondary: #9a958c;
  --text-muted: #5e5a54;
  --border: rgba(201, 169, 110, 0.1);
  --border-hover: rgba(201, 169, 110, 0.25);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.4s;
  --duration-slow: 0.8s;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg-deep); color: var(--text-primary); line-height: 1.7; font-weight: 300; overflow-x: hidden; }
a { color: var(--gold); text-decoration: none; transition: color var(--duration-fast); }
a:hover { color: var(--gold-bright); }
img { max-width: 100%; display: block; }

/* Grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* Reveal system */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 8rem; }
.section-label {
  font-family: var(--font-body); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.25rem;
}
.section-label::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.section-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 300; line-height: 1.15; color: var(--text-primary); margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--gold); }

/* ═══════════ NAVIGATION ═══════════ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1.5rem 0; transition: all var(--duration-normal) var(--ease-out); }
.nav.scrolled { padding: 0.8rem 0; background: rgba(8,9,12,0.88); backdrop-filter: blur(24px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.nav-logo { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-primary); display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-icon { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-dim), var(--gold)); display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--bg-deep); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a { font-size: 0.82rem; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-secondary); position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--gold); transition: width var(--duration-normal) var(--ease-out); }
.nav-links a:hover { color: var(--gold-bright); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { font-size: 0.8rem !important; font-weight: 500 !important; color: var(--bg-deep) !important; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); padding: 0.6rem 1.6rem; border-radius: 2px; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { color: var(--bg-deep) !important; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(201,169,110,0.3); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--text-secondary); transition: all var(--duration-fast); }

/* ═══════════ HERO ═══════════ */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 6rem; }
.hero-bg-image { position: absolute; inset: 0; z-index: 0; }
.hero-bg-image img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay-r { position: absolute; inset: 0; background: linear-gradient(to right, #08090c, rgba(8,9,12,0.9), rgba(8,9,12,0.55)); }
.hero-overlay-t { position: absolute; inset: 0; background: linear-gradient(to top, #08090c, transparent 50%, rgba(8,9,12,0.3)); }
.hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px); background-size: 80px 80px; mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%); }
.hero-content { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; width: 100%; }
.hero-text { max-width: 640px; }
.hero-overline { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; opacity: 0; animation: fadeUp 1s var(--ease-out) 0.3s forwards; }
.hero-title { font-family: var(--font-display); font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 300; line-height: 1.08; margin-bottom: 2rem; opacity: 0; animation: fadeUp 1s var(--ease-out) 0.5s forwards; }
.hero-title em { font-style: italic; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.85; max-width: 480px; margin-bottom: 2.5rem; opacity: 0; animation: fadeUp 1s var(--ease-out) 0.7s forwards; }
.hero-actions { display: flex; gap: 1.25rem; align-items: center; opacity: 0; animation: fadeUp 1s var(--ease-out) 0.9s forwards; }
.btn-primary { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2.2rem; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: var(--bg-deep); font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; border: none; border-radius: 2px; cursor: pointer; transition: all var(--duration-fast); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,169,110,0.3); color: var(--bg-deep); }
.btn-primary svg { width: 16px; height: 16px; transition: transform var(--duration-fast); }
.btn-primary:hover svg { transform: translateX(3px); }
.btn-secondary { display: inline-flex; align-items: center; padding: 1rem 1.8rem; background: transparent; color: var(--text-primary); font-family: var(--font-body); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--border-hover); border-radius: 2px; cursor: pointer; transition: all var(--duration-fast); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }
.hero-visual { position: relative; opacity: 0; animation: fadeUp 1.2s var(--ease-out) 1s forwards; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.hero-stat-card { background: rgba(22,26,38,0.6); backdrop-filter: blur(12px); border: 1px solid var(--border); border-radius: 4px; padding: 1.8rem; transition: all var(--duration-normal) var(--ease-out); position: relative; overflow: hidden; }
.hero-stat-card:hover { border-color: var(--border-hover); transform: translateY(-4px); background: rgba(22,26,38,0.8); }
.hero-stat-card:nth-child(2), .hero-stat-card:nth-child(4) { transform: translateY(2rem); }
.hero-stat-card:nth-child(2):hover, .hero-stat-card:nth-child(4):hover { transform: translateY(calc(2rem - 4px)); }
.stat-market { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.stat-value { font-family: var(--font-display); font-size: 2.8rem; font-weight: 300; color: var(--text-primary); line-height: 1; margin-bottom: 0.35rem; }
.stat-label { font-size: 0.78rem; color: var(--text-secondary); }
.stat-bar { height: 2px; background: rgba(255,255,255,0.05); border-radius: 1px; margin-top: 1.2rem; overflow: hidden; }
.stat-bar-fill { height: 100%; width: var(--fill); background: linear-gradient(90deg, var(--gold-dim), var(--gold)); border-radius: 1px; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════ TICKER ═══════════ */
.ticker { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-primary); overflow: hidden; padding: 1rem 0; }
.ticker-track { display: flex; animation: scroll 40s linear infinite; width: max-content; }
.ticker-item { display: flex; align-items: center; gap: 0.5rem; padding: 0 2.5rem; font-size: 0.82rem; color: var(--text-secondary); white-space: nowrap; }
.ticker-item strong { color: var(--gold); font-weight: 500; }
.ticker-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-dim); flex-shrink: 0; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════ FOCUS MARKETS ═══════════ */
.markets-section { padding: 6rem 0; position: relative; }
.markets-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 3rem; }
.market-card { position: relative; border-radius: 6px; overflow: hidden; min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid var(--border); transition: all var(--duration-normal) var(--ease-out); cursor: default; }
.market-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); border-color: var(--border-hover); }
.market-card-bg { position: absolute; inset: 0; z-index: 0; }
.market-card-bg img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.market-card:hover .market-card-bg img { transform: scale(1.06); }
.market-card-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,9,12,0.95) 0%, rgba(8,9,12,0.75) 40%, rgba(8,9,12,0.25) 100%); }
.market-card-content { position: relative; z-index: 1; padding: 2rem; }
.market-card-tag { display: inline-block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding: 0.35rem 0.8rem; border: 1px solid var(--border-hover); border-radius: 2px; margin-bottom: 1rem; background: rgba(8,9,12,0.5); backdrop-filter: blur(8px); }
.market-card-name { font-family: var(--font-display); font-size: 2rem; font-weight: 400; color: var(--text-primary); margin-bottom: 0.75rem; line-height: 1.15; }
.market-card-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 1.25rem; }
.market-card-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.market-card-pill { font-size: 0.68rem; font-weight: 500; padding: 0.3rem 0.7rem; border: 1px solid var(--border); border-radius: 2px; color: var(--text-muted); transition: all var(--duration-fast); }
.market-card:hover .market-card-pill { border-color: var(--border-hover); color: var(--text-secondary); }

/* ═══════════ ABOUT ═══════════ */
.about-section { padding: 6rem 0; background: var(--bg-deep); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; margin-top: 3rem; }
.about-image-col { position: relative; }
.about-img-wrapper { position: relative; border-radius: 6px; overflow: hidden; }
.about-img-wrapper img { width: 100%; height: 440px; object-fit: cover; display: block; }
.about-img-wrapper::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-deep) 0%, transparent 40%); }
.about-founder-card { position: absolute; bottom: 1.5rem; left: 1.5rem; right: 1.5rem; padding: 1.5rem; background: rgba(22,26,38,0.92); border: 1px solid var(--border); border-radius: 4px; backdrop-filter: blur(16px); }
.about-founder-row { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.about-founder-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-dim), var(--gold)); display: flex; align-items: center; justify-content: center; color: var(--bg-deep); font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.about-founder-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-primary); }
.about-founder-role { font-size: 0.7rem; color: var(--gold); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.about-founder-bio { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.65; }
.about-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.about-metric { padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; transition: border-color var(--duration-fast); }
.about-metric:hover { border-color: var(--border-hover); }
.about-metric-value { font-family: var(--font-display); font-size: 2.5rem; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 0.35rem; }
.about-metric-label { font-size: 0.78rem; color: var(--text-secondary); }
.about-principles { display: flex; flex-direction: column; gap: 1.5rem; }
.principle { display: grid; grid-template-columns: 52px 1fr; gap: 1.25rem; padding: 1.75rem; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 4px; transition: all var(--duration-normal) var(--ease-out); }
.principle:hover { border-color: var(--border-hover); background: var(--bg-card); }
.principle-number { font-family: var(--font-display); font-size: 2rem; font-weight: 300; color: var(--gold-dim); line-height: 1; }
.principle-title { font-family: var(--font-display); font-size: 1.25rem; color: var(--text-primary); margin-bottom: 0.4rem; }
.principle-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

/* ═══════════ SERVICES ═══════════ */
.services-section { padding: 6rem 0; background: var(--bg-primary); position: relative; }
.services-section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 1px; height: 80px; background: linear-gradient(to bottom, transparent, var(--gold-dim)); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.service-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; overflow: hidden; transition: all var(--duration-normal) var(--ease-out); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 24px 64px rgba(0,0,0,0.3); border-color: var(--border-hover); }
.service-img { position: relative; height: 200px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--bg-card), rgba(22,26,38,0.3), transparent); }
.service-img-badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); padding: 0.4rem 0.9rem; border: 1px solid var(--border-hover); border-radius: 2px; background: rgba(8,9,12,0.7); backdrop-filter: blur(8px); }
.service-body { padding: 1.75rem 2rem 2rem; }
.service-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 400; color: var(--text-primary); margin-bottom: 0.75rem; line-height: 1.2; }
.service-desc { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75; margin-bottom: 1.5rem; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.25rem; }
.service-features li { display: flex; align-items: flex-start; gap: 0.7rem; font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
.service-features li::before { content: '◆'; color: var(--gold-dim); font-size: 0.45rem; margin-top: 0.5rem; flex-shrink: 0; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.service-tag { font-size: 0.68rem; font-weight: 500; padding: 0.3rem 0.7rem; background: rgba(201,169,110,0.05); border: 1px solid var(--border); border-radius: 2px; color: var(--text-muted); }

/* ═══════════ COMPARISON TABLE ═══════════ */
.perspective-section { padding: 6rem 0; background: var(--bg-deep); }
.perspective-table { margin-top: 3rem; border: 1px solid var(--border); border-radius: 4px; overflow: hidden; }
.perspective-header { display: grid; grid-template-columns: 200px repeat(3, 1fr); background: var(--bg-elevated); border-bottom: 1px solid var(--border); }
.perspective-header-cell { padding: 1.5rem 1.75rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); border-right: 1px solid var(--border); }
.perspective-header-cell:last-child { border-right: none; }
.perspective-header-cell:first-child { color: var(--text-muted); }
.perspective-row { display: grid; grid-template-columns: 200px repeat(3, 1fr); border-bottom: 1px solid var(--border); transition: background var(--duration-fast); }
.perspective-row:last-child { border-bottom: none; }
.perspective-row:hover { background: rgba(22,26,38,0.4); }
.perspective-cell { padding: 1.25rem 1.75rem; font-size: 0.88rem; color: var(--text-secondary); border-right: 1px solid var(--border); line-height: 1.6; }
.perspective-cell:last-child { border-right: none; }
.perspective-cell:first-child { font-weight: 500; color: var(--text-primary); font-size: 0.82rem; }
.perspective-cell strong { color: var(--gold); font-weight: 500; }

/* ═══════════ RESOURCES ═══════════ */
.resources-section { padding: 6rem 0; background: var(--bg-primary); }
.resources-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-top: 3rem; }
.resource-card { border-radius: 4px; overflow: hidden; border: 1px solid var(--border); transition: all var(--duration-normal) var(--ease-out); display: block; }
.resource-card:hover { transform: translateY(-4px); border-color: var(--border-hover); box-shadow: 0 16px 48px rgba(0,0,0,0.3); }
.resource-card-img { height: 140px; overflow: hidden; }
.resource-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out); }
.resource-card:hover .resource-card-img img { transform: scale(1.08); }
.resource-card-body { padding: 1.25rem; background: var(--bg-card); }
.resource-card-title { font-family: var(--font-display); font-size: 1.05rem; color: var(--text-primary); margin-bottom: 0.35rem; line-height: 1.3; transition: color var(--duration-fast); }
.resource-card:hover .resource-card-title { color: var(--gold); }
.resource-card-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }

/* ═══════════ CTA BAND ═══════════ */
.cta-band { position: relative; overflow: hidden; }
.cta-band-bg { position: absolute; inset: 0; }
.cta-band-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band-bg::after { content: ''; position: absolute; inset: 0; background: rgba(8,9,12,0.85); }
.cta-band-content { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; padding: 5rem 2rem; text-align: center; }
.cta-band-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 400; color: var(--text-primary); margin-bottom: 1rem; font-style: italic; }
.cta-band-text { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 2rem; }

/* ═══════════ CONTACT ═══════════ */
.contact-photo{height: 300px;}
.contact-section { padding: 6rem 0; background: var(--bg-primary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; margin-top: 3rem; align-items: start; }
.contact-info-block { margin-bottom: 2rem; }
.contact-info-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.6rem; }
.contact-info-value { font-family: var(--font-display); font-size: 1.35rem; color: var(--text-primary); line-height: 1.5; }
.contact-info-value a { color: var(--text-primary); }
.contact-info-value a:hover { color: var(--gold); }
.contact-location-img { border-radius: 4px; overflow: hidden; margin-top: 2rem; }
.contact-location-img img { width: 100%; height: 160px; object-fit: cover; }
.contact-response { display: flex; align-items: center; gap: 0.75rem; margin-top: 2rem; padding: 1rem 1.25rem; background: var(--gold-glow); border: 1px solid var(--border); border-radius: 4px; }
.contact-response-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.contact-response-text { font-size: 0.82rem; color: var(--text-secondary); }
.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 4px; padding: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.25rem; position: relative; }
.form-group.full { grid-column: 1 / -1; }
.form-label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.6rem; transition: color var(--duration-fast); }
.form-group:focus-within .form-label { color: var(--gold); }
.form-input, .form-select, .form-textarea { width: 100%; padding: 0.9rem 1.1rem; background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 2px; color: var(--text-primary); font-family: var(--font-body); font-size: 0.9rem; font-weight: 300; transition: all var(--duration-fast); outline: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold-dim); box-shadow: 0 0 0 3px var(--gold-glow); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235e5a54' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-select option { background: var(--bg-card); color: var(--text-primary); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; padding: 1.1rem; background: linear-gradient(135deg, var(--gold), var(--gold-bright)); color: var(--bg-deep); font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; border: none; border-radius: 2px; cursor: pointer; transition: all var(--duration-fast); margin-top: 0.5rem; }
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,169,110,0.3); }
.form-success { display: none; text-align: center; padding: 3rem 2rem; }
.form-success.show { display: block; }
.form-success-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--gold-glow); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; font-size: 1.5rem; color: var(--gold); }
.form-success-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--text-primary); margin-bottom: 0.5rem; }
.form-success-text { font-size: 0.9rem; color: var(--text-secondary); }

/* ═══════════ FOOTER ═══════════ */
.footer { background: var(--bg-deep); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand-text { font-size: 0.88rem; color: var(--text-secondary); line-height: 1.75; margin-top: 1.25rem; max-width: 320px; }
.footer-col-title { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-links a { font-size: 0.85rem; color: var(--text-secondary); }
.footer-links a:hover { color: var(--gold-bright); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 2rem; border-top: 1px solid var(--border); }
.footer-legal { font-size: 0.75rem; color: var(--text-muted); max-width: 600px; line-height: 1.7; }
.footer-copyright { font-size: 0.75rem; color: var(--text-muted); }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text { max-width: 100%; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { margin-top: 2rem; }
  .hero-stats { max-width: 500px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(8,9,12,0.95); backdrop-filter: blur(24px); padding: 2rem; gap: 1.5rem; border-bottom: 1px solid var(--border); }
  .markets-grid, .services-grid { grid-template-columns: 1fr; }
  .resources-grid { grid-template-columns: 1fr 1fr; }
  .market-card { min-height: 380px; }
  .hero-stats { grid-template-columns: 1fr; max-width: 340px; }
  .hero-stat-card:nth-child(2), .hero-stat-card:nth-child(4) { transform: none; }
  .hero-stat-card:nth-child(2):hover, .hero-stat-card:nth-child(4):hover { transform: translateY(-4px); }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
  .perspective-table { overflow-x: auto; }
  .perspective-header, .perspective-row { grid-template-columns: 140px repeat(3, 180px); min-width: 680px; }
  .form-row { grid-template-columns: 1fr; }
  .about-metrics { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .hero { padding-top: 5rem; }
  .contact-form { padding: 1.5rem; }
  .resources-grid { grid-template-columns: 1fr; }
  .market-card { min-height: 320px; }
  .service-img { height: 160px; }
}

/* ═══════════ WP ADMIN BAR OFFSET ═══════════ */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}




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

.ac-main { min-height: 60vh; }

/* ── Archive / Blog Hero ── */
.ac-archive-hero {
  position: relative;
  padding: 9rem 0 5rem;
  background: var(--bg-deep);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.ac-archive-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.ac-archive-hero-content { position: relative; z-index: 1; }
.ac-archive-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}
.ac-archive-title em { font-style: italic; color: var(--gold); }
.ac-archive-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.8;
}

/* ── Category filter pills ── */
.ac-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 3rem 0 2.5rem;
}
.ac-cat-pill {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}
.ac-cat-pill:hover,
.ac-cat-pill.active {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-glow);
}

/* ── Posts grid ── */
.ac-blog-container { padding-top: 1rem; padding-bottom: 5rem; }
.ac-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Featured first post spans full width */
.ac-post-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
}
.ac-post-card--featured .ac-post-card-img { height: 100%; min-height: 340px; }
.ac-post-card--featured .ac-post-card-title { font-size: 1.9rem; }

/* Post card base */
.ac-post-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
}
.ac-post-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.ac-post-card-img {
  display: block;
  position: relative;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}
.ac-post-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}
.ac-post-card:hover .ac-post-card-img img { transform: scale(1.06); }
.ac-post-card-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(22,26,38,0.7), transparent 50%);
}
.ac-post-card-img--placeholder {
  background: var(--bg-elevated);
}
.ac-post-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ac-post-card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.ac-post-cat {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.25rem 0.65rem;
  border: 1px solid var(--border-hover);
  border-radius: 2px;
}
.ac-post-byline-sep { color: var(--border-hover); }
.ac-post-card-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.ac-post-card-title a { color: var(--text-primary); }
.ac-post-card-title a:hover { color: var(--gold); }
.ac-post-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex: 1;
}
.ac-post-card-read {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: auto;
}
.ac-post-card-read svg { width: 14px; height: 14px; transition: transform var(--duration-fast); }
.ac-post-card-read:hover svg { transform: translateX(4px); }

/* ── Pagination ── */
.ac-pagination { margin-top: 3.5rem; display: flex; justify-content: center; }
.ac-pagination .page-numbers {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.ac-pagination .page-numbers li a,
.ac-pagination .page-numbers li span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all var(--duration-fast);
}
.ac-pagination .page-numbers li a:hover { border-color: var(--gold); color: var(--gold); }
.ac-pagination .page-numbers li span.current { border-color: var(--gold); color: var(--gold); background: var(--gold-glow); }

/* ── No posts ── */
.ac-no-posts {
  text-align: center;
  padding: 6rem 2rem;
}
.ac-no-posts-icon { font-size: 2rem; color: var(--gold-dim); margin-bottom: 1.5rem; }
.ac-no-posts h2 { font-family: var(--font-display); font-size: 2rem; font-weight: 300; margin-bottom: 0.75rem; }
.ac-no-posts p { color: var(--text-secondary); margin-bottom: 2rem; }

/* ── Single Post Hero ── */
.ac-post-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
  overflow: hidden;
}
.ac-post-hero-img {
  position: absolute; inset: 0;
}
.ac-post-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.ac-post-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg-deep) 0%, rgba(8,9,12,0.7) 50%, rgba(8,9,12,0.3) 100%);
}
.ac-post-hero-content {
  position: relative;
  z-index: 1;
  padding-top: 8rem;
  padding-bottom: 3rem;
}
.ac-post-meta-top { margin-bottom: 1rem; }
.ac-post-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.12;
  margin-bottom: 1.25rem;
  max-width: 820px;
}
.ac-post-byline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}
.ac-post-author-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-deep); font-weight: 700; font-size: 0.8rem;
}

/* ── Single Post Layout ── */
.ac-post-layout {
  display: block;
  padding: 3.5rem 0;
}

/* ── Post Content typography ── */
.ac-post-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.ac-post-content h2,
.ac-post-content h3,
.ac-post-content h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 400;
  margin: 2.5rem 0 0.75rem;
  line-height: 1.25;
}
.ac-post-content h2 { font-size: 2rem; }
.ac-post-content h3 { font-size: 1.5rem; }
.ac-post-content h4 { font-size: 1.2rem; }
.ac-post-content p { margin-bottom: 1.4rem; }
.ac-post-content a { color: var(--gold); border-bottom: 1px solid var(--border-hover); }
.ac-post-content a:hover { color: var(--gold-bright); border-color: var(--gold); }
.ac-post-content img {
  border-radius: 4px;
  margin: 1.5rem 0;
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
}
.ac-post-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-elevated);
  border-radius: 0 4px 4px 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
}
.ac-post-content ul,
.ac-post-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.4rem;
}
.ac-post-content ul li,
.ac-post-content ol li { margin-bottom: 0.5rem; }
.ac-post-content ul li::marker { color: var(--gold); }
.ac-post-content pre {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.25rem;
  overflow-x: auto;
  font-size: 0.88rem;
  margin-bottom: 1.4rem;
}
.ac-post-content code {
  background: var(--bg-elevated);
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.88em;
}
.ac-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.4rem;
}
.ac-post-content th,
.ac-post-content td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  font-size: 0.88rem;
}
.ac-post-content th {
  background: var(--bg-elevated);
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.72rem;
}
.ac-post-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* ── Post Tags ── */
.ac-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.ac-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  color: var(--text-muted);
  transition: all var(--duration-fast);
}
.ac-tag:hover { border-color: var(--gold); color: var(--gold); }

/* ── Sidebar ── */
.ac-post-sidebar {
  position: static;
  max-width: 780px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.ac-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem;
}
.ac-sidebar-title {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

/* Author card */
.ac-author-card { text-align: center; }
.ac-author-avatar-lg {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--bg-deep); font-weight: 700; font-size: 1.1rem;
  margin: 0 auto 0.75rem;
}
.ac-author-name { font-family: var(--font-display); font-size: 1.15rem; color: var(--text-primary); margin-bottom: 0.25rem; }
.ac-author-role { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.75rem; }
.ac-author-bio { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.65; }

/* Related posts */
.ac-related-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
  transition: opacity var(--duration-fast);
}
.ac-related-item:last-child { border-bottom: none; padding-bottom: 0; }
.ac-related-item:hover { opacity: 0.75; }
.ac-related-thumb { width: 60px; height: 60px; border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.ac-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ac-related-title { font-size: 0.85rem; color: var(--text-primary); line-height: 1.4; margin-bottom: 0.25rem; }
.ac-related-date { font-size: 0.72rem; color: var(--text-muted); }

/* Sidebar categories */
.ac-sidebar-cats { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.ac-sidebar-cats li a { font-size: 0.85rem; color: var(--text-secondary); display: flex; justify-content: space-between; }
.ac-sidebar-cats li a:hover { color: var(--gold); }

/* ── Post Navigation ── */
.ac-post-nav {
  max-width: 780px;
  margin: 0 auto 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
}
.ac-post-nav-next { text-align: right; }
.ac-post-nav-label { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.5rem; }
.ac-post-nav-link { font-family: var(--font-display); font-size: 1.1rem; color: var(--text-primary); line-height: 1.3; }
.ac-post-nav-link:hover { color: var(--gold); }
.ac-page-links { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 1.5rem; }
.ac-page-links a, .ac-page-links span { font-size: 0.82rem; padding: 0.4rem 0.75rem; border: 1px solid var(--border); border-radius: 2px; }
.ac-page-links a:hover { border-color: var(--gold); color: var(--gold); }

/* ── Comments ── */
.ac-comments-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding-bottom: 5rem;
}
.ac-comments-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 300;
  margin-bottom: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.ac-comment-list { list-style: none; display: flex; flex-direction: column; gap: 0; }
.ac-comment {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.ac-comment .children { list-style: none; padding-left: 2rem; }
.ac-comment-inner { display: flex; gap: 1rem; }
.ac-comment-avatar img { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--border); flex-shrink: 0; }
.ac-comment-body { flex: 1; }
.ac-comment-header { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.ac-comment-author { font-size: 0.9rem; font-weight: 500; color: var(--text-primary); }
.ac-comment-date { font-size: 0.75rem; color: var(--text-muted); }
.ac-comment-reply a { font-size: 0.72rem; color: var(--gold); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.ac-comment-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.75; }
.ac-comment-text p { margin-bottom: 0.5rem; }
.ac-comment-pending { font-size: 0.82rem; color: var(--gold-dim); margin-bottom: 0.5rem; }
.ac-comments-closed { font-size: 0.88rem; color: var(--text-muted); padding: 1rem; border: 1px solid var(--border); border-radius: 4px; text-align: center; margin-bottom: 1.5rem; }

/* Comment form */
.ac-comment-form { margin-top: 2.5rem; }
.ac-comment-form .form-submit { margin-top: 0.5rem; }
.comment-reply-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 300; margin-bottom: 2rem; }
.required { color: var(--gold); }

/* ── Static Page ── */
.ac-page-hero {
  position: relative;
  padding: 9rem 0 4rem;
  background: var(--bg-deep);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.ac-page-hero-bg { position: absolute; inset: 0; }
.ac-page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.ac-page-hero-content { position: relative; z-index: 1; }
.ac-page-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 4rem 0 6rem;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.ac-page-content h1,
.ac-page-content h2,
.ac-page-content h3,
.ac-page-content h4 {
  font-family: var(--font-display);
  color: var(--text-primary);
  font-weight: 400;
  margin: 2.5rem 0 0.75rem;
}
.ac-page-content h1 { font-size: 2.5rem; }
.ac-page-content h2 { font-size: 2rem; }
.ac-page-content h3 { font-size: 1.5rem; }
.ac-page-content p { margin-bottom: 1.4rem; }
.ac-page-content a { color: var(--gold); }
.ac-page-content a:hover { color: var(--gold-bright); }
.ac-page-content img { border-radius: 4px; margin: 1.5rem 0; border: 1px solid var(--border); }
.ac-page-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  background: var(--bg-elevated);
  border-radius: 0 4px 4px 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-primary);
}
.ac-page-content ul, .ac-page-content ol { padding-left: 1.5rem; margin-bottom: 1.4rem; }
.ac-page-content ul li::marker { color: var(--gold); }

/* ── Responsive — templates ── */
@media (max-width: 1024px) {
  .ac-posts-grid { grid-template-columns: 1fr 1fr; }
  .ac-post-card--featured { grid-column: 1 / -1; grid-template-columns: 1fr; }
  .ac-post-card--featured .ac-post-card-img { height: 260px; }
}
@media (max-width: 768px) {
  .ac-posts-grid { grid-template-columns: 1fr; }
  .ac-post-nav { grid-template-columns: 1fr; max-width: 100%; }
  .ac-post-nav-next { text-align: left; }
  .ac-post-card--featured .ac-post-card-title { font-size: 1.4rem; }
  .ac-page-content { padding: 2.5rem 0 4rem; }
  .ac-post-content,
  .ac-post-sidebar,
  .ac-comments-wrap { max-width: 100%; }
}