@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
    --gold: #D4AF37;
    --dark-gold: #B8941F;
    --cream: #F5F1E8;
    --dark-brown: #2C2416;
    --charcoal: #1A1814;
    --light-gold: #F0E6D2;
    --white: #FFFFFF;

    --serif: 'Cormorant Garamond', serif;
    --sans: 'Montserrat', sans-serif;
}

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

html {
    overflow-x: hidden;
}

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

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--charcoal);
    z-index: 10000;
    transform-origin: top;
    animation: pageReveal 1.2s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes pageReveal {
    to {
        transform: scaleY(0);
    }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    background: linear-gradient(to bottom, var(--cream) 0%, rgba(245, 241, 232, 0.95) 80%, transparent 100%);
    animation: navSlideDown 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.5s backwards;
}

@keyframes navSlideDown {
    from {
        transform: translateY(-100%);
    }
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--charcoal);
}

.nav-links {
    display: flex;
    gap: 50px;
    list-style: none;
}

.nav-links a {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark-brown);
    text-decoration: none;
    position: relative;
    transition: color 0.4s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--gold);
}

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

.nav-accent {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 120px 60px 60px;
}

.hero-ornament {
    position: absolute;
    width: 400px;
    height: 400px;
    opacity: 0.08;
    animation: ornamentFloat 20s ease-in-out infinite;
}

.hero-ornament-left {
    top: 10%;
    left: -100px;
    background: radial-gradient(circle, var(--gold) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: rotate(-15deg);
}

.hero-ornament-right {
    bottom: 10%;
    right: -100px;
    background: radial-gradient(circle, var(--gold) 1px, transparent 1px);
    background-size: 30px 30px;
    transform: rotate(15deg);
    animation-delay: -10s;
}

@keyframes ornamentFloat {
    0%, 100% { transform: translateY(0) rotate(-15deg); }
    50% { transform: translateY(-30px) rotate(-20deg); }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-subtitle .line {
    width: 60px;
    height: 1px;
    background: var(--gold);
}

.hero-subtitle .text {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dark-brown);
}

.hero-title {
    font-family: var(--serif);
    font-size: 120px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100px);
    animation: wordReveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.hero-title .word:nth-child(1) {
    animation-delay: 0.4s;
}

.hero-title .word:nth-child(2) {
    animation-delay: 0.6s;
    color: var(--gold);
}

@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-description {
    font-size: 18px;
    color: var(--dark-brown);
    margin-bottom: 50px;
    opacity: 0;
    animation: fadeInUp 1s ease 1s forwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: var(--charcoal);
    color: var(--cream);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--charcoal);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
    transition: all 0.4s ease;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.cta-button:hover {
    color: var(--charcoal);
    border-color: var(--gold);
}

.cta-button:hover::before {
    left: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0;
    animation: fadeInUp 1s ease 1.5s forwards;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
    animation: scrollLineMove 2s ease-in-out infinite;
}

@keyframes scrollLineMove {
    0%, 100% { transform: translateY(-20px); opacity: 0; }
    50% { transform: translateY(0); opacity: 1; }
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dark-brown);
}

/* Featured Section */
.featured {
    padding: 120px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    position: relative;
    padding: 0 40px;
}

.section-label::before,
.section-label::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-label::before {
    left: 0;
}

.section-label::after {
    right: 0;
}

.section-title {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 400;
    color: var(--charcoal);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.featured-item {
    opacity: 0;
    transform: translateY(60px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: var(--delay);
}

.featured-image {
    position: relative;
    aspect-ratio: 3/4;
    margin-bottom: 25px;
    overflow: hidden;
    cursor: pointer;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--cream) 100%);
    position: relative;
    transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 1px solid var(--gold);
    opacity: 0.3;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 60px;
    height: 60px;
    border: 1px solid var(--gold);
    opacity: 0.2;
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(212, 175, 55, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.featured-number {
    font-family: var(--serif);
    font-size: 72px;
    color: var(--charcoal);
}

.featured-item:hover .image-placeholder {
    transform: scale(1.05);
}

.featured-item:hover .featured-overlay {
    opacity: 1;
}

.featured-info h3 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.featured-info p {
    font-size: 14px;
    color: var(--dark-brown);
    letter-spacing: 0.5px;
}

/* Philosophy Section */
.philosophy {
    padding: 120px 0;
    background: var(--cream);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 100px;
    align-items: center;
}

.philosophy-label {
    display: block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 30px;
}

.philosophy-left h2 {
    font-family: var(--serif);
    font-size: 52px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
}

.philosophy-right p {
    font-size: 16px;
    color: var(--dark-brown);
    margin-bottom: 25px;
    line-height: 1.8;
}

.text-link {
    display: inline-block;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--charcoal);
    text-decoration: none;
    position: relative;
    margin-top: 20px;
    transition: color 0.4s ease;
}

.link-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gold);
    transform-origin: right;
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.text-link:hover {
    color: var(--gold);
}

