/* MAHDI YEHYA — Theme, typography, and shared controls. */
@font-face {
  font-family: "Space Grotesk";
  src: url("assets/fonts/space-grotesk-600.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}
:root {
  --background: #0b0c0f;
  --surface: #131419;
  --surface-raised: #1c1d23;
  --text: #f4f4f6;
  --muted: #a0a2ad;
  --soft: #858995;
  --accent: #ff574b;
  --line: #2d2f38;
  --font: Arial, Helvetica, sans-serif;
  --display: "Space Grotesk", Arial, Helvetica, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --width: 1240px;
  --ease: cubic-bezier(0.22, 0.8, 0.25, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 1rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}
body.modal-open {
  overflow: hidden;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
button:active,
.button:active {
  transform: translateY(1px);
}
::selection {
  background: var(--accent);
  color: var(--background);
}
.section-wrap,
.site-header {
  width: min(var(--width), calc(100% - 96px));
  margin-inline: auto;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  text-wrap: balance;
  overflow-wrap: break-word;
}
p {
  margin-top: 0;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  vertical-align: middle;
}
.eyebrow {
  font: 0.75rem/1.65 var(--mono);
  letter-spacing: 0.11em;
  font-weight: 400;
}
.muted {
  color: #8d909a;
}
.section-number {
  color: var(--accent);
  margin-right: 14px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 54px;
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.button-primary {
  background: var(--accent);
  color: #101014;
}
.button-primary:hover {
  background: #ff7469;
  transform: translateY(-2px);
}
.button-outline {
  background: transparent;
  border-color: #444752;
}
.button-outline:hover {
  background: #23252d;
  border-color: #727683;
}
.button-small {
  padding: 11px 17px;
  min-height: 46px;
  gap: 22px;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: none;
  border: 0;
  padding: 11px 0;
  font-size: 0.875rem;
  font-weight: 500;
  min-height: 44px;
}
.text-link .icon {
  transition: transform 0.2s;
}
.text-link:hover .icon {
  transform: translateX(4px);
}
.circle-button {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid #494d58;
  background: transparent;
  font-size: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.circle-button:hover {
  background: var(--accent);
  color: #101114;
  border-color: var(--accent);
}
.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  background: var(--accent);
  color: #000;
  padding: 14px 20px;
  z-index: 100;
}
.skip-link:focus {
  top: 15px;
}
.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;
}

/* Navigation stays available as visitors explore the work. */
.site-header {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  background: #0b0c0ff2;
  backdrop-filter: blur(18px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
}
.monogram {
  font: 600 42px/1 var(--display);
  letter-spacing: -4px;
}
.monogram span {
  color: var(--accent);
}
.brand-name {
  font: 0.625rem/1.6 var(--mono);
  letter-spacing: 1.6px;
  border-left: 1px solid #474a54;
  padding-left: 18px;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}
.desktop-nav a {
  font-size: 0.875rem;
  color: #b8bbc5;
  padding: 12px 0;
  position: relative;
  transition: color 0.2s;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current] {
  color: var(--text);
}
.desktop-nav a:after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s;
}
.desktop-nav a[aria-current]:after {
  width: 18px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.menu-button {
  display: none;
}
.mobile-nav[hidden] {
  display: none;
}

/* Hero: editorial type and a live 3D mesh. */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  position: relative;
  padding-top: 72px;
  min-height: 697px;
  gap: 0 28px;
}
.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  align-self: center;
  padding-bottom: 30px;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 27px;
  color: #c0c2ca;
}
.tiny-cross {
  color: var(--accent);
  width: 19px;
  height: 19px;
}
.hero h1 {
  font-size: clamp(3.5rem, 6.35vw, 5.45rem);
  letter-spacing: -0.065em;
  line-height: 1.04;
  margin: 0;
}
.hero h1 > span {
  display: block;
}
.hero h1 > span:last-child {
  color: var(--accent);
}
.hero-description {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #aeb0ba;
  margin: 27px 0 29px;
  max-width: 440px;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 25px;
}
.hero-visual {
  height: 530px;
  position: relative;
  min-width: 0;
  align-self: center;
  margin-top: -22px;
}
.hero-visual:before {
  content: "";
  position: absolute;
  inset: 7%;
  background: radial-gradient(ellipse, #ff574b10, transparent 66%);
  pointer-events: none;
}
.hero-visual:after {
  content: "";
  position: absolute;
  inset: 9% 1% 12%;
  border: 1px solid #ffffff06;
  border-radius: 50%;
  pointer-events: none;
}
#sculpture {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  position: relative;
  z-index: 1;
}
#sculpture:active {
  cursor: grabbing;
}
.visual-label {
  position: absolute;
  font: 0.625rem/1.5 var(--mono);
  letter-spacing: 1.5px;
  color: #9195a1;
  pointer-events: none;
  z-index: 2;
}
.label-top {
  right: 16px;
  top: 7px;
}
.crosshair {
  color: var(--accent);
  margin-right: 10px;
  font-size: 19px;
}
.coordinate {
  position: absolute;
  left: 0;
  top: 45%;
  font: 9px/1.8 var(--mono);
  letter-spacing: 1px;
  color: #777b89;
  pointer-events: none;
  z-index: 2;
}
.visual-caption {
  position: absolute;
  bottom: 78px;
  right: -6px;
  display: flex;
  align-items: center;
  gap: 12px;
  font: 10px/1.8 var(--mono);
  color: #b4b7c2;
  letter-spacing: 1px;
  pointer-events: none;
  z-index: 2;
}
.bracket {
  font-size: 31px;
  color: #606471;
}
.visual-toolbar {
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  z-index: 3;
}
.visual-toolbar > span {
  font: 0.625rem var(--mono);
  letter-spacing: 1.5px;
  color: #999daa;
}
.visual-controls {
  display: flex;
  gap: 2px;
}
.visual-control {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: none;
  color: #a3a7b3;
}
.visual-control:hover {
  border-color: #424551;
  color: var(--text);
}
.visual-control:disabled {
  opacity: 0.5;
}
.visual-control .icon {
  width: 17px;
  height: 17px;
}
.hero-bottom {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  align-self: end;
  padding: 27px 0;
  font: 0.6875rem/1.8 var(--mono);
  letter-spacing: 0.055em;
  color: #a0a4b0;
}
.hero-bottom a {
  color: #c2c6d0;
}
.hero-bottom a span {
  margin-left: 12px;
  color: var(--accent);
  font-size: 18px;
}
.location-mark {
  font-size: 20px;
  vertical-align: -1px;
  margin-right: 9px;
  color: var(--accent);
}
.toolkit {
  border-block: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 50px;
  padding: 27px 0;
}
.toolkit-label {
  font-size: 0.6875rem;
  color: #9a9eaa;
  flex-shrink: 0;
  letter-spacing: 0.075em;
  margin: 0;
}
.toolkit-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  width: 100%;
  color: #c0c3ce;
}
.toolkit-items > span {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  white-space: nowrap;
}
.tech-icon {
  width: 28px;
  height: 28px;
  color: #9297a5;
  stroke-width: 1.35;
}
.tech-box {
  font-size: 12px;
  border: 1.5px solid #9297a5;
  padding: 5px 3px 2px;
  line-height: 1;
}
.js-box {
  color: #0b0c0f;
  background: #a1a6b2;
}

/* Work: the stage height is measured from the cards, including enlarged text. */
.work-section {
  padding-top: 94px;
  overflow: hidden;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 48px;
  margin-bottom: 42px;
}
.section-heading > div,
.about-intro {
  min-width: 0;
}
.section-heading .eyebrow {
  margin: 0 0 23px;
}
.section-heading h2,
.about-section h2 {
  font-size: clamp(2.5rem, 4.45vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  margin: 0;
}
.section-intro {
  color: #a7aab5;
  font-size: 1rem;
  line-height: 1.8;
  max-width: 400px;
  margin: 0;
}
.section-intro p {
  margin: 0 0 20px;
}
.swipe-hint {
  font: 0.6875rem/1.8 var(--mono);
  letter-spacing: 0.055em;
  color: #b0b4bf;
}
.swipe-hint > span {
  font-size: 20px;
  margin-right: 8px;
  vertical-align: -2px;
  color: var(--accent);
}
.project-stage {
  min-height: 445px;
  position: relative;
  perspective: 1600px;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  user-select: none;
  border-radius: 12px;
  outline-offset: -3px !important;
}
.project-stage:active {
  cursor: grabbing;
}
.project-card {
  position: absolute;
  inset: 12px auto auto 50%;
  width: 76%;
  max-width: 920px;
  transform: translateX(-50%);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition:
    transform 0.6s var(--ease),
    opacity 0.4s;
  will-change: transform;
  border: 1px solid #41444e;
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 24px 54px #0006;
}
.project-card:not(.is-active) {
  pointer-events: none;
}
.project-card:not(:first-child):not(.is-active) {
  opacity: 0;
}
.project-card.is-active {
  z-index: 5;
  opacity: 1;
  border-color: #595c67;
}
.project-art {
  height: 350px;
  padding: 24px 35px 0;
  position: relative;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.3;
}
.project-art h4 {
  font-family: Arial, Helvetica, sans-serif;
}
.project-art.three-art {
  padding: 0;
  background: #efe7da;
}
.three-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.project-live {
  text-decoration: none;
}
.preview-caption {
  font: 9px/1.4 var(--mono);
  letter-spacing: 1px;
  display: flex;
  justify-content: space-between;
  opacity: 0.65;
  position: relative;
  z-index: 1;
  margin-bottom: 27px;
}
.art-corner {
  position: absolute;
  bottom: 13px;
  left: 35px;
  font: 8px/1.5 var(--mono);
  letter-spacing: 1px;
  opacity: 0.65;
}

/* Project interface concepts; sample content is hidden from assistive technology. */
.gym-art {
  background: #232932;
  color: #c3cfda;
}
.dashboard-preview {
  height: 285px;
  border: 1px solid #454a54;
  background: #11151b;
  border-radius: 6px 6px 0 0;
  display: flex;
  transform: perspective(1100px) rotateX(7deg) rotateY(-8deg) rotateZ(-3deg);
  transform-origin: 50% 0;
  box-shadow: 15px 18px 40px #0005;
  width: 96%;
  margin-inline: auto;
  text-align: left;
}
.dashboard-sidebar {
  width: 25%;
  min-width: 105px;
  border-right: 1px solid #242b33;
  padding: 20px 13px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-size: 12px;
  color: #626e7e;
}
.dashboard-sidebar strong {
  font-size: 16px;
  letter-spacing: -0.5px;
  color: #eff3f9;
  margin-bottom: 15px;
}
.dashboard-sidebar strong > span {
  color: #d4fb87;
  margin-left: 3px;
}
.dashboard-sidebar > span {
  white-space: nowrap;
  padding: 3px;
}
.dashboard-sidebar i {
  font-style: normal;
  margin-left: 8px;
  font-size: 9px;
}
.dashboard-sidebar .sidebar-active {
  background: #283329;
  color: #d4fb87;
  padding: 8px;
  border-radius: 3px;
  margin-inline: -5px;
}
.sidebar-footer {
  margin-top: auto;
  font: 7px var(--mono);
  letter-spacing: 1px;
}
.dashboard-main {
  flex: 1;
  min-width: 0;
  padding: 17px 19px;
}
.dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #e6eaf0;
}
.avatar {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #2a323b;
  color: #b5c1cd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
}
.preview-greeting {
  font-size: 8px;
  color: #727e8e;
  margin: 6px 0 17px;
}
.metric-row {
  display: flex;
  gap: 8px;
}
.metric-row > div {
  background: #1d232b;
  border: 1px solid #2d343f;
  padding: 10px;
  flex: 1;
}
.metric-row span {
  font-size: 7px;
  color: #83909f;
  display: block;
}
.metric-row b {
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 7px;
  color: #e2e9f2;
}
.metric-row em {
  font-size: 11px;
  font-style: normal;
  color: #d4fb87;
}
.chart-box {
  background: #1b2129;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #2a323b;
}
.chart-box > div:first-child {
  font-size: 8px;
  display: flex;
  justify-content: space-between;
  color: #c6d0dc;
}
.chart-box > div:first-child span {
  font-size: 6px;
  color: #657280;
}
.bar-chart {
  height: 73px;
  display: flex;
  align-items: flex-end;
  gap: 15px;
  margin-top: 12px;
  background: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 23px,
    #ffffff08 24px
  );
}
.bar-chart i {
  display: block;
  flex: 1;
  height: var(--height);
  background: #d4fb87;
  border-radius: 2px 2px 0 0;
  opacity: 0.82;
}
.bar-chart i:nth-child(2n) {
  opacity: 0.45;
}
.chart-days {
  display: flex;
  justify-content: space-around;
  font-size: 6px;
  color: #6e7e91;
  margin-top: 7px;
}
.byte-art {
  background: #b9c59a;
  color: #21301c;
}
.byte-preview {
  background: #f1f0df;
  border: 1px solid #23351f55;
  color: #20331e;
  padding: 20px 24px;
  height: 282px;
  width: 96%;
  margin: auto;
  border-radius: 5px 5px 0 0;
  transform: perspective(1100px) rotateX(7deg) rotateY(5deg) rotateZ(3deg);
  box-shadow: 10px 20px 40px #20331e44;
}
.byte-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 13px;
  border-bottom: 1px solid #20331e30;
}
.byte-nav > b {
  font-size: 18px;
  letter-spacing: -1px;
}
.byte-nav > b span {
  font-size: 9px;
  margin-left: 2px;
  vertical-align: top;
}
.byte-nav > span {
  font-size: 7px;
}
.mini-pill {
  background: #23361d;
  color: #f1f0df;
  padding: 8px;
  border-radius: 20px;
}
.byte-body > p {
  font: 7px var(--mono);
  letter-spacing: 1px;
  margin: 17px 0 8px;
}
.byte-body h4 {
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: -2.5px;
  margin: 0;
}
.byte-body h4 span {
  color: #dc6434;
}
.byte-divider {
  height: 1px;
  background: #20331e30;
  margin: 15px 0 5px;
}
.menu-items > div {
  display: flex;
  align-items: center;
  gap: 13px;
  border-bottom: 1px solid #20331e20;
  padding: 8px 0;
  font-size: 9px;
}
.menu-items > div span {
  font: 7px var(--mono);
  color: #718266;
}
.menu-items > div b {
  font-weight: 500;
}
.menu-items > div strong {
  margin-left: auto;
  font-size: 10px;
}
.hot-art {
  background: #e45b32;
  color: #431811;
}
.hot-preview {
  background: #fff0cb;
  padding: 19px 25px;
  width: 90%;
  height: 285px;
  margin: 0 auto;
  transform: perspective(1100px) rotateX(5deg) rotateY(-6deg) rotateZ(-3deg);
  border-radius: 5px;
  box-shadow: 14px 20px 30px #63271255;
}
.hot-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
.hot-nav b {
  font-size: 17px;
  line-height: 0.85;
  letter-spacing: -1px;
}
.hot-nav b > span {
  font-size: 7px;
  position: absolute;
  top: 0;
  margin-left: 2px;
}
.hot-nav > span {
  font: 7px var(--mono);
  letter-spacing: 1px;
}
.hot-nav > span:last-child {
  font-size: 20px;
}
.hot-preview h4 {
  font-weight: 900;
  font-size: 42px;
  line-height: 0.9;
  letter-spacing: -2px;
  margin: 17px 0 12px;
}
.hot-preview h4 > span {
  color: #e45731;
}
.hot-categories {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.hot-categories > span {
  font-size: 7px;
  border: 1px solid #44190f44;
  padding: 6px 10px;
  border-radius: 20px;
}
.hot-categories > span:first-child {
  background: #431811;
  color: #fff0cb;
}
.hot-menu > div {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #43181122;
  padding: 7px 0;
}
.hot-menu span {
  font: 7px var(--mono);
}
.hot-menu b {
  font-size: 10px;
}
.hot-menu em {
  margin-left: auto;
  font: 10px var(--mono);
}
.creator-art {
  background: #404171;
  color: #d5d6ef;
}
.creator-preview {
  width: 95%;
  background: #141523;
  height: 286px;
  margin: auto;
  padding: 18px 22px;
  border: 1px solid #7678a755;
  border-radius: 6px;
  box-shadow: 10px 25px 30px #14152366;
  transform: perspective(1100px) rotateX(6deg) rotateY(6deg) rotateZ(3deg);
}
.creator-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ffffff18;
  padding-bottom: 12px;
}
.creator-top > strong {
  font-size: 16px;
  letter-spacing: 1px;
}
.creator-top strong > span {
  color: #a8a5ff;
}
.creator-top > span:nth-child(2) {
  font-size: 7px;
  color: #8f90ac;
}
.creator-body {
  padding-top: 19px;
}
.creator-titles > span {
  font: 7px var(--mono);
  letter-spacing: 1.5px;
  color: #8586a0;
}
.creator-titles h4 {
  font-size: 36px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -1.5px;
  margin: 8px 0 17px;
}
.timeline-preview {
  position: relative;
}
.timeline-ruler {
  display: flex;
  justify-content: space-between;
  color: #777b98;
  font: 6px var(--mono);
  margin-bottom: 6px;
}
.timeline-track {
  display: flex;
  gap: 4px;
  height: 29px;
  margin-bottom: 5px;
}
.timeline-track i {
  display: flex;
  align-items: center;
  flex: 1;
  padding-left: 8px;
  background: #585699;
  font: 7px var(--mono);
  border-radius: 2px;
  color: #dcddf7;
  border: 1px solid #a2a0ef44;
}
.timeline-track i:nth-child(2) {
  background: #6762b6;
  flex: 1.6;
}
.timeline-track i:nth-child(3) {
  background: #464279;
}
.audio-track {
  height: 14px;
  width: 94%;
}
.audio-track i {
  background: repeating-linear-gradient(
    90deg,
    #224a49 0,
    #224a49 3px,
    #3e6b69 4px,
    #3e6b69 5px
  );
  border: 0;
  font-size: 6px;
}
.timeline-playhead {
  position: absolute;
  left: 63%;
  top: 0;
  bottom: -3px;
  width: 1px;
  background: #f08393;
}
.timeline-playhead:before {
  content: "";
  position: absolute;
  left: -3px;
  top: 0;
  width: 7px;
  height: 6px;
  background: #f08393;
}
.creator-tags {
  display: flex;
  gap: 7px;
  margin-top: 11px;
}
.creator-tags > span {
  padding: 4px 7px;
  border: 1px solid #ffffff18;
  font-size: 6px;
  color: #a0a1b7;
}

