:root {
    --lime: #d2e154;
    --lime-deep: #b4c431;
    --ink: #161922;
    --ink-soft: #252934;
    --paper: #f5f5f0;
    --white: #ffffff;
    --line: rgba(22, 25, 34, 0.15);
    --muted: #6d706d;
    --shadow: 0 24px 60px rgba(14, 18, 20, 0.12);
    --serif: "Playfair Display", Georgia, serif;
    --sans: "Manrope", Arial, sans-serif;
    --container: 1240px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    background: var(--lime);
    color: var(--ink);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    z-index: 100;
    inset: 0 0 auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled,
body.menu-open .site-header {
    background: rgba(22, 25, 34, 0.97);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.18);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
}

.brand {
    position: relative;
    z-index: 2;
    width: 215px;
}

.brand img {
    width: 100%;
    height: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 34px;
    color: var(--white);
    font-size: 0.83rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.main-navigation > a:not(.nav-contact) {
    position: relative;
    padding-block: 8px;
}

.main-navigation > a:not(.nav-contact)::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 180ms ease;
}

.main-navigation > a:hover::after,
.main-navigation > a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-contact {
    padding: 12px 20px;
    border: 1px solid var(--lime);
    color: var(--lime);
    transition: background 180ms ease, color 180ms ease;
}

.nav-contact:hover {
    background: var(--lime);
    color: var(--ink);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
    transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
    position: relative;
    display: grid;
    min-height: 720px;
    overflow: hidden;
    color: var(--white);
    isolation: isolate;
}

.hero-home {
    min-height: 100svh;
    background: var(--ink) url("../images/home_architect3_slider_bg.jpg") center / cover no-repeat;
}

.hero-backdrop {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 10, 13, 0.8) 0%, rgba(8, 10, 13, 0.42) 48%, rgba(8, 10, 13, 0.08) 100%),
        linear-gradient(0deg, rgba(8, 10, 13, 0.42), transparent 48%);
}

.hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: clamp(24px, 8vw, 130px);
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
}

.hero-content {
    align-self: center;
    padding-block: 180px 120px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 22px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--lime-deep);
}

.eyebrow.light {
    color: rgba(255, 255, 255, 0.72);
}

.hero h1 {
    max-width: 880px;
    margin: 0;
    font-family: var(--sans);
    font-size: clamp(2.9rem, 5.8vw, 5.6rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.hero h1 em {
    color: var(--lime);
    font-style: normal;
    font-weight: 700;
}

.hero-copy {
    max-width: 610px;
    margin: 34px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 42px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 24px;
    border: 1px solid transparent;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--lime);
    color: var(--ink);
}

.button-primary:hover {
    background: var(--white);
}

.button-dark {
    background: var(--ink);
    color: var(--white);
}

.button-dark:hover {
    background: var(--lime-deep);
    color: var(--ink);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid currentColor;
    padding-block: 4px;
    font-size: 0.86rem;
    font-weight: 800;
}

.text-link.light {
    color: var(--white);
}

.hero-scroll {
    position: absolute;
    right: clamp(24px, 8vw, 130px);
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    transform: translateX(50%);
}

.hero-scroll i {
    display: block;
    width: 1px;
    height: 80px;
    background: var(--lime);
}

.section {
    padding-block: clamp(84px, 10vw, 150px);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.8fr);
    gap: clamp(60px, 10vw, 150px);
    align-items: start;
}

