/* =========================================================
   CDS Docket — theme.css
   Motif: a driver's delivery docket. Paper, carbon copy,
   biro signature, rubber stamp. One price, written down.
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root{
  --ink:        #0F1518;
  --ink-soft:   #465256;
  --ink-faint:  #7C888B;
  --paper:      #E7EAE7;
  --sheet:      #F7F8F6;
  --sheet-2:    #EFF1EE;
  --biro:       #1B34C9;
  --stamp:      #D62828;
  --rule:       #C6CCC7;
  --rule-soft:  #D9DEDA;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Instrument Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-util:    "Courier Prime", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --step--1: clamp(0.78rem, 0.76rem + 0.10vw, 0.84rem);
  --step-0:  clamp(1rem, 0.96rem + 0.20vw, 1.12rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.45rem);
  --step-2:  clamp(1.50rem, 1.34rem + 0.80vw, 2.05rem);
  --step-3:  clamp(1.95rem, 1.65rem + 1.50vw, 3.05rem);
  --step-4:  clamp(2.45rem, 1.85rem + 3.00vw, 4.60rem);

  --wrap: 1180px;
  --gap: clamp(1.25rem, 0.9rem + 1.6vw, 2.5rem);
  --section-y: clamp(4rem, 3rem + 6vw, 8.5rem);
  --radius: 3px;

  --shadow-sheet: 0 1px 0 rgba(15,21,24,.10), 0 14px 34px -18px rgba(15,21,24,.42);
  --shadow-lift:  0 2px 0 rgba(15,21,24,.12), 0 26px 50px -22px rgba(15,21,24,.5);
}

/* ---------- 2. Base ---------- */
*,*::before,*::after{ box-sizing:border-box; }

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

body{
  margin:0;
  background-color:var(--paper);
  background-image:
    linear-gradient(rgba(15,21,24,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,21,24,.028) 1px, transparent 1px);
  background-size: 26px 26px, 26px 26px;
  color:var(--ink);
  font-family:var(--font-body);
  font-size:var(--step-0);
  line-height:1.62;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

img,svg,video{ max-width:100%; height:auto; display:block; }

a{ color:var(--biro); text-decoration-thickness:1px; text-underline-offset:.22em; }
a:hover{ text-decoration-thickness:2px; }

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:700;
  line-height:1.02;
  letter-spacing:-.025em;
  margin:0 0 .5em;
  font-variation-settings:"wdth" 92, "opsz" 40;
}
h1{ font-size:var(--step-4); }
h2{ font-size:var(--step-3); }
h3{ font-size:var(--step-1); letter-spacing:-.015em; }
p{ margin:0 0 1.15em; }
p:last-child{ margin-bottom:0; }

:focus-visible{ outline:3px solid var(--biro); outline-offset:3px; border-radius:2px; }

.screen-reader-text{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--ink); color:var(--sheet); padding:.75rem 1.25rem;
  font-family:var(--font-util); text-transform:uppercase; letter-spacing:.08em;
}
.skip-link:focus{ left:0; }

.wrap{ width:min(100% - 2.5rem, var(--wrap)); margin-inline:auto; }
.wrap--narrow{ width:min(100% - 2.5rem, 780px); margin-inline:auto; }

/* ---------- 3. Docket primitives ---------- */

/* A "sheet" is a piece of paper on the desk. */
.sheet{
  position:relative;
  background:var(--sheet);
  border:1px solid var(--rule);
  border-radius:var(--radius);
  box-shadow:var(--shadow-sheet);
}

/* Perforated edge — the tear-off strip on a carbon-copy docket. */
.perf{
  position:relative;
}
.perf::after{
  content:"";
  position:absolute; left:0; right:0; bottom:-1px; height:6px;
  background-image:radial-gradient(circle at 4px 3px, var(--paper) 2.6px, transparent 2.8px);
  background-size:12px 6px;
  background-repeat:repeat-x;
  pointer-events:none;
}

/* Field label — the printed caption above a hand-filled box. */
.field-label,
.eyebrow{
  font-family:var(--font-util);
  font-size:.68rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--ink-faint);
  margin:0 0 .35rem;
  display:block;
}
.eyebrow{ color:var(--biro); }
.eyebrow--stamp{ color:var(--stamp); }

