:root {
  --ink: #34404a;
  --coal: #52616a;
  --coal-2: #6c7a7f;
  --paper: #fbf8f2;
  --stone: #e8e1d6;
  --stone-2: #c8bfb1;
  --bronze: #b98d66;
  --bronze-2: #dfbd98;
  --ember: #f1d1ad;
  --mist: rgba(246,242,235,.76);
  --line: rgba(184,137,98,.25);
  --display: Georgia, 'Times New Roman', serif;
  --body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'Cascadia Code', Menlo, monospace;
  --wrap: min(1180px, calc(100vw - 40px));
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; }
body { min-height: 100%; font: 16px/1.55 var(--body); background: var(--paper); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { border: 0; cursor: pointer; }
img { max-width: 100%; display: block; }
.wrap { width: var(--wrap); margin-inline: auto; }
.eyebrow { font: 700 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-2); }

.grain { position: fixed; inset: -30%; z-index: 999; pointer-events: none; opacity: .032; mix-blend-mode: soft-light; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.header { position: fixed; inset: 0 0 auto; height: 72px; z-index: 60; display: flex; align-items: center; color: var(--ink); background: rgba(251,248,242,.56); border-bottom: 1px solid rgba(52,64,74,.1); backdrop-filter: blur(22px); box-shadow: 0 12px 42px rgba(52,64,74,.04); transform: translateY(0); opacity: 1; pointer-events: auto; transition: background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.header.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.header.is-solid { background: rgba(251,248,242,.62); border-bottom: 1px solid rgba(52,64,74,.12); box-shadow: 0 14px 46px rgba(52,64,74,.06); }
.nav { width: var(--wrap); margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: clamp(21px, 2vw, 31px); letter-spacing: 0; white-space: nowrap; }
.brand img { width: 34px; height: 34px; flex: 0 0 auto; }
.header-logo { width: 30px !important; height: 30px !important; }
.brand-copy { display: inline-block; }
.brand em { color: var(--bronze); font-style: normal; }
.links { display: flex; align-items: center; gap: clamp(14px, 2.1vw, 30px); font-size: 11px; font-weight: 720; letter-spacing: .14em; text-transform: uppercase; }
.tools { display: flex; align-items: center; gap: 10px; }
.header-call { display: inline-flex; align-items: baseline; gap: 8px; color: var(--ink); white-space: nowrap; font-size: 11px; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; }
.header-call strong { color: var(--bronze); font: 700 11px/1 var(--mono); letter-spacing: .02em; }
.cinematic-call { position: fixed; top: 18px; right: 24px; z-index: 65; display: inline-flex; align-items: baseline; gap: 8px; padding: 10px 13px; background: rgba(251,248,242,.95); color: var(--ink); border: 1px solid rgba(52,64,74,.14); box-shadow: 0 10px 30px rgba(52,64,74,.14); font-size: 10px; font-weight: 760; letter-spacing: .06em; text-transform: uppercase; transition: opacity .45s ease, transform .45s ease; }
.cinematic-call strong { color: var(--bronze); font: 700 10px/1 var(--mono); letter-spacing: .02em; }
.cinematic-call.is-hidden { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.lang { display: inline-grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(52,64,74,.18); background: rgba(255,255,255,.34); }
.lang button { min-width: 38px; height: 34px; background: transparent; color: inherit; font: 700 11px/1 var(--mono); letter-spacing: .12em; }
.lang button.active { background: var(--bronze); color: var(--ink); }
.cta { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 18px; background: var(--bronze); color: var(--ink); border: 1px solid rgba(246,242,235,.22); font-size: 11px; font-weight: 760; letter-spacing: .12em; text-transform: uppercase; transition: transform .25s ease, background .25s ease; }
.cta:hover { transform: translateY(-2px); background: var(--bronze-2); }
.cta.ghost { background: rgba(251,248,242,.16); color: var(--paper); border-color: rgba(246,242,235,.4); }
.menu { display: none; width: 42px; height: 42px; color: var(--ink); background: rgba(255,255,255,.36); border: 1px solid rgba(52,64,74,.16); place-items: center; gap: 5px; }
.menu span { display: block; width: 18px; height: 1px; background: currentColor; }

@media (max-width: 980px) {
  .menu { position: relative; z-index: 3; display: grid; width: 46px; height: 46px; flex: 0 0 46px; background: var(--paper); border: 1px solid rgba(52,64,74,.26); box-shadow: 0 5px 18px rgba(52,64,74,.12); }
  .menu span { width: 21px; height: 2px; transition: transform .25s ease, opacity .25s ease; }
  .menu.is-open span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu.is-open span:nth-child(2) { opacity: 0; }
  .menu.is-open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .links.open { top: 70px; left: 12px; right: 12px; gap: 0; padding: 10px; background: rgba(251,248,242,.98); border: 1px solid rgba(52,64,74,.18); box-shadow: 0 18px 42px rgba(52,64,74,.18); }
  .links.open a { display: flex; min-height: 46px; align-items: center; padding: 0 12px; color: var(--ink); border-bottom: 1px solid rgba(52,64,74,.1); font-size: 11px; }
  .links.open a:last-child { border-bottom: 0; }
  .footer-title { display: inline-block !important; color: var(--paper) !important; font: 700 11px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px !important; }
}

@media (max-width: 620px) {
  .scene { height: 245vh; }
  .header { height: 64px; }
  .nav { width: calc(100% - 24px); }
  .brand { font-size: 16px; gap: 7px; }
  .brand img { width: 28px; height: 28px; }
  .header-call { top: 70px; }
  .section { padding: 62px 0; }
  .section-head { gap: 18px; margin-bottom: 26px; }
  .section-head p { font-size: 14px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .service { min-height: 170px; padding: 18px 0; }
  .service svg { width: 28px; height: 28px; margin-bottom: 14px; }
  .service h3 { font-size: 19px; }
  .service p { font-size: 12px; line-height: 1.45; }
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .project, .project:nth-child(2), .project:nth-child(5) { min-height: 270px; padding: 15px; }
  .project h3 { font-size: 22px; }
  .project p { font-size: 12px; line-height: 1.4; }
  .project button { margin-top: 12px; font-size: 9px; }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
  .step { min-height: 128px; padding: 16px 0; }
  .step h3 { margin-top: 22px; font-size: 20px; }
  .seo-panel { gap: 24px; }
  .seo-image { min-height: 260px; }
  .footer { padding: 48px 0 24px; }
  .footer-grid { gap: 28px; }
  .footer-brand img { width: 150px; }
  .bottom { margin-top: 28px; padding-top: 16px; font-size: 12px; }
}
