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

:root {
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --nav-h: 4.5rem;
    --bg: #EEF0EB;
    --bg-warm: #F4F1EC;
    --surface: #FFFCF9;
    --surface-2: #F8F5F0;
    --ink: #141820;
    --muted: #5E6674;
    --accent: #B84A20;
    --accent-hover: #953C1A;
    --navy: #1A2332;
    --line: rgba(26, 35, 50, 0.12);
    --shadow: 0 4px 32px rgba(20, 24, 32, 0.08);
    --shadow-hover: 0 12px 40px rgba(20, 24, 32, 0.12);
    --radius: 1rem;
    --radius-sm: 0.5rem;
    --radius-lg: 1.5rem;
    --max: 68rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--ink);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg);
}

.site--home {
    background: var(--bg);
}

.site--inner {
    background: var(--bg-warm);
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.nav-inner {
    max-width: calc(var(--max) + 2rem);
}

/* —— Navigation —— */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 252, 249, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow 0.3s ease;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9rem 0;
    min-height: var(--nav-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.logo-image {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo a,
.logo-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem 1.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.nav-menu a {
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    position: relative;
    padding: 0.35rem 0;
    transition: color 0.2s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
    border-radius: 1px;
}

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

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all 0.3s ease;
    border-radius: 1px;
}

.page-spacer {
    height: var(--nav-h);
    width: 100%;
    flex-shrink: 0;
}

/* —— Hero (home) —— */
.hero {
    position: relative;
    margin-top: var(--nav-h);
    min-height: min(90vh, 52rem);
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
    padding-top: 3rem;
    overflow: hidden;
    background: var(--navy);
}

.hero-noise,
.hero-gradient {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.hero-gradient {
    background:
        radial-gradient(ellipse 100% 80% at 20% 20%, rgba(184, 74, 32, 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 80% 60%, rgba(100, 130, 160, 0.2) 0%, transparent 50%),
        linear-gradient(165deg, #1A2332 0%, #0D1218 100%);
}

.hero-noise {
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-image-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 58%;
    max-width: 48rem;
    height: 100%;
    z-index: 0;
    opacity: 0.38;
    mask-image: linear-gradient(105deg, transparent 0%, black 35%, black 100%);
    -webkit-mask-image: linear-gradient(105deg, transparent 0%, black 35%, black 100%);
}

.hero-image-container img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-frame {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-column {
    max-width: 38rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6.5vw, 4.25rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    color: #F2EDE6;
    margin: 0;
}

.hero-title-line {
    display: block;
    width: 100%;
}

.hero-title-line:not(.hero-title-accent) {
    font-style: italic;
    color: #E6DFD4;
}

.hero-title-accent,
.hero-title-orange {
    font-family: var(--font-sans);
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: clamp(1.15rem, 2.2vw, 1.4rem);
    line-height: 1.3;
    margin-top: 1.25rem;
    color: #E8A07A;
    border-left: 4px solid var(--accent);
    padding-left: 1.25rem;
    max-width: 100%;
}

.hero-rule {
    width: 5rem;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    margin-top: 2rem;
    border-radius: 2px;
}

/* —— Mission —— */
.mission-statement {
    padding: 4.5rem 0 5.5rem;
    background: var(--surface);
    position: relative;
}

.mission-statement::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.mission-shell {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem 3rem;
    align-items: end;
    max-width: 56rem;
}

.mission-quote {
    min-width: 0;
}

.mission-text {
    font-size: clamp(1.2rem, 2.1vw, 1.5rem);
    line-height: 1.75;
    color: var(--navy);
    margin: 0;
    font-weight: 400;
}

.mission-highlight {
    color: var(--accent);
    font-weight: 600;
    font-style: normal;
}

.mission-action {
    flex-shrink: 0;
    padding-bottom: 0.2rem;
}

.mission-statement .btn-primary {
    background: var(--accent);
    color: #FFFCF9;
    border-radius: 999px;
    padding: 0.95rem 1.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 20px rgba(184, 74, 32, 0.28);
}

.mission-statement .btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(184, 74, 32, 0.35);
}

/* —— Buttons —— */
.btn-primary {
    display: inline-block;
    padding: 0.9rem 1.75rem;
    background: var(--navy);
    color: var(--surface);
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-primary:hover {
    background: #2A3545;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-primary--light {
    background: var(--accent);
    color: #FFFCF9;
    box-shadow: 0 4px 20px rgba(184, 74, 32, 0.25);
}

.btn-primary--light:hover {
    background: var(--accent-hover);
    box-shadow: 0 8px 28px rgba(184, 74, 32, 0.35);
}

/* —— Stats —— */
.stats {
    padding: 0 0 4.5rem;
    background: var(--surface);
}

.stats-panel {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    box-shadow: var(--shadow);
}

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

.stat-item {
    position: relative;
    padding: 0.5rem 0.75rem;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--line);
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.4rem);
    font-weight: 400;
    color: var(--accent);
    margin-bottom: 0.4rem;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted);
    font-weight: 600;
}

/* —— Section headers —— */
.page-section {
    padding: 0.5rem 0 4.5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header--split {
    text-align: left;
    max-width: 32rem;
    margin-bottom: 3rem;
}

.section-mark {
    display: block;
    width: 3rem;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), rgba(184, 74, 32, 0.2));
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 400;
    color: var(--navy);
    line-height: 1.2;
    margin: 0;
}

/* —— About —— */
.about {
    background: transparent;
}

.about-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 2.5rem 3.5rem;
    align-items: start;
    max-width: 60rem;
}

.about-lead p {
    font-size: clamp(1.15rem, 1.7vw, 1.3rem);
    line-height: 1.85;
    color: var(--ink);
    font-weight: 500;
    margin: 0;
}

.about-columns p {
    font-size: 1.04rem;
    line-height: 1.9;
    color: var(--muted);
    text-align: justify;
    margin-bottom: 1.5rem;
}

.about-columns p:last-child {
    margin-bottom: 0;
}

.about-text p {
    font-size: 1.04rem;
    line-height: 1.9;
    color: var(--muted);
}

/* —— Services —— */
.services {
    background: transparent;
    padding: 0;
}

.services .section-header,
.projects .section-header,
.contact .section-header {
    margin-bottom: 2.5rem;
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 0;
    counter-reset: svc;
}

.service-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-align: left;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

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

.service-card-with-image {
    display: flex;
    align-items: stretch;
    padding: 0;
    flex-direction: row;
    gap: 0;
}

.services-grid .service-card:nth-child(even) {
    flex-direction: row-reverse;
}

.service-image-placeholder {
    flex: 0 0 min(38%, 22rem);
    min-height: 15rem;
    max-height: 22rem;
    width: auto;
    aspect-ratio: 4 / 3;
    background: var(--surface-2);
    position: relative;
    overflow: hidden;
}

.service-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

#prepare-image,
#growth-image,
#protection-image {
    filter: contrast(0.9) brightness(0.98) saturate(0.9);
}

