/* ============================================
   JEN SCHUMAN ESTHETICS — BRAND STYLESHEET
   Palette: Burgundy (#7B2D3B) + Blush (#E8C4C4)
   Fonts: Cormorant Garamond (serif) + Inter (sans)
   ============================================ */

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

:root {
    --burgundy: #7B2D3B;
    --burgundy-deep: #5A1F2B;
    --burgundy-light: #9E3F4F;
    --blush: #E8C4C4;
    --blush-light: #F5E0E0;
    --blush-pale: #FBF3F3;
    --cream: #FDF8F7;
    --warm-white: #FEFAF9;
    --charcoal: #1A1416;
    --dark-text: #2A1F22;
    --mid-text: #5C4A4E;
    --light-text: #8A7076;
    --border: #E8D8D8;
    --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 247, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.4s var(--ease-smooth), background 0.4s var(--ease-smooth);
}

.nav.scrolled {
    border-bottom-color: var(--border);
    background: rgba(253, 248, 247, 0.95);
}

.nav__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.nav__logo-main {
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--burgundy);
    letter-spacing: -0.01em;
}

.nav__logo-sub {
    font-family: var(--sans);
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--light-text);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__link {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--mid-text);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: color 0.3s var(--ease-smooth);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--burgundy);
    transition: width 0.3s var(--ease-out);
}

.nav__link:hover {
    color: var(--burgundy);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: white;
    background: var(--burgundy);
    padding: 0.65rem 1.5rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.3s var(--ease-smooth), transform 0.2s var(--ease-smooth);
}

.nav__cta:hover {
    background: var(--burgundy-deep);
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.nav__toggle-line {
    display: block;
    height: 2px;
    background: var(--burgundy);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-smooth);
    transform-origin: center;
}

.nav__toggle.active .nav__toggle-line:first-child {
    transform: translateY(7px) rotate(45deg);
}

.nav__toggle.active .nav__toggle-line:last-child {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--charcoal);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(135deg, rgba(26, 20, 22, 0.92) 0%, rgba(90, 31, 43, 0.7) 50%, rgba(26, 20, 22, 0.88) 100%);
    z-index: 1;
}

.hero__bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.pexels.com/photos/7447121/pexels-photo-7447121.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center/cover no-repeat;
    opacity: 0.35;
    filter: saturate(0.6);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 20, 22, 0.3) 0%,
        rgba(26, 20, 22, 0.1) 40%,
        rgba(26, 20, 22, 0.5) 100%
    );
    z-index: 2;
}

.hero__grid {
    position: relative;
    z-index: 3;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
    padding-top: 80px;
}

.hero__left {
    padding-right: 1rem;
}

.hero__eyebrow {
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--blush);
    margin-bottom: 1.5rem;
}

