/* Vea Projects — dark editorial-cinematic (fonts + accent ramp from system.css) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .cue-line { animation: none; } }
body { margin: 0; background: #faf8f4; color: #383830; font-family: var(--font-body); text-wrap: pretty; overflow-x: hidden; }
a { color: #987038; }
a:hover { color: #7d5b2c; }
::selection { background: color-mix(in srgb, #987038 30%, transparent); }
:focus-visible { outline: 2px solid #987038; outline-offset: 2px; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
.accent { color: #987038; }
.rel { position: relative; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px); }
.lab { display: block; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; margin-bottom: 18px; }
.section { scroll-margin-top: 90px; padding: clamp(90px, 14vh, 150px) 0 0; }
.section:last-child, #contact.section { padding-bottom: clamp(90px, 14vh, 140px); }
#services.section, #projects.section { padding-top: 0; padding-bottom: clamp(90px, 14vh, 150px); }
#about.section { padding-bottom: clamp(90px, 14vh, 150px); }
#approach.section { padding-bottom: clamp(90px, 14vh, 150px); }
h2 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; color: #2e2d27; margin: 0 0 40px; position: relative; z-index: 1; }
.statement { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.25; max-width: 30ch; margin-bottom: 0; }
.body { font-size: 16px; line-height: 1.85; color: #5f5c51; max-width: 62ch; margin: 34px 0 0; position: relative; z-index: 1; }
.note { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #8a8375; }
.num { font-size: 11px; letter-spacing: 0.16em; color: #8a8375; }
.ghost { position: absolute; top: 0; right: -4%; z-index: 0; font-family: var(--font-heading); font-size: clamp(100px, 15vw, 240px); line-height: 1; white-space: nowrap; color: rgba(56, 56, 48, 0.045); pointer-events: none; user-select: none; will-change: transform; }
.ghost-l { right: auto; left: -4%; top: -2%; font-size: clamp(90px, 13vw, 210px); }

/* nav */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px clamp(20px, 4vw, 56px); background: color-mix(in srgb, #faf8f4 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid #e6e0d3; }
.brand { font-family: var(--font-heading); font-size: 20px; letter-spacing: 0.06em; color: #383830; }
.brand-accent { color: #987038; }
.nav-links { display: flex; gap: clamp(16px, 2.5vw, 36px); align-items: baseline; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.nav-links a { text-decoration: none; color: #5f5c51; transition: color 0.25s; }
.nav-links a:hover, .nav-links a.active { color: #987038; }
.nav-links .nav-cta { color: #987038; border: 1px solid color-mix(in srgb, #987038 55%, transparent); padding: 9px 18px; }
.nav-links .nav-cta:hover { background: color-mix(in srgb, #987038 12%, transparent); }

/* hero */
.hero { position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: -12% 0; z-index: 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250,248,244,0.86) 0%, rgba(250,248,244,0.62) 45%, rgba(250,248,244,0.94) 100%); }
.hero-inner { position: relative; z-index: 1; min-height: 88vh; display: grid; align-content: center; justify-items: center; text-align: center; padding: 120px clamp(20px, 5vw, 72px) 80px; }
.hero .lab { font-size: 11px; letter-spacing: 0.3em; margin-bottom: 0; }
.hero h1 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(46px, 7vw, 90px); line-height: 1.04; letter-spacing: -0.01em; color: #2e2d27; margin: 26px 0 0; max-width: 16ch; }
.hero h1 .line { display: block; }
.hero .sub { font-size: 16.5px; line-height: 1.8; color: #55534a; max-width: 56ch; margin: 30px 0 0; }
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 40px; }
.btn-solid { text-decoration: none; cursor: pointer; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #faf8f4; background: #987038; border: 0; padding: 15px 28px; display: inline-block; transition: background 0.25s; }
.btn-solid:hover { background: #7d5b2c; color: #faf8f4; }
.btn-line { text-decoration: none; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #383830; border: 1px solid #c4bba6; padding: 15px 28px; display: inline-block; transition: border-color 0.25s, color 0.25s; }
.btn-line:hover { border-color: #987038; color: #987038; }
.scroll-cue { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; z-index: 1; }
.cue-label { font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: #8a8375; }
.cue-line { display: block; width: 1px; height: 46px; background: #987038; animation: cueDrop 2.2s cubic-bezier(0.6, 0, 0.3, 1) infinite; }
@keyframes cueDrop { 0% { transform: scaleY(0); transform-origin: top; } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* services grid */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 48px; }
.sec-head h2 { margin-bottom: 0; }
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-left: 1px solid #e3ddd0; border-top: 1px solid #e3ddd0; }
.cell { border-right: 1px solid #e3ddd0; border-bottom: 1px solid #e3ddd0; padding: clamp(24px, 3vw, 40px); min-height: 190px; box-sizing: border-box; transition: background 0.4s; }
.cell:hover { background: rgba(152, 112, 56, 0.06); }
.cell h3 { font-family: var(--font-heading); font-weight: 400; font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; color: #383830; margin: 18px 0 12px; }
.cell p { font-size: 14px; line-height: 1.7; color: #6e6a5d; margin: 0; }

/* interlude */
.interlude { position: relative; height: clamp(340px, 55vh, 560px); overflow: hidden; display: grid; place-content: center; text-align: center; padding: 0 clamp(20px, 5vw, 72px); }
.interlude-bg { position: absolute; inset: -14% 0; will-change: transform; }
.interlude-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.interlude-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(250,248,244,0.9), rgba(250,248,244,0.35) 50%, rgba(250,248,244,0.9)); }
.interlude-quote { position: relative; z-index: 1; font-family: var(--font-heading); font-weight: 400; font-style: italic; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.3; color: #2e2d27; max-width: 26ch; margin: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(24px, 3vw, 48px); position: relative; z-index: 1; }
.step { border-top: 1px solid #d6cfbe; padding-top: 24px; }
.step-num { display: block; font-family: var(--font-heading); font-size: clamp(38px, 3.4vw, 54px); line-height: 1; color: #987038; font-feature-settings: "tnum" 1; }
.step h3 { font-family: var(--font-heading); font-weight: 400; font-size: 23px; line-height: 1.2; color: #383830; margin: 18px 0 10px; }
.step p { font-size: 14px; line-height: 1.7; color: #6e6a5d; margin: 0; }

/* project types */
.type { border-top: 1px solid #e3ddd0; padding: 26px 10px; display: flex; align-items: baseline; gap: 26px; transition: background 0.35s, padding-left 0.35s; }
.type:hover { background: rgba(152, 112, 56, 0.05); padding-left: 24px; }
.type-name { font-family: var(--font-heading); font-weight: 400; font-size: clamp(26px, 3vw, 40px); line-height: 1.1; color: #383830; }
.type-close { border-top: 1px solid #e3ddd0; }

/* contact */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.split .body { max-width: 48ch; margin: 0 0 36px; }
.address { border-top: 1px solid #e3ddd0; padding-top: 26px; font-size: 15px; line-height: 2; color: #5f5c51; }
.address .foot-head { display: block; margin-bottom: 8px; }
#contact-form { display: grid; gap: 18px; align-content: start; }
.field-dk { display: grid; gap: 8px; }
.field-dk label { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #8a8375; }
input.dk, textarea.dk { width: 100%; box-sizing: border-box; background: transparent; border: 1px solid #d6cfbe; color: #383830; padding: 13px 14px; font-family: var(--font-body); font-size: 15px; border-radius: 0; transition: border-color 0.25s; }
input.dk:focus, textarea.dk:focus { border-color: #987038; }
textarea.dk { resize: vertical; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* footer */
.site-footer { border-top: 1px solid #e6e0d3; background: #f3f0e9; }
.site-footer .wrap { padding-top: 48px; }
.footgrid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.foot-strap { display: block; font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: #8a8375; margin: 10px 0 16px; }
.foot-addr { font-size: 13.5px; line-height: 1.8; color: #8a8375; margin: 0; }
.foot-col { display: flex; flex-direction: column; gap: 11px; }
.foot-head { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: #8a8375; }
.foot-col a { text-decoration: none; font-size: 14px; color: #5f5c51; transition: color 0.25s; }
.foot-col a:hover { color: #987038; }
.foot-col a.foot-cta { color: #987038; }
.credit { border-top: 1px solid #e6e0d3; margin-top: 44px; padding: 18px 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #8a8375; }

[data-reveal], [data-px] { will-change: transform, opacity; }

/* responsive */
@media (max-width: 1060px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
}
.burger { display: none; background: none; border: 1px solid #e3ddd0; cursor: pointer; padding: 9px 10px; flex-direction: column; gap: 4px; }
.burger span { display: block; width: 18px; height: 1.5px; background: #383830; }
.mmenu { position: fixed; top: 62px; left: 0; right: 0; z-index: 79; background: #faf8f4; border-bottom: 1px solid #e6e0d3; display: flex; flex-direction: column; padding: 8px 0; }
.mmenu a { text-decoration: none; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: #383830; padding: 15px clamp(20px, 5vw, 56px); border-top: 1px solid #efeadd; }
.mmenu a.accent-link { color: #987038; }
.mmenu[hidden] { display: none; }
@media (min-width: 761px) { .burger, .mmenu { display: none !important; } }
@media (max-width: 760px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { align-items: center; }
  .burger { display: inline-flex; }
  .brand-word { font-size: 19px; }
  .brand-tag { font-size: 8.5px; }
  .nav-links .nav-cta { padding: 7px 12px; font-size: 10px; }
  .steps, .typelist { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .steps::-webkit-scrollbar, .typelist::-webkit-scrollbar { display: none; }
  .steps > .step { flex: 0 0 74%; min-width: 0; scroll-snap-align: start; }
  .typelist > .type { flex: 0 0 74%; min-width: 0; scroll-snap-align: start; border: 1px solid #e3ddd0; flex-direction: column; align-items: flex-start; gap: 14px; padding: 26px 20px; }
  .typelist > .type-close { display: none; }
  .footgrid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .credit { flex-direction: column; gap: 8px; text-align: center; }
  .services { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border: 0; gap: 16px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .services::-webkit-scrollbar { display: none; }
  .services > .cell { flex: 0 0 80%; min-width: 0; scroll-snap-align: start; border: 1px solid #e3ddd0; }
}

.brand-lock { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.brand-word { font-family: var(--font-heading); font-weight: 600; font-size: 23px; letter-spacing: 0.14em; line-height: 1; color: #383830; }
.brand-tag { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1; color: #987038; }
.brand-lock-lg { gap: 7px; margin-bottom: 16px; }
.brand-lock-lg .brand-word { font-size: 28px; }
.brand-lock-lg .brand-tag { font-size: 12px; }

/* why vea */
.why-section { padding-top: 0; padding-bottom: clamp(90px, 14vh, 150px); }
.why-section .body { margin: 0; max-width: 48ch; }
.body-follow { margin-top: 22px; }
.reason { border-top: 1px solid #e3ddd0; padding: 24px 10px; transition: background 0.35s; }
.reason:hover { background: rgba(152, 112, 56, 0.05); }
.reason h3 { font-family: var(--font-heading); font-weight: 400; font-size: 24px; line-height: 1.2; color: #383830; margin: 0 0 8px; }
.reason p { font-size: 14.5px; line-height: 1.7; color: #6e6a5d; margin: 0; }
