/* disclosure-v1 — calm first view, progressive disclosure.
   Loaded after site-grey / type-v8. Does not change the live founder photograph. */

:root{
  --disclose-gold:#8b8064;
  --disclose-gold-soft:rgba(139,128,100,.55);
}

/* ---------- About side panel ---------- */
.about-layer{
  position:fixed;
  inset:0;
  z-index:80;
  pointer-events:none;
  visibility:hidden;
}
.about-layer.is-open{
  pointer-events:auto;
  visibility:visible;
}
.about-backdrop{
  position:absolute;
  inset:0;
  background:rgba(28,28,30,.36);
  opacity:0;
  transition:opacity .45s cubic-bezier(.22,1,.36,1);
}
.about-layer.is-open .about-backdrop{opacity:1}

.about-panel{
  position:absolute;
  top:0;right:0;bottom:0;
  width:min(42rem,100%);
  background:#d8dadde6;
  background-color:#d4d7db;
  color:#38383a;
  transform:translateX(100%);
  transition:transform .52s cubic-bezier(.22,1,.36,1);
  display:flex;
  flex-direction:column;
  box-shadow:-20px 0 60px rgba(28,28,30,.10);
  outline:none;
}
.about-layer.is-open .about-panel{transform:translateX(0)}

.about-close{
  position:absolute;
  top:.85rem;
  right:.85rem;
  z-index:2;
  width:2.75rem;
  height:2.75rem;
  border:0;
  background:transparent;
  cursor:pointer;
  color:#1c1c1e;
  padding:0;
}
.about-close::before,
.about-close::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:14px;
  height:1px;
  background:currentColor;
}
.about-close::before{transform:translate(-50%,-50%) rotate(45deg)}
.about-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
.about-close:hover,
.about-close:focus-visible{color:var(--disclose-gold)}
.about-close:focus-visible{
  outline:1px solid var(--disclose-gold);
  outline-offset:3px;
}

.about-panel-scroll{
  overflow:auto;
  height:100%;
  overscroll-behavior:contain;
  -webkit-overflow-scrolling:touch;
}

.about-photo{
  position:relative;
  height:clamp(16rem,38vh,24rem);
  overflow:hidden;
  background:#c8ccd1;
}
.about-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  /* Live b3 portrait: keep the face in frame, no further processing. */
  object-position:42% 14%;
}

.about-copy{
  padding:clamp(1.6rem,3.2vw,2.4rem) clamp(1.4rem,3.2vw,2.2rem) 3.2rem;
}
.about-copy .kicker{
  margin:0 0 .55rem;
}
.about-copy h2{
  margin:0;
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(1.85rem,3vw,2.35rem);
  letter-spacing:-.02em;
  line-height:1.12;
  color:#1c1c1e;
}
.about-copy .role{
  margin:.45rem 0 1.25rem;
  font-family:var(--sans);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#6e7175;
}
.about-copy .founder-bio,
.about-copy .founder-how,
.about-copy .founder-personal{
  margin:0 0 1rem;
  font-family:var(--sans);
  font-weight:400;
  font-size:1.02rem;
  line-height:1.72;
  color:#38383a;
  max-width:38rem;
}
.about-copy .founder-meta{
  margin:1.4rem 0 0;
  font-family:var(--sans);
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:#6e7175;
}

body.about-open{
  overflow:hidden;
}

/* Nav About looks like other links; slightly marked when the panel is open */
a.nav-about[aria-expanded="true"]{
  color:var(--disclose-gold);
}

/* ---------- Service cards: title + one line, expand on click ---------- */
.svc-group{
  gap:0;
}
.svc-group .svc-toggle{
  display:grid;
  grid-template-columns:auto 1fr auto;
  grid-template-areas:
    "index title plus"
    ".     line  plus";
  column-gap: .85rem;
  row-gap: .35rem;
  align-items:start;
  width:100%;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:inherit;
  text-align:left;
  cursor:pointer;
  font:inherit;
  -webkit-appearance:none;
  appearance:none;
  border-radius:0;
}
.svc-group .svc-toggle .svc-index{grid-area:index;align-self:center;margin:0}
.svc-group .svc-toggle .svc-title{
  grid-area:title;
  display:block;
  margin:0;
  font-family:var(--serif);
  font-weight:600;
  font-size:clamp(1.5rem,2vw,1.82rem);
  letter-spacing:-.018em;
  line-height:1.15;
  color:#1c1c1e;
}
.svc-group .svc-toggle .svc-line{
  grid-area:line;
  margin:0;
  max-width:34rem;
}
.svc-group h3.svc-head{
  margin:0;
  font-size:inherit;
  font-weight:inherit;
}

