/* ── RESET & TOKENS ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black:  #0D0D0D;
  --dark:   #1a1a1a;
  --mid:    #555;
  --light:  #999;
  --border: #e6e6e6;
  --bg:     #ffffff;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── NAV ── */
nav {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: white;
  z-index: 100;
}
nav .container { display: flex; justify-content: space-between; align-items: center; }
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img { height: 28px; width: auto; display: block; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a {
  font-size: 14px;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s;
}
.nav-menu a:hover { color: var(--black); }
.nav-cta {
  font-size: 13px !important;
  font-weight: 500;
  color: var(--black) !important;
  border: 1.5px solid var(--black);
  padding: 8px 22px;
  transition: background 0.15s, color 0.15s;
}
.nav-cta:hover { background: var(--black); color: white !important; }
.nav-cta { cursor: pointer; background: none; font-family: inherit; }

/* Hamburger toggle - desktop hidden */
.nav-toggle {
  display: none;
  background: transparent; border: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  padding: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--black); transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── POPUP ── */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.popup-overlay.is-open { display: flex; }

.popup {
  background: var(--bg);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 480px;
  padding: 48px 40px 40px;
  position: relative;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--light);
  padding: 4px;
  line-height: 1;
  transition: color 0.15s;
}
.popup-close:hover { color: var(--black); }

.popup-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.4px;
  margin-bottom: 28px;
  color: var(--black);
}

.popup-form {
  margin-bottom: 32px;
}
.popup-form iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

.popup-contact {
  display: flex;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.popup-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  text-decoration: none;
  transition: color 0.15s;
}
.popup-contact-link:hover { color: var(--black); }

.popup-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .popup { padding: 40px 24px 32px; }
  .popup-contact { flex-direction: column; gap: 16px; }
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
footer .container { display: flex; justify-content: space-between; align-items: center; }
.footer-logo-img { height: 22px; width: auto; display: block; }
.footer-links { display: flex; gap: 24px; }
.footer-links a {
  font-size: 13px; color: var(--mid);
  text-decoration: none; transition: color 0.15s;
}
.footer-links a:hover { color: var(--black); }

/* ── UTILITY ── */
.sec-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--light); margin-bottom: 14px;
}
.sec-title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700; letter-spacing: -0.9px;
  line-height: 1.2; margin-bottom: 56px;
}

/* ── HERO ── */
.hero {
  padding: 100px 0 88px;
  border-bottom: 1px solid var(--border);
}
.hero-label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--light); margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(38px, 5.5vw, 62px);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -2px; max-width: 820px;
  margin-bottom: 28px;
}
.hero-sub {
  font-size: 18px; font-weight: 400;
  color: var(--mid); max-width: 560px;
  line-height: 1.7; margin-bottom: 48px;
}
.hero-cta {
  display: inline-block;
  background: var(--black); color: white;
  text-decoration: none;
  font-size: 14px; font-weight: 600;
  padding: 15px 36px; letter-spacing: 0.2px;
  transition: opacity 0.15s;
  border: none; cursor: pointer; font-family: inherit;
}
.hero-cta:hover { opacity: 0.78; }

