/* ------------------------------------------------------------------
   About / Blog / Contact — the store's standalone pages.
   Loaded after style.css, which supplies the shared chrome. Same palette
   as the store: ink #08301F, paper #F6F4EE, line #DDD8CB, red #E1381C.
------------------------------------------------------------------ */

/* ---------- page hero ---------- */
.p-hero { background: #08301F; color: #F2F8F4; position: relative; overflow: hidden; }
.p-hero.shot { background-size: cover; background-position: center; }
.p-hero .wash { position: absolute; inset: 0;
  background: linear-gradient(96deg, rgba(8,48,31,0.96) 0%, rgba(8,48,31,0.88) 45%, rgba(8,48,31,0.55) 100%); }
.p-hero .mesh { position: absolute; inset: 0; background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 14px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,0.03) 0 1px, transparent 1px 14px); }
.p-hero-inner { position: relative; max-width: 1360px; margin: 0 auto; padding: 72px 40px 76px; }
.p-kicker { display: flex; align-items: center; gap: 12px; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.18em; text-transform: uppercase; color: #7FE0A8; margin-bottom: 22px; }
.p-kicker .rule { width: 26px; height: 1px; background: #7FE0A8; display: block; }
.p-hero h1 { font-size: clamp(36px, 3.6vw, 58px); line-height: 1.02; letter-spacing: -0.045em; font-weight: 800;
  margin: 0; max-width: 18ch; text-wrap: balance; }
.p-hero .sub { font-size: 17px; line-height: 1.6; color: #B9CEC2; max-width: 60ch; margin: 20px 0 0; text-wrap: pretty; }

.p-section { max-width: 1360px; margin: 0 auto; padding: 78px 40px 84px; }
.p-section.tight { padding-top: 56px; padding-bottom: 60px; }
.p-band { border-top: 1px solid #DDD8CB; }
.p-band.paper { background: #EEF2EA; background-image:
    repeating-linear-gradient(45deg, rgba(18,96,59,0.08) 0 1px, transparent 1px 13px),
    repeating-linear-gradient(-45deg, rgba(18,96,59,0.08) 0 1px, transparent 1px 13px); }
.p-band.dark { background: #14140F; color: #F2F1EC; }
.p-head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
  border-bottom: 1px solid #DDD8CB; padding-bottom: 20px; margin-bottom: 30px; }
.p-band.dark .p-head { border-bottom-color: rgba(255,255,255,0.16); }
.p-head .num { font-family: 'JetBrains Mono', monospace; font-size: 12px; color: #A29B88; }
.p-head h2 { font-size: 38px; font-weight: 800; letter-spacing: -0.035em; }
.p-head .aside { margin-left: auto; font-family: 'JetBrains Mono', monospace; font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase; color: #6B7A72; }

/* ---------- prose ---------- */
.prose { max-width: 68ch; }
.prose p { font-size: 16.5px; line-height: 1.72; color: #33463D; margin: 0 0 20px; text-wrap: pretty; }
.prose p.lede { font-size: 20px; line-height: 1.6; color: #10251C; }
.prose h3 { font-size: 23px; font-weight: 800; letter-spacing: -0.03em; margin: 34px 0 12px; }
.prose ul { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 1px; background: #E4E0D4; border: 1px solid #E4E0D4; }
.prose ul li { background: #FFFFFF; padding: 13px 16px; font-size: 15px; line-height: 1.55; color: #33463D; display: flex; gap: 12px; }
.prose ul li::before { content: "—"; color: #E1381C; font-family: 'JetBrains Mono', monospace; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 20px; border-left: 3px solid #E1381C;
  font-size: 20px; line-height: 1.5; font-weight: 700; letter-spacing: -0.02em; color: #10251C; }

/* ---------- about ---------- */
.about-split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 46px; align-items: start; }
.about-split > * { min-width: 0; }
.about-shot { border: 1px solid #DDD8CB; min-height: 340px; background-size: cover; background-position: center; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 1px;
  background: #DDD8CB; border: 1px solid #DDD8CB; }
.facts > div { background: #FFFFFF; padding: 20px 22px; min-width: 0; }
.p-band.dark .facts { background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.14); }
.p-band.dark .facts > div { background: #14140F; }
.facts b { display: block; font-family: 'JetBrains Mono', monospace; font-size: 27px; font-weight: 400; color: #08301F; }
.p-band.dark .facts b { color: #FFFFFF; }
.facts small { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #7E8B83; margin-top: 7px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 1px;
  background: #DDD8CB; border: 1px solid #DDD8CB; }
.steps > div { background: #FFFFFF; padding: 26px 24px; min-width: 0; }
.steps .n { font-family: 'JetBrains Mono', monospace; font-size: 11px; color: #E1381C; }
.steps h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.025em; margin: 10px 0 9px; }
.steps p { font-size: 14px; line-height: 1.6; color: #4A5A52; margin: 0; text-wrap: pretty; }

.timeline { display: grid; gap: 1px; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.14); }
.timeline > div { background: #14140F; padding: 18px 22px; display: grid; grid-template-columns: 90px 1fr; gap: 20px; align-items: baseline; }
.timeline .y { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: #7FE0A8; }
.timeline .t { font-size: 15px; line-height: 1.55; color: #D6D3C7; }

/* ---------- blog ---------- */
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 20px; }
.post-list > * { min-width: 0; }
.post-card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #E4E0D4; color: #10251C; overflow: hidden; }
.post-card:hover { border-color: #08301F; color: #10251C; }
.post-card .shot { height: 190px; background: #DED9CB; background-size: cover; background-position: center; position: relative; }
.post-card .shot.empty { background-image:
    repeating-linear-gradient(45deg, rgba(18,96,59,0.14) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(-45deg, rgba(18,96,59,0.14) 0 1px, transparent 1px 12px); }
.post-card .cat { position: absolute; left: 0; top: 14px; background: #E1381C; color: #FFFFFF;
  font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 10px; }
.post-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post-meta { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #8A9790; }
.post-card h3 { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; margin: 9px 0 10px; line-height: 1.15; }
.post-card p { font-size: 14px; line-height: 1.6; color: #4A5A52; margin: 0 0 16px; text-wrap: pretty; }
.post-card .go { margin-top: auto; border-top: 1px dashed #DDD8CB; padding-top: 13px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: #12603B; }

.post-head { max-width: 68ch; }
.post-body { display: grid; grid-template-columns: minmax(0, 68ch) 1fr; gap: 52px; align-items: start; }
.post-aside { position: sticky; top: 100px; border: 1px solid #DDD8CB; background: #FFFFFF; }
.post-aside .hd { background: #08301F; color: #FFFFFF; padding: 12px 18px; font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; }
.post-aside .rows { display: grid; }
.post-aside .rows a { padding: 14px 18px; border-bottom: 1px solid #EDEAE0; display: block; color: #10251C; font-size: 14.5px;
  font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.post-aside .rows a:last-child { border-bottom: 0; }
.post-aside .rows a:hover { background: #F4F2EC; color: #12603B; }
.post-aside .rows a span { display: block; font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase; color: #8A9790; font-weight: 400; margin-top: 5px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 1px;
  background: #DDD8CB; border: 1px solid #DDD8CB; margin-bottom: 26px; }
.contact-cards > div { background: #FFFFFF; padding: 20px 22px; min-width: 0; }
.contact-cards .lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #8A9790; margin-bottom: 8px; }
.contact-cards .val { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.4; display: block; }
.contact-cards .val a { color: #10251C; }
.contact-cards .val a:hover { color: #12603B; }
.contact-cards .fine { font-size: 13px; color: #6B7A72; margin-top: 6px; line-height: 1.5; }

.wa-panel { background: #08301F; color: #FFFFFF; padding: 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.wa-panel .lbl { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #7FE0A8; }
.wa-panel strong { display: block; font-size: 19px; letter-spacing: -0.025em; margin-top: 6px; }
.wa-panel .btn-send { width: auto; padding: 14px 20px; }

.form-card { background: #FFFFFF; border: 1px solid #DDD8CB; padding: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-card label { display: block; }
.form-card label span { display: block; font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #7E8B83; margin-bottom: 7px; }
.form-card input, .form-card select, .form-card textarea { width: 100%; border: 1px solid #DDD8CB; background: #FBFAF6;
  padding: 12px 14px; font-size: 15px; color: #10251C; font-family: inherit; }
.form-card textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.form-card input:focus, .form-card select:focus, .form-card textarea:focus { outline: 2px solid #7FE0A8; outline-offset: -2px; }
.form-card .full { grid-column: 1 / -1; }
.form-card .req { color: #E1381C; }
.form-note { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.08em; color: #8A9790;
  margin: 14px 0 0; line-height: 1.7; }
.field-err { border-color: #E1381C !important; background: #FDF3F1 !important; }

/* The enquiry form's bot trap. Moved off-screen rather than hidden with
   display:none, because some bots skip anything that is display:none —
   and a person never reaches it, since it is not in the tab order. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err-list { background: #FDF3F1; border: 1px solid #E1381C; padding: 14px 16px; margin-bottom: 20px; }
.err-list p { margin: 0 0 6px; font-size: 13.5px; color: #A32B12; font-weight: 600; }
.err-list ul { margin: 0; padding-left: 18px; font-size: 13.5px; color: #8C2A15; }
.sent { border: 1px solid #12603B; background: #FFFFFF; padding: 26px; }
.sent .tick { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: #12603B; }
.sent h2 { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; margin: 10px 0 12px; }
.sent p { font-size: 15px; line-height: 1.6; color: #4A5A52; margin: 0 0 16px; }
.sent .preview { background: #F4F2EC; border: 1px solid #E4E0D4; padding: 16px; font-family: 'JetBrains Mono', monospace;
  font-size: 12px; line-height: 1.7; color: #33463D; white-space: pre-wrap; margin-bottom: 18px; overflow-x: auto; }
.sent .acts { display: flex; gap: 10px; flex-wrap: wrap; }
.sent .acts .btn-send { width: auto; padding: 14px 20px; }
.sent .acts .alt { display: inline-flex; align-items: center; padding: 14px 20px; border: 1px solid #C9C2AE;
  color: #10251C; font-size: 14px; font-weight: 600; }
.sent .acts .alt:hover { background: #08301F; color: #FFFFFF; border-color: #08301F; }

.hours { display: grid; gap: 1px; background: #DDD8CB; border: 1px solid #DDD8CB; }
.hours > div { background: #FFFFFF; padding: 12px 16px; display: flex; justify-content: space-between; gap: 14px;
  font-family: 'JetBrains Mono', monospace; font-size: 12px; }
.hours .d { color: #8A9790; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .contact-grid, .post-body { grid-template-columns: 1fr; gap: 32px; }
  .post-aside { position: static; }
}
@media (max-width: 860px) {
  .p-hero-inner { padding: 52px 20px 56px; }
  .p-section { padding: 54px 20px 58px; }
  .p-head h2 { font-size: 29px; }
  .p-head .aside { margin-left: 0; }
  .about-split { gap: 30px; }
  .form-grid { grid-template-columns: 1fr; }
  .timeline > div { grid-template-columns: 1fr; gap: 6px; }
}

/* ---------------------------- user data policy ---------------------------- */
/* Set narrower than the rest of the site: a policy is read, not scanned,
   and 70-odd characters a line is where that stops being work. */
.policy { max-width: 74ch; }
.policy .lede { font-size: 19px; line-height: 1.6; color: #3D5147; margin: 0 0 8px; text-wrap: pretty; }
.policy-block { margin-top: 38px; }
.policy-block h2 { display: flex; gap: 14px; align-items: baseline; font-size: 22px; font-weight: 800;
  letter-spacing: -0.025em; margin: 0 0 12px; }
.policy-block h2 .n { font-family: 'JetBrains Mono', monospace; font-size: 12px; font-weight: 400; color: #A0AEA6; }
.policy-block p { font-size: 16px; line-height: 1.68; color: #3D5147; margin: 0 0 14px; text-wrap: pretty; }
.policy .mats-cta { margin-top: 40px; }
.policy-updated { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #9AA79F; margin: 26px 0 0; }
@media (max-width: 860px) {
  .policy-block h2 { font-size: 19px; }
  .policy-block p { font-size: 15px; }
}

/* ---------------------------- FAQ ---------------------------- */
/* A sticky index beside the questions. The questions themselves are
   <details>, which is open to a crawler and works with the CSP without a
   line of script. */
.faq-layout { display: grid; grid-template-columns: 230px minmax(0, 74ch); gap: 52px; align-items: start; }
.faq-nav { position: sticky; top: 100px; display: grid; border-left: 2px solid #DDD8CB; }
.faq-nav a { padding: 9px 0 9px 16px; margin-left: -2px; border-left: 2px solid transparent;
  font-family: 'JetBrains Mono', monospace; font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: #6B7A72; line-height: 1.5; }
.faq-nav a:hover { color: #12603B; border-left-color: #12603B; }
.faq-group { margin-bottom: 42px; }
.faq-group h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 14px;
  padding-bottom: 12px; border-bottom: 1px solid #DDD8CB; scroll-margin-top: 100px; }
.faq-item { border-bottom: 1px solid #E4E0D4; background: #FFFFFF; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 18px; position: relative;
  font-size: 16.5px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-family: 'JetBrains Mono', monospace; font-size: 18px; font-weight: 400; color: #12603B; line-height: 1; }
.faq-item[open] summary::after { content: '−'; }
.faq-item summary:hover { color: #12603B; }
.faq-answer { padding: 0 44px 18px 18px; font-size: 15.5px; line-height: 1.68; color: #3D5147; text-wrap: pretty; }
.faq-body .mats-cta { margin-top: 12px; }

/* ---------------------------- export ---------------------------- */
.export-lede { max-width: 74ch; }

/* ---------------------------- samples ---------------------------- */
.form-title { font-size: 21px; font-weight: 800; letter-spacing: -0.03em; margin: 0 0 18px; }
.steps.one-col { grid-template-columns: 1fr; }

/* ---------------------------- case studies ---------------------------- */
/* The three headline numbers on an index card. Enough to judge whether
   the job resembles yours without opening it. */
.card-stats { display: flex; flex-wrap: wrap; gap: 18px; margin: 0 0 16px; }
.card-stats span { font-family: 'JetBrains Mono', monospace; font-size: 9px; letter-spacing: 0.12em;
  text-transform: uppercase; color: #8A9790; line-height: 1.35; }
.card-stats b { display: block; font-size: 17px; letter-spacing: 0; color: #08301F; margin-bottom: 2px; }
.meta-rows { display: grid; }
.meta-rows > div { padding: 12px 18px; border-bottom: 1px solid #EDEAE0; }
.meta-rows > div:last-child { border-bottom: 0; }
.meta-rows span { display: block; font-family: 'JetBrains Mono', monospace; font-size: 9px;
  letter-spacing: 0.14em; text-transform: uppercase; color: #8A9790; margin-bottom: 3px; }
.meta-rows b { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: #10251C; }

@media (max-width: 1000px) {
  .faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .faq-nav { position: static; display: flex; flex-wrap: wrap; border-left: 0;
    border-bottom: 1px solid #DDD8CB; padding-bottom: 10px; gap: 6px 18px; }
  .faq-nav a { padding: 0; margin: 0; border-left: 0; }
}