.section-heading h2,
.feature-content h2,
.contact-band h2 {
    margin: 0;
    font-family: var(--sans);
    font-weight: 700;
    font-size: clamp(2.35rem, 5vw, 4.7rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.intro-copy {
    padding-top: 48px;
}

.intro-copy p {
    color: var(--muted);
}

.intro-copy .lead {
    color: var(--ink);
    font-family: var(--sans);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    line-height: 1.45;
}

.intro-copy .text-link {
    margin-top: 18px;
}

.feature-story {
    padding-block: clamp(92px, 10vw, 140px);
    background: var(--white);
}

.feature-story-inner {
    display: grid;
    grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(70px, 9vw, 140px);
}

.feature-image {
    width: min(100%, 480px);
    aspect-ratio: 1.1 / 1;
    margin-left: 22px;
    outline: 14px solid var(--lime);
    outline-offset: 18px;
    overflow: hidden;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.feature-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
}

.feature-content p:not(.eyebrow) {
    max-width: 590px;
    margin: 30px 0;
    color: var(--muted);
}

.services-section {
    background: var(--paper);
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 60px;
}

.section-heading-row > p {
    max-width: 450px;
    margin: 0 0 8px;
    color: var(--muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.service-card {
    position: relative;
    min-height: 350px;
    padding: 36px 30px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.service-card:hover {
    z-index: 2;
    background: var(--ink);
    color: var(--white);
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.service-icon {
    display: block;
    width: 58px;
    height: 58px;
    margin-bottom: 68px;
    color: #b8c37a;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    margin: 0 0 18px;
    font-family: var(--sans);
    font-size: 1.55rem;
    line-height: 1.25;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.7);
}

.projects-section {
    background: var(--ink);
    color: var(--white);
}

.projects-section .section-heading-row > p,
.projects-section .eyebrow {
    color: rgba(255, 255, 255, 0.62);
}

.project-preview-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    grid-template-rows: repeat(2, 300px);
    gap: 18px;
}

.project-preview {
    position: relative;
    min-height: 280px;
    overflow: hidden;
}

.project-preview-large {
    grid-row: 1 / 3;
}

.project-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1), filter 300ms ease;
}

.project-preview::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(9, 11, 15, 0.82), transparent 60%);
}

.project-preview:hover img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.project-overlay {
    position: absolute;
    z-index: 2;
    right: 28px;
    bottom: 26px;
    left: 28px;
    display: flex;
    flex-direction: column;
}

.project-overlay small {
    color: var(--lime);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.project-overlay strong {
    font-family: var(--sans);
    font-size: clamp(1.35rem, 2.5vw, 2.25rem);
}

.contact-band {
    padding-block: clamp(86px, 11vw, 160px);
    background: var(--lime);
}

.contact-band-inner {
    max-width: 970px;
    text-align: center;
}

.contact-band .eyebrow {
    justify-content: center;
    color: rgba(22, 25, 34, 0.7);
}

.contact-band p:not(.eyebrow) {
    max-width: 680px;
    margin: 28px auto;
}

.contact-band-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-top: 36px;
}

.contact-band-actions > a:not(.button) {
    border-bottom: 1px solid var(--ink);
    font-weight: 800;
}

.site-footer {
    padding: 80px 0 26px;
    background: #0f1117;
    color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1.2fr 0.5fr;
    gap: 58px;
    padding-bottom: 60px;
}

.footer-brand img {
    width: 230px;
    height: auto;
}