.hero-accent {
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* ── NUMBERS / STATS ── */
.numbers {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.number-item { padding-right: 32px; }
.number-item + .number-item {
  padding-left: 32px;
  border-left: 1px solid var(--border);
}
.number-value {
  display: block;
  font-size: 38px; font-weight: 700;
  letter-spacing: -1.5px; margin-bottom: 6px;
  white-space: nowrap;
}
.number-label { font-size: 12px; color: var(--light); line-height: 1.5; }

/* ── CAPABILITIES ── */
.capabilities {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px;
}
.cap-num {
  font-size: 11px; font-weight: 600;
  color: var(--light); letter-spacing: 1px;
  margin-bottom: 18px;
}
.cap-item {
  background: #fafafa;
  border: 1px solid var(--border);
  padding: 32px;
}
.cap-item h3 {
  font-size: 16px; font-weight: 600;
  letter-spacing: -0.3px; margin-bottom: 12px;
}
.cap-item p { font-size: 14px; color: var(--mid); line-height: 1.75; }

/* ── APPROACH ── */
.approach {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 88px; align-items: start;
}
.approach-left h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700; letter-spacing: -0.6px;
  line-height: 1.3; margin-bottom: 20px;
}
.approach-left p { font-size: 15px; color: var(--mid); line-height: 1.8; }
.approach-left p + p { margin-top: 16px; }

.steps { display: flex; flex-direction: column; gap: 36px; }
.step { display: grid; grid-template-columns: 28px 1fr; gap: 18px; }
.step-num {
  font-size: 11px; font-weight: 600;
  color: var(--light); letter-spacing: 1px; padding-top: 3px;
}
.step-body h4 {
  font-size: 15px; font-weight: 600;
  letter-spacing: -0.2px; margin-bottom: 6px;
}
.step-body p { font-size: 13px; color: var(--mid); line-height: 1.7; }

/* ── PROJECTS ── */
.projects {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: transparent;
}
.project-card {
  background: white;
  padding: 36px 32px;
  border: 1px solid var(--border);
}
.project-type {
  font-size: 10px; font-weight: 600;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--light); margin-bottom: 18px;
}
.project-card h3 {
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.3px; margin-bottom: 14px; line-height: 1.35;
}
.project-card p { font-size: 13px; color: var(--mid); line-height: 1.75; margin-bottom: 22px; }
.project-outcome {
  font-size: 12px; font-weight: 500; color: var(--dark);
  border-top: 1px solid var(--border); padding-top: 18px; line-height: 1.55;
}

/* ── VIDEO ── */
.video-section {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}
.video-wrap {
  background: #0D0D0D;
  aspect-ratio: 16 / 9;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  cursor: pointer; position: relative; overflow: hidden;
}
.play-ring {
  width: 68px; height: 68px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  transition: border-color 0.2s;
}
.video-wrap:hover .play-ring { border-color: rgba(255,255,255,0.85); }
.play-ring svg { width: 22px; height: 22px; fill: white; margin-left: 4px; }
.video-label {
  font-size: 15px; font-weight: 500;
  color: rgba(255,255,255,0.65); letter-spacing: 0.3px;
}
.video-sub { font-size: 12px; color: rgba(255,255,255,0.3); margin-top: 8px; letter-spacing: 0.5px; }

