/* :root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #edf3ff;
  --text: #111827;
  --muted: #667085;
  --line: #e4e7ec;
  --primary: #1d5fd1;
  --primary-dark: #123f93;
  --accent: #71b7ff;
  --shadow-sm: 0 12px 32px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 24px 65px rgba(16, 24, 40, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 0%, rgba(113, 183, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 95% 18%, rgba(29, 95, 209, 0.08), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px max(20px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid rgba(228, 231, 236, 0.86);
  background: rgba(245, 247, 251, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(145deg, #2d78eb, #0d347c);
  box-shadow: 0 10px 25px rgba(29, 95, 209, 0.28);
}

.header-link,
.back-link {
  color: var(--primary-dark);
  font-weight: 750;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: end;
  gap: 72px;
  padding-block: 105px 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.hero h1,
.project-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.hero-text {
  max-width: 710px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 1.12rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 30px rgba(29, 95, 209, 0.22);
  font-weight: 800;
}

.primary-button:hover {
  transform: translateY(-2px);
}

.hero-panel {
  padding: 30px;
  color: #fff;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, #101828, #174fa9);
  box-shadow: var(--shadow-lg);
}

.hero-panel-label,
.hero-panel span {
  display: block;
  color: #d7e7ff;
}

.hero-panel strong {
  display: block;
  margin: 14px 0 7px;
  font-size: 4rem;
  line-height: 1;
}

.portfolio-section {
  padding-block: 28px 115px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2,
.detail-header h2,
.project-not-selected h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 650;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(228, 231, 236, 0.9);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(16, 24, 40, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(29, 95, 209, 0.25);
  box-shadow: var(--shadow-lg);
}

.project-card-featured {
  grid-column: span 2;
}

.project-visual {
  position: relative;
  min-height: 225px;
  overflow: hidden;
  background: linear-gradient(145deg, #edf4ff, #dceaff);
}

.project-card-featured .project-visual {
  min-height: 285px;
}

.project-visual::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -85px;
  top: -95px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.project-card-content {
  position: relative;
  padding: 24px 24px 26px;
}

.project-number {
  position: absolute;
  right: 24px;
  top: 23px;
  color: #98a2b3;
  font-size: 0.78rem;
  font-weight: 800;
}

.project-card-content p {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-card-content h3 {
  max-width: calc(100% - 35px);
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.view-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 750;
}

.project-card:hover .view-link {
  color: var(--primary);
}

.window-dot {
  position: relative;
  z-index: 2;
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 22px 0 0 7px;
  border-radius: 50%;
  background: rgba(16, 24, 40, 0.22);
}

.window-dot:first-child {
  margin-left: 24px;
}



.mini-chart {
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: 14%;
  display: flex;
  align-items: end;
  gap: 8%;
  height: 55%;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 40px rgba(29, 95, 209, 0.15);
}

.mini-chart i {
  flex: 1;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(#67b4ff, #226bd8);
}

.mini-chart i:nth-child(1) { height: 38%; }
.mini-chart i:nth-child(2) { height: 58%; }
.mini-chart i:nth-child(3) { height: 46%; }
.mini-chart i:nth-child(4) { height: 78%; }
.mini-chart i:nth-child(5) { height: 92%; }

.visual-operations { background: linear-gradient(145deg, #e9f9f3, #cff1e3); }
.visual-crm { background: linear-gradient(145deg, #edf3ff, #d8e6ff); }
.visual-hubspot { background: linear-gradient(145deg, #fff2eb, #ffe1d1); }
.visual-make { background: linear-gradient(145deg, #f1ebff, #ddd1ff); }
.visual-n8n { background: linear-gradient(145deg, #fff0eb, #ffd9ce); }
.visual-voice { background: linear-gradient(145deg, #ebf8ff, #cceeff); }
.visual-zoho { background: linear-gradient(145deg, #fff8dd, #ffec9f); }
.visual-airtable { background: linear-gradient(145deg, #edf9f6, #caeee3); }
.visual-bot { background: linear-gradient(145deg, #f4efff, #dfd2ff); }
.visual-monday { background: linear-gradient(145deg, #fff0f4, #ffd4df); }
.visual-power { background: linear-gradient(145deg, #edf7ff, #cfe9ff); }
.visual-zapier { background: linear-gradient(145deg, #fff1e5, #ffd8b6); }
.visual-creator { background: linear-gradient(145deg, #edf8ee, #cfeace); }
.visual-flow { background: linear-gradient(145deg, #f1f0ff, #d9d6ff); }

.flow-line,
.node-flow,
.integration-flow,
.zap-flow,
.approval {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.flow-line i,
.node-flow i,
.integration-flow i,
.zap-flow i,
.approval i {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
}

.flow-line i:nth-child(2) { transform: translateY(-26px); }
.flow-line i:nth-child(3) { transform: translateY(18px); }

.node-flow b,
.integration-flow b,
.zap-flow b {
  width: 34px;
  height: 3px;
  border-radius: 5px;
  background: rgba(16, 24, 40, 0.2);
}

.pipeline,
.board {
  position: absolute;
  inset: 22% 10% 16%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.pipeline i,
.board i {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(29, 95, 209, 0.11);
}

.pipeline i::after,
.board i::after {
  content: "";
  display: block;
  width: 58%;
  height: 8px;
  margin: 18px auto;
  border-radius: 10px;
  background: rgba(29, 95, 209, 0.24);
}

.contact-list {
  position: absolute;
  inset: 18% 14%;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 15px 35px rgba(16, 24, 40, 0.1);
}

.contact-list i {
  display: block;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(242, 111, 66, 0.3) 23%, rgba(16, 24, 40, 0.08) 23%);
}

.node-network {
  position: absolute;
  inset: 0;
}

.node-network i {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
}

.node-network i:nth-child(1) { left: 13%; top: 42%; }
.node-network i:nth-child(2) { left: 40%; top: 20%; }
.node-network i:nth-child(3) { left: 42%; bottom: 16%; }
.node-network i:nth-child(4) { right: 12%; top: 32%; }
.node-network i:nth-child(5) { right: 16%; bottom: 15%; }

.node-network::before,
.node-network::after {
  content: "";
  position: absolute;
  left: 25%;
  top: 49%;
  width: 56%;
  height: 3px;
  transform: rotate(-10deg);
  background: rgba(16, 24, 40, 0.15);
}

.node-network::after {
  transform: rotate(19deg);
}

.wave,
.voice-wave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wave i,
.voice-wave i {
  width: 7px;
  border-radius: 99px;
  background: linear-gradient(#2a8bd5, #164a9d);
}

.wave i:nth-child(1), .wave i:nth-child(7),
.voice-wave i:nth-child(1), .voice-wave i:nth-child(9) { height: 32px; }
.wave i:nth-child(2), .wave i:nth-child(6),
.voice-wave i:nth-child(2), .voice-wave i:nth-child(8) { height: 62px; }
.wave i:nth-child(3), .wave i:nth-child(5),
.voice-wave i:nth-child(3), .voice-wave i:nth-child(7) { height: 95px; }
.wave i:nth-child(4),
.voice-wave i:nth-child(4), .voice-wave i:nth-child(6) { height: 130px; }
.voice-wave i:nth-child(5) { height: 158px; }

.dashboard-bars {
  position: absolute;
  inset: 22% 15%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 18px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-bars i {
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(#ffd350, #f59e0b);
}

.dashboard-bars i:nth-child(1) { height: 45%; }
.dashboard-bars i:nth-child(2) { height: 80%; }
.dashboard-bars i:nth-child(3) { height: 62%; }

.table-grid {
  position: absolute;
  inset: 17% 11%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.table-grid i {
  min-height: 35px;
  border-radius: 7px;
  background: rgba(30, 146, 109, 0.17);
}

.chat {
  position: absolute;
  inset: 18% 14%;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.chat i {
  display: block;
  width: 72%;
  height: 30px;
  margin-bottom: 13px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(112, 71, 190, 0.18);
}

.chat i:nth-child(2) {
  width: 60%;
  margin-left: auto;
  border-radius: 12px 12px 4px 12px;
  background: rgba(112, 71, 190, 0.38);
}

.app-layout {
  position: absolute;
  inset: 16% 13%;
  display: grid;
  grid-template-columns: 25% 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}

.app-layout i {
  grid-row: span 2;
  border-radius: 14px;
  background: rgba(39, 133, 68, 0.24);
}

.app-layout b {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.approval b {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #147a5a;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
  font-size: 1.5rem;
}

.project-intro {
  padding-block: 70px 40px;
}

.project-intro .back-link {
  display: inline-block;
  margin-bottom: 50px;
}

.project-intro > p:last-child {
  max-width: 730px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.project-detail {
  display: none;
  padding-block: 30px 105px;
  animation: reveal 350ms ease both;
}

.project-detail:target {
  display: block;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 35px;
  margin-bottom: 34px;
  padding: 34px;
  border: 1px solid rgba(228, 231, 236, 0.85);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
}

.detail-header h2 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.detail-header p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  max-width: 330px;
}

.tag-list span,
.gallery-content > span {
  display: inline-flex;
  padding: 7px 12px;
  color: var(--primary-dark);
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #eef5ff;
  font-size: 0.76rem;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gallery-grid-real {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(228, 231, 236, 0.9);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.image-link {
  display: block;
  background: #e8edf5;
}

.image-link img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.gallery-content {
  padding: 23px 23px 26px;
}

.gallery-content > span {
  padding: 5px 10px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gallery-content h3 {
  margin: 17px 0 9px;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.gallery-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.mock-screen {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  background: linear-gradient(145deg, #eef4ff, #d9e8ff);
}

.mock-screen::after {
  content: "";
  position: absolute;
  right: -65px;
  top: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.mock-operations { background: linear-gradient(145deg, #e7f8f1, #ccedde); }
.mock-tasks { background: linear-gradient(145deg, #fff1e8, #ffdac4); }
.mock-report { background: linear-gradient(145deg, #edf2ff, #d5e1ff); }
.mock-form { background: linear-gradient(145deg, #ebf7ff, #cde9ff); }
.mock-pipeline { background: linear-gradient(145deg, #eff2ff, #d9e0ff); }
.mock-message { background: linear-gradient(145deg, #eaf9f2, #caf0df); }
.mock-contact { background: linear-gradient(145deg, #fff2eb, #ffd8c8); }
.mock-automation { background: linear-gradient(145deg, #f1ebff, #ded2ff); }
.mock-make { background: linear-gradient(145deg, #f3ecff, #ddd0ff); }
.mock-data { background: linear-gradient(145deg, #edf8f6, #ccede6); }
.mock-error { background: linear-gradient(145deg, #fff1ef, #ffd7d1); }
.mock-n8n { background: linear-gradient(145deg, #fff0eb, #ffd6c9); }
.mock-api { background: linear-gradient(145deg, #eaf0fa, #ccd8eb); }
.mock-router { background: linear-gradient(145deg, #f3efff, #ded6ff); }
.mock-voice { background: linear-gradient(145deg, #e9f8ff, #c7ecff); }
.mock-call { background: linear-gradient(145deg, #eaf9f2, #c6eddc); }
.mock-integration { background: linear-gradient(145deg, #f2efff, #ddd8ff); }
.mock-rules { background: linear-gradient(145deg, #fff7df, #ffecad); }
.mock-table { background: linear-gradient(145deg, #e9f8f3, #caebdf); }
.mock-interface { background: linear-gradient(145deg, #edf5ff, #d2e7ff); }
.mock-chat { background: linear-gradient(145deg, #f2edff, #ded2ff); }
.mock-score { background: linear-gradient(145deg, #fff1e9, #ffd7c2); }
.mock-followup { background: linear-gradient(145deg, #eaf8ff, #ccecff); }
.mock-board { background: linear-gradient(145deg, #fff0f4, #ffd5df); }
.mock-trigger { background: linear-gradient(145deg, #edf7ff, #cfe9ff); }
.mock-approval { background: linear-gradient(145deg, #e9f8f2, #c9eddc); }
.mock-notification { background: linear-gradient(145deg, #eef3ff, #d6e1ff); }
.mock-mapping { background: linear-gradient(145deg, #fff2e7, #ffdabd); }
.mock-zap { background: linear-gradient(145deg, #fff1e6, #ffd6b3); }

.mock-title {
  position: absolute;
  left: 10%;
  top: 13%;
  width: 30%;
  height: 12px;
  border-radius: 10px;
  background: rgba(16, 24, 40, 0.15);
}

.mock-flow-row,
.scenario-line,
.integration-icons,
.zap-sequence {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mock-flow-row i,
.scenario-line i,
.integration-icons i,
.zap-sequence i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.1);
}

.mock-flow-row b,
.scenario-line b,
.integration-icons b,
.zap-sequence b {
  width: 27px;
  height: 3px;
  border-radius: 10px;
  background: rgba(16, 24, 40, 0.17);
}

.mock-sidebar,
.interface-sidebar {
  position: absolute;
  left: 9%;
  top: 12%;
  bottom: 12%;
  width: 22%;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.67);
}

.mock-list {
  position: absolute;
  left: 36%;
  right: 9%;
  top: 14%;
}

.mock-list i,
.rule-list i,
.followup-list i {
  display: block;
  height: 29px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.75);
}

.mock-chart {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 15%;
  height: 58%;
  display: flex;
  align-items: end;
  gap: 8%;
  padding: 18px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.7);
}

.mock-chart i {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(#79b9ff, #2d6ed4);
}

.mock-chart i:nth-child(1) { height: 35%; }
.mock-chart i:nth-child(2) { height: 60%; }
.mock-chart i:nth-child(3) { height: 48%; }
.mock-chart i:nth-child(4) { height: 85%; }
.mock-chart i:nth-child(5) { height: 68%; }

.mock-form-box {
  position: absolute;
  inset: 13% 20%;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.1);
}

.mock-form-box i {
  display: block;
  height: 26px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(29, 95, 209, 0.1);
}

.mock-form-box b {
  display: block;
  width: 42%;
  height: 30px;
  margin-top: 15px;
  border-radius: 9px;
  background: rgba(29, 95, 209, 0.65);
}

.mock-columns {
  position: absolute;
  inset: 16% 7%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mock-columns i {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.mock-columns i::before,
.mock-columns i::after {
  content: "";
  display: block;
  width: 65%;
  height: 8px;
  margin: 18px auto 0;
  border-radius: 8px;
  background: rgba(29, 95, 209, 0.18);
}

.mock-columns i::after {
  width: 45%;
  margin-top: 10px;
}

.mock-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 115px;
  height: 200px;
  padding: 28px 13px;
  transform: translate(-50%, -50%);
  border: 6px solid rgba(16, 24, 40, 0.8);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 40px rgba(16, 24, 40, 0.16);
}

.mock-phone i {
  display: block;
  height: 26px;
  margin-bottom: 11px;
  border-radius: 10px 10px 10px 3px;
  background: rgba(25, 150, 102, 0.18);
}

.mock-phone i:nth-child(2) {
  width: 75%;
  margin-left: auto;
  border-radius: 10px 10px 3px 10px;
  background: rgba(25, 150, 102, 0.38);
}

.mock-avatar {
  position: absolute;
  left: 12%;
  top: 20%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(242, 111, 66, 0.42);
}

.mock-contact-lines {
  position: absolute;
  left: 40%;
  right: 12%;
  top: 21%;
}

.mock-contact-lines i {
  display: block;
  height: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  background: rgba(16, 24, 40, 0.13);
}

.mock-contact-lines i:nth-child(2) { width: 72%; }
.mock-contact-lines i:nth-child(3) { width: 88%; }
.mock-contact-lines i:nth-child(4) { width: 60%; }

.mock-flow-vertical {
  position: absolute;
  inset: 10% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mock-flow-vertical i {
  width: 105px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.08);
}

.mock-flow-vertical b {
  width: 3px;
  height: 18px;
  background: rgba(16, 24, 40, 0.18);
}

.data-cards {
  position: absolute;
  inset: 15% 12%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.data-cards i {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.09);
}

.data-cards i:nth-child(2) { transform: translateY(22px); }

.error-path {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.error-path i {
  width: 66px;
  height: 56px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
}

.error-path b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #c43d35;
  border-radius: 50%;
  background: #fff;
  font-size: 1.45rem;
}

.network {
  position: absolute;
  inset: 0;
}

.network i {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.1);
}

.network i:nth-child(1) { left: 10%; top: 42%; }
.network i:nth-child(2) { left: 35%; top: 18%; }
.network i:nth-child(3) { left: 38%; bottom: 16%; }
.network i:nth-child(4) { right: 34%; top: 39%; }
.network i:nth-child(5) { right: 10%; top: 18%; }
.network i:nth-child(6) { right: 8%; bottom: 15%; }

.network::before,
.network::after {
  content: "";
  position: absolute;
  left: 20%;
  top: 49%;
  width: 69%;
  height: 3px;
  transform: rotate(-10deg);
  background: rgba(16, 24, 40, 0.13);
}

.network::after { transform: rotate(13deg); }

.code-lines {
  position: absolute;
  inset: 15% 13%;
  padding: 24px;
  border-radius: 18px;
  background: rgba(21, 31, 50, 0.88);
  box-shadow: 0 16px 35px rgba(16, 24, 40, 0.16);
}

.code-lines i {
  display: block;
  width: 82%;
  height: 9px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(131, 182, 255, 0.7);
}

.code-lines i:nth-child(2) { width: 58%; margin-left: 9%; }
.code-lines i:nth-child(3) { width: 72%; margin-left: 9%; }
.code-lines i:nth-child(4) { width: 45%; margin-left: 17%; }
.code-lines i:nth-child(5) { width: 65%; }

.router {
  position: absolute;
  inset: 0;
}

.router i,
.router b {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
}

.router b { left: 19%; top: 42%; }
.router i:nth-child(1) { right: 18%; top: 18%; }
.router i:nth-child(3) { right: 18%; bottom: 16%; }
.router i:nth-child(4) { right: 42%; top: 42%; }

.router::before,
.router::after {
  content: "";
  position: absolute;
  left: 34%;
  top: 49%;
  width: 48%;
  height: 3px;
  transform: rotate(-22deg);
  background: rgba(16, 24, 40, 0.15);
}

.router::after { transform: rotate(22deg); }

.call-circle,
.score-ring,
.trigger-circle {
  position: absolute;
  left: 50%;
  top: 42%;
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  color: #178361;
  border: 10px solid rgba(23, 131, 97, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  font-size: 2rem;
  font-weight: 850;
}

.call-lines,
.score-lines {
  position: absolute;
  left: 28%;
  right: 28%;
  bottom: 16%;
}

.call-lines i,
.score-lines i {
  display: block;
  height: 8px;
  margin-bottom: 9px;
  border-radius: 8px;
  background: rgba(16, 24, 40, 0.12);
}

.call-lines i:nth-child(2), .score-lines i:nth-child(2) { width: 70%; }
.call-lines i:nth-child(3), .score-lines i:nth-child(3) { width: 85%; }

.rule-list,
.followup-list {
  position: absolute;
  inset: 16% 15%;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.large-table {
  position: absolute;
  inset: 12% 8%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.large-table i {
  min-height: 35px;
  border-radius: 6px;
  background: rgba(26, 143, 106, 0.16);
}

.interface-cards {
  position: absolute;
  left: 37%;
  right: 8%;
  top: 13%;
  bottom: 13%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.interface-cards i {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.chat-bubbles {
  position: absolute;
  inset: 16% 13%;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.chat-bubbles i {
  display: block;
  width: 70%;
  height: 29px;
  margin-bottom: 13px;
  border-radius: 12px 12px 12px 3px;
  background: rgba(105, 69, 184, 0.18);
}

.chat-bubbles i:nth-child(2),
.chat-bubbles i:nth-child(4) {
  width: 60%;
  margin-left: auto;
  border-radius: 12px 12px 3px 12px;
  background: rgba(105, 69, 184, 0.38);
}

.score-ring {
  color: #d85b20;
  border-color: rgba(216, 91, 32, 0.17);
  font-size: 1.7rem;
}

.board-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 6px;
  margin: 12px 10%;
}

.board-row:first-child { margin-top: 45px; }

.board-row i {
  height: 32px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.75);
}

.trigger-circle {
  left: 29%;
  top: 50%;
  width: 68px;
  height: 68px;
  color: #1d5fd1;
  border: 0;
  font-size: 1.2rem;
}

.trigger-line {
  position: absolute;
  left: 41%;
  top: 49.5%;
  width: 17%;
  height: 3px;
  background: rgba(16, 24, 40, 0.18);
}

.trigger-card {
  position: absolute;
  right: 17%;
  top: 36%;
  width: 105px;
  height: 72px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
}

.approval-cards {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.approval-cards i {
  width: 82px;
  height: 68px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.83);
}

.approval-cards b {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #15805f;
  border-radius: 50%;
  background: #fff;
  font-size: 1.4rem;
}

.notification-box {
  position: absolute;
  inset: 22% 22%;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.1);
}

.notification-box b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #1e65cc;
  border-radius: 50%;
  background: #e7f0ff;
}

.notification-box i {
  display: block;
  height: 9px;
  margin-top: 16px;
  border-radius: 9px;
  background: rgba(16, 24, 40, 0.12);
}

.mapping-left,
.mapping-right {
  position: absolute;
  top: 22%;
  width: 30%;
}

.mapping-left { left: 10%; }
.mapping-right { right: 10%; }

.mapping-left i,
.mapping-right i {
  display: block;
  height: 28px;
  margin-bottom: 13px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.78);
}

.mapping-arrows {
  position: absolute;
  left: 48%;
  top: 25%;
  color: rgba(16, 24, 40, 0.32);
  font-size: 1.2rem;
  line-height: 2.15;
}

.project-not-selected {
  display: block;
  max-width: 760px;
  margin-block: 45px 110px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.project-not-selected p {
  margin: 20px 0 28px;
  color: var(--muted);
}

.project-detail:target ~ .project-not-selected {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px 45px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 650;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--primary-dark);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-panel {
    max-width: 320px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card-featured {
    grid-column: span 2;
  }

  .gallery-grid,
  .gallery-grid-real {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tag-list {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header {
    min-height: 70px;
    padding-inline: 14px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header-link {
    font-size: 0.8rem;
  }

  .hero {
    padding-block: 78px 65px;
  }

  .hero h1,
  .project-intro h1 {
    font-size: clamp(2.75rem, 15vw, 4.6rem);
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 12px;
  }

  .project-grid,
  .gallery-grid,
  .gallery-grid-real {
    grid-template-columns: 1fr;
  }

  .project-card-featured {
    grid-column: span 1;
  }

  .project-visual,
  .project-card-featured .project-visual {
    min-height: 220px;
  }

  .project-intro {
    padding-block: 55px 25px;
  }

  .project-intro .back-link {
    margin-bottom: 38px;
  }

  .detail-header {
    padding: 26px;
  }

  .detail-header h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .mock-screen {
    min-height: 225px;
  }

  .project-not-selected {
    padding: 35px 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
} */

