* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  color-scheme: light;

  /* surfaces */
  --bg: #ffffff;
  --grey: #f5f5f7;
  --grey-deep: #ececee;

  /* ink */
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-tertiary: #86868b;

  /* accents */
  --link: #0066cc;
  --blue: #0071e3;
  --green: #34A853;
  --yellow: #FBBC05;
  --red: #EA4335;

  /* hairlines + shadows */
  --hairline: rgba(0,0,0,0.08);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 2px 6px rgba(0,0,0,0.04), 0 12px 28px rgba(0,0,0,0.07);
  --shadow-lg: 0 4px 10px rgba(0,0,0,0.05), 0 20px 48px rgba(0,0,0,0.10);

  /* radii */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-pill: 980px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text',
               'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.01em;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--hairline);
  padding: 0 32px;
}
nav {
  display: flex; justify-content: space-between; align-items: center;
  height: 52px; max-width: 1024px; margin: 0 auto; gap: 16px;
}
.logo {
  font-weight: 600; font-size: 19px; color: var(--text);
  letter-spacing: -0.02em; white-space: nowrap;
}
.logo:hover { text-decoration: none; }
.logo span { color: var(--blue); }
.nav-links { display: flex; gap: 30px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.nav-links a {
  color: var(--text-secondary); font-size: 13px; font-weight: 400;
  letter-spacing: -0.005em; transition: color 0.2s; white-space: nowrap;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ---------- hero ---------- */
.hero { padding: 132px 32px 64px; text-align: center; max-width: 900px; margin: 0 auto; }
.hero .glyphs { font-size: 32px; margin-bottom: 20px; letter-spacing: 6px; }
.hero h1 {
  font-size: 68px; font-weight: 600; line-height: 1.05;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero h1 .red { color: var(--red); }
.hero h1 .green { color: var(--green); }
.hero h1 .blue { color: var(--blue); }
.hero .tagline {
  font-size: 21px; color: var(--text-secondary); font-weight: 400;
  letter-spacing: -0.01em; margin-bottom: 36px;
}
.hero .big-why {
  font-size: 32px; font-weight: 600; line-height: 1.22; letter-spacing: -0.022em;
  color: var(--text); max-width: 760px; margin: 28px auto 20px;
}
.hero .mission {
  font-size: 19px; color: var(--text-secondary); max-width: 620px;
  margin: 0 auto; letter-spacing: -0.01em;
}

.carousel {
  /* full-bleed: spans the whole viewport, no side gutters or radius */
  position: relative; width: 100%; max-width: none;
  height: clamp(300px, 34vw, 520px);
  margin: 0; border-radius: 0;
  overflow: hidden;
}

/* the scroller: position is driven frame-by-frame in JS so the drift stays
   continuous. overflow hidden keeps the browser from scrolling it natively
   (which would fight the loop); touch-action pan-y leaves vertical page
   scrolling to the browser while we own horizontal gestures. */
.carousel-track {
  display: flex; height: 100%; width: 100%;
  overflow: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  cursor: grab; outline: none;
  touch-action: pan-y;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track.dragging { cursor: grabbing; }
.carousel-track:focus-visible { box-shadow: inset 0 0 0 3px var(--blue); }

.carousel-slide {
  /* two across. min-width:0 is required — without it the img's aspect
     ratio inflates the flex item past its basis and the loop math breaks. */
  flex: 0 0 50%;
  width: 50%; min-width: 0; max-width: 50%; height: 100%;
  overflow: hidden;
}
.carousel-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
  pointer-events: none;
}

/* arrows */
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.82);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.10), 0 6px 18px rgba(0,0,0,0.12);
  color: var(--text); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.25s ease, transform 0.2s ease, background 0.2s ease;
  z-index: 2; padding: 0;
}
.carousel-nav svg { width: 20px; height: 20px; }
.carousel-nav.prev { left: 28px; }
.carousel-nav.next { right: 28px; }
.carousel:hover .carousel-nav, .carousel-nav:focus-visible { opacity: 1; }
.carousel-nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.carousel-nav:active { transform: translateY(-50%) scale(0.96); }

