/* Components added for services, FAQ, case studies, insights and polish.
   Loaded after styles.css so it can refine earlier rules. */

main,section
{
  scroll-margin-top:20px
}
/* Keep the header (and its full-screen mobile menu) above every page section;
   background.css gives sections and header the same z-index otherwise. */
header
{
  z-index:10
}
/* Component display rules must never un-hide something marked hidden. */
[hidden]
{
  display:none !important
}

/* ---------- Skip link ---------- */
.skip-link
{
  position:fixed;
  top:12px;
  left:12px;
  z-index:100;
  padding:12px 16px;
  background:var(--lime);
  color:var(--bg);
  font:11px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.06em;
  translate:0 -200%;
  transition:translate .25s ease
}
.skip-link:focus
{
  translate:0 0
}

/* ---------- Shared section heading ---------- */
.section-head
{
  display:grid;
  grid-template-columns:1fr 2fr 1fr;
  align-items:start;
  margin-bottom:64px
}
.section-head h2
{
  font-size:clamp(46px,6vw,86px);
  line-height:.9;
  letter-spacing:-.08em;
  margin:0
}
.section-head p
{
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
  max-width:220px;
  margin:0 0 0 auto
}
.band
{
  padding:120px 5vw;
  border-top:1px solid var(--line);
  position:relative;
  z-index:1
}

/* ---------- Services ---------- */
.services-grid
{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  border-top:1px solid var(--line)
}
.service
{
  padding:34px 26px 38px 0;
  border-right:1px solid var(--line);
  position:relative
}
.service+.service
{
  padding-left:26px
}
.service:last-child
{
  border-right:0
}
.service small
{
  display:block;
  margin-bottom:60px
}
.service h3
{
  font-size:clamp(24px,2.3vw,34px);
  line-height:.98;
  letter-spacing:-.06em;
  margin:0 0 18px
}
.service p
{
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
  margin:0 0 18px
}
.service ul
{
  margin:0;
  padding:0;
  list-style:none;
  font:10px/2 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--ink)
}
.service li::before
{
  content:'✳ ';
  color:var(--lime)
}
.service::after
{
  content:'';
  position:absolute;
  left:0;
  right:0;
  top:-1px;
  height:1px;
  background:var(--lime);
  transform:scaleX(0);
  transform-origin:0 50%;
  transition:transform .6s cubic-bezier(.16,1,.3,1)
}
.service:hover::after
{
  transform:scaleX(1)
}

/* ---------- Process ---------- */
.process
{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
  counter-reset:step
}
.process li
{
  counter-increment:step;
  padding-top:22px;
  border-top:1px solid var(--line)
}
.process li::before
{
  content:counter(step,decimal-leading-zero);
  display:block;
  font:clamp(40px,5vw,72px)/1 'DM Mono',monospace;
  color:var(--lime);
  margin-bottom:26px
}
.process h3
{
  font-size:20px;
  letter-spacing:-.04em;
  margin:0 0 10px
}
.process p
{
  color:var(--muted);
  font-size:13px;
  line-height:1.65;
  margin:0
}

/* ---------- FAQ ---------- */
.faq
{
  max-width:860px;
  margin-left:auto;
  border-top:1px solid var(--line)
}
.faq details
{
  border-bottom:1px solid var(--line)
}
.faq summary
{
  list-style:none;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:26px 0;
  font-size:clamp(18px,1.8vw,24px);
  font-weight:600;
  letter-spacing:-.04em
}
.faq summary::-webkit-details-marker
{
  display:none
}
.faq summary::after
{
  content:'+';
  flex:none;
  font:24px/1 'DM Mono',monospace;
  color:var(--lime);
  transition:rotate .4s cubic-bezier(.16,1,.3,1)
}
.faq details[open] summary::after
{
  rotate:45deg
}
.faq summary:hover
{
  color:var(--lime)
}
.faq .answer
{
  padding:0 60px 28px 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.7
}
.faq .answer p
{
  margin:0 0 12px
}
.faq .answer a
{
  color:var(--ink);
  text-decoration:underline;
  text-decoration-color:var(--lime);
  text-underline-offset:3px
}
/* Smooth open/close where supported (Chrome 131+); others just snap. */
@supports (interpolate-size:allow-keywords)
{
  .faq
  {
    interpolate-size:allow-keywords
  }
  .faq details::details-content
  {
    block-size:0;
    overflow:hidden;
    transition:block-size .5s cubic-bezier(.16,1,.3,1),content-visibility .5s allow-discrete
  }
  .faq details[open]::details-content
  {
    block-size:auto
  }
}

