/* ===== Design tokens ===== */
:root {
    color-scheme: light;
    --bg: #fdf5f0;
    --surface: #fff9f6;
    --surface-strong: #ffffff;
    --text: #1c0f0b;
    --muted: #7c5c54;
    --accent: #b87272;
    --accent-strong: #8c4545;
    --accent-soft: rgba(184, 114, 114, .14);
    --blush: rgba(240, 196, 184, .42);
    --border: rgba(140, 69, 69, .12);
    --shadow-sm: 0 4px 14px rgba(90, 30, 25, .06);
    --shadow-md: 0 16px 40px rgba(90, 30, 25, .1);
    --shadow-lg: 0 24px 72px rgba(90, 30, 25, .14);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
    --container: min(1100px, calc(100vw - 2rem));
    --transition: .25s ease;
}

/* ===== Reset / base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 15% 0%, rgba(255, 220, 210, .45), transparent 36%),
        radial-gradient(circle at 85% 8%, rgba(240, 190, 175, .28), transparent 28%),
        radial-gradient(circle at 50% 100%, rgba(250, 220, 210, .2), transparent 40%),
        linear-gradient(180deg, #fdf5f0 0%, #f8ece5 50%, #f2e0d8 100%);
    background-attachment: fixed;
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5rem; font-family: 'Fraunces', Georgia, serif; letter-spacing: -.02em; }
p { margin: 0 0 1rem; }
ul { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--accent-soft); color: var(--text); }

.container {
    width: var(--container);
    margin: 0 auto;
}

.kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent-strong);
    margin-bottom: 14px;
}

.lead {
    font-size: clamp(16px, 1.5vw, 19px);
    color: var(--muted);
    max-width: 50ch;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-large { padding: 18px 32px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--accent-strong);
    color: #fff;
    box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
    background: #6f3636;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-ghost {
    background: rgba(255,255,255,.55);
    color: var(--text);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: #fff; border-color: var(--accent); color: var(--accent-strong); }

.btn-ghost-dark {
    background: transparent;
    color: var(--accent-strong);
    border: 1px solid var(--accent-soft);
    margin-top: 10px;
}
.btn-ghost-dark:hover { background: var(--accent-soft); }

/* ===== Header ===== */
.site-header {
    position: sticky;
    top: 0;
    background: rgba(253, 245, 240, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    z-index: 50;
}
.header-logo-row {
    display: flex;
    justify-content: center;
    padding: 16px 0 10px;
}
.header-nav-bar {
    border-top: 1px solid var(--border);
}
.header-nav-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 10px 0;
}
.logo {
    display: flex;
    align-items: center;
}
.logo-img {
    height: 130px;
    width: auto;
    border-radius: 18px;
    display: block;
    animation: logoEntrance .7s cubic-bezier(.22, 1, .36, 1) both;
    transition: transform .35s cubic-bezier(.22, 1, .36, 1), filter .35s ease;
}
.logo:hover .logo-img {
    transform: scale(1.07) translateY(-2px);
    filter: brightness(1.08) drop-shadow(0 8px 24px rgba(180, 130, 40, .45));
}

@keyframes logoEntrance {
    from {
        opacity: 0;
        transform: translateY(-14px) scale(.92);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.nav { display: flex; gap: 28px; }
.nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: var(--transition);
    position: relative;
}
.nav a:hover { color: var(--accent-strong); }

/* ===== Hero ===== */
.hero {
    padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}
.hero-copy { display: grid; gap: 1.4rem; }
.hero h1 {
    margin: 0;
    font-size: clamp(2.6rem, 5.4vw, 5rem);
    font-weight: 800;
    line-height: .96;
}
.hero h1 em {
    display: block;
    font-style: italic;
    font-weight: 500;
    color: var(--accent-strong);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-metrics {
    display: flex;
    gap: 1.8rem;
    padding-top: 1.4rem;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}
.metric strong {
    display: block;
    font-size: 1.4rem;
    font-family: 'Fraunces', serif;
    font-weight: 700;
    line-height: 1;
}
.metric span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.4;
}

.hero-visual {
    position: relative;
    height: clamp(420px, 60vh, 580px);
}
.hero-img {
    position: absolute;
    border-radius: var(--radius-xl);
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-lg);
}
.hero-img-main {
    top: 0; left: 0;
    width: 70%; height: 88%;
    background-image: url('https://images.unsplash.com/photo-1554519515-242161756769?auto=format&fit=crop&w=900&q=80');
}
.hero-img-accent {
    bottom: 0; right: 0;
    width: 52%; height: 56%;
    background-image: url('https://images.unsplash.com/photo-1560869713-7d0a29430803?auto=format&fit=crop&w=900&q=80');
    border: 6px solid #fff;
}
.hero-blob {
    position: absolute;
    top: -40px; right: -30px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--blush), transparent 70%);
    z-index: -1;
    filter: blur(20px);
}