/* dots */
.carousel-dots {
  position: absolute; left: 0; right: 0; bottom: 16px;
  display: flex; justify-content: center; gap: 8px; z-index: 2;
  padding: 7px 12px; margin: 0 auto; width: fit-content;
  background: rgba(0,0,0,0.20); border-radius: var(--r-pill);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.carousel-dot {
  width: 7px; height: 7px; border-radius: 50%; border: none; padding: 0;
  background: rgba(255,255,255,0.45); cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}
.carousel-dot:hover { background: rgba(255,255,255,0.75); }
.carousel-dot.active { background: #fff; transform: scale(1.3); }

@media (hover: none) {
  .carousel-nav { display: none; }   /* touch devices swipe instead */
  .carousel-dots { bottom: 14px; }
}

/* ---------- sections ---------- */
section { padding: 88px 32px; max-width: 1024px; margin: 0 auto; }
section h2 {
  font-size: 40px; font-weight: 600; letter-spacing: -0.025em;
  margin-bottom: 8px; display: flex; align-items: center; gap: 14px;
}
.dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; display: inline-block; }
.blue-dot { background: var(--blue); }
.green-dot { background: var(--green); }
.yellow-dot { background: var(--yellow); }
.red-dot { background: var(--red); }
.section-sub {
  color: var(--text-secondary); margin-bottom: 40px;
  font-size: 19px; letter-spacing: -0.01em;
}

/* tinted band */
.band { background: var(--grey); }
.band > section { background: transparent; }

/* ---------- accordions ---------- */
.dropdown {
  background: var(--bg); border-radius: var(--r-md);
  box-shadow: var(--shadow-sm); margin-bottom: 12px; overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.dropdown:hover { box-shadow: var(--shadow-md); }
.dropdown-trigger {
  width: 100%; padding: 22px 28px; background: transparent; border: none;
  text-align: left; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 16px; font-family: inherit; font-size: 19px;
  font-weight: 500; letter-spacing: -0.015em; color: var(--text);
}
.dropdown-trigger .lead {
  font-weight: 400; color: var(--text-secondary); font-size: 15px;
  display: block; margin-top: 4px; letter-spacing: -0.005em; line-height: 1.45;
}
.dropdown-trigger .icon { width: 18px; height: 18px; transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); flex-shrink: 0; }
.dropdown-trigger .icon svg { width: 100%; height: 100%; stroke: var(--text-tertiary); }
.dropdown.open .dropdown-trigger .icon { transform: rotate(180deg); }
.dropdown-content { max-height: 0; overflow: hidden; transition: max-height 0.45s cubic-bezier(0.4,0,0.2,1); }
.dropdown.open .dropdown-content { max-height: 4000px; }
.dropdown-inner { padding: 0 28px 26px; }
.dropdown-inner p { color: var(--text-secondary); margin-bottom: 14px; font-size: 16px; line-height: 1.55; }
.dropdown-inner p:last-child { margin-bottom: 0; }
.dropdown-inner strong { color: var(--text); font-weight: 600; }

.fact {
  background: var(--grey); padding: 14px 18px; border-radius: var(--r-sm);
  margin: 10px 0; font-size: 15px; color: var(--text-secondary); line-height: 1.55;
}
.quote {
  font-size: 19px; color: var(--text); padding: 18px 24px;
  background: var(--grey); border-radius: var(--r-md); margin: 14px 0;
  letter-spacing: -0.015em; line-height: 1.45;
}
.todo {
  background: var(--bg); box-shadow: inset 0 0 0 1px var(--hairline);
  padding: 13px 18px; margin: 10px 0; font-size: 14px;
  color: var(--text-tertiary); border-radius: var(--r-sm);
}
.nature-list { list-style: none; margin: 12px 0; }
.nature-list li {
  padding: 6px 0 6px 18px; position: relative;
  font-size: 15px; color: var(--text-secondary); line-height: 1.55;
}
.nature-list li::before { content: '·'; position: absolute; left: 4px; color: var(--text-tertiary); font-weight: 700; }

/* ---------- pills ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 40px; }
.pill {
  padding: 9px 18px; background: var(--grey); border-radius: var(--r-pill);
  font-size: 15px; font-weight: 400; color: var(--text); letter-spacing: -0.01em;
}

/* ---------- project cards ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(310px, 1fr)); gap: 22px; }
.project-card {
  background: var(--bg); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease;
}
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.project-banner {
  height: 128px; display: flex; align-items: center; justify-content: center;
  font-size: 48px; background: var(--grey);
}
.project-body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }
.project-body h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.018em; margin-bottom: 10px; }
.project-body p { font-size: 15px; color: var(--text-secondary); margin-bottom: 12px; line-height: 1.55; }
.project-body p strong { color: var(--text); font-weight: 600; }
.project-links { display: flex; flex-direction: column; gap: 9px; margin-top: auto; padding-top: 8px; }
.project-links a { font-size: 15px; color: var(--link); letter-spacing: -0.01em; }

.pipeline-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; margin-top: 22px; }
.pipeline-card {
  background: var(--grey); border-radius: var(--r-md); padding: 24px 26px;
}
.pipeline-card h4 { font-size: 18px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 7px; }
.pipeline-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }

/* ---------- timeline ---------- */
.timeline {
  list-style: none; background: var(--bg); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); overflow: hidden; padding: 6px 0;
}
.timeline li {
  border-bottom: 1px solid var(--hairline);
}
.timeline li:last-child { border-bottom: none; }

