:root {
    --bg: #f7f1ea;
    --paper: #fffaf5;
    --ink: #171412;
    --muted: #776b61;
    --line: rgba(23, 20, 18, 0.12);
    --gold: #b08a57;
    --rose: #8f425a;
    --green: #5f765e;
    --shadow: 0 24px 70px rgba(23, 20, 18, 0.12);
    --radius: 30px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", system-ui, sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(176,138,87,0.2), transparent 30%),
        radial-gradient(circle at 84% 0%, rgba(143,66,90,0.13), transparent 26%),
        linear-gradient(135deg, #fbf8f2 0%, var(--bg) 48%, #efe3d8 100%);
    line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--line);
    background: rgba(247, 241, 234, 0.86);
    backdrop-filter: blur(18px);
}
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; flex-direction: column; }
.brand strong { font-family: "Cormorant Garamond", serif; font-size: clamp(30px, 3vw, 44px); line-height: .9; }
.brand span { margin-top: 8px; color: var(--muted); text-transform: uppercase; letter-spacing: .18em; font-size: 11px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 800; }
.nav-links a { position: relative; padding: 11px 0; color: #332c27; }
.nav-links a::after { content: ""; position: absolute; left: 0; bottom: 4px; width: 0; height: 1px; background: var(--gold); transition: width .22s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.admin-link { border: 1px solid var(--line); padding: 10px 16px !important; border-radius: 999px; background: rgba(255,255,255,.45); }
.admin-link::after { display: none; }
.menu-button { display: none; border: 1px solid var(--line); background: rgba(255,255,255,.55); border-radius: 999px; width: 46px; height: 46px; cursor: pointer; }

.hero { padding: 88px 0 60px; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(34px, 6vw, 82px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--rose); font-size: 12px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
h1, h2, h3 { margin: 0; font-family: "Cormorant Garamond", serif; letter-spacing: -.025em; line-height: .98; }
h1 { font-size: clamp(58px, 8.6vw, 126px); }
h2 { font-size: clamp(42px, 6vw, 82px); }
h3 { font-size: clamp(27px, 3vw, 40px); }
.lead { max-width: 670px; color: var(--muted); font-size: clamp(17px, 1.55vw, 21px); margin: 26px 0 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 23px; border-radius: 999px; background: var(--ink); color: white; border: 1px solid var(--ink); font-weight: 900; box-shadow: 0 16px 34px rgba(23,20,18,.15); transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 44px rgba(23,20,18,.2); }
.btn.secondary { background: rgba(255,250,245,.72); color: var(--ink); border-color: var(--line); box-shadow: none; }
.hero-visual { position: relative; min-height: 680px; border-radius: 40px; overflow: hidden; background: linear-gradient(135deg, #211c18, #8f425a); box-shadow: var(--shadow); }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 35% 22%, rgba(255,255,255,.35), transparent 22%), radial-gradient(circle at 70% 70%, rgba(176,138,87,.48), transparent 35%), linear-gradient(160deg, rgba(255,255,255,.08), rgba(0,0,0,.45)); }
.hero-visual-inner { position: absolute; inset: 26px; border: 1px solid rgba(255,255,255,.23); border-radius: 30px; padding: 28px; display: flex; flex-direction: column; justify-content: end; color: white; }
.hero-visual-inner strong { font-family: "Cormorant Garamond", serif; font-size: clamp(34px, 4vw, 58px); line-height: 1; max-width: 420px; }
.hero-visual-inner span { color: rgba(255,255,255,.75); margin-top: 12px; max-width: 420px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 42px; }
.stat { border: 1px solid var(--line); background: rgba(255,250,245,.55); border-radius: 23px; padding: 18px; }
.stat strong { display: block; font-family: "Cormorant Garamond", serif; font-size: 34px; line-height: 1; }
.stat span { color: var(--muted); font-size: 13px; display: block; margin-top: 7px; }

section { padding: 74px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 32px; }
.section-head p { max-width: 560px; margin: 0; color: var(--muted); }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.category-card { min-height: 430px; border-radius: var(--radius); overflow: hidden; position: relative; background: #1d1916; box-shadow: 0 18px 55px rgba(23,20,18,.11); }
.category-card::before { content: ""; position: absolute; inset: 0; background: var(--card-gradient, linear-gradient(135deg, #201b18, #b08a57)); transition: transform .55s ease; }
.category-card:hover::before { transform: scale(1.06); }
.category-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.72)); }
.category-content { position: absolute; left: 23px; right: 23px; bottom: 23px; z-index: 2; color: white; }
.category-content small { font-size: 11px; font-weight: 900; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.74); }
.category-content h3 { margin: 9px 0 12px; }
.category-content p { color: rgba(255,255,255,.78); margin: 0; }

.panel { border: 1px solid var(--line); background: rgba(255,250,245,.64); border-radius: 36px; padding: clamp(24px, 4vw, 50px); box-shadow: 0 16px 50px rgba(23,20,18,.07); }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.work-card { border: 1px solid rgba(23,20,18,.1); background: rgba(255,250,245,.72); border-radius: 28px; overflow: hidden; box-shadow: 0 12px 34px rgba(23,20,18,.08); transition: transform .2s ease, box-shadow .2s ease; }
.work-card:hover { transform: translateY(-3px); box-shadow: 0 20px 50px rgba(23,20,18,.13); }
.work-image { display: block; height: 330px; background: #e4d8cd; }
.work-image img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, rgba(176,138,87,.38), rgba(143,66,90,.26)); color: rgba(23,20,18,.72); font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.work-body { padding: 22px; }
.work-kicker { color: var(--rose); font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 8px; }
.work-body h3 { font-size: 32px; margin-bottom: 10px; }
.work-body p { color: var(--muted); margin: 0 0 13px; }
.work-body .subtitle { color: #3b322d; font-weight: 800; }
.price { display: inline-flex; margin-top: 4px; color: var(--ink); }

.page-hero { padding: 72px 0 34px; }
.page-hero .lead { margin-bottom: 0; }
.detail-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 42px; align-items: start; }
.detail-image { min-height: 620px; border-radius: 36px; overflow: hidden; background: #e4d8cd; box-shadow: var(--shadow); }
.detail-image img { width: 100%; height: 620px; object-fit: cover; }
.detail-content { position: sticky; top: 112px; }
.detail-content .price { font-size: 22px; margin: 12px 0 20px; }
.text-content p { color: var(--muted); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 36px; align-items: stretch; }
.about-portrait { border-radius: 36px; min-height: 600px; background: linear-gradient(135deg, rgba(176,138,87,.35), rgba(143,66,90,.25)); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.about-portrait::after { content: ""; position: absolute; inset: 26px; border-radius: 28px; border: 1px solid rgba(255,255,255,.42); }
.contact-box { display: grid; gap: 12px; margin-top: 26px; }
.contact-box a { padding: 16px 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.42); display: flex; justify-content: space-between; gap: 14px; font-weight: 800; }
.empty { padding: 34px; border: 1px dashed var(--line); border-radius: 24px; color: var(--muted); background: rgba(255,255,255,.36); }
.footer { border-top: 1px solid var(--line); padding: 30px 0; color: var(--muted); font-size: 13px; }
.footer-grid { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer strong { display: block; color: var(--ink); font-family: "Cormorant Garamond", serif; font-size: 26px; line-height: 1; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { font-weight: 800; color: var(--ink); }

@media (max-width: 980px) {
    .hero-grid, .about-grid, .detail-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 520px; }
    .category-grid, .work-grid { grid-template-columns: 1fr 1fr; }
    .detail-content { position: static; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 26px, 1180px); }
    .nav { min-height: 74px; }
    .brand strong { font-size: 30px; }
    .brand span { font-size: 9px; max-width: 210px; }
    .menu-button { display: inline-grid; place-items: center; }
    .nav-links { display: none; position: absolute; top: 80px; left: 13px; right: 13px; flex-direction: column; align-items: stretch; padding: 18px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,250,245,.98); box-shadow: var(--shadow); }
    .nav-links.open { display: flex; }
    .hero { padding-top: 46px; }
    h1 { font-size: clamp(54px, 18vw, 84px); }
    .stats, .category-grid, .work-grid { grid-template-columns: 1fr; }
    .section-head { align-items: start; flex-direction: column; }
    section { padding: 52px 0; }
    .hero-visual, .about-portrait { min-height: 420px; }
    .detail-image, .detail-image img { min-height: 430px; height: 430px; }
}
