/* ============================================
   Jan Chambers - Main Stylesheet
   ============================================ */

:root {
    --bg: #121212;
    --card: #1c1c1c;
    --card-hover: #222222;
    --text: #f5f5f5;
    --muted: #9a9a9a;
    --accent: #d4af37;
    --accent-light: #e8c85a;
    --accent-dark: #b8941f;
    --accent-soft: rgba(212, 175, 55, .12);
    --accent2: #8b7355;
    --accent2-soft: rgba(139, 115, 85, .12);
    --border: rgba(212, 175, 55, .10);
    --border-light: rgba(212, 175, 55, .18);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
    min-height: 100vh;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--text);
}

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

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

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Navigation ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(18, 18, 18, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.site-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: .85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: .65rem;
    text-decoration: none;
}

.site-branding img {
    height: 52px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, .15));
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
    transition: color .2s ease;
}

.main-navigation a:hover,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_parent > a {
    color: var(--accent);
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #121212 !important;
    padding: .6rem 1.4rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 2px;
    font-size: .9rem;
    transition: all .3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, .25);
    color: #121212 !important;
}

/* ---------- Page Hero ---------- */
.page-hero {
    background: radial-gradient(800px 400px at 50% 0%, rgba(212, 175, 55, .08), transparent 60%), var(--bg);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.page-hero-inner {
    max-width: 700px;
    margin: 0 auto;
}

.page-hero .eyebrow {
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
    font-weight: 600;
}

.page-hero h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -.01em;
}

.page-hero p {
    color: var(--muted);
    font-size: 1.1rem;
    max-width: 650px;
    margin: 0 auto;
}

.page-hero .divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
    margin: 1.5rem auto 0;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #121212;
    padding: .85rem 2.2rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 2px;
    transition: all .3s ease;
    letter-spacing: .3px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, .15);
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, .25);
    color: #121212;
}

.btn-outline {
    display: inline-block;
    border: 1.5px solid var(--accent);
    color: var(--accent);
    padding: .85rem 2rem;
    background: transparent;
    font-weight: 500;
    transition: all .3s ease;
    cursor: pointer;
    border-radius: 2px;
    text-decoration: none;
    font-family: inherit;
    font-size: 1rem;
}

.btn-outline:hover {
    background: var(--accent);
    color: #121212;
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

/* ---------- Section Title ---------- */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title .eyebrow {
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
    font-weight: 600;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: .75rem;
    letter-spacing: -.01em;
}

.section-title .divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
    margin: 1.25rem auto 0;
}

/* ---------- Card Hover ---------- */
.card-hover {
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease;
}

.card-hover:hover {
    transform: translateY(-6px);
    border-color: var(--accent-light);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .4), 0 0 0 1px var(--border-light);
    background: var(--card-hover);
}

/* ---------- Home: Hero Section ---------- */
.home-hero {
    padding: 5rem 1.5rem 4rem;
    background: radial-gradient(1000px 500px at 85% -5%, rgba(212, 175, 55, .08), transparent 60%), var(--bg);
}

.home-hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.home-hero .eyebrow {
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.25rem;
    font-weight: 600;
}

.home-hero h1 {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 600;
    letter-spacing: -.01em;
}

.home-hero h1 span {
    color: var(--accent);
}

.home-hero p {
    color: var(--muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.home-hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.home-hero-image-wrap {
    position: relative;
}

.home-hero-image {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
}

.home-hero-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.home-hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(18, 18, 18, .35), transparent);
}

.home-hero-image-caption {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    color: #fff;
    z-index: 2;
}

.home-hero-image-caption .badge {
    display: inline-block;
    background: var(--accent);
    color: #121212;
    padding: .25rem .75rem;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 2px;
    margin-bottom: .5rem;
}

.home-hero-image-caption .text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
}

.home-hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--card);
    border: 1px solid var(--border-light);
    padding: 1.25rem 1.75rem;
    border-radius: 4px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .3);
    z-index: 10;
}

.home-hero-badge .number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.home-hero-badge .label {
    color: var(--muted);
    font-size: .85rem;
}