/* ── ABOUT ── */
.about {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}
.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px; align-items: start;
}
.about-photo {
  width: 100%; aspect-ratio: 3/4;
  display: block; overflow: hidden;
}
.about-photo picture {
  display: block; width: 100%; height: 100%;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover; filter: grayscale(15%); display: block;
}
.about-photo-placeholder {
  width: 100%; aspect-ratio: 3/4;
  background: #f2f2f2; border: 1px solid var(--border);
}
.about-content h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700; letter-spacing: -0.6px;
  line-height: 1.3; margin-bottom: 22px;
}
.about-content p { font-size: 15px; color: var(--mid); line-height: 1.8; }
.about-content p + p { margin-top: 16px; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.stack-tag {
  font-size: 12px; font-weight: 500; color: var(--dark);
  border: 1px solid var(--border); padding: 5px 13px;
  background: #fafafa;
}

/* ── CTA SECTION ── */
.cta-section { padding: 100px 0; }
.cta-inner { max-width: 580px; }
.cta-inner h2 {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700; letter-spacing: -1.2px;
  line-height: 1.12; margin-bottom: 22px;
}
.cta-inner p {
  font-size: 16px; color: var(--mid);
  line-height: 1.7; margin-bottom: 40px;
}
.cta-row { display: flex; gap: 20px; align-items: center; }
.cta-btn {
  display: inline-block;
  background: var(--black); color: white;
  text-decoration: none;
  font-size: 14px; font-weight: 600;
  padding: 15px 36px; transition: opacity 0.15s;
}
.cta-btn:hover { opacity: 0.78; }
.cta-link {
  font-size: 14px; color: var(--mid);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}
.cta-link:hover { color: var(--black); border-color: var(--black); }

/* ── PAGE HEADER ── */
.page-header {
  padding: 80px 0 72px;
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 700; letter-spacing: -1.5px;
  line-height: 1.1; max-width: 700px;
  margin-bottom: 20px;
}
.page-header p {
  font-size: 17px; color: var(--mid);
  max-width: 520px; line-height: 1.7;
}

/* ── SERVICES PAGE ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ── HOW IT WORKS (services) ── */
.how-it-works {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}

/* ── BLOG PAGE ── */
.blog-list {
  padding: 72px 0;
}
.blog-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px; align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.blog-item:first-child { border-top: 1px solid var(--border); }
.blog-date {
  font-size: 12px; color: var(--light);
  font-weight: 400; white-space: nowrap;
}
.blog-item h2 {
  font-size: 17px; font-weight: 600;
  letter-spacing: -0.3px; margin-bottom: 6px;
  line-height: 1.35;
}
.blog-item h2 a {
  text-decoration: none; color: var(--black);
  transition: color 0.15s;
}
.blog-item h2 a:hover { color: var(--mid); }
.blog-item .excerpt {
  font-size: 13px; color: var(--mid); line-height: 1.65;
}

/* ── BLOG POST ── */
.post-header {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
  max-width: 700px;
}
.post-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; letter-spacing: -1.2px;
  line-height: 1.15; margin-bottom: 16px;
}
.post-meta {
  font-size: 12px; color: var(--light);
  letter-spacing: 0.5px;
}
.post-body {
  max-width: 700px;
  padding: 60px 0 80px;
}
.post-body p {
  font-size: 16px; color: var(--dark);
  line-height: 1.85; margin-bottom: 24px;
}
.post-body h2 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.5px; margin: 40px 0 16px;
}
.post-body h3 {
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.3px; margin: 32px 0 12px;
}
.post-body ul, .post-body ol {
  padding-left: 24px; margin-bottom: 24px;
}
.post-body li {
  font-size: 16px; color: var(--dark);
  line-height: 1.75; margin-bottom: 8px;
}
.post-body blockquote {
  border-left: 3px solid var(--border);
  padding: 0 0 0 24px; margin: 32px 0;
}
.post-body blockquote p { color: var(--mid); }

/* ── POST NAV ── */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 48px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}
.post-nav-item {
  display: flex; flex-direction: column; gap: 6px;
  text-decoration: none; color: inherit;
}
.post-nav-next { text-align: right; }
.post-nav-label {
  font-size: 12px; color: var(--light);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.post-nav-title {
  font-size: 15px; font-weight: 600; color: var(--black);
  letter-spacing: -0.2px; line-height: 1.4;
}
.post-nav-item:hover .post-nav-title { text-decoration: underline; }

/* ── CONTACT PAGE ── */
.contact-section {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.contact-item h3 {
  font-size: 14px; font-weight: 600;
  letter-spacing: -0.2px; margin-bottom: 12px;
}
.contact-item p {
  font-size: 14px; color: var(--mid);
  line-height: 1.75; margin-bottom: 16px;
}
.contact-item a {
  font-size: 14px; color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  transition: border-color 0.15s;
}
.contact-item a:hover { border-color: var(--black); }
.contact-note {
  padding: 48px 0;
  font-size: 13px; color: var(--light);
}

/* ── STUB ── */
.stub-page {
  padding: 120px 0;
  text-align: center;
}
.stub-page h1 {
  font-size: 28px; font-weight: 700;
  color: var(--mid);
}

/* ── FEATURED TESTIMONIAL SECTION (after hero, standalone social proof) ── */
.feat-testimonial-section {
  background: #ffffff;
  padding: 72px 0;
}
.feat-testimonial-section .container {
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  padding: 56px;
  background: #ffffff;
}

/* ── TESTIMONIALS WALL ── */
.testimonials {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}

/* Featured testimonial block (reusable - see .claude/skills/portfolio-blocks) */
.feat-testimonial { margin-bottom: 80px; }
.feat-testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feat-testimonial-body { display: flex; flex-direction: column; gap: 18px; }
.feat-testimonial-body .sec-tag { margin-bottom: 0; }
.feat-testimonial-title {
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.25;
  color: var(--black);
}
.feat-testimonial-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--mid);
}
.feat-testimonial-quote {
  margin: 8px 0 0;
  padding: 24px 28px;
  background: #f5f5f5;
  border: 1px solid var(--border);
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  font-style: italic;
  text-align: left;
}
.feat-testimonial-media picture {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #fafafa;
}
.feat-testimonial-media img {
  display: block;
  width: 100%;
  height: auto;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.quote-card {
  border: 1px solid var(--border);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.quote-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--dark);
  font-style: normal;
  flex: 1;
}
.quote-text::before {
  content: "\201C";
  display: block;
  font-size: 48px;
  line-height: 1;
  color: var(--light);
  margin-bottom: 8px;
}

