/* ================================================
   EDITORIAL SERVICE PAGE STYLES
   Premium, refined aesthetic for high-end legal services
   ================================================ */

:root {
    --editorial-ink: #1a1a1a;
    --editorial-charcoal: #2d2d2d;
    --editorial-stone: #666666;
    --editorial-mist: #e8e8e8;
    --editorial-paper: #fafafa;
    --editorial-accent: #c4a574;
    --editorial-accent-light: #e5d4b8;
}

/* ================================================
   HERO SECTION
   ================================================ */

.editorial-hero {
    background: linear-gradient(180deg, var(--editorial-paper) 0%, #ffffff 100%);
    padding: 2rem 0 0;
    animation: fadeIn 0.8s ease-out;
}

.editorial-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

@media (min-width: 1200px) {
    .editorial-container {
        max-width: 1200px;
        padding: 0 4rem;
    }
}

.editorial-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    color: var(--editorial-stone);
    margin-bottom: 0;
    animation: slideDown 0.6s ease-out;
}

.editorial-breadcrumb a {
    color: var(--editorial-stone);
    text-decoration: none;
    transition: color 0.2s ease;
}

.editorial-breadcrumb a:hover {
    color: var(--editorial-accent);
}

.editorial-breadcrumb span {
    color: var(--editorial-mist);
}

/* ================================================
   ARTICLE STRUCTURE
   ================================================ */

.editorial-article {
    background: #ffffff;
    min-height: 100vh;
}

.editorial-header {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 5rem 0 4rem;
    border-bottom: 1px solid var(--editorial-mist);
    position: relative;
    animation: fadeIn 0.8s ease-out 0.2s both;
}

@media (min-width: 768px) {
    .editorial-header {
        grid-template-columns: 1fr 240px;
        gap: 4rem;
        padding: 7rem 0 5rem;
    }
}

@media (min-width: 1024px) {
    .editorial-header {
        grid-template-columns: 1fr 320px;
        gap: 6rem;
        padding: 9rem 0 6rem;
    }
}

.editorial-header__content {
    max-width: 680px;
}

.editorial-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--editorial-ink);
    margin: 0 0 1.5rem;
}

.editorial-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.7;
    color: var(--editorial-stone);
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* ================================================
   DECORATIVE BRAND ORNAMENT
   ================================================ */

.editorial-header__decoration {
    display: none;
}

@media (min-width: 768px) {
    .editorial-header__decoration {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        position: relative;
        overflow: visible;
    }
}

.brand-ornament {
    position: relative;
    width: 280px;
    height: 280px;
    opacity: 0;
    animation: ornamentReveal 1.4s ease-out 0.5s forwards;
}

.brand-icon {
    position: absolute;
    color: var(--editorial-accent);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.brand-icon--large {
    width: 280px;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    opacity: 0.08;
    filter: blur(0.5px);
}

.brand-icon--small {
    width: 140px;
    height: auto;
    top: 30%;
    right: -10%;
    opacity: 0.18;
    transform: rotate(8deg);
}

.brand-ornament:hover .brand-icon--large {
    transform: translate(-50%, -50%) rotate(-8deg) scale(1.05);
    opacity: 0.12;
}

.brand-ornament:hover .brand-icon--small {
    transform: rotate(12deg) scale(1.1);
    opacity: 0.25;
}

@media (min-width: 1024px) {
    .brand-ornament {
        width: 360px;
        height: 360px;
    }

    .brand-icon--large {
        width: 360px;
    }

    .brand-icon--small {
        width: 180px;
        top: 25%;
        right: -15%;
    }
}

/* ================================================
   ARTICLE BODY
   ================================================ */

.editorial-body {
    padding: 5rem 0;
}

@media (min-width: 768px) {
    .editorial-body {
        padding: 7rem 0;
    }
}

.editorial-section {
    margin-bottom: 5rem;
    animation: fadeInUp 0.8s ease-out;
}

.editorial-section:last-child {
    margin-bottom: 0;
}

.editorial-lead {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    line-height: 1.6;
    color: var(--editorial-charcoal);
    margin: 0 0 2.5rem;
    max-width: 820px;
    font-weight: 400;
}

.editorial-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--editorial-stone);
    margin: 0 0 1.75rem;
    max-width: 720px;
    font-weight: 400;
}

.editorial-text:last-child {
    margin-bottom: 0;
}

/* ================================================
   SECTION TITLES
   ================================================ */

.editorial-section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--editorial-ink);
    margin: 0 0 3rem;
    position: relative;
    display: inline-block;
}

.editorial-section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.75rem;
    width: 48px;
    height: 2px;
    background: var(--editorial-accent);
}

/* ================================================
   APPROACH SECTION
   ================================================ */

