/* ==========================================================================
   Variables & Base Styles
   ========================================================================== */
:root {
    /* Color Palette - Coolors Gradient */
    --color-background: #F7F6F2;
    /* Start color - White/Cream */
    --color-bg-alt: #DDE2DB;
    /* Mid light green */
    --color-primary: #5F7A65;
    /* End color - Sage/Olive Dark Green */
    --color-primary-light: #9BACA0;
    /* Mid green */
    --color-primary-dark: #3F5243;

    /* Text Colors */
    --color-text-main: #2D3A30;
    /* Very dark green for readability */
    --color-text-muted: #5C6A60;
    --color-text-light: #F7F6F2;

    /* Typography */
    --font-heading: 'Lora', serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --border-radius: 8px;
    --border-radius-lg: 16px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
    color: var(--color-primary-dark);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

main {
    overflow: clip;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 30px;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(95, 122, 101, 0.3);
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(247, 246, 242, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    vertical-align: middle;
    transition: var(--transition-normal);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-normal);
}

.nav-link:hover {
    color: var(--color-primary);
}

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

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--color-primary-dark);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 180px 5% 120px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-background);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    width: min(100%, 800px);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-md);
    line-height: 1.08;
}

.hero-title-line {
    display: block;
}

.hero-portrait-wrap {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.hero-portrait-frame {
    width: min(100%, 440px);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: anywhere;
}

.hero-shape {
    position: absolute;
    right: -10%;
    top: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--color-bg-alt) 0%, rgba(247, 246, 242, 0) 70%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.6;
}

/* ==========================================================================
   General Sections
   ========================================================================== */
.section {
    padding: var(--spacing-xl) 0;
}

.bg-secondary {
    background-color: var(--color-bg-alt);
}

.section-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.section-container.reverse {
    flex-direction: row-reverse;
}

.section-text {
    flex: 1;
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    position: relative;
    display: inline-block;
}

/* Add a delicate underline accent to section headings */
.section-heading::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 2px;
}

.text-center .section-heading::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-subtext {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: var(--spacing-lg);
}

.section-intro {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: flex-end;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.split-intro {
    gap: 2rem;
}

.profile-link {
    font-weight: 600;
    color: var(--color-primary-dark);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 6px;
}

.profile-link:hover {
    color: var(--color-primary);
}

.eyebrow {
    margin: 0 0 0.5rem;
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* Image Placeholders */
.section-image {
    flex: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.section-image-featured {
    box-shadow: none;
}

.about-container {
    max-width: 840px;
}

.about-text {
    flex: none;
    width: 100%;
    text-align: center;
}

.placeholder-image {
    background-color: var(--color-primary-light);
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.placeholder-image.alt {
    background-color: var(--color-primary);
}

.portrait-shell {
    position: relative;
    height: 540px;
    padding: 1.2rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.75), transparent 30%),
        linear-gradient(155deg, rgba(255, 255, 255, 0.9), rgba(221, 226, 219, 0.9));
    border-radius: 32% 68% 59% 41% / 36% 30% 70% 64%;
    box-shadow: 0 26px 70px rgba(63, 82, 67, 0.16);
}

.portrait-shell-featured {
    display: block;
    overflow: hidden;
}

.portrait-media-frame {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 40% 60% 44% 56% / 56% 32% 68% 44%;
}

.portrait-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.portrait-shell::before {
    content: '';
    position: absolute;
    inset: 3%;
    border: 1px solid rgba(95, 122, 101, 0.2);
    border-radius: 40% 60% 44% 56% / 56% 32% 68% 44%;
}

.portrait-shell-alt {
    border-radius: 57% 43% 31% 69% / 39% 56% 44% 61%;
    background:
        radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.42), transparent 28%),
        linear-gradient(145deg, rgba(95, 122, 101, 0.16), rgba(255, 255, 255, 0.92));
}

