/**
 * Google Inspired Classic — Main Stylesheet
 * Design reference: Google Account, Google Blog, Think with Google
 */

/* ========================================
   CSS Variables
   ======================================== */
:root {
    --color-base: #ffffff;
    --color-contrast: #1f1f1f;
    --color-surface: #f8f9fa;
    --color-surface-variant: #f0f4f9;
    --color-border: #dadce0;
    --color-primary: #1a73e8;
    --color-primary-hover: #174ea6;
    --color-secondary: #e8f0fe;
    --color-accent: #34a853;
    --color-warning: #fbbc04;
    --color-error: #ea4335;
    --color-text-body: #3c4043;
    --color-text-muted: #5f6368;
    --shadow-1: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
    --shadow-2: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 2px 6px 2px rgba(60, 64, 67, .15);
    --shadow-3: 0 1px 3px 0 rgba(60, 64, 67, .3), 0 4px 8px 3px rgba(60, 64, 67, .15);
    --font-system: 'Inter', 'Noto Sans JP', sans-serif;
    --header-height: 64px;
    --sidebar-width: 280px;
}

[data-theme="dark"] {
    --color-base: #202124;
    --color-contrast: #e8eaed;
    --color-surface: #303134;
    --color-surface-variant: #292a2d;
    --color-border: #5f6368;
    --color-primary: #8ab4f8;
    --color-primary-hover: #aecbfa;
    --color-secondary: #3c4043;
    --color-text-body: #bdc1c6;
    --color-text-muted: #9aa0a6;
    --shadow-1: 0 1px 2px 0 rgba(0, 0, 0, .5), 0 1px 3px 1px rgba(0, 0, 0, .3);
    --shadow-2: 0 1px 2px 0 rgba(0, 0, 0, .5), 0 2px 6px 2px rgba(0, 0, 0, .3);
    --shadow-3: 0 1px 3px 0 rgba(0, 0, 0, .5), 0 4px 8px 3px rgba(0, 0, 0, .3);
}

/* ========================================
   Base Reset
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
    margin: 0;
}

ul,
ol {
    padding: 0;
    list-style: none;
}

img,
picture {
    width: 100%;
    display: block;
    height: auto;
}

html,
body {
    height: 100%;
    transition: background-color .3s, color .3s;
}

body {
    font-family: var(--font-system);
    background-color: var(--color-surface-variant);
    color: var(--color-text-body);
    line-height: 1.7;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}

#page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

a:hover {
    color: var(--color-primary-hover);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-contrast);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* ========================================
   Layout
   ======================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
}

.container-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ========================================
   Header
   ======================================== */
.site-header {
    height: var(--header-height);
    border-bottom: 1px solid var(--color-border);
    background: var(--color-base);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
}

.site-header .container {
    height: 100%;
    gap: 1rem;
}

.site-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.site-title a {
    color: var(--color-contrast);
}

.site-title a:hover {
    opacity: .8;
    color: var(--color-contrast);
}

/* Custom Logo */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    max-height: 40px;
    width: auto;
}

/* Hamburger — hidden on PC */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-contrast);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    transition: background .2s;
}

.menu-toggle:hover {
    background: var(--color-surface);
}

.menu-toggle .material-icons {
    font-size: 24px;
}

/* ========================================
   Content Layout
   ======================================== */
.site-content-wrapper {
    display: flex;
    flex: 1 0 auto;
    width: 100%;
}

/* ========================================
   Sidebar (PC — Google Account Style)
   ======================================== */
.site-sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    background: var(--color-surface-variant);
    position: sticky;
    top: var(--header-height);
    height: calc(100vh - var(--header-height));
    overflow-y: auto;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}

.sidebar-navigation {
    width: 100%;
}

.sidebar-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 .75rem;
}

.sidebar-nav-menu li {
    list-style: none;
}

.sidebar-nav-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.25rem;
    height: 48px;
    color: var(--color-text-body);
    font-weight: 500;
    font-size: .875rem;
    border-radius: 9999px;
    transition: background .2s, color .2s;
}

.sidebar-nav-menu a:hover {
    background: var(--color-surface);
    color: var(--color-primary);
}

.sidebar-nav-menu .current-menu-item>a,
.sidebar-nav-menu .current_page_item>a {
    background: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 600;
}

.sidebar-nav-menu .nav-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.sidebar-nav-menu .current-menu-item .nav-icon,
.sidebar-nav-menu .current_page_item .nav-icon {
    color: var(--color-primary);
}

.sidebar-nav-menu .nav-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="dark"] .sidebar-nav-menu a:hover,
[data-theme="dark"] .sidebar-nav-menu .current-menu-item>a,
[data-theme="dark"] .sidebar-nav-menu .current_page_item>a {
    background: var(--color-surface);
}

/* ========================================
   Main Content
   ======================================== */
.site-main-content {
    flex-grow: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

main.site-main {
    flex: 1 0 auto;
}

/* ========================================
   Mobile Drawer
   ======================================== */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 200;
    opacity: 0;
    transition: opacity .3s;
}

