/* yorxen.com inner pages — the same "One line" language as the home.
   A page opens with its own drawing; the text then runs beside a blue reading line that is
   dotted ahead of the reader and solid behind, with a knot at every heading (yx-pen.js). */

/* ── Page opening: words on the left, the page's own drawing on the right ── */
.ph{padding:clamp(36px,4.4vw,72px) var(--gut) clamp(48px,5vw,88px);
  background:radial-gradient(ellipse 44% 44% at 76% 52%,rgba(250,248,243,.7) 0%,rgba(244,242,236,.36) 44%,rgba(233,231,226,0) 80%)}
.ph-in{max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:minmax(0,11fr) minmax(0,13fr);gap:32px clamp(32px,5vw,96px);align-items:center}
.crumb{display:flex;align-items:center;gap:12px;color:var(--mute)}
.crumb::before{content:"";flex:none;width:28px;height:9px;
  background:radial-gradient(circle at 4.5px 50%,var(--ink) 3.4px,transparent 4px),linear-gradient(var(--ink),var(--ink)) right center/calc(100% - 8px) 1.5px no-repeat}
.ph h1{margin-top:22px}
.ph h1.h-l{font-size:clamp(40px,5vw,76px);line-height:.98}
.ph .lede{margin-top:24px;font:400 clamp(19px,1.7vw,23px)/1.42 var(--serif);color:var(--ink-2);max-width:34ch}
.ph .lede+.lede{margin-top:14px;font:400 17px/1.65 var(--sans);max-width:46ch}
.ph .acts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 28px;margin-top:30px}
.ph .scene{width:100%;max-width:640px;justify-self:end}
.ph.compact .scene{max-width:380px}
.ph.compact{padding-bottom:clamp(32px,4vw,64px)}
.ph .meta{margin-top:26px;color:var(--mute);font-size:14px}

/* ── The document: margin heads on the left, the text on the right ── */
.doc{position:relative;padding:clamp(8px,2vw,24px) var(--gut) clamp(64px,8vw,112px)}
.doc-in{position:relative;max-width:var(--max);margin:0 auto}
.part{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,4fr) minmax(0,8fr);gap:14px clamp(40px,6vw,104px);padding:clamp(36px,4vw,60px) 0}
.part>h2{align-self:start;position:sticky;top:96px;max-width:19ch;font:600 clamp(22px,1.9vw,28px)/1.14 var(--display);letter-spacing:-.012em;text-wrap:balance}
.part>h2 small{display:block;margin-bottom:10px;font:650 12.5px/1.2 var(--sans);letter-spacing:.08em;text-transform:uppercase;color:var(--mute)}
.body{min-width:0}
.body>*+*{margin-top:18px}
.body p,.body li{color:var(--ink-2);max-width:56ch}
.body .say{font:400 clamp(20px,1.7vw,24px)/1.42 var(--serif);color:var(--ink);max-width:36ch}
.body b,.body strong{color:var(--ink);font-weight:600}
.body a:not(.btn):not(.more):not(.qlink){color:var(--ink);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:var(--hair-2);transition:color .2s,text-decoration-color .2s}
.body a:not(.btn):not(.more):not(.qlink):hover{color:var(--blue);text-decoration-color:currentColor}
.body ul{list-style:none;display:grid;gap:12px}
.body ul li{position:relative;padding-left:30px}
.body ul li::before{content:"";position:absolute;left:0;top:.82em;width:17px;height:1.5px;border-radius:1px;background:var(--ink)}
.body ol{padding-left:22px;display:grid;gap:12px}
.body h3{margin-top:34px;font:600 20px/1.25 var(--display);letter-spacing:-.005em}
.body h3+p{margin-top:10px}
.body .note{padding:22px 24px;background:var(--paper-hi)}
.body .note .label{display:block;margin-bottom:8px;color:var(--blue)}
.body .acts{display:flex;flex-wrap:wrap;align-items:center;gap:6px 28px;margin-top:26px}
.body dl.rows div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:16px;padding:14px 0}
.body dl.rows dt{color:var(--mute)}
.body dl.rows dd{color:var(--ink);font-weight:600}
.part.lead-part>h2{color:var(--blue)}