/* ---------- Testimonials (enable in index.html once you have real quotes) ---------- */
.testimonials
{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:26px
}
.testimonial
{
  margin:0;
  padding:30px;
  border:1px solid var(--line)
}
.testimonial blockquote
{
  margin:0 0 26px;
  font-size:19px;
  line-height:1.45;
  letter-spacing:-.02em
}
.testimonial figcaption
{
  font:10px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted)
}

/* ---------- Book a call ---------- */
.book-call
{
  margin-top:48px;
  padding:26px 28px;
  border:1px solid var(--line);
  max-width:520px;
  display:flex;
  gap:20px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap
}
.book-call p
{
  margin:0;
  color:var(--muted);
  font-size:13px;
  line-height:1.6
}
.book-call strong
{
  display:block;
  color:var(--ink);
  font-size:16px;
  letter-spacing:-.02em;
  margin-bottom:2px
}
.book-call a
{
  flex:none;
  padding:12px 16px;
  border:1px solid var(--lime);
  font:11px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.06em;
  transition:background-color .3s ease,color .3s ease
}
.book-call a:hover
{
  background:var(--lime);
  color:var(--bg)
}

/* ---------- Enquiry form: project details ---------- */
.contact fieldset
{
  border:0;
  margin:0;
  padding:0
}
.contact legend
{
  padding:0;
  margin-bottom:12px;
  color:var(--muted);
  font:10px 'DM Mono',monospace;
  text-transform:uppercase
}
.chips
{
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.contact .chips label
{
  display:block;
  position:relative;
  cursor:pointer
}
.section-head p a
{
  color:var(--ink);
  text-decoration:underline;
  text-decoration-color:var(--lime);
  text-underline-offset:3px
}
.contact .chips input
{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px
}
.chips span
{
  display:inline-block;
  padding:9px 14px;
  border:1px solid var(--line);
  border-radius:40px;
  color:var(--ink);
  font:13px Manrope,sans-serif;
  text-transform:none;
  transition:border-color .2s ease,background-color .2s ease,color .2s ease
}
.chips label:hover span
{
  border-color:var(--muted)
}
.chips input:checked+span
{
  background:var(--lime);
  border-color:var(--lime);
  color:var(--bg)
}
.chips input:focus-visible+span
{
  outline:2px solid var(--lime);
  outline-offset:3px
}
.contact select
{
  appearance:none;
  border:0;
  border-bottom:1px solid var(--line);
  border-radius:0;
  background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23d7f36a' fill='none'/%3E%3C/svg%3E") no-repeat right 2px center;
  color:var(--ink);
  padding:11px 20px 11px 0;
  font:14px Manrope,sans-serif;
  outline:0;
  cursor:pointer
}
.contact select:focus
{
  border-color:var(--lime)
}
.contact select option
{
  background:var(--bg);
  color:var(--ink)
}

/* ---------- Case study ---------- */
.case-hero
{
  padding:36px 5vw 80px;
  border-bottom:1px solid var(--line);
  position:relative;
  z-index:1
}
.case-hero h1
{
  padding-top:clamp(80px,10vw,140px);
  font-size:clamp(58px,9.5vw,146px);
  line-height:.86;
  letter-spacing:-.09em;
  margin:0 0 50px
}
.case-hero h1 em,.article-hero h1 em
{
  font:400 .98em Georgia,serif;
  letter-spacing:-.08em;
  color:var(--lime)
}
.facts
{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:26px;
  margin:0;
  padding-top:22px;
  border-top:1px solid var(--line)
}
.facts dt
{
  font:10px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted);
  margin-bottom:8px
}
.facts dd
{
  margin:0;
  font-size:15px;
  line-height:1.5
}
.case-visual
{
  position:relative;
  z-index:1;
  margin:0 5vw;
  display:grid;
  grid-template-columns:minmax(280px,460px) 1fr;
  border:1px solid var(--line);
  border-top:0;
  background:rgba(17,18,17,.6)
}
.case-reel
{
  position:relative;
  height:min(70vh,620px);
  overflow:hidden;
  background:#183021
}
.case-visual .code-reel
{
  position:absolute;
  inset:0
}
.pipeline
{
  padding:40px clamp(22px,4vw,56px);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:14px
}
.lane-label
{
  margin:14px 0 0;
  font:10px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--lime)
}
.lane
{
  margin:0;
  padding:0;
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  align-items:stretch;
  gap:10px
}
.lane li
{
  position:relative;
  flex:1 1 120px;
  padding:14px 14px 16px;
  border:1px solid var(--line);
  font-size:15px;
  font-weight:600;
  letter-spacing:-.02em
}
.lane li small
{
  display:block;
  margin-top:6px;
  font-weight:400;
  letter-spacing:.06em
}
/* Arrow between steps. */
.lane li+li::before
{
  content:'→';
  position:absolute;
  left:-10px;
  top:50%;
  translate:-50% -50%;
  color:var(--lime);
  font-size:12px;
  line-height:1
}
.case-visual .media-note
{
  position:absolute;
  left:22px;
  bottom:18px;
  z-index:2;
  font:10px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(233,231,223,.55)
}
.case-visual .code-reel .code-track
{
  display:block;
  width:auto;
  max-width:none;
  height:auto;
  will-change:transform;
  animation:code-scroll 100s linear infinite paused
}
.case-visual .code-reel.is-playing .code-track
{
  animation-play-state:running
}
.case-body
{
  padding:110px 5vw 60px;
  display:grid;
  grid-template-columns:1fr 2fr;
  gap:40px;
  position:relative;
  z-index:1
}
.prose
{
  max-width:680px
}
.prose h2
{
  font-size:clamp(28px,3vw,42px);
  line-height:1;
  letter-spacing:-.06em;
  margin:0 0 22px
}
.prose h3
{
  font-size:18px;
  letter-spacing:-.03em;
  margin:32px 0 8px
}
.prose p,.prose li
{
  color:var(--muted);
  font-size:16px;
  line-height:1.75
}
.prose p
{
  margin:0 0 18px
}
.prose ul,.prose ol
{
  margin:0 0 18px;
  padding-left:20px
}
.prose li
{
  margin-bottom:8px
}
.prose li::marker
{
  color:var(--lime)
}
.prose strong
{
  color:var(--ink);
  font-weight:600
}
.prose a
{
  color:var(--ink);
  text-decoration:underline;
  text-decoration-color:var(--lime);
  text-underline-offset:3px
}
.prose section
{
  padding-bottom:56px;
  margin-bottom:56px;
  border-bottom:1px solid var(--line)
}
.prose section:last-child
{
  border-bottom:0;
  margin-bottom:0
}
.prose .callout
{
  margin:26px 0;
  padding:20px 22px;
  border-left:2px solid var(--lime);
  background:rgba(215,243,106,.05);
  color:var(--ink);
  font-size:15px;
  line-height:1.65
}
.stack
{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0;
  padding:0;
  list-style:none
}
.prose .stack li
{
  margin:0;
  padding:7px 12px;
  border:1px solid var(--line);
  border-radius:40px;
  color:var(--ink);
  font:11px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.05em
}
.prose .stack li::marker
{
  content:''
}
.aside-sticky
{
  position:sticky;
  top:40px;
  align-self:start
}
.aside-sticky p
{
  color:var(--muted);
  font-size:13px;
  line-height:1.6;
  max-width:240px
}
.next-step
{
  padding:110px 5vw 140px;
  border-top:1px solid var(--line);
  position:relative;
  z-index:1
}
.next-step h2
{
  font-size:clamp(46px,7vw,110px);
  line-height:.9;
  letter-spacing:-.08em;
  margin:0 0 36px
}