.text-link:hover .link-underline {
    transform-origin: left;
    transform: scaleX(1);
}

/* Footer */
.footer {
    background: var(--charcoal);
    color: var(--cream);
    padding: 80px 0 40px;
    position: relative;
}

.footer-ornament {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-top: 60px;
}

.footer-logo {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.footer-left p {
    font-size: 13px;
    color: var(--light-gold);
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-links a {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--light-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-copyright {
    font-size: 12px;
    color: var(--light-gold);
    opacity: 0.6;
}

/* Page Hero */
.page-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: var(--cream);
}

.page-label {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 30px;
}

.page-title {
    font-family: var(--serif);
    font-size: 72px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--charcoal);
}

.page-title span {
    color: var(--gold);
}

/* Story Section */
.story {
    padding: 120px 0;
    background: var(--white);
}

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

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

.image-placeholder.large {
    width: 100%;
    height: 100%;
}

.story-right h2 {
    font-family: var(--serif);
    font-size: 42px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--charcoal);
    margin-bottom: 30px;
}

.story-right p {
    font-size: 16px;
    color: var(--dark-brown);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Values Section */
.values {
    padding: 120px 0;
    background: var(--cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px;
    margin-top: 60px;
}

.value-item {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: var(--delay);
}

.value-icon {
    font-family: var(--serif);
    font-size: 48px;
    color: var(--gold);
    margin-bottom: 20px;
}

.value-item h3 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.value-item p {
    font-size: 15px;
    color: var(--dark-brown);
    line-height: 1.7;
}

/* Timeline Section */
.timeline {
    padding: 120px 0;
    background: var(--white);
}

.timeline-container {
    position: relative;
    margin-top: 80px;
}

.timeline-line {
    position: absolute;
    left: 120px;
    top: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(to bottom, var(--gold), transparent);
}

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 60px;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateX(-40px);
    animation: fadeInRight 1s ease forwards;
    animation-delay: var(--delay);
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-year {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 400;
    color: var(--gold);
    text-align: right;
    position: relative;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: var(--gold);
    border-radius: 50%;
    border: 3px solid var(--white);
}

.timeline-content h3 {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--dark-brown);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 120px 0;
    background: var(--charcoal);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--serif);
    font-size: 56px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--cream);
    margin-bottom: 50px;
}

/* Services Section */
.services-section {
    padding: 80px 0 120px;
    background: var(--white);
}

.services-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr 400px;
    gap: 60px;
    align-items: start;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: var(--delay);
}

.service-number {
    font-family: var(--serif);
    font-size: 72px;
    font-weight: 300;
    color: var(--gold);
    opacity: 0.5;
}