.project-info {
  padding: 25px 28px 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  text-align: left;
  background: linear-gradient(130deg, #1a1b21, #131419);
}
.project-info > div {
  min-width: 0;
}
.project-category {
  font: 0.625rem/1.7 var(--mono);
  letter-spacing: 0.07em;
  color: #b0b4c1;
  margin: 0 0 9px;
}
.project-info h3 {
  font-size: 1.6rem;
  letter-spacing: -0.045em;
  line-height: 1.15;
  margin: 0 0 9px;
}
.project-info p:last-child {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #a7acb9;
  margin: 0;
}
.project-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 46px;
  border: 1px solid #484d5a;
  border-radius: 5px;
  background: transparent;
  padding: 11px 15px;
  flex-shrink: 0;
  color: var(--text);
  font-size: 0.8125rem;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.project-open:hover {
  background: #ff574b17;
  border-color: var(--accent);
}
.project-open .icon {
  width: 19px;
  height: 19px;
  color: var(--accent);
}
.carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 20px 0;
}
.project-counter {
  display: flex;
  align-items: center;
  gap: 15px;
  font: 0.75rem var(--mono);
}
.counter-numbers {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.counter-numbers b {
  color: var(--accent);
  font-weight: 400;
}
.counter-numbers > span {
  color: #9a9fac;
}
#current-project-name {
  font: 0.8125rem var(--font);
  color: #c6cad4;
  padding-left: 15px;
  border-left: 1px solid #3d414e;
}
.carousel-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}
.carousel-progress > button {
  height: 44px;
  width: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
  border-radius: 4px;
}
.carousel-progress > button:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 21px;
  height: 3px;
  background: #565b6b;
  transition: background 0.2s;
}
.carousel-progress > button.active:after {
  background: var(--accent);
  height: 4px;
}
.carousel-arrows {
  display: flex;
  gap: 10px;
}
.project-note {
  font-size: 0.75rem;
  line-height: 1.8;
  color: #9ca1ae;
  text-align: center;
  max-width: 690px;
  margin: 0 auto;
}