/* ── Questions (same component as the home) ── */
.qa summary{position:relative;list-style:none;cursor:pointer;display:flex;align-items:center;min-height:68px;padding:14px 56px 14px 0;font:400 clamp(19px,1.6vw,22px)/1.3 var(--serif);color:var(--ink);text-wrap:balance}
.qa summary::-webkit-details-marker{display:none}
.qa summary::before,.qa summary::after{content:"";position:absolute;right:8px;top:50%;width:18px;height:1.5px;background:var(--ink);border-radius:1px;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.qa summary::after{transform:rotate(90deg)}
.qa details[open] summary::after{transform:rotate(0)}
.qa summary:hover{color:var(--blue)}
.qa summary[data-pen]>.pen-layer{top:-3px}
.qa details p{padding:0 56px 24px 0;color:var(--ink-2);max-width:62ch}
.qa-end{height:1px}

/* ── Closing band: one line to act on ── */
.band{padding:0 var(--gut) clamp(96px,10vw,140px)}
.band-in{max-width:var(--max);margin:0 auto;display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:24px 64px;align-items:end;padding-top:clamp(48px,5vw,72px)}
.band p{font:400 clamp(19px,1.6vw,22px)/1.42 var(--serif);color:var(--ink-2);max-width:34ch}
.band .acts{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px 28px}

/* ── Phone ── */
@media(max-width:860px){
  .ph{padding-top:28px;background:radial-gradient(ellipse 120% 30% at 60% 66%,rgba(250,248,243,.7) 0%,rgba(233,231,226,0) 80%)}
  .ph-in{grid-template-columns:1fr;gap:8px}
  .ph .scene{order:3;justify-self:center;max-width:520px;margin-top:20px}
  .ph h1.h-l{font-size:clamp(36px,10vw,48px)}
  .part{grid-template-columns:1fr;gap:12px;padding:30px 0}
  .part>h2{position:static;max-width:none}
  .band-in{grid-template-columns:1fr}
  .body .note{padding:18px 18px}
  .body dl.rows div{grid-template-columns:1fr;gap:2px}
  .qa summary{min-height:60px;font-size:19px}
  .qa details p{padding-right:8px}
}

.band .h-l{font-size:clamp(32px,3.4vw,52px)}

/* ── A long notice: contents beside a steady text column ── */
.doc-index .doc-in{display:grid;grid-template-columns:minmax(0,3.4fr) minmax(0,8.6fr);gap:0 clamp(40px,6vw,104px);align-items:start}
.toc{position:sticky;top:96px;padding-top:clamp(36px,4vw,60px)}
/* on a window shorter than the list (small laptop, split screen: ~590px) the list scrolls inside itself, so its last entries can be reached */
.toc{max-height:calc(100vh - 112px);max-height:calc(100dvh - 112px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.toc .label{color:var(--mute);margin-bottom:14px}
.toc ol{list-style:none;display:grid;gap:2px;counter-reset:none}
.toc a{position:relative;display:flex;align-items:center;min-height:36px;padding-left:22px;font-size:15px;line-height:1.3;color:var(--mute);text-decoration:none;transition:color .2s}
.toc a::before{content:"";position:absolute;left:0;top:50%;width:12px;height:1.5px;background:currentColor;transform:scaleX(.5);transform-origin:left;transition:transform .3s}
.toc a:hover,.toc a[aria-current]{color:var(--ink)}
.toc a[aria-current]::before{transform:none}
.toc a.lead{color:var(--blue)}
.doc-text{min-width:0}
.part2{position:relative;padding:clamp(36px,4vw,56px) 0}
.part2>h2{font:600 clamp(24px,2.1vw,30px)/1.15 var(--display);letter-spacing:-.012em;margin-bottom:18px;max-width:22ch;text-wrap:balance}
.part2.lead-part>h2{color:var(--blue)}
/* run-in heads inside a long section ("What we hold.") get their own line and weight */
.doc-index .body p>b:first-child{display:block;margin-bottom:4px;font:600 17px/1.35 var(--display);letter-spacing:-.005em;color:var(--ink)}
.doc-index .body p+p{margin-top:20px}

/* the anti-abuse opening is identification, not a headline: a quieter role */
.yx-anti-abuse .ph .lede{font:400 16.5px/1.62 var(--sans);color:var(--ink-2);max-width:56ch}

@media(max-width:860px){
  .doc-index .doc-in{grid-template-columns:1fr}
  .toc{display:none}
  .part2{padding:28px 0}
  /* compact openings on a phone: the drawing becomes a small vignette beside the page name */
  .ph.compact .ph-in{grid-template-columns:minmax(0,1fr) 36%;grid-template-areas:"crumb scene" "copy copy";align-items:end;gap:0 12px}
  .ph.compact .ph-copy{display:contents}
  .ph.compact .crumb{grid-area:crumb;align-self:end;margin-bottom:6px}
  .ph.compact .ph-copy>:not(.crumb){grid-column:1/-1}
  .ph.compact .scene{grid-area:scene;order:0;margin:0;max-width:none;width:100%}
  .ph.compact h1.h-l{font-size:clamp(32px,9vw,42px)}
}

/* ── /businesses: the page is our letter, on paper folded in three ── */
.letter-sec{padding:clamp(8px,2vw,32px) var(--gut) clamp(96px,10vw,140px)}
.letter-paper{position:relative;max-width:780px;margin:0 auto;padding:clamp(40px,6vw,88px) clamp(24px,7vw,100px) clamp(48px,6vw,96px);
  background:rgba(247,245,240,.9);box-shadow:0 1px 1px rgba(23,21,15,.05),0 34px 60px -44px rgba(23,21,15,.42)}
.letter-paper::before,.letter-paper::after{content:"";position:absolute;left:0;right:0;height:9px;pointer-events:none;
  border-top:1px solid rgba(23,21,15,.07);background:linear-gradient(rgba(23,21,15,.035),rgba(23,21,15,0))}
.letter-paper::before{top:33.3%}.letter-paper::after{top:66.6%}
.lp{position:relative;z-index:1}
.lp+.lp{margin-top:clamp(28px,3vw,40px)}
.lp h2{margin-bottom:8px;font:600 clamp(19px,1.5vw,21px)/1.3 var(--display);letter-spacing:-.005em;color:var(--ink)}
.lp p{font:400 clamp(17.5px,1.35vw,19px)/1.62 var(--serif);color:var(--ink-2);max-width:60ch}
.lp p+p,.lp blockquote+p{margin-top:12px}
.lp a{color:var(--ink);text-underline-offset:3px}
.lp a:hover{color:var(--blue)}
.reply-quote{margin:18px 0;padding:4px 0 4px 22px;border-left:2px solid var(--blue)}
.reply-quote p{font-size:clamp(19px,1.6vw,21px);color:var(--ink)}
/* the protecting sentence is underlined in blue; a text underline wraps with the line on a phone */
.yes{text-decoration:underline;text-decoration-color:var(--blue);text-decoration-thickness:1.6px;text-underline-offset:5px}
.letter-after{max-width:780px;margin:36px auto 0;display:flex;flex-wrap:wrap;gap:6px 28px;align-items:center}

/* ── /about: our product, as it is ── */
.shot{margin:26px 0 6px;max-width:520px;padding:8px;background:var(--paper-hi)}
.shot img{display:block;width:100%;height:auto}
.shot figcaption{padding:10px 6px 4px;font-size:14.5px;line-height:1.55;color:var(--ink-2)}

@media(max-width:860px){
  .letter-paper{padding:32px 20px 40px}
  .letter-paper::before,.letter-paper::after{display:none}
}
.letter-paper>.pen-layer path{stroke:color-mix(in srgb,var(--ink) 38%,transparent);stroke-width:1.1}
.crumb.note-mark{color:var(--mute)}

/* round 3 (judges 25.10) */
/* the reader's two choices in our letter are marked in the margin */
.lp-key{padding-left:22px;border-left:2px solid var(--blue)}
.lp-key h2{color:var(--blue)}
.sign{margin-top:clamp(32px,4vw,48px);font:600 17px/1.3 var(--display);letter-spacing:.06em;color:var(--ink)}
/* /businesses: the letter's closing line (D127), set apart from the sections like a letter's last line */
.lp-close{position:relative;z-index:1;margin-top:clamp(28px,3vw,40px);font:400 clamp(17.5px,1.35vw,19px)/1.62 var(--serif);color:var(--ink);max-width:60ch}
/* /brokers: who we introduce and what we don't do side by side */
.pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px clamp(28px,4vw,56px)}
.pair h3{margin:0 0 10px}
.pair h3+p{margin-top:0}
/* /about: what we are not, as a quiet note; the company as a record */
.body .note{padding:18px 22px;background:var(--paper-hi);color:var(--ink-2)}
.shot{max-width:440px}
/* phone: the contents list stays, folded */
.toc-d{display:none}
@media(max-width:860px){
  .pair{grid-template-columns:1fr}
  .lp-key{padding-left:14px}
  /* no bottom hairline: the pen rule that opens the first section closes the block (two rules 5px apart read as a glitch);
     the plus is the FAQ's, so the line reads as something that opens */
  .toc-d{display:block;margin:6px 0 4px;border-top:1px solid var(--hair)}
  .toc-d summary{position:relative;list-style:none;display:flex;align-items:center;min-height:48px;padding-right:40px;cursor:pointer;font-weight:600;color:var(--ink)}
  .toc-d summary::-webkit-details-marker{display:none}
  .toc-d summary::before,.toc-d summary::after{content:"";position:absolute;right:8px;top:50%;width:18px;height:1.5px;background:var(--ink);border-radius:1px;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
  .toc-d summary::after{transform:rotate(90deg)}
  .toc-d[open] summary::after{transform:rotate(0)}
  .toc-d ol{list-style:none;padding:0 0 12px}
  .toc-d a{display:flex;align-items:center;min-height:40px;color:var(--ink-2);text-decoration:none}
}
.ph .lede a:hover{color:var(--blue)}
