/* ========== RESET & BASE ========== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: #1a1512;
    color: #6b5749;
    font-family: 'Manrope', system-ui, sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* ========== UTILITY ========== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 21, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(223, 80, 37, 0.1);
    transition: background 0.3s ease;
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 18px;
    color: #fefcf8;
    letter-spacing: 0.01em;
}

.nav__logo {
    flex-shrink: 0;
}

.nav__brand-text {
    font-style: italic;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 36px;
    list-style: none;
}

.nav__link {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b5749;
    transition: color 0.25s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #df5025;
    transition: width 0.3s ease;
}

.nav__link:hover {
    color: #fefcf8;
}

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

/* Mobile nav toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.nav__toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: #fefcf8;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

.nav__toggle[aria-expanded="true"] .nav__toggle-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }
    
    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        flex-direction: column;
        justify-content: center;
        gap: 28px;
        background: rgba(26, 21, 18, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid rgba(223, 80, 37, 0.15);
    }
    
    .nav__links.open {
        transform: translateX(0);
    }
    
    .nav__link {
        font-size: 14px;
    }
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero__grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero__eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #df5025;
    margin-bottom: 24px;
}

.hero__headline {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.15;
    color: #fefcf8;
    margin-bottom: 28px;
    max-width: 540px;
}

.hero__headline em {
    font-style: italic;
    color: #df5025;
}

.hero__body {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.8;
    color: #a69080;
    max-width: 440px;
    margin-bottom: 40px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn--primary {
    background: #df5025;
    color: #fefcf8;
    border: 1px solid #df5025;
}

.btn--primary:hover {
    background: #c43d1f;
    border-color: #c43d1f;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(223, 80, 37, 0.3);
}

.btn--ghost {
    background: transparent;
    color: #fefcf8;
    border: 1px solid rgba(254, 252, 248, 0.25);
}

.btn--ghost:hover {
    border-color: #fefcf8;
    background: rgba(254, 252, 248, 0.05);
}

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

/* ========== HERO VISUAL ========== */
.hero__visual {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.hero__image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.hero__image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(223, 80, 37, 0.3);
    border-radius: 2px;
    pointer-events: none;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(254, 252, 248, 0.08);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero__stat-number {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 24px;
    color: #fefcf8;
    font-style: italic;
}

.hero__stat-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6b5749;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(254, 252, 248, 0.1);
}

@media (max-width: 900px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero__visual {
        order: -1;
        max-width: 480px;
    }
    
    .hero__headline {
        max-width: 100%;
    }
    
    .hero__body {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .hero__stat-divider {
        display: none;
    }
}

/* ========== SECTION COMMON ========== */
.section-eyebrow {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #df5025;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.2;
    color: #fefcf8;
    margin-bottom: 20px;
}

/* ========== SERVICES ========== */
.services {
    padding: 120px 0;
    border-top: 1px solid rgba(254, 252, 248, 0.06);
}

.services__header {
    margin-bottom: 64px;
}

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

.service-card {
    background: rgba(254, 252, 248, 0.02);
    border: 1px solid rgba(254, 252, 248, 0.06);
    border-radius: 2px;
    padding: 40px 36px;
    transition: all 0.35s ease;
}

.service-card:hover {
    background: rgba(223, 80, 37, 0.05);
    border-color: rgba(223, 80, 37, 0.2);
    transform: translateY(-2px);
}

.service-card__icon {
    margin-bottom: 24px;
}

.service-card__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    color: #fefcf8;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-card__body {
    font-size: 14px;
    font-weight: 300;
    line-height: 1.8;
    color: #a69080;
}

@media (max-width: 768px) {
    .services__grid {
        grid-template-columns: 1fr;
    }
    
    .services {
        padding: 80px 0;
    }
}

/* ========== ABOUT ========== */
.about {
    padding: 120px 0;
    border-top: 1px solid rgba(254, 252, 248, 0.06);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

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

.about__image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.about__content {
    max-width: 480px;
}

.about__body {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
    color: #a69080;
    margin-bottom: 20px;
}

.about__values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about__value {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 14px;
    font-weight: 400;
    color: #fefcf8;
    letter-spacing: 0.02em;
}

.about__value-line {
    display: block;
    width: 32px;
    height: 1px;
    background: #df5025;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .about__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about__content {
        max-width: 100%;
    }
    
    .about {
        padding: 80px 0;
    }
}