/* Services and pricing remain quote-based until real rates are supplied. */
.services-section {
  padding-top: 105px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 66px;
}
.price-card {
  border: 1px solid #363945;
  background: #121318;
  border-radius: 9px;
  padding: 29px 25px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s;
}
.price-card:hover {
  border-color: #656b7a;
}
.price-card.featured {
  background: linear-gradient(150deg, #2a1717, #171419 50%);
  border-color: #a3453e;
  border-radius: 0 0 9px 9px;
}
.service-highlight {
  position: absolute;
  left: -1px;
  right: -1px;
  bottom: 100%;
  min-height: 30px;
  padding: 6px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #18100e;
  border-radius: 9px 9px 0 0;
  font: 0.625rem/1.6 var(--mono);
  letter-spacing: 0.055em;
  font-weight: 600;
}
.service-icon {
  display: flex;
  align-items: center;
  color: #c2c6d2;
  height: 44px;
  margin-bottom: 17px;
}
.service-icon .icon {
  width: 30px;
  height: 30px;
  stroke-width: 1.4;
}
.featured .service-icon {
  color: var(--accent);
}
.service-index {
  position: absolute;
  right: 25px;
  top: 35px;
  font: 0.75rem var(--mono);
  color: #999fac;
}
.price-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.045em;
  min-height: 2.45em;
  margin: 4px 0 15px;
}
.price-card > p {
  font-size: 1rem;
  line-height: 1.8;
  color: #a6abb8;
  min-height: 5.4em;
  margin: 0;
}
.price {
  padding: 24px 0 23px;
  border-bottom: 1px solid #3d333a;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 10px;
}
.price > span {
  font: 0.6875rem var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #b0b4c1;
}
.price > strong {
  font: 600 clamp(1.7rem, 2.4vw, 2.2rem) / 1.2 var(--display);
  letter-spacing: -0.045em;
}
.price small {
  font-size: 0.75rem;
  color: #a0a5b3;
}
.price-card ul {
  list-style: none;
  padding: 24px 0 28px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.price-card li {
  font-size: 0.875rem;
  color: #c7ccd7;
  position: relative;
  padding-left: 23px;
  line-height: 1.65;
}
.price-card li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 14px;
}
.price-card .button {
  font-size: 0.8125rem;
  padding: 15px 14px;
  margin-top: auto;
  gap: 8px;
}
.pricing-note {
  font-size: 0.75rem;
  line-height: 1.8;
  text-align: center;
  color: #9ca1ae;
  margin: 24px auto 0;
  max-width: 640px;
}

