/* Phone layout (700 px and narrower). Nothing in this file changes the laptop or tablet layout:
   the only rules outside the media query hide the extra phone controls. */

.nav-toggle, .more-toggle, .m-bar { display: none; }

@media (max-width: 700px) {

  html { scroll-padding-top: 64px; }

  /* ---------- Header: logo and one Menu button, always on top ---------- */
  .site-header { position: sticky; top: 0; z-index: 60; }
  .site-header .wrap { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; gap: 12px; }
  .site-header.scrolled .wrap { padding-top: 8px; padding-bottom: 8px; }
  .brand .logo-mark { height: 32px; }
  .brand .logo-word { height: 25px; }
  .nav-toggle { display: inline-flex; align-items: center; gap: 9px; background: none; border: 1px solid rgba(183,154,91,.55); color: var(--ivory); font: 500 .76rem var(--sans); letter-spacing: .14em; text-transform: uppercase; padding: 9px 12px; cursor: pointer; }
  .nav-toggle .bars { width: 15px; height: 11px; display: block;
    background: linear-gradient(currentColor, currentColor) 0 0 / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 50% / 100% 1.5px no-repeat, linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; }
  .site-header nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--forest-900); border-top: 1px solid rgba(183,154,91,.25); border-bottom: 1px solid rgba(183,154,91,.25); padding: 6px 24px 14px; box-shadow: 0 24px 40px -20px rgba(0,0,0,.6); }
  .site-header.menu-open nav { display: flex; }
  .site-header nav a { display: block; padding: 15px 0; font-size: .95rem; border-bottom: 1px solid rgba(244,239,227,.1); }
  .site-header nav a:last-child { border-bottom: 0; }
  .site-header nav a::after { display: none; }
  .site-header nav a[aria-current="page"] { color: var(--brass); }

  /* ---------- Call-to-action bar: appears once the first screen and the closing block are out of view ---------- */
  .m-bar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(8,23,15,.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid rgba(183,154,91,.3); transform: translateY(115%); transition: transform .3s ease; }
  .m-bar.show { transform: none; }
  .m-bar a { display: block; text-align: center; background: var(--ivory); color: var(--forest-900); padding: 14px; font: 500 .85rem var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; }
  .site-footer { padding-bottom: 84px; }

  /* ---------- Read more buttons ---------- */
  .more-toggle { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; margin: 18px 0 0; padding: 4px 0; background: none; border: 0; border-bottom: 1px solid var(--brass-dark); color: var(--brass-dark); font: 500 .76rem var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
  .manifesto .more-toggle, .hero .more-toggle { color: var(--brass); border-bottom-color: var(--brass); }
  .more-toggle::after { content: "+"; font-size: 1.1rem; line-height: 1; }
  .sec-open .more-toggle::after { content: "\2013"; }

  /* ---------- Home: every section is one screen with one message ---------- */
  .hero .wrap { min-height: min(calc(100vh - 56px), 760px); min-height: min(calc(100svh - 56px), 760px); align-content: center; padding-top: 32px; padding-bottom: 40px; }
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.4rem); margin-bottom: 18px; }
  .hero .lead { margin-bottom: 24px; }

  .manifesto, #what, .whysec, #meet, .cta { min-height: min(calc(100vh - 56px), 760px); min-height: min(calc(100svh - 56px), 760px); display: flex; flex-direction: column; justify-content: center; padding: 44px 0; }
  .manifesto > .wrap, #what > .wrap, .whysec > .wrap, #meet > .wrap, .cta > .wrap { width: 100%; }
  .section h2, .manifesto h2 { font-size: 2.05rem; line-height: 1.08; margin-bottom: 18px; }

  /* The Handbrake: headline, the lever, and the two paragraphs behind "Read more" */
  .manifesto > .wrap { display: flex; flex-direction: column; }
  .manifesto .eyebrow { order: 0; }
  .manifesto h2 { order: 1; }
  .manifesto .hb-card { order: 2; margin: 4px 0 0; padding: 14px 10px 8px; }
  .manifesto .hb-toggle { max-width: 290px; }
  .manifesto .more-toggle { order: 3; }
  .manifesto .two-col { order: 4; display: none; margin-top: 16px; gap: 14px; }
  .manifesto.sec-open .two-col { display: grid; }

  /* What I do: the three services open one at a time */
  #what .lead, #what .path-line, #what .path-note { display: none; }
  #what.sec-open .lead, #what.sec-open .path-note { display: block; }
  #what.sec-open .lead { margin-top: 16px; }
  #what .path2 { margin-top: 20px; }
  #what .rows { padding-left: 0; }
  #what .vwedge { display: none; }
  #what .rw { padding: 15px 0; gap: 8px; cursor: pointer; }
  #what .rw .node { display: none; }
  #what .rw .word { font-size: 2.2rem; margin: 0 0 2px; }
  #what .rw-head { position: relative; padding-right: 40px; }
  #what .rw-head::after { content: "+"; position: absolute; right: 2px; top: 4px; font: 300 2rem/1 var(--serif); color: var(--brass-dark); }
  #what .rw.open .rw-head::after { content: "\2013"; }
  #what .rw-mid, #what .rw-end { display: none; }
  #what .rw.open .rw-mid, #what .rw.open .rw-end { display: block; }
  #what .path-close { margin-top: 8px; padding-top: 18px; }

  /* Why: four closed cards with just the title, the text opens on tap (the first one starts open).
     The rings behind them stand still on a phone: animating them redraws the whole screen every frame and lags. */
  .section.whysec.live { animation: none; }
  .whysec .why { gap: 10px; margin-top: 22px; }
  .whysec .why .item { padding: 16px 52px 16px 18px; cursor: pointer; }
  .whysec .why .n { position: static; display: block; font: 500 .72rem var(--sans); letter-spacing: .2em; color: var(--brass-dark); -webkit-text-stroke: 0; margin: 0 0 4px; }
  .whysec .why .item h3 { max-width: none; margin: 0; font-size: 1.4rem; }
  .whysec .why .item p { display: none; max-width: none; margin-top: 10px; font-size: .98rem; }
  .whysec .why .item.open p { display: block; }
  .whysec .why .item.open { background: #fff; }
  .whysec .why .item::after { content: "+"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; line-height: 28px; text-align: center; border: 1px solid rgba(138,113,64,.5); border-radius: 50%; font: 300 1.4rem/28px var(--serif); color: var(--brass-dark); }
  .whysec .why .item.open::after { content: "\2013"; top: 28px; transform: none; }

  /* Meet: photo, name and the first sentence */
  #meet > .wrap.meet { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
  #meet .portrait.photo { max-width: 112px; }
  #meet .facts { display: none; margin-top: 18px; }
  #meet.sec-open .facts { display: grid; }
  #meet .lead .rest { display: none; }
  #meet.sec-open .lead .rest { display: inline; }
  #meet h2 { font-size: 1.8rem; }
  #meet .more-toggle { display: flex; width: max-content; margin: 4px 0 20px; }
  #meet .facts + .btn, #meet .more-toggle + .btn { margin-top: 0; }

  .cta h2 { font-size: 2.1rem; }
}