/* ---------- Insights ---------- */
.article-hero
{
  padding:36px 5vw 70px;
  border-bottom:1px solid var(--line);
  position:relative;
  z-index:1
}
.article-hero h1
{
  padding-top:clamp(70px,9vw,130px);
  max-width:1100px;
  font-size:clamp(46px,7vw,104px);
  line-height:.9;
  letter-spacing:-.08em;
  margin:0 0 34px
}
.article-hero .lede
{
  max-width:600px;
  color:var(--muted);
  font-size:17px;
  line-height:1.65;
  margin:0
}
.post-list
{
  margin:0;
  padding:0;
  list-style:none;
  border-top:1px solid var(--line)
}
.post-list a
{
  display:grid;
  grid-template-columns:140px 1fr auto;
  gap:26px;
  align-items:baseline;
  padding:34px 0;
  border-bottom:1px solid var(--line);
  transition:color .25s ease
}
.post-list time,.post-list .read
{
  font:10px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:var(--muted)
}
.post-list h2
{
  font-size:clamp(24px,3vw,40px);
  line-height:1;
  letter-spacing:-.06em;
  margin:0 0 10px
}
.post-list p
{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.6;
  max-width:620px
}
.post-list a:hover h2
{
  color:var(--lime)
}
.disclaimer
{
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid var(--line);
  color:var(--muted);
  font-size:12px;
  line-height:1.6
}

