a { color: inherit; }
  .section-band { width: 100%; }
  .section-inner { max-width: 1280px; margin: 0 auto; padding: 0 56px; }
  .mono { font-family: 'JetBrains Mono', monospace; }

  /* ---- header (living nav) ---- */
  .site-nav { position: sticky; top: 0; z-index: 100; background: rgba(245, 242, 234, 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: box-shadow 0.35s ease; }
  .site-nav.scrolled { box-shadow: 0 10px 30px -14px rgba(31, 29, 24, 0.18); }
  .nav-bar { transition: padding 0.35s cubic-bezier(0.22, 0.61, 0.36, 1); }
  .site-nav.scrolled .nav-bar { padding-top: 13px !important; padding-bottom: 13px !important; }
  .brand svg polygon { transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1); }
  .brand:hover svg g polygon:nth-child(-n+3) { transform: translateY(2.5px); }
  .brand:hover svg g polygon:nth-child(n+7) { transform: translateY(-2.5px); }
  .brand:hover svg > .logo-peak { transform: translateY(-4px); }
  .nav-link { color: #5e5d54; text-decoration: none; position: relative; transition: color 0.25s ease; }
  .nav-link::after { content: ''; position: absolute; left: 0; bottom: -3px; width: 100%; height: 1px; background: #b85c2e; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
  .nav-link:hover { color: #1f1d18; }
  .nav-link:hover::after { transform: scaleX(1); }
  .cta-btn { transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease; }
  .cta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(31, 29, 24, 0.35); }
  .cta-arrow { display: inline-block; max-width: 0; margin-left: 0; opacity: 0; overflow: hidden; vertical-align: middle; transform: translateX(-4px); transition: max-width 0.3s ease, margin-left 0.3s ease, opacity 0.3s ease, transform 0.3s ease; }
  .cta-btn:hover .cta-arrow { max-width: 16px; margin-left: 7px; opacity: 1; transform: translateX(0); }
  .nav-contact { border: 0.5px solid #1f1d18; color: #1f1d18; background: transparent; padding: 7px 16px; border-radius: 22px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; display: inline-block; transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; }
  .nav-contact:hover { background: #1f1d18; color: #f5f2ea; transform: translateY(-2px); box-shadow: 0 10px 24px -8px rgba(31, 29, 24, 0.25); }
  .nav-contact.on { background: #1f1d18; color: #f5f2ea; }
  .nav-contact-m { display: none; }
  .nav-burger { display: none; background: none; border: none; font-size: 20px; color: inherit; cursor: pointer; padding: 4px 8px; line-height: 1; }

  /* ---- contact body ---- */
  .ct-label { font-family: 'JetBrains Mono', monospace; font-size: 11px; letter-spacing: 0.1em; color: #b85c2e; text-transform: uppercase; }
  .ct-h1 { font-size: 50px; font-weight: 500; line-height: 1.06; letter-spacing: -0.03em; margin: 22px 0 22px; max-width: 12ch; }
  .ct-sub { font-size: 17px; line-height: 1.55; color: #5e5d54; max-width: 40ch; }
  .ct-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 72px; align-items: start; }

  .ct-method { display: block; text-decoration: none; padding: 16px 0; border-top: 0.5px solid #d4cebe; transition: padding-left 0.3s ease; }
  .ct-method:last-of-type { border-bottom: 0.5px solid #d4cebe; }
  .ct-method:hover { padding-left: 8px; }
  .ct-method .ct-m-k { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: #5e5d54; margin-bottom: 5px; transition: color 0.3s ease; }
  .ct-method:hover .ct-m-k { color: #b85c2e; }
  .ct-method .ct-m-v { font-size: 15.5px; font-weight: 500; color: #1f1d18; display: flex; align-items: center; gap: 8px; }
  .ct-method .ct-m-arr { color: #d4cebe; transition: transform 0.3s ease, color 0.3s ease; }
  .ct-method:hover .ct-m-arr { transform: translateX(4px); color: #b85c2e; }

  .ct-offices { display: grid; gap: 14px; margin-top: 34px; }
  .ct-offices > div { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: baseline; }
  .ct-office-k { font-family: 'JetBrains Mono', monospace; font-size: 9px; color: #b85c2e; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
  .ct-office-v { font-size: 12px; color: #5e5d54; line-height: 1.5; }

  /* ---- form card ---- */
  .ct-card { position: relative; background: #fbf9f1; border: 0.5px solid #d4cebe; border-radius: 10px; padding: 38px 38px 34px; }
  .ct-card-rule { width: 38px; height: 2px; background: #b85c2e; margin-bottom: 16px; }
  .ct-card-title { font-size: 21px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 4px; }
  .ct-card-note { font-size: 13px; color: #5e5d54; margin-bottom: 26px; }
  .f-row { margin-bottom: 22px; }
  .f-label { display: block; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.09em; text-transform: uppercase; color: #5e5d54; margin-bottom: 8px; }
  .f-label .f-opt { color: #b3ab97; text-transform: none; letter-spacing: 0; }
  .f-input, .f-textarea { width: 100%; background: transparent; border: none; border-bottom: 1px solid #d4cebe; padding: 9px 2px; font-family: 'Inter', sans-serif; font-size: 15px; color: #1f1d18; transition: border-color 0.3s ease; }
  .f-input:focus, .f-textarea:focus { outline: none; border-bottom-color: #b85c2e; }
  .f-input::placeholder, .f-textarea::placeholder { color: #b3ab97; }
  .f-textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
  .f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
  .ct-submit { margin-top: 6px; width: 100%; background: #1f1d18; color: #f5f2ea; border: none; cursor: pointer; padding: 15px 24px; border-radius: 26px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.2s ease; }
  .ct-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(31, 29, 24, 0.4); }
  .ct-submit:disabled { opacity: 0.55; cursor: default; transform: none; box-shadow: none; }
  .ct-submit .ct-sub-arr { display: inline-block; margin-left: 4px; transition: transform 0.3s ease; }
  .ct-submit:hover .ct-sub-arr { transform: translateX(4px); }
  .ct-fineprint { font-size: 11px; color: #b3ab97; text-align: center; margin-top: 16px; line-height: 1.5; }

  /* success state */
  .ct-success { display: none; text-align: center; padding: 26px 10px 14px; }
  .ct-success.show { display: block; animation: ctFade 0.6s ease both; }
  .ct-check { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #b85c2e; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
  .ct-check svg { display: block; }
  .ct-success h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.02em; margin-bottom: 10px; }
  .ct-success p { font-size: 14px; color: #5e5d54; line-height: 1.55; max-width: 34ch; margin: 0 auto; }

  /* footer */
  .ft-link { color: #d4cebe; text-decoration: none; position: relative; transition: color 0.25s ease; }
  .ft-link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1px; background: #b85c2e; transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
  .ft-link:hover { color: #f5f2ea; }
  .ft-link:hover::after { transform: scaleX(1); }
  .ft-totop { cursor: pointer; transition: color 0.25s ease; }
  .ft-totop:hover { color: #b85c2e; }

  /* entrance */
  .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
  .reveal.in { opacity: 1; transform: none; }
  @keyframes ctFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

  @media (max-width: 900px) {
    .site-nav { background: #f5f2ea; -webkit-backdrop-filter: none; backdrop-filter: none; }
    .nav-bar { padding: 20px 24px !important; }
    .nav-burger { display: block; }
    .nav-links { display: none !important; }
    .nav-links.open { display: flex !important; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #f5f2ea; border-bottom: 0.5px solid #d4cebe; padding: 16px 24px 20px; gap: 15px; z-index: 80; font-size: 15px; }
    .nav-links.open .nav-contact-m { display: block; }
    .nav-contact { display: none; }
    .ct-grid { grid-template-columns: 1fr; gap: 44px; }
    .ct-h1 { font-size: 36px; }
    .ct-card { padding: 30px 24px 28px; }
    html, body { overflow-x: hidden; overflow-x: clip; }
    .section-inner { padding-left: 22px !important; padding-right: 22px !important; }
    div[style*="grid-template-columns: 1.4fr 1fr 1fr 1fr"] { grid-template-columns: 1fr 1fr !important; gap: 30px !important; }
    /* footer cols must be allowed to shrink, and the email must be breakable —
       otherwise min-content of hello@thoughtscapeai.com (167px) blows the column out */
    div[style*="grid-template-columns: 1.4fr 1fr 1fr 1fr"] > div { min-width: 0; }
    div[style*="grid-template-columns: 1.4fr 1fr 1fr 1fr"] > div:first-child { grid-column: 1 / -1; }
    .ft-link { overflow-wrap: anywhere; }
  }
  @media (prefers-reduced-motion: reduce) { .reveal { transition: none; opacity: 1; transform: none; } }
  /* footer: between tablet and full desktop the brand column is too narrow for the office register — give it its own row */
  @media (min-width: 901px) and (max-width: 1080px) {
    div[style*="grid-template-columns: 1.4fr 1fr 1fr 1fr"] { grid-template-columns: 1fr 1fr 1fr !important; }
    div[style*="grid-template-columns: 1.4fr 1fr 1fr 1fr"] > div:first-child { grid-column: 1 / -1; }
  }
  /* ---- nav: industries dropdown ---- */
  .nav-dd { position: relative; display: inline-flex; }
  .nav-dd-btn { background: none; border: none; padding: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; }
  .nav-dd-car { font-size: 8px; line-height: 1; display: inline-block; transition: transform 0.25s ease; }
  .nav-dd-item { display: block; text-decoration: none; }
  .nav-dd-t { display: block; font-size: 13.5px; font-weight: 500; color: #1f1d18; letter-spacing: -0.005em; }
  .nav-dd-s { display: block; font-family: 'JetBrains Mono', monospace; font-size: 9.5px; letter-spacing: 0.04em; color: #5e5d54; margin-top: 3px; }
  @media (min-width: 1081px) {
    .nav-dd-menu { position: absolute; top: calc(100% + 16px); left: 50%; min-width: 260px; background: #fbf9f1; border: 0.5px solid #d4cebe; border-radius: 12px; padding: 7px; box-shadow: 0 24px 48px -24px rgba(31, 29, 24, 0.35); opacity: 0; visibility: hidden; transform: translate(-50%, 6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; z-index: 120; }
    .nav-dd-menu::before { content: ''; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
    .nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
    .nav-dd:hover .nav-dd-car, .nav-dd:focus-within .nav-dd-car, .nav-dd.open .nav-dd-car { transform: rotate(180deg); }
    .nav-dd:hover .nav-dd-btn, .nav-dd.open .nav-dd-btn { color: #1f1d18; }
    .nav-dd:hover .nav-dd-btn::after, .nav-dd.open .nav-dd-btn::after { transform: scaleX(1); }
    .nav-dd-item { padding: 11px 13px; border-radius: 8px; transition: background 0.2s ease; }
    .nav-dd-item:hover, .nav-dd-item:focus-visible { background: #ece7d8; outline: none; }
    .nav-dd-item:hover .nav-dd-t { color: #b85c2e; }
  }
  @media (max-width: 1080px) {
    .nav-dd { display: block; }
    .nav-dd-btn { cursor: default; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: #b85c2e; }
    .nav-dd-btn::after, .nav-dd-car { display: none; }
    .nav-dd-menu { margin-top: 10px; padding-left: 14px; border-left: 0.5px solid #d4cebe; display: flex; flex-direction: column; gap: 12px; }
    .nav-dd-t { font-size: 15px; font-weight: 400; }
  }
  /* nav: the link row doesn't fit below ~1080px, so fold it into the burger menu early (buttons stay visible) */
  @media (min-width: 901px) and (max-width: 1080px) {
    .nav-burger { display: block; margin-left: auto; margin-right: 16px; }
    .nav-links { display: none !important; }
    .nav-links.open { display: flex !important; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #f5f2ea; border-bottom: 0.5px solid #d4cebe; padding: 18px 56px 22px; gap: 15px; z-index: 80; font-size: 15px; }
  }
  /* iOS zooms into any field under 16px on focus */
  @media (max-width: 900px) { .f-input, .f-select, .f-textarea { font-size: 16px; } }
  /* touch targets: bigger tap areas on the phone menu without changing its spacing */
  @media (max-width: 1080px) {
    .nav-burger { min-width: 44px; min-height: 44px; }
    .nav-links.open > a { padding: 10px 0; margin: -10px 0; }
  }
  .nav-actions .cta-btn { white-space: nowrap; }
  @media (max-width: 380px) { .nav-actions .cta-btn { padding: 7px 12px !important; } }
  @media (max-width: 350px) { .nav-actions .cta-btn { padding: 6px 10px !important; letter-spacing: 0.02em !important; } .nav-actions .cta-btn .cta-arrow { display: none; } .nav-burger { min-width: 38px; margin-left: auto; margin-right: 4px !important; } .brand { gap: 8px !important; } .brand > span { font-size: 16px !important; } }

