:root {
  --bg: #111216;
  --bg-soft: #171922;
  --panel: #20222c;
  --text: #f3f2ef;
  --muted: #a5a6ad;
  --line: rgba(243, 242, 239, .16);
  --accent: #8797ff;
  --font: 'Manrope', Arial, sans-serif;
  --mono: 'DM Mono', monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
::selection { color: var(--bg); background: var(--accent); }
.site-shell { width: min(100%, 1800px); margin: 0 auto; overflow: hidden; }
.section-pad { padding-left: clamp(22px, 7.2vw, 112px); padding-right: clamp(22px, 7.2vw, 112px); }
.site-header { height: 86px; padding: 0 clamp(22px, 7.2vw, 112px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); position: relative; z-index: 10; background: rgba(17,18,22,.94); }
.wordmark { font-size: 25px; font-weight: 800; letter-spacing: -.1em; }
.wordmark span { color: var(--accent); font-family: var(--mono); font-size: 10px; letter-spacing: 0; vertical-align: top; margin-left: 4px; }
.main-nav { display: flex; align-items: center; gap: clamp(25px, 4vw, 58px); font: 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #c8c9d3; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--accent); }
.nav-contact { color: var(--accent) !important; }
.nav-contact span { font-size: 16px; margin-left: 7px; }
.menu-toggle { display: none; background: none; border: 0; color: var(--text); }
.hero { padding-top: clamp(70px, 10vw, 145px); position: relative; }
.hero-kicker, .eyebrow, .wave-label, .wave-end, .work-foot, .project-meta, .project-client, .contact-bottom, .site-footer, .about-caption { font: 10px var(--mono); letter-spacing: .11em; text-transform: uppercase; }
.hero-kicker { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px rgba(135,151,255,.55); }
h1 { font-size: clamp(74px, 13.8vw, 205px); line-height: .83; letter-spacing: -.095em; font-weight: 700; margin: 45px 0 54px -9px; max-width: 1200px; }
.outline-word { color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.hero-period { color: var(--accent); }
.hero-bottom { display: grid; grid-template-columns: 1.2fr 1fr 52px; align-items: end; gap: 30px; margin-bottom: 80px; }
.hero-role { font-size: clamp(18px, 2.3vw, 29px); letter-spacing: -.04em; font-weight: 600; margin: 0; }
.hero-role span { color: var(--accent); }
.hero-intro { color: var(--muted); max-width: 420px; font-size: 14px; line-height: 1.8; margin: 0; }
.round-link { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--accent); font-size: 21px; transition: background .2s, color .2s; }
.round-link:hover { background: var(--accent); color: var(--bg); }
.hero-wave { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); min-height: 110px; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-wave svg { width: 100%; height: 75px; overflow: visible; }
.hero-wave path { fill: none; stroke: var(--accent); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: .82; }
.wave-label, .wave-end { position: absolute; top: 12px; color: #777b8d; font-size: 8px; }
.wave-label { left: 0; }.wave-end { right: 0; }
.work-section { padding-top: clamp(100px, 12vw, 170px); padding-bottom: 130px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 56px; }
.eyebrow { color: var(--accent); display: block; margin-bottom: 24px; }
h2 { font-size: clamp(48px, 7vw, 94px); line-height: .91; letter-spacing: -.075em; margin: 0; font-weight: 600; }
h2 em { font-family: Georgia, serif; font-weight: 400; }
.section-note { color: var(--muted); font-size: 13px; line-height: 1.8; max-width: 280px; margin: 0 0 5px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter-button { border: 1px solid var(--line); background: transparent; color: #b7b8c4; padding: 10px 14px; border-radius: 30px; font: 9px var(--mono); text-transform: uppercase; letter-spacing: .07em; cursor: pointer; transition: all .2s ease; }
.filter-button span { color: var(--accent); margin-left: 8px; }
.filter-button.active, .filter-button:hover { border-color: var(--accent); color: var(--bg); background: var(--accent); }
.filter-button.active span, .filter-button:hover span { color: var(--bg); }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 22px; }
.project-card { text-align: left; min-width: 0; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; display: block; }
.project-image { display: block; position: relative; overflow: hidden; background: var(--panel); aspect-ratio: 1.28 / 1; }
.project-card.card-tall .project-image { aspect-ratio: 1.05 / 1.15; }
.project-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1), filter .35s; }
.project-card:hover .project-image img { transform: scale(1.045); filter: brightness(1.12); }
.image-index { position: absolute; left: 17px; top: 15px; color: rgba(255,255,255,.65); font: 9px var(--mono); }
.project-open { position: absolute; right: 15px; bottom: 15px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: var(--bg); background: var(--accent); font-size: 18px; transform: translateY(8px); opacity: 0; transition: all .25s ease; }
.project-card:hover .project-open, .project-card:focus-visible .project-open { opacity: 1; transform: translateY(0); }
.project-meta { display: flex; justify-content: space-between; color: var(--accent); margin: 17px 0 8px; font-size: 8px; }
.project-title { display: block; font-size: clamp(17px, 1.6vw, 22px); font-weight: 600; letter-spacing: -.045em; }
.project-client { display: block; color: var(--muted); margin-top: 5px; font-size: 8px; }
.work-foot { border-top: 1px solid var(--line); margin-top: 75px; padding-top: 17px; color: #777b8d; display: flex; justify-content: space-between; font-size: 8px; }
.services-section { background: var(--bg-soft); color: var(--text); padding-top: clamp(90px, 11vw, 150px); padding-bottom: clamp(85px, 10vw, 140px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.services-section .eyebrow { color: var(--accent); }
.services-section .section-note { color: var(--muted); }
.services-heading { margin-bottom: 75px; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 55px 1.1fr 1fr 28px; align-items: center; gap: 25px; min-height: 105px; border-bottom: 1px solid var(--line); }
.service-index { font: 10px var(--mono); color: var(--accent); }
.service-row h3 { font-size: clamp(21px, 3vw, 34px); letter-spacing: -.06em; margin: 0; font-weight: 600; }
.service-row p { color: var(--muted); font-size: 12px; line-height: 1.7; max-width: 330px; }
.service-arrow { font-size: 20px; }
.about-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(50px, 9vw, 145px); align-items: center; padding-top: clamp(100px, 13vw, 180px); padding-bottom: clamp(100px, 13vw, 180px); }
.about-visual { min-height: 480px; background: #1b1e2b; position: relative; overflow: hidden; display: grid; place-items: center; }
.about-monogram { font-size: clamp(115px, 18vw, 245px); letter-spacing: -.13em; font-weight: 800; position: relative; z-index: 1; }
.about-monogram span { color: var(--accent); font: 12px var(--mono); letter-spacing: 0; vertical-align: top; }
.about-orbit { position: absolute; border: 1px solid rgba(135,151,255,.28); border-radius: 50%; width: 75%; aspect-ratio: 1; transform: rotate(-28deg) scaleY(.34); }
.orbit-two { transform: rotate(45deg) scaleY(.62); width: 94%; border-color: rgba(135,151,255,.14); }
.about-caption { position: absolute; left: 20px; bottom: 18px; color: #85889a; font-size: 8px; }
.about-copy h2 { font-size: clamp(43px, 5vw, 72px); margin-bottom: 30px; }
.about-copy > p { color: var(--muted); font-size: 14px; line-height: 1.9; max-width: 470px; }
.social-links { display: flex; flex-wrap: wrap; gap: 25px; border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; }
.social-links a { font: 9px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--text); }
.social-links a span { color: var(--accent); margin-left: 5px; }
.contact-section { background: var(--bg-soft); padding-top: 75px; padding-bottom: 26px; }
.contact-section .eyebrow { margin-bottom: 65px; }
.contact-main { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 85px; }
.contact-main h2 { font-size: clamp(55px, 9.5vw, 130px); }
.contact-main h2 em { color: var(--accent); }
.contact-circle { width: clamp(115px, 15vw, 190px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--bg); flex: 0 0 auto; display: grid; place-items: center; text-align: center; font: 10px/1.6 var(--mono); letter-spacing: .1em; transform: rotate(-12deg); transition: transform .3s ease, background .3s ease; }
.contact-circle:hover { transform: rotate(0) scale(1.05); background: var(--text); }

.contact-form { border-top: 1px solid var(--line); padding-top: 28px; padding-bottom: 70px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 24px; }
.contact-form label { display: flex; flex-direction: column; gap: 12px; color: #b7b8c4; font: 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.contact-form input { border: 0; border-bottom: 1px solid rgba(243,242,239,.25); border-radius: 0; background: transparent; color: var(--text); padding: 12px 0 15px; outline: none; font: 14px var(--font); letter-spacing: 0; text-transform: none; min-width: 0; }
.contact-form input:focus { border-color: var(--accent); }
.contact-form input::placeholder { color: #74778a; }
.optional { color: #85889a; }
.form-submit-row { display: flex; align-items: center; gap: 25px; margin-top: 32px; }
.submit-button { border: 0; background: var(--accent); color: var(--bg); padding: 17px 22px; cursor: pointer; font: 10px var(--mono); letter-spacing: .1em; transition: background .2s, transform .2s; }
.submit-button span { margin-left: 18px; font-size: 15px; }
.submit-button:hover { background: var(--text); transform: translateY(-2px); }
.submit-button:disabled { opacity: .6; cursor: wait; transform: none; }
.form-status { color: #85889a; font-size: 11px; line-height: 1.6; }
.form-status.error { color: #ff997f; }.form-status.success { color: var(--accent); }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

.contact-bottom { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; color: #85889a; font-size: 8px; }
.contact-bottom .attention { color: var(--accent); }
.site-footer { padding: 26px clamp(22px, 7.2vw, 112px); display: flex; justify-content: space-between; align-items: center; color: #85889a; font-size: 8px; }
.site-footer .wordmark { color: var(--text); font: 800 20px var(--font); letter-spacing: -.1em; }
.project-dialog { width: min(850px, calc(100% - 32px)); max-width: none; max-height: min(90vh, 900px); padding: 0; border: 1px solid var(--line); background: #171922; color: var(--text); }
.project-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(7px); }
.dialog-close { position: absolute; z-index: 2; top: 15px; right: 15px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.35); color: white; font-size: 25px; cursor: pointer; }
.dialog-art { height: min(45vh, 410px); background: var(--panel); }
.dialog-art img { width: 100%; height: 100%; object-fit: cover; }
.dialog-content { padding: 32px clamp(22px, 5vw, 55px) 40px; }
.dialog-content h2 { font-size: clamp(34px, 5vw, 58px); margin-bottom: 18px; }
.dialog-content p { color: var(--muted); line-height: 1.8; max-width: 620px; }
.dialog-link { display: inline-flex; margin-top: 15px; color: var(--accent); font: 10px var(--mono); letter-spacing: .1em; }
@media (max-width: 850px) {
  .hero-bottom { grid-template-columns: 1fr 1fr; }
  .round-link { display: none; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section { gap: 45px; }
  .about-visual { min-height: 380px; }
  .service-row { grid-template-columns: 35px 1fr 28px; gap: 15px; padding: 15px 0; }
  .service-row p { grid-column: 2; grid-row: 2; margin: -8px 0 7px; }
  .service-arrow { grid-column: 3; grid-row: 1; }
}
@media (max-width: 600px) {
  .site-header { height: 72px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 6px; padding: 10px 0 10px 10px; cursor: pointer; }
  .menu-toggle span { width: 24px; height: 1px; background: var(--text); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 71px; background: #171922; border-bottom: 1px solid var(--line); padding: 24px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .main-nav.is-open { display: flex; }
  .hero { padding-top: 75px; }
  h1 { margin: 38px 0 36px -4px; font-size: clamp(66px, 16vw, 100px); }
  .hero-bottom { grid-template-columns: 1fr; gap: 15px; margin-bottom: 50px; }
  .hero-role { font-size: 21px; }
  .hero-intro { max-width: 360px; font-size: 13px; }
  .hero-wave { min-height: 90px; }
  .hero-wave svg { height: 55px; }
  .wave-end { display: none; }
  .section-heading { display: block; margin-bottom: 36px; }
  .section-note { margin-top: 24px; }
  h2 { font-size: 58px; }
  .work-section { padding-top: 90px; padding-bottom: 90px; }
  .project-grid { grid-template-columns: 1fr; gap: 35px; }
  .project-image, .project-card.card-tall .project-image { aspect-ratio: 1.22 / 1; }
  .project-open { opacity: 1; transform: none; }
  .work-foot { margin-top: 50px; gap: 20px; font-size: 7px; }
  .services-section { padding-top: 85px; padding-bottom: 85px; }
  .services-heading { margin-bottom: 45px; }
  .service-row h3 { font-size: 23px; }
  .about-section { grid-template-columns: 1fr; padding-top: 85px; padding-bottom: 90px; gap: 38px; }
  .about-visual { min-height: 320px; }
  .about-copy h2 { font-size: 53px; }
  .contact-section { padding-top: 60px; }
  .contact-section .eyebrow { margin-bottom: 45px; }
  .contact-main { align-items: flex-end; padding-bottom: 65px; }
  .contact-main h2 { font-size: clamp(47px, 12vw, 72px); }
  .contact-circle { width: 100px; font-size: 8px; }
  .contact-bottom { gap: 15px; font-size: 7px; }
  .form-row { grid-template-columns: 1fr; gap: 22px; }
  .form-submit-row { align-items: flex-start; flex-direction: column; gap: 10px; }
  .site-footer { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
