/* Graphite Main CSS */
:root {
  --paper: #FAF7F2;
  --ink: #1A1A18;
  --graphite: #6E6A64;
  --stone: #E9E2D9;
  --clay: #C2B5A5;
  --max: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: "Inter", system-ui, sans-serif; line-height: 1.6; margin: 0; -webkit-font-smoothing: antialiased; }
h1,h2,h3 { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; line-height: 0.95; letter-spacing: -0.02em; }

.graphite-container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.graphite-header { display: flex; justify-content: space-between; align-items: center; padding: 32px 0; border-bottom: 1px solid var(--stone); position: sticky; top: 0; background: rgba(250,247,242,0.85); backdrop-filter: blur(12px); z-index: 20; }
.graphite-logo { font-family: "Instrument Serif", serif; font-size: 28px; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.graphite-nav { display: flex; gap: 32px; list-style: none; margin: 0; padding: 0; }
.graphite-nav a { text-decoration: none; color: var(--ink); font-size: 14px; letter-spacing: 0.04em; opacity: 0.8; }
.graphite-nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.graphite-cta { border: 1px solid var(--ink); border-radius: 999px; padding: 10px 20px; font-size: 13px; text-decoration: none; color: var(--ink); transition: all .2s; }
.graphite-cta:hover { background: var(--ink); color: var(--paper); }

.graphite-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; padding: 80px 0 40px; align-items: center; }
.graphite-hero h1 { font-size: clamp(42px, 7vw, 88px); margin: 0 0 20px; text-transform: uppercase; }
.graphite-hero p.lead { font-family: "Instrument Serif", serif; font-size: 22px; margin: 0 0 18px; }
.graphite-hero p.desc { color: var(--graphite); max-width: 48ch; }
.graphite-hero-actions { display: flex; gap: 12px; margin-top: 32px; }
.btn-dark { background: var(--ink); color: var(--paper); border-radius: 12px; padding: 14px 24px; text-decoration: none; font-size: 14px; display: inline-block; }
.btn-light { border: 1px solid var(--ink); border-radius: 12px; padding: 14px 24px; text-decoration: none; color: var(--ink); font-size: 14px; display: inline-block; }

.graphite-portfolio-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 20px; }
@media (max-width: 1100px) { .graphite-portfolio-grid { grid-template-columns: repeat(2, 1fr);} .graphite-hero { grid-template-columns: 1fr; } }
.graphite-card { background: white; padding: 0; box-shadow: 0 10px 30px rgba(0,0,0,0.06); transition: transform .25s ease; position: relative; overflow: hidden; aspect-ratio: 4/5; }
.graphite-card:hover { transform: translateY(-4px); }
.graphite-card img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.1); }
.graphite-card-meta { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.6)); color: white; padding: 16px; font-size: 12px; opacity: 0; transition: opacity .2s; }
.graphite-card:hover .graphite-card-meta { opacity: 1; }
.graphite-filters { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }
.graphite-filter-btn { border: 1px solid var(--stone); background: transparent; padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.graphite-filter-btn.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.graphite-section { padding: 80px 0; border-top: 1px solid var(--stone); }
.graphite-section-label { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--graphite); margin-bottom: 16px; display: block; }
.graphite-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.graphite-service { border: 1px solid var(--stone); padding: 28px; background: #fff; }
.graphite-service h3 { font-size: 24px; margin: 0 0 8px; }
.graphite-service .price { font-family: "Instrument Serif", serif; font-size: 18px; margin: 12px 0; }
.graphite-service ul { padding-left: 18px; color: var(--graphite); font-size: 14px; }

.graphite-footer { border-top: 1px solid var(--stone); padding: 40px 0; display: flex; justify-content: space-between; font-size: 13px; color: var(--graphite); }
.graphite-badge { font-size: 11px; border: 1px dashed var(--clay); padding: 4px 8px; border-radius: 999px; display: inline-block; margin-top: 8px; }

.graphite-single-wrap { max-width: 760px; margin: 0 auto; padding: 40px 24px; }
.graphite-search-form { display: flex; gap: 8px; }

@media (max-width: 768px) {
  .graphite-services { grid-template-columns: 1fr; }
  .graphite-header { flex-wrap: wrap; gap: 16px; }
  .graphite-nav { display: none; }
}
