/* ====================================================================
   247 Pixels & Code — site styles
   Single sheet, mobile-first. Designed for clarity over cleverness.
   ==================================================================== */

:root {
    --bg:        #fafaf7;
    --bg-warm:   #f4ecd8;
    --panel:    #ffffff;
    --text:     #1a1a1a;
    --muted:    #6b6b6b;
    --border:   #e8e5dd;
    --gold:     #e8a445;
    --gold-dk:  #b88128;
    --coral:    #e84a3a;
    --coral-dk: #c93826;
    --ink:      #1a1a1a;
    --shadow-sm: 0 2px 12px rgba(26,26,26,0.06);
    --shadow-md: 0 8px 30px rgba(26,26,26,0.10);
    --shadow-lg: 0 18px 60px rgba(26,26,26,0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    min-width: 380px;   /* horizontal scroll below this width rather than broken layout */
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, .brand-mark, .brand-name {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.15;
    margin: 0 0 12px;
}
h1 { font-size: clamp(34px, 5vw, 56px); }
h2 { font-size: clamp(26px, 3.6vw, 40px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }
p  { margin: 0 0 12px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 11px;
    color: var(--gold-dk);
    font-weight: 600;
    margin: 0 0 10px;
}
.lede { font-size: 18px; color: var(--muted); margin-bottom: 18px; }
.sub  { color: var(--muted); max-width: 640px; margin: 0 auto 8px; }

/* ====================== BUTTONS ====================== */
.btn {
    display: inline-block;
    padding: 12px 22px;
    border: 1.5px solid var(--ink);
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background .15s ease, color .15s ease;
    font-family: inherit;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-primary { background: var(--coral); border-color: var(--coral); color: white; }
.btn-primary:hover { background: var(--coral-dk); border-color: var(--coral-dk); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ====================== NAV ====================== */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250,250,247,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav-row {
    display: flex; align-items: center; gap: 22px;
    height: 64px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-logo { height: 32px; width: auto; display: block; }
.brand-name { font-size: 19px; line-height: 1; }
/* Footer is on dark BG — the SVG is single-fill gold so it works
   on both light + dark surfaces without inversion. */
.brand-logo-dark { height: 30px; }
.site-nav nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.site-nav nav a {
    font-size: 14px; font-weight: 500;
    color: var(--text);
    padding: 6px 4px;
    transition: color .12s ease;
}
.site-nav nav a:hover { color: var(--gold-dk); }
.site-nav nav a.nav-cta {
    padding: 8px 16px;
    background: var(--ink);
    color: white;
    border-radius: 999px;
}
.site-nav nav a.nav-cta:hover { background: var(--coral); }

.nav-toggle {
    display: none;
    margin-left: auto;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 22px;
    cursor: pointer;
    padding: 6px 10px;
}

/* ====================== HERO ====================== */
.hero { padding: 64px 0 56px; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 36px;
    align-items: center;
}
.hero-copy h1 { margin-bottom: 18px; }
.hero-copy .lede { font-size: 19px; max-width: 480px; }
.hero-cta { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero-hint { margin-top: 18px; color: var(--muted); font-size: 14px; }
.hero-art {
    /* No frame — let the image's white background multiply into the
       page's cream so the edges dissolve invisibly. */
}
.hero-art img {
    width: 100%;
    display: block;
    mix-blend-mode: multiply;
}
/* ────── Silhouette hero — full-bleed banner with overlay text ──────
   The 3:1 city/specialty silhouette displays at its natural aspect
   ratio as a full-width banner. Text overlays the left half with a
   gradient fade so the gold landmarks on the right read at full
   strength while the headline stays legible on the dark side. */
.hero-silhouette {
    position: relative;
    padding: 0;
    overflow: hidden;
    background: #0f0c08;
    min-height: clamp(380px, 50vh, 680px);
}
.hero-silhouette .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    margin: 0;
    z-index: 0;
}
.hero-silhouette::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg,
        rgba(15,12,8,0.94) 0%,
        rgba(15,12,8,0.78) 25%,
        rgba(15,12,8,0.40) 55%,
        rgba(15,12,8,0.10) 80%,
        transparent 100%);
    pointer-events: none;
}
.hero-silhouette .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: clamp(380px, 50vh, 680px);
}
.hero-silhouette .hero-copy {
    max-width: 580px;
    padding: 40px 24px;
    color: #f4ecd4;
}
.hero-silhouette .hero-copy h1 {
    color: #f4ecd4;
    font-size: clamp(22px, 2.8vw, 36px);
    line-height: 1.15;
    margin-bottom: 12px;
}
.hero-silhouette .hero-copy .lede {
    color: #d4c7a8;
    font-size: clamp(14px, 1.2vw, 16px);
    max-width: 460px;
    margin-bottom: 14px;
}
.hero-silhouette .hero-copy .kicker { color: #e8a445; margin-bottom: 8px; }
.hero-silhouette .hero-copy .hero-cta { margin-top: 16px; }
.hero-silhouette .hero-copy .hero-hint {
    color: #d4c7a8;
    margin-top: 14px;
    font-size: 13px;
}
.hero-silhouette .hero-copy .hero-hint strong { color: #f4ecd4; }
.hero-silhouette .btn-ghost { color: #f4ecd4; border-color: rgba(244,236,212,0.4); background: transparent; }
.hero-silhouette .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Same treatment for the about-desk illustration so the two painterly
   shots feel like one visual language. */
.about-art img { mix-blend-mode: multiply; box-shadow: none; border-radius: 0; }

/* ====================== SECTIONS COMMON ====================== */
section { padding: 72px 0; }
.section-head { text-align: center; margin: 0 auto 44px; }
.section-head h2 { margin-bottom: 12px; }

/* ====================== SERVICES ====================== */
.services { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.svc {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 28px 22px;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.svc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.svc img { width: 100px; height: 100px; object-fit: contain; margin: 0 auto 14px; }
/* City silhouette cards — wide banner icon. Luminosity blend desaturates
   the gold to a tasteful charcoal silhouette over the white card; hovering
   the card removes the blend so the full warm gold colour comes through. */
.svc.svc-silhouette img {
    width: 100%;
    height: 84px;
    object-fit: cover;
    object-position: right center;
    margin: 0 0 14px;
    mix-blend-mode: luminosity;
    transition: opacity 0.2s ease;
}
.svc.svc-silhouette:hover img { mix-blend-mode: normal; }
.svc h3 { margin-bottom: 10px; }
.svc p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.svc-link { color: var(--gold-dk); font-weight: 600; font-size: 13.5px; }
.svc-link:hover { color: var(--coral); }

/* ====================== PRICING ====================== */
.pricing { background: var(--bg); }
.tier-block { margin: 0 0 50px; }
.tier-title {
    text-align: center;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--gold-dk);
    margin-bottom: 22px;
}
.tier-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.tier {
    position: relative;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 26px;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease;
}
.tier:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.tier.featured {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(232,164,69,0.10), var(--shadow-md);
}
.tier .badge {
    position: absolute;
    top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gold); color: white;
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 4px 12px; border-radius: 999px;
}
.tier-name { font-family: 'Cinzel', serif; font-size: 18px; margin-bottom: 4px; }
.tier-price { font-family: 'Cinzel', serif; font-size: 38px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; text-align: left; }
.tier ul li {
    padding: 7px 0 7px 22px;
    position: relative;
    color: var(--text);
    font-size: 14.5px;
    border-bottom: 1px solid var(--border);
}
.tier ul li:last-child { border-bottom: none; }
.tier ul li::before {
    content: '';
    position: absolute; left: 4px; top: 14px;
    width: 8px; height: 8px;
    background: var(--gold);
    border-radius: 2px;
}

.addons { background: white; border: 1px solid var(--border); border-radius: 14px; padding: 24px 30px; margin-top: 30px; }
.addons h4 { font-family: 'Cinzel', serif; font-size: 17px; margin: 0 0 14px; }
.addons-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 30px; }
.addons-list li { display: flex; justify-content: space-between; border-bottom: 1px dashed var(--border); padding: 8px 0; font-size: 14.5px; }
.addons-list li:last-child, .addons-list li:nth-last-child(2) { border-bottom: none; }
.ao-price { font-weight: 700; color: var(--ink); }

.beyond { margin-top: 36px; background: linear-gradient(135deg, #1a1a1a 0%, #2a241c 100%); color: #f4ecd8; border-radius: 14px; padding: 32px 36px; }
.beyond h4 { font-family: 'Cinzel', serif; font-size: 22px; margin: 0 0 6px; color: var(--gold); }
.beyond-sub { color: rgba(244,236,216,0.7); margin: 0 0 18px; }
.beyond-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.beyond-list li { padding: 10px 0; border-bottom: 1px solid rgba(244,236,216,0.12); font-size: 15px; }
.beyond-list li:last-child { border-bottom: none; }
.beyond-list em { color: var(--gold); font-style: normal; font-weight: 600; }

/* ====================== WORK / MOSAIC ====================== */
.work { background: var(--panel); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.case { display: grid; grid-template-columns: 0.85fr 1.4fr; gap: 38px; align-items: center; margin: 0 0 70px; }
.case:nth-child(even) { grid-template-columns: 1.4fr 0.85fr; }
.case:nth-child(even) .case-text { order: 2; }
.case:nth-child(even) .case-mosaic { order: 1; }
.case:last-child { margin-bottom: 0; }
.case-text .case-tag {
    display: inline-block;
    color: var(--gold-dk);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.16em;
    background: var(--bg-warm);
    padding: 4px 10px;
    border-radius: 99px;
    margin: 0 0 10px;
    font-weight: 700;
}
.case-text h3 { margin-bottom: 12px; font-size: 26px; }
.case-text h3 a { color: var(--ink); border-bottom: 2px solid var(--gold); padding-bottom: 1px; transition: color .15s ease, border-color .15s ease; }
.case-text h3 a:hover { color: var(--coral); border-color: var(--coral); }
.case-text p { color: var(--muted); font-size: 15.5px; }

.case-mosaic { display: grid; gap: 14px; }
.case-mosaic .tile { position: relative; }
.case-mosaic .shot {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 6px;
    overflow: hidden;
    background: #f0eee5;
    box-shadow: var(--shadow-sm);
    transition: transform .18s ease, box-shadow .18s ease;
}
.case-mosaic .shot::after {
    /* Gold corner frame overlay drawn from frame.png */
    content: '';
    position: absolute; inset: 0;
    background: url('../images/frame.png') no-repeat center/100% 100%;
    pointer-events: none;
}
.case-mosaic .shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-mosaic .tile:hover .shot { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.mosaic-1 { grid-template-columns: 1fr; }
.mosaic-2 { grid-template-columns: 1.4fr 1fr; }
.mosaic-3 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
.mosaic-3 .tile-lead { grid-column: 1 / 3; }
.mosaic-4 { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; }
.mosaic-4 .tile-lead { grid-column: 1 / 3; }

/* Phone-bezel mosaic for Telegram screenshots */
.mosaic-mobile { display: flex; gap: 18px; justify-content: center; align-items: stretch; flex-wrap: wrap; }
.mosaic-mobile .tile-phone {
    flex: 0 0 auto;
    width: min(220px, 32%);
}
.shot-phone {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #0a0a0a;
    padding: 10px;
    box-shadow: var(--shadow-md), inset 0 0 0 2px rgba(255,255,255,0.04);
    transition: transform .18s ease, box-shadow .18s ease;
}
.shot-phone::before {
    /* speaker notch */
    content: '';
    position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 16px;
    background: #0a0a0a;
    border-radius: 16px;
    z-index: 2;
}
.shot-phone img {
    border-radius: 20px;
    width: 100%;
    aspect-ratio: 9/16;
    object-fit: cover;
    display: block;
}
.tile-phone:hover .shot-phone { transform: translateY(-3px); }

/* ====================== ABOUT ====================== */
.about { background: var(--bg); }
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: center;
}
.about-art img { border-radius: 14px; box-shadow: var(--shadow-md); }
.about-copy code {
    background: #1a1a1a; color: var(--gold);
    padding: 2px 8px; border-radius: 4px;
    font-family: 'JetBrains Mono', 'SF Mono', Menlo, Consolas, monospace;
    font-size: 14.5px;
}
.about-copy .lede { font-size: 17px; }

/* ====================== CONTACT ====================== */
.contact { background: var(--panel); border-top: 1px solid var(--border); }
.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: start;
}
.contact-copy h2 { margin-bottom: 12px; }
.contact-direct { font-size: 17px; margin: 18px 0; }
.contact-direct a { color: var(--coral); border-bottom: 2px solid var(--coral); font-weight: 600; }
.contact-direct a:hover { color: var(--coral-dk); border-color: var(--coral-dk); }
.contact-tags { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.contact-tags li {
    background: var(--bg-warm);
    color: var(--gold-dk);
    font-size: 12.5px; font-weight: 600;
    padding: 6px 12px;
    border-radius: 99px;
}

.contact-form { display: grid; gap: 14px; background: var(--bg); padding: 26px; border-radius: 14px; border: 1px solid var(--border); }
.contact-form label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; color: var(--muted); font-weight: 500; }
.contact-form input, .contact-form select, .contact-form textarea {
    padding: 11px 13px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit; font-size: 15px;
    background: white;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(232,164,69,0.12);
}
.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-note.success { color: var(--gold-dk); font-weight: 600; }
.form-note.error { color: var(--coral); font-weight: 600; }

/* ====================== FOOTER ====================== */
.site-footer { background: #1a1a1a; color: #c8c4b8; padding: 40px 0 30px; margin-top: 0; }
.footer-row { display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; align-items: center; }
.foot-brand { display: flex; align-items: baseline; gap: 6px; color: var(--gold); }
.foot-brand .brand-mark { color: var(--gold); border-color: var(--gold); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 12px 18px; justify-content: center; font-size: 14px; }
.foot-nav a { color: #c8c4b8; }
.foot-nav a:hover { color: var(--gold); }
.foot-legal { text-align: right; font-size: 13px; color: #888; }
.foot-legal a { color: #c8c4b8; }
.foot-legal a:hover { color: var(--gold); }
.foot-areas {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    font-size: 12px;
    padding-top: 14px;
    line-height: 1.9;          /* extra row spacing when links wrap to multiple lines */
    word-spacing: 2px;         /* prevent links + " · " sticking together when wrapping */
    overflow-wrap: anywhere;   /* very narrow viewports: break inside a city name if needed */
}
.foot-areas a { color: #c8c4b8; text-decoration: none; white-space: nowrap; }
.foot-areas a:hover { color: var(--gold); text-decoration: underline; }

/* ====================== UTILITY ====================== */
.pad-top-zero { padding-top: 0; }
.pad-bottom-large { padding-bottom: 80px; }
.text-center { text-align: center; }
.center-block { text-align: center; }
.foot-mini { grid-column: 1 / -1; text-align: center; color: #666; font-size: 12px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.06); margin-top: 14px; }

/* ====================== RESPONSIVE ====================== */
@media (max-width: 980px) {
    .hero-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero { padding: 44px 0 36px; }
    .hero-art { order: -1; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .tier-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
    .addons-list { grid-template-columns: 1fr; }
    .case, .case:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .case:nth-child(even) .case-text { order: 0; }
    .case:nth-child(even) .case-mosaic { order: 0; }
    .footer-row { grid-template-columns: 1fr; text-align: center; gap: 14px; }
    .foot-legal { text-align: center; }
}

@media (max-width: 680px) {
    .site-nav nav {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 8px 0;
    }
    .site-nav nav.open { display: flex; }
    .site-nav nav a { padding: 12px 22px; border-bottom: 1px solid var(--border); }
    .site-nav nav a:last-child { border-bottom: none; }
    .site-nav nav a.nav-cta { margin: 8px 22px; border-radius: 999px; text-align: center; }
    .nav-toggle { display: block; }
    section { padding: 50px 0; }
    .service-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .svc { padding: 20px 16px; }
    .svc img { width: 70px; height: 70px; }
    .mosaic-3, .mosaic-4 { grid-template-columns: 1fr; }
    .mosaic-3 .tile-lead, .mosaic-4 .tile-lead { grid-column: 1; }
    .mosaic-2 { grid-template-columns: 1fr; }
    .mosaic-mobile .tile-phone { width: min(180px, 45%); }
    .beyond { padding: 24px 22px; }
    .addons { padding: 20px 22px; }
}
