/* The Studio service pages (/seo/, /aeo-geo/ and the ones that follow them). theme.css is the paper, type and tokens,
   shell.css the header and footer; this file is only the service page's own pieces, so every service page reads the
   same. A page is: .svc-head (label, h1, lead, the two buttons), then .svc-sec sections (a .label and .svc-h2 on the
   left, the content on the right), ending in .svc-close (the way to the quote form). Every word is plain HTML, so a
   reader with no JavaScript (an AI crawler) gets the whole page. A new service page copies an existing one and changes
   the words, the JSON-LD and the head; the classes stay. The full spec (sections, markup, reading level) is checked by
   scripts/check-studio-services.mjs on every stage. */

/* the top: a notebook page like the home's hero (ruled lines, the red margin), only as tall as its words */
.svc-head{padding-block:calc(var(--head-h,64px) + clamp(56px,9vh,110px)) clamp(56px,8vw,100px);
  background-image:linear-gradient(to right,transparent calc(var(--gl) - 22px),rgba(192,65,47,.26) calc(var(--gl) - 22px),rgba(192,65,47,.26) calc(var(--gl) - 21px),transparent calc(var(--gl) - 21px)),repeating-linear-gradient(to bottom,transparent 0 41px,var(--rule) 41px 42px)}
.svc-head .label a{text-decoration:none}
.svc-head .label a:hover{color:var(--stamp)}
.svc-title{margin:14px 0 0;max-width:15ch;font-family:var(--hand);font-weight:300;font-size:clamp(46px,6.6vw,104px);line-height:1;text-wrap:balance}
.svc-title em{font-style:normal;font-weight:400;color:var(--stamp)}
.svc-lead{margin:28px 0 0;max-width:54ch;font-size:clamp(18px,1.5vw,20px);line-height:1.6;color:var(--ink-2)}
.svc-do{display:flex;flex-wrap:wrap;align-items:center;gap:14px 16px;margin-top:34px}
.svc-small{margin:16px 0 0;font-size:14px;color:var(--pencil)}

/* a section: what it is on the left, the content on the right; one column on a phone */
.svc-sec{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:20px clamp(32px,5vw,80px);padding-block:clamp(56px,8vw,104px);border-top:1px solid var(--rule)}
.svc-side{align-self:start}
@media (min-width:961px){.svc-side{position:sticky;top:calc(var(--head-h,64px) + 32px)}}
.svc-h2{margin:12px 0 0;font-family:var(--hand);font-weight:300;font-size:clamp(38px,4.4vw,62px);line-height:1.02;text-wrap:balance}
.svc-body{min-width:0;max-width:68ch;font-size:17px;line-height:1.7}
.svc-body>:first-child{margin-top:0}
.svc-body p{margin:0 0 1.1em}
.svc-body p:last-child{margin-bottom:0}
.svc-body :is(ul,ol,dl,.svc-table-wrap)+p{margin-top:1.4em}
.svc-body a:not(.send){color:var(--stamp);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.svc-body a:not(.send):hover{text-decoration-thickness:2px}
.svc-body :is(h3,h4){margin:0;font-size:18px;font-weight:600;line-height:1.35}
.svc-body q{quotes:"\201C" "\201D"}
@media (max-width:960px){.svc-sec{grid-template-columns:minmax(0,1fr)}}

/* the words, each a term and what it means */
.svc-terms{margin:0 0 1.6em;display:grid;gap:22px}
.svc-terms div{display:grid;grid-template-columns:minmax(0,9rem) minmax(0,1fr);gap:4px 24px;padding-top:18px;border-top:1px solid var(--rule)}
.svc-terms dt{font-family:var(--hand);font-size:30px;line-height:1.05;color:var(--stamp)}
.svc-terms dd{margin:0}
@media (max-width:560px){.svc-terms div{grid-template-columns:minmax(0,1fr)}}

/* what the work includes: a small heading, then one item per row (its name, then what it means in plain words) */
.svc-body .svc-group{margin:0 0 14px;font-size:11px;font-weight:400;letter-spacing:.24em;text-transform:uppercase;color:var(--pencil)}
.svc-body .svc-group:not(:first-child){margin-top:48px}
.svc-items{list-style:none;margin:0;padding:0;display:grid;gap:0}
.svc-items li{padding:20px 0;border-top:1px solid var(--rule)}
.svc-items li:last-child{border-bottom:1px solid var(--rule)}
.svc-items p{margin:6px 0 0;color:var(--ink-2)}

/* how the work runs: the home's four stages, as a column with the red numbers */
.svc-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 40px}
.svc-steps li{padding-top:16px;border-top:1.5px solid rgba(31,29,26,.2)}
.svc-steps .n{display:block;font-family:var(--hand);font-weight:400;font-size:48px;line-height:1;color:var(--red)}
.svc-steps h3{margin:6px 0 8px;font-family:var(--hand);font-weight:400;font-size:30px;line-height:1.05}
.svc-steps p{margin:0;color:var(--ink-2);font-size:16px}
@media (max-width:560px){.svc-steps{grid-template-columns:minmax(0,1fr)}}

