:root {
    --bg: #ebe2d3;
    --bg-soft: #f4ecdf;
    --panel: rgba(255, 247, 239, 0.82);
    --panel-strong: rgba(255, 250, 244, 0.94);
    --line: rgba(74, 49, 37, 0.12);
    --line-strong: rgba(97, 62, 43, 0.22);
    --text: #201714;
    --text-soft: #594a43;
    --text-muted: #8a786f;
    --paper: #fff8f1;
    --dark: #1b1412;
    --dark-soft: #2a1d18;
    --dark-raised: #35251f;
    --accent: #9e7a68;
    --accent-deep: #7f5b4a;
    --accent-soft: #dbc0ae;
    --gold: #d1af72;
    --shadow: 0 24px 60px rgba(34, 22, 18, 0.12);
    --shadow-strong: 0 28px 80px rgba(17, 11, 9, 0.26);
    --radius-lg: 2rem;
    --radius-md: 1.4rem;
    --transition: 220ms ease;
    --container: 1240px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(188, 141, 112, 0.2), transparent 22rem),
        radial-gradient(circle at 85% 25%, rgba(209, 175, 114, 0.1), transparent 20rem),
        linear-gradient(180deg, #efe4d6 0%, #f6efe4 48%, #eee3d4 100%);
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.page-noise,
.page-glow {
    pointer-events: none;
    position: fixed;
    inset: 0;
    z-index: -2;
}

.page-noise {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.45;
}

.page-glow {
    z-index: -1;
    filter: blur(80px);
}

.page-glow-left {
    inset: 2rem auto auto -12rem;
    width: 28rem;
    height: 28rem;
    background: rgba(158, 122, 104, 0.24);
}

.page-glow-right {
    inset: 24rem -12rem auto auto;
    width: 30rem;
    height: 30rem;
    background: rgba(209, 175, 114, 0.12);
}

.container {
    width: min(var(--container), calc(100% - 2.6rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 0.9rem 0;
    background: rgba(27, 20, 18, 0.42);
    backdrop-filter: blur(16px);
    transition: background-color var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
    background: rgba(255, 248, 239, 0.88);
    box-shadow: 0 10px 32px rgba(21, 15, 12, 0.08);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
}

.brand-mark {
    width: 3.05rem;
    height: 3.05rem;
    padding: 0.4rem;
    border-radius: 1.1rem;
    background: rgba(255, 248, 239, 0.92);
    border: 1px solid rgba(74, 49, 37, 0.14);
    box-shadow: 0 14px 30px rgba(30, 18, 14, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: 100%;
    height: 100%;
    border-radius: 0.85rem;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: 0.12rem;
}

.brand-copy strong {
    font-size: 0.98rem;
    font-weight: 800;
    color: rgba(255, 248, 240, 0.92);
}

.brand-copy span {
    color: rgba(255, 239, 223, 0.72);
    font-size: 0.82rem;
}

.site-header.is-scrolled .brand-copy strong {
    color: var(--text);
}

.site-header.is-scrolled .brand-copy span {
    color: var(--text-muted);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.site-nav > a:not(.button) {
    padding: 0.75rem 0.9rem;
    color: rgba(255, 239, 223, 0.82);
    border-radius: 999px;
    transition: background-color var(--transition), color var(--transition);
}

.site-nav > a:not(.button):hover,
.site-nav > a:not(.button).is-active {
    color: #fff8f0;
    background: rgba(255, 247, 239, 0.12);
}

.site-header.is-scrolled .site-nav > a:not(.button) {
    color: var(--text-soft);
}

.site-header.is-scrolled .site-nav > a:not(.button):hover,
.site-header.is-scrolled .site-nav > a:not(.button).is-active {
    color: var(--text);
    background: rgba(255, 250, 244, 0.78);
}

.menu-toggle {
    display: none;
    width: 3rem;
    height: 3rem;
    padding: 0.65rem;
    border-radius: 1rem;
    background: rgba(255, 247, 239, 0.08);
    border: 1px solid rgba(255, 247, 239, 0.18);
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #fff8f0;
    border-radius: 999px;
}

.site-header.is-scrolled .menu-toggle {
    background: rgba(255, 248, 239, 0.8);
    border: 1px solid var(--line);
}

.site-header.is-scrolled .menu-toggle span {
    background: var(--text);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.15rem;
    padding: 0.8rem 1.35rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition:
        background-color var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

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

.button-small {
    min-height: 2.7rem;
    padding: 0.65rem 1rem;
}

.button-accent {
    background: linear-gradient(135deg, var(--gold), #b98b57 60%, var(--accent-deep));
    color: #fffaf5;
    box-shadow: 0 18px 36px rgba(127, 91, 74, 0.24);
}

.button-accent:hover {
    box-shadow: 0 22px 40px rgba(127, 91, 74, 0.3);
}

.button-outline,
.button-outline-light {
    border-color: var(--line-strong);
    background: rgba(255, 248, 239, 0.74);
    color: var(--text);
}

.button-outline:hover {
    background: rgba(255, 248, 239, 0.92);
}

.button-outline-light {
    border-color: rgba(255, 247, 239, 0.22);
    background: rgba(255, 247, 239, 0.08);
    color: #fff5ec;
}

.button-outline-light:hover {
    background: rgba(255, 247, 239, 0.16);
}

.site-header.is-scrolled .button-outline-light {
    border-color: var(--line-strong);
    background: rgba(255, 248, 239, 0.74);
    color: var(--text);
}

.eyebrow,
.card-label {
    margin: 0 0 1rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent-deep);
}

.eyebrow-light {
    color: rgba(255, 239, 223, 0.74);
}

h1,
h2,
h3 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    line-height: 0.96;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(3.6rem, 7vw, 6.8rem);
    color: #fff8f0;
}

h2 {
    font-size: clamp(2.4rem, 4.2vw, 4.5rem);
}

h3 {
    font-size: clamp(1.45rem, 2vw, 2.2rem);
}

.section {
    padding: 6.5rem 0;
}

.section-copy,
.hero-lead,
.principle-card p,
.portfolio-overlay p,
.service-content p,
.service-content li,
.uniform-notes span,
.process-item p,
.contact-card small,
.footer-copy,
.footer-meta {
    color: var(--text-soft);
    line-height: 1.72;
}

.section-copy {
    max-width: 60ch;
}

.section-copy-compact {
    max-width: 44ch;
}

.section-copy-light {
    color: rgba(255, 237, 224, 0.7);
}

.hero {
    position: relative;
    padding: 2.2rem 0 2rem;
    background:
        radial-gradient(circle at 20% 10%, rgba(209, 175, 114, 0.14), transparent 20rem),
        linear-gradient(145deg, #1a1311 0%, #231813 38%, #3a281f 100%);
    color: #fff8f0;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 30%, rgba(255, 255, 255, 0.04));
    pointer-events: none;
}

.hero-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
    gap: 3rem;
    align-items: center;
    padding: 1.8rem 0 3.2rem;
}

.hero-copy {
    max-width: 40rem;
}

.hero-lead {
    margin-top: 1.5rem;
    color: rgba(255, 237, 224, 0.78);
    font-size: 1.04rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem 1.1rem;
    margin-top: 1.7rem;
}

.hero-contact a {
    color: rgba(255, 239, 223, 0.82);
    font-size: 0.96rem;
    border-bottom: 1px solid rgba(255, 239, 223, 0.18);
    transition: color var(--transition), border-color var(--transition);
}

.hero-contact a:hover {
    color: #fff8f0;
    border-color: rgba(255, 239, 223, 0.42);
}

.hero-visual {
    position: relative;
    min-height: 43rem;
}

.hero-primary,
.hero-secondary,
.hero-badge {
    position: absolute;
    margin: 0;
}

.hero-primary {
    inset: 2rem 7rem 4rem 0;
    border-radius: 2.4rem;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.hero-primary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-secondary {
    width: 16rem;
    overflow: hidden;
    border-radius: 1.8rem;
    background: rgba(255, 250, 244, 0.06);
    border: 1px solid rgba(255, 250, 244, 0.12);
    box-shadow: var(--shadow-strong);
}

.hero-secondary img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.hero-secondary figcaption {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: rgba(27, 20, 18, 0.82);
    color: #fff8f0;
    font-size: 0.82rem;
}

.hero-secondary-top {
    right: 0;
    top: 0;
}

.hero-secondary-bottom {
    right: 1.2rem;
    bottom: 0;
    width: 14rem;
}

.hero-badge {
    left: 1.4rem;
    bottom: 1.3rem;
    max-width: 18rem;
    padding: 1.2rem 1.25rem;
    border-radius: 1.35rem;
    background: rgba(255, 248, 239, 0.92);
    color: var(--text);
    box-shadow: 0 16px 48px rgba(14, 8, 7, 0.26);
}

.hero-badge span {
    display: block;
    margin-bottom: 0.3rem;
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.hero-badge strong {
    line-height: 1.45;
}

.feature-band {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    padding-bottom: 1rem;
}

.feature-pill {
    padding: 1.1rem 1.15rem;
    border-radius: 1.25rem;
    background: rgba(255, 247, 239, 0.08);
    border: 1px solid rgba(255, 247, 239, 0.12);
    backdrop-filter: blur(10px);
}

.feature-pill strong {
    display: block;
    margin-bottom: 0.35rem;
    color: #fff8f0;
}

.feature-pill span {
    display: block;
    color: rgba(255, 237, 224, 0.7);
    font-size: 0.92rem;
    line-height: 1.6;
}

.studio-section {
    background:
        linear-gradient(180deg, rgba(255, 248, 239, 0.44), rgba(255, 248, 239, 0)),
        transparent;
}

.studio-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2.2rem;
    align-items: center;
}

.studio-image-stack {
    position: relative;
    min-height: 38rem;
}

.studio-image {
    position: absolute;
    margin: 0;
    overflow: hidden;
    border-radius: 2rem;
    box-shadow: var(--shadow);
}

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

.studio-image.large {
    inset: 0 4.5rem 0 0;
}

.studio-image.small {
    width: 15rem;
    height: 18rem;
    right: 0;
    bottom: 2rem;
    border: 0.5rem solid rgba(255, 248, 239, 0.86);
}

.principles-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.principle-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.2rem;
    border-radius: 1.25rem;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.principle-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: rgba(158, 122, 104, 0.12);
    color: var(--accent-deep);
    font-weight: 800;
}

.principle-card h3 {
    margin-bottom: 0.4rem;
}

.portfolio-section {
    background: var(--dark);
    color: #fff8f0;
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-head h2 {
    color: inherit;
}

.section-head-light {
    color: #fff8f0;
}

.filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.6rem;
}

.filter-button {
    min-height: 2.8rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    background: rgba(255, 248, 239, 0.07);
    border: 1px solid rgba(255, 248, 239, 0.14);
    color: rgba(255, 237, 224, 0.72);
    transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.filter-button:hover,
.filter-button.is-active {
    background: linear-gradient(135deg, rgba(209, 175, 114, 0.26), rgba(158, 122, 104, 0.26));
    border-color: rgba(209, 175, 114, 0.4);
    color: #fff8f0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 1rem;
}

.portfolio-card {
    position: relative;
    min-height: 20rem;
    overflow: hidden;
    border-radius: 1.8rem;
    background: var(--dark-soft);
    transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
}

.portfolio-card[hidden] {
    display: none !important;
}

.portfolio-card-standard {
    grid-column: span 4;
}

.portfolio-card-wide,
.portfolio-card-featured {
    grid-column: span 8;
}

.portfolio-card-tall {
    grid-column: span 4;
}

.portfolio-card-tall {
    min-height: 34rem;
}

.portfolio-card-standard,
.portfolio-card-wide,
.portfolio-card-featured {
    min-height: 24rem;
}

.portfolio-media,
.portfolio-media img {
    width: 100%;
    height: 100%;
}

.portfolio-media img {
    object-fit: cover;
    transition: transform 500ms ease;
}

.portfolio-card:hover .portfolio-media img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 5.5rem 1.2rem 1.25rem;
    background: linear-gradient(180deg, transparent, rgba(12, 8, 7, 0.12) 18%, rgba(12, 8, 7, 0.92));
}

.portfolio-overlay .card-label,
.portfolio-overlay h3,
.portfolio-overlay p {
    color: #fff8f0;
}

.portfolio-overlay h3 {
    margin-bottom: 0.4rem;
}

.portfolio-overlay p:last-child {
    color: rgba(255, 238, 224, 0.74);
}

.services-section {
    background:
        linear-gradient(180deg, rgba(28, 20, 18, 0.98), rgba(44, 31, 26, 0.98));
    color: #fff8f0;
}

.services-list {
    display: grid;
    gap: 1.1rem;
}

.service-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(16rem, 18rem);
    gap: 1.35rem;
    align-items: center;
    padding: 1.25rem;
    border-radius: 1.7rem;
    background: rgba(255, 247, 239, 0.06);
    border: 1px solid rgba(255, 247, 239, 0.12);
    transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition);
}

.service-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 247, 239, 0.09);
    box-shadow: var(--shadow-strong);
}

.service-number {
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
    line-height: 1;
    color: rgba(255, 237, 224, 0.36);
}

.service-content h3 {
    margin-bottom: 0.6rem;
}

.service-content p {
    color: rgba(255, 237, 224, 0.76);
}

.service-content ul {
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.service-content li {
    position: relative;
    padding-left: 1rem;
    color: rgba(255, 237, 224, 0.76);
}

.service-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68rem;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 999px;
    background: var(--gold);
}

.service-thumb {
    overflow: hidden;
    border-radius: 1.4rem;
    background: var(--dark-raised);
    min-height: 13rem;
}

.service-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 1.35rem;
}