/* ---------- 404 ---------- */
.not-found
{
  min-height:calc(100vh - 160px);
  padding:36px 5vw 90px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  z-index:1
}
.not-found .code
{
  font:clamp(90px,20vw,300px)/.8 'DM Mono',monospace;
  color:var(--lime);
  letter-spacing:-.06em
}
.not-found h1
{
  font-size:clamp(36px,5vw,72px);
  line-height:.95;
  letter-spacing:-.07em;
  margin:30px 0 20px
}
.not-found p
{
  color:var(--muted);
  max-width:460px;
  line-height:1.6;
  margin:0 0 34px
}
.not-found-links
{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  font:11px 'DM Mono',monospace;
  text-transform:uppercase;
  color:var(--ink)
}

/* ---------- Team: optional photo and LinkedIn ---------- */
.team-portrait img
{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:1
}
.team-linkedin
{
  display:inline-block;
  margin-top:22px;
  font:11px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--ink);
  border-bottom:1px solid var(--lime);
  padding-bottom:4px
}

/* ---------- Full-screen mobile menu ---------- */
@media(max-width:800px)
{
  .menu
  {
    position:relative;
    z-index:3;
    width:44px;
    height:44px;
    margin-right:-10px;
    font-size:0
  }
  .menu::before,.menu::after
  {
    content:'';
    position:absolute;
    left:11px;
    right:11px;
    height:1.5px;
    background:var(--ink);
    transition:translate .4s cubic-bezier(.16,1,.3,1),rotate .4s cubic-bezier(.16,1,.3,1)
  }
  .menu::before
  {
    translate:0 -4px
  }
  .menu::after
  {
    translate:0 4px
  }
  .menu[aria-expanded="true"]::before
  {
    translate:0 0;
    rotate:45deg
  }
  .menu[aria-expanded="true"]::after
  {
    translate:0 0;
    rotate:-45deg
  }
  header nav,header nav.is-open
  {
    display:flex;
    position:fixed;
    inset:0;
    z-index:2;
    margin:0;
    padding:110px 6vw 40px;
    flex-direction:column;
    justify-content:flex-start;
    gap:4px;
    background:var(--bg);
    border:0;
    visibility:hidden;
    clip-path:inset(0 0 100% 0);
    transition:clip-path .6s cubic-bezier(.65,0,.35,1),visibility 0s linear .6s
  }
  header nav.is-open
  {
    visibility:visible;
    clip-path:inset(0);
    transition:clip-path .6s cubic-bezier(.65,0,.35,1),visibility 0s
  }
  header nav a
  {
    font:600 clamp(40px,12vw,64px)/1.1 Manrope,sans-serif;
    letter-spacing:-.06em;
    text-transform:none;
    color:var(--ink);
    padding:6px 0;
    border-bottom:1px solid var(--line);
    opacity:0;
    translate:0 30px;
    transition:opacity .5s ease,translate .7s cubic-bezier(.16,1,.3,1),color .2s ease
  }
  header nav.is-open a
  {
    opacity:1;
    translate:0 0
  }
  header nav.is-open a:nth-child(2)
  {
    transition-delay:.05s
  }
  header nav.is-open a:nth-child(3)
  {
    transition-delay:.1s
  }
  header nav.is-open a:nth-child(4)
  {
    transition-delay:.15s
  }
  header nav.is-open a:nth-child(5)
  {
    transition-delay:.2s
  }
  header nav a:hover
  {
    color:var(--lime)
  }
  .wordmark
  {
    position:relative;
    z-index:3
  }
  body.menu-open
  {
    overflow:hidden
  }

  .section-head
  {
    display:block;
    margin-bottom:44px
  }
  .section-head h2
  {
    margin:26px 0 20px;
    font-size:52px
  }
  .section-head p
  {
    margin:0
  }
  .band
  {
    padding:90px 6vw
  }
  .services-grid
  {
    grid-template-columns:1fr
  }
  .service,.service+.service
  {
    padding:30px 0 34px;
    border-right:0;
    border-bottom:1px solid var(--line)
  }
  .service small
  {
    margin-bottom:26px
  }
  .process
  {
    grid-template-columns:1fr 1fr;
    row-gap:40px
  }
  .faq .answer
  {
    padding-right:0
  }
  .case-hero,.article-hero
  {
    padding:27px 6vw 55px
  }
  .facts
  {
    grid-template-columns:1fr 1fr
  }
  .case-visual
  {
    margin:0 6vw;
    grid-template-columns:1fr
  }
  .case-reel
  {
    height:50vh
  }
  .lane li
  {
    flex-basis:40%
  }
  .lane li+li::before
  {
    display:none
  }
  .case-body
  {
    display:block;
    padding:70px 6vw 40px
  }
  .aside-sticky
  {
    position:static;
    margin-bottom:40px
  }
  .next-step
  {
    padding:80px 6vw 100px
  }
  .post-list a
  {
    grid-template-columns:1fr;
    gap:10px
  }
  .not-found
  {
    padding:27px 6vw 70px
  }
}
@media(max-width:480px)
{
  .process
  {
    grid-template-columns:1fr
  }
}

