/* ================================================================
   SECTIONS.CSS — All page sections: hero, works, experience,
                  skills, about, footer
================================================================ */

/* ================================================================
   HERO
================================================================ */
#hero {
  /* min-height: calc(85vh - 85px); */
  display: flex;
  align-items: flex-start;
  /*padding: 162px 0 0; */
  padding-top: 160px;
}

/* Two-column layout — left: text, right: photo col */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 252px;  /* 20% wider column */
  gap: 72px;
  align-items: start;
}

/* ── Left column ──────────────────────────────────────────── */
.hero-content {
  padding-top: 12px;      /* nudge to optically align with photo top */
}

/* Name */
.hero-name {
  font-family:     var(--font-display);
  font-size:       clamp(1.82rem, 3.85vw, 1rem); /* −30% of original */
  font-weight: 500;
  line-height:     1.1;
  letter-spacing:  -0.018em;
  white-space:     nowrap;   /* keep "Hi, I'm Logan." on one line */
  color:           var(--text-primary);
  animation:       fadeUp 0.8s 0.05s ease both;
  transition:      color var(--transition);
}
.hero-name__accent {
  display: block;
  color: var(--gold);
  transition: color var(--transition);
}

/* Tagline */
.hero-tagline {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 500;
  color: #000;
  margin-top: 18px;
  /* max-width: 480px; */
  line-height: 1.35;
  animation: fadeUp 0.8s 0.15s ease both;
  transition: color var(--transition);
}

/* Discipline pills */
.hero-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  animation: fadeUp 0.8s 0.25s ease both;
}

/* Meta line */
.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  color: #111;
  font-size: var(--size-body-sm);  /* 15px */
  animation: fadeUp 0.8s 0.32s ease both;
  transition: color var(--transition);
}

/* CTA buttons */
.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  animation: fadeUp 0.8s 0.38s ease both;
}

/* Shared fade-up keyframe */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Right column — 20% wider, photo centred inside ─────── */
.hero-photo-col {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            12px;
  animation:      fadeUp 0.8s 0.45s ease both;
}

/* Photo wrapper — fixed at original size, column is wider */
.hero-photo {
  position:    relative;
  width:       210px;
  flex-shrink: 0;
}
/* Photo frame — subtle 1px gold border, no heavy fill */
.hero-photo__frame {
  position: absolute;
  inset: 0;
  border-radius: 21px;
  border: 1px solid var(--gold-border);
  z-index: 0;
  pointer-events: none;
  transition: border-color var(--transition);
}
[data-theme="light"] .hero-photo__frame {
  border-color: rgba(201, 136, 0, 0.22);
}

.hero-photo img {
  width: 100%;
  border-radius: 20px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  background: var(--bg-layer);
  /* Subtle: slightly desaturated and dimmed */
  filter: saturate(0.85) brightness(0.92);
  transition: background var(--transition), filter var(--transition);
}
.hero-photo:hover img {
  filter: saturate(1) brightness(1); /* full colour on hover */
}

/* Stat bar — hidden */
.hero-stat-bar {
  display: none;
  display: flex;
  gap: 0;
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  flex: 1;                  /* grows to fill available row space */
  transition: background var(--transition), border-color var(--transition);
}
.stat-item {
  text-align: center;
  flex: 1;
  padding: 16px 20px;
  position: relative;
}
/* Divider between stat items */
.stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: var(--border-subtle);
}
.stat-item__num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--gold);
  display: block;
  line-height: 1;
  transition: color var(--transition);
}
.stat-item__label {
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
  transition: color var(--transition);
}

/* Availability badge — full photo col width */
.hero-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  white-space: nowrap;
  background: rgba(34, 197, 94, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 100px;
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green);
  letter-spacing: 0.02em;
  cursor: default;
  opacity: 0.85;
  transition: background var(--transition), border-color var(--transition), color var(--transition), opacity var(--transition);;
}
.hero-badge:hover { opacity: 1; }



/* Badge dot with ripple ring */
.hero-badge__dot {
  position:    relative;
  width:       8px; height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background:  var(--green);
  box-shadow:  0 0 6px var(--green-glow);
  transition:  background var(--transition);
}
/* Expanding ripple ring */
.hero-badge__dot::before,
.hero-badge__dot::after {
  content:       '';
  position:      absolute;
  inset:         0;
  border-radius: 50%;
  border:        1.5px solid var(--green);
  animation:     ripple 2s ease-out infinite;
}
.hero-badge__dot::after {
  animation-delay: 0.7s;
}
@keyframes ripple {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(3.2); opacity: 0;   }
}
@keyframes dotPulse {
  0%,100% { box-shadow: 0 0 4px var(--green-glow); }
  50%     { box-shadow: 0 0 10px var(--green-glow); }
}


/* ================================================================
   WORKS
================================================================ */
#works { /* → parallax.css */ }

.filter-tabs {
  display: flex;
gap: 6px;
margin-bottom: 36px;
flex-wrap: wrap;
width: fit-content;
background: #f5f5f5;
padding: 8px;
border-radius: 50px;
}