.hero__headline {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 400;
    line-height: 1.08;
    color: white;
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

.hero__headline .hero__accent {
    font-style: italic;
    font-weight: 300;
    color: var(--blush);
}

.hero__subhead {
    font-family: var(--sans);
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    max-width: 440px;
    margin-bottom: 2.5rem;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero__right {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero__image-frame {
    overflow: hidden;
    border-radius: 2px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.hero__image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.hero__image-frame:hover img {
    transform: scale(1.03);
}

.hero__image-frame--secondary {
    margin-left: 3rem;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--sans);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.hero__scroll-indicator svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.9rem 2rem;
    border-radius: 2px;
    transition: all 0.35s var(--ease-smooth);
    white-space: nowrap;
}

.btn--primary {
    background: var(--burgundy);
    color: white;
    border: 2px solid var(--burgundy);
}

.btn--primary:hover {
    background: var(--burgundy-deep);
    border-color: var(--burgundy-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 59, 0.3);
}

.btn--ghost {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn--ghost:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--burgundy);
    border: 2px solid var(--burgundy);
}

.btn--outline:hover {
    background: var(--burgundy);
    color: white;
    transform: translateY(-2px);
}

.btn--large {
    font-size: 0.82rem;
    padding: 1.1rem 2.4rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee-section {
    background: var(--burgundy);
    padding: 1.1rem 0;
    overflow: hidden;
}

.marquee {
    overflow: hidden;
    white-space: nowrap;
}

.marquee__track {
    display: flex;
    gap: 0;
    animation: marqueeScroll 30s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee__item {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 500;
    color: var(--blush);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0 1.5rem;
    flex-shrink: 0;
}

.marquee__dot {
    color: var(--blush);
    opacity: 0.5;
    padding: 0 0.5rem;
    flex-shrink: 0;
    font-size: 0.5rem;
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.section-eyebrow {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.section-headline {
    font-family: var(--serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--dark-text);
    letter-spacing: -0.02em;
}

.section-headline--large {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

.section-headline em {
    font-style: italic;
    color: var(--burgundy);
}

/* ============================================
   INTRO
   ============================================ */
.intro {
    padding: 8rem 0;
    background: var(--warm-white);
}

.intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro__text {
    max-width: 520px;
}

.intro__text .section-headline {
    margin-bottom: 2rem;
}

.intro__body {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--mid-text);
    margin-bottom: 1.25rem;
}

.intro__image-col img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: 2px;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
    padding: 8rem 0;
    background: var(--cream);
}

.services__header {
    text-align: center;
    margin-bottom: 5rem;
}

.services__header .section-eyebrow {
    margin-bottom: 0.75rem;
}

.services__header .section-headline {
    margin-top: 0.5rem;
}

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

.service-card {
    background: white;
    padding: 2.75rem 2.25rem;
    border-radius: 2px;
    border: 1px solid var(--border);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--burgundy);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(123, 45, 59, 0.1);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card__number {
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 300;
    color: var(--blush);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color 0.3s var(--ease-smooth);
}

.service-card:hover .service-card__number {
    color: var(--burgundy);
}

.service-card__title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.service-card__desc {
    font-size: 0.9rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--mid-text);
}

/* ============================================
   PHILOSOPHY / ABOUT
   ============================================ */
.philosophy {
    padding: 8rem 0;
    background: var(--charcoal);
}

.philosophy__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.philosophy__content .section-eyebrow {
    color: var(--blush);
    margin-bottom: 1.25rem;
}

.philosophy__content .section-headline {
    color: white;
    margin-bottom: 2rem;
}

.philosophy__body {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 1.25rem;
}

.philosophy__stats {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat__number {
    font-family: var(--serif);
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--blush);
    line-height: 1;
    display: block;
}

.stat__label {
    font-family: var(--sans);
    font-size: 0.7rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-top: 0.5rem;
    display: block;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
}

.philosophy__image-col img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 2px;
}

/* ============================================
   GALLERY
   ============================================ */
.gallery {
    padding: 8rem 0;
    background: var(--warm-white);
}

.gallery__header {
    text-align: center;
    margin-bottom: 4rem;
}

.gallery__header .section-eyebrow {
    margin-bottom: 0.75rem;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1.25rem;
}

.gallery__item {
    overflow: hidden;
    border-radius: 2px;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s var(--ease-out);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item--large {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
}

.gallery__item--large img {
    height: 520px;
}

.gallery__item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
}

.gallery__item:nth-child(2) img {
    height: 520px;
}

.gallery__item:nth-child(3) {
    grid-column: 1 / 5;
    grid-row: 2 / 3;
}

.gallery__item:nth-child(3) img {
    height: 400px;
}

.gallery__item:nth-child(4) {
    grid-column: 5 / 9;
    grid-row: 2 / 3;
}

.gallery__item:nth-child(4) img {
    height: 400px;
}

.gallery__item--wide {
    grid-column: 9 / 13;
    grid-row: 2 / 3;
}

.gallery__item--wide img {
    height: 400px;
}

.gallery__item:nth-child(6) {
    grid-column: 1 / 5;
    grid-row: 3 / 4;
}

.gallery__item:nth-child(6) img {
    height: 320px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-deep) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(232, 196, 196, 0.06);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(232, 196, 196, 0.04);
}

.cta-section__inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.cta-section__eyebrow {
    color: var(--blush);
    margin-bottom: 1.25rem;
}

.cta-section__headline {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-section__body {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
}

.cta-section__body a {
    color: var(--blush);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s var(--ease-smooth);
}

.cta-section__body a:hover {
    color: white;
}

.cta-section__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section__actions .btn--outline {
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.cta-section__actions .btn--outline:hover {
    background: white;
    color: var(--burgundy);
    border-color: white;
}

/* ============================================
   CONTACT
   ============================================ */
.contact {
    padding: 8rem 0;
    background: var(--cream);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact__info .section-headline {
    margin-bottom: 2.5rem;
}

.contact__details {
    list-style: none;
    margin-bottom: 3rem;
}

.contact__detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--mid-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact__detail svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--burgundy);
}

.contact__detail a {
    color: var(--mid-text);
    transition: color 0.3s var(--ease-smooth);
}

.contact__detail a:hover {
    color: var(--burgundy);
}

.contact__hours-title {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.contact__hours-list {
    list-style: none;
}

.contact__hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
}

.contact__day {
    color: var(--mid-text);
    font-weight: 400;
}

.contact__time {
    color: var(--light-text);
    font-weight: 400;
}

/* Form */
.contact__form {
    background: white;
    padding: 3rem;
    border-radius: 2px;
    border: 1px solid var(--border);
}

.contact__form-title {
    font-family: var(--serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__label {
    display: block;
    font-family: var(--sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--mid-text);
    margin-bottom: 0.5rem;
}

.form__input {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--dark-text);
    background: var(--warm-white);
    border: 1px solid var(--border);
    border-radius: 2px;
    transition: border-color 0.3s var(--ease-smooth), box-shadow 0.3s var(--ease-smooth);
    outline: none;
}

.form__input::placeholder {
    color: var(--light-text);
}

.form__input:focus {
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.08);
}

.form__select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238A7076' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
}

.form__success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--blush-pale);
    border: 1px solid var(--blush);
    border-radius: 2px;
    color: var(--burgundy);
    font-size: 0.9rem;
    font-weight: 500;
}