/* About, contact, and dialogs. */
.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 95px;
  padding-block: 108px 102px;
}
.about-intro > .eyebrow {
  margin: 0 0 25px;
}
.about-section h2 > span:not(.muted) {
  color: var(--accent);
}
.signature {
  font: 600 1.4rem var(--display);
  letter-spacing: -1px;
  margin-top: 29px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.signature > span {
  font-size: 24px;
  color: var(--accent);
}
.about-copy {
  padding-top: 41px;
  min-width: 0;
}
.about-copy > p {
  font-size: 1rem;
  color: #a7adba;
  line-height: 1.9;
  margin: 0 0 20px;
}
.about-copy > p:first-child {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #d9dce4;
}
.about-facts {
  margin-top: 28px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}
.about-facts > div {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 12px 0;
  align-items: baseline;
}
.about-facts span {
  font: 0.6875rem var(--mono);
  letter-spacing: 0.06em;
  color: #a2a8b6;
}
.about-facts strong {
  font-size: 0.875rem;
  font-weight: 400;
  color: #d0d5df;
}
.contact-section {
  background: linear-gradient(115deg, #221618, #17171c 65%);
  border: 1px solid #4f3439;
  border-radius: 10px;
  padding: 38px 43px 29px;
  position: relative;
}
.contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contact-top .eyebrow {
  color: #c1c6d0;
  margin: 0;
}
.contact-plus {
  color: var(--accent);
  width: 28px;
  height: 28px;
}
.contact-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 27px 0 34px;
}
.contact-main h2 {
  font-size: clamp(2.7rem, 5.5vw, 4.8rem);
  line-height: 1.06;
  letter-spacing: -0.06em;
  margin: 0;
}
.contact-main h2 > span {
  color: var(--accent);
}
.contact-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #82777e;
  width: 104px;
  height: 104px;
  background: transparent;
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.contact-arrow .icon {
  width: 47px;
  height: 47px;
  stroke-width: 1.3;
}
.contact-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #101114;
}
.contact-bottom {
  border-top: 1px solid #453439;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.contact-bottom p {
  margin: 0;
  color: #b0b4c0;
  font-size: 0.9375rem;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
  padding-block: 33px 37px;
  color: #a0a6b3;
}
.site-footer .monogram {
  font-size: 33px;
  color: var(--text);
  letter-spacing: -3px;
}
.site-footer p {
  font-size: 0.75rem;
  margin: 0;
}
.site-footer > span {
  font: 0.625rem var(--mono);
  letter-spacing: 0.055em;
}
.back-top {
  font-size: 0.8125rem;
  color: #c9ced9;
  padding: 10px 0;
  min-height: 44px;
}
.dialog {
  color: var(--text);
  background: #17191f;
  border: 1px solid #4b515f;
  border-radius: 12px;
  padding: 43px;
  width: min(640px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  box-shadow: 0 30px 100px #000a;
  overscroll-behavior: contain;
}
.dialog::backdrop {
  background: #05060ac9;
  backdrop-filter: blur(8px);
}
.dialog-close {
  position: absolute;
  right: 17px;
  top: 17px;
  width: 44px;
  height: 44px;
  font-size: 27px;
}
.dialog > .eyebrow {
  color: var(--accent);
  font-size: 0.6875rem;
  padding-right: 24px;
  margin: 27px 0 20px;
}
.dialog h2 {
  font-size: 2.55rem;
  line-height: 1.13;
  letter-spacing: -0.05em;
  margin: 0 0 20px;
  padding-right: 6px;
}
.dialog > p:not(.eyebrow),
.dialog-details p {
  font-size: 1rem;
  line-height: 1.85;
  color: #b1b8c5;
}
.dialog-details {
  padding-block: 15px;
  border-block: 1px solid #3b404c;
  margin-top: 25px;
}
.dialog-details h3 {
  font-size: 1.1rem;
  margin: 15px 0 10px;
}
.dialog-details ul {
  padding-left: 20px;
  font-size: 0.9375rem;
  color: #b1b8c5;
  line-height: 1.9;
}
.dialog .dialog-footnote {
  font-size: 0.75rem;
  margin-bottom: 0;
  color: #a2aab9;
}
.contact-dialog h2 > span {
  color: var(--accent);
}
.contact-placeholder {
  margin-top: 24px;
  padding: 22px;
  background: #20232c;
  border: 1px solid #3e4553;
  border-radius: 6px;
}
.contact-placeholder > strong {
  font-size: 1rem;
  font-weight: 500;
  display: block;
}
.contact-placeholder > p {
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #b2b9c8;
  margin: 10px 0 0;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 23px;
}
.noscript-message {
  padding: 20px;
  background: #442323;
  color: white;
  font-size: 16px;
}

/* Tablet: preserve hierarchy as columns become narrower. */
@media (max-width: 1100px) {
  .section-wrap,
  .site-header {
    width: calc(100% - 64px);
  }
  .hero {
    min-height: 642px;
    padding-top: 52px;
    gap: 0 18px;
  }
  .hero h1 {
    font-size: clamp(3.4rem, 6.4vw, 4.65rem);
  }
  .hero .eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.05em;
  }
  .hero-visual {
    height: 475px;
    margin-right: -10px;
  }
  .hero-description {
    font-size: 1rem;
    max-width: 390px;
  }
  .hero-actions {
    gap: 12px 19px;
  }
  .hero-actions .button {
    gap: 18px;
    padding-inline: 18px;
  }
  .hero-actions .text-link {
    font-size: 0.8125rem;
  }
  .toolkit {
    gap: 30px;
  }
  .toolkit-items {
    gap: 16px;
  }
  .toolkit-items > span {
    gap: 8px;
    font-size: 0.9375rem;
  }
  .tech-icon {
    width: 25px;
    height: 25px;
  }
  .price-card {
    padding: 25px 20px;
  }
  .price-card h3 {
    font-size: 1.35rem;
  }
  .price-card > p {
    min-height: 7.2em;
  }
  .price-card .button {
    font-size: 0.75rem;
    padding-inline: 11px;
  }
  .about-section {
    gap: 55px;
  }
  .project-card {
    width: 80%;
  }
  .project-info {
    gap: 17px;
    padding-inline: 22px;
  }
  .project-info h3 {
    font-size: 1.5rem;
  }
  .project-open {
    font-size: 0.75rem;
    padding-inline: 12px;
  }
  .coordinate {
    display: none;
  }
  .visual-caption {
    font-size: 9px;
    right: 0;
  }
}
@media (max-width: 850px) {
  .section-wrap,
  .site-header {
    width: calc(100% - 48px);
  }
  .brand-name {
    display: none;
  }
  .desktop-nav {
    gap: 24px;
  }
  .desktop-nav a {
    font-size: 0.8125rem;
  }
  .hero {
    min-height: 603px;
  }
  .hero h1 {
    font-size: clamp(2.85rem, 6.5vw, 3.7rem);
  }
  .hero .eyebrow {
    font-size: 0.625rem;
    letter-spacing: 0.025em;
    gap: 8px;
  }
  .hero-visual {
    height: 395px;
    margin-top: -26px;
  }
  .hero-actions {
    flex-wrap: wrap;
  }
  .hero-description {
    font-size: 1rem;
  }
  .hero-bottom {
    font-size: 0.625rem;
    letter-spacing: 0;
  }
  .hero-bottom > span {
    max-width: 330px;
  }
  .visual-toolbar {
    left: 4px;
    right: 0;
    gap: 10px;
  }
  .visual-toolbar > span {
    font-size: 9px;
    letter-spacing: 0.6px;
  }
  .visual-control {
    width: 40px;
  }
  .label-top {
    right: 8px;
    font-size: 9px;
  }
  .visual-caption {
    font-size: 8px;
    bottom: 63px;
  }
  .toolkit {
    gap: 24px;
  }
  .toolkit-items {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 14px 23px;
  }
  .section-heading {
    gap: 30px;
  }
  .section-heading h2,
  .about-section h2 {
    font-size: 2.8rem;
  }
  .section-intro {
    max-width: 320px;
    font-size: 0.9375rem;
  }
  .swipe-hint {
    font-size: 0.625rem;
  }
  .work-section {
    padding-top: 76px;
  }
  .project-card {
    width: 87%;
  }
  .project-art {
    height: 318px;
    padding: 22px 24px 0;
  }
  .preview-caption {
    margin-bottom: 22px;
  }
  .project-info {
    flex-wrap: wrap;
  }
  .project-info > div {
    flex: 1 1 250px;
  }
  .project-open {
    font-size: 0.8125rem;
  }
  .carousel-footer {
    gap: 16px;
  }
  #current-project-name {
    display: none;
  }
  .services-section {
    padding-top: 82px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
    gap: 42px;
  }
  .price-card {
    padding: 30px;
  }
  .price-card h3 {
    font-size: 1.6rem;
    min-height: 0;
  }
  .price-card > p {
    min-height: 0;
  }
  .price > strong {
    font-size: 2.1rem;
  }
  .price-card .button {
    font-size: 0.875rem;
    padding: 16px 20px;
  }
  .price-card li {
    font-size: 1rem;
  }
  .about-section {
    gap: 40px;
    padding-block: 89px;
  }
  .about-copy {
    padding-top: 36px;
  }
  .about-facts strong {
    font-size: 0.8125rem;
  }
  .contact-section {
    padding: 32px;
  }
  .contact-main h2 {
    font-size: 3.1rem;
  }
  .contact-arrow {
    width: 80px;
    height: 80px;
  }
  .contact-arrow .icon {
    width: 37px;
    height: 37px;
  }
  .site-footer > span {
    display: none;
  }
}