/* a plain list with a hand tick */
.svc-ticks{list-style:none;margin:0;padding:0;display:grid;gap:14px}
.svc-ticks li{position:relative;padding-left:34px}
.svc-ticks li::before{content:"";position:absolute;left:0;top:.35em;width:20px;height:20px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13.5 C 6 15, 8 18, 9.5 20.5 C 12 14, 16 8, 21.5 3.5' fill='none' stroke='%23C0412F' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/contain no-repeat}

/* the words we keep where a promise comes up */
.svc-promise{margin:1.6em 0 0;padding:6px 0 6px 20px;border-left:2px solid rgba(192,65,47,.5);font-family:var(--hand);font-size:clamp(24px,2.2vw,30px);line-height:1.2;color:var(--ink)}

/* a client's words, the ruled index card from the work page */
.svc-card{--row:1.6em;--margin:2.4rem;position:relative;margin:28px 0;padding:var(--row) clamp(18px,3vw,36px) var(--row) calc(var(--margin) + clamp(12px,2vw,22px));
  font-family:var(--hand);font-size:clamp(22px,2vw,27px);line-height:var(--row);background-color:#FBFAF7;transform:rotate(-.5deg);
  background-image:linear-gradient(90deg,transparent var(--margin),rgba(192,65,47,.26) var(--margin),rgba(192,65,47,.26) calc(var(--margin) + 1px),transparent calc(var(--margin) + 1px)),repeating-linear-gradient(transparent 0 calc(var(--row) - 1px),var(--rule) calc(var(--row) - 1px) var(--row));
  box-shadow:0 1px 1px rgba(0,0,0,.06),0 14px 30px -12px rgba(40,32,20,.25)}
.svc-card blockquote{margin:0}
.svc-card figcaption{margin-top:calc(var(--row) * .5);font-family:var(--pen);font-size:.8em}
.svc-card figcaption span{font-family:var(--sans);font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--pencil);margin-left:10px}

/* questions owners ask: each one visible, the same words as the FAQPage markup */
.svc-faq{display:grid;gap:0}
.svc-faq div{padding:22px 0;border-top:1px solid var(--rule)}
.svc-faq div:last-child{border-bottom:1px solid var(--rule)}
.svc-faq p{margin:8px 0 0;color:var(--ink-2)}

/* the end: the way to the quote form */
.svc-close{padding-block:clamp(72px,10vw,130px) clamp(80px,10vw,130px);border-top:1px solid var(--rule)}
.svc-close .svc-h2{font-size:clamp(46px,6vw,96px);max-width:16ch}
.svc-close p:not(.label){margin:20px 0 0;max-width:50ch;color:var(--ink-2);font-size:17px}

