/* Explain: Styles for unique components like headers, cards, and form elements. */
.site-header {
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, var(--nav-bg) 0%, var(--glass-bg) 100%);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    color: var(--primary-color);
    text-align: center;
    text-decoration: none;
    transition: opacity 300ms ease;
}

.brand:hover {
    opacity: 0.72;
}

.brand-name {
    font-family: var(--font-logo);
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.01em;
}

.brand-amp {
    color: var(--accent-color);
    font-style: italic;
}

.brand-subtitle {
    width: 100%;
    margin-top: 0.4rem;
    color: var(--logo-subtitle-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    transition: color 300ms ease;
}

.nav-link:hover,
.nav-link:focus-visible {
    color: var(--accent-color);
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    color: var(--sage-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.section-kicker::before {
    display: inline-block;
    width: 2.2rem;
    height: 1px;
    background: var(--accent-color);
    content: "";
}

.glass-panel {
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.portrait-frame {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: var(--surface-color);
    box-shadow: var(--shadow-soft);
}

.portrait-frame::after {
    position: absolute;
    inset: 0.85rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.4rem;
    content: "";
    pointer-events: none;
}

.portrait-hero {
    height: min(70vh, 620px);
    min-height: 420px;
}

.portrait-tall {
    height: 540px;
}

.practice-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    background: var(--glass-bg);
    padding: 1.85rem;
    box-shadow: var(--shadow-soft);
    transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
}

.practice-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
}

.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: var(--sage-soft);
    color: var(--sage-dark);
    font-size: 1.1rem;
}

.stat-block {
    border-left: 1px solid var(--glass-border);
    padding-left: 1.1rem;
}

.stat-value {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1;
}

.stat-label {
    margin-top: 0.45rem;
    color: var(--text-muted);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-transform: uppercase;
}

.stat-note {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.7;
}

.quiet-detail {
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: var(--glass-bg);
    padding: 1.25rem;
}

.quiet-detail span {
    display: inline-flex;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
}

.quiet-detail p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.team-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    border-radius: 1.75rem;
    background: var(--glass-bg);
    box-shadow: var(--shadow-soft);
}

.team-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center top;
}

.team-photo-full {
    aspect-ratio: 3 / 4;
    background: var(--surface-color);
    object-fit: cover;
}

.team-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.5rem;
}

.team-role {
    color: var(--sage-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.7;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: 1.25rem;
    background: var(--glass-bg);
    padding: 1.1rem 1.35rem;
}

.faq-item + .faq-item {
    margin-top: 0.85rem;
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-color);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.02rem;
    font-weight: 600;
    line-height: 1.5;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:focus-visible {
    border-radius: 0.6rem;
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

.faq-chevron {
    flex-shrink: 0;
    color: var(--accent-color);
    transition: transform 300ms ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 0.9rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.75;
}

.contact-form {
    border: 1px solid var(--glass-border);
    border-radius: 2rem;
    background: var(--glass-bg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.form-status.success {
    color: var(--primary-color);
    font-weight: 600;
}

.form-status.error {
    color: var(--logo-subtitle-color);
    font-weight: 600;
}

.contact-line {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.contact-line i {
    margin-top: 0.25rem;
    color: var(--accent-color);
}

.mobile-cta-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: flex;
    gap: 0.75rem;
    border-top: 1px solid var(--glass-border);
    background: var(--nav-bg);
    padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
    backdrop-filter: blur(18px);
}

@media (min-width: 640px) {
    .brand-name {
        font-size: 1.55rem;
    }

    .brand-subtitle {
        font-size: 0.95rem;
    }
}

@media (min-width: 1024px) {
    .brand-name {
        font-size: 1.8rem;
    }

    .brand-subtitle {
        font-size: 1.05rem;
    }
}

@media (min-width: 768px) {
    .mobile-cta-bar {
        display: none;
    }
}

.page-hero {
    background:
        radial-gradient(circle at 82% 6%, var(--sage-soft), transparent 24rem),
        linear-gradient(180deg, var(--surface-color) 0%, var(--background-color) 58%);
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    color: var(--text-muted);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 250ms ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
    color: var(--accent-color);
}

.breadcrumb i {
    color: var(--accent-color);
    font-size: 0.55rem;
}

.area-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid var(--glass-border);
    border-radius: 999px;
    background: var(--glass-bg);
    padding: 0.45rem 0.85rem;
    color: var(--text-muted);
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.6;
}

.check-list {
    display: grid;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.7;
}

.check-list i {
    margin-top: 0.4rem;
    color: var(--accent-color);
    font-size: 0.68rem;
}

.case-card {
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    background: var(--glass-bg);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: border-color 300ms ease, transform 300ms ease;
}

.case-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-3px);
}

.case-tag {
    display: inline-flex;
    align-self: flex-start;
    border-radius: 999px;
    background: var(--sage-soft);
    padding: 0.3rem 0.7rem;
    color: var(--sage-dark);
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1.6;
    text-transform: uppercase;
}

.nav-panel {
    position: absolute;
    top: 100%;
    left: -1.25rem;
    z-index: 60;
    width: 24rem;
    padding-top: 0.9rem;
}

.nav-panel-inner {
    display: grid;
    gap: 0.15rem;
    border: 1px solid var(--glass-border);
    border-radius: 1.35rem;
    background: var(--nav-bg);
    padding: 0.7rem;
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
}

.nav-panel-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-radius: 0.9rem;
    padding: 0.6rem 0.8rem;
    color: var(--text-color);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: background 250ms ease, color 250ms ease;
}

.nav-panel-link:hover,
.nav-panel-link:focus-visible {
    background: var(--sage-soft);
    color: var(--primary-hover);
}

@media (max-width: 767px) {
    .section-kicker::before {
        width: 1.6rem;
    }

    .portrait-hero,
    .portrait-tall {
        height: 400px;
        min-height: 0;
    }

    .portrait-frame {
        border-radius: 1.6rem;
    }

    .portrait-frame::after {
        inset: 0.6rem;
        border-radius: 1.1rem;
    }
}

.press-media-trigger {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text-color);
}

.press-media-img {
    transition: transform 500ms ease, filter 400ms ease;
}

.press-media-trigger:hover .press-media-img,
.press-media-trigger:focus-visible .press-media-img {
    filter: brightness(0.72);
    transform: scale(1.04);
}

.press-media-trigger:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: -4px;
}

.press-media-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(180deg, rgba(17, 20, 17, 0) 0%, rgba(17, 20, 17, 0.88) 62%);
    padding: 2rem 1rem 0.9rem;
    color: var(--text-color);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-align: center;
    text-transform: uppercase;
    transition: background 300ms ease;
    pointer-events: none;
}

.press-media-trigger:hover .press-media-overlay,
.press-media-trigger:focus-visible .press-media-overlay {
    background: linear-gradient(180deg, rgba(17, 20, 17, 0.1) 0%, rgba(17, 20, 17, 0.94) 55%);
}

.press-card-busy .press-media-overlay {
    background: rgba(17, 20, 17, 0.86);
}

.press-card-status.success {
    color: var(--primary-color);
}

.press-card-status.error {
    color: var(--logo-subtitle-color);
}

.press-media-dragover {
    outline: 2px dashed var(--accent-color);
    outline-offset: -8px;
}

.press-media-dragover .press-media-overlay {
    background: rgba(17, 20, 17, 0.86);
}