.portrait-glow {
    position: absolute;
    width: 160px;
    height: 160px;
    right: -18px;
    top: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(155, 172, 160, 0.58), rgba(155, 172, 160, 0));
    z-index: 0;
}

.portrait-shell-copy {
    align-items: stretch;
    justify-content: flex-end;
    text-align: left;
    color: var(--color-primary-dark);
}

.portrait-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.9rem;
    width: 100%;
    height: 100%;
    padding: 2rem;
    border-radius: 26% 74% 47% 53% / 51% 33% 67% 49%;
    background:
        linear-gradient(180deg, rgba(247, 246, 242, 0.28), rgba(247, 246, 242, 0.95) 58%),
        radial-gradient(circle at top right, rgba(155, 172, 160, 0.24), transparent 28%);
}

.portrait-copy-kicker {
    display: inline-flex;
    width: fit-content;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(95, 122, 101, 0.14);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.portrait-copy h3 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.portrait-copy p {
    margin: 0;
    max-width: 28ch;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Cards (Specialties)
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.card {
    background-color: #ffffff;
    padding: 3rem 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    transition: var(--transition-normal);
    border-bottom: 4px solid transparent;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-bottom-color: var(--color-primary);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--color-text-muted);
}

/* ==========================================================================
   Instagram Feed
   ========================================================================== */
.articles-section {
    background: linear-gradient(180deg, rgba(221, 226, 219, 0.35), rgba(247, 246, 242, 0.9));
}

.carousel-hint {
    margin: 0.25rem 0 1.1rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.articles-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.articles-feed-frame {
    flex: 1;
    overflow: hidden;
    padding: 0 0.35rem;
}

.articles-grid {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0.35rem;
    scrollbar-width: none;
    cursor: grab;
    padding: 0.15rem 0.35rem 0.75rem;
    scroll-behavior: smooth;
    touch-action: pan-y pinch-zoom;
    --drag-offset: 0px;
    --carousel-progress: 0;
}

.articles-grid::-webkit-scrollbar {
    display: none;
}

.articles-grid.is-dragging {
    cursor: grabbing;
}

.article-card {
    flex: 0 0 calc((100% - 2.5rem) / 3.25);
    min-width: 0;
    scroll-snap-align: center;
    background: #ffffff;
    border-radius: 22px;
    padding: 1rem;
    display: grid;
    gap: 0.85rem;
    box-shadow: 0 16px 32px rgba(45, 58, 48, 0.08);
    border: 1px solid rgba(95, 122, 101, 0.12);
    transition: transform 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
    transform: translateX(calc(var(--drag-offset) * 0.35)) scale(0.985);
    opacity: 0.92;
}

.articles-grid .article-card:first-child {
    margin-left: max(0px, calc(7.5% - 0.35rem));
}

.articles-grid .article-card:last-child {
    margin-right: max(0px, calc(7.5% - 0.35rem));
}

.articles-grid:not(.is-dragging) .article-card {
    transform: translateX(0) scale(1);
}

.articles-grid.is-dragging .article-card {
    transition-duration: 0.08s;
}

.articles-grid.is-dragging .article-card:nth-child(odd) {
    transform: translateX(calc(var(--drag-offset) * 0.42)) rotate(-0.35deg) scale(0.987);
}

.articles-grid.is-dragging .article-card:nth-child(even) {
    transform: translateX(calc(var(--drag-offset) * 0.3)) rotate(0.35deg) scale(0.982);
}

.articles-grid.is-dropped .article-card {
    transition-duration: 0.18s;
}

.articles-grid .article-card:hover {
    box-shadow: 0 20px 38px rgba(45, 58, 48, 0.12);
}

.article-image {
    aspect-ratio: 4 / 4.2;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(155, 172, 160, 0.25), rgba(221, 226, 219, 0.45));
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-body {
    display: grid;
    gap: 0.8rem;
    padding: 0.15rem 0.15rem 0.25rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.92rem;
    color: var(--color-text-muted);
}

.article-preview {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--color-primary-dark);
}

.article-card p {
    margin: 0;
    color: var(--color-text-muted);
}

.article-tag {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.82rem;
    font-weight: 700;
}

.article-link {
    font-weight: 600;
    color: var(--color-primary);
}

.article-link:hover {
    color: var(--color-primary-dark);
}

.article-nav {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(63, 82, 67, 0.92);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(45, 58, 48, 0.18);
    transition: transform var(--transition-fast), opacity var(--transition-fast), background-color var(--transition-fast);
}

.article-nav:hover:not(:disabled) {
    transform: translateY(-2px);
    background: rgba(63, 82, 67, 1);
}

.article-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.skeleton {
    min-height: 280px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
}

.skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.65), transparent);
    transform: translateX(-100%);
    animation: shimmer 1.8s infinite;
}