.svc-plus{
  grid-area:plus;
  position:relative;
  width:1.35rem;
  height:1.35rem;
  margin-top:.2rem;
  flex-shrink:0;
  color:#1c1c1e;
}
.svc-plus::before,
.svc-plus::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  background:currentColor;
  transition:transform .35s cubic-bezier(.22,1,.36,1), opacity .25s ease;
}
.svc-plus::before{
  width:12px;
  height:1px;
  transform:translate(-50%,-50%);
}
.svc-plus::after{
  width:1px;
  height:12px;
  transform:translate(-50%,-50%);
}
.svc-group.is-open .svc-plus{color:var(--disclose-gold)}
.svc-group.is-open .svc-plus::after{transform:translate(-50%,-50%) rotate(90deg);opacity:0}

.svc-group .svc-toggle:hover .svc-plus,
.svc-group .svc-toggle:focus-visible .svc-plus{color:var(--disclose-gold)}
.svc-group .svc-toggle:focus-visible{
  outline:1px solid var(--disclose-gold);
  outline-offset:8px;
}

.svc-detail{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .48s cubic-bezier(.22,1,.36,1);
}
.svc-group.is-open .svc-detail{grid-template-rows:1fr}
.svc-detail-inner{
  overflow:hidden;
  min-height:0;
}
.svc-detail-inner > :first-child{margin-top:1rem}

/* ---------- Shared accordion (How, more examples) ---------- */
.disclose-panel{
  display:grid;
  grid-template-rows:0fr;
  transition:grid-template-rows .48s cubic-bezier(.22,1,.36,1);
}
.disclose.is-open > .disclose-panel,
.disclose-panel.is-open{grid-template-rows:1fr}
.disclose-panel-inner{
  overflow:hidden;
  min-height:0;
}

.disclose-toggle{
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  margin-top:1.1rem;
  padding:0;
  border:0;
  background:transparent;
  color:#1c1c1e;
  cursor:pointer;
  font-family:var(--sans);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  -webkit-appearance:none;
  appearance:none;
}
.disclose-toggle .svc-plus{
  margin:0;
  width:1.1rem;
  height:1.1rem;
}
.disclose-toggle:hover,
.disclose-toggle:focus-visible{color:var(--disclose-gold)}
.disclose-toggle:focus-visible{
  outline:1px solid var(--disclose-gold);
  outline-offset:6px;
}
.disclose.is-open .disclose-toggle .svc-plus{color:var(--disclose-gold)}
.disclose.is-open .disclose-toggle .svc-plus::after{
  transform:translate(-50%,-50%) rotate(90deg);
  opacity:0;
}

.how .how-copy,
.how .how-network{/* remain in the disclose panel */}

/* First-view breathing room after the hero example, now that the long
   founder slab has left the homepage scroll. */
body[data-page="home"] .example-feature{
  padding-bottom:clamp(2.4rem,5vw,3.6rem);
}
body[data-page="home"] .svc-band{
  padding-top:clamp(2.4rem,5vw,3.6rem);
}

/* Service-page About teaser stays short; the panel holds the full text. */
.svc-about a[data-about-open]{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  margin-top:.85rem;
  font-family:var(--sans);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  text-decoration:none;
  color:#1c1c1e;
  border-bottom:1px solid transparent;
}
.svc-about a[data-about-open]:hover,
.svc-about a[data-about-open]:focus-visible{
  color:var(--disclose-gold);
  border-bottom-color:var(--disclose-gold-soft);
}

@media (max-width:799px){
  .about-panel{width:100%}
  .about-photo{height:clamp(14rem,34vh,20rem)}
  .svc-group .svc-toggle{
    column-gap:.6rem;
  }
  .svc-groups{
    grid-template-columns:1fr;
  }
}

@media (prefers-reduced-motion:reduce){
  .about-backdrop,
  .about-panel,
  .svc-detail,
  .disclose-panel,
  .svc-plus::before,
  .svc-plus::after{
    transition:none;
  }
}


