:root {
    --ink: #2A2416;
    --gold: #C6A046;
    --gold-soft: #D4AF37;
    --gold-deep: #8A7018;
    --white: #FFFFFF;
    --paper: #FFFDF8;
    --ivory: #F7F1E4;
    --muted: #7A7264;
    --line: rgba(198, 160, 70, .35);
    --shadow: 0 16px 40px rgba(138, 112, 24, .08);
    --radius: 18px;
    --header-h: 84px;
    --font-serif: "Playfair Display", Georgia, serif;
    --font-sans: "Poppins", system-ui, sans-serif;
    --black: var(--ink);
    --charcoal: var(--ivory);
    --cream: var(--paper);
    --pink: var(--gold);
    --pink-light: #E8D5A3;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font-sans);
    background: var(--paper);
    color: var(--ink);
    line-height: 1.7;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-deep); text-decoration: none; transition: .25s ease; }
a:hover { color: var(--gold); }
h1, h2, h3, h4, .serif { font-family: var(--font-serif); letter-spacing: .01em; color: var(--ink); }
.skip-link { position: absolute; left: -999px; top: 8px; }
.skip-link:focus { left: 8px; z-index: 99; background: var(--gold); color: var(--white); padding: .5rem 1rem; }
.container { max-width: 1200px; }

.btn {
    border-radius: 999px;
    padding: .85rem 1.6rem;
    font-weight: 500;
    letter-spacing: .04em;
    border: 1px solid transparent;
}
.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--white) !important;
    border-color: var(--gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(198,160,70,.28); color: var(--white) !important; }
.btn-outline-gold {
    background: transparent;
    color: var(--gold-deep) !important;
    border-color: var(--gold);
}
.btn-outline-gold:hover { background: rgba(198,160,70,.12); color: var(--ink) !important; }
.btn-pink {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--white) !important;
}

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,253,248,.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; position: relative; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--ink) !important; }
.brand-mark, .footer-brand img { width: 42px; height: 42px; object-fit: contain; }
.brand-text, .footer-brand span {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--gold-deep);
    line-height: 1.2;
    max-width: 180px;
}
.nav-links { list-style: none; display: flex; align-items: center; gap: .35rem; margin: 0; padding: 0; }
.nav-links > li > a {
    color: var(--ink);
    font-size: .82rem;
    padding: .45rem .9rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.nav-links a.active, .nav-links a:hover { color: var(--gold-deep); }
.nav-links > li > a.nav-highlight {
    background: linear-gradient(135deg, var(--gold), var(--gold-soft));
    color: var(--white) !important;
    border-radius: 999px;
    padding: .42rem 1.15rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(198,160,70,.22);
}
.nav-links > li > a.nav-highlight:hover,
.nav-links > li > a.nav-highlight.active {
    background: linear-gradient(135deg, var(--gold-soft), #E5C76B);
    color: var(--white) !important;
}
.nav-panel { display: flex; align-items: center; gap: 1.2rem; }
.nav-toggle {
    display: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line);
    border-radius: 10px; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: var(--gold); }
.nav-cta { white-space: nowrap; }

.hero {
    position: relative;
    padding: 2rem 0 2.5rem;
    background:
        radial-gradient(circle at 88% 12%, rgba(198,160,70,.18), transparent 30%),
        linear-gradient(180deg, #FFFFFF 0%, #F7F1E4 100%);
    overflow: hidden;
}
.hero::after {
    content: "";
    position: absolute; inset: auto 8% 0 8%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero .hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    align-items: center;
    height: 100%;
}
.kicker {
    color: var(--gold-deep);
    text-transform: uppercase;
    letter-spacing: .28em;
    font-size: .74rem;
    font-weight: 500;
    margin-bottom: .9rem;
}
.hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 1.2rem;
}
.gold-text { color: var(--gold-deep); }
.hero-lead {
    color: var(--muted);
    font-size: 1.05rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}
.hero-actions {
    display: flex;
    gap: .8rem;
    flex-wrap: wrap;
    margin-top: 1.6rem;
    justify-content: center;
}
.availability {
    display: inline-flex; align-items: center; gap: .55rem;
    border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem;
    color: var(--gold-deep); font-size: .82rem; margin-bottom: 1.2rem;
    background: var(--white);
}
.availability i { color: #5BA86A; font-size: .7rem; }
.profile-frame { width: min(100%, 300px); margin-left: auto; margin-right: 0; position: relative; }
.profile-frame::before {
    content: "";
    position: absolute; inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(198,160,70,.28), transparent 62%);
    filter: blur(8px); z-index: 0;
}
.profile-ring {
    position: relative; z-index: 1;
    border-radius: 50%;
    padding: 8px;
    background: linear-gradient(145deg, var(--gold), var(--gold-soft), #E8D5A3);
    box-shadow: var(--shadow);
}
.profile-ring img {
    width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center top; border-radius: 50%;
    background: var(--ivory); border: 8px solid var(--white);
}
.ornament {
    position: absolute; width: 90px; height: 90px; border: 1px solid var(--line); border-radius: 50%;
    pointer-events: none;
}
.ornament.one { top: 8%; left: -20px; }
.ornament.two { bottom: 10%; right: 8%; width: 50px; height: 50px; }

.section { padding: 5rem 0; }
.section-dark { background: var(--ivory); }
.section-black { background: var(--paper); }
.section-cream { background: linear-gradient(180deg, #fffdf8, #f3e6c4); color: var(--ink); }
.section-cream .muted, .section-cream p { color: var(--muted); }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); margin: .3rem 0 0.8rem; }
.underline {
    width: 72px; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-soft));
    margin-bottom: 1rem;
}
.muted { color: var(--muted); }