@keyframes shimmer {
    to {
        transform: translateX(100%);
    }
}

.ig-feed-wrapper {
    position: relative;
    margin-top: var(--spacing-lg);
    padding: 0 3.75rem;
}

.ig-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(33.333% - 1rem);
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
}

.ig-carousel::-webkit-scrollbar {
    display: none;
}

.ig-card {
    scroll-snap-align: start;
    min-width: 0;
}

.ig-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(45, 58, 48, 0.08);
    border: 1px solid rgba(95, 122, 101, 0.12);
}

.ig-card-image {
    position: relative;
    aspect-ratio: 4 / 5;
    background: linear-gradient(135deg, rgba(155, 172, 160, 0.35), rgba(221, 226, 219, 0.65));
    overflow: hidden;
}

.ig-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ig-card-content {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1rem 1rem 1.15rem;
    text-align: left;
    min-height: 220px;
}

.ig-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ig-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(95, 122, 101, 0.15);
}

.ig-username {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    word-break: break-word;
}

.ig-caption-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: auto;
}

.ig-caption {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
    word-break: break-word;
}

.ig-caption.is-expanded {
    display: block;
    -webkit-line-clamp: initial;
    line-clamp: initial;
    overflow: visible;
}

.ig-more {
    border: 0;
    background: transparent;
    padding: 0;
    font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
}

.ig-more:hover {
    color: var(--color-primary-dark);
}

.ig-nav {
    position: absolute;
    top: 44%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: rgba(63, 82, 67, 0.92);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 2rem;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(45, 58, 48, 0.18);
}

.ig-prev {
    left: 0;
}

.ig-next {
    right: 0;
}

.ig-loading,
.ig-error,
.ig-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    text-align: center;
    color: var(--color-text-muted);
}

.ig-status-meta {
    display: block;
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: rgba(45, 58, 48, 0.6);
}

.ig-spinner {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 3px solid rgba(95, 122, 101, 0.2);
    border-top-color: var(--color-primary);
    animation: ig-spin 0.9s linear infinite;
    margin-bottom: 0.75rem;
}

@keyframes ig-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-heading {
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

/* Removes the underline from footer heading if you added it globally */
.footer-heading::after {
    display: none;
}

.footer-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.footer-text {
    margin-bottom: 2rem;
    color: rgba(247, 246, 242, 0.8);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 10px 20px;
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.05);
    transition: var(--transition-normal);
}

.contact-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(247, 246, 242, 0.6);
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a:hover {
    color: var(--color-text-light);
}

