/* ========== Multi-page additions ========== */
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.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; }

/* Placeholder content waiting for real info */
.todo { outline: 1px dashed rgba(255, 181, 71, 0.8); outline-offset: 3px; border-radius: 4px; color: #ffcf87 !important; }

.nav__links a[aria-current="page"] { color: var(--text); background: rgba(242, 240, 234, 0.08); }
@media (max-width: 1100px) and (min-width: 901px) {
  .nav__links a { padding: 8px 12px; }
}
@media (max-width: 900px) {
  .nav__links a[aria-current="page"] { color: var(--accent); }
}

.hero__title { font-size: clamp(40px, 10vw, 168px); }

/* Page transition cover */
.page-transition {
  position: fixed; inset: 0; z-index: 99; background: var(--bg-2);
  display: grid; place-items: center; pointer-events: none;
  transform: translateY(100%); visibility: hidden;
}
.page-transition img { height: 40px; width: auto; opacity: 0.8; }

/* Inner page hero */
.page-hero {
  min-height: 78svh; position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px var(--pad) clamp(48px, 7vw, 96px);
}
.page-hero__title { font-size: clamp(52px, 11vw, 180px); line-height: 0.9; letter-spacing: -0.055em; }
.page-hero__title em { font-style: normal; color: var(--accent); }
.page-hero__lead { max-width: 580px; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); margin: 32px 0 0; }

