
:root {
  /* Color */
  --ink: #dbeaf9;       /* light cool-gray canvas background */
  --ink-panel: #e5eaf0; /* cards / panels */
  --ink-panel-2: #dae1e9; /* hover cards */
  --paper: #2c1b1b;     /* dark navy-gray checklist box container */
  --paper-panel: #252f3c; /* checklist divider lines */
  --text-light: #1b222c; /* primary dark text on light bg */
  --text-muted: #475260; /* secondary text */
  --text-dark: #f0f3f6;  /* primary light text inside dark checklist box */
  --text-dark-muted: #9ab0c7; /* secondary light text inside dark checklist box */
  --flag: #2b73c9;      /* Deep Sky Blue */
  --blueprint: #4d84b8; /* slate/blueprint blue */
  --pass: #468a5c;      /* sage green */
  --line: rgba(27, 34, 44, 0.08);
  --line-strong: rgba(27, 34, 44, 0.18);

  /* Type */
  --f-display: "Parkinsans", sans-serif;
  --f-body: "Parkinsans", sans-serif;
  

  /* Layout */
  --radius: 3px;
  --max: 1120px;
  --pad: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text-light);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--flag); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--flag);
  outline-offset: 3px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0; }

.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--flag);
  box-shadow: 0 0 0 3px rgba(242, 194, 48, 0.18);
}

/* ==========================================================================
   NAV
   ========================================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.nav.is-scrolled {
  background: rgba(240, 243, 246, 0.86);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__mark {
  font-family: var(--f-mono);
  font-size: 14px;
  border: 1px solid var(--line-strong);
  padding: 6px 10px;
  border-radius: var(--radius);
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--text-light);
}

.nav__links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
  font-family: var(--f-mono);
  font-size: 13px;
}

.nav__links a {
  text-decoration: none;
  color: var(--text-muted);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s var(--ease);
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 0;
  background: var(--flag);
  transition: width 0.25s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: var(--text-light);
}

.nav__links a.is-active::after,
.nav__links a:hover::after {
  width: 100%;
}

.btn-nav-cta {
  background: var(--flag) !important;
  color: var(--ink) !important;
  padding: 6px 16px !important;
  border-radius: 100px;
  font-weight: 500;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease) !important;
}

.btn-nav-cta:hover {
  background: #478ee6 !important;
  transform: translateY(-1px);
}

.btn-nav-cta::after {
  display: none !important;
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text-light);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.nav__toggle.is-open span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ==========================================================================
   HERO / ABOUT
   ========================================================================== */

.hero {
  padding: 168px var(--pad) 96px;
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 10%;
  right: var(--pad);
  width: min(500px, 45%);
  height: 80%;
  background-image: url('hero-bg.jpg');
  background-repeat: no-repeat;
  background-position: right center;
  background-size: contain;
  opacity: 0.75;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.hero__avatar-container,
.hero__name,
.hero__role,
.hero__log,
.hero__bio,
.hero__actions,
.social-row {
  position: relative;
  z-index: 1;
}

.hero__status {
  margin-bottom: 28px;
}

.hero__avatar-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 28px;
  border: 1px solid var(--line-strong);
  background: var(--ink-panel);
}

.hero__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__name {
  font-size: clamp(40px, 8vw, 84px);
  max-width: 16ch;
}

.hero__role {
  font-family: var(--f-mono);
  font-size: clamp(14px, 2vw, 18px);
  color: var(--blueprint);
  margin-top: 18px;
}

.hero__log {
  font-family: var(--f-mono);
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 10px;
  min-height: 20px;
}

.hero__log .cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--flag);
  margin-left: 2px;
  vertical-align: -2px;
  animation: blink 1s steps(1) infinite;
}

@keyframes blink { 50% { opacity: 0; } }

.hero__bio {
  margin-top: 32px;
  max-width: 56ch;
  font-size: 17px;
  color: var(--text-light);
}

.hero__bio b { font-weight: 600; }

.hero__company-link {
  color: var(--flag);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

.hero__company-link:hover {
  color: #478ee6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
  align-items: center;
}

.btn {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 13px 22px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--flag);
  color: var(--ink);
}

.btn--primary:hover { background: #478ee6; }

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text-light);
  background: transparent;
}

.btn--ghost:hover { border-color: var(--flag); color: var(--flag); }

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 44px;
}