:root {
  --bg: #cfecf5a0;
  --surface: #ffffff;
  --surface-soft: #edf3ff;
  --text: #111827;
  --muted: #667085;
  --line: #e4e7ec;
  --primary: #1d5fd1;
  --primary-dark: #123f93;
  --accent: #71b7ff;
  --shadow-sm: 0 12px 32px rgba(16, 24, 40, 0.08);
  --shadow-lg: 0 24px 65px rgba(16, 24, 40, 0.12);
  --radius-xl: 30px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 5% 0%, rgba(113, 183, 255, 0.18), transparent 32rem),
    radial-gradient(circle at 95% 18%, rgba(29, 95, 209, 0.08), transparent 30rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 12px max(20px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid rgba(228, 231, 236, 0.86);
  background: rgba(245, 247, 251, 0.88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(145deg, #2d78eb, #0d347c);
  box-shadow: 0 10px 25px rgba(29, 95, 209, 0.28);
}

.header-link,
.back-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  color: var(--primary-dark);
  border: 1px solid rgba(29, 95, 209, 0.25);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(16, 24, 40, 0.08);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.back-link:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #1d5fd1, #173f8e);
  box-shadow: 0 12px 26px rgba(29, 95, 209, 0.24);
  transform: translateY(-2px);
}

.back-link:focus-visible {
  outline: 3px solid rgba(29, 95, 209, 0.25);
  outline-offset: 3px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  align-items: end;
  gap: 72px;
  padding-block: 105px 86px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.15em;
}

.hero h1,
.project-intro h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(3.2rem, 7.5vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.hero-text {
  max-width: 710px;
  margin: 28px 0 34px;
  color: var(--muted);
  font-size: 1.12rem;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  color: #fff;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 30px rgba(29, 95, 209, 0.22);
  font-weight: 800;
}

.primary-button:hover {
  transform: translateY(-2px);
}

/* .hero-panel {
  padding: 30px;
  color: #fff;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, #101828, #174fa9);
  box-shadow: var(--shadow-lg);
} */
 .hero-panel {
  align-self: center;
  padding: 30px;
  color: #fff;
  border-radius: var(--radius-xl);
  background: linear-gradient(150deg, #101828, #174fa9);
  box-shadow: var(--shadow-lg);
}

.hero-panel-label,
.hero-panel span {
  display: block;
  color: #d7e7ff;
}

.hero-panel strong {
  display: block;
  margin: 14px 0 7px;
  font-size: 4rem;
  line-height: 1;
}

.portfolio-section {
  padding-block: 28px 115px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 34px;
}

.section-heading h2,
.detail-header h2,
.project-not-selected h2 {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 3.7rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.section-heading > p {
  margin: 0 0 8px;
  color: var(--muted);
  font-weight: 650;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  overflow: hidden;
  border: 1px solid rgba(101, 144, 218, 0.9);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 10px 32px rgba(16, 24, 40, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-7px);
  border-color: rgba(29, 95, 209, 0.25);
  box-shadow: var(--shadow-lg);
}

.project-card-featured {
  grid-column: span 2;
}

.project-visual {
  position: relative;
  min-height: 225px;
  overflow: hidden;
  background: linear-gradient(145deg, #edf4ff, #dceaff);
}

.project-card-featured .project-visual {
  min-height: 285px;
}

.project-visual::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -85px;
  top: -95px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.project-card-content {
  position: relative;
  padding: 24px 24px 26px;
}

.project-number {
  position: absolute;
  right: 24px;
  top: 23px;
  color: #98a2b3;
  font-size: 0.78rem;
  font-weight: 800;
}

.project-card-content p {
  margin: 0 0 8px;
  color: var(--primary);
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.project-card-content h3 {
  max-width: calc(100% - 35px);
  margin: 0;
  font-size: 1.42rem;
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.view-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 18px;
  color: #ffffff;
  border-radius: 10px;
  background: linear-gradient(135deg, #1d5fd1, #173f8e);
  box-shadow: 0 10px 22px rgba(29, 95, 209, 0.22);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.project-card:hover .view-link {
  color: #ffffff;
  background: linear-gradient(135deg, #246de2, #123978);
  box-shadow: 0 14px 28px rgba(29, 95, 209, 0.3);
  transform: translateY(-2px);
}

.view-link b {
  font-size: 1rem;
  transition: transform 180ms ease;
}

.project-card:hover .view-link b {
  transform: translateX(3px);
}

.window-dot {
  position: relative;
  z-index: 2;
  display: inline-block;
  width: 8px;
  height: 8px;
  margin: 22px 0 0 7px;
  border-radius: 50%;
  background: rgba(16, 24, 40, 0.22);
}

.window-dot:first-child {
  margin-left: 24px;
}



.mini-chart {
  position: absolute;
  left: 11%;
  right: 11%;
  bottom: 14%;
  display: flex;
  align-items: end;
  gap: 8%;
  height: 55%;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 18px 40px rgba(29, 95, 209, 0.15);
}

.mini-chart i {
  flex: 1;
  border-radius: 7px 7px 3px 3px;
  background: linear-gradient(#67b4ff, #226bd8);
}

.mini-chart i:nth-child(1) { height: 38%; }
.mini-chart i:nth-child(2) { height: 58%; }
.mini-chart i:nth-child(3) { height: 46%; }
.mini-chart i:nth-child(4) { height: 78%; }
.mini-chart i:nth-child(5) { height: 92%; }

.visual-operations { background: linear-gradient(145deg, #e9f9f3, #cff1e3); }
.visual-crm { background: linear-gradient(145deg, #edf3ff, #d8e6ff); }
.visual-hubspot { background: linear-gradient(145deg, #fff2eb, #ffe1d1); }
.visual-make { background: linear-gradient(145deg, #f1ebff, #ddd1ff); }
.visual-n8n { background: linear-gradient(145deg, #fff0eb, #ffd9ce); }
.visual-voice { background: linear-gradient(145deg, #ebf8ff, #cceeff); }
.visual-zoho { background: linear-gradient(145deg, #fff8dd, #ffec9f); }
.visual-airtable { background: linear-gradient(145deg, #edf9f6, #caeee3); }
.visual-bot { background: linear-gradient(145deg, #f4efff, #dfd2ff); }
.visual-monday { background: linear-gradient(145deg, #fff0f4, #ffd4df); }
.visual-power { background: linear-gradient(145deg, #edf7ff, #cfe9ff); }
.visual-zapier { background: linear-gradient(145deg, #fff1e5, #ffd8b6); }
.visual-creator { background: linear-gradient(145deg, #edf8ee, #cfeace); }
.visual-flow { background: linear-gradient(145deg, #f1f0ff, #d9d6ff); }

.flow-line,
.node-flow,
.integration-flow,
.zap-flow,
.approval {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.flow-line i,
.node-flow i,
.integration-flow i,
.zap-flow i,
.approval i {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
}

.flow-line i:nth-child(2) { transform: translateY(-26px); }
.flow-line i:nth-child(3) { transform: translateY(18px); }

.node-flow b,
.integration-flow b,
.zap-flow b {
  width: 34px;
  height: 3px;
  border-radius: 5px;
  background: rgba(16, 24, 40, 0.2);
}

.pipeline,
.board {
  position: absolute;
  inset: 22% 10% 16%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.pipeline i,
.board i {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 28px rgba(29, 95, 209, 0.11);
}

.pipeline i::after,
.board i::after {
  content: "";
  display: block;
  width: 58%;
  height: 8px;
  margin: 18px auto;
  border-radius: 10px;
  background: rgba(29, 95, 209, 0.24);
}

.contact-list {
  position: absolute;
  inset: 18% 14%;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 15px 35px rgba(16, 24, 40, 0.1);
}

.contact-list i {
  display: block;
  height: 28px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: linear-gradient(90deg, rgba(242, 111, 66, 0.3) 23%, rgba(16, 24, 40, 0.08) 23%);
}

.node-network {
  position: absolute;
  inset: 0;
}

.node-network i {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
}

.node-network i:nth-child(1) { left: 13%; top: 42%; }
.node-network i:nth-child(2) { left: 40%; top: 20%; }
.node-network i:nth-child(3) { left: 42%; bottom: 16%; }
.node-network i:nth-child(4) { right: 12%; top: 32%; }
.node-network i:nth-child(5) { right: 16%; bottom: 15%; }

.node-network::before,
.node-network::after {
  content: "";
  position: absolute;
  left: 25%;
  top: 49%;
  width: 56%;
  height: 3px;
  transform: rotate(-10deg);
  background: rgba(16, 24, 40, 0.15);
}

.node-network::after {
  transform: rotate(19deg);
}

.wave,
.voice-wave {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wave i,
.voice-wave i {
  width: 7px;
  border-radius: 99px;
  background: linear-gradient(#2a8bd5, #164a9d);
}

.wave i:nth-child(1), .wave i:nth-child(7),
.voice-wave i:nth-child(1), .voice-wave i:nth-child(9) { height: 32px; }
.wave i:nth-child(2), .wave i:nth-child(6),
.voice-wave i:nth-child(2), .voice-wave i:nth-child(8) { height: 62px; }
.wave i:nth-child(3), .wave i:nth-child(5),
.voice-wave i:nth-child(3), .voice-wave i:nth-child(7) { height: 95px; }
.wave i:nth-child(4),
.voice-wave i:nth-child(4), .voice-wave i:nth-child(6) { height: 130px; }
.voice-wave i:nth-child(5) { height: 158px; }

.dashboard-bars {
  position: absolute;
  inset: 22% 15%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 18px;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-bars i {
  border-radius: 10px 10px 4px 4px;
  background: linear-gradient(#ffd350, #f59e0b);
}

.dashboard-bars i:nth-child(1) { height: 45%; }
.dashboard-bars i:nth-child(2) { height: 80%; }
.dashboard-bars i:nth-child(3) { height: 62%; }

.table-grid {
  position: absolute;
  inset: 17% 11%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
}

.table-grid i {
  min-height: 35px;
  border-radius: 7px;
  background: rgba(30, 146, 109, 0.17);
}

.chat {
  position: absolute;
  inset: 18% 14%;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.74);
}

.chat i {
  display: block;
  width: 72%;
  height: 30px;
  margin-bottom: 13px;
  border-radius: 12px 12px 12px 4px;
  background: rgba(112, 71, 190, 0.18);
}

.chat i:nth-child(2) {
  width: 60%;
  margin-left: auto;
  border-radius: 12px 12px 4px 12px;
  background: rgba(112, 71, 190, 0.38);
}

.app-layout {
  position: absolute;
  inset: 16% 13%;
  display: grid;
  grid-template-columns: 25% 1fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 10px;
}

.app-layout i {
  grid-row: span 2;
  border-radius: 14px;
  background: rgba(39, 133, 68, 0.24);
}

.app-layout b {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}

.approval b {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: #147a5a;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 40, 0.12);
  font-size: 1.5rem;
}

.project-intro {
  padding-block: 70px 40px;
}

.project-intro .back-link {
  display: inline-block;
  margin-bottom: 50px;
}

.project-intro > p:last-child {
  max-width: 730px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.project-detail {
  display: none;
  padding-block: 30px 105px;
  animation: reveal 350ms ease both;
}

.project-detail:target {
  display: block;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.detail-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 35px;
  margin-bottom: 34px;
  padding: 34px;
  border: 1px solid rgba(228, 231, 236, 0.85);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow-sm);
}

.detail-header h2 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
}

.detail-header p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  max-width: 330px;
}

.tag-list span,
.gallery-content > span {
  display: inline-flex;
  padding: 7px 12px;
  color: var(--primary-dark);
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  background: #eef5ff;
  font-size: 0.76rem;
  font-weight: 800;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gallery-grid-real {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gallery-card {
  overflow: hidden;
  border: 1px solid rgba(228, 231, 236, 0.9);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.image-link {
  display: block;
  background: #e8edf5;
}

.image-link img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
}

.gallery-content {
  padding: 23px 23px 26px;
}

.gallery-content > span {
  padding: 5px 10px;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gallery-content h3 {
  margin: 17px 0 9px;
  font-size: 1.28rem;
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.gallery-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.mock-screen {
  position: relative;
  min-height: 245px;
  overflow: hidden;
  background: linear-gradient(145deg, #eef4ff, #d9e8ff);
}

.mock-screen::after {
  content: "";
  position: absolute;
  right: -65px;
  top: -80px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
}

.mock-operations { background: linear-gradient(145deg, #e7f8f1, #ccedde); }
.mock-tasks { background: linear-gradient(145deg, #fff1e8, #ffdac4); }
.mock-report { background: linear-gradient(145deg, #edf2ff, #d5e1ff); }
.mock-form { background: linear-gradient(145deg, #ebf7ff, #cde9ff); }
.mock-pipeline { background: linear-gradient(145deg, #eff2ff, #d9e0ff); }
.mock-message { background: linear-gradient(145deg, #eaf9f2, #caf0df); }
.mock-contact { background: linear-gradient(145deg, #fff2eb, #ffd8c8); }
.mock-automation { background: linear-gradient(145deg, #f1ebff, #ded2ff); }
.mock-make { background: linear-gradient(145deg, #f3ecff, #ddd0ff); }
.mock-data { background: linear-gradient(145deg, #edf8f6, #ccede6); }
.mock-error { background: linear-gradient(145deg, #fff1ef, #ffd7d1); }
.mock-n8n { background: linear-gradient(145deg, #fff0eb, #ffd6c9); }
.mock-api { background: linear-gradient(145deg, #eaf0fa, #ccd8eb); }
.mock-router { background: linear-gradient(145deg, #f3efff, #ded6ff); }
.mock-voice { background: linear-gradient(145deg, #e9f8ff, #c7ecff); }
.mock-call { background: linear-gradient(145deg, #eaf9f2, #c6eddc); }
.mock-integration { background: linear-gradient(145deg, #f2efff, #ddd8ff); }
.mock-rules { background: linear-gradient(145deg, #fff7df, #ffecad); }
.mock-table { background: linear-gradient(145deg, #e9f8f3, #caebdf); }
.mock-interface { background: linear-gradient(145deg, #edf5ff, #d2e7ff); }
.mock-chat { background: linear-gradient(145deg, #f2edff, #ded2ff); }
.mock-score { background: linear-gradient(145deg, #fff1e9, #ffd7c2); }
.mock-followup { background: linear-gradient(145deg, #eaf8ff, #ccecff); }
.mock-board { background: linear-gradient(145deg, #fff0f4, #ffd5df); }
.mock-trigger { background: linear-gradient(145deg, #edf7ff, #cfe9ff); }
.mock-approval { background: linear-gradient(145deg, #e9f8f2, #c9eddc); }
.mock-notification { background: linear-gradient(145deg, #eef3ff, #d6e1ff); }
.mock-mapping { background: linear-gradient(145deg, #fff2e7, #ffdabd); }
.mock-zap { background: linear-gradient(145deg, #fff1e6, #ffd6b3); }

.mock-title {
  position: absolute;
  left: 10%;
  top: 13%;
  width: 30%;
  height: 12px;
  border-radius: 10px;
  background: rgba(16, 24, 40, 0.15);
}

.mock-flow-row,
.scenario-line,
.integration-icons,
.zap-sequence {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mock-flow-row i,
.scenario-line i,
.integration-icons i,
.zap-sequence i {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.1);
}

.mock-flow-row b,
.scenario-line b,
.integration-icons b,
.zap-sequence b {
  width: 27px;
  height: 3px;
  border-radius: 10px;
  background: rgba(16, 24, 40, 0.17);
}

.mock-sidebar,
.interface-sidebar {
  position: absolute;
  left: 9%;
  top: 12%;
  bottom: 12%;
  width: 22%;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.67);
}

.mock-list {
  position: absolute;
  left: 36%;
  right: 9%;
  top: 14%;
}

.mock-list i,
.rule-list i,
.followup-list i {
  display: block;
  height: 29px;
  margin-bottom: 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.75);
}

.mock-chart {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 15%;
  height: 58%;
  display: flex;
  align-items: end;
  gap: 8%;
  padding: 18px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.7);
}

.mock-chart i {
  flex: 1;
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(#79b9ff, #2d6ed4);
}

.mock-chart i:nth-child(1) { height: 35%; }
.mock-chart i:nth-child(2) { height: 60%; }
.mock-chart i:nth-child(3) { height: 48%; }
.mock-chart i:nth-child(4) { height: 85%; }
.mock-chart i:nth-child(5) { height: 68%; }

.mock-form-box {
  position: absolute;
  inset: 13% 20%;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.1);
}

.mock-form-box i {
  display: block;
  height: 26px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: rgba(29, 95, 209, 0.1);
}

.mock-form-box b {
  display: block;
  width: 42%;
  height: 30px;
  margin-top: 15px;
  border-radius: 9px;
  background: rgba(29, 95, 209, 0.65);
}

.mock-columns {
  position: absolute;
  inset: 16% 7%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mock-columns i {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.08);
}

.mock-columns i::before,
.mock-columns i::after {
  content: "";
  display: block;
  width: 65%;
  height: 8px;
  margin: 18px auto 0;
  border-radius: 8px;
  background: rgba(29, 95, 209, 0.18);
}

.mock-columns i::after {
  width: 45%;
  margin-top: 10px;
}

.mock-phone {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 115px;
  height: 200px;
  padding: 28px 13px;
  transform: translate(-50%, -50%);
  border: 6px solid rgba(16, 24, 40, 0.8);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 20px 40px rgba(16, 24, 40, 0.16);
}

.mock-phone i {
  display: block;
  height: 26px;
  margin-bottom: 11px;
  border-radius: 10px 10px 10px 3px;
  background: rgba(25, 150, 102, 0.18);
}

.mock-phone i:nth-child(2) {
  width: 75%;
  margin-left: auto;
  border-radius: 10px 10px 3px 10px;
  background: rgba(25, 150, 102, 0.38);
}

.mock-avatar {
  position: absolute;
  left: 12%;
  top: 20%;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(242, 111, 66, 0.42);
}

.mock-contact-lines {
  position: absolute;
  left: 40%;
  right: 12%;
  top: 21%;
}

.mock-contact-lines i {
  display: block;
  height: 12px;
  margin-bottom: 15px;
  border-radius: 8px;
  background: rgba(16, 24, 40, 0.13);
}

.mock-contact-lines i:nth-child(2) { width: 72%; }
.mock-contact-lines i:nth-child(3) { width: 88%; }
.mock-contact-lines i:nth-child(4) { width: 60%; }

.mock-flow-vertical {
  position: absolute;
  inset: 10% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.mock-flow-vertical i {
  width: 105px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 20px rgba(16, 24, 40, 0.08);
}

.mock-flow-vertical b {
  width: 3px;
  height: 18px;
  background: rgba(16, 24, 40, 0.18);
}

.data-cards {
  position: absolute;
  inset: 15% 12%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.data-cards i {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.09);
}

.data-cards i:nth-child(2) { transform: translateY(22px); }

.error-path {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 17px;
}

.error-path i {
  width: 66px;
  height: 56px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.82);
}

.error-path b {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  color: #c43d35;
  border-radius: 50%;
  background: #fff;
  font-size: 1.45rem;
}

.network {
  position: absolute;
  inset: 0;
}

.network i {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 25px rgba(16, 24, 40, 0.1);
}

.network i:nth-child(1) { left: 10%; top: 42%; }
.network i:nth-child(2) { left: 35%; top: 18%; }
.network i:nth-child(3) { left: 38%; bottom: 16%; }
.network i:nth-child(4) { right: 34%; top: 39%; }
.network i:nth-child(5) { right: 10%; top: 18%; }
.network i:nth-child(6) { right: 8%; bottom: 15%; }

.network::before,
.network::after {
  content: "";
  position: absolute;
  left: 20%;
  top: 49%;
  width: 69%;
  height: 3px;
  transform: rotate(-10deg);
  background: rgba(16, 24, 40, 0.13);
}

.network::after { transform: rotate(13deg); }

.code-lines {
  position: absolute;
  inset: 15% 13%;
  padding: 24px;
  border-radius: 18px;
  background: rgba(21, 31, 50, 0.88);
  box-shadow: 0 16px 35px rgba(16, 24, 40, 0.16);
}

.code-lines i {
  display: block;
  width: 82%;
  height: 9px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: rgba(131, 182, 255, 0.7);
}

.code-lines i:nth-child(2) { width: 58%; margin-left: 9%; }
.code-lines i:nth-child(3) { width: 72%; margin-left: 9%; }
.code-lines i:nth-child(4) { width: 45%; margin-left: 17%; }
.code-lines i:nth-child(5) { width: 65%; }

.router {
  position: absolute;
  inset: 0;
}

.router i,
.router b {
  position: absolute;
  width: 58px;
  height: 58px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
}

.router b { left: 19%; top: 42%; }
.router i:nth-child(1) { right: 18%; top: 18%; }
.router i:nth-child(3) { right: 18%; bottom: 16%; }
.router i:nth-child(4) { right: 42%; top: 42%; }

.router::before,
.router::after {
  content: "";
  position: absolute;
  left: 34%;
  top: 49%;
  width: 48%;
  height: 3px;
  transform: rotate(-22deg);
  background: rgba(16, 24, 40, 0.15);
}

.router::after { transform: rotate(22deg); }

.call-circle,
.score-ring,
.trigger-circle {
  position: absolute;
  left: 50%;
  top: 42%;
  display: grid;
  place-items: center;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  color: #178361;
  border: 10px solid rgba(23, 131, 97, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  font-size: 2rem;
  font-weight: 850;
}

.call-lines,
.score-lines {
  position: absolute;
  left: 28%;
  right: 28%;
  bottom: 16%;
}

.call-lines i,
.score-lines i {
  display: block;
  height: 8px;
  margin-bottom: 9px;
  border-radius: 8px;
  background: rgba(16, 24, 40, 0.12);
}

.call-lines i:nth-child(2), .score-lines i:nth-child(2) { width: 70%; }
.call-lines i:nth-child(3), .score-lines i:nth-child(3) { width: 85%; }

.rule-list,
.followup-list {
  position: absolute;
  inset: 16% 15%;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.large-table {
  position: absolute;
  inset: 12% 8%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
}

.large-table i {
  min-height: 35px;
  border-radius: 6px;
  background: rgba(26, 143, 106, 0.16);
}

.interface-cards {
  position: absolute;
  left: 37%;
  right: 8%;
  top: 13%;
  bottom: 13%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.interface-cards i {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.76);
}

.chat-bubbles {
  position: absolute;
  inset: 16% 13%;
  padding: 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.chat-bubbles i {
  display: block;
  width: 70%;
  height: 29px;
  margin-bottom: 13px;
  border-radius: 12px 12px 12px 3px;
  background: rgba(105, 69, 184, 0.18);
}

.chat-bubbles i:nth-child(2),
.chat-bubbles i:nth-child(4) {
  width: 60%;
  margin-left: auto;
  border-radius: 12px 12px 3px 12px;
  background: rgba(105, 69, 184, 0.38);
}

.score-ring {
  color: #d85b20;
  border-color: rgba(216, 91, 32, 0.17);
  font-size: 1.7rem;
}

.board-row {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 6px;
  margin: 12px 10%;
}

.board-row:first-child { margin-top: 45px; }

.board-row i {
  height: 32px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.75);
}

.trigger-circle {
  left: 29%;
  top: 50%;
  width: 68px;
  height: 68px;
  color: #1d5fd1;
  border: 0;
  font-size: 1.2rem;
}

.trigger-line {
  position: absolute;
  left: 41%;
  top: 49.5%;
  width: 17%;
  height: 3px;
  background: rgba(16, 24, 40, 0.18);
}

.trigger-card {
  position: absolute;
  right: 17%;
  top: 36%;
  width: 105px;
  height: 72px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.1);
}

.approval-cards {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.approval-cards i {
  width: 82px;
  height: 68px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.83);
}

.approval-cards b {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #15805f;
  border-radius: 50%;
  background: #fff;
  font-size: 1.4rem;
}

.notification-box {
  position: absolute;
  inset: 22% 22%;
  padding: 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 32px rgba(16, 24, 40, 0.1);
}

.notification-box b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #1e65cc;
  border-radius: 50%;
  background: #e7f0ff;
}

.notification-box i {
  display: block;
  height: 9px;
  margin-top: 16px;
  border-radius: 9px;
  background: rgba(16, 24, 40, 0.12);
}

.mapping-left,
.mapping-right {
  position: absolute;
  top: 22%;
  width: 30%;
}

.mapping-left { left: 10%; }
.mapping-right { right: 10%; }

.mapping-left i,
.mapping-right i {
  display: block;
  height: 28px;
  margin-bottom: 13px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.78);
}

.mapping-arrows {
  position: absolute;
  left: 48%;
  top: 25%;
  color: rgba(16, 24, 40, 0.32);
  font-size: 1.2rem;
  line-height: 2.15;
}

.project-not-selected {
  display: block;
  max-width: 760px;
  margin-block: 45px 110px;
  padding: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.project-not-selected p {
  margin: 20px 0 28px;
  color: var(--muted);
}

.project-detail:target ~ .project-not-selected {
  display: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 30px 45px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 650;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--primary-dark);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-panel {
    max-width: 320px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card-featured {
    grid-column: span 2;
  }

  .gallery-grid,
  .gallery-grid-real {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .tag-list {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header {
    min-height: 70px;
    padding-inline: 14px;
  }

  .brand {
    font-size: 0.92rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header-link {
    font-size: 0.8rem;
  }

  .hero {
    padding-block: 78px 65px;
  }

  .hero h1,
  .project-intro h1 {
    font-size: clamp(2.75rem, 15vw, 4.6rem);
  }

  .section-heading {
    display: block;
  }

  .section-heading > p {
    margin-top: 12px;
  }

  .project-grid,
  .gallery-grid,
  .gallery-grid-real {
    grid-template-columns: 1fr;
  }

  .project-card-featured {
    grid-column: span 1;
  }

  .project-visual,
  .project-card-featured .project-visual {
    min-height: 220px;
  }

  .project-intro {
    padding-block: 55px 25px;
  }

  .project-intro .back-link {
    margin-bottom: 38px;
  }

  .detail-header {
    padding: 26px;
  }

  .detail-header h2 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .mock-screen {
    min-height: 225px;
  }

  .project-not-selected {
    padding: 35px 24px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Index portfolio card image fix */
.project-card-featured {
  grid-column: span 1;
}

.project-visual,
.project-card-featured .project-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 230px;
  min-height: 230px;
  padding: 20px;
  background: #ffffff;
}

.project-visual::before {
  display: none;
}

.project-cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 700px) {
  .project-visual,
  .project-card-featured .project-visual {
    height: 200px;
    min-height: 200px;
    padding: 16px;
  }
}