@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1D62-1D65,U+1D6B-1D77,U+1D79-1DBE,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  color-scheme: dark;
  --background: #10120f;
  --foreground: #f2f3eb;
  --muted: #9b9f94;
  --accent: #c1f76a;
  --line: #ffffff14;
  font-family: "Manrope", sans-serif;
  background: var(--background);
  color: var(--foreground);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
::selection { color: var(--background); background: var(--accent); }

.page {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  overflow: clip;
  background-image: linear-gradient(90deg, transparent calc(100% - 1px), #ffffff03 1px);
  background-size: 12.5% 100%;
}

.page::before {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  content: "";
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}

.header {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 5.55%;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 28px;
  font-weight: 750;
  letter-spacing: -1.4px;
  line-height: 1;
}

.brand:focus-visible { outline: 1px solid var(--accent); outline-offset: 9px; }
.brand-mark { width: 27px; height: 30px; color: var(--accent); }
.brand-light { font-weight: 400; }
.brand-period { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 32px; }
.contact-trigger { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-height: 44px; padding: 10px 18px; border: 1px solid var(--accent); background: var(--accent); color: #17220c; font: 650 13px "Manrope", sans-serif; cursor: pointer; }
.contact-trigger > span { font-size: 23px; line-height: 1; }
.contact-trigger:hover { border-color: #d0ff86; background: #d0ff86; }
.contact-trigger:focus-visible { outline: 1px solid var(--accent); outline-offset: 7px; }

.eyebrow,
.coordinate,
.visual-caption,
.footer {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 1.6px;
  line-height: 1.5;
}

.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px #c1f74450; }

.hero {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  width: 100%;
  min-height: 690px;
  max-width: 1800px;
  margin: 0 auto;
  padding: 65px 8.3% 68px;
}

.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 13px; margin: 0 0 30px; color: var(--muted); }
.eyebrow > span { width: 22px; height: 1px; background: var(--accent); }

h1 {
  margin: 0;
  font-size: clamp(76px, 7.6vw, 128px);
  font-weight: 500;
  letter-spacing: -.072em;
  line-height: 1.025;
}

h1 > span { color: var(--accent); }
.description { margin: 27px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; letter-spacing: -.25px; }

.artwork { position: absolute; top: 50%; left: 40%; width: 61%; aspect-ratio: 1.3; transform: translateY(-50%); pointer-events: none; }
.artwork-glow { position: absolute; inset: 10%; border-radius: 50%; background: radial-gradient(ellipse, #b5e16a0a, #87b44203 50%, transparent 72%); }
#signal-field { position: absolute; inset: 0; width: 100%; height: 100%; }
.coordinate { color: #8a967a; font-size: 9px; letter-spacing: 1.2px; white-space: nowrap; }
.coordinate-top { color: #d6bc88; }
.coordinate-right { color: #75e2d3; }
.coordinate-bottom { color: #c1f76a; }
.visual-caption { position: absolute; top: 90%; left: 8%; right: 8%; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.footer { z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 5.55%; padding: 23px 0 25px; border-top: 1px solid var(--line); color: #737b69; font-size: 9px; letter-spacing: 1px; }
.footer-concept { display: flex; align-items: center; gap: 16px; }
.footer-concept > span { color: #b2c895; font-size: 13px; line-height: 1; }

.contact-dialog {
  width: min(940px, calc(100% - 40px));
  max-height: calc(100svh - 40px);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid #c1f76a35;
  border-top: 2px solid var(--accent);
  background: #111610;
  color: var(--foreground);
  box-shadow: 0 28px 110px #0009;
}

.contact-dialog::backdrop { background: #080b08d9; backdrop-filter: blur(8px); }
body:has(.contact-dialog[open]) { overflow: hidden; }
.contact-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 30px; border-bottom: 1px solid var(--line); }
.contact-kicker { display: flex; align-items: center; gap: 10px; margin: 0; color: var(--muted); font: 9px/1.5 "SFMono-Regular", Consolas, "Liberation Mono", monospace; letter-spacing: 1.5px; }
.contact-close { display: grid; width: 32px; height: 32px; padding: 0; place-items: center; border: 1px solid #ffffff20; background: transparent; color: var(--muted); font: 25px/1 "Manrope", sans-serif; cursor: pointer; }
.contact-close:hover { border-color: #c1f76a80; color: var(--accent); }
.contact-close:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.contact-layout { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 44px; padding: 32px; }
.contact-profile { min-width: 0; margin: 0; }
.contact-portrait { position: relative; width: min(100%, 190px); padding: 7px; border: 1px solid #ffffff14; }
.contact-portrait::before,
.contact-portrait::after { position: absolute; z-index: 1; width: 29px; height: 29px; content: ""; pointer-events: none; }
.contact-portrait::before { top: -1px; left: -1px; border-top: 1px solid var(--accent); border-left: 1px solid var(--accent); }
.contact-portrait::after { right: -1px; bottom: -1px; border-right: 1px solid #75e2d3; border-bottom: 1px solid #75e2d3; }
.contact-portrait img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 7; object-fit: cover; object-position: center 30%; }
.contact-profile figcaption { padding-top: 23px; }
.contact-profile-name { margin: 0 0 15px; font-size: 29px; font-weight: 500; letter-spacing: -.055em; line-height: 1.2; }
.contact-profile-name > span { color: var(--accent); }
.contact-profile-links { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
.contact-profile-links a { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; color: #aebaa3; font-size: 12px; line-height: 1.5; text-decoration: none; }
.contact-profile-links a > span:first-child { overflow-wrap: anywhere; }
.contact-profile-links a > span:last-child { color: #75e2d3; font-size: 16px; }
.contact-profile-links a:hover { color: var(--foreground); }
.contact-profile-links a:focus-visible { outline: 1px solid #75e2d3; outline-offset: 5px; }
.contact-compose { min-width: 0; }
.contact-dialog h2 { margin: -3px 0 30px; font-size: clamp(38px, 4.8vw, 53px); font-weight: 500; letter-spacing: -.065em; line-height: 1.03; }
.contact-dialog h2 > span { color: var(--accent); }
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-field { display: flex; min-width: 0; flex-direction: column; gap: 11px; }
.contact-field > span { color: #acb6a3; font: 10px/1.5 "SFMono-Regular", Consolas, "Liberation Mono", monospace; letter-spacing: 1px; text-transform: uppercase; }
.contact-field input,
.contact-field textarea { width: 100%; min-width: 0; border: 1px solid #75e2d324; border-radius: 0; padding: 12px 13px; background: #080e0a90; color: var(--foreground); font: 400 15px/1.5 "Manrope", sans-serif; caret-color: #75e2d3; }
.contact-field textarea { min-height: 138px; max-height: 300px; resize: vertical; }
.contact-field input:focus,
.contact-field textarea:focus { outline: 1px solid #75e2d3; outline-offset: -1px; border-color: #75e2d3; }
.contact-field:focus-within > span { color: #75e2d3; }
.contact-trap { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-submit-row { display: flex; align-items: center; justify-content: flex-end; gap: 20px; padding-top: 2px; }
.contact-feedback { flex: 1; margin: 0; color: #aebaa3; font-size: 12px; line-height: 1.6; }
.contact-feedback[data-state="success"] { color: #75e2d3; }
.contact-feedback[data-state="error"] { color: #f2b4a5; }
.contact-submit { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: 24px; min-height: 46px; padding: 11px 17px; border: 1px solid var(--accent); background: var(--accent); color: #17220c; font: 650 12px/1.5 "Manrope", sans-serif; cursor: pointer; }
.contact-submit > span:last-child { font-size: 20px; line-height: 1; }
.contact-submit:hover { background: #d0ff86; border-color: #d0ff86; }
.contact-submit:focus-visible { outline: 1px solid #75e2d3; outline-offset: 5px; }
.contact-submit:disabled { opacity: .6; cursor: wait; }

@media (min-width: 1600px) {
  .hero { padding-top: 90px; padding-bottom: 90px; }
}

@media (max-width: 1000px) {
  .hero { min-height: 720px; padding-left: 7%; }
  h1 { font-size: 88px; }
  .artwork { left: 37%; width: 68%; }
}

@media (max-width: 760px) {
  .contact-dialog { width: min(560px, calc(100% - 32px)); max-height: calc(100svh - 32px); }
  .contact-heading { padding: 16px 24px; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .contact-profile { display: grid; grid-template-columns: 90px minmax(0, 1fr); align-items: center; gap: 22px; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
  .contact-portrait { padding: 4px; }
  .contact-profile figcaption { padding-top: 0; }
  .contact-profile-name { margin-bottom: 12px; font-size: 27px; }
  .contact-profile-links { gap: 7px; }
  .contact-dialog h2 { font-size: 37px; line-height: 1.12; }
  .contact-dialog h2 br { display: none; }
}

@media (max-width: 640px) {
  .header { gap: 12px; margin: 0 7%; padding: 25px 0; }
  .brand { gap: 8px; font-size: clamp(21px, 5.7vw, 24px); }
  .brand-mark { width: 23px; height: 26px; }
  .header-actions { gap: clamp(10px, 3vw, 18px); }
  .contact-trigger { gap: 16px; min-height: 40px; padding: 9px 13px; font-size: 12px; }
  .contact-trigger > span { font-size: 20px; }
  .hero { flex-direction: column; align-items: stretch; min-height: 0; padding: 18px 7% 20px; }
  .eyebrow { margin-bottom: 23px; font-size: 8px; letter-spacing: 1.3px; }
  h1 { font-size: clamp(64px, 14.4vw, 91px); line-height: 1.04; }
  .description { margin-top: 23px; font-size: 14px; }
  .artwork { position: relative; top: auto; left: 50%; width: calc(100% + 14vw); min-height: 300px; aspect-ratio: 1.4; margin-top: 0; margin-bottom: 24px; transform: translateX(-50%); }
  .coordinate { font-size: 7px; letter-spacing: .8px; }
  .footer { margin: 0 7%; padding: 21px 0; font-size: 7px; letter-spacing: .6px; }
  .footer-concept { gap: 9px; }
  .footer-concept > span { font-size: 10px; }
  .footer-domain { white-space: nowrap; }
  .contact-dialog h2 { margin-top: 0; margin-bottom: 26px; }
  .contact-fields { grid-template-columns: 1fr; gap: 20px; }
  .contact-form { gap: 20px; }
  .contact-field input,
  .contact-field textarea { font-size: 16px; }
  .contact-submit-row { align-items: stretch; flex-direction: column; gap: 14px; }
  .contact-feedback:empty { display: none; }
}

@media (max-width: 380px) {
  .contact-layout { padding: 20px; }
  .contact-heading { padding-right: 20px; padding-left: 20px; }
  .contact-profile { grid-template-columns: 76px minmax(0, 1fr); gap: 15px; }
  .contact-profile-name { font-size: 23px; }
  .contact-profile-links a { gap: 7px; font-size: 11px; }
  .contact-dialog h2 { font-size: 32px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: arrive 1s ease-out both; }
  .artwork { animation: reveal 1.8s ease-out both; }
  .contact-dialog[open] { animation: contact-open 260ms ease-out both; }
  @keyframes arrive { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
  @keyframes reveal { from { opacity: 0; } }
  @keyframes contact-open { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
}
