@charset "UTF-8";

:root {
  color-scheme: light;
  --bg: #f6f8f4;
  --paper: #ffffff;
  --ink: #14252a;
  --muted: #4f6266;
  --line: #d7e2dd;
  --blue: #3056bd;
  --green: #08776b;
  --lime: #d7ef8a;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  --sans: "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

::selection { color: var(--ink); background: var(--lime); }

a { color: inherit; text-decoration: none; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }

.skip-link {
  position: absolute;
  z-index: 20;
  top: -100px;
  left: 20px;
  padding: 12px 16px;
  color: #fff;
  background: var(--ink);
}
.skip-link:focus { top: 12px; }

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 81% 21%, rgba(200, 239, 228, 0.45), transparent 24%),
    linear-gradient(rgba(46, 93, 109, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 93, 109, 0.035) 1px, transparent 1px),
    var(--bg);
  background-size: auto, 34px 34px, 34px 34px, auto;
}

.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(3.8vw, calc((100vw - 1440px) / 2 + 45px));
  width: 1px;
  background: rgba(48, 86, 189, 0.13);
  content: "";
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  align-items: center;
  gap: clamp(40px, 5vw, 95px);
  max-width: 1440px;
  min-height: 704px;
  margin: 0 auto;
  padding: 72px 5.1% 80px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow, .section-id, .module-meta, .module-type,
.module-link, .hero-tags, .hero-baseline, .editor-top,
.editor-bottom, .stage-coordinate, .craft-panel-top,
.craft-panel-bottom, .footer, .primary-link {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 34px;
  color: var(--blue);
}

.eyebrow-square {
  width: 10px;
  height: 10px;
  background: var(--blue);
  box-shadow: 4px 4px 0 var(--lime);
}

.hero h1 {
  margin: 0;
  font-size: clamp(76px, 8vw, 130px);
  font-weight: 800;
  line-height: 0.84;
  letter-spacing: -0.093em;
}

.hero h1 span { color: var(--blue); }
.hero h1 i { color: var(--green); font-family: var(--mono); font-size: 0.65em; font-style: normal; vertical-align: 5px; animation: cursor 1.1s steps(1) infinite; }

.hero-role {
  margin: 45px 0 16px;
  font-size: clamp(24px, 2.35vw, 35px);
  font-weight: 760;
  line-height: 1.2;
  letter-spacing: -0.047em;
}