.filter-btn {
  padding: 10px 16px;
  /* margin: 0px 20px 0px 0px; */
  border-radius: 40px;
  border: 0px solid var(--border-subtle);
  background: none;
  /*color: var(--text-secondary); */
  color: #787777;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--fast), border-color var(--fast), color var(--fast), box-shadow var(--fast);;
}
.filter-btn:hover {

  border-color: var(--gold-border); */
  border-bottom: 0px solid var(--gold);
  color: #000;
  padding: 10px 16px;
  border-radius: 40px;
}
.filter-btn.active {
  background: #1F1F1F;
  /* border-color: var(--gold-border); */
  border-bottom: 0px solid var(--gold);
  color: #fff;
  padding: 10px 16px;
  border-radius: 40px;
  /* box-shadow: 0 0 0 1px var(--gold-border) inset, 0 1px 4px rgba(0,0,0,0.12); */
}

/* works-grid → parallax.css */


/* ================================================================
   EXPERIENCE
================================================================ */
#experience { /* → parallax.css */ }

.timeline { /* → parallax.css */ }
.timeline::before { /* → parallax.css */ }

.timeline-item { position: relative; /* margin → parallax.css */ }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-dot { /* → parallax.css */ }

.timeline-period { /* → parallax.css */ }

.timeline-role { /* → parallax.css */ }

.timeline-company { /* → parallax.css */ }

.timeline-resp { /* → parallax.css */ }
.timeline-resp li { /* → parallax.css */ }
.timeline-resp li::before { /* → parallax.css */ }

.timeline-more {
  margin-top: 20px;
  padding: 18px 26px;
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  gap: 24px;
  transition: background var(--transition), border-color var(--transition);;
}
.timeline-more__text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: color var(--transition);
}
.timeline-more__text strong {
  color: var(--text-primary);
  transition: color var(--transition);
}


/* ================================================================
   SKILLS
================================================================ */
#skills { /* → parallax.css */ }