/* ---------- Short cards + hidden-but-indexable lists ---------- */
.svc-brief{
  margin:0;
  max-width:38rem;
  font-family:var(--sans);
  font-weight:400;
  font-size:1.02rem;
  line-height:1.7;
  color:#38383a;
}
.svc-points.seo-keep{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
  border:0;
  white-space:nowrap;
}
.svc-group .svc-group-links,
.svc-group .svc-group-enq{
  margin-top:.85rem;
}

#examples.disclose:not(.is-open){
  padding-top:clamp(1.6rem,3vw,2.4rem);
  padding-bottom:clamp(1.6rem,3vw,2.4rem);
}
#examples .section-head h2{
  font-size:clamp(1.45rem,2.2vw,1.9rem);
}

/* Punchier hero lede: keep it on a short measure */
body[data-page="home"] .hero-intro{
  max-width:34rem;
}

/* ---------- Ask my agent (placeholder, no backend, no blue) ---------- */
.agent-launch{
  position:fixed;
  right:max(1.1rem, env(safe-area-inset-right));
  bottom:max(1.1rem, env(safe-area-inset-bottom));
  z-index:55;
  display:inline-flex;
  align-items:center;
  gap:.7rem;
  margin:0;
  padding:.72rem 1.05rem .72rem 1.15rem;
  border:1px solid rgba(139,128,100,.55);
  background:#eceae6;
  color:#1c1c1e;
  font-family:var(--sans);
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  cursor:pointer;
  box-shadow:0 10px 28px rgba(28,28,30,.08);
  -webkit-appearance:none;
  appearance:none;
}
.agent-launch:hover,
.agent-launch:focus-visible{
  border-color:#8b8064;
  color:#1c1c1e;
  background:#f3f1ec;
}
.agent-launch:focus-visible{
  outline:1px solid #8b8064;
  outline-offset:3px;
}
.agent-launch .svc-plus{
  width:1rem;
  height:1rem;
  margin:0;
  color:#8b8064;
}
body.agent-open .agent-launch .svc-plus::after{
  transform:translate(-50%,-50%) rotate(90deg);
  opacity:0;
}
body.about-open .agent-launch,
body.nav-open .agent-launch{
  visibility:hidden;
  pointer-events:none;
}

.agent-layer{
  position:fixed;
  inset:0;
  z-index:70;
  pointer-events:none;
  visibility:hidden;
}
.agent-layer.is-open{
  pointer-events:auto;
  visibility:visible;
}
.agent-backdrop{
  position:absolute;
  inset:0;
  background:rgba(28,28,30,.32);
  opacity:0;
  transition:opacity .4s cubic-bezier(.22,1,.36,1);
}
.agent-layer.is-open .agent-backdrop{opacity:1}