/* a film inside the words (the reels page) never runs past a small phone */
.svc-body video{max-width:100%;height:auto}

/* the trail above the h1, the same three steps as the BreadcrumbList markup */
.svc-crumbs{margin:0 0 28px}
.svc-crumbs ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 10px;font-size:13px;color:var(--pencil)}
.svc-crumbs li+li::before{content:"/";margin-right:10px;color:#CFC9BE}
.svc-crumbs a{color:var(--pencil);text-decoration:none}
.svc-crumbs a:hover{color:var(--ink)}
.svc-crumbs [aria-current]{color:var(--ink-2)}

/* "In short": the answer first, then four facts, the part an AI answer lifts whole */
.svc-short{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:20px clamp(32px,5vw,80px);padding-block:clamp(48px,7vw,88px);border-top:1px solid var(--rule)}
.svc-short .svc-answer{margin:0;max-width:60ch;font-size:clamp(19px,1.6vw,22px);line-height:1.55;color:var(--ink)}
.svc-facts{margin:28px 0 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
.svc-facts div{padding:16px 0;border-top:1px solid var(--rule)}
.svc-facts dt{font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--pencil)}
.svc-facts dd{margin:6px 0 0;font-size:16px;line-height:1.55;color:var(--ink-2)}
@media (max-width:960px){.svc-short{grid-template-columns:minmax(0,1fr)}}
@media (max-width:560px){.svc-facts{grid-template-columns:minmax(0,1fr)}}

/* "On this page": a link to every section */
.svc-toc{padding-block:clamp(40px,5vw,64px);border-top:1px solid var(--rule)}
.svc-toc .label{margin-bottom:16px}
.svc-toc ol{margin:0;padding:0 0 0 1.4em;columns:2 16rem;column-gap:40px;font-size:16px;line-height:1.5}
.svc-toc li{margin:0 0 10px;break-inside:avoid;color:var(--pencil)}
.svc-toc a{color:var(--ink);text-decoration:none;border-bottom:1px solid var(--rule)}
.svc-toc a:hover{color:var(--stamp);border-color:currentColor}

/* one comparison table a page: it scrolls inside its own box on a phone, never the page */
.svc-table-wrap{margin:8px 0 1.4em;overflow-x:auto;-webkit-overflow-scrolling:touch;
  /* a soft shadow at the edge that still has columns past it, so a phone reader sees the table goes on */
  background:linear-gradient(to right,var(--paper) 30%,rgba(247,244,238,0)) left/40px 100% no-repeat local,linear-gradient(to left,var(--paper) 30%,rgba(247,244,238,0)) right/40px 100% no-repeat local,radial-gradient(farthest-side at 0 50%,rgba(31,29,26,.16),transparent) left/14px 100% no-repeat scroll,radial-gradient(farthest-side at 100% 50%,rgba(31,29,26,.16),transparent) right/14px 100% no-repeat scroll}
.svc-table{width:100%;min-width:520px;border-collapse:collapse;font-size:15px;line-height:1.5}
.svc-table caption{text-align:left;padding:0 0 12px;font-size:11px;letter-spacing:.24em;text-transform:uppercase;color:var(--pencil)}
.svc-table th,.svc-table td{padding:12px 14px 12px 0;text-align:left;vertical-align:top;border-top:1px solid var(--rule)}
.svc-table thead th{font-weight:600;color:var(--ink);border-top:0;border-bottom:1.5px solid rgba(31,29,26,.2)}
.svc-table tbody th{font-weight:600;color:var(--ink)}
.svc-table td{color:var(--ink-2)}

/* the other services and the guides worth reading next */
.svc-related{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
.svc-related li{padding:16px 0;border-top:1px solid var(--rule)}
.svc-related p{margin:4px 0 0;font-size:15px;color:var(--ink-2)}
@media (max-width:560px){.svc-related{grid-template-columns:minmax(0,1fr)}}

/* every outside page the words quote, as the blog lists them */
.svc-sources{margin:0;padding:0 0 0 1.4em;font-size:15px;line-height:1.55;color:var(--ink-2)}
.svc-sources li{margin:0 0 10px}

/* who wrote it and when, under the close */
.svc-close p.svc-meta{margin:28px 0 0;font-size:13px;color:var(--pencil)}

/* ---------- THE STUDIO'S PAPER on every page that reads this file (his 2026-11-15, after /about/: "check the main studio
   website for this polishing like you did now to about page.. you made it richer"). The home page's pieces, set by
   structure so a new service page gets them with no new class: taped notes (the home's .card) for what we do, the steps
   and what to read next, and the four facts; ruled sheets with the red margin (Quorl's corners, hairline and depth) for
   the answer, the terms, the ticks, the contents and the questions; tape on the client's card; paper under the table.
   Still: no motion, only a lift on hover. The sales pages (website check, guides, ads pages) do not read this file. */
.svc-sec .svc-body:has(>.svc-items,>.svc-steps,>.svc-related),.svc-short .svc-body{max-width:none}
.taped,.svc-items>li,.svc-steps>li,.svc-related>li,.svc-short .svc-facts>div{position:relative;background:#FBFAF6;box-shadow:0 1px 1px rgba(0,0,0,.05),0 16px 34px -18px rgba(40,32,20,.3);transform:rotate(var(--r,0deg));transition:transform .5s var(--ease)}
.taped::before,.svc-items>li::before,.svc-steps>li::before,.svc-related>li::before,.svc-short .svc-facts>div::before,.svc-short .svc-answer::before,.svc-card::before{content:"";position:absolute;top:-12px;left:50%;width:88px;height:24px;transform:translateX(-50%) rotate(-3deg);background:rgba(232,220,180,.75);box-shadow:0 1px 2px rgba(0,0,0,.06);pointer-events:none}
.svc-short .svc-facts>div::before,.svc-related>li::before{width:64px;height:20px;top:-10px}
:is(.svc-items,.svc-steps,.svc-related,.svc-short .svc-facts)>:nth-child(4n+1){--r:-1.1deg}
:is(.svc-items,.svc-steps,.svc-related,.svc-short .svc-facts)>:nth-child(4n+2){--r:.9deg}
:is(.svc-items,.svc-steps,.svc-related,.svc-short .svc-facts)>:nth-child(4n+3){--r:.5deg}
:is(.svc-items,.svc-steps,.svc-related,.svc-short .svc-facts)>:nth-child(4n+4){--r:-.7deg}
:is(.taped,.svc-items>li,.svc-steps>li,.svc-related>li):hover{transform:rotate(0deg) translateY(-4px)}
.svc-items{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 28px;margin:30px 0}
.svc-items>li,.svc-steps>li{padding:28px 24px 22px;border:0}
.svc-items>li:last-child{border-bottom:0}
.svc-items h3{font-family:var(--hand);font-weight:400;font-size:28px;line-height:1.05}
.svc-items h3 a{color:var(--ink);text-decoration:none}
.svc-items h3 a::after{content:"\2192";margin-left:8px;font-size:.7em;color:var(--red)}
.svc-items p{margin:10px 0 0;font-size:15.5px;line-height:1.55}
.svc-steps{gap:36px 28px;margin:30px 0}
.svc-related{gap:30px 24px;margin-top:24px}
.svc-related>li{padding:22px 20px 18px;border:0}
.svc-short .svc-facts{gap:30px 24px;margin-top:40px}
.svc-short .svc-facts>div{padding:22px 20px 18px;border:0}
.svc-short .svc-facts dd{font-family:var(--hand);font-size:20px;line-height:1.3;color:var(--ink)}
.svc-short .svc-answer,.svc-terms,.svc-ticks,.svc-faq,.svc-toc ol{position:relative;background-color:#FBFAF7;background-image:linear-gradient(90deg,transparent 40px,rgba(192,65,47,.28) 40px,rgba(192,65,47,.28) 41px,transparent 41px);border:1px solid #DED7CC;border-radius:14px;box-shadow:0 1px 0 0 rgba(222,215,204,.6),0 12px 32px -20px rgba(66,48,36,.9),0 24px 80px -20px rgba(66,48,36,.9)}
.svc-short .svc-answer{max-width:none;padding:1.6em clamp(20px,3vw,34px) 1.6em 60px;font-family:var(--hand);font-size:clamp(21px,1.8vw,26px);line-height:1.6em;transform:rotate(-.5deg);background-image:linear-gradient(90deg,transparent 40px,rgba(192,65,47,.28) 40px,rgba(192,65,47,.28) 41px,transparent 41px),repeating-linear-gradient(transparent 0 calc(1.6em - 1px),rgba(43,62,107,.11) calc(1.6em - 1px) 1.6em)}
.svc-terms{padding:6px clamp(18px,3vw,30px) 18px 60px;gap:0;transform:rotate(.3deg)}
.svc-terms div{padding-block:16px;border-top:1px solid rgba(43,62,107,.13)}
.svc-terms div:first-child{border-top:0}
.svc-ticks{padding:12px clamp(18px,3vw,30px) 12px 60px;gap:0;transform:rotate(-.4deg)}
.svc-ticks li{padding:10px 0;border-bottom:1px solid rgba(43,62,107,.13)}
.svc-ticks li:last-child{border-bottom:0}
.svc-ticks li::before{left:-42px;top:.7em}
.svc-faq{padding:10px clamp(20px,3vw,34px) 14px 60px;transform:rotate(.3deg)}
.svc-faq div{border-top:1px solid rgba(43,62,107,.13)}
.svc-faq div:first-child{border-top:0}
.svc-faq div:last-child{border-bottom:0}
.svc-faq h3{font-family:var(--hand);font-weight:400;font-size:clamp(22px,1.9vw,26px);line-height:1.15}
.svc-faq>p{margin:0;padding:12px 0 6px;font-family:var(--pen);font-size:18px;color:var(--red)}
.svc-toc ol{max-width:1000px;padding:22px clamp(20px,3vw,34px) 14px 64px;transform:rotate(-.3deg)}
.svc-toc li::marker{color:var(--red);font-family:var(--hand)}
.svc-table-wrap{padding:16px clamp(16px,2.4vw,26px) 8px;background:#FBFAF6;box-shadow:0 1px 1px rgba(0,0,0,.05),0 16px 34px -18px rgba(40,32,20,.3)}
@media (max-width:640px){.svc-items,.svc-steps,.svc-related,.svc-short .svc-facts{grid-template-columns:minmax(0,1fr)}.svc-short .svc-answer,.svc-terms,.svc-ticks,.svc-faq,.svc-toc ol{padding-left:52px}.svc-terms div{grid-template-columns:minmax(0,1fr)}}
@media (prefers-reduced-motion:reduce){:is(.taped,.svc-items>li,.svc-steps>li,.svc-related>li){transition:none}:is(.taped,.svc-items>li,.svc-steps>li,.svc-related>li):hover{transform:rotate(var(--r,0deg))}}
/* the pen in the margin beside a heading (.aside, aria-hidden: a note, not the page's words) and its underline (.mk) */
.aside{margin:22px 0 0;max-width:19ch;font-family:var(--pen);font-size:19px;line-height:1.4;color:var(--red);transform:rotate(-3deg);transform-origin:0 0}
.aside svg{display:block;width:76px;height:36px;margin:8px 0 0 30%;overflow:visible}
.aside path{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mk{position:relative;white-space:nowrap}
.mk svg{position:absolute;left:-3%;bottom:-.1em;width:106%;height:.32em;overflow:visible;pointer-events:none}
.mk path{fill:none;stroke:var(--red);stroke-width:2;stroke-linecap:round}
@media (max-width:860px){.aside{max-width:none}.aside svg{display:none}}