/* expandable rows — reuse the accordion JS (.dropdown-trigger toggles
   'open' on its parent), with timeline-specific sizing */
.tl-trigger {
  width: 100%; padding: 18px 28px; background: transparent; border: none;
  text-align: left; cursor: pointer; font-family: inherit; color: var(--text);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  transition: background 0.2s;
}
.tl-trigger:hover { background: var(--grey); }
.tl-head { display: flex; gap: 22px; align-items: flex-start; flex: 1; min-width: 0; }
.tl-trigger .icon {
  width: 17px; height: 17px; flex-shrink: 0; margin-top: 4px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.tl-trigger .icon svg { width: 100%; height: 100%; stroke: var(--text-tertiary); }
.tl-row.open .tl-trigger .icon { transform: rotate(180deg); }
.tl-row.open .dropdown-content { max-height: 2400px; }
.tl-detail { padding: 2px 28px 24px 78px; }
.tl-detail p { font-size: 15px; color: var(--text-secondary); line-height: 1.6; margin-bottom: 12px; }
.tl-detail p:last-child { margin-bottom: 0; }
.tl-detail strong { color: var(--text); font-weight: 600; }
.tl-detail .nature-list { margin: 10px 0 14px; }
.timeline .tl-year {
  background: var(--grey); color: var(--text-secondary); font-size: 13px;
  font-weight: 500; padding: 5px 13px; border-radius: var(--r-pill);
  white-space: nowrap; flex-shrink: 0; min-width: 98px; text-align: center;
  letter-spacing: -0.005em;
}
.timeline .tl-body { font-size: 16px; color: var(--text); line-height: 1.5; padding-top: 2px; }

.next-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.next-card {
  background: var(--bg); border-radius: var(--r-md); padding: 24px 26px;
  box-shadow: var(--shadow-sm); transition: box-shadow 0.25s ease;
}
.next-card:hover { box-shadow: var(--shadow-md); }
.next-card .next-when {
  font-size: 12px; font-weight: 500; text-transform: lowercase;
  letter-spacing: 0.06em; color: var(--text-tertiary); margin-bottom: 6px;
}
.next-card .next-where { font-size: 19px; font-weight: 600; letter-spacing: -0.018em; }
.next-card .next-what { font-size: 14px; color: var(--text-secondary); margin-top: 4px; line-height: 1.5; }

/* ---------- misc ---------- */
.note-box {
  background: var(--grey); border-radius: var(--r-md);
  padding: 24px 28px; margin-bottom: 32px;
}
.note-box p { font-size: 17px; color: var(--text-secondary); line-height: 1.6; }

footer {
  text-align: center; padding: 64px 32px 72px; color: var(--text-tertiary);
  font-size: 14px; background: var(--grey); margin-top: 40px;
}
footer .emoji { font-size: 26px; margin-bottom: 18px; letter-spacing: 5px; }

@media (max-width: 860px) {
  .hero h1 { font-size: 48px; }
  .hero .big-why { font-size: 26px; }
  section h2 { font-size: 32px; }
}

@media (max-width: 640px) {
  header { padding: 0 20px; }
  nav { height: auto; padding: 9px 0; flex-wrap: wrap; gap: 8px; }
  .nav-links { gap: 18px; }
  .hero { padding: 128px 20px 48px; }
  .hero .glyphs { font-size: 26px; }
  .hero h1 { font-size: 36px; }
  .hero .tagline { font-size: 17px; margin-bottom: 26px; }
  .hero .big-why { font-size: 22px; }
  .hero .mission { font-size: 16px; }
  .carousel { margin: 0; border-radius: 0; }
  .carousel-slide { flex: 0 0 100%; width: 100%; max-width: 100%; }
  .carousel-dots { bottom: 12px; }
  section { padding: 60px 20px; }
  section h2 { font-size: 27px; }
  .section-sub { font-size: 17px; margin-bottom: 30px; }
  .dropdown-trigger { padding: 19px 22px; font-size: 17px; }
  .dropdown-inner { padding: 0 22px 22px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-body { padding: 22px 24px 24px; }
  .timeline li { padding: 0; }
  .tl-trigger { padding: 16px 20px; gap: 12px; }
  .tl-head { flex-direction: column; gap: 9px; }
  .timeline .tl-year { min-width: 0; align-self: flex-start; }
  .tl-detail { padding: 0 20px 20px; }
}

/* ---------- band-aware surfaces ----------
   inside a grey band, elements that are normally grey need to become
   white (or a distinct tint) so they don't disappear into the band. */
.project-banner {
  background: linear-gradient(180deg, #fbfbfd 0%, #f0f0f3 100%);
  border-bottom: 1px solid var(--hairline);
}
.band .note-box {
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.band .pipeline-card {
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}
.band .timeline .tl-year {
  background: var(--grey-deep);
}

/* ---------- lowercase treatment ----------
   Everything renders lowercase, except the project names in
   "what i am doing", which keep their real casing. Visual only —
   the underlying text is untouched for screen readers and copy/paste. */
body { text-transform: lowercase; }
.project-body h3,
.pipeline-card h4 { text-transform: none; }

/* ---------- what i have built ---------- */
.tool-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 16px; }
.tool-card {
  background: var(--bg); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: box-shadow 0.25s ease;
}
.tool-card:hover { box-shadow: var(--shadow-md); }
.tool-trigger {
  width: 100%; padding: 22px 24px; background: transparent; border: none;
  text-align: left; cursor: pointer; font-family: inherit; color: var(--text);
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
}
.tool-head { display: flex; gap: 14px; align-items: flex-start; flex: 1; min-width: 0; }
.tool-icon { font-size: 26px; line-height: 1.2; flex-shrink: 0; }
.tool-text { display: flex; flex-direction: column; min-width: 0; }
.tool-name { font-size: 18px; font-weight: 600; letter-spacing: -0.018em; margin-bottom: 5px; }
.tool-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.5; }
.tool-trigger .icon {
  width: 17px; height: 17px; flex-shrink: 0; margin-top: 5px;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.tool-trigger .icon svg { width: 100%; height: 100%; stroke: var(--text-tertiary); }
.tool-card.open .tool-trigger .icon { transform: rotate(180deg); }
.tool-card.open .dropdown-content { max-height: 900px; }
.tool-shot { padding: 0 24px 22px; }
/* the screenshot itself is a link to the live site */
.tool-shot-link {
  display: block; border-radius: var(--r-sm); overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 22px rgba(0,0,0,0.10);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s ease;
}
.tool-shot-link:hover {
  transform: translateY(-2px); text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.10), 0 14px 32px rgba(0,0,0,0.16);
}
.tool-shot-link img {
  width: 100%; display: block; background: var(--grey);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.tool-shot-link:hover img { transform: scale(1.02); }
.tool-shot-cta { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--link); }

@media (max-width: 640px) {
  .tool-grid { grid-template-columns: 1fr; }
  .tool-trigger { padding: 18px 20px; }
  .tool-shot { padding: 0 20px 18px; }
}
/* cards with no preview (gated products) link straight out */
.tool-card-flat .tool-trigger { text-decoration: none; }
.tool-card-flat:hover { box-shadow: var(--shadow-md); }
.tool-openlink { font-size: 14px; color: var(--link); margin-top: 12px; }
.tool-card-flat:hover .tool-openlink { text-decoration: underline; }

/* name for search engines and screen readers; the styled wordmark stays visual */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.footer-name { color: var(--text-secondary); font-size: 15px; margin-bottom: 10px; }
.social-links {
  display: flex; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin: 20px 0 22px;
}
.social-links a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: var(--r-pill);
  background: var(--bg); box-shadow: var(--shadow-sm);
  color: var(--text); font-size: 14px; text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s ease;
}
.social-links a:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none;
}
.social-links svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ---------- reach out form ---------- */
.contact-form { max-width: 720px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 18px; }
.field-label {
  display: block; font-size: 14px; color: var(--text-secondary);
  margin-bottom: 8px; letter-spacing: -0.005em;
}
.req { color: var(--red); }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; font-family: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: none; border-radius: var(--r-sm);
  padding: 14px 16px; box-shadow: inset 0 0 0 1px var(--hairline);
  transition: box-shadow 0.2s ease; -webkit-appearance: none; appearance: none;
}
.contact-form textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
  padding-right: 42px; cursor: pointer;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-tertiary); }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none; box-shadow: inset 0 0 0 2px var(--blue);
}
.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] { box-shadow: inset 0 0 0 2px var(--red); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
.btn-send {
  font-family: inherit; font-size: 16px; font-weight: 500; letter-spacing: -0.01em;
  color: #fff; background: var(--text); border: none; cursor: pointer;
  padding: 14px 30px; border-radius: var(--r-pill);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.btn-send:hover { transform: translateY(-1px); opacity: 0.9; }
.btn-send:active { transform: translateY(0); }
.btn-send[disabled] { opacity: 0.5; cursor: default; transform: none; }
.form-status { font-size: 14px; color: var(--text-secondary); margin: 0; }
.form-status.ok { color: var(--green); }
.form-status.err { color: var(--red); }

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

/* identity pills act as jump links into the accordions below */
button.pill {
  font-family: inherit; border: none; cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
button.pill:hover { background: var(--grey-deep); transform: translateY(-1px); }
button.pill[aria-expanded="true"] { background: var(--text); color: #fff; }
button.pill:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
/* clear the fixed header when a pill scrolls its accordion into view */
.dropdown[id^="who-"] { scroll-margin-top: 76px; }