.social-row a {
  position: relative;   /* ← added: needed so the tooltip can anchor to this icon */
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-strong);
  border-radius:  999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
  
}

.social-row a:hover {
  color: var(--ink);
  background: var(--flag);
  border-color: var(--flag);
  transform: translateY(-3px);
}

.social-row svg { width: 18px; height: 18px; }
.social-row .tooltip {
  position: absolute;
  bottom: calc(100% + 10px);       /* sits just above the icon */
  left: 50%;
  transform: translate(-50%, 4px); /* centered, nudged down 4px when hidden */
  background: var(--ink-panel);
  border: 1px solid var(--line-strong);
  color: var(--text-light);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 999px;
  pointer-events: none;            /* so it never blocks the click */
  opacity: 0;                      /* hidden by default */
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease);
}

.social-row .tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--line-strong);   /* the little pointer arrow */
}

.social-row a:hover .tooltip {
  opacity: 1;                      /* fades in on hover */
  transform: translate(-50%, 0);   /* slides up into place */
}

/* ==========================================================================
   SECTION SCAFFOLDING
   ========================================================================== */

section { position: relative; }

.section {
  padding: 96px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.section__title {
  font-size: clamp(28px, 4vw, 42px);
  margin-top: 12px;
}

.section__note {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--text-muted);
  max-width: 32ch;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   WORK / PROJECT CARDS
   ========================================================================== */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink-panel);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.project-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }

.project-card__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--ink-panel-2), var(--ink-panel));
  overflow: hidden;
}

.project-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.project-card:hover .project-card__frame img { transform: scale(1.04); }

/* corner-bracket "inspect" marks, revealed on hover */
.bracket {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid var(--flag);
  opacity: 0;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.bracket--tl { top: 10px; left: 10px; border-right: none; border-bottom: none; transform: translate(6px, 6px); }
.bracket--tr { top: 10px; right: 10px; border-left: none; border-bottom: none; transform: translate(-6px, 6px); }
.bracket--bl { bottom: 10px; left: 10px; border-right: none; border-top: none; transform: translate(6px, -6px); }
.bracket--br { bottom: 10px; right: 10px; border-left: none; border-top: none; transform: translate(-6px, -6px); }

.project-card:hover .bracket { opacity: 1; transform: translate(0, 0); }

.project-card__tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  border: 1px solid var(--line-strong);
  color: var(--pass);
  padding: 5px 9px;
  border-radius: var(--radius);
}

.project-card__body {
  padding: 22px 22px 24px;
}

.project-card__meta {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.project-card__title {
  font-size: 22px;
  margin-bottom: 8px;
}

.project-card__desc {
  color: var(--text-muted);
  font-size: 14.5px;
}

.project-card__arrow {
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--blueprint);
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-card__arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--ease);
}

.project-card:hover .project-card__arrow svg { transform: translateX(4px); }

.project-card--ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-style: dashed;
  min-height: 260px;
  color: var(--text-muted);
  padding: 32px;
}

.project-card--ghost:hover { border-color: var(--flag); color: var(--flag); }

/* ==========================================================================
   EXPERIENCE — changelog / release-log style
   ========================================================================== */

.changelog { display: flex; flex-direction: column; }

.entry {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.entry:first-child { border-top: none; }

.entry__version {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--flag);
}

.entry__dates {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 6px;
}

.entry__role {
  font-size: 20px;
  font-family: var(--f-display);
  margin-bottom: 4px;
}

.entry__org {
  color: var(--blueprint);
  font-family: var(--f-mono);
  font-size: 13px;
  margin-bottom: 14px;
}

.entry__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 14.5px;
}

.entry__points li { padding-left: 20px; position: relative; }

.entry__points li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--pass);
  font-family: var(--f-mono);
}

/* ==========================================================================
   TOOLS
   ========================================================================== */

