:root {
  --bg: #0a0a0a;
  --paper: #f0efe9;
  --text: #efeee8;
  --muted: #a5a49f;
  --line: #333330;
  --ink: #11110f;
  --max: 1180px;
  --pad: clamp(1.25rem, 4vw, 3rem);
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: .035;
  background-image: repeating-radial-gradient(circle at 20% 30%, #fff 0, #fff .55px, transparent .75px, transparent 3px);
  background-size: 5px 5px;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--paper); color: var(--ink); }
.shell { width: min(100%, calc(var(--max) + var(--pad) * 2)); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: fixed;
  z-index: 200;
  top: 1rem;
  left: 1rem;
  padding: .75rem 1rem;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  width: min(100%, calc(var(--max) + var(--pad) * 2));
  height: 5.5rem;
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; gap: .85rem; }
.brand > span {
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--text);
  border-radius: 50%;
  font: 600 .65rem var(--mono);
  transform: rotate(-7deg);
}
.brand small { font: .68rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }

.header-actions { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); }
.language-switcher { display: flex; align-items: center; gap: .32rem; color: #5e5e59; font: .58rem var(--mono); }
.language-switcher button { padding: .25rem .1rem; border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.language-switcher button[aria-pressed="true"] { color: var(--text); }
.language-switcher button:hover, .language-switcher button:focus-visible { color: var(--text); }

.main-nav { display: flex; gap: clamp(1.2rem, 2.7vw, 2.8rem); }
.main-nav a { color: var(--muted); font-size: .76rem; }
.main-nav a::after { content: ""; display: block; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .2s ease; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--text); }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

.menu-toggle { display: none; padding: .5rem; border: 0; background: transparent; color: var(--text); }
.menu-toggle i { display: block; width: 1.5rem; height: 1px; margin: .35rem 0; background: currentColor; }

.hero {
  min-height: calc(100svh - 5.5rem);
  padding-top: clamp(4rem, 9vh, 7rem);
  padding-bottom: 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(16rem, .7fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.hello { margin: 0 0 2rem; color: var(--muted); font: .74rem var(--mono); }
.hello span { display: inline-block; margin-right: .45rem; color: var(--text); transform: rotate(9deg); }
.hello strong { color: var(--text); font-weight: 500; }

h1, h2 { font-weight: 500; letter-spacing: -.06em; }
h1 { margin: 0; max-width: 16ch; font-size: clamp(3.35rem, 6.7vw, 6.35rem); line-height: .98; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; }

.intro { max-width: 39rem; margin: 2.25rem 0 0; color: #c4c3bd; font-size: clamp(1rem, 1.45vw, 1.18rem); line-height: 1.65; }
.hero-actions { margin-top: 2.3rem; display: flex; align-items: center; gap: 1.7rem; }
.button { display: inline-flex; justify-content: space-between; gap: 2.2rem; min-width: 13.5rem; padding: 1rem 1.1rem; background: var(--paper); color: var(--ink); font-size: .78rem; transition: transform .2s; }
.button:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 #5a5a55; }
.text-link { color: var(--muted); font-size: .75rem; border-bottom: 1px solid var(--line); padding-bottom: .2rem; }
.text-link:hover { color: var(--text); }

.note-card {
  position: relative;
  align-self: center;
  padding: 2rem;
  background: var(--paper);
  color: var(--ink);
  transform: rotate(1.2deg);
  box-shadow: 12px 12px 0 #181816;
}
.note-card::before { content: ""; position: absolute; left: 13%; right: 13%; top: -.55rem; height: 1rem; background: rgba(180,180,170,.6); transform: rotate(-2deg); }
.note-label { margin: 0 0 2.4rem; font: .62rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.note-lead { margin: 0; font: 400 1.45rem/1.25 var(--serif); }
.note-card ol { list-style: none; margin: 2rem 0 0; padding: 0; border-top: 1px solid #c8c7c0; }
.note-card li { padding: .9rem 0; display: grid; grid-template-columns: 2.3rem 1fr; gap: .5rem; border-bottom: 1px solid #c8c7c0; font-size: .82rem; line-height: 1.4; }
.note-card li span { font: .6rem var(--mono); color: #77766f; }
.note-sign { margin: 2rem 0 0; text-align: right; font: italic 1rem var(--serif); }

.section { padding-top: clamp(7rem, 13vw, 11rem); padding-bottom: clamp(7rem, 13vw, 11rem); border-top: 1px solid var(--line); }
.section-intro { display: grid; grid-template-columns: 16rem 1fr; gap: 2rem; align-items: start; }
.kicker { margin: .5rem 0 0; color: var(--muted); font: .65rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.kicker::before { content: "↳ "; color: var(--text); }
.section h2, .contact h2, .work h2 { margin: 0; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: .98; }

.about { display: grid; grid-template-columns: minmax(17rem, .82fr) minmax(0, 1.18fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.about-heading { position: sticky; top: 3rem; }
.about-heading .kicker { margin-bottom: 2rem; }
.about-heading h2 { font-size: clamp(2.8rem, 5.5vw, 5.2rem); }
.about-story { padding-top: .5rem; }
.about-lead { margin: 0 0 3.5rem; font: 400 clamp(1.65rem, 2.8vw, 2.45rem)/1.3 var(--serif); letter-spacing: -.025em; }
.about-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.about-columns p { margin: 0; color: var(--muted); line-height: 1.72; }
.about-facts { margin: 4.5rem 0 0; border-top: 1px solid var(--line); }
.about-facts > div { display: grid; grid-template-columns: 8rem 1fr; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.about-facts dt { color: #71716c; font: .58rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.about-facts dd { margin: 0; font-size: .9rem; }

.hera-feature { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(19rem, .6fr); gap: clamp(3rem, 8vw, 8rem); background: radial-gradient(circle at 85% 18%, rgba(119,123,180,.12), transparent 28%); }
.hera-main .kicker { margin-bottom: 3rem; }
.hera-name { margin: 0 0 2rem; color: #d8d7d0; font: 700 clamp(1rem, 2vw, 1.4rem) var(--mono); letter-spacing: .22em; }
.hera-name span { color: #777bb4; }
.hera-main h2 { max-width: 12ch; }
.hera-story { max-width: 43rem; margin: 2.5rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.72; }
.hera-link { display: inline-flex; gap: 1rem; margin-top: 2.2rem; padding-bottom: .25rem; border-bottom: 1px solid #696963; font-size: .78rem; }
.hera-link span { transition: transform .2s ease; }
.hera-link:hover span { transform: translate(3px, -3px); }
.hera-aside { align-self: stretch; display: flex; flex-direction: column; border: 1px solid var(--line); background: #0d0d0c; }
.hera-number { min-height: 15rem; padding: 1.7rem; display: flex; flex-direction: column; justify-content: space-between; border-bottom: 1px solid var(--line); }
.hera-number strong { font-size: clamp(4.5rem, 9vw, 8.5rem); font-weight: 500; letter-spacing: -.08em; line-height: .85; }
.hera-number span { max-width: 11rem; color: var(--muted); font: .62rem/1.5 var(--mono); text-transform: uppercase; }
.hera-role { padding: 1.7rem; border-bottom: 1px solid var(--line); }
.hera-role h3 { margin: .4rem 0 1rem; font-size: 1.8rem; font-weight: 500; letter-spacing: -.04em; }
.hera-role > p:last-child { margin: 0; color: var(--muted); font-size: .85rem; line-height: 1.6; }
.hera-stack { display: flex; flex-wrap: wrap; gap: .5rem; padding: 1.7rem; }
.hera-stack span { min-height: 2rem; padding: .45rem .65rem; display: inline-flex; align-items: center; gap: .4rem; border: 1px solid var(--line); border-radius: 999px; color: #aaa9a2; font: .56rem var(--mono); }
.hera-stack img { width: .9rem; height: .9rem; object-fit: contain; }
.minecraft-mark { color: #62b47a; font-size: .9rem; }

.service-list { margin-top: 6rem; }
.service-list article {
  display: grid;
  grid-template-columns: 4rem minmax(12rem, .7fr) minmax(15rem, 1fr) 14rem;
  gap: 1rem;
  align-items: baseline;
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}
.service-list article:last-child { border-bottom: 1px solid var(--line); }
.service-no { font: .62rem var(--mono); color: #6f6f6b; }
.service-list h3 { margin: 0; font: 500 clamp(1.45rem, 2.3vw, 2.25rem)/1.1 var(--sans); letter-spacing: -.04em; }
.service-list p { margin: 0; color: var(--muted); line-height: 1.55; }
.service-list small { color: #73736e; font: .56rem/1.5 var(--mono); letter-spacing: .08em; text-align: right; }

.technology-intro > div { min-width: 0; }
.section-summary { max-width: 43rem; margin: 2rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 5.5rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.tech-card {
  min-height: 13rem;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #0d0d0c;
  transition: background .25s ease, transform .25s ease;
}
.tech-card:hover { position: relative; z-index: 1; background: color-mix(in srgb, var(--brand) 8%, #0d0d0c); transform: translateY(-4px); }
.tech-logo {
  width: 3.2rem;
  height: 3.2rem;
  padding: .2rem;
  display: grid;
  place-items: center;
}
.tech-logo img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(.75) saturate(.55); opacity: .78; transition: filter .35s ease, opacity .35s ease, transform .35s ease; }
.tech-logo--light { padding: .5rem; border-radius: .65rem; background: var(--paper); }
.tech-card:hover .tech-logo img, .tech-card:focus-within .tech-logo img { filter: none; opacity: 1; transform: scale(1.08) rotate(-2deg); }
.tech-card h3 { margin: 0 0 .4rem; font-size: 1.05rem; font-weight: 500; letter-spacing: -.02em; }
.tech-card p { margin: 0; color: #777772; font: .58rem/1.5 var(--mono); }
.experience-list { margin-top: 5.5rem; }
.experience-list article {
  display: grid;
  grid-template-columns: 3.5rem minmax(13rem, .7fr) minmax(16rem, 1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.8rem 0;
  border-top: 1px solid var(--line);
}
.experience-list article:last-child { border-bottom: 1px solid var(--line); }
.experience-mark { width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border: 1px solid #585853; border-radius: 50%; font: italic 1rem var(--serif); }
.experience-eyebrow { margin: 0 0 .35rem; color: #73736e; font: .56rem var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.experience-list h3 { margin: 0; font-size: clamp(1.35rem, 2vw, 1.9rem); font-weight: 500; letter-spacing: -.035em; }
.experience-list > article > p { margin: 0; color: var(--muted); line-height: 1.6; }

.work { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
.work-heading { position: sticky; top: 3rem; }
.work-heading .kicker { margin-bottom: 2rem; }
.project-list { margin-top: 3rem; border-top: 1px solid var(--line); }
.project-item { display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; align-items: start; padding: 2.8rem 0; border-bottom: 1px solid var(--line); transition: padding .2s ease; }
.project-item:hover { padding-left: .65rem; }
.project-no { padding-top: .55rem; color: #6f6f6b; font: .61rem var(--mono); }
.project-content { min-width: 0; }
.project-title-row { display: flex; align-items: baseline; justify-content: space-between; gap: 1.5rem; }
.project-item h3 { margin: 0; font-size: clamp(1.8rem, 3.8vw, 3.5rem); font-weight: 500; letter-spacing: -.055em; }
.project-item:nth-child(2) h3 { font-family: var(--serif); font-style: italic; font-weight: 400; }
.project-status { flex: 0 0 auto; color: #74746f; font: .56rem var(--mono); letter-spacing: .06em; }
.project-description { max-width: 40rem; margin: 1.25rem 0 1.5rem; color: var(--muted); line-height: 1.65; }
.project-stack { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.project-stack li { display: inline-flex; align-items: center; gap: .38rem; padding: .42rem .65rem; border: 1px solid color-mix(in srgb, var(--chip) 40%, var(--line)); border-radius: 999px; color: #aaa9a2; font: .55rem var(--mono); letter-spacing: .04em; background: color-mix(in srgb, var(--chip) 7%, transparent); }
.project-stack img { width: .9rem; height: .9rem; object-fit: contain; filter: grayscale(.7) saturate(.6); opacity: .82; transition: filter .25s ease, opacity .25s ease; }
.project-stack li:hover img { filter: none; opacity: 1; }
.project-stack li:has(img[src*="nextjs"]) img { padding: .12rem; border-radius: 50%; background: var(--paper); }
.chip-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--chip); box-shadow: 0 0 0 2px color-mix(in srgb, var(--chip) 20%, transparent); }
.project-actions { margin-top: 1.5rem; }
.project-actions a { display: inline-flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border: 1px solid #4c4c48; color: #d0cfc8; font: .62rem var(--mono); transition: background .2s ease, color .2s ease, border-color .2s ease; }
.project-actions a:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.project-actions a span { transition: transform .2s ease; }
.project-actions a:hover span { transform: translate(3px, -3px); }
.project-button-disabled { display: inline-flex; align-items: center; gap: .75rem; padding: .75rem 1rem; border: 1px dashed #3d3d39; color: #696964; font: .62rem var(--mono); cursor: not-allowed; }
.project-button-disabled > span { color: #4c4c48; }

.code-section .section-intro > div { min-width: 0; }
.github-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.repo-card { min-height: 15rem; padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0d0d0c; transition: background .25s ease, transform .25s ease; }
.repo-card:hover { position: relative; z-index: 1; background: #141412; transform: translateY(-4px); }
.repo-top { display: flex; justify-content: space-between; gap: 1rem; }
.repo-top strong { font-size: 1.05rem; font-weight: 500; letter-spacing: -.02em; overflow-wrap: anywhere; }
.repo-top i { flex: 0 0 auto; font-style: normal; transition: transform .2s ease; }
.repo-card:hover .repo-top i { transform: translate(3px, -3px); }
.repo-card > p { margin: auto 0; color: var(--muted); font-size: .86rem; line-height: 1.6; }
.repo-meta { display: flex; justify-content: space-between; gap: 1rem; color: #777772; font: .56rem var(--mono); }
.repo-meta > span { display: inline-flex; align-items: center; gap: .4rem; }
.repo-meta b { width: .55rem; height: .55rem; border-radius: 50%; background: var(--language, #8c8c86); }
.live-demos { margin-top: 1.25rem; border: 1px solid var(--line); background: #0b0b0a; }
.live-demos-heading { min-height: 3.6rem; padding: .85rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); }
.live-demos-heading p { margin: 0; color: #d0cfc8; font: .58rem var(--mono); letter-spacing: .08em; }
.live-demos-heading span { color: #6f6f69; font: .58rem var(--mono); }
.live-demo-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.live-demo-links a { min-height: 5.5rem; padding: 1rem; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; border-right: 1px solid var(--line); transition: background .2s ease, color .2s ease; }
.live-demo-links a:last-child { border-right: 0; }
.live-demo-links a:hover { background: var(--paper); color: var(--ink); }
.live-demo-links strong { font-size: .92rem; font-weight: 500; }
.live-demo-links span { color: #85857f; font: .56rem var(--mono); white-space: nowrap; }
.live-demo-links a:hover span { color: var(--ink); }
.source-viewer { margin-top: 3rem; border: 1px solid var(--line); background: #080808; overflow: hidden; }
.source-toolbar { min-height: 3.4rem; padding: .7rem 1rem; display: flex; align-items: center; gap: 1rem; border-bottom: 1px solid var(--line); background: #10100f; }
.window-dots { display: flex; gap: .35rem; margin-right: auto; }
.window-dots span { width: .46rem; height: .46rem; border-radius: 50%; background: #41413d; }
.source-toolbar label { color: #6f6f69; font: .55rem var(--mono); letter-spacing: .07em; text-transform: uppercase; }
.source-toolbar select { min-width: 12.5rem; padding: .55rem 2.2rem .55rem .75rem; border: 1px solid #3b3b37; border-radius: 0; color: #d5d4cd; background: #0a0a09; font: .64rem var(--mono); cursor: pointer; }
.source-toolbar select:focus-visible { outline: 1px solid var(--paper); outline-offset: 2px; }
.source-toolbar select:disabled { color: #777772; cursor: wait; }
.source-filebar { min-height: 3rem; padding: .8rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; border-bottom: 1px solid var(--line); color: #8b8b85; font: .58rem var(--mono); }
.source-filebar > span { overflow-wrap: anywhere; }
.source-filebar a { flex: 0 0 auto; color: #b8b7b0; }
.source-filebar a:hover { color: var(--paper); }
.source-code { max-height: 31rem; margin: 0; padding: 1.25rem 0 1.5rem; overflow: auto; color: #d0cfc8; background: #080808; font: .72rem/1.75 var(--mono); tab-size: 4; }
.source-code code { display: block; min-width: max-content; counter-reset: code-line; }
.source-code code > span { min-height: 1.75em; display: block; padding: 0 2rem 0 0; counter-increment: code-line; white-space: pre; }
.source-code code > span::before { content: counter(code-line, decimal-leading-zero); width: 3.5rem; margin-right: 1.25rem; display: inline-block; color: #444440; text-align: right; user-select: none; }
.source-code code > span:hover { background: #10100f; }
.source-status { min-height: 2.7rem; margin: 0; padding: .8rem 1rem; border-top: 1px solid var(--line); color: #686863; font: .55rem var(--mono); }
.github-footer { padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; color: #777772; font: .58rem var(--mono); }
.github-footer p { margin: 0; }
.github-footer a:hover { color: var(--text); }

.method { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 9rem); }
.method .section-intro { display: block; }
.method .kicker { margin-bottom: 2rem; }
.method-lead { margin: 0 0 4rem; font: 400 clamp(1.5rem, 2.5vw, 2.2rem)/1.3 var(--serif); }
.method-steps article { padding: 1.8rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; }
.method-steps article:last-child { border-bottom: 1px solid var(--line); }
.method-steps span { grid-row: span 2; font: italic .9rem var(--serif); color: var(--muted); }
.method-steps h3 { margin: 0; font-size: 1.15rem; font-weight: 500; }
.method-steps p { margin: .55rem 0 0; color: var(--muted); font-size: .9rem; line-height: 1.55; }

.faq { display: grid; grid-template-columns: minmax(17rem, .72fr) minmax(0, 1.28fr); gap: clamp(3rem, 8vw, 8rem); }
.faq-heading { position: sticky; top: 3rem; align-self: start; }
.faq-heading .kicker { margin-bottom: 2rem; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 5.2rem; padding: 1.4rem 0; display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: center; list-style: none; font-size: clamp(1rem, 1.7vw, 1.25rem); cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: #6e6e69; font: .58rem var(--mono); }
.faq-list summary i { font: 300 1.4rem var(--sans); transition: transform .25s ease; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list details > p { margin: 0; padding: 0 3rem 1.7rem 4rem; color: var(--muted); line-height: 1.7; }

.quote-section { display: grid; grid-template-columns: minmax(18rem, .75fr) minmax(0, 1.25fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.quote-heading { position: sticky; top: 3rem; }
.quote-heading .kicker { margin-bottom: 2rem; }
.quote-heading h2 { font-size: clamp(2.8rem, 5.4vw, 5.2rem); }
.quote-intro { max-width: 32rem; margin: 2rem 0 0; color: var(--muted); line-height: 1.7; }
.quote-contact-note { margin-top: 3rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid var(--line); font: .6rem var(--mono); }
.quote-contact-note span { color: #6f6f69; text-transform: uppercase; letter-spacing: .06em; }
.quote-contact-note a { color: #c8c7c0; }
.quote-contact-note a:hover { color: var(--text); }
.quote-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #0b0b0a; }
.form-field { min-width: 0; padding: 1.15rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.form-field--wide { grid-column: 1 / -1; }
.form-field label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; color: #85857f; font: .58rem var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.form-field label span { color: var(--text); }
.form-field input, .form-field textarea, .form-field select { width: 100%; min-height: 3rem; padding: .7rem 0; border: 0; border-radius: 0; outline: 0; color: var(--text); background: transparent; font: 400 1rem/1.5 var(--sans); }
.form-field textarea { min-height: 10rem; resize: vertical; }
.form-field select { color-scheme: dark; cursor: pointer; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #5f5f5a; opacity: 1; }
.form-field:focus-within { background: #10100f; box-shadow: inset 0 0 0 1px #595954; }
.form-field input:focus-visible, .form-field textarea:focus-visible, .form-field select:focus-visible { outline: none; }
.quote-actions { padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quote-actions > * { min-height: 4.8rem; padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 0; border-right: 1px solid var(--line); border-radius: 0; font: .7rem var(--mono); cursor: pointer; transition: background .2s ease, color .2s ease; }
.quote-actions > *:last-child { border-right: 0; }
.quote-submit { background: var(--paper); color: var(--ink); }
.quote-submit:hover { background: #fff; }
.quote-whatsapp { background: #0f1711; color: #a6d3ad; }
.quote-whatsapp:hover { background: #162219; color: #d8efdc; }
.quote-actions [hidden] { display: none; }
.quote-status { margin: 0; color: #777772; background: #0a0a09; font: .58rem/1.55 var(--mono); }

.contact { padding-top: clamp(8rem, 15vw, 14rem); padding-bottom: clamp(7rem, 11vw, 10rem); border-top: 1px solid var(--line); }
.availability { width: fit-content; margin: 0 0 3rem; padding: .65rem .85rem; display: inline-flex; align-items: center; gap: .65rem; border: 1px solid #343e35; border-radius: 999px; color: #b7c6b8; background: #0d120e; font: .6rem var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.availability span { width: .5rem; height: .5rem; border-radius: 50%; background: #79d68b; box-shadow: 0 0 0 4px rgba(121, 214, 139, .1); animation: pulse 2.2s ease-in-out infinite; }
.contact .kicker { margin-bottom: 2.2rem; }
.contact h2 { max-width: 17ch; }
.contact-intro { max-width: 40rem; margin: 2.5rem 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }
.contact-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 70rem; margin-top: 4.5rem; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.contact-button { min-height: 9.5rem; padding: 1.4rem; display: grid; grid-template-columns: 1fr auto; align-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s ease, color .25s ease; }
.contact-button > span { font-size: clamp(1.35rem, 2.4vw, 2rem); letter-spacing: -.035em; }
.contact-button small { align-self: end; color: var(--muted); font: .6rem var(--mono); }
.contact-button i { grid-column: 2; grid-row: 1 / span 2; align-self: start; font-style: normal; transition: transform .25s ease; }
.contact-button:hover { background: #141412; }
.contact-button:hover i { transform: translate(4px, -4px); }
.contact-button--primary { background: var(--paper); color: var(--ink); }
.contact-button--primary small { color: #65645f; }
.contact-button--primary:hover { background: #fff; }
.contact-button--whatsapp { background: #0f1711; color: #c8dfcc; }
.contact-button--whatsapp:hover { background: #162219; }
.contact-meta { max-width: 70rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; color: #70706b; font: .58rem var(--mono); }
.contact-meta p { margin: 0; }

@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .65; transform: scale(.8); } }

.reveal { opacity: 1; transform: none; }
.js-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .72s cubic-bezier(.2,.7,.2,1), transform .72s cubic-bezier(.2,.7,.2,1); transition-delay: var(--reveal-delay, 0ms); }
.js-ready .reveal.is-visible { opacity: 1; transform: none; }

.cursor-dot, .cursor-ring { display: none; position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; opacity: 0; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: #fff; }
.cursor-ring { width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 1px solid rgba(255,255,255,.62); border-radius: 50%; transition: width .2s ease, height .2s ease, margin .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease; }
.cursor-ring.is-active { width: 48px; height: 48px; margin: -24px 0 0 -24px; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.9); }
.cursor-ring.is-down { width: 20px; height: 20px; margin: -10px 0 0 -10px; }

@media (hover: hover) and (pointer: fine) {
  html.custom-cursor-enabled, html.custom-cursor-enabled * { cursor: none !important; }
  html.custom-cursor-enabled .cursor-dot, html.custom-cursor-enabled .cursor-ring { display: block; }
  .tech-card:hover { position: relative; z-index: 1; }
}

.site-footer { min-height: 5.5rem; padding-top: 1.5rem; padding-bottom: 1.5rem; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; color: #74746f; font: .6rem var(--mono); }
.site-footer p { margin: 0; }
.footer-links { justify-self: end; display: flex; gap: 1.5rem; }
.site-footer a:hover { color: var(--text); }

@media (max-width: 820px) {
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    z-index: 20;
    top: 4.7rem;
    left: var(--pad);
    right: var(--pad);
    padding: 1.2rem;
    flex-direction: column;
    border: 1px solid var(--line);
    background: var(--bg);
    opacity: 0;
    transform: translateY(-.5rem);
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .main-nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .main-nav a { padding: .45rem; }
  .hero { grid-template-columns: 1fr; padding-top: 4rem; }
  .hero-copy { max-width: 44rem; }
  .note-card { width: min(100%, 23rem); justify-self: end; margin-top: 1rem; }
  .section-intro { grid-template-columns: 1fr; }
  .section-intro .kicker { margin-bottom: 1rem; }
  .service-list article { grid-template-columns: 2.5rem 1fr; }
  .service-list p, .service-list small { grid-column: 2; text-align: left; }
  .tech-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .experience-list article { grid-template-columns: 3rem minmax(0, 1fr); }
  .experience-list > article > p { grid-column: 2; }
  .about, .hera-feature, .work, .method, .faq, .quote-section { grid-template-columns: 1fr; }
  .about-heading { position: static; }
  .hera-aside { display: grid; grid-template-columns: 1fr 1fr; }
  .hera-number { grid-row: span 2; border-right: 1px solid var(--line); border-bottom: 0; }
  .hera-role { border-bottom: 1px solid var(--line); }
  .faq-heading { position: static; }
  .quote-heading { position: static; }
  .work-heading { position: static; }
  .project-list { margin-top: 0; }
  .github-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .live-demo-links { grid-template-columns: 1fr; }
  .live-demo-links a { border-right: 0; border-bottom: 1px solid var(--line); }
  .live-demo-links a:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  .site-header { height: 4.7rem; }
  .brand small { display: none; }
  .hero { min-height: auto; padding-top: 3.5rem; padding-bottom: 6rem; gap: 3.5rem; }
  h1 { font-size: clamp(2.9rem, 13.2vw, 4.2rem); }
  .hello { margin-bottom: 1.4rem; }
  .intro { margin-top: 1.6rem; font-size: .98rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .button { width: 100%; }
  .note-card { width: calc(100% - .7rem); padding: 1.5rem; }
  .section { padding-top: 6rem; padding-bottom: 6rem; }
  .section h2, .contact h2, .work h2 { font-size: clamp(2.6rem, 12vw, 4rem); }
  .service-list { margin-top: 4rem; }
  .service-list article { padding: 1.65rem 0; }
  .service-list h3 { font-size: 1.55rem; }
  .tech-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 3.5rem; }
  .tech-card { min-height: 10.5rem; padding: 1rem; }
  .tech-logo { width: 2.7rem; height: 2.7rem; }
  .experience-list { margin-top: 3.5rem; }
  .experience-list article { grid-template-columns: 2.7rem 1fr; gap: .85rem; align-items: start; }
  .experience-list > article > p { grid-column: 1 / -1; padding-left: 3.55rem; }
  .project-item { grid-template-columns: 2rem 1fr; padding: 2rem 0; }
  .project-title-row { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .about-columns { grid-template-columns: 1fr; }
  .about-facts { margin-top: 3rem; }
  .hera-aside { display: flex; }
  .hera-number { min-height: 12rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .github-grid { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .repo-card { min-height: 12rem; }
  .live-demos-heading { align-items: flex-start; flex-direction: column; }
  .source-toolbar { align-items: flex-start; flex-wrap: wrap; }
  .window-dots { width: 100%; }
  .source-toolbar label { align-self: center; }
  .source-toolbar select { min-width: 0; flex: 1; }
  .source-filebar { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .source-code { font-size: .65rem; }
  .source-code code > span { padding-right: 1rem; }
  .source-code code > span::before { width: 2.4rem; margin-right: .8rem; }
  .github-footer { align-items: flex-start; flex-direction: column; }
  .method-lead { margin-bottom: 2.5rem; }
  .method-steps article { grid-template-columns: 1fr; }
  .method-steps span { grid-row: auto; }
  .faq-list summary { grid-template-columns: 2rem 1fr auto; gap: .55rem; }
  .faq-list details > p { padding-left: 2.55rem; padding-right: 1rem; }
  .quote-form { grid-template-columns: 1fr; }
  .form-field--wide { grid-column: auto; }
  .quote-actions { grid-template-columns: 1fr; }
  .quote-actions > * { border-right: 0; border-bottom: 1px solid var(--line); }
  .quote-actions > *:last-child { border-bottom: 0; }
  .contact { padding-top: 7rem; }
  .contact-actions { grid-template-columns: 1fr; margin-top: 3.5rem; }
  .contact-button { min-height: 8.5rem; }
  .contact-meta { align-items: flex-start; flex-direction: column; }
  .site-footer { grid-template-columns: 1fr auto; }
  .site-footer p { display: none; }
}

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

@media (hover: none), (pointer: coarse) {
  .tech-logo img, .project-stack img { filter: none; opacity: 1; }
}