.service-content-right {
    flex: 1;
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.service-content-right h3 {
    position: relative;
    padding-top: 1.75rem;
    font-size: 1.35rem;
    color: var(--navy);
    margin-bottom: 0.85rem;
    font-weight: 600;
    font-family: var(--font-sans);
    letter-spacing: -0.01em;
}

.service-content-right h3::before {
    counter-increment: svc;
    content: "0" counter(svc);
    position: absolute;
    top: 0;
    left: 0;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-family: var(--font-sans);
}

.service-content-right p {
    color: var(--muted);
    line-height: 1.8;
    font-size: 1.02rem;
    margin: 0;
}

/* —— Projects —— */
.projects {
    background: transparent;
    padding: 0;
}

.projects-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-card--feature {
    background: var(--navy);
    color: #E0DCD3;
    border: none;
    box-shadow: var(--shadow-hover);
}

.project-card--feature .project-category {
    background: rgba(255, 252, 249, 0.12);
    color: #E8A07A;
    border: 1px solid rgba(255, 252, 249, 0.15);
}

.project-card--feature p {
    color: rgba(224, 220, 211, 0.88);
    font-size: 1.05rem;
    line-height: 1.8;
}

.projects-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2rem 2.25rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card--feature {
    padding: 2.5rem 2.5rem 2.75rem;
    border-radius: var(--radius-lg);
}

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

.project-card--feature:hover {
    transform: translateY(-2px);
}

.project-category {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background: var(--surface-2);
    color: var(--accent);
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-style: normal;
    border-radius: 999px;
    margin-bottom: 1rem;
    border: 1px solid var(--line);
}

.project-card h3 {
    font-family: var(--font-sans);
    font-size: clamp(1.15rem, 1.9vw, 1.35rem);
    font-weight: 600;
    font-style: normal;
    line-height: 1.35;
    margin-bottom: 0.9rem;
    color: var(--navy);
}

.project-card--feature h3 {
    color: #F5F1EA;
}

.project-card p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 0.98rem;
    margin: 0;
}

/* —— Contact —— */
.contact {
    background: transparent;
    padding: 0;
    padding-bottom: 2rem;
}

.contact .section-header {
    margin-bottom: 2.25rem;
}

.contact-shell {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2rem 2.5rem;
    align-items: start;
    margin-top: 0;
}

.contact-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: var(--shadow);
}

.contact-info h3,
.find-us h3,
.contact-map h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 0.6rem;
    font-weight: 400;
    font-style: italic;
}