/* ===== Section head ===== */
.section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}
.section-head h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 700;
    margin-bottom: 14px;
}
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* ===== Services ===== */
.services { padding: clamp(4rem, 7vw, 6rem) 0; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-soft);
}
.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.service-card p { color: var(--muted); margin-bottom: 14px; }
.service-note {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--accent-strong);
    background: var(--accent-soft);
    padding: 5px 12px;
    border-radius: 999px;
}

/* ===== Portfolio ===== */
.portfolio { padding: clamp(4rem, 7vw, 6rem) 0; }
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.portfolio-item {
    margin: 0;
    position: relative;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.portfolio-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.portfolio-item::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(28, 15, 11, .8) 100%);
}
.portfolio-item figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 22px 20px;
    color: #fff;
    z-index: 2;
}
.portfolio-item figcaption h3 { font-size: 1.1rem; margin-bottom: 4px; color: #fff; }
.portfolio-item figcaption p { font-size: 13px; opacity: .9; margin: 0; }
.p-1 { background-image: url('https://images.unsplash.com/photo-1605497788044-5a32c7078486?auto=format&fit=crop&w=700&q=80'); }
.p-2 { background-image: url('https://images.unsplash.com/photo-1492106087820-71f1a00d2b11?auto=format&fit=crop&w=700&q=80'); }
.p-3 { background-image: url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=700&q=80'); }
.p-4 { background-image: url('https://images.unsplash.com/photo-1487412947147-5cebf100ffc2?auto=format&fit=crop&w=700&q=80'); }

/* ===== About ===== */
.about { padding: clamp(4rem, 7vw, 6rem) 0; }
.about-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.about-visual {
    aspect-ratio: 4/5;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(180deg, transparent 60%, rgba(140, 69, 69, .25)),
        url('https://images.unsplash.com/photo-1522337360788-8b13dee7a37e?auto=format&fit=crop&w=900&q=80') center/cover;
    box-shadow: var(--shadow-lg);
}
.about-copy h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; margin-bottom: 14px; }
.about-copy > p { color: var(--muted); margin-bottom: 24px; font-size: 17px; }
.benefits { display: grid; gap: 12px; margin-bottom: 32px; }
.benefits li {
    padding-left: 32px;
    position: relative;
    color: var(--text);
    line-height: 1.5;
}
.benefits li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--accent-soft);
    border: 2px solid var(--accent);
}

