/*
Theme Name: EB1 Architect
Theme URI: https://eb1architect.com/
Author: PAL Consulting and Law Office of Amy Ghosh, APC
Author URI: https://eb1architect.com/
Description: A polished marketing and learning-center WordPress theme for EB-1A, EB-1B and EB-2 NIW evidence-development services, including patents, publications, recommendation architecture, profile review intake and YouTube seminar management.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eb1architect
Tags: custom-logo, custom-menu, featured-images, one-column, two-columns, responsive-layout, accessibility-ready
*/

:root {
  --ink: #0a2240;
  --ink-2: #122f54;
  --blue: #2f6fed;
  --sky: #4fc3ff;
  --gold: #f4c95d;
  --green: #35d0a4;
  --cream: #fff8e6;
  --paper: #ffffff;
  --muted: #526070;
  --muted-2: #6d7890;
  --line: #d9e5f7;
  --soft: #f6f9ff;
  --soft-2: #eef5ff;
  --dark: #071a32;
  --shadow: 0 24px 70px rgba(10, 34, 64, .14);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
p { margin: 0 0 1rem; color: var(--muted); }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; color: var(--ink); letter-spacing: -.03em; }
h1 { font-size: clamp(2.75rem, 6vw, 5.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
ul { padding-left: 1.2rem; color: var(--muted); }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 90px 0; }
.section-tight { padding: 64px 0; }
.section-soft { background: linear-gradient(180deg, var(--soft), #fff); }
.section-dark { background: radial-gradient(circle at top left, rgba(79,195,255,.22), transparent 34%), linear-gradient(135deg, #071a32, #0d2a50); color: #fff; }
.section-dark h2, .section-dark h3, .section-dark p, .section-dark li { color: #fff; }
.section-dark p, .section-dark li { opacity: .82; }
.eyebrow { display: inline-flex; gap: .5rem; align-items: center; padding: .38rem .75rem; border: 1px solid rgba(47,111,237,.22); border-radius: 999px; background: rgba(79,195,255,.12); color: var(--blue); font-size: .82rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.eyebrow.dark { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: var(--gold); }
.lede { font-size: clamp(1.05rem, 1.8vw, 1.35rem); color: var(--muted); max-width: 760px; }
.small { font-size: .9rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 9999; padding: .75rem 1rem; background: #fff; color: var(--ink); border-radius: 10px; box-shadow: var(--shadow); }
.skip-link:focus { left: 12px; }
.topbar { background: var(--dark); color: rgba(255,255,255,.84); font-size: .9rem; }
.topbar-inner { display: flex; gap: 1.1rem; justify-content: flex-end; align-items: center; padding: .45rem 0; }
.topbar a { color: #fff; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 80; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(217,229,247,.9); transition: box-shadow .2s ease, background .2s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 35px rgba(10,34,64,.08); background: rgba(255,255,255,.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 2rem; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 900; color: var(--ink); }
.brand span { display: grid; line-height: 1.05; }
.brand strong { font-size: 1.12rem; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: .72rem; margin-top: .2rem; font-weight: 700; }
.primary-nav { display: flex; align-items: center; gap: .2rem; }
.nav-link { padding: .7rem .78rem; border-radius: 999px; font-size: .92rem; font-weight: 800; color: var(--ink-2); }
.nav-link:hover, .nav-link.active { background: var(--soft-2); color: var(--blue); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: #fff; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 4px; }
.hero { position: relative; overflow: hidden; padding: 84px 0 70px; background: radial-gradient(circle at 80% 0%, rgba(79,195,255,.20), transparent 32%), linear-gradient(180deg, #f9fbff, #fff); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(360px, .85fr); gap: 52px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { margin: 22px 0 22px; }
.hero h1 .accent { color: var(--blue); }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .82rem 1.2rem; border-radius: 999px; border: 1px solid transparent; font-weight: 900; box-shadow: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; cursor: pointer; }
.btn:hover { transform: translateY(-1px); color: inherit; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--blue), #1743a8); box-shadow: 0 12px 32px rgba(47,111,237,.24); }
.btn-primary:hover { color: #fff; box-shadow: 0 18px 38px rgba(47,111,237,.32); }
.btn-secondary { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-secondary:hover { background: var(--soft); color: var(--ink); }
.btn-gold { color: #321f00; background: var(--gold); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.25); background: rgba(255,255,255,.08); }
.btn-ghost:hover { color: #fff; background: rgba(255,255,255,.14); }
.hero-visual { position: relative; }
.hero-card { position: relative; border-radius: 32px; box-shadow: var(--shadow); overflow: hidden; background: #0a2240; }
.hero-floating { position: absolute; right: -22px; bottom: -28px; width: min(310px, 64%); padding: 1.2rem; border-radius: 22px; background: #fff; box-shadow: 0 24px 70px rgba(10,34,64,.22); border: 1px solid var(--line); }
.hero-floating strong { display: block; font-size: 1.05rem; }
.hero-floating span { display: block; color: var(--muted); font-size: .92rem; margin-top: .3rem; }
.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; margin-top: 54px; }
.proof-item { padding: 1.4rem; background: #fff; }
.proof-item strong { display: block; font-size: clamp(1.4rem, 2vw, 2rem); line-height: 1; color: var(--ink); }
.proof-item span { display: block; margin-top: .45rem; color: var(--muted); font-size: .92rem; }
.section-heading { display: grid; gap: 1rem; margin-bottom: 2.1rem; }
.section-heading.center { text-align: center; justify-items: center; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.45rem; box-shadow: 0 10px 34px rgba(10,34,64,.06); }
.card h3 { margin-bottom: .65rem; }
.card p:last-child { margin-bottom: 0; }
.card.accent { background: linear-gradient(180deg, #fff, var(--soft)); border-color: rgba(47,111,237,.22); }
.card.dark-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.16); box-shadow: none; }
.card.dark-card h3, .card.dark-card p { color: #fff; }
.icon { width: 48px; height: 48px; display: inline-grid; place-items: center; border-radius: 15px; background: var(--soft-2); color: var(--blue); font-weight: 900; margin-bottom: 1rem; }
.icon.gold { background: var(--cream); color: #8a6000; }
.icon.green { background: rgba(53,208,164,.12); color: #028963; }
.process { display: grid; gap: 16px; counter-reset: step; }
.process-row { display: grid; grid-template-columns: 72px 1fr; gap: 18px; align-items: start; padding: 1.2rem; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.process-row::before { counter-increment: step; content: counter(step, decimal-leading-zero); width: 58px; height: 58px; display: grid; place-items: center; border-radius: 18px; color: #fff; background: linear-gradient(135deg, var(--blue), #0a2240); font-weight: 900; }
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr); gap: 48px; align-items: center; }
.feature-list { display: grid; gap: .85rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.feature-list li { position: relative; padding-left: 2rem; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.35rem; height: 1.35rem; display: grid; place-items: center; border-radius: 50%; background: rgba(53,208,164,.16); color: #028963; font-size: .8rem; font-weight: 900; }
.pill-row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.2rem; }
.pill { display: inline-flex; align-items: center; padding: .45rem .75rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); font-size: .86rem; font-weight: 800; }
.banner { border-radius: 30px; background: radial-gradient(circle at top right, rgba(79,195,255,.28), transparent 32%), linear-gradient(135deg, var(--ink), #071a32); color: #fff; padding: clamp(1.6rem, 4vw, 3rem); overflow: hidden; }
.banner h2, .banner h3, .banner p { color: #fff; }
.banner p { opacity: .82; }
.quote-card { padding: 2rem; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.quote-mark { font-size: 4rem; line-height: .7; color: var(--gold); font-weight: 900; }
.page-hero { padding: 76px 0 52px; background: radial-gradient(circle at 85% 0%, rgba(79,195,255,.18), transparent 30%), linear-gradient(180deg, #f9fbff, #fff); }
.page-hero h1 { max-width: 960px; margin: 20px 0; }
.breadcrumb { color: var(--muted); font-size: .9rem; font-weight: 800; }
.breadcrumb a { color: var(--blue); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 10px 34px rgba(10,34,64,.05); }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 1rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); font-size: .84rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
tr:last-child td { border-bottom: 0; }
.timeline { position: relative; display: grid; gap: 18px; }
.timeline::before { content: ""; position: absolute; left: 20px; top: 12px; bottom: 12px; width: 2px; background: var(--line); }
.timeline-item { position: relative; padding-left: 58px; }
.timeline-dot { position: absolute; left: 7px; top: 5px; width: 28px; height: 28px; border-radius: 50%; background: var(--blue); border: 6px solid #fff; box-shadow: 0 0 0 1px var(--line); }
.profile-card { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: start; }
.avatar { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(135deg, var(--blue), var(--ink)); color: #fff; font-size: 1.8rem; font-weight: 900; }
.avatar.gold { background: linear-gradient(135deg, var(--gold), #a76d00); color: #211400; }
.video-toolbar { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1.5rem 0 2rem; }
.filter-btn { border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 850; border-radius: 999px; padding: .62rem .9rem; cursor: pointer; }
.filter-btn.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.video-card { overflow: hidden; padding: 0; }
.video-frame { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #071a32, #153d70); display: grid; place-items: center; color: #fff; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-placeholder { padding: 1rem; text-align: center; }
.video-placeholder strong { display: block; font-size: 1.05rem; }
.video-placeholder span { display: block; margin-top: .35rem; font-size: .88rem; opacity: .78; }
.video-body { padding: 1.25rem; }
.video-body .tag { display: inline-block; margin-bottom: .6rem; color: var(--blue); font-weight: 900; font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; }
.contact-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(360px, 1.15fr); gap: 28px; align-items: start; }
.contact-card { border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); padding: 2rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-field.full { grid-column: 1 / -1; }
label { display: block; font-size: .9rem; font-weight: 900; margin-bottom: .4rem; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: .85rem .9rem; font: inherit; color: var(--ink); background: #fff; }
textarea { min-height: 140px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(47,111,237,.16); border-color: var(--blue); }
.notice { padding: 1rem; border-radius: 18px; border: 1px solid rgba(244,201,93,.44); background: rgba(244,201,93,.12); color: #5b4209; }
.notice p { color: #5b4209; margin: 0; }
.source-list { display: grid; gap: 1rem; }
.source-list a { color: var(--blue); font-weight: 800; word-break: break-word; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .8fr 1fr; gap: 34px; padding: 54px 0 40px; }
.site-footer { background: #06182d; color: #fff; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: .9rem; }
.site-footer p { color: rgba(255,255,255,.72); }
.site-footer a { display: block; color: rgba(255,255,255,.82); margin: .45rem 0; }
.site-footer a:hover { color: #fff; }
.footer-brand { color: #fff; margin-bottom: 1rem; font-size: 1.1rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0 24px; color: rgba(255,255,255,.62); font-size: .9rem; }
.text-cta { color: var(--blue) !important; font-weight: 900; }
@media (max-width: 1020px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .proof-strip, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .primary-nav { position: absolute; left: 20px; right: 20px; top: 88px; display: none; flex-direction: column; align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: .8rem; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .nav-link { border-radius: 14px; }
  .menu-toggle { display: block; }
  .topbar-inner { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 64px 0; }
  .hero { padding-top: 54px; }
  .proof-strip, .grid-2, .grid-3, .grid-4, .video-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-field.full { grid-column: auto; }
  .hero-floating { position: static; width: auto; margin-top: 16px; }
  .profile-card { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .topbar span { display: none; }
}
@media print {
  .topbar, .site-header, .site-footer, .btn, .menu-toggle { display: none !important; }
  body { color: #000; }
  .section, .page-hero, .hero { padding: 24px 0; }
  .card, .quote-card, .contact-card { box-shadow: none; }
}


/* WordPress theme additions */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .site-header { top: 46px; } }
.entry-content > *:first-child { margin-top: 0; }
.entry-title { margin-bottom: 1rem; }
.alignwide { max-width: var(--container); margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; margin-left: 0; margin-right: 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .9rem; color: var(--muted); }
.alert { padding: 1rem 1.2rem; border-radius: 18px; margin-bottom: 1.2rem; font-weight: 800; }
.alert-success { background: rgba(53,208,164,.14); border: 1px solid rgba(53,208,164,.36); color: #026349; }
.alert-error { background: rgba(190,40,40,.10); border: 1px solid rgba(190,40,40,.22); color: #8a1d1d; }
.checkbox-field { display: flex; gap: .65rem; align-items: flex-start; }
.checkbox-field input { width: auto; margin-top: .25rem; }
.search-form { display: flex; gap: .7rem; align-items: center; }
.search-form label { flex: 1; margin-bottom: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.admin-note { background: #fff; border-left: 4px solid var(--blue); padding: 1rem; border-radius: 12px; box-shadow: 0 8px 22px rgba(10,34,64,.06); }