/* ---------- Home: Core Principles ---------- */
.core-principles {
    padding: 5rem 1.5rem;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.core-principles-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.principle-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 4px;
}

.principle-card.accent {
    border-top: 3px solid var(--accent);
}

.principle-card.accent2 {
    border-top: 3px solid var(--accent2);
}

.principle-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid var(--border);
    margin-bottom: 1.25rem;
}

.principle-card.accent .principle-icon {
    background: var(--accent-soft);
    color: var(--accent);
}

.principle-card.accent2 .principle-icon {
    background: var(--accent2-soft);
    color: var(--accent2);
}

.principle-card h4 {
    font-size: 1.3rem;
    margin-bottom: .75rem;
}

.principle-card p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.7;
}

/* ---------- Stats Section ---------- */
.stats-section {
    padding: 4rem 1.5rem;
}

.stats-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item .number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.stat-item .label {
    color: var(--muted);
    font-size: .9rem;
    margin-top: .4rem;
}

/* ---------- Team Grid ---------- */
.team-preview {
    padding: 5rem 1.5rem;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.team-preview-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.team-card {
    background: var(--bg);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-card.accent {
    border-top: 3px solid var(--accent);
}

.team-card.accent2 {
    border-top: 3px solid var(--accent2);
}

.team-card-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.team-card-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--card), #252525);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.team-card-body {
    padding: 1.25rem;
    text-align: center;
}

.team-card-body h4 {
    font-size: 1.1rem;
    margin-bottom: .25rem;
}

.team-card-body .role {
    font-weight: 600;
    margin: 0;
    font-size: .82rem;
    font-family: 'Cormorant Garamond', serif;
}

.team-card.accent .role {
    color: var(--accent);
}

.team-card.accent2 .role {
    color: var(--accent2);
}

.team-cta {
    text-align: center;
}

/* ---------- About Page ---------- */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-story .eyebrow {
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
    font-weight: 600;
}

.about-story h2 {
    font-size: 2.2rem;
    margin-bottom: 1.25rem;
    letter-spacing: -.01em;
}

.about-story p {
    color: var(--muted);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-story-image {
    position: relative;
}

.about-story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
}

/* ---------- Mission & Values ---------- */
.mission-values {
    padding: 4rem 1.5rem;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.mission-values-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: var(--bg);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 4px;
}

.value-card.accent {
    border-top: 3px solid var(--accent);
}

.value-card.accent2 {
    border-top: 3px solid var(--accent2);
}

.value-card h4 {
    font-size: 1.3rem;
    margin-bottom: .75rem;
}

.value-card.accent h4 {
    color: var(--accent);
}

.value-card.accent2 h4 {
    color: var(--accent2);
}

.value-card p {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.7;
}

/* ---------- Leadership ---------- */
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.leader-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    border-top: 3px solid var(--accent);
}

.leader-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
}

.leader-card-body {
    padding: 1.5rem;
}

.leader-card-body h4 {
    font-size: 1.3rem;
    margin-bottom: .25rem;
}

.leader-card-body .role {
    color: var(--accent-light);
    font-weight: 600;
    margin-bottom: .75rem;
    font-family: 'Cormorant Garamond', serif;
}

.leader-card-body p {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.leader-card-body .view-profile {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ---------- Practice Areas ---------- */
.practice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 1.5rem;
}

.practice-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 4px;
}

.practice-card.accent {
    border-top: 3px solid var(--accent);
}

.practice-card.accent2 {
    border-top: 3px solid var(--accent2);
}

.practice-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    border: 1px solid var(--border);
    margin-bottom: 1.25rem;
}

.practice-card.accent .practice-icon {
    background: var(--accent-soft);
    color: var(--accent);
}

.practice-card.accent2 .practice-icon {
    background: var(--accent2-soft);
    color: var(--accent2);
}

.practice-card h3 {
    font-size: 1.4rem;
    margin-bottom: .75rem;
}