.tool-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tool-group__label {
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tool-chip {
  font-family: var(--f-mono);
  font-size: 13px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 8px 12px;
  color: var(--text-light);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}

.tool-chip:hover {
  border-color: var(--flag);
  color: var(--flag);
  transform: translateY(-2px);
}

/* ==========================================================================
   NOW — checklist
   ========================================================================== */

/* .now-panel {
  background: var(--paper);
  color: var(--text-dark);
  border-radius: var(--radius);
  padding: 44px clamp(20px, 4vw, 48px);
}

.now-panel .section__title,
.now-panel .eyebrow { color: var(--text-dark); }
.now-panel .eyebrow { color: var(--text-dark-muted); }

.checklist {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 4px;
  border-top: 1px solid rgba(240, 243, 246, 0.1);
  font-size: 16px;
}

.checklist li:first-child { border-top: none; }

.checkbox {
  flex: none;
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--text-dark-muted);
  border-radius: 4px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}

.checkbox svg {
  width: 13px;
  height: 13px;
  stroke: var(--text-dark);
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.checklist li.is-checked .checkbox {
  background: var(--pass);
  border-color: var(--pass);
}

.checklist li.is-checked .checkbox svg { opacity: 1; transform: scale(1); } */


 
/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
 
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
 
.testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(246, 246, 246);
  padding: 28px 24px;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);

}
 
.testimonial-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
}
 
.testimonial-card__tag { color: var(--pass) !important; }
 
.testimonial-card__quote {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-light);
  flex: 1;
}
 
.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 12px;
}
 
.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  background: var(--ink-panel-2);
}
 
.testimonial-card__name {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
}
 
.testimonial-card__role {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================================================
   CONTACT / FOOTER
   ========================================================================== */

.contact {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact__title {
  font-size: clamp(32px, 6vw, 58px);
  max-width: 18ch;
  margin: 18px auto 0;
}

.contact__actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.copy-feedback {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--pass);
  margin-top: 12px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.copy-feedback.is-visible { opacity: 1; }

footer {
  border-top: 1px solid var(--line);
  padding: 28px var(--pad) 40px;
}

.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--f-body);
  font-size: 12px;
  color: var(--text-muted);
}

.back-to-top {
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  padding: 8px 14px;
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--f-mono);
  font-size: 12px;
}

.back-to-top:hover { color: var(--flag); border-color: var(--flag); }

/* ==========================================================================
   PROJECT DETAIL PAGE
   ========================================================================== */

.p-hero {
  padding: 160px var(--pad) 60px;
  max-width: var(--max);
  margin: 0 auto;
}

.p-back {
  font-family: var( --f-body);
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}

.p-back:hover { color: var(--flag); }

.p-title { font-size: clamp(32px, 6vw, 56px); max-width: 20ch; }

.p-dek {
  margin-top: 20px;
  max-width: 62ch;
  font-size: 18px;
  color: var(--text-muted);
}

.p-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.p-meta__item .eyebrow { display: block; margin-bottom: 8px; }
.p-meta__item div { font-family:  var( --f-body); font-size: 14px; color: var(--text-light); }

.p-frame {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad) 40px;
  

}

.p-frame__inner{
  aspect-ratio: 16/9;
  /* background:var(--flag); */
  /* border: 1px solid var(--line); */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var( --f-body);
  font-size: 13px;
  overflow: hidden;
  border-radius: 12px;
  background-color:var(--ink-panel-2);
}
 .p-frame__inner iframe {
  aspect-ratio: 16/9;
  /* background-color:#5F2EEA; */
  /* border: 1px solid var(--line); */
  /* border-radius: 12px; */
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-family: var( --f-body);
  font-size: 13px;
  overflow: hidden;
  border-radius: 12px;
  background-color:var(--ink-panel-2);

}

 
.p-shots figure {
  margin: 0;
}
 
.p-shots img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
 
.p-shots figcaption{
  margin-top: 10px;
  font-family: var(--f-body);
  font-size: 12px;
  color: var(--text-muted);
}
 
.p-caption {
  font-style: italic;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 10px;
}

 .p-gallery figcaption {
  font-size: 12px;
   font-family: var(--f-body);
    color: var(--text-muted);

}

.p-frame__inner img { width: 100%; height: 100%; object-fit: contain; }

.p-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px var(--pad) 100px;
  display: flex;
  flex-direction: column;
  gap: 56px;

}

.p-block__label {
  margin-bottom: 16px;
}

.p-block h3 {
  font-size: 26px;
  margin-bottom: 16px;
}

.p-block p {
  color: var(--text-muted);
  font-size: 16.5px;
  margin-bottom: 14px;
}


.p-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-list li {
  padding-left: 22px;
  position: relative;
  color: var(--text-muted);
  font-size: 16px;
}

.p-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--blueprint);
}

.p-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.p-gallery .p-frame__inner { aspect-ratio: 4/3; }