.skills-intro {
  font-size: 1rem;
  color: #000;
  max-width: 600px;
  margin-bottom: 52px;
  line-height: var(--lh-body);
  transition: color var(--transition);
}
.skills-intro em {
  font-style: normal;
  /*color: var(--gold); */
  font-weight: 600;
  transition: color var(--transition);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.tools-section-label {
  font-size:   var(--size-body-sm);
  color:       var(--text-secondary);
  margin-bottom: 40px;   /* generous breathing room after this line */
  line-height: var(--lh-body);
  transition:  color var(--transition);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  width: 100%;
}


/* ================================================================
   ABOUT
================================================================ */
#about { /* → parallax.css */ }

.about-grid { /* → parallax.css (1fr 270px) */ }

.about-body p {
  font-size: 1rem;
  color: #000;
  line-height: var(--lh-body);
  margin-bottom: 18px;
  transition: color var(--transition);
}
.about-body p strong {
  color: var(--text-primary);
  transition: color var(--transition);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
  width: 100%;
}

.about-photo { /* → parallax.css */ }
.about-photo img { width: 100%; display: block; border-radius: 0 !important; }


/* ================================================================
   FOOTER
================================================================ */
footer { /* → parallax.css */ }
.footer-inner { /* → parallax.css */ }

.footer-copy { /* colour → parallax.css */ font-size: var(--size-label); transition: color var(--transition); }

.footer-logo img {
  height: 26px;
  opacity: 0.38;
  transition: opacity var(--fast);
}
[data-theme="light"] .footer-logo img {
  filter: brightness(0.15) sepia(1) hue-rotate(10deg) saturate(3);
}
.footer-logo:hover img {
  opacity: 0.7;
}


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

/* ── TABLET LANDSCAPE (≤960px) ────────────────────────────── */
@media (max-width: 960px) {
  /* Sections */
  #hero, #works, #experience, #skills, #about { /* → parallax.css */ }
  #hero { padding: 100px 0 60px; }

  /* Hero */
  .hero-grid      { grid-template-columns: 1fr; gap: 40px; }
  .hero-photo-col { max-width: 260px; margin: 0 auto; }
  .hero-name      { font-size: clamp(1.5rem, 4vw, 2.6rem); white-space: normal; }

  /* Works */
  

  /* Experience */
  .timeline-resp  { grid-template-columns: 1fr; }

  /* Skills */
  .skills-grid    { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tools-grid     { grid-template-columns: repeat(4, 1fr); gap: 10px; }

  /* About */
  /* about-grid → parallax.css */
  .about-photo    { max-width: 300px; margin: 0 auto; }

  /* Contact */
  .contact-grid   { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  /* footer-inner → parallax.css */
}

/* ── TABLET PORTRAIT (≤768px) ─────────────────────────────── */
@media (max-width: 768px) {
  /* Container */
  .container      { padding: 0 var(--gutter-md); }

  /* Section headings */
  .section-title  { font-size: clamp(1.5rem, 4.5vw, 2rem); }
  .section-header { margin-bottom: 32px; }

  /* Hero */
  #hero           { padding: 100px 0 40px; min-height: auto; }
  .hero-grid      { gap: 32px; }
  .hero-photo-col { max-width: 220px; }
  .hero-tagline   { font-size: 1.9375rem; }
  .hero-disciplines { gap: 6px; }
  .hero-actions   { gap: 10px; }

  /* Works */
  
  .filter-tabs    { gap: 6px; }
  .filter-btn     { padding: 6px 14px; font-size: 0.75rem; }

  /* Skills */
  .skills-grid    { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tools-grid     { grid-template-columns: repeat(4, 1fr); gap: 10px; }

  /* Timeline */
  /* timeline mobile → parallax.css */
  /* timeline-role → parallax.css */
  .timeline-resp  { grid-template-columns: 1fr; gap: 6px; }

  /* About */
  /* about-grid → parallax.css */

  /* Contact */
  .contact-grid   { grid-template-columns: 1fr; }
  .contact-item   { padding: 16px 20px; }

  /* Footer */
  /* footer-inner → parallax.css */
}

/* ── MOBILE (≤480px) ──────────────────────────────────────── */
@media (max-width: 480px) {
  .container      { padding: 0 var(--gutter-sm); }

  #hero           { padding: 88px 0 32px; }
  .hero-photo-col { max-width: 180px; }
  .hero-cards     { flex-direction: column; gap: 10px; }
  .hero-badge     { justify-content: center; }
  .stat-item__num { font-size: 1.15rem; }
  .stat-item      { padding: 12px 14px; }
  .hero-actions   { flex-direction: column; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }

  .hero-name      { font-size: clamp(1.4rem, 6vw, 1.8rem); white-space: normal; }
  .hero-tagline   { font-size: 0.875rem; }
  .hero-meta      { font-size: 0.8rem; flex-wrap: wrap; }

  .section-title  { font-size: clamp(1.3rem, 5.5vw, 1.75rem); }
  .section-sub    { font-size: 0.875rem; }
  .section-header { margin-bottom: 24px; }

  /* Works — single col on phone */
  
  .filter-tabs    { gap: 5px; margin-bottom: 24px; }
  .filter-btn     { padding: 5px 12px; font-size: 0.72rem; }

  /* Skills — single col on phone */
  .skills-grid    { grid-template-columns: 1fr; gap: 10px; }
  .tools-grid     { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tool-item      { padding: 12px 8px; }
  .tool-item img  { height: 28px !important; }
  .skill-card     { padding: 16px; }

  /* Timeline */
  /* timeline mobile → parallax.css */
  /* timeline-role → parallax.css */
  /* timeline-period → parallax.css */
  .timeline-resp  { gap: 5px; }
  .timeline-resp li { font-size: 0.8125rem; }
  .timeline-more  { flex-direction: column; gap: 14px; align-items: flex-start; }
  .timeline-more .btn-secondary { width: 100%; justify-content: center; }

  /* About */
  .about-photo    { max-width: 200px; }
  .about-body p   { font-size: 0.875rem; }

  /* Contact */
  .contact-grid   { grid-template-columns: 1fr; gap: 10px; }
  .contact-item a { font-size: 0.875rem; }

  /* Footer */
  /* footer-inner → parallax.css */
  .footer-copy    { font-size: 0.72rem; color: #d4d0cc; }
}


/* ================================================================
   TESTIMONIALS
================================================================ */
#testimonials { /* → parallax.css */ }

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

/* ── Card ────────────────────────────────────────────────── */
.testimonial-card {
  background: #ffffff; */
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 30px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  /*box-shadow: 1px 1px 35px 0 #f0ebeb; */
  position: relative;
  overflow: hidden;
  transition: border-color var(--fast), box-shadow var(--fast), transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);;
}

/* top-edge teal accent line */
.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  /* background: var(--gold); */

  opacity: 0.45;
  transition: opacity var(--fast);
}

.testimonial-card:hover {
  /* border-color: none;
  box-shadow: var(--shadow-hover); */

  transform: translateY(-4px);
}
.testimonial-card:hover::before { opacity: 1; }

/* Large opening quote mark */
.testimonial-quote {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.35;
  margin-top: -8px;
  margin-bottom: -12px;
  user-select: none;
  transition: opacity var(--fast);
}
.testimonial-card:hover .testimonial-quote { opacity: 0.85; }

/* Body text */
.testimonial-text {
  font-size: var(--size-body-sm);
  color: var(--text-secondary);
  line-height: var(--lh-body);
  flex: 1;
  transition: color var(--transition);
}

/* Author row */
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  transition: border-color var(--transition);
}

/* Avatar initials circle */
.testimonial-avatar {
  width:  40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.02em;
  transition: background var(--transition), border-color var(--transition);
}

.testimonial-name {
  font-size: var(--size-label);
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
  transition: color var(--transition);
}

.testimonial-role {
  font-size: var(--size-caption);
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.3;
  transition: color var(--transition);
}

/* LinkedIn logo */
.testimonial-source {
  margin-left: auto;
  flex-shrink: 0;
}
.testimonial-source img {
  height: 18px;
  width: auto;
  opacity: 0.45;
  transition: opacity var(--fast);
}
.testimonial-card:hover .testimonial-source img { opacity: 0.80; }

/* ── CTA row ─────────────────────────────────────────────── */
.testimonials-cta {
  text-align: center;
}

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}

@media (max-width: 600px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 12px; }
  .testimonial-card  { padding: 24px 20px 20px; }
}


/* ================================================================
   AI TOOLS SECTION
================================================================ */
.ai-tools-section {
  margin-top: 52px;
  padding:    32px 36px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}
.ai-tools-header { margin-bottom: 28px; }
.ai-tools-badge {
  display: inline-block;
  padding: 3px 12px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.ai-tools-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.ai-tools-sub { color: var(--text-secondary); font-size: 0.9375rem; margin: 0; }
.ai-tools-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .ai-tools-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .ai-tools-grid { grid-template-columns: 1fr 1fr; } }
.ai-tool-card {
  padding: 18px 16px;
  background: var(--bg-layer);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ai-tool-card:hover { border-color: var(--gold-border); box-shadow: var(--shadow-sm); }
.ai-tool-icon {
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}
.ai-tool-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.ai-tool-use { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.6; }


/* ================================================================
   UX APPROACH SECTION
================================================================ */
#approach { /* → parallax.css */ }
.section-intro {
  max-width: 620px;
  color: #000;
  font-size: 1rem;
  line-height: var(--lh-body);
  margin: 0 0 52px;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 0px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--border-card);
  box-shadow: 1px 1px 35px 0 #f0ebeb;
}
@media (max-width: 768px) { .approach-grid { grid-template-columns: 1fr; } }
.approach-step {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 36px 32px;
  display: flex;
  gap: 24px;
  transition: background .3s ease;
}
.approach-step:hover { /*background: var(--bg-card-solid); */ background: #f9f9f9;}
.approach-num {
  font-size: 2.5rem;
  font-weight: 500;
  color: var(--gold);
  opacity: 0.40;
  line-height: 1;
  flex-shrink: 0;
  width: 52px;
  letter-spacing: -0.02em;
}
.approach-step:hover .approach-num { opacity: 0.55; }
.approach-content { flex: 1; }
.approach-title {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 0 0 10px;
  line-height: 1.3;
}
.approach-desc {
  font-size: 0.9rem;
  color: var(--text-primary);
  opacity: 0.78;
  line-height: 1.75;
  margin: 0 0 14px;
}
.approach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.approach-tags span {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 100px;
  padding: 2px 10px;
}


/* ================================================================
   CONTACT SECTION
================================================================ */

.contact-layout { /* → parallax.css */ }
@media (max-width: 768px) { .contact-layout { /* → parallax.css */ } }

.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-detail { display: flex; flex-direction: column; gap: 4px; }
.contact-detail__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-detail__value {
  font-size: 0.9375rem;
  color: var(--text-primary);

  text-decoration: none;
  transition: color .18s ease;
}
a.contact-detail__value:hover { color: var(--gold); }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 480px) { .contact-form__row { grid-template-columns: 1fr; } }
.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.contact-form__field label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}
.contact-form__field input,
.contact-form__field textarea {
  background: var(--bg-card);
  /*background: rgb(17 17 17 / 96%); */
  border: 1px solid var(--border-card);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--text-primary);
  outline: none;
  resize: vertical;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder { color: var(--text-muted); }
