:root {
  --background: hsl(40 30% 96%);
  --foreground: hsl(211 15% 30%);
  --card: hsl(40 22% 93%);
  --primary: hsl(171 18% 42%);
  --primary-foreground: hsl(40 30% 96%);
  --muted: hsl(40 18% 90%);
  --muted-foreground: hsl(210 10% 40%);
  --border: hsl(190 15% 45%);
  --danger: hsl(0 55% 48%);
  --radius: 0;
  --container: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }
.site-container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: 16px; z-index: 100; transform: translateY(-80px); background: var(--primary); color: var(--primary-foreground); padding: 8px 12px; }
.skip-link:focus { transform: translateY(0); }
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid hsl(171 21% 65% / .16); background: hsl(215 22% 14% / .72); backdrop-filter: blur(10px); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { text-decoration: none; font-size: 20px; letter-spacing: .08em; color: hsl(47 26% 85%); }
.nav { display: flex; align-items: center; gap: 28px; text-transform: uppercase; letter-spacing: .15em; font-size: 13px; color: var(--muted-foreground); }
.nav a { text-decoration: none; }
.nav a:hover, .link-button:hover { color: hsl(171 21% 70%); }
.link-button { border: 0; background: transparent; color: var(--muted-foreground); text-transform: uppercase; letter-spacing: .15em; cursor: pointer; padding: 0; }
.menu-button { display: none; border: 1px solid var(--border); background: transparent; color: var(--primary); min-width: 44px; min-height: 44px; }
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); padding: 160px 0 80px; min-height: 690px; }
.hero-pattern, main:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .055;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='92' viewBox='0 0 80 92'%3E%3Cpath d='M40 1 79 23v46L40 91 1 69V23Z' fill='none' stroke='%2392B9B3' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 80px 92px;
}
main { position: relative; isolation: isolate; overflow: hidden; }
main:before { z-index: -1; mask-image: radial-gradient(circle at 90% 20%, black, transparent 48%); opacity: .14; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: end; }
.eyebrow { margin: 0; color: var(--primary); font-size: 12px; text-transform: uppercase; letter-spacing: .24em; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.1; }
h1 { margin-top: 24px; max-width: 760px; font-size: clamp(44px, 7vw, 78px); }
h2 { margin-top: 18px; font-size: clamp(36px, 5vw, 56px); }
h3 { font-size: 28px; }
.hero-copy { max-width: 620px; margin: 24px 0 0; color: var(--muted-foreground); font-size: 21px; }
.button-primary, .button-secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--primary);
  padding: 11px 20px;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { margin-top: 32px; background: var(--primary); color: var(--primary-foreground); }