.field-value{
  font-family:var(--font-util);
  font-size:.95rem;
  color:var(--ink);
  margin:0;
}

/* Rubber stamp */
.stamp{
  display:inline-block;
  font-family:var(--font-display);
  font-weight:800;
  font-size:.82rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--stamp);
  border:2.5px solid var(--stamp);
  border-radius:4px;
  padding:.42rem .8rem;
  transform:rotate(-6deg);
  opacity:.88;
  background:transparent;
  white-space:nowrap;
}

/* Dotted leader between a label and a value, like a filled-in form line */
.leader{
  display:flex; align-items:baseline; gap:.6rem;
  padding:.6rem 0;
  border-bottom:1px dashed var(--rule);
}
.leader__name{ flex:1 1 auto; }
.leader__dots{
  flex:1 1 auto; min-width:1rem;
  border-bottom:1px dotted var(--rule);
  transform:translateY(-.28em);
}
.leader__value{
  flex:0 0 auto;
  font-family:var(--font-util);
  font-size:.9rem;
  letter-spacing:.02em;
  color:var(--ink-soft);
}

/* ---------- 4. Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:.6rem;
  font-family:var(--font-display);
  font-weight:700;
  font-size:.98rem;
  letter-spacing:-.01em;
  padding:.92rem 1.5rem;
  border-radius:2px;
  border:1.5px solid var(--ink);
  background:var(--ink);
  color:var(--sheet);
  text-decoration:none;
  cursor:pointer;
  transition:transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
  box-shadow:3px 3px 0 rgba(15,21,24,.18);
}
.btn:hover{ transform:translate(-1px,-1px); box-shadow:5px 5px 0 rgba(15,21,24,.22); }
.btn:active{ transform:translate(1px,1px); box-shadow:1px 1px 0 rgba(15,21,24,.2); }

.btn--ghost{
  background:transparent; color:var(--ink);
  box-shadow:3px 3px 0 rgba(15,21,24,.10);
}
.btn--ghost:hover{ background:var(--ink); color:var(--sheet); }

.btn--biro{ background:var(--biro); border-color:var(--biro); color:#fff; }
.btn--biro:hover{ background:#152aa6; border-color:#152aa6; }

.btn__arrow{ transition:transform .18s ease; }
.btn:hover .btn__arrow{ transform:translateX(3px); }

/* ---------- 5. Site header ---------- */
.site-header{
  position:sticky; top:0; z-index:60;
  background:rgba(231,234,231,.86);
  backdrop-filter:saturate(150%) blur(10px);
  border-bottom:1px solid var(--rule);
}
.site-header__inner{
  display:flex; align-items:center; justify-content:space-between; gap:1.5rem;
  padding:.85rem 0;
}
.brand{ display:flex; align-items:center; gap:.7rem; text-decoration:none; color:var(--ink); }
.brand__mark{
  width:38px; height:38px; flex:0 0 38px;
  display:grid; place-items:center;
  background:var(--ink); color:var(--sheet);
  font-family:var(--font-display); font-weight:800; font-size:.82rem; letter-spacing:.02em;
  border-radius:2px;
}
.brand__name{
  font-family:var(--font-display); font-weight:700; font-size:1.02rem; letter-spacing:-.02em;
  line-height:1.1; display:block;
}
.brand__role{
  font-family:var(--font-util); font-size:.64rem; letter-spacing:.14em;
  text-transform:uppercase; color:var(--ink-faint); display:block;
}
.custom-logo{ max-height:46px; width:auto; }

.nav{ display:flex; align-items:center; gap:1.6rem; }
.nav ul{ display:flex; gap:1.5rem; list-style:none; margin:0; padding:0; }
.nav a{
  font-family:var(--font-util); font-size:.76rem; letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink); text-decoration:none; padding:.35rem 0; position:relative;
}
.nav a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:1.5px;
  background:var(--biro); transform:scaleX(0); transform-origin:left; transition:transform .2s ease;
}
.nav a:hover::after,
.nav .current-menu-item > a::after{ transform:scaleX(1); }