.p-next {
  border-top: 1px solid var(--line);
  padding: 56px var(--pad);
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.p-caption{
  font-family:var(--f-body);
  text-decoration:none;
  font-size:12px;
}
.p-next__label { font-family: var(--f-mono); font-size: 12px; color: var(--text-muted); }
.p-next__title { font-size: 24px; margin-top: 8px; }

.p-next a.btn { margin-top: 0; }

/* ==========================================================================
   QUOTE SECTION
   ========================================================================== */

.section--quote {
  text-align: center;
  padding: 96px var(--pad);
  border-top: 1px solid var(--line);
}

.quote-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.quote-text {
  font-family: "Great Vibes", cursive;
  font-size: clamp(24px, 5vw, 48px);
  line-height: 1.4;
  color: var(--text-light);
  margin-bottom: 24px;
  letter-spacing: 0;
}

.quote-author {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--blueprint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ==========================================================================
   ABOUT ME SECTION
   ========================================================================== */

.about-me__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 64px;
  margin-top: 48px;
}

.about-me__story p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.about-me__story p b {
  color: var(--flag);
  font-weight: 500;
}

.about-me__principles {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-me__skills {
  display: flex;
  flex-direction: column;
  padding-top: 56px;
  margin-left: 32px;
}

.about-me__skills-title {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--flag);
  margin-bottom: 16px;
  font-weight: 500;
}

.about-me__skills-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 180px;
}

.about-me__skills-list li {
  font-size: 16px;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}

.about-me__skills-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--flag);
  font-family: var(--f-mono);
  font-size: 12px;
}

.principle {
  border-left: 2px solid var(--line-strong);
  padding-left: 20px;
}

.principle__num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--flag);
  display: block;
  margin-bottom: 6px;
}

.principle__title {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}

.principle__desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 860px) {
  .work-grid,
  .tool-groups,
  .p-meta,
  .p-gallery { grid-template-columns: 1fr; }

  .p-meta { gap: 24px; }

  .nav__links {
    position: fixed;
    inset: 0;
    top: 64px;
    background: var(--ink);
    flex-direction: column;
    padding: 40px var(--pad);
    gap: 26px;
    font-size: 20px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
  }

  .nav__links.is-open { transform: translateX(0); }
  .nav__toggle { display: flex; }

  .section__head { flex-direction: column; align-items: flex-start; }
  .section__note { text-align: left; }

  .entry { grid-template-columns: 1fr; gap: 8px; }

  .hero { padding-top: 140px; }
}

@media (max-width: 520px) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .btn { justify-content: center; }
  .social-row { flex-wrap: wrap; }
}



/* ==========================================================================
   ADDITIONS — Users grid + Metrics grid (EstateIQ case study page)
   Purely additive: does not modify any existing rule above.
   ========================================================================== */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(246, 246, 246);
  padding: 22px 20px;
}

.info-card__title {
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}

.info-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.metric-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgb(246, 246, 246);
  padding: 24px 20px;
  text-align: center;
}

.metric-card__value {
  font-family: var(--f-display);
  font-size: 32px;
  font-weight: 600;
  color: var(--flag);
  line-height: 1.1;
}

.metric-card__label {
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Responsive — new media queries only, existing ones untouched */
@media (max-width: 860px) {
  .info-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .metrics-grid { grid-template-columns: 1fr; }
}








/* ==========================================================================
   TESTIMONIALS PAGE — additive stylesheet
   Loads AFTER your existing site stylesheet. Every rule here targets new
   classes (all prefixed for safety: t-hero, t-cta, wall-*, lightbox) plus a
   small set of NEW custom properties. Nothing here redefines a selector
   that already exists in your file — existing pages are untouched.
   ========================================================================== */

:root {
  /* New tokens only — additive, no existing var is overwritten */
  --coral: #e8935c;                 /* single warm accent, used sparingly */
  --coral-soft: rgba(232, 147, 92, 0.16);
  --glow-blue: rgba(43, 115, 201, 0.35);
  --glow-green: rgba(70, 138, 92, 0.28);
  --glow-coral: rgba(232, 147, 92, 0.32);
  --wall-tilt-max: 10deg;
}

/* ==========================================================================
   HERO
   ========================================================================== */

.t-hero {
  position: relative;
  overflow: hidden;
  padding: 168px var(--pad) 88px;
}

.t-hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}

.t-hero__inner .eyebrow { justify-content: center; }