/* ===== Testimonials ===== */
.testimonials { padding: clamp(4rem, 7vw, 6rem) 0; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.testimonial {
    margin: 0;
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.testimonial::before {
    content: '“';
    position: absolute;
    top: 8px; left: 18px;
    font-size: 60px;
    line-height: 1;
    font-family: 'Fraunces', serif;
    color: var(--accent-soft);
}
.testimonial p {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
    font-style: italic;
    color: var(--text);
}
.testimonial footer {
    color: var(--muted);
    font-size: 14px;
}
.testimonial footer strong { color: var(--text); font-weight: 700; }

/* ===== FAQ ===== */
.faq { padding: clamp(4rem, 7vw, 6rem) 0; }
.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}
.faq-list details {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    transition: var(--transition);
}
.faq-list details[open] { box-shadow: var(--shadow-sm); border-color: var(--accent-soft); }
.faq-list summary {
    cursor: pointer;
    font-weight: 600;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: '+';
    font-size: 22px;
    line-height: 1;
    color: var(--accent-strong);
    transition: var(--transition);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p {
    margin: 12px 0 0;
    color: var(--muted);
}

/* ===== Contact ===== */
.contact { padding: clamp(4rem, 7vw, 6rem) 0 clamp(5rem, 8vw, 7rem); }
.contact-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
    align-items: center;
    background:
        radial-gradient(circle at 0% 0%, rgba(184, 114, 114, .12), transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(240, 196, 184, .35), transparent 55%),
        linear-gradient(135deg, #fff9f6, #fdeee5);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: clamp(2rem, 4vw, 3.5rem);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}
.contact-copy h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 700; margin-bottom: 14px; }
.contact-copy > p { color: var(--muted); margin-bottom: 28px; max-width: 44ch; }

.contact-list { display: grid; gap: 12px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(255, 255, 255, .72);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}
.contact-item:hover {
    transform: translateY(-2px);
    background: #fff;
    border-color: rgba(140, 69, 69, .22);
    box-shadow: var(--shadow-sm);
}
.contact-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent-strong);
    transition: background var(--transition), color var(--transition);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item:hover .contact-icon {
    background: var(--accent-strong);
    color: #fff;
}
.contact-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--muted);
}
.contact-meta a, .contact-meta span:not(.contact-label) {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
}
.contact-meta a:hover { color: var(--accent-strong); }

.contact-cta {
    position: relative;
    background: #fff;
    padding: 36px 30px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    border: 1px solid var(--border);
}
.contact-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(46, 160, 96, .1);
    color: #1f7a47;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 16px;
}
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ea060;
    box-shadow: 0 0 0 0 rgba(46, 160, 96, .55);
    animation: pulse-dot 1.8s ease-out infinite;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(46, 160, 96, .55); }
    70% { box-shadow: 0 0 0 10px rgba(46, 160, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 160, 96, 0); }
}
.contact-cta h3 { font-size: 1.45rem; font-weight: 700; margin-bottom: 10px; }
.contact-cta > p { color: var(--muted); margin-bottom: 22px; font-size: 14px; }
.contact-cta .btn svg { flex: 0 0 auto; }
.contact-cta-note {
    margin: 14px 0 0;
    font-size: 12px;
    color: var(--muted);
    letter-spacing: .02em;
}

/* ===== Footer ===== */
.site-footer {
    background: linear-gradient(180deg, #221310 0%, #160b08 100%);
    color: rgba(255, 247, 243, .75);
    padding: 36px 0;
    font-size: 14px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}
.footer-inner p { margin: 0; }
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #fff;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 6px 18px rgba(184, 114, 114, .35);
}
.footer-name {
    color: #fff7f3;
    font-weight: 700;
    font-size: 15px;
}
.footer-sub { opacity: .55; font-style: italic; font-size: 12px; }
.footer-copy { opacity: .7; }
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 247, 243, .08);
    color: rgba(255, 247, 243, .9);
    border: 1px solid rgba(255, 247, 243, .12);
    transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}
.footer-social a:hover {
    background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}
.footer-social svg { width: 20px; height: 20px; }

/* ===== Reveal animation ===== */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .nav { display: none; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { height: 380px; order: -1; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .about-inner { grid-template-columns: 1fr; }
    .about-visual { aspect-ratio: 16/10; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .contact-inner { grid-template-columns: 1fr; padding: 1.75rem; }
}
@media (max-width: 540px) {
    .header-logo-row { padding: 12px 0 8px; }
    .logo-img { height: 96px; }
    .header-nav-inner { gap: 16px; flex-wrap: wrap; }
    .nav { gap: 16px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { width: 100%; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .contact-item { padding: 14px 16px; gap: 14px; }
    .contact-icon { width: 40px; height: 40px; }
    .contact-meta a, .contact-meta span:not(.contact-label) { font-size: 15px; }
    .contact-cta { padding: 28px 22px 24px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .footer-brand { flex-direction: column; gap: 8px; }
}