.header-cta{ display:inline-flex; }
.header-cta .btn{ padding:.62rem 1.05rem; font-size:.85rem; }

.nav-toggle{
  display:none; background:none; border:1.5px solid var(--ink); border-radius:2px;
  padding:.5rem .7rem; cursor:pointer; font-family:var(--font-util);
  font-size:.7rem; letter-spacing:.12em; text-transform:uppercase; color:var(--ink);
}

/* ---------- 6. Hero ---------- */
.hero{ padding:clamp(2.5rem,2rem+3vw,4.5rem) 0 var(--section-y); position:relative; }
.hero__grid{
  display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,1.5rem+3vw,4rem);
  align-items:center;
}
.hero__lede{ max-width:34ch; }
.hero h1{ margin-bottom:.55em; font-variation-settings:"wdth" 88, "opsz" 96; }
.hero__sub{
  font-size:var(--step-1); line-height:1.45; color:var(--ink-soft); max-width:38ch;
  margin-bottom:2rem;
}
.hero__sub strong{ color:var(--ink); font-weight:600; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:.85rem; align-items:center; }
.hero__note{
  margin-top:1.6rem; font-family:var(--font-util); font-size:.76rem;
  letter-spacing:.06em; color:var(--ink-faint);
}

/* The docket itself — the signature element */
.docket{
  background:var(--sheet);
  border:1px solid var(--rule);
  border-radius:var(--radius);
  box-shadow:var(--shadow-lift);
  transform:rotate(-1.1deg);
  position:relative;
  overflow:hidden;
}
.docket::before{
  content:""; position:absolute; inset:0; pointer-events:none;
  background:repeating-linear-gradient(180deg, transparent 0 27px, rgba(27,52,201,.035) 27px 28px);
}
.docket__head{
  display:flex; align-items:flex-start; gap:1rem;
  padding:1.1rem 1.25rem;
  border-bottom:2px solid var(--ink);
  background:var(--sheet-2);
}
.docket__mark{
  width:40px; height:40px; flex:0 0 40px; display:grid; place-items:center;
  background:var(--ink); color:var(--sheet); border-radius:2px;
  font-family:var(--font-display); font-weight:800; font-size:.8rem;
}
.docket__titles{ flex:1 1 auto; }
.docket__title{
  font-family:var(--font-display); font-weight:700; font-size:1.05rem; letter-spacing:-.02em;
  margin:0; line-height:1.15;
}
.docket__sub{
  font-family:var(--font-util); font-size:.68rem; letter-spacing:.08em;
  text-transform:uppercase; color:var(--ink-faint); margin:.2rem 0 0;
}
.docket__ref{ text-align:right; }
.docket__ref .field-label{ margin-bottom:.1rem; }
.docket__ref .field-value{ font-weight:700; }

.docket__fields{
  display:grid; grid-template-columns:1fr 1fr;
  border-bottom:1px dashed var(--rule);
}
.docket__field{
  padding:.8rem 1.25rem;
  border-right:1px dashed var(--rule);
}
.docket__field:nth-child(2n){ border-right:0; }
.docket__field:nth-child(n+3){ border-top:1px dashed var(--rule); }

.docket__lines{ list-style:none; margin:0; padding:.5rem 1.25rem .25rem; }
.docket__lines .leader:last-child{ border-bottom:0; }
.docket__lines .leader__name{
  font-family:var(--font-body); font-size:.94rem; flex:0 1 auto;
}
.docket__lines .leader__value{ color:var(--ink); font-weight:700; }

.docket__total{
  display:flex; align-items:baseline; justify-content:space-between; gap:1rem;
  padding:.9rem 1.25rem;
  border-top:2px solid var(--ink);
  background:var(--sheet-2);
}
.docket__total-label{
  font-family:var(--font-util); font-size:.7rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--ink-soft);
}
.docket__total-value{
  font-family:var(--font-display); font-weight:800; font-size:clamp(2rem,1.6rem+1.6vw,2.8rem);
  letter-spacing:-.04em; line-height:1;
  font-variation-settings:"wdth" 85;
}
.docket__total-value sup{ font-size:.42em; top:-.9em; position:relative; letter-spacing:0; }