.footer-brand p {
    max-width: 390px;
    margin: 24px 0 0;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-label {
    margin: 0 0 12px;
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.footer-column a:hover,
.footer-bottom a:hover {
    color: var(--lime);
}

.footer-column address {
    font-style: normal;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    display: grid;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    place-items: center;
    transition: border-color 180ms ease, background 180ms ease;
}

.social-links a:hover {
    border-color: var(--lime);
    background: var(--lime);
}

.social-links svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-links svg rect,
.social-links svg circle:not(.fill-dot) {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Paginas interiores */
.page-hero {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 520px;
    padding: 170px 0 78px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    color: var(--white);
}

.page-hero-about {
    background-image: url("../images/header2.jpg");
}

.page-hero-portfolio {
    background-image: url("../images/header3.jpg");
}

.page-hero-contact {
    background-image: url("../images/header4.jpg");
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 12, 17, 0.88), rgba(10, 12, 17, 0.25));
}

.page-hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    max-width: 880px;
    margin: 0;
    font-family: var(--sans);
    font-size: clamp(3rem, 7vw, 6.3rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.055em;
}

.page-hero-content > p:last-child {
    max-width: 660px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.editorial-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
    gap: clamp(60px, 10vw, 150px);
}

.editorial-copy p {
    margin-top: 0;
    color: var(--muted);
}

.editorial-copy .lead {
    color: var(--ink);
    font-size: 1.22rem;
    font-weight: 600;
}

.purpose-section {
    padding-block: clamp(86px, 10vw, 140px);
    background: var(--ink);
    color: var(--white);
}

.purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.purpose-card {
    min-height: 420px;
    padding: clamp(38px, 5vw, 68px);
    border: 1px solid rgba(255, 255, 255, 0.13);
}

.purpose-card .eyebrow {
    color: rgba(255, 255, 255, 0.58);
}

.purpose-card h2,
.leadership-copy h2,
.contact-details h2,
.contact-direct h2,
.portfolio-project h2 {
    margin: 0;
    font-family: var(--sans);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.04em;
}

.purpose-card h2 {
    max-width: 530px;
    font-size: clamp(2rem, 3.8vw, 3.8rem);
}

.purpose-card > p:last-child {
    max-width: 550px;
    margin: 34px 0 0;
    color: rgba(255, 255, 255, 0.67);
}

.values-section {
    background: var(--paper);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
}

.value-item {
    min-height: 230px;
    padding: 38px;
    background: var(--paper);
}

.value-item::before {
    content: "";
    display: block;
    width: 42px;
    height: 3px;
    margin-bottom: 56px;
    background: var(--lime-deep);
}

.value-item h3 {
    margin: 0 0 12px;
    font-family: var(--sans);
    font-size: 1.35rem;
}

.value-item p {
    margin: 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.leadership-section {
    padding-block: clamp(92px, 11vw, 150px);
    background: var(--ink-soft);
    color: var(--white);
}

.leadership-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(60px, 9vw, 130px);
}

.leadership-photo {
    width: min(100%, 470px);
    aspect-ratio: 1.02 / 1;
    overflow: hidden;
}

.leadership-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.leadership-copy h2 {
    font-size: clamp(2.3rem, 4.5vw, 4.7rem);
}

.leadership-copy > p:not(.eyebrow, .role) {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.66);
}

.leadership-copy .role {
    margin: 12px 0 28px;
    color: var(--lime);
    font-weight: 700;
}

.leadership-copy .lead {
    font-size: 1.15rem;
}

.team-member-secondary {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 28px;
    width: min(100%, 650px);
    margin: 14px 0 0 auto;
    padding: 26px 32px;
    background: var(--white);
    color: var(--ink);
}

.member-monogram {
    display: grid;
    place-items: center;
    flex: 0 0 72px;
    height: 72px;
    background: var(--lime);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.team-member-secondary p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.team-member-secondary h3 {
    margin: 0;
    font-family: var(--sans);
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.2;
}

.portfolio-intro {
    background: var(--paper);
}

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 70px;
}

.portfolio-filters button {
    padding: 11px 18px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.portfolio-filters button:hover,
.portfolio-filters button.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

.portfolio-project {
    display: grid;
    grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
    gap: clamp(40px, 7vw, 96px);
    align-items: center;
    padding-block: 72px;
    border-top: 1px solid var(--line);
}

.portfolio-project[hidden] {
    display: none;
}

.project-category {
    margin: 0 0 18px;
    color: var(--lime-deep);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portfolio-project h2 {
    font-size: clamp(2rem, 3.4vw, 3.5rem);
}

.project-details > p:not(.project-category) {
    margin: 24px 0;
    color: var(--muted);
}

.gallery-trigger {
    padding: 0 0 5px;
    border: 0;
    border-bottom: 1px solid var(--ink);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    font-weight: 700;
}

.project-gallery-preview {
    display: grid;
    grid-template-columns: 1.35fr 0.65fr;
    grid-template-rows: repeat(2, 210px);
    gap: 10px;
}

.gallery-image {
    padding: 0;
    overflow: hidden;
    border: 0;
    background: var(--ink);
    cursor: zoom-in;
}

.gallery-image-main {
    grid-row: 1 / 3;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 350ms ease;
}

.gallery-image:hover img {
    transform: scale(1.035);
}

.lightbox {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr) 70px;
    align-items: center;
    background: rgba(8, 10, 13, 0.96);
    color: var(--white);
}

.lightbox[hidden] {
    display: none;
}

.lightbox figure {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: min(1180px, 100%);
    max-height: 90vh;
    margin: auto;
}

.lightbox figure img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
}