.contact-form__field input:focus,
.contact-form__field textarea:focus {
  border-color: var(--gold-border);
  box-shadow: 0 0 0 3px var(--gold-dim);
}
.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
}
.contact-form__submit svg { width: 16px; height: 16px; }
.contact-form__note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
  min-height: 1.2em;
}


/* ── Approach caveat bar ───────────────────────────────── */
.approach-caveat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 20px;
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: var(--radius);
  margin-bottom: 36px;
  font-size: 0.9rem;
  color: var(--text-primary);
  opacity: 0.85;
  line-height: 1.6;
}
.approach-caveat__icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.approach-footnote {
  margin-top: 36px;
  padding: 16px 20px;
  border-left: 2px solid var(--gold);
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
}
.approach-footnote strong { color: var(--text-primary); }

/* ── AI tools section standalone ──────────────────────── */
#ai-tools {
  padding: 72px 0 80px;
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}
[data-theme="light"] #ai-tools {
  padding: 72px 0 80px;
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}
.ai-tools-section {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 32px 36px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 768px) {
  .ai-tools-section { padding: 24px 20px; }
  .ai-tools-grid { grid-template-columns: 1fr 1fr !important; }
}

/* ── Coffee CTA in about ───────────────────────────────── */
.coffee-cta {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.coffee-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1.3; }
.coffee-text strong {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
  font-size: 1rem;
}
.coffee-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}
.coffee-text a { color: var(--gold); text-decoration: none; }
.coffee-text a:hover { text-decoration: underline; }


/* ── Hero AI strip ─────────────────────────────────────── */



/* ── Horizontal scroll works grid ─────────────────────── */
/* works-scroll removed */




@media (max-width: 480px) {

}