/* Mobile content reflows; the art previews are decorative scaled interfaces. */
@media (max-width: 600px) {
  html {
    scroll-padding-top: 94px;
  }
  .section-wrap,
  .site-header {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 78px;
    gap: 16px;
  }
  .monogram {
    font-size: 38px;
  }
  .brand {
    gap: 12px;
  }
  .brand-name {
    display: block;
    font-size: 9px;
    letter-spacing: 1px;
    padding-left: 12px;
  }
  .desktop-nav {
    display: none;
  }
  .button-small {
    min-height: 44px;
    font-size: 0.8125rem;
    padding: 10px 13px;
    gap: 13px;
  }
  .header-actions {
    gap: 10px;
  }
  .menu-button {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    padding: 10px;
  }
  .menu-button span {
    display: block;
    width: 21px;
    height: 1.5px;
    background: #e3e6ef;
    transition: transform 0.2s;
  }
  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(3.75px) rotate(45deg);
  }
  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-3.75px) rotate(-45deg);
  }
  .mobile-nav {
    position: absolute;
    top: 77px;
    left: -20px;
    right: -20px;
    padding: 14px 20px 22px;
    background: #13151bf9;
    border-bottom: 1px solid #464c5b;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .mobile-nav a {
    font-size: 1rem;
    padding: 10px 6px;
    min-height: 46px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding-top: 42px;
    min-height: 0;
  }
  .hero-copy {
    padding-bottom: 0;
  }
  .hero .eyebrow {
    font-size: 0.625rem;
    letter-spacing: 0.055em;
    margin-bottom: 23px;
    gap: 9px;
  }
  .tiny-cross {
    width: 17px;
    height: 17px;
  }
  .hero h1 {
    font-size: clamp(2.85rem, 11.75vw, 4.1rem);
    letter-spacing: -0.065em;
    line-height: 1.07;
  }
  .hero-description {
    font-size: 1rem;
    line-height: 1.85;
    margin: 23px 0 23px;
    max-width: 430px;
  }
  .hero-actions {
    gap: 12px 20px;
  }
  .hero-actions .button {
    font-size: 0.8125rem;
    padding: 15px 18px;
    min-height: 51px;
  }
  .hero-actions .text-link {
    font-size: 0.8125rem;
    gap: 12px;
  }
  .hero-visual {
    width: 100%;
    height: 350px;
    margin: 22px 0 0;
    align-self: center;
  }
  .label-top {
    top: 8px;
    right: 13px;
    font-size: 9px;
  }
  .visual-caption {
    font-size: 8px;
    right: 2px;
    bottom: 62px;
  }
  .visual-caption .bracket {
    font-size: 26px;
  }
  .visual-toolbar {
    bottom: 0;
    left: 4px;
    right: 0;
  }
  .visual-toolbar > span {
    font-size: 10px;
    letter-spacing: 0.6px;
  }
  .visual-control {
    width: 44px;
  }
  .hero-bottom {
    width: 100%;
    padding: 22px 0;
    font-size: 0.625rem;
    line-height: 1.8;
    gap: 20px;
  }
  .hero-bottom > span {
    max-width: 215px;
  }
  .hero-bottom > a {
    font-size: 10px;
    white-space: nowrap;
  }
  .hero-bottom a span {
    margin-left: 6px;
    font-size: 16px;
  }
  .location-mark {
    display: none;
  }
  .toolkit {
    gap: 22px;
    padding-block: 24px;
    align-items: flex-start;
  }
  .toolkit-label {
    font-size: 10px;
    line-height: 1.9;
    letter-spacing: 0.05em;
    padding-top: 3px;
    width: 93px;
  }
  .toolkit-items {
    gap: 16px 19px;
  }
  .toolkit-items > span {
    font-size: 0.875rem;
    gap: 8px;
  }
  .tech-icon {
    width: 23px;
    height: 23px;
  }
  .tech-box {
    font-size: 10px;
  }
  .work-section {
    padding-top: 65px;
  }
  .section-heading {
    display: block;
    margin-bottom: 28px;
  }
  .section-heading h2 {
    font-size: 2.7rem;
    letter-spacing: -0.055em;
  }
  .section-heading .eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.075em;
    margin-bottom: 20px;
  }
  .section-number {
    margin-right: 9px;
  }
  .section-intro {
    max-width: 430px;
    margin-top: 21px;
    font-size: 1rem;
    line-height: 1.8;
  }
  .section-intro p {
    margin-bottom: 12px;
  }
  .swipe-hint {
    font-size: 10px;
    letter-spacing: 0.04em;
  }
  .project-stage {
    min-height: 420px;
    perspective: 1100px;
    margin-inline: -20px;
  }
  .project-card {
    width: calc(100% - 48px);
    max-width: 475px;
    border-radius: 9px;
  }
  .project-art {
    height: 242px;
    padding: 18px 20px 0;
  }
  .preview-caption {
    font-size: 7px;
    letter-spacing: 0.6px;
    margin-bottom: 18px;
  }
  .art-corner {
    font-size: 6px;
    left: 20px;
    bottom: 10px;
    letter-spacing: 0.5px;
  }
  .project-info {
    padding: 20px;
    gap: 19px;
    display: block;
  }
  .project-category {
    font-size: 0.625rem;
    letter-spacing: 0.045em;
    line-height: 1.75;
    margin-bottom: 9px;
  }
  .project-info h3 {
    font-size: 1.45rem;
    letter-spacing: -0.04em;
  }
  .project-info p:last-child {
    font-size: 0.9375rem;
    line-height: 1.65;
  }
  .project-open {
    min-height: 44px;
    margin-top: 16px;
    font-size: 0.8125rem;
    border-color: #525a6b;
    padding: 10px 13px;
    gap: 17px;
  }
  .carousel-footer {
    gap: 12px;
    margin: 15px 0 18px;
  }
  .carousel-arrows {
    gap: 8px;
  }
  .carousel-arrows .circle-button {
    width: 44px;
    height: 44px;
  }
  .carousel-progress {
    gap: 5px;
  }
  .carousel-progress > button {
    width: 28px;
    height: 44px;
  }
  .project-counter {
    font-size: 0.6875rem;
  }
  .project-note {
    font-size: 0.75rem;
    line-height: 1.8;
    padding-inline: 6px;
  }
  .services-section {
    padding-top: 74px;
  }
  .pricing-grid {
    margin-top: 32px;
    gap: 44px;
  }
  .price-card {
    padding: 28px 25px;
  }
  .price-card h3 {
    font-size: 1.5rem;
    margin-top: 4px;
  }
  .price-card > p {
    font-size: 1rem;
  }
  .price {
    margin-top: 4px;
  }
  .price-card li {
    font-size: 0.9375rem;
  }
  .price-card .button {
    font-size: 0.8125rem;
    padding-inline: 15px;
  }
  .service-highlight {
    font-size: 0.625rem;
    line-height: 1.6;
    min-height: 31px;
  }
  .pricing-note {
    font-size: 0.75rem;
    padding-inline: 5px;
  }
  .about-section {
    grid-template-columns: 1fr;
    padding-block: 78px 72px;
    gap: 28px;
  }
  .about-intro > .eyebrow {
    font-size: 0.625rem;
    letter-spacing: 0.075em;
    margin-bottom: 21px;
  }
  .about-section h2 {
    font-size: 2.8rem;
    letter-spacing: -0.055em;
  }
  .about-section h2 .muted br {
    display: none;
  }
  .signature {
    font-size: 1.3rem;
    margin-top: 24px;
  }
  .about-copy {
    padding-top: 0;
  }
  .about-copy > p:first-child {
    font-size: 1.15rem;
  }
  .about-copy > p {
    font-size: 1rem;
  }
  .about-facts span {
    font-size: 0.625rem;
  }
  .about-facts strong {
    font-size: 0.8125rem;
  }
  .contact-section {
    padding: 26px 24px;
  }
  .contact-top .eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.075em;
  }
  .contact-plus {
    width: 25px;
    height: 25px;
  }
  .contact-main {
    padding: 23px 0 28px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .contact-main h2 {
    font-size: clamp(2.1rem, 9vw, 3rem);
    line-height: 1.1;
    letter-spacing: -0.055em;
  }
  .contact-arrow {
    width: 52px;
    height: 52px;
    margin-top: 4px;
  }
  .contact-arrow .icon {
    width: 27px;
    height: 27px;
  }
  .contact-bottom {
    display: block;
    padding-top: 20px;
  }
  .contact-bottom p {
    font-size: 0.9375rem;
  }
  .contact-bottom .text-link {
    font-size: 0.875rem;
    margin-top: 10px;
  }
  .site-footer {
    padding-block: 25px;
    gap: 13px;
  }
  .site-footer p {
    font-size: 0.6875rem;
  }
  .back-top {
    font-size: 0.75rem;
  }
  .site-footer .monogram {
    font-size: 31px;
  }
  .dialog {
    padding: 29px 24px;
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
  }
  .dialog h2 {
    font-size: 2rem;
  }
  .dialog > .eyebrow {
    font-size: 0.625rem;
    padding-right: 18px;
    line-height: 1.8;
    margin-top: 35px;
  }
  .contact-placeholder {
    padding: 18px;
  }
  .dashboard-preview {
    height: 215px;
    width: 98%;
  }
  .dashboard-sidebar {
    min-width: 76px;
    width: 24%;
    padding: 12px 8px;
    gap: 10px;
  }
  .dashboard-sidebar strong {
    font-size: 12px;
    margin-bottom: 6px;
  }
  .dashboard-sidebar i {
    font-size: 6px;
    margin-left: 4px;
  }
  .dashboard-sidebar > span {
    font-size: 8px;
  }
  .dashboard-sidebar .sidebar-active {
    padding: 6px;
    margin-inline: -3px;
  }
  .sidebar-footer {
    font-size: 5px;
  }
  .dashboard-main {
    padding: 12px 10px;
  }
  .dashboard-top {
    font-size: 9px;
  }
  .avatar {
    width: 17px;
    height: 17px;
    font-size: 6px;
  }
  .preview-greeting {
    font-size: 6px;
    margin-bottom: 10px;
  }
  .metric-row {
    gap: 5px;
  }
  .metric-row > div {
    padding: 6px;
  }
  .metric-row span {
    font-size: 5px;
  }
  .metric-row b {
    font-size: 17px;
    margin-top: 5px;
  }
  .metric-row em {
    font-size: 8px;
  }
  .chart-box {
    padding: 8px;
    margin-top: 8px;
  }
  .chart-box > div:first-child {
    font-size: 7px;
  }
  .chart-box > div:first-child span {
    font-size: 5px;
  }
  .bar-chart {
    height: 55px;
    gap: 10px;
    margin-top: 8px;
  }
  .chart-days {
    font-size: 5px;
    margin-top: 4px;
  }
  .byte-preview,
  .hot-preview,
  .creator-preview {
    height: 216px;
    padding: 14px 16px;
  }
  .byte-nav > b {
    font-size: 14px;
  }
  .byte-nav > span {
    font-size: 6px;
  }
  .byte-nav {
    padding-bottom: 8px;
    gap: 7px;
  }
  .mini-pill {
    padding: 6px;
  }
  .byte-body > p {
    font-size: 6px;
    margin: 11px 0 7px;
  }
  .byte-body h4 {
    font-size: 29px;
    letter-spacing: -1.5px;
  }
  .byte-divider {
    margin: 10px 0 4px;
  }
  .menu-items > div {
    padding: 7px 0;
    font-size: 8px;
    gap: 9px;
  }
  .menu-items > div span {
    font-size: 5px;
  }
  .menu-items > div strong {
    font-size: 8px;
  }
  .hot-nav b {
    font-size: 13px;
  }
  .hot-nav > span {
    font-size: 6px;
  }
  .hot-nav > span:last-child {
    font-size: 16px;
  }
  .hot-preview h4 {
    font-size: 29px;
    margin: 12px 0 10px;
    letter-spacing: -1.5px;
  }
  .hot-categories {
    gap: 4px;
    margin-bottom: 6px;
  }
  .hot-categories > span {
    font-size: 6px;
    padding: 4px 7px;
  }
  .hot-menu > div {
    padding: 6px 0;
    gap: 8px;
  }
  .hot-menu span {
    font-size: 6px;
  }
  .hot-menu b,
  .hot-menu em {
    font-size: 8px;
  }
  .creator-top {
    padding-bottom: 9px;
  }
  .creator-top > strong {
    font-size: 13px;
  }
  .creator-top > span:nth-child(2) {
    font-size: 6px;
  }
  .creator-body {
    padding-top: 10px;
  }
  .creator-titles > span {
    font-size: 6px;
  }
  .creator-titles h4 {
    font-size: 26px;
    letter-spacing: -1px;
    margin: 6px 0 12px;
  }
  .timeline-ruler {
    font-size: 5px;
  }
  .timeline-track {
    height: 23px;
    gap: 3px;
  }
  .timeline-track i {
    font-size: 6px;
    padding-left: 5px;
  }
  .audio-track {
    height: 12px;
  }
  .audio-track i {
    font-size: 5px;
  }
  .creator-tags {
    margin-top: 8px;
  }
  .creator-tags > span {
    font-size: 5px;
    padding: 3px 5px;
  }
}
@media (max-width: 370px) {
  .brand-name {
    display: none;
  }
  .hero h1 {
    font-size: 2.75rem;
  }
  .hero-actions {
    gap: 10px;
  }
  .hero-actions .button {
    font-size: 0.75rem;
    gap: 13px;
    padding-inline: 13px;
  }
  .hero-actions .text-link {
    font-size: 0.75rem;
    gap: 8px;
  }
  .hero-bottom {
    flex-wrap: wrap;
    gap: 10px;
  }
  .hero-bottom > span {
    max-width: none;
  }
  .toolkit {
    display: block;
  }
  .toolkit-label {
    display: block;
    width: auto;
    margin-bottom: 18px;
  }
  .toolkit-label br {
    display: none;
  }
  .toolkit-items {
    gap: 15px 20px;
  }
  .project-art {
    padding-inline: 15px;
    height: 226px;
  }
  .dashboard-sidebar {
    min-width: 65px;
  }
  .project-info {
    padding: 19px 16px;
  }
  .project-category {
    font-size: 0.625rem;
  }
  .carousel-progress {
    gap: 3px;
  }
  .carousel-progress > button {
    width: 24px;
  }
  .carousel-arrows {
    gap: 5px;
  }
  .about-section h2 {
    font-size: 2.5rem;
  }
  .price-card {
    padding-inline: 22px;
  }
  .site-footer {
    gap: 10px;
  }
  .site-footer p {
    font-size: 0.625rem;
  }
}
/* Scroll entrances rotate around the lower edge, like a panel lifting into view.
   Resting styles remain visible: no hidden content if scripts fail or are off. */
[data-scroll-reveal] {
  transform-origin: 50% 100%;
}
@media print {
  [data-scroll-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-scroll-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .project-card {
    will-change: auto;
  }
}