.contact-panel .contact-info h3,
.contact-info.contact-panel h3 {
    font-size: 1.65rem;
}

.contact-info p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    font-size: 1.02rem;
}

.contact-info p + p {
    margin-top: 0.25rem;
}

.contact-panel > p:not(.footer-bottom p) {
    margin-bottom: 0.6rem;
}

.contact-details {
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.contact-details p {
    margin-bottom: 0.65rem;
    color: var(--ink);
    font-size: 0.98rem;
}

.contact-details strong {
    color: var(--navy);
    font-weight: 600;
}

.social-media {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.75rem;
    padding-top: 0;
    flex-wrap: wrap;
}

.contact-map,
.find-us {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.find-us h3,
.contact-map h3 {
    margin-bottom: 1rem;
}

.social-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--navy);
    text-decoration: none;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--line);
    transition: all 0.2s;
}

.social-icon:hover {
    color: #FFFCF9;
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-icon .tooltip {
    position: absolute;
    background: var(--navy);
    color: #FFFCF9;
    padding: 0.4rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s;
    pointer-events: none;
    z-index: 10;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    font-weight: 500;
}

.social-icon .tooltip::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--navy);
}

.social-icon:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* legacy tooltip position variants — keep minimal */
.social-icon.twitter .tooltip,
.social-icon.facebook .tooltip {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(4px);
}

.social-icon.twitter:hover .tooltip,
.social-icon.facebook:hover .tooltip {
    transform: translateX(-50%) translateY(0);
}

.map-container {
    width: 100%;
    flex: 1;
    min-height: 20rem;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.map-container #map {
    width: 100%;
    height: 100%;
    min-height: 20rem;
    border-radius: var(--radius-lg);
}

.map-container .leaflet-container {
    border-radius: var(--radius-lg);
    font-family: var(--font-sans);
    height: 100% !important;
    min-height: 20rem;
}

.map-container .leaflet-control-attribution {
    display: none !important;
}

.map-container .leaflet-control:not(.leaflet-control-zoom) {
    display: none !important;
}

.map-container .leaflet-control-zoom a {
    background-color: var(--surface);
    color: var(--navy);
    border: 1px solid var(--line);
    width: 32px;
    height: 32px;
    line-height: 32px;
}

/* —— Legacy grids (if referenced) —— */
.projects-grid,
.insights-grid {
    display: grid;
    gap: 1.5rem;
}

.detailed-services {
    padding: 4rem 0;
    background: var(--surface);
}

.service-detail {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--line);
}

/* —— Footer —— */
.footer {
    background: var(--navy);
    color: rgba(255, 252, 249, 0.88);
    padding: 2.5rem 0 1.5rem;
    margin-top: 1rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 252, 249, 0.1);
}

.footer-logo {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #F0EBE3;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-logo:hover {
    color: #E8A07A;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    align-items: center;
}

.footer-nav a {
    color: rgba(240, 235, 227, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #E8A07A;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    color: rgba(255, 252, 249, 0.45);
    font-size: 0.8rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* —— Contact content (legacy) —— */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* —— Insights (unused) —— */
.insight-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.5rem;
}

/* —— Responsive —— */
@media (max-width: 1024px) {
    .contact-shell {
        grid-template-columns: 1fr;
    }

    .find-us,
    .contact-map {
        order: -1;
    }

    .site--contact .contact-panel {
        order: 1;
    }
}

@media (max-width: 900px) {
    .mission-shell {
        grid-template-columns: 1fr;
    }

    .mission-action {
        justify-self: start;
    }

    .about-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: 0;
        right: 0;
        top: var(--nav-h);
        z-index: 1001;
        flex-direction: column;
        background: rgba(255, 252, 249, 0.97);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line);
        padding: 1.25rem 1.5rem 1.5rem;
        gap: 0.25rem;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s, opacity 0.3s, visibility 0.3s;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .stat-item:nth-child(even)::after {
        display: none;
    }

    .stats-panel {
        padding: 1.5rem 1rem;
    }

    .service-card-with-image,
    .services-grid .service-card:nth-child(even) {
        flex-direction: column;
    }

    .service-image-placeholder {
        flex: none;
        width: 100%;
        max-width: none;
        min-height: 12rem;
        max-height: 16rem;
    }

    .service-content-right {
        padding: 1.5rem 1.35rem 1.75rem;
    }

    .projects-subgrid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 2.5rem 0 3.5rem;
        align-items: flex-start;
    }

    .hero-image-container {
        width: 100%;
        max-width: none;
        opacity: 0.25;
        mask-image: linear-gradient(180deg, black 0%, transparent 90%);
    }

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

@media (max-width: 520px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item::after {
        display: none;
    }

    .hero-title-accent {
        padding-left: 0.9rem;
        font-size: 0.95rem;
    }
}