.service-content h3 {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.service-content p {
    font-size: 15px;
    color: var(--dark-brown);
    line-height: 1.8;
    margin-bottom: 25px;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 14px;
    color: var(--dark-brown);
    padding: 10px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    position: relative;
    padding-left: 25px;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

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

/* Process Section */
.process {
    padding: 120px 0;
    background: var(--cream);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    margin-top: 60px;
    align-items: start;
}

.process-step {
    text-align: center;
}

.step-icon {
    width: 80px;
    height: 80px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    position: relative;
}

.step-number {
    font-family: var(--serif);
    font-size: 32px;
    color: var(--gold);
}

.process-step h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.process-step p {
    font-size: 14px;
    color: var(--dark-brown);
    line-height: 1.6;
}

.process-connector {
    height: 2px;
    background: linear-gradient(to right, var(--gold), transparent);
    margin-top: 40px;
}

/* Portfolio Section */
.portfolio-section {
    padding: 80px 0 120px;
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.portfolio-item {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1s ease forwards;
    animation-delay: var(--delay);
}

.portfolio-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.portfolio-item.wide {
    grid-column: span 2;
}

.portfolio-item.tall {
    grid-row: span 2;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item.large .portfolio-image,
.portfolio-item.tall .portfolio-image {
    aspect-ratio: auto;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(26, 24, 20, 0.95) 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.overlay-content {
    color: var(--cream);
}

.portfolio-category {
    display: block;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
}

.overlay-content h3 {
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 8px;
}

.overlay-content p {
    font-size: 14px;
    color: var(--light-gold);
}

/* Contact Section */
.contact-section {
    padding: 80px 0 120px;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 100px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.info-block h3 {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 15px;
}

.info-block p {
    font-size: 15px;
    color: var(--dark-brown);
    line-height: 1.8;
}

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

.social-link {
    font-size: 15px;
    color: var(--dark-brown);
    text-decoration: none;
    position: relative;
    display: inline-block;
    width: fit-content;
    transition: color 0.3s ease;
}

.social-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.social-link:hover {
    color: var(--gold);
}

.social-link:hover::after {
    width: 100%;
}

/* Contact Form */
.contact-form-container {
    background: var(--cream);
    padding: 60px;
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.form-header p {
    font-size: 14px;
    color: var(--dark-brown);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--dark-brown);
    margin-bottom: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(44, 36, 22, 0.2);
    background: var(--white);
    font-family: var(--sans);
    font-size: 15px;
    color: var(--charcoal);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.form-group textarea {
    resize: vertical;
}

.submit-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 18px 40px;
    background: var(--charcoal);
    color: var(--cream);
    border: 1px solid var(--charcoal);
    font-family: var(--sans);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gold);
    transition: left 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    z-index: -1;
}

.submit-button:hover {
    color: var(--charcoal);
    border-color: var(--gold);
}

.submit-button:hover::before {
    left: 0;
}

/* Map Section */
.map-section {
    height: 500px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--light-gold) 0%, var(--cream) 50%, var(--light-gold) 100%);
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(212, 175, 55, 0.1) 50px, rgba(212, 175, 55, 0.1) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(212, 175, 55, 0.1) 50px, rgba(212, 175, 55, 0.1) 51px);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.map-marker {
    position: relative;
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
}

.marker-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.marker-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--gold);
    border-radius: 50%;
}

.map-overlay p {
    font-family: var(--serif);
    font-size: 20px;
    color: var(--charcoal);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 80px;
    }

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

    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

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

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

    .service-image {
        order: -1;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .process-connector {
        display: none;
    }

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

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

@media (max-width: 768px) {
    .container {
        padding: 0 30px;
    }

    .nav-container {
        padding: 0 30px;
    }

    .nav-links {
        gap: 25px;
    }

    .hero {
        padding: 100px 30px 40px;
    }

    .hero-title {
        font-size: 56px;
    }

    .page-title {
        font-size: 48px;
    }

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

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

    .portfolio-item.large,
    .portfolio-item.wide,
    .portfolio-item.tall {
        grid-column: 1;
        grid-row: auto;
    }

    .timeline-item {
        grid-template-columns: 1fr;
    }

    .timeline-line {
        display: none;
    }

    .timeline-year {
        text-align: left;
    }

    .timeline-year::after {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-container {
        padding: 40px 30px;
    }

    .footer-content {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 20px;
    }
}

/* =============================================
   HAMBURGER MENU & MOBILE RESPONSIVE STYLES
   ============================================= */

/* Hamburger Button - hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 998;
    position: relative;
}

.hamburger-line {
    display: block;
    width: 26px;
    height: 1.5px;
    background: var(--gold);
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1),
                opacity 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.hamburger-line:nth-child(1) {
    top: 13px;
}

.hamburger-line:nth-child(2) {
    top: 21px;
}

.hamburger-line:nth-child(3) {
    top: 29px;
}

/* Hamburger to X animation */
.hamburger.is-active .hamburger-line:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.hamburger.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .hamburger-line:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-brown);
    z-index: 997;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.77, 0, 0.175, 1),
                visibility 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

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

.mobile-menu-link {
    font-family: var(--serif);
    font-size: 36px;
    font-weight: 400;
    color: var(--gold);
    text-decoration: none;
    letter-spacing: 2px;
    padding: 12px 20px;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.3s ease;
}

.mobile-menu-overlay.is-open .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(5) { transition-delay: 0.3s; }

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: 6px;
    left: 20px;
    right: 20px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
    color: var(--cream);
}

.mobile-menu-link.active::after,
.mobile-menu-link:hover::after {
    transform: scaleX(1);
}