.quote-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.quote-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
}

.quote-title {
  font-size: 13px;
  color: var(--light);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.screenshots-grid picture {
  display: block;
  width: 100%;
  border: 1px solid var(--border);
  overflow: hidden;
  background: #fafafa;
}
.screenshots-grid img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── SERVICES BLOCK ── */
.services-block {
  padding: 92px 0;
  border-bottom: 1px solid var(--border);
}
.services-block .sec-tag { margin-bottom: 40px; }
.services-block--alt { background: #fafafa; }
.services-grid--2col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
}
.service-item {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.service-item h3 {
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.3px; margin-bottom: 12px;
}
.service-item > p {
  font-size: 14px; color: var(--mid);
  line-height: 1.7; margin-bottom: 20px;
}
.service-details {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px;
}
.service-details li {
  font-size: 13px; color: var(--mid);
  padding-left: 16px; position: relative;
}
.service-details li::before {
  content: "\2022"; position: absolute; left: 0; color: var(--light);
}

/* ── PAGE HEADER ── */
.page-header-sub {
  font-size: 17px; color: var(--mid);
  max-width: 540px; line-height: 1.6;
}

/* ── STEPS HORIZONTAL ── */
.steps--horizontal {
  flex-direction: row;
  gap: 0;
}
.steps--horizontal .step {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding-right: 32px;
  border-right: 1px solid var(--border);
  margin-right: 32px;
}
.steps--horizontal .step:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}
.steps--horizontal .step-num {
  font-size: 14px;
  color: var(--mid);
  font-weight: 600;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .services-grid--2col { grid-template-columns: 1fr; max-width: 100%; }
  .steps--horizontal { flex-direction: column; }
  .steps--horizontal .step {
    border-right: none; border-bottom: 1px solid var(--border);
    padding-right: 0; margin-right: 0;
    padding-bottom: 32px; margin-bottom: 32px;
  }
  .steps--horizontal .step:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
}

/* ── WORKSHOPS ── */
.workshops-listing {
  padding: 96px 0 120px;
}
.workshops-listing .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 28px;
  max-width: 1080px;
}
.workshop-card {
  display: flex; flex-direction: column;
  background: #fafafa;
  border: 1px solid var(--border);
  padding: 40px 36px 36px;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.workshop-card:hover {
  border-color: var(--dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.workshop-meta {
  display: flex; align-items: center;
  gap: 14px; margin-bottom: 20px;
}
.workshop-format { font-size: 12px; color: var(--light); font-weight: 500; }
.workshop-status {
  font-size: 11px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border: 1px solid currentColor;
}
.workshop-status--open { color: #2d7d46; }
.workshop-status--closed { color: var(--light); }
.workshop-status--coming-soon { color: #b45309; }
.workshop-card h2 {
  font-size: 24px;
  font-weight: 700; letter-spacing: -0.5px;
  margin-bottom: 8px; line-height: 1.25;
}
.workshop-cycle { font-size: 13px; color: var(--light); margin-bottom: 18px; }
.workshop-desc {
  font-size: 15px; color: var(--mid);
  line-height: 1.7; margin-bottom: 32px;
  flex: 1;
}
.workshop-cta {
  display: inline-block;
  align-self: flex-start;
  background: var(--black); color: white;
  text-decoration: none;
  font-size: 14px; font-weight: 600;
  padding: 14px 28px;
  transition: opacity 0.15s;
}
.workshop-cta:hover { opacity: 0.78; text-decoration: none; }

/* ── BLOG LISTING ── */
.blog-listing { padding: 80px 0; }

.blog-filter { margin-bottom: 40px; }
.blog-filter-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--dark);
  cursor: pointer;
  font-size: 14px;
  font-family: inherit;
  padding: 10px 40px 10px 14px;
  min-width: 200px;
  transition: border-color 0.15s;
}
.blog-filter-select:hover,
.blog-filter-select:focus {
  border-color: var(--mid);
  outline: none;
}

.blog-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  grid-template-rows: auto auto;
  gap: 4px 24px; padding: 32px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none; color: inherit;
}
.blog-row:first-child { border-top: 1px solid var(--border); }
.blog-row:hover .blog-title { text-decoration: underline; }
.blog-date { font-size: 13px; color: var(--light); padding-top: 3px; grid-row: 1; }
.blog-title {
  font-size: 18px; font-weight: 600;
  letter-spacing: -0.3px; color: var(--black); grid-row: 1;
}
.blog-desc { font-size: 14px; color: var(--mid); grid-column: 2; grid-row: 2; line-height: 1.5; }
.blog-empty { font-size: 15px; color: var(--light); padding: 48px 0; }
.blog-list-section { padding: 64px 0 120px; }
.blog-list { list-style: none; padding: 0; margin: 0; }
.blog-list-item { border-bottom: 1px solid var(--border); }
.blog-list-item:first-child { border-top: 1px solid var(--border); }
.blog-list-link { display: block; padding: 40px 0; text-decoration: none; color: inherit; }
.blog-list-link:hover .blog-list-title { opacity: 0.7; }
.blog-list-date { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--light); display: block; margin-bottom: 12px; }
.blog-list-title { font-size: 22px; font-weight: 600; color: var(--dark); margin: 0 0 10px; line-height: 1.35; }
.blog-list-desc { font-size: 15px; color: var(--mid); line-height: 1.6; margin: 0 0 16px; max-width: 640px; }
.blog-list-cta { font-size: 13px; font-weight: 600; color: var(--black); }

/* ── BLOG POST ── */
.post { padding: 80px 0; }
.post-header {
  margin-bottom: 64px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.post-date { font-size: 13px; color: var(--light); margin-bottom: 20px; }
.post-header h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; letter-spacing: -1px;
  line-height: 1.15; margin-bottom: 16px;
}
.post-description { font-size: 18px; color: var(--mid); line-height: 1.6; }
.post-body { max-width: 680px; font-size: 17px; line-height: 1.8; color: var(--dark); }
.post-body h2 { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; margin: 48px 0 16px; }
.post-body h3 { font-size: 18px; font-weight: 600; margin: 36px 0 12px; }
.post-body p { margin-bottom: 20px; }
.post-body ul, .post-body ol { margin-bottom: 20px; padding-left: 24px; }
.post-body li { margin-bottom: 8px; }
.post-body strong { font-weight: 600; color: var(--black); }
.post-body pre {
  position: relative;
  background: #111;
  border-radius: 8px;
  padding: 28px;
  margin: 32px 0;
  overflow-x: auto;
}
.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #2a2a2a;
  color: #888;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.copy-btn:hover { color: #fff; background: #3a3a3a; }
.post-body pre code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  font-size: 13px;
  line-height: 1.7;
  color: #e8e8e8;
  background: none;
  padding: 0;
}
.post-body code {
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", monospace;
  font-size: 14px;
  background: #f2f2f2;
  color: #111;
  padding: 2px 6px;
  border-radius: 3px;
}