.docket__foot{
  display:flex; align-items:flex-end; justify-content:space-between; gap:1rem;
  padding:1rem 1.25rem 1.15rem;
  border-top:1px dashed var(--rule);
}
.docket__sign{ flex:1 1 auto; max-width:230px; }
.docket__sign svg{ width:100%; height:auto; overflow:visible; }
.docket__sign-line{
  border-top:1px solid var(--ink); margin-top:.15rem; padding-top:.25rem;
}
.sig-path{
  fill:none; stroke:var(--biro); stroke-width:2.4;
  stroke-linecap:round; stroke-linejoin:round;
  stroke-dasharray:820; stroke-dashoffset:820;
}
.is-ready .sig-path{ animation:sign 1.6s cubic-bezier(.65,.05,.36,1) .45s forwards; }
@keyframes sign{ to{ stroke-dashoffset:0; } }

.docket__stamp{ flex:0 0 auto; }
.is-ready .docket__stamp .stamp{ animation:thump .5s cubic-bezier(.2,1.4,.4,1) 1.75s both; }
@keyframes thump{
  0%{ transform:rotate(-14deg) scale(2.1); opacity:0; }
  60%{ transform:rotate(-5deg) scale(.94); opacity:.95; }
  100%{ transform:rotate(-6deg) scale(1); opacity:.88; }
}