/* ========== WORK ========== */
.work {
    padding: 120px 0;
    border-top: 1px solid rgba(254, 252, 248, 0.06);
}

.work__header {
    margin-bottom: 64px;
}

.work__gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.work__item {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    cursor: pointer;
}

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

.work__item--wide {
    grid-column: 2 / 3;
}

.work__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work__item:hover img {
    transform: scale(1.03);
}

.work__item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 20px;
    background: linear-gradient(to top, rgba(26, 21, 18, 0.85) 0%, transparent 100%);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fefcf8;
    transform: translateY(8px);
    opacity: 0;
    transition: all 0.35s ease;
}

.work__item:hover .work__item-overlay {
    transform: translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .work__gallery {
        grid-template-columns: 1fr;
    }
    
    .work__item--large,
    .work__item--wide {
        grid-column: auto;
        grid-row: auto;
    }
    
    .work__item--large {
        min-height: 300px;
    }
    
    .work__item--wide img,
    .work__item img {
        min-height: 240px;
    }
    
    .work__item-overlay {
        opacity: 1;
        transform: translateY(0);
    }
    
    .work {
        padding: 80px 0;
    }
}

/* ========== CONTACT ========== */
.contact {
    padding: 120px 0;
    border-top: 1px solid rgba(254, 252, 248, 0.06);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact__body {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.85;
    color: #a69080;
    margin-bottom: 40px;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__detail {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    font-weight: 400;
    color: #fefcf8;
    transition: color 0.25s ease;
}

.contact__detail:hover {
    color: #df5025;
}

.contact__detail svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.contact__detail:hover svg {
    opacity: 1;
}

.contact__detail address {
    font-style: normal;
}

/* ========== FORM ========== */
.contact__form-col {
    background: rgba(254, 252, 248, 0.02);
    border: 1px solid rgba(254, 252, 248, 0.06);
    border-radius: 2px;
    padding: 40px;
}

.form__group {
    margin-bottom: 24px;
}

.form__label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b5749;
    margin-bottom: 8px;
}

.form__input,
.form__textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(254, 252, 248, 0.12);
    padding: 10px 0;
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 300;
    color: #fefcf8;
    outline: none;
    transition: border-color 0.3s ease;
    border-radius: 0;
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: #524237;
}

.form__input:focus,
.form__textarea:focus {
    border-color: #df5025;
}

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

.form__success {
    text-align: center;
    padding: 40px 20px;
}

.form__success svg {
    margin: 0 auto 16px;
}

.form__success p {
    font-size: 15px;
    color: #a69080;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact__form-col {
        padding: 28px;
    }
}

/* ========== FOOTER ========== */
.footer {
    padding: 64px 0 0;
    border-top: 1px solid rgba(254, 252, 248, 0.06);
}

.footer__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 48px;
    align-items: start;
    padding-bottom: 48px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 16px;
    color: #fefcf8;
    font-style: italic;
}

.footer__tagline {
    font-size: 13px;
    font-weight: 300;
    color: #6b5749;
    margin-top: 8px;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer__link {
    font-size: 13px;
    font-weight: 400;
    color: #6b5749;
    letter-spacing: 0.04em;
    transition: color 0.25s ease;
}

.footer__link:hover {
    color: #fefcf8;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: right;
}

.footer__phone,
.footer__email {
    font-size: 13px;
    font-weight: 400;
    color: #a69080;
    transition: color 0.25s ease;
}

.footer__phone:hover,
.footer__email:hover {
    color: #df5025;
}

.footer__bottom {
    border-top: 1px solid rgba(254, 252, 248, 0.06);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    font-size: 12px;
    font-weight: 400;
    color: #524237;
    letter-spacing: 0.04em;
}

@media (max-width: 768px) {
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer__contact {
        text-align: left;
    }
    
    .footer__links {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ========== SCROLL REVEAL (progressive enhancement) ========== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Default: always visible for reduced motion or no-JS */
.reveal {
    opacity: 1;
    transform: none;
}

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