.t-hero__title {
  font-size: clamp(36px, 6.4vw, 64px);
  margin-top: 20px;
  letter-spacing: -0.02em;
}

.t-hero__sub {
  margin: 24px auto 0;
  max-width: 56ch;
  font-size: 17.5px;
  color: var(--text-muted);
}

/* floating field behind the hero copy */
.t-hero__field {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.blob {
  position: absolute;
  border-radius: 42% 58% 63% 37% / 41% 45% 55% 59%;
  filter: blur(2px);
  opacity: 0.55;
  animation: blob-float 14s var(--ease) infinite;
  mix-blend-mode: multiply;
}

.blob--a {
  width: 320px;
  height: 320px;
  top: -60px;
  left: 6%;
  background: linear-gradient(135deg, var(--glow-blue), transparent 70%);
  animation-duration: 16s;
}

.blob--b {
  width: 260px;
  height: 260px;
  top: 30%;
  right: 4%;
  background: linear-gradient(135deg, var(--glow-coral), transparent 70%);
  animation-duration: 19s;
  animation-delay: -6s;
}

@keyframes blob-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(18px, -24px) rotate(8deg) scale(1.04); }
  66% { transform: translate(-14px, 16px) rotate(-6deg) scale(0.97); }
}

.dotgrid {
  position: absolute;
  width: 160px;
  height: 160px;
  left: 50%;
  bottom: -30px;
  background-image: radial-gradient(var(--line-strong) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0.7;
  animation: dot-drift 10s ease-in-out infinite;
}

@keyframes dot-drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-8px, -10px); }
}

.ring {
  position: absolute;
  fill: none;
  stroke: var(--line-strong);
  stroke-width: 1;
  stroke-dasharray: 3 7;
  animation: ring-spin linear infinite;
}

.ring--a { width: 220px; height: 220px; top: 10%; right: 16%; animation-duration: 60s; }
.ring--b { width: 130px; height: 130px; bottom: 8%; left: 12%; animation-duration: 46s; animation-direction: reverse; }

@keyframes ring-spin {
  to { transform: rotate(360deg); }
}

.spark {
  position: absolute;
  width: 14px;
  height: 14px;
  fill: var(--coral);
  opacity: 0.8;
  animation: spark-twinkle 3.2s ease-in-out infinite;
}

.spark--1 { top: 22%; left: 20%; animation-delay: 0s; }
.spark--2 { top: 62%; right: 22%; fill: var(--flag); animation-delay: -1.1s; }
.spark--3 { bottom: 14%; left: 46%; fill: var(--pass); animation-delay: -2s; }

@keyframes spark-twinkle {
  0%, 100% { opacity: 0.15; transform: scale(0.7) rotate(0deg); }
  50% { opacity: 0.9; transform: scale(1.05) rotate(20deg); }
}

/* ==========================================================================
   FEATURED TESTIMONIALS — extends existing .testimonial-card
   ========================================================================== */

.t-featured-grid { perspective: 1200px; }

/* existing .testimonial-card already gives border/bg/hover-lift; we only
   ADD glow + mouse-tilt on top, using CSS vars set live by JS */
.testimonial-card {
  --tiltX: 0deg;
  --tiltY: 0deg;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.testimonial-card:hover {
  transform: translateY(-6px) rotateX(var(--tiltX)) rotateY(var(--tiltY));
  box-shadow: 0 22px 44px -18px var(--card-glow, var(--glow-blue));
}

.testimonial-card__quote-mark {
  position: absolute;
  top: 18px;
  right: 20px;
  width: 30px;
  height: 22px;
  opacity: 0.16;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.testimonial-card:hover .testimonial-card__quote-mark {
  opacity: 0.32;
  transform: translateY(-2px);
}

.testimonial-card__quote-mark svg { width: 100%; height: 100%; fill: var(--flag); }

.testimonial-card__person { position: relative; }

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  border: 1px solid var(--line-strong);
  flex: none;
}

.t-linkedin {
  margin-left: auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

.t-linkedin:hover {
  color: var(--flag);
  border-color: var(--flag);
  transform: translateY(-2px);
}

.t-linkedin svg { width: 15px; height: 15px; }

/* staggered reveal — works with existing .reveal / .is-visible pair */
.testimonial-card.reveal { transition-delay: var(--stagger, 0ms); }

/* ==========================================================================
   APPRECIATION WALL — masonry + lightbox
   ========================================================================== */

.t-wall { border-top: 1px solid var(--line); }

.wall-grid {
  columns: 4 220px;
  column-gap: 20px;
}

@media (max-width: 1024px) { .wall-grid { columns: 3 200px; } }
@media (max-width: 700px)  { .wall-grid { columns: 2 160px; } }
@media (max-width: 460px)  { .wall-grid { columns: 1; } }

.wall-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  border: 1px solid var(--line);
  background: #fff;
  overflow: hidden;
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), box-shadow 0.25s var(--ease);
}

