:root {
    --bg: #fbf4e9;
    --bg-soft: #e9e4f5;
    --card: #fffdf9;
    --text: #241b31;
    --muted: #675d70;
    --line: rgba(36, 27, 49, 0.12);
    --primary: #c84f72;
    --primary-dark: #713f85;
    --accent: #f2bc62;
    --blue: #6688c7;
    --shadow: 0 22px 50px rgba(74, 47, 87, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Inter", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 12%, rgba(242, 188, 98, 0.18), transparent 22rem),
        var(--bg);
}

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

.container {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 244, 233, 0.88);
    backdrop-filter: blur(12px);
    border-bottom: 1px dashed var(--line);
}

.nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 1.5rem;
}

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

.brand-mark {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 42% 58% 55% 45%;
    background: linear-gradient(135deg, var(--primary), var(--blue));
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 5px 7px 0 rgba(36, 27, 49, 0.12);
    transform: rotate(-7deg);
}

.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.25rem; }
.brand small { color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; }

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--muted);
    font-size: 0.94rem;
    font-weight: 600;
}

.main-nav a { position: relative; }
.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}
.main-nav a:hover::after { width: 100%; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.5rem;
    border: 1px solid transparent;
    border-radius: 12px 26px 10px 24px;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px) rotate(-1deg); }
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 14px 24px rgba(113, 63, 133, 0.2);
}
.btn-secondary { border-color: rgba(36, 27, 49, 0.2); color: var(--text); }

.hero {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 4.5rem;
    background:
        radial-gradient(circle at 85% 12%, rgba(102, 136, 199, 0.23), transparent 20rem),
        linear-gradient(135deg, #fbf4e9 0%, #f6e9ec 100%);
}
.hero::after {
    content: "";
    position: absolute;
    right: -5rem;
    bottom: -7rem;
    width: 16rem;
    height: 16rem;
    border: 2px dashed rgba(200, 79, 114, 0.35);
    border-radius: 50%;
    transform: rotate(18deg);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.85fr;
    align-items: center;
    gap: 4rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.55rem 0.8rem;
    border-radius: 12px 26px 10px 24px;
    background: rgba(200, 79, 114, 0.1);
    color: var(--primary-dark);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    font-weight: 700;
    text-transform: uppercase;
}
.eyebrow.dark { background: rgba(36, 27, 49, 0.06); color: var(--text); }

.hero-copy h1,
.section-title h2,
.project-card h3,
.about-copy h2,
.footer-box h2 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    letter-spacing: -0.05em;
}
.hero-copy h1 {
    max-width: 700px;
    margin: 0;
    font-size: clamp(3.3rem, 5vw, 6.4rem);
    line-height: 0.86;
}
.hero-copy p {
    max-width: 580px;
    margin: 1.4rem 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.8;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 0;
    margin: 2rem 0 0;
    color: var(--muted);
    font-weight: 600;
    list-style: none;
}
.hero-features li::before { content: "✦"; margin-right: 0.45rem; color: var(--primary); }

.hero-image-panel {
    position: relative;
    display: flex;
    justify-content: center;
    min-height: 560px;
    transform: rotate(2deg);
}
.image-card {
    position: relative;
    width: min(100%, 520px);
    min-height: 520px;
    border-radius: 46% 54% 42% 58% / 38% 44% 56% 62%;
    background:
        linear-gradient(180deg, rgba(26, 19, 15, 0.08), rgba(26, 19, 15, 0.38)),
        url("https://images.unsplash.com/photo-1521572267360-ee0c2909d518?auto=format&fit=crop&w=1200&q=80") 55% center/cover no-repeat;
    box-shadow: var(--shadow);
}
.badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    padding: 0.6rem 0.9rem;
    border: 1px solid rgba(36, 27, 49, 0.08);
    border-radius: 10px 20px 12px 22px;
    background: rgba(255, 255, 255, 0.78);
    font-size: 0.75rem;
    font-weight: 700;
}
.mini-card {
    position: absolute;
    bottom: 1.2rem;
    left: -0.5rem;
    min-width: 170px;
    padding: 1.2rem 1.3rem;
    border: 1px solid rgba(36, 27, 49, 0.08);
    border-radius: 18px 28px 20px 30px;
    background: rgba(255, 253, 249, 0.92);
    box-shadow: var(--shadow);
}
.mini-card span, .mini-card small { display: block; }
.mini-card span { font-size: 2rem; font-weight: 800; }
.mini-card small { margin-top: 0.4rem; color: var(--muted); }