/* ── CONTACT ── */
.contact-section { padding: 80px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px; margin-bottom: 64px;
}
.contact-block h3 { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.contact-block > p { font-size: 14px; color: var(--mid); line-height: 1.6; margin-bottom: 20px; }
.contact-link {
  display: block; font-size: 15px; font-weight: 500;
  color: var(--black); text-decoration: none; margin-bottom: 8px;
}
.contact-link:hover { text-decoration: underline; }
.contact-link--primary { font-size: 16px; font-weight: 600; }
.contact-link--secondary { color: var(--mid); }
.contact-note { font-size: 12px; color: var(--light); margin-top: 8px; margin-bottom: 0; }
.contact-socials { display: flex; flex-direction: column; gap: 8px; }
.contact-footer-note { padding-top: 48px; border-top: 1px solid var(--border); }
.contact-footer-note p { font-size: 13px; color: var(--light); }

/* Contact page — two-column form layout */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
  margin-bottom: 64px;
}
.contact-col-title {
  font-size: 16px; font-weight: 600;
  letter-spacing: -0.2px; margin-bottom: 8px;
}
.contact-col-sub {
  font-size: 14px; color: var(--mid);
  line-height: 1.6; margin-bottom: 24px;
}
.contact-form-wrap {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.contact-form-wrap iframe {
  display: block;
  width: 100%;
  height: 520px;
  border: none;
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  text-decoration: none;
  color: var(--black);
  transition: border-color 0.15s, background 0.15s;
}
.contact-info-item:hover {
  border-color: var(--black);
  background: #fafafa;
}
.contact-info-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: var(--border);
  border-radius: 50%;
  color: var(--dark);
}
.contact-info-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.contact-info-text strong {
  font-size: 14px; font-weight: 600;
  line-height: 1.3;
}
.contact-info-text span {
  font-size: 12px; color: var(--mid);
}