/* ── Interests section ─────────────────────────────────── */
#interests { /* → parallax.css */ }
.interests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) { .interests-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .interests-grid { grid-template-columns: repeat(2, 1fr); } }

.interest-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 0px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  box-shadow: none;
}
.interest-card:hover {
  border-color: var(--gold-border);
  /* box-shadow: var(--shadow-card-hover); */
  transform: translateY(-3px);
}
.interest-icon { font-size: 1.5rem; margin-bottom: 10px; display: block; }
.interest-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}
.interest-desc {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin: 0;
}

/* ── Contact: more bottom spacing, button indent ──────── */
#contact { /* → parallax.css */ }
.contact-form__submit {
  margin-top: 12px;
}

/* ── Works header split ──────────────────────────────────── */
.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 32px;
}
.works-header__left { flex: 1; }
.works-header__left .section-title { margin-bottom: 8px; }
.works-header__meta {
  display: flex;
  gap: 28px;
  flex-shrink: 0;
  padding-bottom: 4px;
}
.works-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.works-stat__num {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--gold);
  line-height: 1;
}
.works-stat__label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .works-header { flex-direction: column; align-items: flex-start; }
  .works-header__meta { gap: 20px; }
}

/* ── AI tools: 6-col grid ────────────────────────────────── */
.ai-tools-grid {
  grid-template-columns: repeat(6, 1fr) !important;
}
@media (max-width: 1200px) { .ai-tools-grid { grid-template-columns: repeat(3, 1fr) !important; } }
@media (max-width: 600px)  { .ai-tools-grid { grid-template-columns: repeat(2, 1fr) !important; } }


/* ================================================================
   AI SECTION — Split layout
================================================================ */
.ai-section-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) {
  .ai-section-layout { grid-template-columns: 1fr; gap: 36px; }
}
.ai-section-intro { position: sticky; top: 100px; }
.ai-section-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--text-primary);
  margin: 12px 0 16px;
  line-height: 1.2;
}
.ai-section-body {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.78;
  margin: 0 0 24px;
}
.ai-phase-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ai-phase-pill {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 3px 12px;
  background: var(--gold-dim);
}

/* Tool rows */
.ai-tool-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ai-tool-row {
  display: grid;
  grid-template-columns: 180px 140px 1fr;
  gap: 20px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: background .2s ease;
}
.ai-tool-row:first-child { border-top: 1px solid var(--border-subtle); }
.ai-tool-row:hover { background: var(--bg-layer); margin: 0 -16px; padding-left: 16px; padding-right: 16px; border-radius: var(--radius); border-top-color: transparent; border-bottom-color: transparent; }
@media (max-width: 768px) {
  .ai-tool-row { grid-template-columns: 1fr; gap: 6px; }
}
.ai-tool-row__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}
.ai-tool-row__icon {
  color: var(--gold);
  font-size: 0.875rem;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}
.ai-tool-row__phase {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  padding-top: 2px;
}
.ai-tool-row__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* Work card desc: clamp to 3 lines for specific cards */
.work-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 4px;
}


/* ================================================================
   AI BENTO GRID — new layout
================================================================ */

/* Header row */
.ai-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: end;
  margin-bottom: 36px;
}
@media (max-width: 640px) { .ai-header { grid-template-columns: 1fr; gap: 12px; } }
.ai-header__label { padding-bottom: 2px; }
.ai-header__sub {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  margin: 6px 0 0;
  line-height: 1.65;
  max-width: 560px;
}

/* Bento grid */
.ai-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 960px) { .ai-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai-bento { grid-template-columns: 1fr; } }

.ai-bento__card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  position: relative;
  overflow: hidden;
}
.ai-bento__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}
.ai-bento__card:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.ai-bento__card:hover::before { opacity: 1; }

/* Wide card spans 2 cols */
.ai-bento__card--wide {
  grid-column: span 2;
}
@media (max-width: 960px) {
  .ai-bento__card--wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .ai-bento__card--wide { grid-column: span 1; }
}

.ai-bento__top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.ai-bento__icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.ai-bento__phase {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ai-bento__name {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}
.ai-bento__desc {
  font-size: 0.8375rem;
  color: var(--text-secondary);
  line-height: 1.68;
  margin: 0;
  flex: 1;
}
.ai-bento__use-tag {
  margin-top: 10px;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--gold);
  background: var(--gold-dim);
  border: 1px solid var(--gold-border);
  border-radius: 100px;
  padding: 2px 10px;
}


/* ================================================================
   AI FEATURE GRID — editorial numbered layout
================================================================ */
.ai-masthead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}
@media (max-width: 768px) { .ai-masthead {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
} }
.ai-masthead__left .section-title { margin-bottom: 0; }
.ai-masthead__right {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin: 0;
  padding-bottom: 4px;
}

.ai-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 900px) { .ai-feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai-feature-grid { grid-template-columns: 1fr; } }