.drawer-overlay.is-open {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: var(--color-base);
    z-index: 300;
    transform: translateX(-100%);
    transition: transform .3s cubic-bezier(.4, 0, .2, 1);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.is-open {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border);
    min-height: var(--header-height);
}

.drawer-site-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-contrast);
    margin: 0;
}

.drawer-close {
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
}

.drawer-close:hover {
    background: var(--color-surface);
}

.drawer-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: .75rem;
    list-style: none;
}

.drawer-nav-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.25rem;
    height: 48px;
    color: var(--color-text-body);
    font-weight: 500;
    font-size: .9rem;
    border-radius: 9999px;
    transition: background .2s, color .2s;
}

.drawer-nav-menu a:hover {
    background: var(--color-surface);
    color: var(--color-primary);
}

.drawer-nav-menu .current-menu-item>a,
.drawer-nav-menu .current_page_item>a {
    background: var(--color-secondary);
    color: var(--color-primary);
    font-weight: 600;
}

.drawer-nav-menu .nav-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
    color: var(--color-text-muted);
    flex-shrink: 0;
}

.drawer-nav-menu .current-menu-item .nav-icon,
.drawer-nav-menu .current_page_item .nav-icon {
    color: var(--color-primary);
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 2.5rem 0;
    margin-top: auto;
}

.footer-nav-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-nav-menu a {
    color: var(--color-text-muted);
    font-size: .875rem;
    font-weight: 500;
}

.footer-nav-menu a:hover {
    color: var(--color-primary);
}

.copyright {
    font-size: .8125rem;
    color: var(--color-text-muted);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    display: inline-block;
    background: var(--color-primary);
    color: #fff;
    padding: .625rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: .9375rem;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background .2s, box-shadow .2s;
}

.btn:hover {
    background: var(--color-primary-hover);
    color: #fff;
    box-shadow: var(--shadow-1);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-surface);
    color: var(--color-primary);
}

.btn-hero {
    padding: .875rem 2.5rem;
    font-size: 1.0625rem;
    border-radius: 9999px;
    font-weight: 600;
}

.btn-lg {
    padding: 1rem 3rem;
    font-size: 1.125rem;
}

[data-theme="dark"] .btn:not(.btn-outline) {
    background: var(--color-primary);
    color: #202124;
}

/* ========================================
   Cards
   ======================================== */
.card {
    background: var(--color-base);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: box-shadow .3s, transform .3s;
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-2px);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: .75rem;
    font-weight: 600;
}

.card-title a {
    color: var(--color-contrast);
}

.card-title a:hover {
    color: var(--color-primary);
}

/* ========================================
   Section Headings
   ======================================== */
.section-heading {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: .75rem;
    color: var(--color-contrast);
}

.section-subheading {
    font-size: 1rem;
    text-align: center;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
}

/* ========================================
   ① Hero Section
   ======================================== */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: #1a237e;
    background-size: cover;
    background-position: center;
    padding: 5rem 2rem 0;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26, 35, 126, .85) 0%, rgba(26, 115, 232, .7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
}

.hero-text {
    flex: 1;
    padding-bottom: 5rem;
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -.02em;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 2rem;
    max-width: 540px;
    line-height: 1.8;
}

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

.btn-hero {
    background: #fff;
    color: var(--color-primary);
}

.btn-hero:hover {
    background: #e8f0fe;
    color: var(--color-primary-hover);
    box-shadow: var(--shadow-2);
}

/* Person Image — Slide Up Animation */
.hero-person {
    flex-shrink: 0;
    width: 320px;
    animation: slideUp .8s cubic-bezier(.4, 0, .2, 1) both;
    animation-delay: .3s;
}

.hero-person-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, .3));
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   ② Services Section
   ======================================== */
.section-services {
    padding: 5rem 2rem;
    background: var(--color-base);
}

.service-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
}

.service-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    background: var(--color-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon .material-icons {
    font-size: 28px;
    color: var(--color-primary);
}

.service-card p {
    color: var(--color-text-muted);
    line-height: 1.8;
    font-size: .9375rem;
}

/* ========================================
   ③ Stats Section
   ======================================== */
.section-stats {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #1a73e8, #174ea6);
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    display: block;
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: .25rem;
}

.stat-label {
    font-size: .9375rem;
    color: rgba(255, 255, 255, .8);
}

/* ========================================
   ④ Portfolio Section
   ======================================== */
.section-portfolio {
    padding: 5rem 2rem;
    background: var(--color-surface-variant);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.portfolio-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-base);
    border: 1px solid var(--color-border);
    transition: box-shadow .3s, transform .3s;
    text-decoration: none;
    color: var(--color-contrast);
}

.portfolio-item:hover {
    box-shadow: var(--shadow-2);
    transform: translateY(-3px);
}

.portfolio-thumb {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--color-surface);
}

.portfolio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.portfolio-item:hover .portfolio-thumb img {
    transform: scale(1.05);
}

.portfolio-thumb-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    background: var(--color-surface);
}