/* ---------- 7. Ticker ---------- */
.ticker{
  border-block:1px solid var(--rule);
  background:var(--ink);
  color:var(--sheet);
  overflow:hidden;
  padding:.7rem 0;
}
.ticker__track{
  display:flex; gap:2.5rem; width:max-content;
  animation:slide 38s linear infinite;
}
.ticker__track span{
  font-family:var(--font-util); font-size:.76rem; letter-spacing:.14em; text-transform:uppercase;
  white-space:nowrap; display:inline-flex; align-items:center; gap:2.5rem;
}
.ticker__track span::after{ content:"◆"; color:var(--stamp); font-size:.6rem; }
@keyframes slide{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- 8. Sections ---------- */
.section{ padding:var(--section-y) 0; }
.section--tight{ padding:clamp(3rem,2.4rem+3vw,5rem) 0; }
.section--dark{ background:var(--ink); color:var(--sheet); }
.section--dark h2,.section--dark h3{ color:var(--sheet); }
.section--dark .eyebrow{ color:#8FA0FF; }
.section--dark .field-label{ color:rgba(247,248,246,.55); }
.section--dark a{ color:#9EB0FF; }

.section__head{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,.85fr);
  gap:clamp(1.5rem,1rem+3vw,4rem); align-items:end;
  margin-bottom:clamp(2rem,1.5rem+2vw,3.5rem);
  padding-bottom:1.25rem;
  border-bottom:2px solid currentColor;
}
.section__head p{ color:var(--ink-soft); margin:0; }
.section--dark .section__head p{ color:rgba(247,248,246,.72); }
.section__head h2{ margin:0; }

/* ---------- 9. Package / what you get ---------- */
.package{
  display:grid; grid-template-columns:1.15fr .85fr; gap:clamp(1.5rem,1rem+2.5vw,3rem);
  align-items:start;
}
.spec-list{ list-style:none; margin:0; padding:0; }
.spec{
  display:grid; grid-template-columns:auto 1fr auto; gap:1rem; align-items:baseline;
  padding:1.1rem 0; border-bottom:1px dashed var(--rule);
}
.spec:first-child{ border-top:1px dashed var(--rule); }
.spec__tick{
  font-family:var(--font-util); font-size:.72rem; color:var(--biro); letter-spacing:.1em;
}
.spec__body h3{ margin:0 0 .2rem; font-size:1.06rem; }
.spec__body p{ margin:0; color:var(--ink-soft); font-size:.94rem; }
.spec__price{
  font-family:var(--font-util); font-size:.72rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--ink-faint); white-space:nowrap;
}

.price-card{
  position:sticky; top:6rem;
  background:var(--ink); color:var(--sheet);
  border-radius:var(--radius); padding:1.6rem 1.5rem 1.5rem;
  box-shadow:var(--shadow-lift);
}
.price-card .field-label{ color:rgba(247,248,246,.55); }
.price-card__figure{
  font-family:var(--font-display); font-weight:800; font-size:clamp(3rem,2.2rem+3vw,4.4rem);
  line-height:.9; letter-spacing:-.045em; margin:.2rem 0 .1rem;
  font-variation-settings:"wdth" 82;
}
.price-card__figure sup{ font-size:.36em; top:-1.1em; position:relative; }
.price-card__meta{
  font-family:var(--font-util); font-size:.72rem; letter-spacing:.1em; text-transform:uppercase;
  color:rgba(247,248,246,.6); margin:0 0 1.2rem;
}
.price-card ul{ list-style:none; margin:0 0 1.4rem; padding:0; }
.price-card li{
  font-size:.92rem; padding:.5rem 0; border-bottom:1px dashed rgba(247,248,246,.18);
  display:flex; gap:.6rem;
}
.price-card li::before{ content:"—"; color:#8FA0FF; }
.price-card .btn{ width:100%; justify-content:center; background:var(--sheet); color:var(--ink); border-color:var(--sheet); box-shadow:3px 3px 0 rgba(247,248,246,.2); }
.price-card .btn:hover{ background:#fff; }

/* ---------- 10. Work grid ---------- */
.work-grid{
  display:grid; grid-template-columns:repeat(auto-fill, minmax(310px,1fr));
  gap:clamp(1.25rem,1rem+1.5vw,2rem);
}
.job{
  background:var(--sheet); border:1px solid var(--rule); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  box-shadow:var(--shadow-sheet);
  transition:transform .22s ease, box-shadow .22s ease;
}
.job:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lift); }
.job__thumb{
  aspect-ratio:16/11; background:var(--sheet-2); overflow:hidden; position:relative;
  border-bottom:1px solid var(--rule);
}
.job__thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.job:hover .job__thumb img{ transform:scale(1.04); }
.job__thumb--empty{
  display:grid; place-items:center;
  background-image:repeating-linear-gradient(135deg, var(--sheet-2) 0 10px, var(--sheet) 10px 20px);
}
.job__thumb--empty span{
  font-family:var(--font-util); font-size:.72rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-faint);
}
.job__body{ padding:1.1rem 1.15rem 1.25rem; display:flex; flex-direction:column; gap:.45rem; flex:1 1 auto; }
.job__meta{
  display:flex; justify-content:space-between; gap:1rem;
  font-family:var(--font-util); font-size:.68rem; letter-spacing:.12em; text-transform:uppercase;
  color:var(--ink-faint);
}
.job__title{ margin:0; font-size:1.18rem; }
.job__title a{ color:var(--ink); text-decoration:none; }
.job__title a:hover{ color:var(--biro); }
.job__excerpt{ margin:0; font-size:.93rem; color:var(--ink-soft); }
.job__tags{
  margin-top:auto; padding-top:.75rem; display:flex; flex-wrap:wrap; gap:.4rem;
}
.job__tag{
  font-family:var(--font-util); font-size:.64rem; letter-spacing:.1em; text-transform:uppercase;
  border:1px solid var(--rule); border-radius:2px; padding:.2rem .45rem; color:var(--ink-soft);
}