.ai-feature {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background .2s ease;
}
/* Remove right border on every 3rd col */
.ai-feature:nth-child(3n) { border-right: none; }
/* Remove bottom border on last row */
.ai-feature:nth-last-child(-n+3) { border-bottom: none; }
@media (max-width: 900px) {
  .ai-feature:nth-child(3n)  { border-right: 1px solid var(--border-subtle); }
  .ai-feature:nth-child(2n)  { border-right: none; }
  .ai-feature:nth-last-child(-n+3) { border-bottom: 1px solid var(--border-subtle); }
  .ai-feature:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 560px) {
  .ai-feature { border-right: none !important; }
  .ai-feature:last-child { border-bottom: none; }
}
.ai-feature:hover {
  background: var(--bg-card);
  border-radius: var(--radius);
}

.ai-feature__num {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--gold);
  opacity: 0.22;
  line-height: 1;
  flex-shrink: 0;
  width: 32px;
  letter-spacing: -0.02em;
  padding-top: 2px;
  transition: opacity .2s ease;
}
.ai-feature:hover .ai-feature__num { opacity: 0.60; }

.ai-feature__body { flex: 1; }
.ai-feature__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.ai-feature__icon {
  color: var(--gold);
  font-size: 0.875rem;
}
.ai-feature__name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}
.ai-feature__tag {
  font-size: 0.70rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 2px 8px;
  background: var(--bg-layer);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
}
.ai-feature__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin: 0;
}


/* ================================================================
   AI PROCESS FLOW STRIP
================================================================ */
.ai-strip-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .ai-strip-head { grid-template-columns: 1fr; gap: 12px; } }
.ai-strip-intro {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.72;
  margin: 0;
  padding-bottom: 4px;
}

.ai-strip-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.ai-strip-flow::-webkit-scrollbar { display: none; }