.uniform-panel,
.process-panel {
    padding: 1.7rem;
    border-radius: 1.8rem;
    border: 1px solid var(--line);
    background: var(--panel-strong);
    box-shadow: var(--shadow);
}

.uniform-image {
    margin: 1.6rem 0 1.2rem;
    overflow: hidden;
    border-radius: 1.4rem;
    aspect-ratio: 16 / 11;
}

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

.uniform-notes {
    display: grid;
    gap: 1rem;
}

.uniform-notes article {
    display: grid;
    gap: 0.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(74, 49, 37, 0.12);
}

.uniform-notes article:first-child {
    padding-top: 0;
    border-top: 0;
}

.uniform-notes strong {
    font-size: 1rem;
}

.process-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.process-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1rem 0 0;
    border-top: 1px solid rgba(74, 49, 37, 0.12);
}

.process-item:first-child {
    padding-top: 0;
    border-top: 0;
}

.process-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: rgba(158, 122, 104, 0.14);
    color: var(--accent-deep);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
}

.process-item h3 {
    margin-bottom: 0.3rem;
}

.contact-section {
    padding-top: 5.5rem;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 1.4rem;
    align-items: start;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-card {
    padding: 1.3rem;
    border-radius: 1.4rem;
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-card a,
.contact-card span {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 700;
    font-size: 1.04rem;
}

.site-footer {
    padding: 2rem 0 3rem;
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.footer-brand {
    margin-bottom: 0.35rem;
    font-weight: 800;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-soft);
}

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

.back-to-top {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 20;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    background: rgba(27, 20, 18, 0.88);
    color: #fff8f0;
    box-shadow: 0 18px 36px rgba(27, 20, 18, 0.24);
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), background-color var(--transition);
}

.back-to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--accent-deep);
}