/* ---------- 11. Process (delivery statuses) ---------- */
.route{ display:grid; grid-template-columns:repeat(4,1fr); gap:0; }
.leg{
  padding:1.6rem 1.4rem 1.8rem;
  border-left:1px dashed rgba(247,248,246,.25);
  position:relative;
}
.leg:first-child{ border-left:0; padding-left:0; }
.leg:last-child{ padding-right:0; }
.leg__stamp{ margin-bottom:1rem; }
.leg .stamp{ color:#FF7A6E; border-color:#FF7A6E; transform:rotate(-3deg); }
.leg h3{ font-size:1.12rem; margin:0 0 .4rem; }
.leg p{ color:rgba(247,248,246,.72); font-size:.94rem; margin:0; }
.leg__when{
  display:block; margin-top:.9rem;
  font-family:var(--font-util); font-size:.68rem; letter-spacing:.12em; text-transform:uppercase;
  color:rgba(247,248,246,.5);
}

/* ---------- 12. About ---------- */
.about{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(1.75rem,1.2rem+3vw,4rem); align-items:start; }
.about__photo{
  border:1px solid var(--rule); border-radius:var(--radius); overflow:hidden;
  box-shadow:var(--shadow-sheet); background:var(--sheet); padding:.6rem .6rem 3.2rem;
  position:relative; transform:rotate(1.4deg);
}
.about__photo img{ width:100%; border-radius:1px; }
.about__photo figcaption{
  position:absolute; left:.9rem; right:.9rem; bottom:1rem;
  font-family:var(--font-util); font-size:.7rem; letter-spacing:.06em; color:var(--ink-soft);
}
.about__photo--empty{
  aspect-ratio:4/5; display:grid; place-items:center; padding:0;
  background-image:repeating-linear-gradient(135deg, var(--sheet-2) 0 12px, var(--sheet) 12px 24px);
}
.about__body p{ font-size:var(--step-1); line-height:1.5; color:var(--ink-soft); }
.about__body p:first-of-type{ color:var(--ink); }
.about__facts{ display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr)); gap:1.25rem; margin-top:2rem; padding-top:1.5rem; border-top:2px solid var(--ink); }

/* ---------- 13. Testimonials ---------- */
.quotes{ display:grid; grid-template-columns:repeat(auto-fit,minmax(290px,1fr)); gap:clamp(1.25rem,1rem+1.5vw,2rem); }
.quote{
  background:var(--sheet); border:1px solid var(--rule); border-radius:var(--radius);
  padding:1.5rem 1.4rem 1.25rem; box-shadow:var(--shadow-sheet); position:relative;
}
.quote__mark{
  font-family:var(--font-display); font-weight:800; font-size:2.6rem; line-height:.6;
  color:var(--biro); opacity:.25; display:block; margin-bottom:.5rem;
}
.quote blockquote{ margin:0 0 1.1rem; font-size:1.02rem; line-height:1.55; }
.quote__by{
  display:flex; align-items:center; gap:.7rem; padding-top:.9rem; border-top:1px dashed var(--rule);
}
.quote__avatar{ width:38px; height:38px; border-radius:50%; object-fit:cover; flex:0 0 38px; }
.quote__name{ font-family:var(--font-display); font-weight:700; font-size:.95rem; display:block; line-height:1.2; }
.quote__role{ font-family:var(--font-util); font-size:.68rem; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-faint); }

/* ---------- 14. FAQ ---------- */
.faq{ border-top:2px solid var(--ink); }
.faq__item{ border-bottom:1px dashed var(--rule); }
.faq__q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:1.5rem;
  background:none; border:0; cursor:pointer; text-align:left;
  padding:1.35rem 0; color:var(--ink);
  font-family:var(--font-display); font-weight:700; font-size:var(--step-1); letter-spacing:-.02em;
}
.faq__q:hover{ color:var(--biro); }
.faq__sign{
  flex:0 0 auto; width:24px; height:24px; position:relative;
  border:1.5px solid currentColor; border-radius:2px;
}
.faq__sign::before,.faq__sign::after{
  content:""; position:absolute; inset:50% 5px auto; height:1.5px; background:currentColor; transform:translateY(-50%);
}
.faq__sign::after{ transform:translateY(-50%) rotate(90deg); transition:transform .22s ease; }
.faq__q[aria-expanded="true"] .faq__sign::after{ transform:translateY(-50%) rotate(0deg); }
.faq__a{ overflow:hidden; max-height:0; transition:max-height .3s ease; }
.faq__a-inner{ padding:0 0 1.4rem; max-width:70ch; color:var(--ink-soft); }

/* ---------- 15. Enquiry form ---------- */
.enquiry{
  display:grid; grid-template-columns:.95fr 1.05fr; gap:clamp(1.75rem,1.2rem+3vw,4rem);
  align-items:start;
}
.enquiry__aside p{ color:rgba(247,248,246,.75); }
.enquiry__contacts{ list-style:none; margin:1.75rem 0 0; padding:1.4rem 0 0; border-top:1px dashed rgba(247,248,246,.25); display:grid; gap:1rem; }
.enquiry__contacts a{ font-family:var(--font-util); font-size:.95rem; }