.hero-role span { color: var(--blue); }
.hero-role b { color: #a4b4b0; font-family: var(--mono); font-size: 0.8em; font-weight: 400; }

.hero-description {
  max-width: 550px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 29px; color: #305b57; font-size: 10px; }
.hero-tags span { padding: 9px 11px; border: 1px solid #c9d9d0; background: rgba(255, 255, 255, 0.55); }

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 38px;
  min-height: 52px;
  margin-top: 34px;
  padding: 0 19px;
  color: #fff;
  background: var(--blue);
  transition: background 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.primary-link:hover { background: #203f98; box-shadow: 6px 6px 0 var(--lime); transform: translate(-2px, -2px); }
.primary-link span { font-size: 20px; font-weight: 400; }

.editor-frame {
  position: relative;
  width: 100%;
  max-width: 595px;
  justify-self: end;
  overflow: hidden;
  border: 1px solid #aebfbb;
  background: var(--paper);
  box-shadow: 17px 19px 0 rgba(63, 112, 111, 0.08), 0 28px 70px rgba(27, 58, 68, 0.08);
}

.editor-top {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  height: 45px;
  padding: 0 17px;
  border-bottom: 1px solid var(--line);
  color: #52666d;
  font-size: 10px;
  white-space: nowrap;
}
.editor-top > span:nth-child(2) { justify-self: center; }

.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 8px; height: 8px; border: 1px solid #9bb1ac; border-radius: 50%; }
.window-dots i:first-child { background: #d2ea91; }
.window-dots i:nth-child(2) { background: #b9ded4; }
.window-dots i:nth-child(3) { background: #c5d5ee; }

.editor-status { justify-self: end; color: var(--green); }
.editor-status i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--green); vertical-align: 1px; }

.editor-content { position: relative; padding: 22px 25px 10px 54px; }
.editor-gutter { position: absolute; top: 30px; left: 19px; display: flex; flex-direction: column; gap: 26px; color: #9aaca8; font-family: var(--mono); font-size: 10px; }

.portrait-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 385px;
  overflow: hidden;
  border: 1px solid #ceddd6;
  background: #f9fcff;
  isolation: isolate;
}

.stage-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(#bad1c9 1px, transparent 1px), linear-gradient(90deg, #bad1c9 1px, transparent 1px);
  background-size: 27px 27px;
  opacity: 0.46;
}

.portrait-stage::before, .portrait-stage::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(48, 86, 189, 0.14);
  content: "";
}
.portrait-stage::after { top: 0; left: 50%; width: 1px; height: 100%; }

.stage-corner { position: absolute; z-index: 5; width: 15px; height: 15px; border-color: var(--blue); border-style: solid; }
.corner-tl { top: 12px; left: 12px; border-width: 2px 0 0 2px; }
.corner-tr { top: 12px; right: 12px; border-width: 2px 2px 0 0; }
.corner-bl { bottom: 12px; left: 12px; border-width: 0 0 2px 2px; }
.corner-br { right: 12px; bottom: 12px; border-width: 0 2px 2px 0; }

.portrait-art {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  background: #fff;
}

.portrait-monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  color: #0b726c;
  font-size: 112px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.17em;
  text-shadow: 4px 5px 0 rgba(255, 255, 255, 0.75);
  transform: translate(-57%, -53%);
  user-select: none;
}

#portrait-image, .portrait-signal { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 15%; }
#portrait-image { display: none; animation: portrait-float 10s ease-in-out infinite alternate; }
.has-portrait #portrait-image { display: block; }
.has-portrait .portrait-monogram { display: none; }
.portrait-signal { display: none; pointer-events: none; mix-blend-mode: multiply; mask-image: linear-gradient(90deg, transparent 47%, #000 77%); }
.has-portrait .portrait-signal { display: block; animation: portrait-signal 5.8s ease-in-out infinite alternate; }

.stage-cross { position: absolute; z-index: 4; color: var(--blue); font-family: var(--mono); font-size: 17px; }
.stage-cross-a { top: 27%; left: 14%; }
.stage-cross-b { right: 14%; bottom: 24%; }
.stage-coordinate { position: absolute; z-index: 5; right: 23px; bottom: 17px; color: #366a63; font-size: 9px; }

.scanline {
  position: absolute;
  z-index: 4;
  top: -25%;
  left: 0;
  width: 100%;
  height: 23%;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.28), transparent);
  pointer-events: none;
  animation: scan 7s linear infinite;
}

.code-sample { padding: 17px 0 7px; font-family: var(--mono); font-size: 11px; line-height: 1.75; white-space: nowrap; }
.code-sample > div { display: flex; align-items: baseline; gap: 19px; }
.code-sample .line-no { margin-left: -35px; color: #9aaca8; }
.code-sample code { color: #394b55; font-family: inherit; }
.syntax-purple { color: #6a54ad; }
.syntax-green { color: #08776b; }
.code-cursor { color: var(--blue); animation: cursor 1.1s steps(1) infinite; }

.editor-bottom { display: flex; justify-content: space-between; padding: 9px 16px; color: #eaf4f2; background: #244c57; font-size: 9px; }

.hero-baseline {
  position: absolute;
  right: max(5.1vw, calc((100vw - 1440px) / 2 + 73px));
  bottom: 22px;
  left: max(5.1vw, calc((100vw - 1440px) / 2 + 73px));
  display: flex;
  justify-content: space-between;
  color: #55716e;
  font-size: 10px;
}

.section { max-width: 1440px; margin: 0 auto; padding: 115px 5.1% 125px; }
.modules { background: #fff; max-width: none; }
.modules > * { max-width: 1293px; margin-right: auto; margin-left: auto; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 45px; }
.section-id { margin: 0 0 20px; color: var(--blue); }
.section-heading h2, .craft h2, .contact h2 { margin: 0; font-size: clamp(50px, 5.4vw, 78px); font-weight: 770; line-height: 1; letter-spacing: -0.071em; }
.section-heading h2 span, .craft h2 span { color: var(--blue); }
.accent-dot { color: var(--green) !important; }
.section-heading > p { max-width: 255px; margin: 0 0 6px; color: var(--muted); font-size: 15px; line-height: 1.6; }

.module-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.module {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 455px;
  overflow: hidden;
  padding: 19px 19px 25px;
  border: 1px solid var(--line);
  border-top-width: 3px;
  transition: transform 230ms ease, box-shadow 230ms ease, border-color 230ms ease;
}
.module:hover { transform: translateY(-4px); box-shadow: 9px 10px 0 rgba(44, 90, 104, 0.07); }
.module-myli { grid-column: span 6; border-top-color: var(--blue); background: #f0f5fc; }
.module-dsl { grid-column: span 6; border-top-color: var(--green); background: #eff7f2; }
.module-magic { grid-column: span 4; border-top-color: #5a5eaa; background: #f0f2fb; }
.module-mizou { grid-column: span 4; border-top-color: #03a69f; background: #effafa; }
.module-pirate { grid-column: span 4; border-top-color: #a87b36; background: #fcf8ef; }

.module-meta { position: relative; z-index: 2; display: flex; justify-content: space-between; gap: 10px; margin-bottom: 16px; color: #435c62; font-size: 10px; }
.module-meta span:last-child { color: var(--blue); }
.module-glyph { position: absolute; top: 57px; right: 32px; color: currentColor; font-family: var(--mono); font-size: clamp(75px, 9vw, 130px); font-weight: 700; letter-spacing: -0.14em; line-height: 1; opacity: 0.11; white-space: nowrap; }
.module-myli .module-glyph { color: var(--blue); }
.module-dsl .module-glyph { color: var(--green); }
.module-pirate .module-glyph { color: #78912b; }
.module-content { position: relative; z-index: 2; max-width: 510px; margin-top: 22px; }
.module-type { margin: 0 0 11px; color: #395d69; font-size: 10px; }
.module h3 { margin: 0 0 9px; font-size: clamp(38px, 3.8vw, 59px); font-weight: 760; line-height: 1; letter-spacing: -0.067em; overflow-wrap: anywhere; }
.module-pirate h3, .module-magic h3 { font-size: clamp(35px, 3.3vw, 47px); }
.module h3 span { color: var(--blue); }
.module-content > p:not(.module-type) { max-width: 470px; margin: 0; color: #455a60; font-size: 15px; line-height: 1.6; }
.module-link { display: inline-flex; gap: 22px; align-items: center; margin-top: 22px; padding-bottom: 5px; border-bottom: 1px solid currentColor; color: var(--blue); font-size: 10px; transition: color 200ms ease, gap 200ms ease; }
.module-link:hover { gap: 27px; color: #183780; }
.module-link span { font-size: 17px; font-weight: 400; line-height: 0.5; }

.module-visual { position: relative; flex: 0 0 auto; height: 205px; overflow: hidden; border: 1px solid rgba(28, 69, 77, 0.15); background: #e6eeeb; }
.project-shot { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 450ms cubic-bezier(.2,.7,.3,1); }
.module:hover .project-shot { transform: scale(1.045); }
.site-visual::after { position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(11, 43, 44, .26)); pointer-events: none; content: ""; }
.visual-label { position: absolute; z-index: 2; bottom: 13px; left: 13px; padding: 7px 9px; background: rgba(255,255,255,.95); color: #234b53; font-family: var(--mono); font-size: 10px; font-weight: 700; }
.project-logo { position: absolute; z-index: 3; right: 12px; bottom: 12px; display: grid; place-items: center; width: 66px; height: 66px; padding: 5px; border: 1px solid #d8e4e0; background: #fff; box-shadow: 3px 4px 0 rgba(12,42,43,.14); }
.project-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.myli-logo { width: 116px; height: 62px; padding: 11px; }
.mizou-logo { width: 73px; height: 73px; }
.lumina-logo { width: 74px; height: 74px; padding: 0; border-color: #314654; }
.lumina-logo img { width: 100%; height: 100%; }
.module-myli .project-shot { object-position: center top; }
.gaming-visual { display: grid; place-items: center; background: radial-gradient(circle at center, #404e7b, #222b51 62%, #1a2244); }
.gaming-visual > img { position: relative; z-index: 2; width: min(75%, 230px); height: auto; filter: drop-shadow(0 10px 18px rgba(0,0,0,.24)); }
.gaming-orbit { position: absolute; width: 280px; height: 280px; border: 1px solid rgba(228,232,255,.18); border-radius: 50%; box-shadow: 0 0 0 37px rgba(211,219,255,.04),0 0 0 75px rgba(211,219,255,.025); }
.gaming-visual-caption { position: absolute; right: 12px; bottom: 12px; color: #cdd9ff; font-family: var(--mono); font-size: 9px; font-weight: 700; letter-spacing: .08em; }
.pirate-visual { background: #1c1a1f; }
.pirate-visual .project-shot { object-position: center; }

.craft { display: grid; grid-template-columns: 1fr 0.92fr; align-items: center; gap: 6%; min-height: 560px; }
.craft h2 { font-size: clamp(55px, 5.5vw, 82px); }
.craft-copy > p:last-child { max-width: 570px; margin: 29px 0 0; color: var(--muted); font-size: 17px; line-height: 1.75; }
.craft-panel { border: 1px solid #b8cbc2; background: var(--paper); box-shadow: 10px 10px 0 #dcebe2; }
.craft-panel-top, .craft-panel-bottom { display: flex; justify-content: space-between; padding: 17px 21px; font-size: 10px; }
.craft-panel-top { border-bottom: 1px solid var(--line); color: var(--blue); }
.craft-panel-top span:last-child { color: #617870; }
.craft-panel ol { margin: 0; padding: 5px 21px; list-style: none; }
.craft-panel li { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 10px; min-height: 61px; border-bottom: 1px solid #e4ece7; }
.craft-panel li:last-child { border-bottom: 0; }
.craft-panel li span { color: #83968e; font-family: var(--mono); font-size: 11px; }
.craft-panel li strong { font-size: 14px; font-weight: 720; }
.craft-panel li b { color: var(--green); font-family: var(--mono); font-size: 10px; font-weight: 500; white-space: nowrap; }
.craft-panel-bottom { border-top: 1px solid var(--line); color: #637870; }
.craft-panel-bottom span { color: var(--blue); font-size: 17px; line-height: 0.5; }

.contact { display: grid; grid-template-columns: 1fr .8fr; align-items: center; gap: 8%; max-width: none; min-height: 750px; padding-inline: max(5.1vw, calc((100vw - 1440px) / 2 + 73px)); border-top: 1px solid var(--line); background: #eaf3ef; }
.contact h2 { font-size: clamp(55px, 5.8vw, 84px); }
.contact h2 span { color: var(--blue); }
.contact h2 i { color: var(--green); font-family: var(--mono); font-size: .75em; font-style: normal; animation: cursor 1.1s steps(1) infinite; }
.contact-copy > p:not(.section-id) { max-width: 540px; margin: 25px 0 0; color: var(--muted); font-size: 17px; line-height: 1.65; }
.contact-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 48px; min-height: 53px; margin-top: 29px; padding: 0 19px; color: #fff; background: var(--blue); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .08em; transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease; }
a.contact-link:hover { background: #203f98; box-shadow: 6px 6px 0 var(--lime); transform: translate(-2px,-2px); }
.contact-link > span { font-size: 19px; font-weight: 400; }
.contact-terminal { width: 100%; max-width: 520px; justify-self: end; border: 1px solid #a9c2b9; background: #fff; box-shadow: 12px 12px 0 rgba(60,116,101,.12); }
.contact-terminal-top, .contact-terminal-bottom { display: flex; align-items: center; justify-content: space-between; height: 43px; padding: 0 16px; border-bottom: 1px solid var(--line); color: #52666d; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.contact-terminal-top > span:last-child { color: var(--green); }
.contact-terminal-body { padding: 23px 27px 15px; color: #25444c; font-family: var(--mono); font-size: clamp(14px, 1.45vw, 18px); line-height: 1.8; }
.terminal-prompt { color: var(--green); font-weight: 800; }
.terminal-output { color: var(--blue); }
.terminal-cursor { display: inline-block; margin-left: 8px; color: var(--green); animation: cursor 1.1s steps(1) infinite; }
.contact-terminal-bottom { height: 33px; border-top: 1px solid var(--line); border-bottom: 0; font-size: 9px; }
.contact-form { padding: 0 27px 25px; scroll-margin-top: 25px; }
.contact-form-row { margin-top: 15px; }
.contact-form-row label, .contact-verification > span { display: block; margin-bottom: 7px; color: #42636a; font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: .09em; }
.contact-form-row label span { color: var(--blue); }
.contact-form-row input, .contact-form-row textarea { display: block; width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid #c5d7d1; border-radius: 0; outline: 0; background: #f8fbf9; color: var(--ink); font: 14px/1.4 var(--sans); transition: border-color 150ms ease, box-shadow 150ms ease; }
.contact-form-row textarea { min-height: 105px; resize: vertical; }
.contact-form-row input::placeholder, .contact-form-row textarea::placeholder { color: #81918e; opacity: 1; }
.contact-form-row input:focus, .contact-form-row textarea:focus { border-color: var(--blue); box-shadow: 3px 3px 0 rgba(48,86,189,.13); }
.contact-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.contact-verification { min-height: 91px; margin-top: 18px; }
.contact-verification > span { color: var(--green); }
.contact-submit { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; min-height: 48px; padding: 0 15px; border: 0; border-radius: 0; background: var(--blue); color: #fff; cursor: pointer; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; transition: background 180ms ease, box-shadow 180ms ease, transform 180ms ease; }
.contact-submit span { font-size: 19px; font-weight: 400; }
.contact-submit:hover:not(:disabled) { background: #203f98; box-shadow: 5px 5px 0 var(--lime); transform: translate(-2px,-2px); }
.contact-submit:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.contact-submit:disabled { cursor: wait; opacity: .55; }
.contact-status { min-height: 19px; margin: 12px 0 0; color: #52666d; font-family: var(--mono); font-size: 10px; line-height: 1.5; }
.contact-status.is-error { color: #a83035; }
.contact-status.is-success { color: var(--green); }

.footer {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 27px;
  min-height: 134px;
  padding: 30px max(5.1vw, calc((100vw - 1440px) / 2 + 73px));
  border-top: 1px solid var(--line);
  background: #fff;
  color: #34515a;
  font-size: 10px;
}
.footer-signature { color: var(--ink); font-family: var(--sans); font-size: 34px; font-weight: 800; letter-spacing: -0.13em; }
.footer-signature span { color: var(--blue); }
.footer p { margin: 0; line-height: 1.65; }
.footer small { color: #607477; font-size: 10px; font-weight: 400; letter-spacing: 0; }
.footer-links { display: flex; gap: 25px; }
.footer-links a { transition: color 200ms ease; }
.footer-links a:hover { color: var(--blue); }
.footer-end { color: #738587; white-space: nowrap; }

.motion .reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms ease, transform 680ms cubic-bezier(0.2, 0.75, 0.25, 1); }
.motion .reveal.is-visible { opacity: 1; transform: translateY(0); }
.hero-copy .reveal:nth-child(2) { transition-delay: 60ms; }
.hero-copy .reveal:nth-child(3) { transition-delay: 120ms; }
.hero-copy .reveal:nth-child(4) { transition-delay: 180ms; }
.hero-copy .reveal:nth-child(5) { transition-delay: 230ms; }
.hero-copy .reveal:nth-child(6) { transition-delay: 280ms; }
.module:nth-child(2), .module:nth-child(4) { transition-delay: 90ms; }

@keyframes cursor { 50% { opacity: 0; } }
@keyframes scan { to { top: 125%; } }
@keyframes portrait-float { to { transform: scale(1.035) translateY(-3px); } }
@keyframes portrait-signal { from { opacity: 0.08; transform: translateX(-5px); } to { opacity: 0.28; transform: translateX(7px); } }

@media (max-width: 1140px) {
  .hero-inner { gap: 35px; }
  .hero h1 { font-size: clamp(73px, 8vw, 108px); }
  .hero-description { font-size: 16px; }
  .portrait-stage { height: 340px; }
  .portrait-monogram { font-size: 99px; }
  .module-visual { height: 188px; }
  .module h3 { font-size: 45px; }
  .module-pirate h3, .module-magic h3 { font-size: 35px; }
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; max-width: 780px; padding: 76px 6% 90px; }
  .hero h1 { font-size: clamp(85px, 12vw, 120px); }
  .editor-frame { max-width: 620px; justify-self: start; }
  .portrait-stage { height: 385px; }
  .portrait-monogram { font-size: 112px; }
  .hero-baseline { right: 6%; left: 6%; }
  .section { padding: 90px 6%; }
  .module-myli, .module-dsl, .module-magic, .module-mizou { grid-column: span 6; }
  .module-pirate { grid-column: span 12; }
  .module { min-height: 420px; }
  .module-pirate .module-visual { height: 250px; }
  .module-pirate h3, .module-magic h3 { font-size: 42px; }
  .craft { grid-template-columns: 1fr; gap: 43px; }
  .craft-panel { max-width: 650px; }
  .contact { grid-template-columns: 1fr; gap: 48px; }
  .contact-terminal { justify-self: start; }
  .footer { grid-template-columns: auto 1fr auto; padding-inline: 6%; }
  .footer-end { display: none; }
}

@media (max-width: 700px) {
  .hero-inner { gap: 48px; padding: 58px 5.5% 82px; }
  .hero h1 { font-size: clamp(67px, 14vw, 95px); }
  .hero-role { margin-top: 35px; font-size: clamp(22px, 5.6vw, 28px); }
  .hero-description { font-size: 15px; }
  .hero-tags { gap: 6px; }
  .hero-tags span { padding: 8px; font-size: 9px; }
  .editor-content { padding: 14px 15px 7px 42px; }
  .editor-gutter { top: 23px; left: 12px; font-size: 9px; gap: 25px; }
  .portrait-stage { height: 290px; }
  .portrait-monogram { font-size: 86px; }
  .code-sample { font-size: 9px; }
  .code-sample > div { gap: 12px; }
  .code-sample .line-no { margin-left: -29px; }
  .stage-coordinate { right: 17px; bottom: 13px; font-size: 8px; }
  .hero-baseline { right: 5.5%; left: 5.5%; font-size: 9px; }
  .section { padding: 77px 5.5%; }
  .section-heading { display: block; margin-bottom: 30px; }
  .section-heading h2, .craft h2, .contact h2 { font-size: clamp(48px, 9vw, 67px); }
  .section-heading > p { max-width: 400px; margin-top: 17px; }
  .module-grid { grid-template-columns: 1fr; gap: 12px; }
  .module-myli, .module-dsl, .module-magic, .module-mizou, .module-pirate { grid-column: auto; }
  .module { min-height: auto; padding: 18px 18px 25px; }
  .module-visual, .module-pirate .module-visual { height: 205px; }
  .module h3 { font-size: 45px; }
  .module-pirate h3, .module-magic h3 { font-size: 39px; }
  .craft-copy > p:last-child { font-size: 16px; }
  .contact-copy > p:not(.section-id) { font-size: 16px; }
  .contact-terminal-body { padding: 21px 20px 13px; font-size: 14px; }
  .contact-form { padding: 0 20px 22px; }
  .footer { grid-template-columns: auto 1fr; gap: 20px; padding: 32px 5.5%; }
  .footer-links { grid-column: span 2; gap: 26px; }
}

@media (max-width: 400px) {
  .hero h1 { font-size: 64px; }
  .hero-inner { padding-top: 49px; }
  .hero-role { font-size: 22px; }
  .portrait-stage { height: 250px; }
  .portrait-monogram { font-size: 77px; }
  .code-sample { font-size: 8px; }
  .module-meta { font-size: 9px; }
  .module-visual, .module-pirate .module-visual { height: 175px; }
  .module-pirate h3, .module-magic h3 { font-size: 35px; }
  .craft-panel li { grid-template-columns: 28px 1fr; }
  .craft-panel li b { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .motion .reveal { opacity: 1; transform: none; }
}