/* ═══════════════════════════════════════
   THANK-YOU PAGES
   ═══════════════════════════════════════ */

.tp-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}
.tp-card {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.tp-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 32px;
  color: var(--black);
}
.tp-headline {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--black);
  margin: 0 0 16px;
  line-height: 1.2;
}
.tp-body {
  font-size: 1.0625rem;
  color: var(--mid);
  line-height: 1.7;
  margin: 0 0 40px;
}
.tp-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 0 32px;
}
.tp-fallback {
  font-size: 0.875rem;
  color: var(--light);
  line-height: 1.65;
  margin: 0 0 48px;
}
.tp-fallback a {
  color: var(--dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tp-fallback a:hover { color: var(--black); }
.tp-signature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.tp-sig-photo-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--border);
  border: 1px solid var(--border);
}
.tp-sig-photo-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}
.tp-sig-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.tp-sig-info { text-align: center; }
.tp-sig-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.3;
}
.tp-sig-title {
  font-size: 0.8125rem;
  color: var(--light);
  margin-top: 2px;
}

/* ═══════════════════════════════════════
   RESPONSIVE - Mobile (≤ 768px)
   ═══════════════════════════════════════ */

@media (max-width: 768px) {
  .container { padding: 0 24px; }

  /* Nav - hamburger drawer */
  nav .container { flex-wrap: nowrap; justify-content: space-between; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--bg);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 90;
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-menu a {
    padding: 18px 0;
    font-size: 18px;
    border-bottom: 1px solid var(--border);
    color: var(--dark);
  }
  .nav-menu .nav-cta {
    display: inline-block;
    margin-top: 24px;
    padding: 16px 28px;
    font-size: 15px !important;
    background: var(--black);
    color: white !important;
    border: 1.5px solid var(--black);
    align-self: flex-start;
  }

  /* Hero */
  .hero { padding: 64px 0 56px; }
  .hero h1 { letter-spacing: -1px; }
  .hero-sub { font-size: 16px; }

  /* Numbers */
  .numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .number-item + .number-item { border-left: none; padding-left: 0; }
  .number-item { padding-right: 0; }
  .number-value { font-size: 28px; }

  /* Capabilities */
  .cap-grid { grid-template-columns: 1fr; gap: 40px; }
  .capabilities { padding: 64px 0; }

  /* Approach */
  .approach-grid { grid-template-columns: 1fr; gap: 48px; }
  .approach { padding: 64px 0; }

  /* Projects */
  .projects-grid { grid-template-columns: 1fr; gap: 16px; background: transparent; }
  .project-card { border: 1px solid var(--border); }
  .projects { padding: 64px 0; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-photo { max-width: 280px; margin: 0 auto 24px; }
  .about-photo-placeholder { aspect-ratio: 4/3; max-width: 280px; }
  .about { padding: 64px 0; }

  /* Approach steps body bump */
  .step-body p { font-size: 14px; }

  /* CTA */
  .cta-row { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Services */
  .services-block { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid--2col { grid-template-columns: 1fr; max-width: 100%; }
  .service-item { padding-top: 28px; padding-bottom: 0; }
  .service-item h3 { font-size: 17px; line-height: 1.3; }
  .service-details li { font-size: 14px; }
  .sec-tag { letter-spacing: 1px; }
  .cta-btn { min-height: 48px; padding: 16px 32px; }
  .steps--horizontal { flex-direction: column; }
  .steps--horizontal .step {
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 0 0 24px 0;
    margin: 0 0 24px 0;
  }
  .steps--horizontal .step:last-child {
    border-bottom: none; padding-bottom: 0; margin-bottom: 0;
  }

  /* Workshops */
  .workshop-card { padding: 40px 0; }

  /* Blog listing */
  .blog-row { grid-template-columns: 1fr; gap: 4px; }
  .blog-date { padding-top: 0; grid-row: auto; }
  .blog-title { grid-row: auto; font-size: 16px; }
  .blog-desc { grid-column: 1; grid-row: auto; }

  /* Blog post */
  .post-body { font-size: 16px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-next { text-align: left; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 48px; margin-bottom: 40px; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-form-wrap iframe { height: 480px; }

  /* Page header */
  .page-header { padding: 56px 0 48px; }

  /* Footer */
  footer .container { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-links { flex-direction: column; gap: 8px; }

  /* Testimonials */
  .quotes-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; gap: 16px; max-width: 480px; }
  .feat-testimonial-grid { grid-template-columns: 1fr; gap: 28px; }
  .feat-testimonial-media { order: -1; max-width: 480px; margin: 0 auto; }

  /* Headings */
  .sec-title { letter-spacing: -0.5px; }
  .cta-inner h2 { letter-spacing: -0.6px; }
}

@media (max-width: 480px) {
  .hero { padding: 48px 0 40px; }
  .hero h1 { letter-spacing: -0.5px; }
  .number-value { font-size: 24px; }
  .project-card { padding: 32px 24px; }
  .numbers-grid { grid-template-columns: 1fr 1fr; }

  /* Hero CTA: full-width thumb-target */
  .hero-cta { display: block; width: 100%; text-align: center; min-height: 48px; }

  /* Stats: 5th item spans both cols */
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid > :nth-child(5) { grid-column: 1 / -1; text-align: center; }

  /* Stack tags: cap visible */
  .stack-tags li:nth-child(n+7) { display: none; }

  /* Testimonials */
  .quotes-grid { grid-template-columns: 1fr; }
  .screenshots-grid { grid-template-columns: 1fr; }
}