/* ---------- Other pages on a phone: Services, Approach and About ---------- */
@media (max-width: 700px) {
  .more-toggle { justify-self: start; }
  .section { padding: 48px 0; }
  .page-hero { padding: 36px 0 36px; }
  .page-hero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); margin-bottom: 16px; }
  .page-hero .lead { margin-bottom: 26px; }
  .page-hero .ratchet { margin-top: 18px; }
  .section h2 { font-size: 2rem; }

  /* Services: what it is and what you get stay visible, the rest opens on request */
  .doors-label { font-size: 1.4rem; margin-bottom: 12px; }
  .doors { gap: 10px; }
  .door { padding: 16px 18px; gap: 4px; }
  .door strong { font-size: 1.4rem; }
  .door .go { margin-top: 6px; }
  .svc { padding: 44px 0; }
  .svc-top { margin-bottom: 22px; gap: 0 18px; }
  .svc-top .big { margin-bottom: 6px; }
  .svc-top h2.word { font-size: 3.6rem; }
  .panel { display: flex; flex-direction: column; }
  .panel-detail { order: 1; padding: 22px 20px 10px; }
  .panel-offer { order: 2; padding: 24px 20px; }
  .panel-offer h3 { font-size: 1.9rem; }
  .panel-offer h3 + p { margin-bottom: 20px; }
  .panel-detail .lead { font-size: 1.2rem; margin-bottom: 4px; }
  .panel-detail .blk { display: none; }
  .svc.sec-open .panel-detail .blk { display: block; }
  .panel-detail .more-toggle { margin: 10px 0 12px; }
  .svc.dark .more-toggle { color: var(--brass); border-bottom-color: var(--brass); }
  .cards.two { margin-top: 24px; gap: 14px; }
  .card { padding: 22px 20px 22px; }
  .cards.two h3 { font-size: 1.6rem; }

  /* Approach: the three handbrake steps are a swipe, the four steps open one at a time */
  .beats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 24px -24px 0; padding: 0 24px 8px; scrollbar-width: none; }
  .beats::-webkit-scrollbar { display: none; }
  .beat { flex: 0 0 82%; scroll-snap-align: start; padding: 20px 18px 22px; }
  .beat:hover { transform: none; box-shadow: none; }
  .lvs { margin-bottom: 16px; }
  .dots { display: flex; gap: 6px; justify-content: center; margin-top: 12px; }
  .dots i { width: 7px; height: 7px; border-radius: 4px; background: rgba(138,113,64,.35); display: block; }
  .dots i.on { width: 22px; background: var(--brass-dark); }
  .engage { margin-top: 22px; }
  .erow { padding: 0; gap: 0; cursor: pointer; }
  .erow h3 { position: relative; padding: 18px 44px 18px 0; font-size: 1.7rem; }
  .erow h3::after { content: "+"; position: absolute; right: 2px; top: 18px; font: 300 2rem/1 var(--serif); color: var(--brass); }
  .erow.open h3::after { content: "\2013"; }
  .erow > div { display: none; padding: 0 0 18px; }
  .erow.open > div { display: block; }
  .p-grid { gap: 14px; }
  .prow { padding: 18px 0 20px 26px; }
  .prow h3 { font-size: 1.4rem; }
  .prow::before { top: 32px; }

  /* About: heading and quote stay, the paragraphs open on request */
  .about-hero { padding: 32px 0 36px; }
  .about-hero h1 { font-size: 2.6rem; margin-bottom: 14px; }
  .about-hero .about-grid { gap: 22px; }
  .about-hero .lead .rest { display: none; }
  .about-hero.sec-open .lead .rest { display: inline; }
  .about-hero .portrait.photo { max-width: 112px; margin: 0; }
  .about-hero .facts { margin-top: 14px; }
  .quote { padding: 36px 0; }
  .pullquote { font-size: 1.9rem; }
  .journey-sec { padding: 40px 0 48px; }
  .jnode { padding-left: 36px; padding-bottom: 34px; gap: 10px; }
  .jhead { position: static; }
  .jhead h2 { font-size: 1.8rem; margin-bottom: 14px; }
  .jquote { padding: 14px 16px; font-size: .98rem; }
  .jbody { display: none; margin-top: 4px; }
  .jnode.sec-open .jbody { display: block; }
  .jbody p { font-size: 1rem; }
  .jnode .more-toggle { margin: 6px 0 0; }
}