.editorial-section--approach {
    padding: 5rem 0;
    border-top: 1px solid var(--editorial-mist);
    border-bottom: 1px solid var(--editorial-mist);
}

.approach-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

@media (min-width: 768px) {
    .approach-columns {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
}

.approach-item {
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.approach-item:nth-child(2) {
    animation-delay: 0.1s;
}

.approach-item:nth-child(3) {
    animation-delay: 0.2s;
}

.approach-number {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 300;
    color: var(--editorial-accent-light);
    line-height: 1;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.approach-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.375rem;
    font-weight: 500;
    color: var(--editorial-ink);
    margin: 0 0 1rem;
    letter-spacing: -0.01em;
}

.approach-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--editorial-stone);
    margin: 0;
}

/* ================================================
   LEGAL SECTION
   ================================================ */

.editorial-section--legal {
    padding: 5rem 0;
    background: var(--editorial-paper);
    margin-left: -2rem;
    margin-right: -2rem;
    padding-left: 2rem;
    padding-right: 2rem;
}

@media (min-width: 1200px) {
    .editorial-section--legal {
        margin-left: -4rem;
        margin-right: -4rem;
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.legal-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .legal-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.legal-item {
    animation: fadeInUp 0.8s ease-out;
}

.legal-item:nth-child(2) {
    animation-delay: 0.1s;
}

.legal-item:nth-child(3) {
    animation-delay: 0.2s;
}

.legal-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--editorial-accent);
    margin-bottom: 0.75rem;
}

.legal-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--editorial-charcoal);
}

/* ================================================
   SECTORS SECTION
   ================================================ */

.editorial-section--sectors {
    padding-top: 5rem;
}

.sectors-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .sectors-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 3rem;
    }
}

@media (min-width: 1024px) {
    .sectors-list {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

.sector-item {
    border-left: 2px solid var(--editorial-mist);
    padding-left: 1.5rem;
    transition: border-color 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.sector-item:nth-child(2) {
    animation-delay: 0.1s;
}

.sector-item:nth-child(3) {
    animation-delay: 0.2s;
}

.sector-item:nth-child(4) {
    animation-delay: 0.3s;
}

.sector-item:hover {
    border-left-color: var(--editorial-accent);
}

.sector-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--editorial-ink);
    margin: 0 0 0.75rem;
    letter-spacing: -0.01em;
}

.sector-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--editorial-stone);
    margin: 0;
}

/* ================================================
   FOOTER NAVIGATION
   ================================================ */

.editorial-footer {
    padding: 5rem 0 6rem;
    border-top: 1px solid var(--editorial-mist);
    margin-top: 5rem;
    animation: fadeIn 0.8s ease-out;
}

.editorial-footer-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--editorial-stone);
    margin: 0 0 2rem;
}

.editorial-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

@media (min-width: 640px) {
    .editorial-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .editorial-nav {
        grid-template-columns: repeat(4, 1fr);
    }
}

.editorial-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 1.5rem 0;
    border-bottom: 1px solid var(--editorial-mist);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.editorial-nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: var(--editorial-paper);
    transition: width 0.3s ease;
    z-index: -1;
}

.editorial-nav-link:hover::before {
    width: 100%;
}

.editorial-nav-link:hover {
    padding-left: 1rem;
}

.editorial-nav-link:hover .editorial-nav-arrow {
    transform: translateX(4px);
    color: var(--editorial-accent);
}

.editorial-nav-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--editorial-ink);
    letter-spacing: -0.01em;
}

.editorial-nav-arrow {
    font-size: 1.25rem;
    color: var(--editorial-stone);
    transition: all 0.3s ease;
}

/* ================================================
   ANIMATIONS
   ================================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes ornamentReveal {
    from {
        opacity: 0;
        transform: scale(0.9) rotate(-10deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* ================================================
   RESPONSIVE ADJUSTMENTS
   ================================================ */

@media (max-width: 767px) {
    .editorial-hero {
        padding: 1.5rem 0 0;
    }

    .editorial-header {
        padding: 3rem 0 3rem;
    }

    .editorial-body {
        padding: 3rem 0;
    }

    .editorial-section {
        margin-bottom: 3rem;
    }

    .editorial-section--approach,
    .editorial-section--legal {
        padding: 3rem 0;
    }

    .editorial-footer {
        padding: 3rem 0 4rem;
        margin-top: 3rem;
    }
}

/* ================================================
   PRINT STYLES
   ================================================ */

@media print {
    .editorial-hero,
    .editorial-footer {
        display: none;
    }

    .editorial-header__decoration {
        display: none;
    }

    .editorial-article {
        padding: 0;
    }

    .editorial-title {
        font-size: 2.5rem;
    }

    .editorial-lead,
    .editorial-text {
        font-size: 11pt;
        line-height: 1.6;
    }
}