/* ---------- 3D modelling card: live wireframe (wireframe.js) ---------- */
.media.model
{
  background:
    linear-gradient(rgba(17,18,17,.07) 1px,transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg,rgba(17,18,17,.07) 1px,transparent 1px) 0 0 / 24px 24px,
    #d7f36a
}
.media.model::before,.media.model::after
{
  display:none
}
.media.model .media-placeholder
{
  opacity:0
}
.model-canvas
{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:0
}
.media .model-note
{
  position:absolute;
  left:16px;
  bottom:14px;
  z-index:1;
  font:10px 'DM Mono',monospace;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:rgba(17,18,17,.6)
}

/* ---------- Q&A: scrapbook collage heading ---------- */
.qa-section
{
  /* clip, not hidden: keeps the rotated paper pieces from causing sideways
     scroll without breaking the sticky heading. */
  overflow-x:clip;
  padding-inline:clamp(24px,8vw,140px)
}
.qa-layout
{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:clamp(40px,6vw,110px);
  align-items:start
}
.qa-collage
{
  position:sticky;
  top:40px;
  padding:0 clamp(0px,2vw,30px) 40px
}
.qa-label
{
  display:block;
  margin-bottom:34px
}
.qa-title
{
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1
}
.qa-piece
{
  display:inline-block;
  position:relative;
  transition:rotate .6s cubic-bezier(.34,1.56,.64,1)
}
/* Strips of lime washi tape. */
.qa-questions::before,.qa-questions::after,.qa-answers::before
{
  content:'';
  position:absolute;
  width:1.25em;
  height:.34em;
  background:
    repeating-linear-gradient(90deg,rgba(17,18,17,.08) 0 3px,transparent 3px 9px),
    rgba(215,243,106,.62);
  pointer-events:none
}
.qa-questions
{
  font:800 clamp(56px,7.2vw,128px)/.95 Manrope,sans-serif;
  letter-spacing:-.07em;
  background:var(--ink);
  color:var(--bg);
  padding:.08em .22em .12em .14em;
  rotate:-4deg;
  box-shadow:0 18px 40px rgba(0,0,0,.45)
}
.qa-questions::before
{
  top:-.17em;
  left:-.22em;
  rotate:-20deg
}
.qa-questions::after
{
  right:-.28em;
  bottom:-.1em;
  rotate:24deg
}
.qa-amp
{
  z-index:2;
  width:clamp(92px,10.5vw,186px);
  aspect-ratio:1;
  margin:-.2em 0 -.42em clamp(110px,15vw,270px);
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--lime);
  color:var(--bg);
  font:italic 400 clamp(64px,7.4vw,132px)/1 Georgia,serif;
  rotate:12deg;
  box-shadow:0 14px 30px rgba(0,0,0,.45),inset 0 0 0 3px rgba(17,18,17,.12)
}
.qa-amp>span:first-child
{
  translate:0 .04em
}
.qa-answers
{
  z-index:1;
  margin-left:clamp(12px,3vw,56px);
  padding:.14em .3em .2em .34em;
  font:400 clamp(54px,6.8vw,120px)/1 Georgia,serif;
  letter-spacing:-.05em;
  color:#1a1b19;
  /* Ruled notebook paper with a margin line. */
  background:
    linear-gradient(90deg,transparent .2em,rgba(224,120,90,.55) .2em,rgba(224,120,90,.55) calc(.2em + 2px),transparent calc(.2em + 2px)),
    repeating-linear-gradient(transparent 0 .3em,rgba(119,136,199,.35) .3em calc(.3em + 1px)),
    #f1efe6;
  rotate:3deg;
  box-shadow:0 18px 40px rgba(0,0,0,.45)
}
.qa-answers::before
{
  top:-.18em;
  right:.3em;
  rotate:12deg
}
.qa-questions:hover
{
  rotate:-1deg
}
.qa-amp:hover
{
  rotate:-10deg
}
.qa-answers:hover
{
  rotate:0deg
}
.qa-note
{
  display:inline-block;
  margin:46px 0 0 clamp(18px,6vw,96px);
  padding:10px 14px;
  rotate:-2deg;
  border:1px dashed rgba(233,231,223,.35);
  background:rgba(17,18,17,.7);
  color:var(--ink);
  font:12px/1.5 'DM Mono',monospace;
  letter-spacing:.06em;
  text-transform:uppercase
}
.qa-note a
{
  color:var(--lime);
  text-decoration:underline;
  text-underline-offset:3px
}
.qa-stamp
{
  position:absolute;
  top:-6px;
  right:clamp(0px,3vw,40px);
  padding:8px 10px 7px 13px;
  border:2px solid var(--lime);
  border-radius:6px;
  color:var(--lime);
  font:700 14px/1 'DM Mono',monospace;
  letter-spacing:.24em;
  rotate:-14deg;
  opacity:.85
}