.footer-version {
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media screen and (max-width: 968px) {
    .section {
        padding: 5rem 0;
    }

    .section-container,
    .section-container.reverse {
        flex-direction: column;
        text-align: center;
    }

    .section-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .placeholder-image {
        width: 100%;
        height: 400px;
    }

    .ig-feed-wrapper {
        padding: 0 3rem;
    }

    .article-card {
        flex-basis: calc((100% - 1.25rem) / 2.2);
    }
}

@media screen and (max-width: 768px) {
    .container {
        width: min(100% - 2rem, 1200px);
    }

    .nav-container {
        padding: 0.8rem 1.25rem;
        gap: 1rem;
    }

    .nav-logo {
        font-size: 1.2rem;
        max-width: calc(100% - 56px);
    }

    .nav-logo-img {
        height: 54px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 64px;
        flex-direction: column;
        background-color: var(--color-background);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        padding: 1.5rem 1.25rem 2rem;
        gap: 0.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1.5rem 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        min-height: auto;
        padding: 120px 1rem 72px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(2.1rem, 11vw, 3.3rem);
        line-height: 1.06;
        max-width: 18ch;
        margin-inline: auto;
    }

    .hero-title-line {
        white-space: nowrap;
    }

    .hero-subtitle {
        font-size: 1rem;
        max-width: 34ch;
        margin-bottom: 2rem;
    }

    .hero-shape {
        width: 360px;
        height: 360px;
        right: -38%;
        top: 12%;
        opacity: 0.45;
    }

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

    .section-subtext {
        font-size: 1rem;
    }

    .section-text {
        width: 100%;
    }

    .section-text p,
    .section-text li {
        max-width: 36ch;
        margin-inline: auto;
        overflow-wrap: anywhere;
    }

    .hero-portrait-wrap {
        margin-top: 2rem;
    }

    .placeholder-image {
        height: 320px;
    }

    .portrait-shell {
        height: 420px;
    }

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

    .card {
        padding: 2rem 1.25rem;
    }

    .contact-link {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 1rem;
        text-align: center;
        flex-wrap: wrap;
    }

    .articles-shell {
        gap: 0.25rem;
    }

    .article-card {
        flex-basis: 84%;
        min-width: 84%;
    }

    .article-nav {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
        font-size: 1.5rem;
    }

    .social-links {
        flex-wrap: wrap;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .section {
        padding: 4rem 0;
    }

    .hero {
        padding-top: 104px;
    }

    .hero-title {
        font-size: clamp(1.55rem, 9.8vw, 2.25rem);
        max-width: 18ch;
    }

    .hero-title-line {
        white-space: normal;
    }

    .hero-title-line:nth-child(1),
    .hero-title-line:nth-child(2),
    .hero-title-line:nth-child(3) {
        display: block;
    }

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

    .btn {
        width: 100%;
        max-width: 320px;
    }

    .carousel-hint {
        font-weight: 700;
    }

    .carousel-hint::after {
        content: " ->";
    }

    .article-nav {
        display: none;
    }

    .articles-feed-frame {
        padding-inline: 0;
    }

    .articles-grid {
        padding-inline: 0.75rem;
        gap: 0.9rem;
    }

    .article-card {
        flex-basis: 86%;
        min-width: 86%;
    }

    .portrait-shell {
        height: 360px;
        padding: 0.9rem;
    }
}

/* ==========================================================================
   Services List
   ========================================================================== */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.service-item {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    background-color: rgba(95, 122, 101, 0.06);
    border-left: 4px solid var(--color-primary);
    transition: var(--transition-normal);
}

.service-item:hover {
    background-color: rgba(95, 122, 101, 0.10);
    transform: translateX(4px);
}

.service-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.service-title i {
    color: var(--color-primary);
    font-size: 1rem;
}

.service-desc {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Specialties grid: 2 cols on tablet */
@media screen and (max-width: 968px) and (min-width: 601px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   v.0.0.5 Enhancements
   ========================================================================== */
.section-text strong {
    color: var(--color-primary-dark);
    font-weight: 600;
}

.card {
    position: relative;
    padding-bottom: 4rem; /* Make room for arrow */
}

.card-arrow {
    position: absolute;
    bottom: 2rem;
    right: 2.5rem;
    color: var(--color-primary);
    font-size: 1.25rem;
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.btn-primary:hover .btn-icon {
    transform: translateX(5px);
}