.form-sheet{
  background:var(--sheet); color:var(--ink); border-radius:var(--radius);
  padding:1.6rem 1.5rem; box-shadow:var(--shadow-lift);
}
.form-row{ display:grid; gap:1.1rem; grid-template-columns:1fr 1fr; margin-bottom:1.1rem; }
.form-field{ display:block; }
.form-field--full{ grid-column:1/-1; }
.form-field label{
  font-family:var(--font-util); font-size:.68rem; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-faint); display:block; margin-bottom:.35rem;
}
.form-field input,
.form-field select,
.form-field textarea{
  width:100%; font-family:var(--font-body); font-size:.98rem; color:var(--ink);
  background:transparent; border:0; border-bottom:1.5px solid var(--rule);
  padding:.55rem .1rem; border-radius:0;
  transition:border-color .18s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus{ outline:none; border-bottom-color:var(--biro); }
.form-field textarea{ resize:vertical; min-height:120px; }
.form-hp{ position:absolute; left:-9999px; opacity:0; height:0; }
.form-foot{ display:flex; align-items:center; justify-content:space-between; gap:1rem; flex-wrap:wrap; margin-top:1.4rem; }
.form-foot small{ font-family:var(--font-util); font-size:.68rem; letter-spacing:.06em; color:var(--ink-faint); max-width:26ch; }

.form-notice{
  padding:.9rem 1rem; border-radius:2px; margin-bottom:1.25rem;
  font-family:var(--font-util); font-size:.82rem; letter-spacing:.02em;
}
.form-notice--ok{ background:rgba(27,52,201,.08); border:1px solid var(--biro); color:var(--biro); }
.form-notice--err{ background:rgba(214,40,40,.08); border:1px solid var(--stamp); color:var(--stamp); }

/* ---------- 16. Footer ---------- */
.site-footer{
  background:var(--ink); color:var(--sheet); padding:clamp(3rem,2.4rem+2vw,4.5rem) 0 2rem;
  border-top:6px solid var(--stamp);
}
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:2.5rem;
  padding-bottom:2.5rem; border-bottom:1px dashed rgba(247,248,246,.22);
}
.footer-grid h4{
  font-family:var(--font-util); font-size:.7rem; letter-spacing:.16em; text-transform:uppercase;
  color:rgba(247,248,246,.55); margin:0 0 1rem; font-weight:400;
}
.footer-grid ul{ list-style:none; margin:0; padding:0; display:grid; gap:.6rem; }
.footer-grid a{ color:var(--sheet); text-decoration:none; font-size:.95rem; }
.footer-grid a:hover{ color:#9EB0FF; text-decoration:underline; }
.footer-blurb{ color:rgba(247,248,246,.7); max-width:38ch; font-size:.96rem; }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; gap:1.5rem; flex-wrap:wrap;
  padding-top:1.5rem;
  font-family:var(--font-util); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase;
  color:rgba(247,248,246,.5);
}
.socials{ display:flex; gap:.8rem; }
.socials a{
  width:34px; height:34px; display:grid; place-items:center; border:1px solid rgba(247,248,246,.3);
  border-radius:2px; color:var(--sheet);
}
.socials a:hover{ background:var(--sheet); color:var(--ink); }

/* ---------- 17. Blog / single / archive ---------- */
.page-hero{ padding:clamp(3rem,2.4rem+3vw,5rem) 0 0; }
.page-hero h1{ max-width:20ch; }
.page-hero__meta{ display:flex; flex-wrap:wrap; gap:1.5rem; margin-top:1.5rem; padding-top:1.25rem; border-top:2px solid var(--ink); }