.mobile-cta {
    position: fixed;
    left: 0.9rem;
    right: 0.9rem;
    bottom: calc(0.9rem + env(safe-area-inset-bottom, 0px));
    z-index: 25;
    display: none;
    gap: 0.6rem;
    padding: 0.65rem;
    border-radius: 1.35rem;
    background: rgba(255, 248, 239, 0.92);
    border: 1px solid rgba(74, 49, 37, 0.16);
    box-shadow: 0 18px 48px rgba(14, 8, 7, 0.24);
    backdrop-filter: blur(16px);
}

.mobile-cta-item {
    flex: 1;
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.78rem;
    background: rgba(27, 20, 18, 0.06);
    border: 1px solid rgba(74, 49, 37, 0.12);
    transition: background-color var(--transition), transform var(--transition);
}

.mobile-cta-item:hover {
    transform: translateY(-2px);
    background: rgba(27, 20, 18, 0.1);
}

.mobile-cta-item:first-child {
    background: linear-gradient(135deg, var(--gold), #b98b57 60%, var(--accent-deep));
    border-color: transparent;
    color: #fffaf5;
}

.mobile-cta-item:first-child:hover {
    background: linear-gradient(135deg, #e1c07c, #c4935b 60%, var(--accent-deep));
}

html.js-enabled [data-reveal] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 620ms ease, transform 620ms ease;
}

html.js-enabled [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1120px) {
    .hero-shell,
    .studio-shell,
    .process-shell,
    .contact-shell,
    .section-head {
        grid-template-columns: 1fr;
    }

    .feature-band {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card {
        grid-template-columns: auto 1fr;
    }

    .service-thumb {
        grid-column: 1 / -1;
        min-height: 14rem;
    }

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

@media (max-width: 860px) {
    .menu-toggle {
        display: inline-block;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.6rem);
        left: 1.3rem;
        right: 1.3rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 1.3rem;
        background: rgba(255, 248, 239, 0.96);
        border: 1px solid var(--line);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav > a:not(.button) {
        padding: 0.9rem 1rem;
    }

    .hero {
        padding-top: 1.4rem;
    }

    .hero-shell {
        gap: 2rem;
    }

    .hero-visual {
        min-height: 34rem;
    }

    .hero-primary {
        inset: 1.5rem 4.5rem 3.4rem 0;
    }

    .hero-secondary-top {
        width: 12rem;
    }

    .hero-secondary-bottom {
        width: 10.5rem;
    }

    .portfolio-card-standard,
    .portfolio-card-wide,
    .portfolio-card-featured,
    .portfolio-card-tall {
        grid-column: span 12;
        min-height: 21rem;
    }
}

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

    .section {
        padding: 4.6rem 0;
    }

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

    .button {
        width: 100%;
    }

    .feature-band,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .hero-primary,
    .hero-secondary,
    .hero-badge {
        position: static;
        width: 100%;
    }

    .hero-primary img,
    .hero-secondary img {
        aspect-ratio: 4 / 5;
    }

    .hero-secondary figcaption {
        bottom: 0.9rem;
    }

    .studio-image-stack {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .studio-image {
        position: static;
        width: 100%;
        height: auto;
    }

    .studio-image img {
        aspect-ratio: 4 / 5;
    }

    .studio-image.small {
        border: 0;
    }

    .service-card {
        grid-template-columns: 1fr;
    }

    .service-number {
        font-size: 2.4rem;
    }

    .footer-shell {
        flex-direction: column;
        align-items: start;
    }

    .back-to-top {
        bottom: calc(5.6rem + env(safe-area-inset-bottom, 0px));
    }

    .mobile-cta {
        display: flex;
    }
}

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

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