.practice-card .description {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.practice-services {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.practice-service-item {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .4rem;
    font-size: .88rem;
    color: var(--text);
}

/* ---------- Team Page ---------- */
.team-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.team-group {
    margin-bottom: 3rem;
}

.team-group-title {
    color: var(--accent);
    margin-bottom: 1.5rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--border);
    letter-spacing: .1em;
    text-transform: uppercase;
    font-size: .82rem;
    font-weight: 600;
}

.team-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.team-page-card {
    background: var(--card);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-page-card.accent {
    border-top: 3px solid var(--accent);
}

.team-page-card.accent2 {
    border-top: 3px solid var(--accent2);
}

.team-page-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.team-page-card .placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--card), #252525);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.team-page-card.accent2 .placeholder {
    color: var(--accent2);
}

.team-page-card-body {
    padding: 1.25rem;
    text-align: center;
}

.team-page-card-body h4 {
    font-size: 1.1rem;
    margin-bottom: .25rem;
    color: var(--text);
}

.team-page-card-body .role {
    font-weight: 600;
    margin-bottom: .5rem;
    font-size: .82rem;
    font-family: 'Cormorant Garamond', serif;
}

.team-page-card.accent .role {
    color: var(--accent);
}

.team-page-card.accent2 .role {
    color: var(--accent2);
}

.team-page-card-body .expertise {
    color: var(--muted);
    font-size: .78rem;
    line-height: 1.5;
}

.team-page-card-body .view-profile {
    margin-top: .75rem;
    color: var(--accent);
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* ---------- Clients Page ---------- */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.client-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.client-card img {
    max-width: 100%;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(20%);
}

.client-card .client-name {
    color: var(--accent);
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    text-align: center;
}

.clients-trust {
    padding: 4rem 1.5rem;
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.clients-trust-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.clients-trust-inner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -.01em;
}

.clients-trust-inner > p {
    color: var(--muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
}

.clients-trust-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
}

.trust-stat .number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
}

.trust-stat .label {
    color: var(--muted);
    font-size: .9rem;
    margin-top: .4rem;
}

.become-client {
    padding: 4rem 1.5rem;
}

.become-client-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.become-client-inner h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: -.01em;
}

.become-client-inner p {
    color: var(--muted);
    margin-bottom: 2rem;
}

/* ---------- Contact Page ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 3rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-soft);
    border-radius: 4px;
    color: var(--accent);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.contact-info-content .label {
    font-weight: 600;
    margin-bottom: .2rem;
    font-size: 1.05rem;
}

.contact-info-content .value {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.6;
}

.contact-info-content .value a {
    color: var(--muted);
    text-decoration: none;
}

.contact-form-wrap {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 4px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form .form-group {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
    padding: .85rem 1rem;
    border-radius: 2px;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
    background: transparent;
    border: none;
    color: var(--text);
    width: 100%;
    font-family: inherit;
    outline: none;
}

.contact-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .form-group select {
    appearance: none;
}

.contact-form .form-submit {
    margin-top: 1.25rem;
}

.contact-form .btn-primary {
    width: 100%;
}

/* ---------- Profile Page ---------- */
.profile-hero {
    background: radial-gradient(700px 350px at 85% 0%, rgba(212, 175, 55, .08), transparent 60%),
                radial-gradient(500px 250px at 15% 100%, rgba(212, 175, 55, .05), transparent 60%),
                var(--bg);
    padding: 3.5rem 1.5rem 2.5rem;
    border-bottom: 1px solid var(--border);
}

.profile-hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    align-items: start;
}

.profile-img-wrap {
    position: relative;
}

.profile-img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 4px;
    overflow: hidden;
    border: 2px solid var(--accent);
    background: var(--card);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .4), 0 0 0 1px var(--border);
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-img .placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--card), #252525);
    color: var(--accent);
}

.tier-badge {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: .35rem 1rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-radius: 2px;
    white-space: nowrap;
}

.profile-content {
    padding-top: .5rem;
}

.profile-content .eyebrow {
    font-size: .72rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
    font-weight: 600;
}

.profile-content h1 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: .4rem;
    letter-spacing: -.01em;
}

.profile-content .role {
    font-size: 1.2rem;
    color: var(--accent-light);
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
}