.lightbox figcaption {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.68);
}

.lightbox-close,
.lightbox-control {
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    font-size: 2rem;
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 30px;
    z-index: 2;
}

.contact-section {
    background: var(--paper);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(60px, 10vw, 150px);
}

.contact-details h2,
.contact-direct h2 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.contact-details > p:not(.eyebrow),
.contact-direct > p:not(.eyebrow) {
    color: var(--muted);
}

.contact-detail-list {
    margin-top: 42px;
    border-top: 1px solid var(--line);
}

.contact-detail-list article {
    display: grid;
    gap: 3px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.contact-detail-list span,
.contact-email-card span {
    color: var(--muted);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-detail-list a,
.contact-detail-list address {
    font-size: 1.02rem;
    font-style: normal;
    font-weight: 600;
}

.contact-socials {
    display: flex;
    gap: 28px;
    margin-top: 28px;
    font-weight: 700;
}

.contact-direct {
    align-self: center;
    padding: clamp(38px, 6vw, 78px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-email-card {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 5px 20px;
    margin-top: 40px;
    padding: 28px;
    background: var(--lime);
}

.contact-email-card span {
    grid-column: 1;
    color: rgba(22, 25, 34, 0.65);
}

.contact-email-card strong {
    grid-column: 1;
    overflow-wrap: anywhere;
    font-size: clamp(1rem, 2vw, 1.35rem);
}

.contact-email-card i {
    grid-column: 2;
    grid-row: 1 / 3;
    font-size: 1.8rem;
    font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 1020px) {
    .menu-toggle {
        position: relative;
        z-index: 2;
        display: block;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .main-navigation {
        position: fixed;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 24px;
        padding: 110px max(28px, 8vw) 60px;
        background: var(--ink);
        font-family: var(--sans);
        font-size: clamp(1.7rem, 6vw, 3.2rem);
        font-weight: 600;
        letter-spacing: -0.02em;
        text-transform: none;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-14px);
        transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
    }

    .main-navigation.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-contact {
        margin-top: 12px;
        font-family: var(--sans);
        font-size: 0.8rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

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

    .editorial-grid,
    .leadership-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .footer-grid {
        grid-template-columns: 1.2fr 1fr;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .header-inner {
        min-height: 76px;
    }

    .brand {
        width: 175px;
    }

    .hero {
        min-height: 700px;
    }

    .hero-content {
        padding-block: 150px 120px;
    }

    .page-hero {
        min-height: 440px;
        padding: 140px 0 62px;
    }

    .hero-actions,
    .contact-band-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-scroll {
        display: none;
    }

    .intro-grid,
    .feature-story-inner {
        grid-template-columns: 1fr;
    }

    .intro-copy {
        padding-top: 0;
    }

    .feature-image {
        width: min(calc(100% - 36px), 480px);
        min-height: 0;
        margin: 18px;
    }

    .feature-content {
        padding-top: 42px;
    }

    .section-heading-row {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 42px;
    }

    .services-grid,
    .project-preview-grid,
    .purpose-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 290px;
    }

    .service-icon {
        margin-bottom: 54px;
    }

    .project-preview-grid {
        grid-template-rows: none;
    }

    .project-preview,
    .project-preview-large {
        grid-row: auto;
        min-height: 360px;
    }

    .project-gallery-preview {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 260px);
    }

    .gallery-image-main {
        grid-row: auto;
    }

    .portfolio-project {
        padding-block: 54px;
    }

    .lightbox {
        grid-template-columns: 46px minmax(0, 1fr) 46px;
    }

    .contact-email-card {
        padding: 22px;
    }

    .team-member-secondary {
        align-items: flex-start;
        margin-top: 8px;
        padding: 22px;
    }

    .member-monogram {
        flex-basis: 58px;
        height: 58px;
    }

    .contact-band-actions {
        align-items: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .footer-bottom {
        flex-direction: column;
    }
}
