:root {
  --ink: #0e1a2a;
  --ink-2: #16263b;
  --ink-3: #22364f;
  --gold: #c6a15b;
  --gold-2: #e0c48c;
  --cream: #f7f3ec;
  --paper: #ffffff;
  --text: #1d2633;
  --muted: #5d6878;
  --line: #e5ded1;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 1rem; }
h3 { font-size: 1.6rem; margin-bottom: .6rem; }
h4 { font-size: .95rem; font-weight: 600; margin-bottom: .3rem; }
p + p { margin-top: 1rem; }
em { font-style: italic; color: var(--gold); }

.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }

/* Buttons */
.btn { display: inline-block; background: var(--gold); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9rem; letter-spacing: .04em; padding: .95rem 1.7rem; border: 1px solid var(--gold); border-radius: var(--radius); cursor: pointer; transition: background .2s, color .2s, transform .2s; font-family: inherit; }
.btn:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; color: #fff; }
.btn--outline { background: transparent; color: var(--ink); border-color: var(--ink); margin-top: 1.5rem; }
.btn--outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--sm { padding: .55rem 1.1rem; font-size: .82rem; }
.btn--full { width: 100%; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.nav.is-scrolled { background: rgba(14,26,42,.96); backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; color: #fff; }
.brand__text { font-family: var(--serif); font-size: 1.55rem; font-weight: 700; letter-spacing: .14em; line-height: 1; display: flex; flex-direction: column; }
.brand__text small { font-family: var(--sans); font-size: .55rem; font-weight: 500; letter-spacing: .3em; color: var(--gold); margin-top: .3rem; }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { color: rgba(255,255,255,.85); text-decoration: none; font-size: .88rem; font-weight: 500; transition: color .2s; }
.nav__links a:not(.btn):hover { color: var(--gold); }
.nav__toggle { display: none; background: none; border: 0; width: 34px; height: 34px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.nav__toggle span { display: block; height: 2px; background: #fff; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: radial-gradient(1200px 600px at 80% 20%, #22364f 0%, transparent 60%), linear-gradient(160deg, #0e1a2a 0%, #0a1420 100%); color: #fff; overflow: hidden; padding: 120px 0 80px; }
.hero__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(198,161,91,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(198,161,91,.07) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); }
.hero::after { content: ""; position: absolute; right: -6%; bottom: -2%; width: 52%; aspect-ratio: 1.3; background: url("assets/skyline.svg") no-repeat bottom right / contain; opacity: .5; pointer-events: none; }
.hero__inner { position: relative; z-index: 1; max-width: 1180px; }
.hero h1 { max-width: 15ch; }
.hero__lead { max-width: 58ch; margin: 1.6rem 0 2.2rem; color: rgba(255,255,255,.75); font-size: 1.08rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__pillars { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 4.5rem; max-width: 820px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); }
.hero__pillars li { background: rgba(14,26,42,.85); padding: 1.2rem 1.3rem; }
.hero__pillars strong { display: block; font-family: var(--serif); font-size: 1.4rem; color: var(--gold); font-weight: 600; }
.hero__pillars span { font-size: .8rem; color: rgba(255,255,255,.6); }

/* Sections */
.section { padding: clamp(5rem, 10vw, 8rem) 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--dark p { color: rgba(255,255,255,.72); }
.section--tint { background: var(--cream); }
.section__head { max-width: 680px; margin-bottom: 3.2rem; }
.section__sub { color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split > div > p { color: var(--muted); }
.section--dark .split > div > p { color: rgba(255,255,255,.72); }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.values h4 { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.values p { font-size: .88rem; color: var(--muted); }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.1); }
.card { background: var(--ink); padding: 2.4rem 2.1rem; transition: background .3s; }
.card:hover { background: var(--ink-2); }
.card__num { display: block; font-family: var(--serif); font-size: 1rem; color: var(--gold); margin-bottom: 2.2rem; letter-spacing: .1em; }
.card p { font-size: .93rem; }
.card--cta { background: linear-gradient(150deg, var(--ink-3), var(--ink-2)); display: flex; flex-direction: column; justify-content: center; }
.card--cta .btn { align-self: flex-start; margin-top: 1.5rem; }

/* Portfolio */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.2rem; }
.filter { font: inherit; font-size: .85rem; font-weight: 500; background: none; border: 1px solid var(--line); color: var(--muted); padding: .55rem 1.1rem; border-radius: 999px; cursor: pointer; transition: all .2s; }
.filter:hover { border-color: var(--ink); color: var(--ink); }
.filter.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.project { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s; }
.project:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -20px rgba(14,26,42,.35); }
.project.is-hidden { display: none; }
.project__media { position: relative; aspect-ratio: 4 / 3; background: var(--ink-2); overflow: hidden; }
.project__media img { width: 100%; height: 100%; object-fit: cover; }
.project__art { position: absolute; inset: 0; display: grid; place-items: center; }
.project__art svg { width: 62%; height: auto; opacity: .9; }
.project__tag { position: absolute; top: 1rem; left: 1rem; background: rgba(14,26,42,.85); color: var(--gold-2); font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: .35rem .7rem; border-radius: 2px; }
.project__status { position: absolute; top: 1rem; right: 1rem; background: var(--gold); color: var(--ink); font-size: .7rem; font-weight: 600; padding: .35rem .7rem; border-radius: 2px; }
.project__body { padding: 1.5rem 1.5rem 1.6rem; }
.project__body h3 { font-size: 1.45rem; margin-bottom: .2rem; }
.project__loc { font-size: .82rem; color: var(--muted); margin-bottom: .9rem; }
.project__desc { font-size: .9rem; color: var(--muted); }
.project__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.project__stats div { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.project__stats strong { display: block; font-size: .95rem; color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 600; }

/* Process */
.steps { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; counter-reset: s; }
.steps li { position: relative; padding-top: 1.2rem; border-top: 2px solid var(--ink); }
.steps span { display: block; font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; margin-bottom: .8rem; }
.steps h4 { font-family: var(--serif); font-size: 1.4rem; color: var(--ink); }
.steps p { font-size: .88rem; color: var(--muted); }

/* Sell */
.checks { list-style: none; display: grid; gap: .9rem; }
.checks li { position: relative; padding: 1rem 1.2rem 1rem 3rem; border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); color: rgba(255,255,255,.88); }
.checks li::before { content: ""; position: absolute; left: 1.2rem; top: 1.35rem; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.checks li:last-child { border: 0; padding: .6rem 0 0; }
.checks li:last-child::before { display: none; }

/* Contact */
.contact-info { margin-top: 2rem; display: grid; grid-template-columns: auto 1fr; gap: .6rem 1.5rem; }
.contact-info dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-top: .2rem; }
.contact-info dd a { color: var(--ink); font-weight: 500; }
.form { background: var(--paper); padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: 1.1rem; box-shadow: 0 30px 60px -40px rgba(14,26,42,.4); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form label { display: grid; gap: .4rem; font-size: .8rem; font-weight: 600; color: var(--ink); letter-spacing: .02em; }
.form input, .form select, .form textarea { font: inherit; font-size: .95rem; font-weight: 400; color: var(--text); padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fcfbf8; transition: border-color .2s, box-shadow .2s; width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198,161,91,.18); }
.form textarea { resize: vertical; }
.form__note { font-size: .85rem; color: var(--muted); min-height: 1.2em; }
.hp { position: absolute; left: -9999px; }

/* Footer */
.footer { background: #08111c; color: rgba(255,255,255,.6); padding: 4rem 0 2rem; font-size: .88rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer__tag { margin-top: 1rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--gold); }
.footer__legal { padding-top: 1.8rem; font-size: .75rem; color: rgba(255,255,255,.4); }
.footer__legal p + p { margin-top: .6rem; max-width: 900px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* Responsive */
@media (max-width: 1000px) {
  .cards, .projects { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
}
@media (max-width: 820px) {
  .nav__toggle { display: flex; }
  .nav__links { position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); padding: 1rem 20px 1.6rem; transform: translateY(-120%); transition: transform .3s; box-shadow: 0 20px 30px rgba(0,0,0,.3); z-index: -1; }
  .nav__links a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
  .nav__links .btn { margin-top: 1rem; text-align: center; }
  .nav.is-open { background: var(--ink); }
  .nav.is-open .nav__links { transform: none; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .split { grid-template-columns: 1fr; }
  .hero::after { width: 90%; opacity: .25; }
  .hero__pillars { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .cards, .projects, .steps, .values, .form__row { grid-template-columns: 1fr; }
}