.services, .portfolio, .about { padding: 5rem 0; }
.services { background: var(--bg-soft); }
.section-title { margin-bottom: 2rem; }
.section-title h2 { max-width: 650px; margin: 0; font-size: clamp(2.8rem, 4vw, 4.4rem); line-height: 0.9; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.service-card {
    padding: 2rem 1.5rem;
    border: 1px solid var(--line);
    border-radius: 30px 12px 26px 18px;
    background: rgba(255, 253, 249, 0.7);
    box-shadow: 0 18px 28px rgba(45, 29, 18, 0.04);
}
.service-card:nth-child(2) { transform: translateY(1.5rem) rotate(1deg); }
.service-card:nth-child(3) { transform: rotate(-1deg); }
.icon {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    margin-bottom: 1rem;
    border-radius: 45% 55% 32% 68%;
    background: linear-gradient(135deg, rgba(200, 79, 114, 0.18), rgba(102, 136, 199, 0.18));
    color: var(--primary-dark);
    font-size: 1.7rem;
}
.service-card h3 { margin: 0 0 0.8rem; font-size: 1.45rem; }
.service-card p, .about-copy p { margin: 0; color: var(--muted); line-height: 1.7; }

.portfolio-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.2rem; }
.project-card {
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 260px;
    padding: 1.4rem;
    border-radius: 30px 14px 24px 18px;
    color: white;
    box-shadow: var(--shadow);
    background:
        linear-gradient(180deg, rgba(29, 20, 15, 0.08), rgba(29, 20, 15, 0.48)),
        url("https://images.unsplash.com/photo-1521572267360-ee0c2909d518?auto=format&fit=crop&w=1000&q=80") center/cover no-repeat;
}
.project-card:nth-child(2) { transform: translateY(2rem); }
.project-card:nth-child(3) { transform: translateY(-1rem) rotate(1deg); }
.project-card.tall {
    min-height: 420px;
    background:
        linear-gradient(180deg, rgba(29, 20, 15, 0.08), rgba(29, 20, 15, 0.48)),
        url("https://images.unsplash.com/photo-1524504388940-b1c1722653e1?auto=format&fit=crop&w=1000&q=80") center/cover no-repeat;
}
.tag {
    width: max-content;
    margin-bottom: 0.8rem;
    padding: 0.4rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 9px 18px 8px 16px;
    background: rgba(255, 255, 255, 0.18);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.project-card h3 { margin: 0; font-size: clamp(2rem, 2.6vw, 3rem); line-height: 0.9; }

.about { background: #f5e7ee; }
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; align-items: center; gap: 3rem; }
.about-image {
    min-height: 420px;
    border-radius: 48% 22% 38% 18% / 28% 38% 20% 42%;
    background:
        linear-gradient(180deg, rgba(45, 29, 18, 0.1), rgba(45, 29, 18, 0.32)),
        url("https://images.unsplash.com/photo-1487412720507-e7ab37603c6f?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
    box-shadow: var(--shadow);
    transform: rotate(-3deg);
}
.about-copy h2 { margin: 0; font-size: clamp(2.8rem, 4vw, 4.5rem); line-height: 0.88; }
.about-copy p + p { margin-top: 1rem; }

.site-footer { padding: 2rem 0 1.2rem; background: #21182e; color: white; }
.footer-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 2rem 0 1.5rem;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
}
.footer-box h2 { max-width: 700px; margin: 0; font-size: clamp(2.8rem, 4vw, 4.7rem); line-height: 0.88; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 1rem; color: rgba(255, 255, 255, 0.7); font-size: 0.94rem; }
.site-footer .eyebrow { background: rgba(242, 188, 98, 0.14); color: var(--accent); }

@media (max-width: 980px) {
    .main-nav { gap: 1rem; font-size: 0.82rem; }
    .hero-grid, .about-grid, .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
    .hero-image-panel { max-width: 600px; margin: 1rem auto 0; }
    .service-card:nth-child(2), .service-card:nth-child(3), .project-card:nth-child(2), .project-card:nth-child(3) { transform: none; }
}

@media (max-width: 760px) {
    .nav-bar { flex-wrap: wrap; justify-content: center; padding: 1rem 0; }
    .main-nav { flex-wrap: wrap; justify-content: center; }
    .nav-bar > .btn { display: none; }
    .hero { padding-top: 4rem; }
    .hero-copy h1 { font-size: 3.5rem; }
    .hero-image-panel { min-height: 390px; }
    .image-card { min-height: 370px; }
    .hero-actions, .footer-box, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .services, .portfolio, .about { padding-top: 3.5rem; padding-bottom: 3.5rem; }
}