.ai-strip-item {
  flex: 1;
  min-width: 140px;
  padding: 24px 20px;
  background: var(--bg-card-solid);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.ai-strip-item:hover {
  border-color: var(--gold-border);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  z-index: 2;
}

.ai-strip-item__phase {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.ai-strip-item__divider {
  width: 24px;
  height: 1.5px;
  background: var(--gold);
  opacity: 0.40;
  margin: 2px 0;
  transition: width .2s ease, opacity .2s ease;
}
.ai-strip-item:hover .ai-strip-item__divider { width: 36px; opacity: 1; }

.ai-strip-item__icon {
  font-size: 1.1rem;
  color: var(--gold);
  line-height: 1;
}
.ai-strip-item__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.3;
}
.ai-strip-item__desc {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.62;
  margin: 0;
}

.ai-strip-connector {
  width: 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ai-strip-connector::before {
  content: '';
  width: 100%;
  height: 1px;
  background: var(--border-subtle);
}
.ai-strip-connector::after {
  content: '';
  position: absolute;
  right: -1px;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  transform: rotate(45deg);
}

@media (max-width: 900px) {
  .ai-strip-flow {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    overflow-x: visible;
  }
  .ai-strip-connector { display: none; }
}
@media (max-width: 560px) {
  .ai-strip-flow { grid-template-columns: 1fr 1fr; }
}


/* ================================================================
   AI PANEL — glassy left label + scrollable card row
================================================================ */
.ai-panel {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
@media (max-width: 768px) { .ai-panel {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  background: var(--bg-card-solid);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
} }

.ai-panel__label {
  background: var(--gold-dim);
  border-right: 1px solid var(--gold-border);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 32px 16px;
}
.ai-panel__label .ai-tools-badge {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  letter-spacing: 0.12em;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .ai-panel__label { border-right: none; border-bottom: 1px solid var(--gold-border); padding: 20px 24px; }
  .ai-panel__label .ai-tools-badge { writing-mode: horizontal-tb; transform: none; }
}

.ai-panel__content { padding: 36px 32px 28px; }
.ai-panel__intro { margin-bottom: 28px; }
.ai-panel__intro .section-title { margin-bottom: 8px; }
.ai-panel__intro p { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.72; margin: 0; }

.ai-cards-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 900px) { .ai-cards-wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ai-cards-wrap { grid-template-columns: 1fr; } }

.ai-card {
  background: var(--bg-layer);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  padding: 16px 16px 20px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.ai-card:hover {
  border-color: var(--gold-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.ai-card__phase {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.ai-card__name {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}
.ai-card__desc {
  font-size: 0.80rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}
.ai-card__icon {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-size: 1.1rem;
  color: var(--gold);
  opacity: 0.18;
  transition: opacity .2s ease;
}
.ai-card:hover .ai-card__icon { opacity: 0.50; }


/* ================================================================
   AI BENTO GRID
================================================================ */
.ai-bento-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}
@media (max-width: 768px) { .ai-bento-head { grid-template-columns: 1fr; gap: 12px; } }
.ai-bento-head__right { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.72; margin: 0; padding-bottom: 4px; }

.ai-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 960px) { .ai-bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ai-bento { grid-template-columns: 1fr; } }

.ai-bento__card {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
  position: relative;
  overflow: hidden;
}
.ai-bento__card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
  opacity: 0;
  transition: opacity .2s ease;
}
.ai-bento__card:hover { border-color: var(--gold-border); box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.ai-bento__card:hover::before { opacity: 1; }
.ai-bento__card--wide { grid-column: span 2; }
@media (max-width: 960px) { .ai-bento__card--wide { grid-column: span 2; } }
@media (max-width: 560px) { .ai-bento__card--wide { grid-column: span 1; } }

.ai-bento__top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.ai-bento__icon { color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.ai-bento__phase { font-size: 0.70rem; font-weight: 500; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.ai-bento__name { font-size: 1rem; font-weight: 500; color: var(--text-primary); line-height: 1.3; }
.ai-bento__desc { font-size: 0.8375rem; color: var(--text-secondary); line-height: 1.68; margin: 0; flex: 1; }
.ai-bento__use-tag { margin-top: 8px; align-self: flex-start; font-size: 0.70rem; font-weight: 500; letter-spacing: 0.05em; color: var(--gold); background: var(--gold-dim); border: 1px solid var(--gold-border); border-radius: 100px; padding: 2px 10px; }

/* Works scroll thumb height — taller cards */


.testimonial-card:nth-child(n+4) { display: none; }


/* ================================================================
   AI LIST LAYOUT — clean two-column numbered list
================================================================ */
#ai-tools {
  padding: 72px 0 80px;
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}
[data-theme="light"] #ai-tools {
  padding: 72px 0 80px;
  position: relative;
  z-index: 2;
  background: var(--bg-card);
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
}

.ai-list-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) { .ai-list-layout { grid-template-columns: 1fr; gap: 32px; } }

.ai-list-intro { position: sticky; top: 88px; }
.ai-list-intro .section-title { margin: 12px 0 14px; }
.ai-list-sub { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.72; margin: 0; }

.ai-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
@media (max-width: 600px) { .ai-list { grid-template-columns: 1fr; } }

.ai-list-item {
  padding: 20px 16px 20px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
/* Right column items get left padding */
.ai-list-item:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--border-subtle); }
/* Last two items no bottom border */
.ai-list-item:nth-last-child(-n+2) { border-bottom: none; }
@media (max-width: 600px) {
  .ai-list-item:nth-child(even) { padding-left: 0; border-left: none; }
  .ai-list-item:last-child { border-bottom: none; }
}
.ai-list-item:hover .ai-list-item__num { opacity: 0.60; }
.ai-list-item:hover .ai-list-item__name { color: var(--gold); }

.ai-list-item__left {
  flex-shrink: 0;
  width: 24px;
  padding-top: 2px;   /* optical alignment with first line of title */
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.ai-list-item__num { display: none; }
.ai-list-item__icon {
  font-size: 1rem;
  color: var(--gold);
  line-height: 1;
}

.ai-list-item__body { flex: 1; }
.ai-list-item__top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}
.ai-list-item__name {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  transition: color .18s;
}
.ai-list-item__tag {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
}
.ai-list-item__desc {
  font-size: 0.84rem;
  color: var(--text-primary);
  opacity: 0.72;
  line-height: 1.68;
  margin: 0;
}

.ai-list-more { font-size: 0.85rem; color: var(--gold); opacity: 0.80; line-height: 1.65; margin-top: 16px; font-style: italic; }

.contact-detail--or {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle);
}
.contact-detail--or .contact-detail__label { color: var(--text-muted); font-style: italic; }
.contact-detail__arrow { color: var(--gold); font-size: 1.1rem; }

  background: rgba(212,144,10,0.12);
  border-color: rgba(212,144,10,0.30);
  color: var(--gold);
}

/* ── Disabled send button ─────────────────────────────── */
.contact-form__submit:disabled,
.contact-form__submit[aria-disabled="true"] {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
}


/* ================================================================
   MOBILE / TABLET AUDIT — comprehensive responsive fixes
   Breakpoints: 960px (tablet landscape), 768px (tablet portrait),
                480px (large phone), 375px (small phone)
================================================================ */

/* ── SECTION PADDING — tighter on small screens ─────────── */
@media (max-width: 768px) {
  #approach, #skills, #experience, #testimonials,
  #about, #interests, #contact, #ai-tools, #works {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}
@media (max-width: 480px) {
  #approach, #skills, #experience, #testimonials,
  #about, #interests, #contact, #ai-tools, #works {
    padding-top: 56px;
    padding-bottom: 56px;
  }
}

/* ── AI TOOLS LIST — mobile ──────────────────────────────── */
@media (max-width: 900px) {
  .ai-list-layout { grid-template-columns: 1fr; gap: 28px; }
  .ai-list-intro  { position: static; }
  .ai-list        { grid-template-columns: 1fr; }
  .ai-list-item:nth-child(even) { padding-left: 0; border-left: none; }
  .ai-list-item:nth-last-child(-n+2) { border-bottom: 1px solid var(--border-subtle); }
  .ai-list-item:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .ai-list-item { gap: 12px; padding: 16px 0; }
  .ai-list-item__name { font-size: 0.875rem; }
  .ai-list-item__desc { font-size: 0.80rem; }
}