.button-primary:hover { background: transparent; color: var(--primary); }
.button-secondary { background: transparent; color: var(--primary); }
.button-secondary:hover { background: color-mix(in srgb, var(--primary) 9%, transparent); }
.button-danger {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--danger);
  background: var(--danger);
  color: hsl(40 30% 96%);
  padding: 11px 20px;
  cursor: pointer;
}
.button-danger:hover {
  background: transparent;
  color: var(--danger);
}
.hero-panel { border: 1px solid var(--border); background: color-mix(in srgb, var(--card) 55%, transparent); padding: 30px; }
.hero-panel span { color: var(--primary); font-size: 12px; letter-spacing: .22em; }
.hero-panel strong { display: block; margin: 26px 0 14px; font-size: 44px; font-weight: 400; }
.portfolio-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 112px 0 56px;
  background: hsl(215 22% 14%);
  color: hsl(47 26% 85%);
}
.portfolio-hero .eyebrow { color: hsl(171 21% 65%); }
.portfolio-mesh {
  position: absolute;
  inset: 0;
  opacity: .34;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='184' viewBox='0 0 160 184'%3E%3Cpath d='M80 1 159 46v92L80 183 1 138V46Z' fill='none' stroke='%234c5e66' stroke-width='1'/%3E%3Cpath d='M80 1v92M1 46l79 47 79-47M1 138l79-45 79 45' fill='none' stroke='%234c5e66' stroke-width='.75' opacity='.65'/%3E%3C/svg%3E");
  background-size: 148px 170px;
  mask-image: linear-gradient(to bottom, black 0%, black 62%, transparent 100%);
}
.portfolio-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 26%, hsl(171 21% 65% / .18), transparent 34%),
    linear-gradient(to bottom, hsl(215 22% 14% / .25), hsl(215 22% 14%));
}
.portfolio-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 44px;
}
.portfolio-intro {
  display: grid;
  grid-template-columns: minmax(220px, 420px) minmax(280px, 520px);
  gap: 36px;
  align-items: end;
}
.portfolio-intro.compact {
  grid-template-columns: 1fr;
  align-items: end;
}
.brand-mark {
  margin-top: 16px;
  color: hsl(47 26% 85%);
  font-size: clamp(90px, 13vw, 180px);
  line-height: .78;
  letter-spacing: .03em;
  text-shadow: 0 0 34px hsl(171 21% 65% / .16);
}
.portfolio-intro p:last-child {
  margin: 0;
  color: hsl(46 15% 70%);
  border-left: 1px solid hsl(171 21% 65% / .7);
  padding-left: 24px;
  font-size: 19px;
}
.portfolio-intro.compact .eyebrow {
  justify-self: start;
  border-left: 1px solid hsl(171 21% 65% / .62);
  padding-left: 14px;
}
.portfolio-intro.compact p:last-child {
  max-width: 560px;
}
.grid-ribbon {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: hsl(171 21% 65% / .82);
  font-size: 11px;
  letter-spacing: .22em;
}
.grid-ribbon:before,
.grid-ribbon:after {
  content: "";
  height: 1px;
  background: hsl(171 21% 65% / .34);
}
.grid-ribbon span:first-child { justify-self: start; }
.grid-ribbon span:nth-child(2) { justify-self: center; }
.grid-ribbon span:last-child { justify-self: end; }
.invisible-grid,
.honey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid hsl(171 21% 65% / .36);
  border-left: 1px solid hsl(171 21% 65% / .28);
  background: linear-gradient(135deg, hsl(216 24% 17% / .44), hsl(215 22% 14% / .24));
  backdrop-filter: blur(2px);
  box-shadow: inset 0 1px 0 hsl(47 26% 85% / .08), 0 24px 80px hsl(0 0% 0% / .18);
}
.honey-grid {
  --hex-width: clamp(190px, 23vw, 270px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 18px 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  padding: 6px max(0px, calc((100% - (var(--hex-width) * 4 + 42px)) / 2)) 50px;
}
.honey-item {
  width: var(--hex-width);
}
.honey-item:nth-child(8n + 2),
.honey-item:nth-child(8n + 4),
.honey-item:nth-child(8n + 6) { transform: translateY(calc(var(--hex-width) * .16)); }
.ghost-project {
  position: relative;
  min-height: 250px;
  border-right: 1px solid hsl(171 21% 65% / .24);
  border-bottom: 1px solid hsl(171 21% 65% / .24);
}
.honey-project {
  position: relative;
  width: var(--hex-width);
  aspect-ratio: 1.12;
  min-height: 0;
  margin: 0;
  clip-path: polygon(16% 0, 84% 0, 100% 50%, 84% 100%, 16% 100%, 0 50%);
  background:
    linear-gradient(145deg, hsl(216 24% 17% / .88), hsl(215 22% 14% / .68)),
    linear-gradient(90deg, hsl(171 21% 65% / .28), transparent);
  box-shadow:
    inset 0 0 0 1px hsl(171 21% 65% / .34),
    inset 0 0 0 7px hsl(215 22% 14% / .18),
    0 18px 54px hsl(0 0% 0% / .16);
}
.honey-project a,
.honey-project.empty {
  position: relative;
  z-index: 1;
  min-height: inherit;
  height: 100%;
  display: grid;
  align-content: center;
  gap: 10px;
  padding: 18% 18%;
  text-decoration: none;
}
.honey-preview {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.76) contrast(.9);
  opacity: .34;
  transform: scale(1.02);
}
.honey-frame {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 142%;
  height: 142%;
  border: 0;
  opacity: .24;
  pointer-events: none;
  transform: scale(.72);
  transform-origin: top left;
  filter: saturate(.68) contrast(.85);
}
.honey-project:has(.honey-preview) {
  background:
    linear-gradient(145deg, hsl(216 24% 17% / .72), hsl(215 22% 14% / .7)),
    linear-gradient(90deg, hsl(171 21% 65% / .2), transparent);
}
.honey-project:has(.honey-preview) a:before,
.honey-project:has(.honey-frame) a:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(to top, hsl(215 22% 14% / .9) 0%, hsl(215 22% 14% / .58) 54%, hsl(215 22% 14% / .34) 100%),
    radial-gradient(circle at 80% 18%, hsl(171 21% 65% / .18), transparent 34%);
}
.honey-project:has(.honey-preview) a {
  overflow: hidden;
}
.honey-project:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, hsl(171 21% 65% / .22), transparent 48%),
    radial-gradient(circle at 72% 18%, hsl(47 26% 85% / .1), transparent 32%);
  transition: opacity .25s ease;
}
.honey-project:after {
  content: "";
  position: absolute;
  inset: -36% -60%;
  pointer-events: none;
  opacity: .18;
  background: linear-gradient(110deg, transparent 38%, hsl(47 26% 90% / .18) 48%, transparent 58%);
  transform: translateX(-38%) rotate(6deg);
  transition: transform .7s ease, opacity .35s ease;
}
.honey-project:hover:before,
.honey-project:focus-within:before { opacity: 1; }
.honey-project:hover:after,
.honey-project:focus-within:after {
  opacity: .32;
  transform: translateX(38%) rotate(6deg);
}
.honey-caption {
  width: var(--hex-width);
  margin-top: 10px;
  text-align: center;
}
.honey-caption button,
.empty-caption {
  border: 0;
  background: transparent;
  color: hsl(47 26% 85%);
  font-size: 15px;
  letter-spacing: .08em;
  cursor: pointer;
}
.honey-caption button:hover {
  color: hsl(171 21% 70%);
}
.empty-caption {
  width: 100%;
  color: hsl(46 15% 70%);
  cursor: default;
}
.honey-project.empty {
  background: linear-gradient(145deg, hsl(216 24% 17% / .56), hsl(215 22% 14% / .4));
}
.honey-project.empty:before {
  opacity: .25;
  background: repeating-linear-gradient(135deg, hsl(171 21% 65% / .12) 0 1px, transparent 1px 18px);
}
.ghost-project a {
  min-height: inherit;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 28px;
  text-decoration: none;
}
.ghost-project:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(135deg, hsl(171 21% 65% / .18), transparent 46%),
    linear-gradient(to top, hsl(171 21% 65% / .08), transparent 44%);
  transition: opacity .25s ease;
}
.ghost-project:hover:before,
.ghost-project:focus-within:before { opacity: 1; }
.ghost-index {
  position: absolute;
  top: 24px;
  left: 28px;
  color: hsl(171 21% 65% / .78);
  font-size: 12px;
  letter-spacing: .18em;
}
.ghost-category {
  color: hsl(171 21% 65%);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ghost-project strong {
  max-width: 16rem;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  line-height: 1.05;
  color: hsl(47 26% 90%);
}
.ghost-project em {
  max-width: 23rem;
  color: hsl(46 15% 70%);
  font-size: 16px;
  font-style: normal;
}
.ghost-open {
  margin-top: 18px;
  color: hsl(171 21% 70%);
  font-size: 13px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.ghost-details {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid hsl(171 21% 65% / .38);
  background: hsl(215 22% 14% / .45);
  color: hsl(47 26% 85%);
  min-height: 36px;
  padding: 6px 11px;
  cursor: pointer;
}
.ghost-details:hover { border-color: hsl(171 21% 65%); color: hsl(171 21% 65%); }
.empty-gallery { grid-template-columns: 1fr; }
.ghost-project.empty { padding: 28px; display: grid; align-content: end; gap: 10px; }
.zap-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid hsl(171 21% 65% / .42);
  border-radius: 50%;
  background: hsl(215 22% 14% / .78);
  color: hsl(47 26% 85%);
  box-shadow: 0 18px 44px hsl(0 0% 0% / .28);
  cursor: pointer;
  backdrop-filter: blur(8px);
}
.zap-float svg {
  width: 26px;
  height: 26px;
  fill: hsl(171 21% 65%);
}
.zap-float:hover {
  border-color: hsl(171 21% 65%);
  background: hsl(215 22% 14% / .94);
}
.grecaptcha-badge {
  right: 18px !important;
  bottom: 92px !important;
  z-index: 55;
}
.zap-dialog {
  width: min(100% - 32px, 460px);
  border: 1px solid hsl(171 21% 65% / .42);
  background: hsl(215 22% 14%);
  color: hsl(47 26% 85%);
  padding: 30px;
}
.zap-dialog::backdrop { background: rgb(8 12 16 / .68); }
.zap-dialog h3 { margin-top: 14px; color: hsl(47 26% 90%); }
.zap-note { color: hsl(46 15% 70%); }
.zap-modal-form .button-primary { width: 100%; }
.redirect-stage {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 120px 24px 70px;
  background: hsl(215 22% 14%);
  color: hsl(47 26% 85%);
}
.redirect-stage:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 52% 42%, hsl(171 21% 65% / .16), transparent 32%);
}
.redirect-card {
  position: relative;
  z-index: 1;
  width: min(100%, 620px);
  text-align: center;
}
.redirect-card h1 {
  margin-top: 16px;
  font-size: clamp(46px, 8vw, 86px);
  color: hsl(47 26% 90%);
}
.redirect-card p:not(.eyebrow) {
  color: hsl(46 15% 70%);
  font-size: 18px;
}
.redirect-line {
  height: 1px;
  margin: 34px auto 24px;
  overflow: hidden;
  background: hsl(171 21% 65% / .18);
}
.redirect-line span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, hsl(171 21% 65% / .86), transparent);
  animation: redirect-sweep .95s ease-in-out infinite;
}
@keyframes redirect-sweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(260%); }
}
.section, .page-shell { padding: 130px 0 80px; }
.section-head, .admin-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: 42px; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.admin-actions .button-primary, .admin-actions .button-secondary { margin-top: 0; }
.section-head > p { max-width: 520px; color: var(--muted-foreground); border-left: 1px solid var(--primary); padding-left: 24px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.project-card { border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); background: color-mix(in srgb, var(--card) 35%, transparent); }
.thumb { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--border); background: var(--muted); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.82); }
.project-body { padding: 26px; min-height: 270px; display: flex; flex-direction: column; }
.project-meta { display: flex; justify-content: space-between; gap: 16px; color: var(--primary); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.project-body h3 { margin-top: 18px; }
.project-body p { color: var(--muted-foreground); }
.card-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
.card-actions .button-primary { margin-top: 0; }
.project-dialog { max-width: 620px; border: 1px solid var(--border); background: var(--background); color: var(--foreground); padding: 34px; }
.project-dialog::backdrop { background: rgb(20 26 31 / .48); }
.sweet-dialog {
  width: min(100% - 32px, 680px);
  border: 1px solid hsl(171 21% 65% / .46);
  background:
    radial-gradient(circle at 88% 12%, hsl(171 21% 65% / .18), transparent 28%),
    linear-gradient(90deg, hsl(171 21% 65% / .12), transparent 34%),
    linear-gradient(145deg, hsl(216 24% 17%), hsl(215 22% 14%));
  color: hsl(47 26% 85%);
  padding: 0;
  box-shadow: 0 30px 100px rgb(0 0 0 / .42);
}
.sweet-dialog::backdrop {
  background: rgb(8 12 16 / .62);
  backdrop-filter: blur(6px);
}
.sweet-dialog h3 {
  margin: 12px 0 0;
  color: hsl(47 26% 90%);
  font-size: clamp(34px, 5vw, 56px);
}
.sweet-dialog p { color: hsl(46 15% 70%); }
.sweet-dialog .modal-meta {
  color: hsl(171 21% 65% / .86);
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.sweet-dialog > .eyebrow,
.sweet-dialog > h3,
.sweet-dialog > p,
.sweet-dialog > .zap-note,
.sweet-dialog > .button-primary,
.sweet-dialog > form:not(:first-child) {
  margin-left: 34px;
  margin-right: 34px;
}
.sweet-dialog:before {
  content: "0RYZON";
  display: block;
  border-bottom: 1px solid hsl(171 21% 65% / .28);
  padding: 16px 34px;
  color: hsl(171 21% 65% / .82);
  font-size: 11px;
  letter-spacing: .24em;
}
.sweet-dialog .dialog-close {
  margin: 16px 16px 0 0;
  border-color: hsl(171 21% 65% / .42);
  color: hsl(47 26% 85%);
}
.sweet-dialog .button-primary { margin-top: 18px; margin-bottom: 34px; }
.dialog-close { float: right; border: 1px solid var(--border); background: transparent; width: 40px; height: 40px; cursor: pointer; }
.empty-state, .panel { border: 1px solid var(--border); background: color-mix(in srgb, var(--card) 45%, transparent); padding: 28px; }
.narrow { max-width: 680px; }
.form-stack, .project-form { display: grid; gap: 20px; }
label { display: grid; gap: 8px; color: var(--foreground); }
input, textarea, select { width: 100%; border: 1px solid var(--border); background: var(--background); color: var(--foreground); min-height: 48px; padding: 10px 12px; }
textarea { min-height: 140px; }
.project-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span-2, .form-actions { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 10px; }
.check input { width: auto; min-height: auto; }
.form-actions { display: flex; justify-content: flex-end; gap: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; min-width: 880px; background: color-mix(in srgb, var(--card) 35%, transparent); }
th, td { padding: 16px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
th { color: var(--primary); font-size: 12px; text-transform: uppercase; letter-spacing: .16em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions form { display: inline; }
.actions button { border: 0; background: transparent; padding: 0; text-decoration: underline; cursor: pointer; color: var(--foreground); }
.actions .danger-link { color: var(--danger); }
.flash-stack { padding-top: 100px; }
.flash { border: 1px solid var(--border); padding: 12px 16px; background: var(--card); }
.flash.error { border-color: var(--danger); }
.test-result { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 24px; }
.delete-panel { display: grid; gap: 14px; }
.delete-panel p { margin: 0; }
.muted-text { color: var(--muted-foreground); }
.site-footer { border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 32px; padding: 46px 0; }
.footer-grid p { max-width: 500px; color: var(--muted-foreground); }
.footer-links { display: grid; gap: 8px; text-align: right; }
@media (prefers-color-scheme: dark) {
  :root {
    --background: hsl(215 22% 14%);
    --foreground: hsl(47 26% 85%);
    --card: hsl(216 24% 17%);
    --primary: hsl(171 21% 65%);
    --primary-foreground: hsl(215 22% 14%);
    --muted: hsl(216 20% 19%);
    --muted-foreground: hsl(46 15% 70%);
  }
}
@media (max-width: 900px) {
  .hero-grid, .section-head, .admin-head, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; min-height: 0; }
  .portfolio-intro { grid-template-columns: 1fr; }
  .portfolio-intro.compact { grid-template-columns: 1fr; }
  .invisible-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .honey-grid {
    --hex-width: clamp(190px, 40vw, 260px);
    padding-bottom: 46px;
  }
  .honey-project:nth-child(8n + 2),
  .honey-project:nth-child(8n + 4),
  .honey-project:nth-child(8n + 6) { transform: none; }
  .honey-item:nth-child(8n + 2),
  .honey-item:nth-child(8n + 4),
  .honey-item:nth-child(8n + 6) { transform: none; }
  .honey-item:nth-child(even) { transform: translateY(calc(var(--hex-width) * .14)); }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-links { text-align: left; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .menu-button { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; inset: 64px 0 auto; background: hsl(215 22% 14%); border-bottom: 1px solid hsl(171 21% 65% / .16); padding: 18px 16px; flex-direction: column; align-items: flex-start; }
  .nav.open { display: flex; }
  .portfolio-hero { padding-top: 112px; }
  .zap-float { right: 16px; bottom: 16px; width: 50px; height: 50px; }
  .grecaptcha-badge {
    right: 12px !important;
    bottom: 82px !important;
    transform: scale(.86);
    transform-origin: bottom right;
  }
  .invisible-grid { grid-template-columns: 1fr; }
  .honey-grid {
    --hex-width: min(100%, 320px);
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    padding-bottom: 0;
  }
  .honey-project,
  .honey-project:nth-child(even),
  .honey-item,
  .honey-item:nth-child(even) {
    transform: none;
    clip-path: polygon(10% 0, 90% 0, 100% 50%, 90% 100%, 10% 100%, 0 50%);
    min-height: 0;
    margin: 0;
  }
  .honey-project a, .honey-project.empty { padding: 38px 34px; }
  .ghost-project { min-height: 220px; }
  .portfolio-intro h1 { font-size: 46px; }
  .grid-ribbon { grid-template-columns: 1fr; }
  .grid-ribbon:before, .grid-ribbon:after { display: none; }
  .grid-ribbon span { justify-self: start !important; }
  .project-grid, .project-form { grid-template-columns: 1fr; }
  .section, .page-shell { padding: 110px 0 64px; }
  h1 { font-size: 42px; }
  .hero-panel strong { font-size: 34px; }
}