.entry-content{ max-width:72ch; }
.entry-content h2{ margin-top:2em; }
.entry-content h3{ margin-top:1.6em; }
.entry-content img{ border-radius:var(--radius); border:1px solid var(--rule); }
.entry-content blockquote{
  margin:2rem 0; padding:1rem 0 1rem 1.5rem; border-left:3px solid var(--biro);
  font-size:var(--step-1); line-height:1.45; color:var(--ink);
}
.entry-content ul,.entry-content ol{ padding-left:1.2rem; }
.entry-content li{ margin-bottom:.5rem; }
.entry-content code{ font-family:var(--font-util); font-size:.9em; background:var(--sheet-2); padding:.15em .4em; border-radius:2px; }
.entry-content pre{ background:var(--ink); color:var(--sheet); padding:1.25rem; border-radius:var(--radius); overflow-x:auto; }
.entry-content pre code{ background:none; color:inherit; padding:0; }
.entry-content table{ width:100%; border-collapse:collapse; }
.entry-content th,.entry-content td{ border:1px solid var(--rule); padding:.6rem .75rem; text-align:left; }
.alignwide{ width:min(100vw - 3rem, 1180px); margin-inline:auto; max-width:none; }
.alignfull{ width:100vw; margin-left:calc(50% - 50vw); max-width:none; }

.post-list{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:2rem; }

.pagination{ display:flex; gap:.5rem; margin-top:3rem; flex-wrap:wrap; }
.pagination .page-numbers{
  font-family:var(--font-util); font-size:.8rem; padding:.55rem .9rem;
  border:1px solid var(--rule); border-radius:2px; text-decoration:none; color:var(--ink);
}
.pagination .current{ background:var(--ink); color:var(--sheet); border-color:var(--ink); }

.project-gallery{ display:grid; gap:1.25rem; margin-top:2.5rem; }
.project-facts{
  display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:1.5rem;
  padding:1.5rem 0; border-block:1px dashed var(--rule); margin:2rem 0;
}

.error-404{ text-align:center; padding:clamp(4rem,3rem+6vw,9rem) 0; }
.error-404 .stamp{ font-size:1.1rem; margin-bottom:2rem; }

/* ---------- 18. Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- 19. Responsive ---------- */
@media (max-width:1000px){
  .hero__grid{ grid-template-columns:1fr; }
  .hero__lede{ max-width:none; }
  .docket{ transform:none; }
  .package{ grid-template-columns:1fr; }
  .price-card{ position:static; }
  .about{ grid-template-columns:1fr; }
  .about__photo{ max-width:340px; }
  .enquiry{ grid-template-columns:1fr; }
  .route{ grid-template-columns:1fr 1fr; }
  .leg{ border-left:0; border-top:1px dashed rgba(247,248,246,.25); padding-inline:0; }
  .leg:nth-child(-n+2){ border-top:0; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
}

@media (max-width:760px){
  .section__head{ grid-template-columns:1fr; align-items:start; }
  .nav-toggle{ display:inline-block; }
  .nav{
    display:none; position:absolute; left:0; right:0; top:100%;
    background:var(--sheet); border-bottom:1px solid var(--rule);
    flex-direction:column; align-items:stretch; gap:0; padding:.5rem 1.25rem 1.25rem;
    box-shadow:var(--shadow-sheet);
  }
  .nav.is-open{ display:flex; }
  .nav ul{ flex-direction:column; gap:0; }
  .nav li{ border-bottom:1px dashed var(--rule); }
  .nav a{ display:block; padding:.9rem 0; font-size:.85rem; }
  .header-cta{ display:none; }
  .docket__fields{ grid-template-columns:1fr; }
  .docket__field{ border-right:0; }
  .docket__field + .docket__field{ border-top:1px dashed var(--rule); }
  .docket__foot{ flex-direction:column; align-items:flex-start; gap:1.25rem; }
  .form-row{ grid-template-columns:1fr; }
  .route{ grid-template-columns:1fr; }
  .leg:nth-child(2){ border-top:1px dashed rgba(247,248,246,.25); }
  .footer-grid{ grid-template-columns:1fr; gap:2rem; }
  .spec{ grid-template-columns:auto 1fr; }
  .spec__price{ grid-column:2; }
}

/* ---------- 20. Motion & print ---------- */
@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important; animation-iteration-count:1 !important;
    transition-duration:.001ms !important; scroll-behavior:auto !important;
  }
  .sig-path{ stroke-dashoffset:0; }
  .reveal{ opacity:1; transform:none; }
  .ticker__track{ animation:none; }
}

@media print{
  .site-header,.site-footer,.ticker,.btn{ display:none !important; }
  body{ background:#fff; }
  .sheet,.docket{ box-shadow:none; transform:none; }
}