.lux-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.6rem;
    height: 100%;
    transition: .28s ease;
    box-shadow: var(--shadow);
}
.lux-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 18px 40px rgba(198,160,70,.14);
}
.icon-orb {
    width: 52px; height: 52px; border-radius: 14px;
    display: grid; place-items: center;
    background: rgba(198,160,70,.1);
    color: var(--gold-deep); margin-bottom: 1rem;
    border: 1px solid var(--line);
}
.lux-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.card-cover {
    margin: -1.6rem -1.6rem 1.15rem;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--radius) var(--radius) 0 0;
    background: var(--ivory);
}
.card-cover img { width: 100%; height: 100%; object-fit: cover; }

.stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.stat-card {
    text-align: center; padding: 1.5rem .8rem;
    border: 1px solid var(--line); border-radius: 16px;
    background: var(--white);
}
.stat-card strong {
    display: block; font-family: var(--font-serif);
    font-size: 2rem; color: var(--gold-deep); line-height: 1.1;
}
.stat-card span { font-size: .78rem; color: var(--muted); letter-spacing: .04em; }

.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.process-item {
    border: 1px solid var(--line); border-radius: 16px; padding: 1.3rem;
    background: var(--white); position: relative;
}
.process-item em {
    font-style: normal; color: var(--gold); font-family: var(--font-serif); font-size: 1.4rem;
}
.flow-row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; justify-content: center; }
.flow-pill {
    border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1rem;
    background: var(--white); color: var(--ink);
}
.flow-arrow { color: var(--gold); }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter-btn {
    background: var(--white); color: var(--muted);
    border: 1px solid var(--line); border-radius: 999px;
    padding: .4rem .9rem; font-size: .78rem; letter-spacing: .08em;
    text-transform: uppercase;
}
.filter-btn.active, .filter-btn:hover { color: var(--white); background: var(--gold); border-color: var(--gold); }
.project-card { overflow: hidden; padding: 0; }
.project-card .thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; }
.project-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: .4s ease; }
.project-card:hover .thumb img { transform: scale(1.06); }
.project-card .thumb::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(255,253,248,.2) 100%);
}
.project-body { padding: 1.3rem 1.4rem 1.6rem; }
.portfolio-spotlight {
    position: relative;
    background:
        radial-gradient(circle at 12% 20%, rgba(198,160,70,.12), transparent 34%),
        var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.page-link-row { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.page-link-chip {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .7rem 1.15rem;
    color: var(--ink) !important;
    background: var(--white);
    font-size: .82rem;
    letter-spacing: .04em;
}
.page-link-chip:hover {
    border-color: var(--gold);
    color: var(--gold-deep) !important;
    background: rgba(198,160,70,.08);
}
.page-link-chip i { color: var(--gold); }
.chip {
    display: inline-block; font-size: .72rem; letter-spacing: .08em;
    text-transform: uppercase; color: var(--gold-deep);
    border: 1px solid var(--line); border-radius: 999px; padding: .15rem .55rem;
    background: rgba(198,160,70,.08);
}
.client-logo {
    width: 72px; height: 72px; object-fit: cover; border-radius: 50%;
    border: 2px solid var(--gold); background: var(--white);
}
.page-hero-visual {
    margin-top: 1.8rem;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    max-height: 280px;
    box-shadow: var(--shadow);
}
.page-hero-visual img { width: 100%; height: 280px; object-fit: cover; }

.skill-pill {
    display: inline-flex; align-items: center; gap: .45rem;
    border: 1px solid var(--line); border-radius: 999px;
    padding: .45rem .85rem; margin: 0 .4rem .5rem 0;
    background: var(--white);
}
.skill-bar { height: 6px; background: #efe6d2; border-radius: 99px; overflow: hidden; margin-top: .4rem; }
.skill-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }

.timeline { position: relative; padding-left: 1.5rem; }
.timeline::before {
    content: ""; position: absolute; left: 7px; top: 0; bottom: 0; width: 1px; background: var(--line);
}
.timeline-item { position: relative; margin-bottom: 1.8rem; padding-left: 1.2rem; }
.timeline-item::before {
    content: ""; position: absolute; left: -1.32rem; top: .45rem;
    width: 11px; height: 11px; border-radius: 50%; background: var(--gold);
}

.cta-band {
    background:
        radial-gradient(circle at 20% 0%, rgba(198,160,70,.16), transparent 40%),
        linear-gradient(135deg, #FFFFFF, #F3E6C4);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    text-align: center; padding: 5rem 0;
}
.cta-band h2 { font-size: clamp(1.8rem, 3vw, 3rem); max-width: 760px; margin: 0 auto 1rem; }

.form-control, .form-select {
    background: var(--white); border: 1px solid var(--line); color: var(--ink);
    border-radius: 12px; padding: .85rem 1rem;
}
.form-control:focus, .form-select:focus {
    background: var(--white); color: var(--ink);
    border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(198,160,70,.15);
}
.form-label { color: var(--gold-deep); font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; }
.alert-lux {
    border: 1px solid var(--line); background: var(--ivory); color: var(--ink); border-radius: 12px;
}

.arch-flow { display: flex; flex-wrap: wrap; gap: 1rem; align-items: stretch; justify-content: center; }
.arch-flow .arch-box { flex: 1 1 180px; max-width: 240px; }
.arch-flow .arch-arrow { display: flex; align-items: center; color: var(--gold); font-size: 1.4rem; }
.arch-box {
    text-align: center; padding: 1.4rem .8rem; border-radius: 16px;
    border: 1px solid var(--line); background: var(--white);
}
.arch-box strong { display: block; color: var(--gold-deep); margin-top: .4rem; }
.arch-arrow { text-align: center; color: var(--gold); font-size: 1.4rem; }

.tech-badge {
    display: inline-block; margin: .25rem; padding: .45rem .9rem;
    border-radius: 999px; border: 1px solid var(--line);
    color: var(--ink); background: rgba(198,160,70,.08);
}

.page-hero {
    padding: 4.5rem 0 3rem;
    background:
        radial-gradient(circle at 90% 10%, rgba(198,160,70,.16), transparent 30%),
        var(--paper);
    border-bottom: 1px solid var(--line);
}
.breadcrumb-lux { color: var(--muted); font-size: .85rem; }
.breadcrumb-lux a { color: var(--gold-deep); }

.site-footer { background: #FFF9EE; padding: 4rem 0 1.4rem; border-top: 1px solid var(--line); }
.footer-goldline { height: 2px; background: linear-gradient(90deg, transparent, var(--gold), var(--gold-soft), transparent); }
.footer-title { font-size: 1rem; color: var(--gold-deep); margin-bottom: 1rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links a, .footer-contact li { color: var(--muted); display: block; padding: .22rem 0; }
.footer-links a:hover { color: var(--gold-deep); }
.footer-links a.footer-highlight { color: var(--gold-deep); font-weight: 600; }
.footer-contact i { color: var(--gold); width: 18px; margin-right: .4rem; }
.footer-brand { margin-bottom: 1rem; }
.footer-about { color: var(--muted); }
.social-row { display: flex; gap: .6rem; margin-top: 1rem; }
.social-row a {
    width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
    display: grid; place-items: center; color: var(--gold-deep); background: var(--white);
}
.social-row a:hover { background: var(--gold); color: var(--white); }
.footer-bottom {
    display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
    color: var(--muted); font-size: .88rem;
}

.empty-note {
    border: 1px dashed var(--line); border-radius: 16px; padding: 2rem; text-align: center; color: var(--muted);
    background: var(--white);
}
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.meta-table { width: 100%; }
.meta-table th { color: var(--gold-deep); font-weight: 500; width: 160px; padding: .4rem 0; }
.stars { color: var(--gold); }
.reveal { opacity: 0; transform: translateY(16px); animation: fadeUp .7s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (max-width: 1199px) {
    .nav-toggle { display: flex; }
    .nav-panel {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: #FFFDF8; border-bottom: 1px solid var(--line);
        padding: 1rem; flex-direction: column; align-items: stretch;
    }
    .nav-panel.open { display: flex; }
    .nav-links { flex-direction: column; align-items: stretch; }
    .nav-links > li > a.nav-highlight { text-align: center; }
    .nav-cta { text-align: center; }
}
@media (max-width: 991px) {
    .stat-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
    .profile-frame { margin: 1.2rem auto 0; width: min(100%, 260px); }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 575px) {
    .stat-grid, .process-grid, .gallery-grid { grid-template-columns: 1fr; }
    .hero { padding: 1.25rem 0 1.75rem; }
    .arch-flow .arch-arrow { transform: rotate(90deg); width: 100%; justify-content: center; }
}
