/* Public design system. Semantic colours come from /gorunum.css. */
.site-body,
.theme-preview {
  background: var(--bg);
  color: var(--ink);
  --radius: 16px;
  --content-width: 1280px;
}
.site-body {
  overflow-x: clip;
}
.site-body .wrap {
  width: min(calc(100% - 80px), var(--content-width));
  margin-inline: auto;
}
.site-body h1,
.site-body h2,
.site-body h3,
.theme-preview h2 {
  color: var(--heading);
  text-wrap: balance;
}
.site-body p {
  overflow-wrap: anywhere;
}
.site-body a {
  color: inherit;
}
.site-body .text-link,
.site-body .back-link {
  color: var(--link);
}
.site-body ::selection,
.theme-preview ::selection {
  background: var(--selection);
  color: var(--accent-ink);
}
.site-body :focus-visible,
.theme-preview :focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}
.site-body input,
.site-body select,
.site-body textarea,
.theme-preview input {
  background: var(--input);
  color: var(--input-text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.site-body input::placeholder,
.theme-preview input::placeholder {
  color: var(--placeholder);
}
.site-body .button,
.theme-preview .button {
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--surface);
  border-color: var(--line);
  transition:
    transform 0.2s,
    background 0.2s;
  min-height: 48px;
}
.site-body .button:hover,
.theme-preview .button:hover {
  transform: translateY(-2px);
}
.site-body .button.primary,
.theme-preview .button.primary {
  background: var(--button);
  color: var(--button-text);
  border-color: transparent;
}
.site-body .button.primary:hover,
.theme-preview .button.primary:hover {
  background: var(--button-hover);
}
.site-body .eyebrow {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.site-body .muted,
.site-body .hint {
  color: var(--muted);
}
.site-body .site-header {
  min-height: 108px;
  background: var(--header);
  color: var(--header-text);
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.site-body .site-header nav {
  gap: 24px;
  flex-wrap: wrap;
}
.site-body .site-header nav a {
  font-size: 13px;
  color: var(--header-text);
}
.site-body .site-header nav a:hover {
  color: var(--link);
}
.public-menu-toggle {
  display: none !important;
}
.site-body .brand {
  letter-spacing: 0.1em;
  font-size: 17px;
}
.site-body .brand-symbol {
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 10px;
}
.site-body .header-contact {
  font-size: 12px;
  color: var(--header-text);
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 40px;
  white-space: nowrap;
}
.site-body .hero {
  position: relative;
  min-height: 740px;
  gap: 32px;
  padding-block: 92px 100px;
  background: var(--hero);
  color: var(--hero-text);
}
.site-body .hero h1 {
  font-size: clamp(54px, 6.6vw, 100px);
  letter-spacing: -0.065em;
  line-height: 1.03;
  color: var(--hero-text);
  font-weight: 500;
  margin: 28px 0;
}
.site-body .hero-description {
  max-width: 480px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--hero-text);
  opacity: 0.74;
}
.site-body .hero-copy {
  position: relative;
  z-index: 2;
}
.site-body .hero-caption {
  color: var(--muted);
  margin-top: 52px;
  font-size: 10px;
  letter-spacing: 0.16em;
}
.site-body .hero-visual {
  isolation: isolate;
  min-height: 480px;
  background: radial-gradient(
    ellipse at center,
    color-mix(in srgb, var(--accent) 11%, transparent),
    transparent 67%
  );
}
.site-body .hero-visual:before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid var(--line);
  border-radius: 50%;
  opacity: 0.45;
  z-index: -1;
}
.site-body .orb-ring {
  border-color: var(--accent);
  box-shadow: 0 0 40px color-mix(in srgb, var(--accent) 10%, transparent);
}
.site-body .orb-core {
  color: var(--accent);
  border-color: var(--line);
  background: var(--surface);
}
.site-body .visual-coordinate {
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.site-body .status-dot {
  background: var(--success);
  box-shadow: 0 0 12px color-mix(in srgb, var(--success) 30%, transparent);
}
.site-body .section {
  padding-block: 85px;
  border-top: 1px solid var(--line);
}
.site-body .section-heading {
  align-items: end;
  margin-bottom: 30px;
}
.site-body .section-heading h2 {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500;
  letter-spacing: -0.045em;
}
.site-body .section-intro {
  color: var(--muted);
  max-width: 660px;
  line-height: 1.85;
}
.site-body .project-grid {
  gap: 26px;
}
.site-body .project-card {
  background: var(--card);
  color: var(--card-text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0 0 26px;
  transition:
    transform 0.28s,
    border-color 0.28s,
    box-shadow 0.28s;
}
.site-body .project-card:hover {
  transform: translateY(-7px);
  border-color: var(--accent);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--shadow) 18%, transparent);
}
.site-body .project-cover {
  border-radius: 0;
  aspect-ratio: 1.4;
  background: var(--surface2);
  margin: 0 0 24px;
}
.site-body .project-cover img {
  transition: transform 0.5s;
}
.site-body .project-card:hover img {
  transform: scale(1.035);
}
.site-body .project-card .card-meta,
.site-body .project-card h3,
.site-body .project-card p,
.site-body .project-card .tags {
  margin-inline: 24px;
}
.site-body .project-card h3 {
  color: var(--card-text);
  font-size: 24px;
  letter-spacing: -0.035em;
}
.site-body .project-card p {
  color: var(--card-text);
  opacity: 0.7;
  line-height: 1.75;
}
.site-body .card-meta {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 0.12em;
}
.site-body .card-open {
  background: var(--button);
  color: var(--button-text);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
.site-body .project-art {
  background: radial-gradient(
    ellipse at 45% 75%,
    color-mix(in srgb, var(--accent) 16%, var(--surface2)),
    var(--surface2)
  );
  color: var(--accent);
}
.site-body .project-art i {
  border-color: var(--accent);
}
.site-body .art-1 i {
  border-color: var(--link);
}
.site-body .art-2 i {
  border-color: var(--muted);
}
.site-body .tags span {
  border-color: var(--line);
  color: var(--muted);
  background: var(--surface2);
  border-radius: 7px;
  font-size: 10px;
  padding: 6px 9px;
}
.site-body .info-grid article,
.site-body .faq-list details {
  background: var(--card);
  color: var(--card-text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.site-body .info-grid h3,
.site-body .faq-list summary {
  color: var(--card-text);
}
.site-body .faq-list details + details {
  margin-top: 12px;
}
.site-body .faq-list p {
  line-height: 1.8;
  color: var(--muted);
}
.site-body .story-mark {
  color: var(--accent);
  background: var(--surface2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.site-body .story-body img {
  border-radius: var(--radius);
}
.site-body .prose {
  color: var(--ink);
}
.site-body .prose p,
.site-body .prose li {
  color: var(--muted);
  line-height: 1.9;
}
.site-body .prose a {
  color: var(--link);
}
.site-body .prose pre,
.site-body .prose code {
  background: var(--code);
  color: var(--code-text);
  border-color: var(--line);
  border-radius: 8px;
}
.site-body .prose pre {
  padding: 22px;
  overflow: auto;
  max-width: 100%;
}
.site-body .contact-section {
  border-top: 1px solid var(--line);
  padding-block: 110px;
}
.site-body .contact-section h2 {
  font-size: clamp(44px, 6vw, 82px);
  font-weight: 500;
  letter-spacing: -0.055em;
  max-width: 860px;
}
.site-body .contact-section > p:not(.eyebrow) {
  color: var(--muted);
}
.site-body .site-footer {
  background: var(--footer);
  color: var(--footer-text);
  padding: 60px 40px 28px;
  border-radius: var(--radius) var(--radius) 0 0;
  border-top: 1px solid var(--line);
}
.site-body .site-footer p,
.site-body .footer-bottom,
.site-body .footer-links a {
  color: var(--footer-text);
}
.site-body .footer-bottom {
  border-color: var(--line);
}
.site-body .listing,
.site-body .detail {
  padding-block: 76px 110px;
}
.site-body .listing h1,
.site-body .detail h1 {
  font-size: clamp(48px, 6vw, 84px);
  letter-spacing: -0.05em;
  font-weight: 500;
  line-height: 1.1;
}
.site-body .detail-layout {
  grid-template-columns: 230px minmax(0, 1fr);
}
.site-body .detail-nav {
  border-color: var(--line);
}
.site-body .detail-nav a {
  color: var(--link);
}
.site-body .detail-summary {
  color: var(--muted);
}
.site-body .detail-cover {
  border-radius: var(--radius);
  overflow: hidden;
}
.site-body .detail-section {
  border-color: var(--line);
}
.site-body .search-form {
  gap: 12px;
  flex-wrap: wrap;
}
.site-body .notice {
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}
.site-body .notice.success {
  border-color: var(--success);
}
.site-body .notice.warning {
  border-color: var(--warning);
}
.site-body .notice.error {
  border-color: var(--danger);
}
.site-body .preview-banner {
  background: var(--warning);
  color: var(--bg);
}
.custom-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}
.custom-fields > div {
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.custom-fields dt {
  font-size: 12px;
  color: var(--muted);
}
.custom-fields dd {
  margin: 8px 0 0;
  overflow-wrap: anywhere;
}
/* Six composition profiles are independent from the 24 colour palettes. */
.layout-editorial .hero {
  grid-template-columns: 1.2fr 0.8fr;
}
.layout-editorial .hero h1 {
  font-family: Georgia, serif;
  font-style: italic;
  letter-spacing: -0.05em;
  font-size: clamp(56px, 7vw, 104px);
}
.layout-editorial .project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.layout-editorial .project-card {
  border: none;
  background: transparent;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
}
.layout-editorial .project-card:nth-child(even) {
  margin-top: 70px;
}
.layout-grid .hero {
  min-height: 600px;
  padding-block: 60px;
}
.layout-grid .project-grid {
  gap: 14px;
}
.layout-grid .project-cover {
  aspect-ratio: 1;
}
.layout-grid .project-card {
  border-radius: 4px;
}
.layout-grid .section-heading h2 {
  text-transform: uppercase;
  font-size: 36px;
  letter-spacing: -0.04em;
}
.layout-minimal .hero-visual {
  opacity: 0.7;
}
.layout-minimal .hero {
  min-height: 800px;
}
.layout-minimal .project-card {
  background: transparent;
  border: none;
}
.layout-minimal .project-card .card-meta,
.layout-minimal .project-card h3,
.layout-minimal .project-card p,
.layout-minimal .project-card .tags {
  margin-inline: 0;
}
.layout-minimal .section {
  padding-block: 110px;
}
.layout-glass .hero {
  background: radial-gradient(
    ellipse at top right,
    color-mix(in srgb, var(--accent) 10%, transparent),
    var(--hero) 65%
  );
}
.layout-glass .project-card,
.layout-glass .info-grid article {
  background: color-mix(in srgb, var(--card) 82%, transparent);
  box-shadow:
    inset 0 1px color-mix(in srgb, var(--ink) 12%, transparent),
    0 18px 60px color-mix(in srgb, var(--shadow) 20%, transparent);
  backdrop-filter: blur(16px);
}
.layout-brutal .hero h1 {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(56px, 7.4vw, 110px);
}
.layout-brutal .button,
.layout-brutal .project-card,
.layout-brutal .info-grid article {
  border-radius: 0;
  border: 2px solid var(--line);
}
.layout-brutal .project-card:hover {
  box-shadow: 8px 8px 0 var(--accent);
  transform: translate(-4px, -4px);
}
.layout-brutal .section-heading h2 {
  font-weight: 800;
  text-transform: uppercase;
}
/* Canvas pages retain separate desktop / tablet / phone coordinates. */
.canvas-document {
  position: relative;
  width: min(100%, var(--content-width));
  margin-inline: auto;
  isolation: isolate;
  overflow: clip;
}
.canvas-block {
  position: absolute;
  min-width: 0;
}
.block-content {
  width: 100%;
  height: 100%;
  padding: var(--block-padding);
  border-radius: var(--block-radius);
  background: var(--block-bg, transparent);
  color: var(--block-fg, var(--ink));
  font-size: var(--block-size);
  overflow: auto;
  scrollbar-width: thin;
}
.block-content > h2 {
  font-size: var(--block-size);
  margin: 0;
  line-height: 1.15;
  color: inherit;
  overflow-wrap: anywhere;
}
.block-content .prose,
.block-content .prose p {
  color: inherit;
  font-size: inherit;
}
.block-content .prose p:first-child {
  margin-top: 0;
}
.block-content > img,
.block-content > video,
.block-content > iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  border-radius: var(--block-radius);
}
.block-content .fit-cover {
  object-fit: cover;
}
.block-content .fit-contain {
  object-fit: contain;
}
.block-content > audio {
  width: 100%;
  max-width: 100%;
  margin-block: 10px;
}
.type-image .block-content,
.type-video .block-content,
.type-code .block-content {
  padding: 0;
  overflow: hidden;
}
.block-content .wrap {
  width: 100%;
  padding-inline: 28px;
}
.block-content .hero {
  min-height: 0;
  height: 100%;
  padding-block: 40px;
}
.block-content .hero h1 {
  font-size: clamp(42px, 5vw, 76px);
}
.block-content .hero-visual {
  min-height: 300px;
}
.block-content .section {
  padding-block: 30px;
}
.block-content .contact-section {
  padding-block: 40px;
}
.block-content .project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.shape-fill {
  width: 100%;
  height: 100%;
  background: var(--block-bg, var(--accent));
  border-radius: inherit;
}
.media-placeholder {
  min-height: 80px;
  display: grid;
  place-content: center;
  border: 1px dashed var(--line);
  height: 100%;
  color: var(--muted);
}
.builder-menu {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  height: 100%;
}
.builder-menu a {
  color: var(--link);
}
.anim-float {
  animation: soft-float 5s ease-in-out infinite;
}
.anim-pulse {
  animation: soft-pulse 4s ease-in-out infinite;
}
.anim-tilt {
  transition: transform 0.25s;
}
.anim-tilt:hover {
  transform: perspective(900px) rotateX(3deg) rotateY(-3deg);
}
.js-reveal [data-reveal] {
  opacity: 0.3;
  transform: translateY(16px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.js-reveal [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@keyframes soft-float {
  50% {
    transform: translateY(-10px);
  }
}
@keyframes soft-pulse {
  50% {
    opacity: 0.7;
  }
}
/* Error illustrations intentionally differ for each status. No vendor versions. */
.error-page {
  --error-accent: var(--accent);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
  max-width: 1120px;
  padding: 100px 40px 140px;
  margin: auto;
  min-height: 75vh;
}
.error-copy h1 {
  font-size: clamp(36px, 4vw, 62px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}
.error-copy .lead {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}
.error-copy .eyebrow {
  color: var(--error-accent);
}
.support-reference {
  font-family: monospace;
  font-size: 12px;
  color: var(--muted);
  margin-top: 30px;
}
.error-art {
  height: 320px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--error-accent);
  isolation: isolate;
  background: radial-gradient(
    ellipse,
    color-mix(in srgb, var(--error-accent) 8%, transparent),
    transparent 65%
  );
}
.error-art > span {
  font-size: 82px;
  font-family: "Space", monospace;
  font-weight: 500;
  letter-spacing: -0.08em;
}
.error-art i {
  position: absolute;
  border: 1px solid var(--error-accent);
  width: 220px;
  height: 220px;
  opacity: 0.5;
  border-radius: 50%;
  z-index: -1;
}
.error-art i:nth-child(2) {
  transform: rotate(50deg) scaleX(0.45);
}
.error-art i:nth-child(3) {
  transform: rotate(-50deg) scaleX(0.45);
}
.motif-form i {
  border-radius: 12px;
  width: 220px;
  height: 240px;
  transform: rotate(-8deg);
}
.motif-form i:nth-child(2) {
  height: 12px;
  top: 70px;
  transform: none;
  width: 140px;
}
.motif-form i:nth-child(3) {
  height: 12px;
  bottom: 60px;
  transform: none;
  width: 140px;
  border-color: var(--danger);
}
.motif-key i {
  width: 150px;
  height: 150px;
  left: 35px;
}
.motif-key i:nth-child(2) {
  left: 155px;
  width: 130px;
  height: 30px;
  transform: none;
  border-radius: 0;
}
.motif-key i:nth-child(3) {
  width: 20px;
  height: 80px;
  left: 260px;
  top: 160px;
  border-radius: 0;
  transform: none;
}
.motif-shield i {
  border-radius: 70px 70px 120px 120px;
  transform: rotate(0);
}
.motif-shield i:nth-child(2) {
  transform: scale(0.8);
}
.motif-shield i:nth-child(3) {
  transform: scale(0.6);
}
.motif-layers i {
  border-radius: 20px;
  transform: rotate(-16deg) translate(-28px, -18px);
}
.motif-layers i:nth-child(2) {
  transform: rotate(10deg) translate(28px, 18px);
}
.motif-layers i:nth-child(3) {
  display: none;
}
.motif-box i {
  border-radius: 0;
  transform: rotate(30deg) skew(-8deg);
}
.motif-box i:nth-child(2) {
  transform: rotate(30deg) skew(-8deg) scale(0.7);
}
.motif-box i:nth-child(3) {
  display: none;
}
.motif-clock i:nth-child(2) {
  width: 2px;
  height: 82px;
  transform: none;
  top: 80px;
  left: 50%;
  border-radius: 0;
}
.motif-clock i:nth-child(3) {
  width: 80px;
  height: 2px;
  transform: none;
  left: 50%;
  top: 160px;
  border-radius: 0;
}
.motif-signal i {
  width: 40px;
  border-radius: 24px;
  height: 100px;
  left: 60px;
  top: 100px;
}
.motif-signal i:nth-child(2) {
  transform: none;
  height: 230px;
  left: 150px;
  top: 45px;
}
.motif-signal i:nth-child(3) {
  transform: none;
  height: 160px;
  left: 240px;
  top: 80px;
}
.motif-bridge i {
  width: 100px;
  height: 180px;
  border-radius: 60px 60px 0 0;
  left: 25px;
  transform: rotate(-12deg);
}
.motif-bridge i:nth-child(2) {
  left: 220px;
  transform: rotate(12deg);
}
.motif-bridge i:nth-child(3) {
  width: 120px;
  height: 1px;
  left: 118px;
  transform: none;
}
@media (max-width: 1000px) {
  .site-body .wrap {
    width: calc(100% - 48px);
  }
  .site-body .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 60px;
  }
  .site-body .hero h1 {
    font-size: 74px;
  }
  .site-body .hero-visual {
    min-height: 380px;
  }
  .site-body .hero-description {
    max-width: 640px;
  }
  .site-body .header-contact {
    display: none;
  }
  .site-body .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .block-content .hero {
    grid-template-columns: 1fr;
  }
  .block-content .hero h1 {
    font-size: 56px;
  }
  .block-content .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .error-page {
    gap: 28px;
  }
  .site-body .detail-layout {
    grid-template-columns: 180px minmax(0, 1fr);
  }
}
@media (max-width: 600px) {
  .site-body .wrap {
    width: calc(100% - 36px);
  }
  .site-body .site-header {
    min-height: 86px;
    flex-wrap: wrap;
    padding-block: 18px;
    gap: 16px;
  }
  .public-menu-toggle {
    display: inline-flex !important;
    margin-left: auto;
  }
  .site-body .site-header nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-body .site-header nav.menu-open {
    display: flex;
  }
  .site-body .site-header nav a {
    padding: 14px 0;
    border-top: 1px solid var(--line);
  }
  .site-body .hero {
    padding-block: 46px;
  }
  .site-body .hero h1 {
    font-size: 56px;
  }
  .site-body .hero-description {
    font-size: 15px;
  }
  .site-body .hero-visual {
    min-height: 340px;
  }
  .site-body .hero-caption {
    margin-top: 30px;
  }
  .site-body .section {
    padding-block: 54px;
  }
  .site-body .project-grid,
  .layout-editorial .project-grid,
  .block-content .project-grid {
    grid-template-columns: 1fr;
  }
  .layout-editorial .project-card:nth-child(even) {
    margin-top: 0;
  }
  .site-body .section-heading {
    align-items: start;
    gap: 18px;
    flex-direction: column;
  }
  .site-body .contact-section {
    padding-block: 64px;
  }
  .site-body .contact-section h2 {
    font-size: 46px;
  }
  .site-body .site-footer {
    padding: 40px 24px 24px;
    grid-template-columns: 1fr;
  }
  .site-body .detail-layout {
    display: block;
  }
  .site-body .detail-nav {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-block: 20px;
    margin-bottom: 30px;
  }
  .site-body .listing,
  .site-body .detail {
    padding-block: 48px;
  }
  .site-body .search-form > * {
    flex: 1 1 100%;
  }
  .site-body .custom-fields {
    grid-template-columns: 1fr;
  }
  .block-content .hero h1 {
    font-size: 44px;
  }
  .block-content .wrap {
    padding-inline: 18px;
  }
  .block-content .hero-visual {
    min-height: 300px;
  }
  .block-content .contact-section h2 {
    font-size: 40px;
  }
  .error-page {
    grid-template-columns: 1fr;
    padding: 35px 24px 70px;
    gap: 10px;
  }
  .error-art {
    height: 260px;
    max-width: 340px;
    width: 100%;
    margin: auto;
  }
  .error-art i {
    width: 180px;
    height: 180px;
  }
  .error-copy h1 {
    font-size: 38px;
  }
  .error-copy .actions {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .js-reveal [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