.agent-panel{
  position:absolute;
  right:max(1.1rem, env(safe-area-inset-right));
  bottom:max(4.6rem, calc(env(safe-area-inset-bottom) + 4.4rem));
  width:min(24.5rem, calc(100vw - 2.2rem));
  max-height:min(32rem, calc(100vh - 7rem));
  display:flex;
  flex-direction:column;
  background:#eceae6;
  color:#38383a;
  border:1px solid rgba(139,128,100,.4);
  box-shadow:0 18px 50px rgba(28,28,30,.14);
  transform:translateY(12px);
  opacity:0;
  transition:transform .42s cubic-bezier(.22,1,.36,1), opacity .35s ease;
  outline:none;
}
.agent-layer.is-open .agent-panel{
  transform:translateY(0);
  opacity:1;
}
.agent-close{
  position:absolute;
  top:.55rem;
  right:.55rem;
  z-index:2;
  width:2.5rem;
  height:2.5rem;
  border:0;
  background:transparent;
  cursor:pointer;
  color:#1c1c1e;
  padding:0;
}
.agent-close::before,
.agent-close::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:12px;
  height:1px;
  background:currentColor;
}
.agent-close::before{transform:translate(-50%,-50%) rotate(45deg)}
.agent-close::after{transform:translate(-50%,-50%) rotate(-45deg)}
.agent-close:hover,
.agent-close:focus-visible{color:#8b8064}
.agent-close:focus-visible{
  outline:1px solid #8b8064;
  outline-offset:3px;
}
.agent-panel-body{
  padding:1.35rem 1.35rem 1.2rem;
  overflow:auto;
  overscroll-behavior:contain;
}
.agent-panel .kicker{margin:0 0 .4rem}
.agent-panel h2{
  margin:0 1.8rem .7rem 0;
  font-family:var(--serif);
  font-weight:500;
  font-size:1.55rem;
  letter-spacing:-.02em;
  color:#1c1c1e;
  line-height:1.15;
}
.agent-note{
  margin:0 0 1rem;
  font-family:var(--sans);
  font-size:.95rem;
  line-height:1.65;
  color:#38383a;
}
.agent-log{
  display:flex;
  flex-direction:column;
  gap:.55rem;
  margin:0 0 1rem;
  min-height:0;
}
.agent-log:empty{display:none}
.agent-bubble{
  max-width:92%;
  padding:.55rem .75rem;
  font-family:var(--sans);
  font-size:.9rem;
  line-height:1.55;
  background:#e0ddd6;
  color:#1c1c1e;
}
.agent-bubble.is-reply{
  align-self:flex-start;
  background:transparent;
  border-left:1px solid #8b8064;
  padding-left:.8rem;
}
.agent-bubble.is-user{align-self:flex-end}
.agent-row{
  display:flex;
  gap:.5rem;
  align-items:stretch;
}
.agent-row input{
  flex:1;
  min-width:0;
  margin:0;
  padding:.65rem .75rem;
  border:1px solid rgba(28,28,30,.18);
  background:#f5f4f2;
  color:#1c1c1e;
  font-family:var(--sans);
  font-size:1rem;
  border-radius:0;
}
.agent-row input:focus{
  outline:1px solid #8b8064;
  outline-offset:0;
  border-color:#8b8064;
}
.agent-row button[type="submit"]{
  margin:0;
  padding:0 .95rem;
  border:1px solid #1c1c1e;
  background:#1c1c1e;
  color:#f5f4f2;
  font-family:var(--sans);
  font-size:.68rem;
  font-weight:500;
  letter-spacing:.14em;
  text-transform:uppercase;
  cursor:pointer;
}
.agent-row button[type="submit"]:hover,
.agent-row button[type="submit"]:focus-visible{
  background:#8b8064;
  border-color:#8b8064;
}
.agent-alt{
  margin:.85rem 0 0;
  font-family:var(--sans);
  font-size:.82rem;
  line-height:1.5;
  color:#6e7175;
}
.agent-alt a{
  color:#1c1c1e;
  text-decoration:none;
  border-bottom:1px solid rgba(139,128,100,.55);
}
.agent-alt a:hover{border-bottom-color:#8b8064}

.svc-agent-cue{
  margin:0;
  max-width:36rem;
}
.svc-agent-cue button,
.svc-agent-cue .agent-cue-btn{
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:#1c1c1e;
  font-family:var(--sans);
  font-size:.72rem;
  font-weight:500;
  letter-spacing:.16em;
  text-transform:uppercase;
  cursor:pointer;
}
.svc-agent-cue button:hover,
.svc-agent-cue .agent-cue-btn:hover{color:#8b8064}

/* FAQ kept in the DOM for indexing, not shown as a long section */
.svc-faq.seo-keep{
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip:rect(0 0 0 0);
  clip-path:inset(50%);
}

@media (max-width:799px){
  .agent-launch{
    padding:.68rem .9rem;
    letter-spacing:.12em;
  }
  .agent-panel{
    right:0;
    left:0;
    bottom:0;
    width:100%;
    max-height:min(78vh, 34rem);
    border-left:0;
    border-right:0;
    border-bottom:0;
  }
}

@media (prefers-reduced-motion:reduce){
  .agent-backdrop,
  .agent-panel{transition:none}
}

/* Opaque sticky header so section copy never ghosts through */
html body .site-header.is-solid,
html body[data-page="home"] .site-header.is-solid{
  background:#d4d7db !important;
  background-color:#d4d7db !important;
}

/* Don't let the music dock sit under the agent panel */
body.agent-open .hero-track-switch,
body.agent-open .hero-sound{
  visibility:hidden;
  pointer-events:none;
}

/* disclosure-v2: panel crop + mobile hero crowding */

/* Show more of the crown on the live b3 portrait (same file, no new face work).
   18% was cutting the top of the head; lower Y reveals more of the top of the frame. */
.about-photo{
  height:clamp(18rem,42vh,26rem);
}
.about-photo img{object-position:42% 8%}
@media (max-width:799px){
  .about-photo{height:clamp(16.5rem,40vh,22rem)}
  .about-photo img{object-position:42% 7%}
}

@media (max-width:799px){
  /* Undo v1 hacks that parked the agent beside Explore services */
  body{padding-bottom:0}
  body[data-page="home"] .hero-actions{margin-bottom:0}
  body[data-page="home"] .hero-copy,
  body[data-page="home"] .hero-open-copy,
  body[data-page="home"] .hero .hero-actions{padding-bottom:0}

  /* Sound: small icon-only control, top-right corner, clear of the headline */
  html body[data-home="v7"] .hero-sound,
  html body[data-page="home"] .hero-sound{
    top:calc(var(--header-actual, 4.5rem) + 0.55rem);
    right:max(0.85rem, env(safe-area-inset-right));
    bottom:auto;
    width:2.5rem;
    height:2.5rem;
    min-width:2.5rem;
    min-height:2.5rem;
    padding:0;
    gap:0;
    justify-content:center;
  }
  html body[data-home="v7"] .hero-sound-label,
  html body[data-page="home"] .hero-sound-label{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    clip-path:inset(50%);
    white-space:nowrap;
    border:0;
    padding:0;
  }

  /* Track list leaves the hero and lives in the mobile menu (moved by JS) */
  body[data-page="home"] .hero .hero-track-switch{
    display:none !important;
  }
  .nav-music-slot{
    display:none;
    margin-top:1.4rem;
    padding-top:1.1rem;
    border-top:1px solid rgba(28,28,30,.12);
  }
  .nav.is-open .nav-music-slot:not([hidden]){
    display:block;
  }
  .nav-music-slot .hero-track-switch{
    position:static;
    right:auto;
    left:auto;
    top:auto;
    bottom:auto;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:.45rem;
    max-width:none;
    width:100%;
    color:#1c1c1e;
    z-index:auto;
  }
  .nav-music-slot .hero-track-switch-kicker{
    position:static;
    width:auto;
    height:auto;
    overflow:visible;
    clip:auto;
    clip-path:none;
    white-space:nowrap;
    margin:0;
    font-family:var(--sans);
    font-size:.68rem;
    font-weight:500;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:#6e7175;
  }
  .nav-music-slot .hero-track-switch-list{
    width:100%;
    justify-content:flex-start;
    flex-wrap:wrap;
    gap:.25rem;
    padding:0;
    background:transparent;
    border:0;
    border-radius:0;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
  }
  .nav-music-slot .hero-track-switch-btn{
    font-family:var(--sans);
    font-size:.78rem;
    font-weight:500;
    letter-spacing:.04em;
    color:#1c1c1e;
    background:transparent;
    border:1px solid rgba(28,28,30,.18);
    border-radius:0;
    min-height:2.5rem;
    padding:.35rem .75rem;
  }
  .nav-music-slot .hero-track-switch-btn[aria-pressed="true"]{
    background:#1c1c1e;
    color:#f5f4f2;
    border-color:#1c1c1e;
  }
  .nav-music-slot .hero-track-switch-btn:hover,
  .nav-music-slot .hero-track-switch-btn:focus-visible{
    color:#1c1c1e;
    background:#eceae6;
    border-color:#8b8064;
  }
  .nav-music-slot .hero-track-switch-btn[aria-pressed="true"]:hover,
  .nav-music-slot .hero-track-switch-btn[aria-pressed="true"]:focus-visible{
    background:#1c1c1e;
    color:#f5f4f2;
  }

  /* Ask my agent: compact floating launcher, bottom-right, not a hero CTA */
  .agent-launch{
    width:2.85rem;
    height:2.85rem;
    min-width:2.85rem;
    min-height:2.85rem;
    padding:0;
    right:max(1rem, env(safe-area-inset-right));
    bottom:max(1rem, env(safe-area-inset-bottom));
    justify-content:center;
    gap:0;
    letter-spacing:0;
    font-size:0;
    box-shadow:0 8px 22px rgba(28,28,30,.10);
  }
  .agent-launch > span:not(.svc-plus){
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    clip-path:inset(50%);
    white-space:nowrap;
    border:0;
    padding:0;
  }
  .agent-launch .svc-plus{
    width:1.15rem;
    height:1.15rem;
    margin:0;
    color:#8b8064;
  }
  body.agent-open .agent-launch .svc-plus{color:#1c1c1e}

  /* Modest clearance at the very end of the page only */
  .site-footer{padding-bottom:calc(clamp(3.1rem,6.2vw,5.4rem) + 3.2rem)}
}