.portfolio-thumb-placeholder .material-icons {
    font-size: 48px;
}

.portfolio-info {
    padding: 1rem 1.25rem;
}

.portfolio-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

/* ========================================
   ⑤ Testimonials Section
   ======================================== */
.section-testimonials {
    padding: 5rem 2rem;
    background: var(--color-base);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-quote {
    margin-bottom: 1.5rem;
    flex: 1;
}

.quote-icon {
    color: var(--color-primary);
    font-size: 32px;
    margin-bottom: .5rem;
    display: block;
}

.testimonial-quote p {
    font-size: .9375rem;
    line-height: 1.8;
    color: var(--color-text-body);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar .material-icons {
    font-size: 24px;
    color: var(--color-primary);
}

.testimonial-author strong {
    display: block;
    font-size: .875rem;
    color: var(--color-contrast);
}

.testimonial-company {
    font-size: .8125rem;
    color: var(--color-text-muted);
}

/* ========================================
   ⑥ News Section
   ======================================== */
.section-news {
    padding: 4rem 2rem;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.news-item {
    padding: 1rem 0;
    display: flex;
    align-items: baseline;
    border-bottom: 1px solid var(--color-border);
}

.news-item:last-of-type {
    border-bottom: none;
}

.news-date {
    width: 120px;
    color: var(--color-text-muted);
    font-size: .8125rem;
    flex-shrink: 0;
}

.news-title {
    flex: 1;
}

.news-title a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-contrast);
}

.news-title a:hover {
    color: var(--color-primary);
}

/* ========================================
   ⑦ Blog Section
   ======================================== */
.section-blog {
    padding: 5rem 2rem;
    background: var(--color-surface-variant);
}

.blog-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card-thumb {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

.blog-card:hover .blog-card-thumb img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.25rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-body .entry-meta {
    font-size: .8125rem;
    color: var(--color-text-muted);
    margin-bottom: .5rem;
}

.blog-card-body .card-title {
    font-size: 1.0625rem;
    margin-bottom: .5rem;
}

.blog-card-excerpt {
    font-size: .875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-top: auto;
}

/* ========================================
   ⑧ CTA Section
   ======================================== */
.section-cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #1a237e, #1a73e8);
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, .85);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-cta .btn-hero {
    background: #fff;
    color: var(--color-primary);
}

.section-cta .btn-hero:hover {
    background: #e8f0fe;
}

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

/* ========================================
   Entry Content
   ======================================== */
.entry-meta {
    margin-bottom: .75rem;
    font-size: .8125rem;
    color: var(--color-text-muted);
}

.entry-summary p {
    color: var(--color-text-body);
    line-height: 1.7;
}

.post-thumbnail img {
    border-radius: 12px;
}

.entry-content {
    font-size: 1rem;
    line-height: 1.85;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content h2 {
    margin-top: 2.5rem;
    font-size: 1.75rem;
}

.entry-content h3 {
    margin-top: 2rem;
    font-size: 1.375rem;
}

.entry-content img {
    border-radius: 12px;
    margin: 1.5rem 0;
}

.entry-content ul,
.entry-content ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    margin-bottom: .5rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--color-primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: var(--color-surface);
    border-radius: 0 8px 8px 0;
    color: var(--color-text-muted);
}

/* ========================================
   Utilities
   ======================================== */
.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 3rem;
}

.mb-2 {
    margin-bottom: 2rem;
}

.pt-5 {
    padding-top: 3rem;
}

.pb-5 {
    padding-bottom: 3rem;
}

.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;
}

/* ========================================
   Dark Mode Toggle (Floating FAB)
   ======================================== */
#theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-base);
    color: var(--color-contrast);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-2);
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform .2s, box-shadow .2s;
}

#theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-3);
}

/* ========================================
   Responsive
   ======================================== */
@media screen and (max-width: 992px) {
    .site-sidebar {
        display: none;
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    main.site-main {
        padding: 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .hero-section {
        min-height: auto;
        padding: 3rem 1.25rem 0;
    }

    .hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-text {
        padding-bottom: 2rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-person {
        width: 220px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .news-item {
        flex-direction: column;
        gap: .25rem;
    }

    .news-date {
        width: auto;
    }

    .section-services,
    .section-portfolio,
    .section-testimonials,
    .section-blog {
        padding: 3rem 1.25rem;
    }

    .section-stats,
    .section-news,
    .section-cta {
        padding: 3rem 1.25rem;
    }

    .footer-nav-menu {
        flex-direction: column;
        gap: .75rem;
    }
}

@media screen and (max-width: 480px) {
    .mobile-drawer {
        width: 85vw;
    }

    .hero-title {
        font-size: 1.625rem;
    }

    .hero-person {
        width: 180px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }
}

/* WP Admin Bar */
.admin-bar .site-header {
    top: 32px;
}

.admin-bar .site-sidebar {
    top: calc(var(--header-height) + 32px);
    height: calc(100vh - var(--header-height) - 32px);
}

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