.profile-content .bio {
    color: var(--muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.profile-tags {
    margin-bottom: 1.5rem;
}

.profile-tag {
    display: inline-block;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    padding: .35rem .85rem;
    font-size: .82rem;
    border-radius: 2px;
    margin-right: .5rem;
    margin-bottom: .5rem;
}

.profile-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.profile-contact-item {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--muted);
    font-size: .9rem;
}

.profile-contact-item svg {
    color: var(--accent);
}

.profile-contact-item a {
    color: var(--muted);
    text-decoration: none;
}

.profile-details {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.profile-details h3 {
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: .75rem;
}

.profile-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
}

.profile-details-block {
    margin-bottom: 2.5rem;
}

.education-item {
    display: flex;
    gap: .85rem;
    margin-bottom: .85rem;
    align-items: flex-start;
}

.education-item .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: .6rem;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(212, 175, 55, .3);
}

.education-item .text {
    color: var(--muted);
    font-size: .95rem;
    line-height: 1.6;
}

.achievement-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    padding: .85rem 1rem;
    color: var(--muted);
    font-size: .92rem;
    border-radius: 0 2px 2px 0;
    display: flex;
    gap: .6rem;
    align-items: flex-start;
    margin-bottom: .75rem;
}

.achievement-item .plus {
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.skill-item {
    margin-bottom: 1rem;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    font-size: .88rem;
    color: var(--muted);
    margin-bottom: .4rem;
}

.skill-header .percent {
    color: var(--accent);
    font-weight: 600;
}

.skill-bar {
    height: 6px;
    background: var(--card);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-light));
    border-radius: 3px;
}

.profile-cta {
    background: var(--card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3rem 1.5rem;
    text-align: center;
}

.profile-cta-inner {
    max-width: 700px;
    margin: 0 auto;
}

.profile-cta h3 {
    font-size: 1.8rem;
    margin-bottom: .75rem;
}

.profile-cta p {
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* ---------- Footer ---------- */
.site-footer {
    background: #0a0a0a;
    border-top: 1px solid var(--border);
    padding: 3.5rem 1.5rem 2rem;
}

.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-widget img {
    height: 48px;
    width: auto;
    margin-bottom: 1rem;
    opacity: .95;
}

.footer-widget .footer-tagline {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.7;
    margin: 0;
}

.footer-widget h5 {
    color: var(--text);
    margin: 0 0 1rem;
    font-size: 1rem;
    font-family: 'Cormorant Garamond', serif;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget ul li {
    margin-bottom: .5rem;
}

.footer-widget a {
    color: var(--muted);
    text-decoration: none;
    font-size: .9rem;
    transition: color .2s ease;
}

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

.footer-widget .footer-contact-item {
    color: var(--muted);
    display: block;
    font-size: .9rem;
    margin-bottom: .5rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--muted);
    font-size: .85rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
    .page-hero h1 {
        font-size: 2.2rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .home-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-hero h1 {
        font-size: 2.4rem;
    }

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

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

    .profile-hero-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .profile-img {
        max-width: 260px;
        margin: 0 auto;
    }

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

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

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .stat-item:last-child {
        border-bottom: none;
    }
}

/* ---------- Accessibility ---------- */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ---------- Form Notices ---------- */
.wpcf7-form .wpcf7-response-output {
    margin: 1rem 0 0;
    padding: .75rem 1rem;
    border-radius: 2px;
    font-size: .9rem;
}

.wpcf7-form .wpcf7-not-valid-tip {
    color: #ff6b6b;
    font-size: .8rem;
    margin-top: .25rem;
}

/* ---------- WordPress Defaults ---------- */
.alignnone {
    margin: 1.5rem 0;
}

.aligncenter {
    display: block;
    margin: 1.5rem auto;
}

.alignleft {
    float: left;
    margin: 0 1.5rem 1.5rem 0;
}

.alignright {
    float: right;
    margin: 0 0 1.5rem 1.5rem;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    color: var(--muted);
    font-size: .85rem;
    text-align: center;
    margin-top: .5rem;
}