/* ── PROCESS & APPROACH — mobile ────────────────────────── */
@media (max-width: 768px) {
  .approach-grid  { grid-template-columns: 1fr; gap: 1px; }
  .approach-step  { padding: 24px 20px; }
  .approach-num   { font-size: 1.8rem; width: 40px; }
  .approach-title { font-size: 0.9375rem; }
  .approach-desc  { font-size: 0.85rem; }
  .approach-caveat { font-size: 0.85rem; padding: 12px 16px; }
}
@media (max-width: 480px) {
  .approach-step { gap: 14px; padding: 20px 16px; }
  .approach-num  { display: none; }
  .approach-tags { gap: 5px; }
  .approach-tags span { font-size: 0.68rem; padding: 2px 8px; }
}

/* ── SKILLS & TOOLS — tablet ─────────────────────────────── */
@media (max-width: 768px) {
  .tools-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .skill-card__icon { width: 36px; height: 36px; font-size: 1rem; }
}
@media (max-width: 480px) {
  .tools-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .tool-item span { font-size: 0.66rem; }
  .skills-grid { grid-template-columns: 1fr; }
  .skill-card { padding: 16px 14px; }
  .skill-tag  { font-size: 0.72rem; }
}

/* ── TESTIMONIALS — single row stays, card min-width on mobile ─ */
@media (max-width: 768px) {
  .testimonials-grid { gap: 14px; }
  .testimonial-card  { min-width: 280px; }
  .testimonial-text  { font-size: 0.85rem; }
}
@media (max-width: 480px) {
  .testimonials-grid { flex-direction: column !important; overflow-x: visible !important; }
  .testimonial-card  { min-width: unset !important; width: 100% !important; flex: none !important; }
  .testimonial-text  { font-size: 0.82rem; }
  .testimonials-cta  { text-align: center; }
  .testimonials-cta .btn-secondary { width: 100%; justify-content: center; }
}

/* ── ABOUT ───────────────────────────────────────────────── */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 240px; margin: 0 auto; order: -1; }
  .about-body p { font-size: 0.9rem; }
}
@media (max-width: 480px) {
  .about-photo { max-width: 180px; }
  .about-body p { font-size: 0.875rem; line-height: 1.7; }
}

/* ── INTERESTS — mobile ──────────────────────────────────── */
@media (max-width: 480px) {
  .interests-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .interest-card  { padding: 16px 14px; }
  .interest-title { font-size: 0.875rem; }
  .interest-desc  { font-size: 0.78rem; }
}

/* ── CONTACT FORM — mobile ───────────────────────────────── */
@media (max-width: 768px) {
  .contact-layout { /* → parallax.css */ }
  .contact-info   { flex-direction: row; flex-wrap: wrap; gap: 20px; }
  .contact-detail { min-width: 140px; }
}
@media (max-width: 480px) {
  .contact-info   { flex-direction: column; gap: 16px; }
  .contact-detail__value { font-size: 0.875rem; }
  .contact-form__submit  { width: 100%; justify-content: center; }
  .cf-name, .cf-email    { font-size: 0.875rem; }
}

/* ── WORKS GRID — tablet keeps 2-col, mobile 1-col ──────── */
@media (max-width: 600px) {
  
  .work-card__title { font-size: 0.9rem; }
  .work-card__desc  { font-size: 0.78rem; }
  .filter-tabs      { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; padding-bottom: 4px; }
  .filter-tabs::-webkit-scrollbar { display: none; }
  .filter-btn       { flex-shrink: 0; }
}

/* ── SECTION LABEL + INTRO ───────────────────────────────── */
@media (max-width: 480px) {
  .section-label  { font-size: 0.68rem; }
  .section-intro  { font-size: 0.875rem; }
  .ai-list-sub    { font-size: 0.875rem; }
}

/* ── HERO — small phone ──────────────────────────────────── */
@media (max-width: 375px) {
  .hero-name     { font-size: 1.4rem; }
  .hero-tagline  { font-size: 0.84rem; }
  .hero-actions  { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-secondary { width: 100%; justify-content: center; }
  .btn-primary, .btn-secondary { padding: 11px 18px; font-size: 0.84rem; }
}


/* ── FOOTER ──────────────────────────────────────────────── */
@media (max-width: 480px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-copy  { font-size: 0.72rem; color: #d4d0cc; }
}





/* ================================================================
   COFFEE BAR — sleek full-width strip, max ~120px height
================================================================ */
#coffee-bar { padding: 0 0 60px; }

.coffee-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 32px;
  max-height: 200px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: border-color .22s ease;
}
.coffee-bar:hover { border-color: var(--gold-border); }

.coffee-bar__icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}

.coffee-bar__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.coffee-bar__text strong {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}
.coffee-bar__text span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.coffee-bar__btn {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  padding: 9px 22px;
  border-radius: 100px;
  background: var(--gold-dim);
  border: 1.5px solid var(--gold-border);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.coffee-bar__btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--text-on-gold);
}

@media (max-width: 600px) {
  .coffee-bar { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px 24px; }
  .coffee-bar__btn { align-self: flex-start; }
}