.form__success svg {
    flex-shrink: 0;
    color: var(--burgundy);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    padding: 5rem 0 0;
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
    margin-bottom: 1rem;
}

.footer__logo-main {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.footer__logo-sub {
    font-family: var(--sans);
    font-size: 0.6rem;
    font-weight: 500;
    color: var(--blush);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 3px;
}

.footer__tagline {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    max-width: 280px;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.footer__nav a {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.3s var(--ease-smooth);
}

.footer__nav a:hover {
    color: var(--blush);
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: right;
}

.footer__contact a {
    font-size: 0.88rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    transition: color 0.3s var(--ease-smooth);
}

.footer__contact a:hover {
    color: var(--blush);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 0;
}

.footer__bottom p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 400;
}

/* ============================================
   SCROLL REVEAL (progressive enhancement)
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero__right {
        display: none;
    }

    .hero__left {
        padding-right: 0;
        text-align: center;
    }

    .hero__subhead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .intro__grid,
    .philosophy__inner,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .intro__image-col img,
    .philosophy__image-col img {
        height: 480px;
    }

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

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

    .gallery__item--large,
    .gallery__item:nth-child(2),
    .gallery__item:nth-child(3),
    .gallery__item:nth-child(4),
    .gallery__item--wide,
    .gallery__item:nth-child(6) {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery__item img {
        height: 320px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        background: var(--warm-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 2.5rem 2rem;
        gap: 1.5rem;
        transition: right 0.4s var(--ease-out);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
    }

    .nav__menu.open {
        right: 0;
    }

    .nav__toggle {
        display: flex;
    }

    .nav__cta {
        display: none;
    }

    .hero {
        min-height: 90vh;
    }

    .hero__headline {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }

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

    .philosophy__stats {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .stat-divider {
        display: none;
    }

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

    .gallery__item img {
        height: 280px;
    }

    .contact__form {
        padding: 2rem;
    }

    .footer__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer__nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer__contact {
        text-align: center;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }

    .nav__inner {
        padding: 0 1.25rem;
    }

    .hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .hero__actions .btn {
        justify-content: center;
    }

    .cta-section__actions {
        flex-direction: column;
        align-items: center;
    }

    .cta-section__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

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