/* Mobile breakpoint - show hamburger, hide desktop nav */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav {
        padding: 20px 0;
    }

    .nav-accent {
        display: none;
    }

    .logo {
        font-size: 26px;
    }

    /* Hero section mobile */
    .hero {
        min-height: auto;
        padding: 120px 20px 80px;
    }

    .hero-title {
        font-size: 42px;
    }

    .hero-subtitle .line {
        width: 30px;
    }

    .hero-subtitle .text {
        font-size: 10px;
    }

    .hero-description {
        font-size: 15px;
        margin-bottom: 35px;
    }

    .hero-ornament {
        width: 200px;
        height: 200px;
    }

    .scroll-indicator {
        display: none;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 12px;
    }

    /* Section titles mobile */
    .section-title {
        font-size: 36px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-label {
        font-size: 10px;
        padding: 0 30px;
    }

    .section-label::before,
    .section-label::after {
        width: 20px;
    }

    /* Page hero mobile */
    .page-hero {
        padding: 130px 0 60px;
    }

    .page-title {
        font-size: 38px;
    }

    .page-label {
        font-size: 10px;
        margin-bottom: 20px;
    }

    /* Featured section mobile */
    .featured {
        padding: 80px 0;
    }

    .featured-info h3 {
        font-size: 22px;
    }

    /* Philosophy section mobile */
    .philosophy {
        padding: 80px 0;
    }

    .philosophy-left h2 {
        font-size: 34px;
    }

    .philosophy-right p {
        font-size: 15px;
    }

    /* Story section mobile */
    .story {
        padding: 80px 0;
    }

    .story-content {
        gap: 40px;
    }

    .story-right h2 {
        font-size: 32px;
    }

    .story-right p {
        font-size: 15px;
    }

    /* Values section mobile */
    .values {
        padding: 80px 0;
    }

    .values-grid {
        gap: 40px;
        margin-top: 40px;
    }

    .value-icon {
        font-size: 36px;
    }

    .value-item h3 {
        font-size: 24px;
    }

    /* Timeline section mobile */
    .timeline {
        padding: 80px 0;
    }

    .timeline-container {
        margin-top: 50px;
    }

    .timeline-item {
        gap: 15px;
        margin-bottom: 50px;
    }

    .timeline-year {
        font-size: 40px;
    }

    .timeline-content h3 {
        font-size: 26px;
    }

    /* Services section mobile */
    .services-section {
        padding: 40px 0 80px;
    }

    .services-grid {
        gap: 60px;
    }

    .service-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-number {
        font-size: 48px;
    }

    .service-content h3 {
        font-size: 28px;
    }

    .service-image {
        aspect-ratio: 16/9;
        order: -1;
    }

    /* Process section mobile */
    .process {
        padding: 80px 0;
    }

    .process-steps {
        gap: 30px;
        margin-top: 40px;
    }

    .step-icon {
        width: 64px;
        height: 64px;
    }

    .step-number {
        font-size: 26px;
    }

    .process-step h3 {
        font-size: 20px;
    }

    /* Portfolio section mobile */
    .portfolio-section {
        padding: 40px 0 80px;
    }

    .portfolio-grid {
        gap: 20px;
    }

    .portfolio-image {
        aspect-ratio: 4/3;
    }

    .portfolio-item.large .portfolio-image,
    .portfolio-item.tall .portfolio-image {
        aspect-ratio: 4/3;
    }

    .portfolio-overlay {
        opacity: 1;
        background: linear-gradient(to bottom, transparent 30%, rgba(26, 24, 20, 0.9) 100%);
        padding: 20px;
    }

    .overlay-content h3 {
        font-size: 22px;
    }

    /* Contact section mobile */
    .contact-section {
        padding: 40px 0 80px;
    }

    .contact-grid {
        gap: 50px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .form-header h2 {
        font-size: 28px;
    }

    .submit-button {
        width: 100%;
        justify-content: center;
        padding: 16px 30px;
    }

    /* CTA section mobile */
    .cta-section {
        padding: 80px 0;
    }

    .cta-content h2 {
        font-size: 36px;
        margin-bottom: 35px;
    }

    /* Map section mobile */
    .map-section {
        height: 350px;
    }

    /* Footer mobile */
    .footer {
        padding: 60px 0 30px;
    }

    .footer-logo {
        font-size: 24px;
    }

    .footer-content {
        padding-top: 40px;
    }

    /* =============================================
       HORIZONTAL OVERFLOW FIXES FOR MOBILE
       ============================================= */

    /* Safety net: prevent horizontal scroll on both html and body */
    html, body {
        overflow-x: hidden;
    }

    /* Hero ornaments: hide on mobile to prevent overflow.
       They are only 0.08 opacity decorative elements and extend
       beyond the viewport via left:-100px / right:-100px positioning.
       Even with .hero overflow:hidden, some mobile browsers (iOS Safari)
       fail to clip absolutely-positioned children of flex containers. */
    .hero-ornament {
        display: none;
    }

    /* Ensure hero section clips any overflow from its content */
    .hero {
        overflow: hidden;
        max-width: 100vw;
    }

    /* Prevent the page-transition overlay from triggering overflow */
    .page-transition {
        max-width: 100vw;
    }

    /* Ensure footer ornament (absolute positioned, 200px wide) cannot overflow */
    .footer-ornament {
        max-width: 100%;
    }
}