/* Pieces "stick" onto the page as the section scrolls in. */
.motion [data-reveal="stick"]
{
  opacity:0;
  transform:scale(1.2) translateY(-14px);
  transition:opacity .35s ease,transform .75s cubic-bezier(.34,1.56,.64,1);
  transition-delay:var(--delay,0ms)
}
.motion [data-reveal="stick"].is-in
{
  opacity:1;
  transform:none
}

/* Questions numbered like index cards. */
.qa-section .faq
{
  max-width:none;
  margin:0;
  counter-reset:question
}
.qa-section .faq details
{
  counter-increment:question
}
.qa-section .faq summary::before
{
  content:'Q.' counter(question,decimal-leading-zero);
  flex:none;
  width:46px;
  font:11px 'DM Mono',monospace;
  letter-spacing:.06em;
  color:var(--lime)
}
.qa-section .faq summary
{
  justify-content:flex-start
}
.qa-section .faq summary::after
{
  margin-left:auto
}
.qa-section .faq .answer
{
  padding-left:70px
}

@media(max-width:900px)
{
  .qa-layout
  {
    grid-template-columns:1fr;
    gap:64px
  }
  .qa-collage
  {
    position:static;
    padding:0 0 10px
  }
}
@media(max-width:800px)
{
  .qa-section
  {
    padding-inline:6vw
  }
  .qa-note
  {
    margin-top:34px
  }
  .qa-section .faq summary::before
  {
    width:38px
  }
  .qa-section .faq .answer
  {
    padding-left:0
  }
}
@media(max-width:420px)
{
  .qa-questions
  {
    font-size:50px
  }
  .qa-answers
  {
    font-size:48px
  }
  .qa-amp
  {
    width:84px;
    font-size:58px;
    margin-left:96px
  }
}

/* ---------- Mobile fixes from the device audit ---------- */
@media(max-width:800px)
{
  /* motion.css sets .start to inline-block for its magnetic effect, which was
     overriding the rule that hides it on phones; Contact lives in the menu. */
  .start
  {
    display:none
  }
  /* Small monospace labels read better slightly larger on phones. */
  .meta,.top,small,.label,.eyebrow
  {
    font-size:11px
  }
}
/* Larger touch areas for small text links and buttons, without moving anything:
   an invisible pseudo-element extends each hit area by 12px. */
@media(max-width:800px),(pointer:coarse)
{
  .enquire,.big-link,.footer-links a,footer>a,.legal-example a,.contact button,.qa-note a,.team-linkedin,.intro a
  {
    position:relative
  }
  .enquire::after,.big-link::after,.footer-links a::after,footer>a::after,.legal-example a::after,.contact button::after,.qa-note a::after,.team-linkedin::after,.intro a::after
  {
    content:'';
    position:absolute;
    inset:-12px -6px
  }
}

/* ---------- Logo: vantier_ ---------- */
header .wordmark
{
  display:inline-flex;
  align-items:baseline;
  font:500 23px/1 'DM Mono',monospace;
  letter-spacing:-.01em;
  text-transform:none;
  color:var(--ink)
}
.wordmark-cursor
{
  display:inline-block;
  width:.52em;
  height:.13em;
  margin-left:.04em;
  background:var(--lime)
}
@media(max-width:800px)
{
  header .wordmark
  {
    font-size:21px
  }
}