.section--tight { padding-block: clamp(40px, 6vw, 80px); }
.section--flush-top { padding-top: 0; }
.section__head--row { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.note { color: var(--muted); margin: 28px 0 0; font-size: 16px; }
.note a { color: var(--accent); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; padding-bottom: 4px;
  font-family: var(--font-display); font-weight: 500; font-size: 18px;
  background: linear-gradient(var(--accent), var(--accent)) 0 100% / 100% 1px no-repeat;
  transition: gap 0.4s var(--ease), color 0.3s;
}
.link-arrow:hover { gap: 16px; color: var(--accent); }

/* Code + No-Code duo */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.duo__card {
  position: relative; overflow: hidden; min-height: 440px;
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.duo__card--code { background: linear-gradient(160deg, rgba(123, 92, 255, 0.22), rgba(14, 12, 21, 0.75) 60%); }
.duo__card--nocode { background: linear-gradient(160deg, rgba(185, 255, 102, 0.14), rgba(14, 12, 21, 0.75) 60%); }
.duo__glyph {
  position: absolute; right: 20px; top: 0; pointer-events: none;
  font-family: var(--font-display); font-size: clamp(120px, 14vw, 200px); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(242, 240, 234, 0.1);
}
.duo__kicker { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; color: var(--accent); }
.duo__card--code .duo__kicker { color: #b3a2ff; }
.duo__card h3 { font-size: clamp(44px, 5.5vw, 80px); margin: 18px 0 16px; }
.duo__card p { color: var(--muted); margin: 0 0 32px; max-width: 44ch; font-size: 17px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: auto 0 0; padding: 0; list-style: none; }
.chip {
  padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(242, 240, 234, 0.04); font-size: 14px; transition: border-color 0.3s, color 0.3s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chips--big { gap: 12px; }
.chips--big .chip { font-family: var(--font-display); font-size: clamp(18px, 2vw, 26px); padding: 12px 24px; }

/* Skills toolkit */
.toolkit { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); }
.toolkit__col h2 { font-size: clamp(48px, 6vw, 96px); margin-bottom: 14px; }
.toolkit__col > p { color: var(--muted); margin: 0 0 32px; font-size: 17px; }
.tool { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); }
.tool:last-child { border-bottom: 1px solid var(--line); }
.tool__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center;
  border: 1px solid var(--line); background: rgba(242, 240, 234, 0.03);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 16px; font-weight: 600; color: var(--accent);
  transition: background 0.3s, color 0.3s, transform 0.5s var(--ease);
}
.tool:hover .tool__icon { background: var(--accent); color: var(--bg); transform: rotate(-8deg) scale(1.05); }
.tool h3 { font-size: 22px; margin: 4px 0 6px; letter-spacing: -0.02em; line-height: 1.2; }
.tool p { margin: 0; color: var(--muted); font-size: 15px; }

/* Compare table */
.compare-wrap {
  overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(14, 12, 21, 0.65); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.compare { width: 100%; min-width: 620px; border-collapse: collapse; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.compare thead th:nth-child(2) { color: #b3a2ff; }
.compare thead th:nth-child(3) { color: var(--accent); }
.compare tbody th { width: 22%; color: var(--muted); font-weight: 500; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.compare td { font-size: 16px; }

/* About: photo + story */
.about-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.photo {
  position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 100%;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(123, 92, 255, 0.35), transparent 60%),
    radial-gradient(100% 80% at 100% 100%, rgba(185, 255, 102, 0.22), transparent 60%),
    var(--bg-2);
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo__placeholder {
  position: absolute; inset: 0; display: none; place-items: center; text-align: center; padding: 24px;
  font-family: var(--font-display); font-size: 22px; color: #ffcf87;
  outline: 1px dashed rgba(255, 181, 71, 0.6); outline-offset: -16px; border-radius: inherit;
}
.photo__placeholder small { font-family: ui-monospace, Menlo, monospace; font-size: 13px; color: var(--muted); }
.photo--empty .photo__placeholder { display: grid; }
.photo__placeholder--mono {
  outline: none; font-size: clamp(140px, 20vw, 300px); font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(185, 255, 102, 0.55);
}
.photo__badge {
  position: absolute; left: 16px; right: 16px; bottom: 16px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: rgba(7, 6, 11, 0.6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-family: var(--font-display); font-size: 15px;
}
.photo__status { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.about-intro__text h2 { font-size: clamp(36px, 5vw, 72px); margin-bottom: 28px; }
.about-intro__text > p { color: var(--muted); font-size: 18px; margin: 0 0 18px; max-width: 60ch; }
.about-intro__text > p strong { color: var(--text); font-weight: 500; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 32px; margin: 40px 0 0; border-top: 1px solid var(--line); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; }
.facts dd { margin: 6px 0 0; font-family: var(--font-display); font-size: 20px; display: inline-block; }
.facts dd a:hover { color: var(--accent); }

/* Timeline */
.timeline { position: relative; max-width: 900px; padding-left: 44px; }
.timeline::before, .timeline__line { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.timeline__line { background: var(--accent); transform-origin: top; transform: scaleY(0); }
.timeline__list { list-style: none; margin: 0; padding: 0; }
.timeline__list li { position: relative; padding-bottom: 52px; }
.timeline__list li:last-child { padding-bottom: 0; }
.timeline__list li::before {
  content: ""; position: absolute; left: -44px; top: 6px; width: 15px; height: 15px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--accent);
}
.timeline__when { display: inline-block; font-size: 14px; color: var(--accent); letter-spacing: 0.05em; }
.timeline__list h3 { font-size: clamp(24px, 2.8vw, 36px); margin: 10px 0; line-height: 1.1; }
.timeline__list p { margin: 0; color: var(--muted); max-width: 60ch; }

/* Mission / vision */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv__card {
  padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); border: 1px solid var(--line);
  background: rgba(14, 12, 21, 0.65); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.mv__card .section__label { margin-bottom: 12px; }
.mv__card h3 { font-size: clamp(30px, 3.4vw, 48px); margin-bottom: 16px; }
.mv__card p { color: var(--muted); margin: 0; font-size: 18px; }

/* CTA band */
.cta {
  position: relative; z-index: 2;
  margin: 0 var(--pad) clamp(80px, 12vw, 160px);
  padding: clamp(40px, 7vw, 100px) clamp(24px, 5vw, 80px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap;
  border-radius: calc(var(--radius) * 1.5); border: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(123, 92, 255, 0.28), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(185, 255, 102, 0.18), transparent 60%),
    rgba(14, 12, 21, 0.75);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.cta h2 { font-size: clamp(40px, 7vw, 110px); line-height: 0.95; letter-spacing: -0.05em; max-width: 12ch; }

/* Projects page */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filter {
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(14, 12, 21, 0.4); color: var(--muted); font: 500 14px var(--font-body); cursor: pointer;
  transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.filter:hover { color: var(--text); border-color: rgba(242, 240, 234, 0.3); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.projects--grid .project:nth-child(even) { margin-top: 0; }
.projects--grid { row-gap: 56px; }
.project__client { order: 3; width: 100%; margin: -8px 0 0; color: var(--muted); font-size: 15px; }

/* Contact steps */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps3 .card { min-height: 240px; }
.steps3 .card h3 { margin-top: auto; }

/* Footer */
.footer__top {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px;
  padding: clamp(60px, 8vw, 100px) 0 40px; border-top: 1px solid var(--line);
}
.footer__brand img { height: 40px; width: auto; }
.footer__brand p { color: var(--muted); max-width: 34ch; margin: 18px 0 0; }
.footer h4 { margin: 0 0 16px; font-family: var(--font-display); font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--muted); transition: color 0.3s; }
.footer ul a:hover { color: var(--text); }

/* Responsive */
@media (max-width: 900px) {
  .duo, .toolkit, .about-intro, .mv, .steps3 { grid-template-columns: 1fr; }
  .photo { max-width: 480px; }
  .page-hero { min-height: 62svh; padding-top: 120px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .facts { grid-template-columns: 1fr; }
  .duo__card { min-height: 0; }
  .footer__top { grid-template-columns: 1fr; }
  .cta { align-items: flex-start; }
  .tool { grid-template-columns: 48px 1fr; gap: 16px; }
  .tool__icon { width: 48px; height: 48px; font-size: 14px; }
}