.wall-item.is-visible { opacity: 1; transform: translateY(0); }
.wall-item.is-floating { animation: wall-float 6s ease-in-out infinite; }

@keyframes wall-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.wall-item:hover {
  box-shadow: 0 18px 34px -18px rgba(27, 34, 44, 0.28);
}

.wall-item__frame {
  overflow: hidden;
}

.wall-item__frame > * { transition: transform 0.5s var(--ease); }
.wall-item:hover .wall-item__frame > * { transform: scale(1.045); }

/* mock "screenshot" — a rendered message bubble standing in for a real
   screenshot. Swap for <img class="wall-item__frame" src="..."> any time —
   the lightbox JS reads data-full from either. */
.mock-shot {
  padding: 20px 18px 22px;
  background: linear-gradient(165deg, var(--ink-panel) 0%, #fff 70%);
}

.mock-shot__bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}
.mock-shot__bar span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }

.mock-shot__bubble {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-light);
}

.mock-shot__from {
  margin-top: 12px;
  font-family: var(--f-mono, monospace);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.wall-item__caption {
  padding: 10px 16px 16px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.lightbox.is-open { opacity: 1; visibility: visible; }

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(27, 34, 44, 0.55);
  backdrop-filter: blur(8px);
}

.lightbox__stage {
  position: relative;
  z-index: 2;
  max-width: min(480px, 86vw);
  max-height: 82vh;
  overflow: auto;
  border-radius: var(--border-radius);
  transform: scale(0.94);
  transition: transform 0.3s var(--ease);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.45);
}

.lightbox.is-open .lightbox__stage { transform: scale(1); }

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 3;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--line-strong);
  color: var(--text-light);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s var(--ease), color 0.2s var(--ease);
}

.lightbox__close:hover,
.lightbox__nav:hover { color: var(--flag); transform: translateY(-2px); }

.lightbox__close { top: 24px; right: 24px; }
.lightbox__nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox__nav--next:hover { transform: translateY(-50%) translateX(2px); }

@media (max-width: 640px) {
  .lightbox__nav--prev { left: 10px; }
  .lightbox__nav--next { right: 10px; }
  .lightbox__close { top: 14px; right: 14px; }
}

/* ==========================================================================
   METRICS — small additive touch on existing .metric-card
   ========================================================================== */

.metric-card {
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px -18px var(--glow-blue);
}

/* ==========================================================================
   CTA
   ========================================================================== */

.t-cta-section { border-top: 1px solid var(--line); }

.t-cta-card {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
  padding: 64px var(--pad);
  text-align: center;
  border-radius: 24px;
  background: var(--ink-panel);
  overflow: hidden;
  animation: cta-float 7s ease-in-out infinite;
}

@keyframes cta-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.t-cta-card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1.5px;
  border-radius: 24px;
  background: conic-gradient(from var(--angle, 0deg), var(--flag), var(--coral), var(--pass), var(--flag));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: cta-border-spin 6s linear infinite;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes cta-border-spin {
  to { --angle: 360deg; }
}

.t-cta-card__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 480px;
  height: 480px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--glow-blue), transparent 65%);
  opacity: 0.5;
  pointer-events: none;
}

.t-cta-card__title {
  position: relative;
  font-size: clamp(28px, 5vw, 46px);
  margin-top: 16px;
}

.t-cta-card__desc {
  position: relative;
  max-width: 50ch;
  margin: 18px auto 0;
  color: var(--text-muted);
  font-size: 16.5px;
}

.t-cta-card__btn { position: relative; margin-top: 30px; }

/* ==========================================================================
   COUNT-UP STATS
   ========================================================================== */

.count-suffix { color: var(--coral); }

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  .blob, .dotgrid, .ring, .spark, .wall-item.is-floating, .t-cta-card, .t-cta-card::before {
    animation: none !important;
  }
}