#terrain-home { --th-bg:#19151e;--th-panel:#241e2b;--th-raised:#302637;--th-ink:#f1eae2;--th-muted:#b9aebf;--th-lilac:#c8afd9;--th-peach:#e1b99e;--th-line:#403447;--th-dark:#231c29;--th-mono:Consolas,monospace;--th-serif:'Newsreader',Georgia,serif;background:var(--th-bg);color:var(--th-ink);font:400 14px/1.65 'DM Sans',sans-serif;color-scheme:dark;width:100%;overflow-wrap:anywhere; }
#terrain-home * { box-sizing:border-box; }
#terrain-home [hidden] { display:none!important; }
#terrain-home p,#terrain-home h1,#terrain-home h2,#terrain-home h3 { margin:0; }
#terrain-home h1,#terrain-home h2,#terrain-home h3 { font-weight:400;color:var(--th-ink); }
#terrain-home a { text-decoration:none;color:inherit; }
#terrain-home button,#terrain-home input { font:inherit; }
#terrain-home button { color:inherit; }
#terrain-home .th-shell { padding:0 38px;max-width:1280px;margin:auto; }
#terrain-home .th-header { min-height:90px;display:flex;align-items:center;gap:30px;justify-content:space-between;border-bottom:1px solid var(--th-line); }
#terrain-home .th-brand { display:flex;align-items:center;gap:12px;flex-shrink:0; }
#terrain-home .th-monogram { font:400 32px/1 var(--th-serif);letter-spacing:-3px;color:var(--th-lilac);padding-right:4px; }
#terrain-home .th-brand strong { display:block;font-size:13px;font-weight:500;letter-spacing:.01em; }
#terrain-home .th-brand small { display:block;color:var(--th-muted);font:11px/1.8 var(--th-mono); }
#terrain-home .th-nav { display:flex;align-items:center;gap:25px;font-size:12px;flex-wrap:wrap; }
#terrain-home .th-nav a { padding:10px 0; }
#terrain-home .th-nav a:last-child { border:1px solid var(--th-line);border-radius:3px;padding:7px 13px; }
#terrain-home a:hover,#terrain-home .th-link:hover { color:var(--th-lilac); }
#terrain-home .th-label { font:400 11px/1.5 var(--th-mono);letter-spacing:.11em;text-transform:uppercase;color:var(--th-lilac); }
#terrain-home .th-hero { display:grid;grid-template-columns:1.7fr .85fr;gap:45px;padding:47px 0 35px;align-items:end; }
#terrain-home h1 { font:400 clamp(42px,5.2vw,62px)/1.03 var(--th-serif);letter-spacing:-.035em;margin-top:20px; }
#terrain-home h1 em { color:var(--th-lilac);font-weight:400; }
#terrain-home .th-hero-note { padding-bottom:3px; }
#terrain-home .th-hero-note p { color:var(--th-muted);font-size:13px; }
#terrain-home .th-hero-note p strong { color:var(--th-ink);font-weight:500; }
#terrain-home .th-link { display:inline-flex;gap:10px;align-items:center;background:transparent;border:0;padding:7px 0;font-size:12px;color:var(--th-lilac); }
#terrain-home .th-hero-note .th-link { margin-top:12px; }
#terrain-home .th-search-area { border-top:1px solid var(--th-line);border-bottom:1px solid var(--th-line);padding:17px 0; }
#terrain-home .th-search-row { display:flex;align-items:center;gap:22px; }
#terrain-home .th-search-form { flex:1;min-width:0; }
#terrain-home .th-search-label { display:block;font-size:11px;color:var(--th-muted);margin-bottom:6px; }
#terrain-home .th-search-field { display:flex;align-items:center;gap:12px;background:var(--th-panel);border:1px solid var(--th-line);border-radius:3px;padding:0 13px; }
#terrain-home .th-search-field:focus-within { border-color:var(--th-lilac); }
#terrain-home .th-search-field > svg { color:var(--th-lilac);flex-shrink:0;width:16px;height:16px; }
#terrain-home .th-search-field input { width:100%;min-width:0;background:transparent;border:0;color:var(--th-ink);padding:12px 0;font-size:13px; }
#terrain-home .th-search-field input::placeholder { color:var(--th-muted); }
#terrain-home .th-search-field input::-webkit-search-cancel-button { display:none; }
#terrain-home .th-search-clear { border:0;background:transparent;padding:3px 5px;color:var(--th-muted); }
#terrain-home .th-explore { display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding-top:22px; }
#terrain-home .th-explore > span { color:var(--th-muted);font:11px var(--th-mono);margin-right:4px; }
#terrain-home .th-explore button { font-size:11px;background:transparent;border:1px solid var(--th-line);border-radius:3px;padding:7px 10px; }
#terrain-home .th-explore button:hover { border-color:var(--th-lilac); }
#terrain-home .th-search-results { padding-top:18px; }
#terrain-home .th-result-status { color:var(--th-muted);font:11px var(--th-mono);margin-bottom:5px; }
#terrain-home .th-result-list { display:grid;grid-template-columns:1fr 1fr;gap:0 22px; }
#terrain-home .th-result { display:flex;justify-content:space-between;gap:14px;align-items:center;text-align:left;background:transparent;border:0;border-top:1px solid var(--th-line);padding:13px 0;width:100%; }
#terrain-home .th-result small { color:var(--th-lilac);font:11px var(--th-mono);display:block;margin-bottom:5px; }
#terrain-home .th-result p { font-size:13px; }
#terrain-home .th-result > span { color:var(--th-lilac); }
#terrain-home .th-no-result { color:var(--th-muted);font-size:13px;padding:10px 0; }
#terrain-home .th-section-head { display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 17px; }
#terrain-home .th-section-head h2 { font:400 30px/1.2 var(--th-serif);letter-spacing:-.025em; }
#terrain-home .th-section-head .th-label { margin-bottom:4px; }
#terrain-home .th-controls { display:flex;align-items:center;gap:7px;flex-shrink:0; }
#terrain-home .th-count { color:var(--th-muted);font:11px var(--th-mono);margin-right:8px;min-width:45px; }
#terrain-home .th-arrow { width:33px;height:33px;border:1px solid var(--th-line);border-radius:3px;background:transparent;display:inline-flex;justify-content:center;align-items:center; }
#terrain-home .th-arrow:hover { border-color:var(--th-lilac);background:var(--th-panel); }
#terrain-home .th-editorial { display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:23px; }
#terrain-home .th-feature-article { background:var(--th-panel);border-radius:4px;overflow:hidden;display:flex;flex-direction:column;min-width:0;touch-action:pan-y; }
#terrain-home .th-cover { --th-cover-bg:#c9b6d2;--th-cover-ink:#34253f;position:relative;background:var(--th-cover-bg);color:var(--th-cover-ink);min-height:224px;padding:24px 27px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden; }
#terrain-home .th-cover .th-label { color:var(--th-cover-ink);position:relative;z-index:1; }
#terrain-home .th-cover-title { font:400 46px/1.04 var(--th-serif);letter-spacing:-.035em;max-width:75%;position:relative;z-index:1; }
#terrain-home .th-cover-bottom { font:11px var(--th-mono);position:relative;z-index:1; }
#terrain-home .th-key-art { position:absolute;width:185px;height:185px;right:-25px;top:35px;border:1px solid var(--th-cover-ink);border-radius:50%;opacity:.35; }
#terrain-home .th-key-art::before { content:'';position:absolute;inset:28px;border:1px solid var(--th-cover-ink);border-radius:50%; }
#terrain-home .th-key-art::after { content:'';position:absolute;left:45px;right:45px;top:-30px;bottom:-30px;border-left:1px solid var(--th-cover-ink);border-right:1px solid var(--th-cover-ink);transform:rotate(35deg); }
#terrain-home .th-article-copy { padding:23px 26px 19px;display:flex;flex-direction:column;flex:1;align-items:flex-start; }
#terrain-home .th-article-copy h3 { font:400 27px/1.14 var(--th-serif);letter-spacing:-.02em;margin:10px 0;max-width:520px; }
#terrain-home .th-article-copy > p { color:var(--th-muted);font-size:13px; }
#terrain-home .th-article-copy .th-link { padding-top:17px;margin-top:auto; }
#terrain-home .th-side { display:flex;flex-direction:column;min-width:0; }
#terrain-home .th-side-label { font:11px var(--th-mono);color:var(--th-muted);padding-bottom:14px; }
#terrain-home .th-side-article { text-align:left;background:transparent;border:0;border-top:1px solid var(--th-line);padding:17px 0;display:grid;grid-template-columns:66px minmax(0,1fr);gap:13px;width:100%;align-items:start; }
#terrain-home .th-mini-cover { min-height:74px;background:var(--th-raised);color:var(--th-lilac);display:flex;align-items:center;justify-content:center;font:400 23px/1 var(--th-serif);letter-spacing:-.03em;border-radius:2px; }
#terrain-home .th-side-category { display:block;color:var(--th-lilac);font:11px/1.4 var(--th-mono);margin-bottom:6px; }
#terrain-home .th-side-title { display:block;font-size:14px;line-height:1.4; }
#terrain-home .th-side-article:hover .th-side-title { color:var(--th-lilac); }
#terrain-home .th-side-note { margin-top:auto;padding:16px 0 0;border-top:1px solid var(--th-line); }
#terrain-home .th-side-note p { font-size:12px;color:var(--th-muted); }
#terrain-home .th-side-note strong { color:var(--th-peach);font-weight:400; }
#terrain-home .th-dots { display:flex;gap:2px;justify-content:center;padding-top:10px; }
#terrain-home .th-dots button { padding:8px;background:transparent;border:0;display:inline-flex;align-items:center;justify-content:center; }
#terrain-home .th-dots button::after { content:'';width:6px;height:6px;background:var(--th-line);border-radius:8px; }
#terrain-home .th-dots button[aria-pressed="true"]::after { width:22px;background:var(--th-lilac); }
#terrain-home .th-reading { border-left:2px solid var(--th-lilac);padding:10px 22px;margin:14px 0 25px;background:var(--th-panel); }
#terrain-home .th-reading h3 { font:400 27px/1.2 var(--th-serif);margin:9px 0; }
#terrain-home .th-reading p { color:var(--th-muted);font-size:13px;max-width:700px; }
#terrain-home .th-tools { margin-top:27px;border-top:1px solid var(--th-line);padding-top:28px; }
#terrain-home .th-tool { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:var(--th-panel);border-radius:4px;overflow:hidden; }
#terrain-home .th-tool-art { background:#332836;padding:27px;display:flex;flex-direction:column;justify-content:space-between;min-height:235px;gap:22px; }
#terrain-home .th-tool-art .th-label { color:var(--th-peach); }
#terrain-home .th-tool-word { font:400 61px/1 'DM Sans',sans-serif;letter-spacing:-.075em; }
#terrain-home .th-tool-word span { color:var(--th-peach); }
#terrain-home .th-tool-flow { font:11px/1.6 var(--th-mono);color:var(--th-muted);border-top:1px solid var(--th-line);padding-top:13px; }
#terrain-home .th-tool-flow span { color:var(--th-peach);padding:0 8px; }
#terrain-home .th-tool-copy { padding:27px 30px;display:flex;flex-direction:column;align-items:flex-start; }
#terrain-home .th-tool-copy .th-label { color:var(--th-peach); }
#terrain-home .th-tool-copy h2 { font:400 30px/1.15 var(--th-serif);letter-spacing:-.02em;margin:10px 0 12px; }
#terrain-home .th-tool-copy > p { font-size:13px;color:var(--th-muted); }
#terrain-home .th-tool-copy .th-link { color:var(--th-peach);margin-top:auto;padding-top:17px; }
#terrain-home .th-tool-detail { padding:24px 27px;border-left:2px solid var(--th-peach);margin-top:12px;background:var(--th-panel); }
#terrain-home .th-tool-detail h3 { font:400 25px/1.2 var(--th-serif);margin-bottom:10px; }
#terrain-home .th-tool-detail p,#terrain-home .th-tool-detail li { color:var(--th-muted);font-size:13px; }
#terrain-home .th-tool-detail ul { padding-left:18px; }
#terrain-home .th-bottom { display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:35px;margin:39px 0; }
#terrain-home .th-upcoming h2,#terrain-home .th-about h2 { font:400 29px/1.2 var(--th-serif);letter-spacing:-.02em;margin:8px 0 18px; }
#terrain-home .th-upcoming-row { padding:14px 0;display:grid;grid-template-columns:70px minmax(0,1fr);gap:13px;border-top:1px solid var(--th-line);align-items:baseline; }
#terrain-home .th-upcoming-row small { font:11px var(--th-mono);color:var(--th-peach); }
#terrain-home .th-upcoming-row p { font-size:13px;color:var(--th-muted); }
#terrain-home .th-about { border-left:1px solid var(--th-line);padding-left:30px; }
#terrain-home .th-about > p { font-size:13px;color:var(--th-muted); }
#terrain-home .th-about .th-link { margin-top:12px; }
#terrain-home .th-about .th-profile-about-link { margin-right:22px; }
#terrain-home .th-about .th-konami-hint { display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:20px;padding-top:16px;border-top:1px dashed var(--th-line);font:12px/1.7 var(--th-mono);color:var(--th-muted); }
#terrain-home .th-konami-hint span:last-child { flex-shrink:0;color:var(--th-lilac);font-size:15px;letter-spacing:.1em;white-space:nowrap; }
#terrain-home .th-konami-pad { margin-top:10px;color:var(--th-muted);font:11px/1.8 var(--th-mono); }
#terrain-home .th-konami-pad summary { cursor:pointer;display:inline-block;padding:6px 0; }
#terrain-home .th-konami-buttons { display:grid;grid-template-columns:repeat(3,44px);gap:7px;margin-top:14px; }
#terrain-home .th-konami-buttons button { min-height:44px;background:var(--th-panel);border:1px solid var(--th-line);border-radius:3px;cursor:pointer;font:14px var(--th-mono); }
#terrain-home .th-konami-buttons button:hover { border-color:var(--th-lilac); }
#terrain-home .th-konami-buttons button:first-child { grid-column:2; }
#terrain-home .th-konami-buttons button:nth-child(2) { grid-column:1;grid-row:2; }
#terrain-home .th-konami-buttons button:nth-child(3) { grid-column:2;grid-row:2; }
#terrain-home .th-konami-buttons button:nth-child(4) { grid-column:3;grid-row:2; }
#terrain-home .th-konami-buttons button:nth-child(5) { grid-column:2;grid-row:3; }
#terrain-home .th-konami-buttons button:nth-child(6) { grid-column:3;grid-row:3; }
#terrain-home .th-footer { display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--th-line);padding:21px 0 26px;color:var(--th-muted);font-size:11px; }
#terrain-home .th-footer a { color:var(--th-lilac); }
@media(max-width:850px) {
  #terrain-home .th-shell { padding:0 28px; }
  #terrain-home .th-hero { gap:24px;grid-template-columns:1.5fr 1fr; }
  #terrain-home h1 { font-size:47px; }
  #terrain-home .th-search-row { flex-wrap:wrap;gap:12px; }
  #terrain-home .th-search-form { flex-basis:100%; }
  #terrain-home .th-explore { padding-top:0; }
  #terrain-home .th-editorial { grid-template-columns:minmax(0,1.65fr) minmax(0,1fr);gap:19px; }
  #terrain-home .th-side-article { grid-template-columns:1fr;gap:10px; }
  #terrain-home .th-mini-cover { display:none; }
  #terrain-home .th-cover-title { font-size:39px; }
}
@media(max-width:620px) {
  #terrain-home .th-shell { padding:0 21px; }
  #terrain-home .th-header { flex-wrap:wrap;padding:22px 0 16px;gap:17px; }
  #terrain-home .th-nav { width:100%;justify-content:space-between;gap:12px; }
  #terrain-home .th-nav a:last-child { border:0;padding:10px 0; }
  #terrain-home .th-hero { grid-template-columns:1fr;gap:22px;padding:34px 0 27px; }
  #terrain-home h1 { font-size:43px;max-width:500px; }
  #terrain-home .th-hero-note { max-width:450px; }
  #terrain-home .th-hero-note .th-link { margin-top:7px; }
  #terrain-home .th-search-field input { font-size:16px; }
  #terrain-home .th-editorial { grid-template-columns:1fr;gap:18px; }
  #terrain-home .th-cover { min-height:207px; }
  #terrain-home .th-cover-title { max-width:100%; }
  #terrain-home .th-side { gap:0; }
  #terrain-home .th-side-article { grid-template-columns:66px minmax(0,1fr); }
  #terrain-home .th-mini-cover { display:flex; }
  #terrain-home .th-side-note { padding-top:13px; }
  #terrain-home .th-tool { grid-template-columns:1fr; }
  #terrain-home .th-tool-art { min-height:200px; }
  #terrain-home .th-bottom { grid-template-columns:1fr;gap:28px; }
  #terrain-home .th-about { border-left:0;border-top:1px solid var(--th-line);padding:24px 0 0; }
  #terrain-home .th-result-list { grid-template-columns:1fr; }
  #terrain-home .th-section-head h2 { font-size:27px; }
  #terrain-home .th-section-head { gap:12px; }
  #terrain-home .th-footer { flex-wrap:wrap;gap:8px; }
}
@media(pointer:coarse) {
  #terrain-home .th-arrow,#terrain-home .th-dots button,#terrain-home .th-explore button,#terrain-home .th-search-clear { min-width:44px;min-height:44px; }
  #terrain-home .th-nav a,#terrain-home .th-link { min-height:44px; }
}

/* Shared by the generated home page, the archive and article layouts. */
html { scroll-behavior:smooth; }
body#terrain-home { margin:0;min-height:100vh; }
#terrain-home button,#terrain-home a { cursor:pointer; }
#terrain-home :focus-visible { outline:2px solid var(--th-lilac);outline-offset:4px; }
#terrain-home .th-skip { position:absolute;left:15px;top:-70px;padding:10px 15px;background:var(--th-lilac);color:var(--th-dark);z-index:10; }
#terrain-home .th-skip:focus { top:10px; }
#terrain-home .th-header { padding-right:0; }
#terrain-home .th-shell { max-width:1220px; }
#terrain-home .th-nav [aria-current] { color:var(--th-lilac); }
#terrain-home .th-search-icon { position:relative;width:13px;height:13px;border:1.5px solid var(--th-lilac);border-radius:50%;flex-shrink:0;margin-right:3px; }
#terrain-home .th-search-icon::after { content:'';position:absolute;width:6px;height:1.5px;background:var(--th-lilac);right:-5px;bottom:-2px;transform:rotate(45deg); }
#terrain-home .th-search-submit { border:0;background:transparent;padding:7px;color:var(--th-lilac); }
#terrain-home .th-explore a { font-size:11px;border:1px solid var(--th-line);border-radius:3px;padding:7px 10px; }
#terrain-home .th-explore a:hover { border-color:var(--th-lilac); }
#terrain-home .th-result p { color:var(--th-ink); }
#terrain-home .th-result:hover p { color:var(--th-lilac); }
#terrain-home .th-cover[data-tone="peach"] { --th-cover-bg:#dfc2ac;--th-cover-ink:#3e2a27; }
#terrain-home .th-cover[data-tone="sage"] { --th-cover-bg:#b8c3ba;--th-cover-ink:#27382f; }
#terrain-home .th-carousel-slides { min-width:0; }
#terrain-home [data-slide] { min-height:600px; }
#terrain-home .th-card-date { font:11px/1.5 var(--th-mono);color:var(--th-muted);margin-top:14px; }
#terrain-home .th-carousel-footer { display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px; }
#terrain-home .th-carousel-footer .th-dots { padding-top:0; }
#terrain-home .th-tool-actions { display:flex;gap:10px 20px;flex-wrap:wrap;font-size:12px;padding-top:12px; }
#terrain-home .th-tool-actions a { color:var(--th-ink);border-bottom:1px solid var(--th-line);padding:6px 0; }
#terrain-home .th-footer nav { display:flex;flex-wrap:wrap;gap:10px 18px; }
#terrain-home .th-blog-heading { padding:45px 0 29px; }
#terrain-home .th-blog-heading h1 { margin:15px 0 17px; }
#terrain-home .th-blog-heading > p:last-child { color:var(--th-muted);max-width:550px; }
#terrain-home .th-blog-list { padding-bottom:45px; }
#terrain-home .th-blog-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px; }
#terrain-home .th-blog-grid .th-cover { min-height:170px; }
#terrain-home .th-blog-grid .th-cover-title { font-size:35px; }
#terrain-home .th-blog-grid .th-article-copy h2 { font:400 26px/1.16 var(--th-serif);letter-spacing:-.02em;margin:10px 0; }
#terrain-home .th-cover-link { display:block; }
#terrain-home .th-cover-link:hover { filter:brightness(1.03); }
#terrain-home .th-article-page { max-width:760px;margin:0 auto;padding:30px 0 45px; }
#terrain-home .th-article-heading { padding:25px 0 26px; }
#terrain-home .th-article-heading h1 { font:400 clamp(34px,4.4vw,51px)/1.1 var(--th-serif);letter-spacing:-.025em;margin:16px 0 20px; }
#terrain-home .th-article-meta { color:var(--th-muted);font:12px/1.6 var(--th-mono); }
#terrain-home .th-toc { padding:22px 25px;margin-bottom:30px;background:var(--th-panel);border-left:2px solid var(--th-lilac); }
#terrain-home .th-toc ol { padding-left:20px;margin:12px 0 0; }
#terrain-home .th-toc li { color:var(--th-muted);font-size:14px;padding:3px 0; }
#terrain-home .th-article-body { font-size:16px;line-height:1.85;color:var(--th-muted); }
#terrain-home .th-article-body h2 { font:400 32px/1.2 var(--th-serif);margin:38px 0 17px;scroll-margin-top:20px; }
#terrain-home .th-article-body h3 { font-size:20px;margin:27px 0 13px; }
#terrain-home .th-article-body p { margin-bottom:18px; }
#terrain-home .th-article-body a { color:var(--th-lilac);text-decoration:underline;text-underline-offset:3px; }
#terrain-home .th-article-body strong { color:var(--th-ink);font-weight:500; }
#terrain-home .th-article-body ul,#terrain-home .th-article-body ol { padding-left:23px;margin:15px 0 23px; }
#terrain-home .th-article-body li { margin:7px 0; }
#terrain-home .th-article-body code { font:13px/1.7 var(--th-mono);background:var(--th-panel);padding:2px 5px;border-radius:2px;overflow-wrap:anywhere; }
#terrain-home .th-article-body pre { padding:20px;background:var(--th-panel);white-space:pre-wrap;overflow-wrap:anywhere; }
#terrain-home .th-article-body pre code { background:transparent;padding:0; }
#terrain-home .th-article-body img { max-width:100%;height:auto; }
#terrain-home .th-article-figure { margin:30px 0;padding:14px;background:var(--th-panel);border:1px solid var(--th-line);border-radius:6px; }
#terrain-home .th-article-figure > a { display:block;cursor:zoom-in;border-radius:3px; }
#terrain-home .th-article-figure > a:focus-visible { outline:2px solid var(--th-lilac);outline-offset:4px; }
#terrain-home .th-article-figure img { display:block;width:auto;max-height:560px;object-fit:contain;margin:0 auto;image-orientation:from-image; }
#terrain-home .th-article-figure figcaption { margin-top:12px;font-size:14px;line-height:1.6; }
#terrain-home .th-article-figure figcaption span { display:block;margin-top:5px;font-size:12px; }
#terrain-home .th-article-body table { width:100%;border-collapse:collapse;font-size:14px; }
#terrain-home .th-article-body td,#terrain-home .th-article-body th { padding:10px;border-bottom:1px solid var(--th-line);text-align:left; }
#terrain-home .th-article-body blockquote,#terrain-home .highlight-block { margin:25px 0;padding:20px 23px;border-left:2px solid var(--th-lilac);background:var(--th-panel); }
#terrain-home .portal-hint { padding:16px 20px;background:var(--th-panel);font:12px/1.7 var(--th-mono);margin:20px 0; }
#terrain-home .article-cta { padding:25px;background:var(--th-panel);border-top:1px solid var(--th-line);margin:35px 0; }
#terrain-home .article-cta a { display:inline-flex;background:var(--th-lilac);color:var(--th-dark);padding:10px 16px;border-radius:3px;text-decoration:none;font-size:14px;align-items:center;gap:10px; }
#terrain-home .article-cta a svg { width:16px;height:16px;flex-shrink:0; }
#terrain-home .th-related { border-top:1px solid var(--th-line);padding:28px 0;margin-top:32px; }
#terrain-home .th-related h2 { font:400 30px/1.2 var(--th-serif);margin:0 0 20px; }
#terrain-home .th-related ul { list-style:none;padding:0;margin:0;display:grid;gap:22px; }
#terrain-home .th-related li { padding-left:18px;border-left:2px solid var(--th-lilac);min-width:0; }
#terrain-home .th-related a { display:block;font-size:17px;line-height:1.5;margin:6px 0;text-decoration:underline;text-underline-offset:4px; }
#terrain-home .th-related p { margin:0;color:var(--th-muted);font-size:14px;line-height:1.6; }
#terrain-home .th-article-footer { display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid var(--th-line);padding-top:20px; }
#terrain-home .th-read-progress { position:fixed;top:0;left:0;width:100%;height:3px;background:var(--th-lilac);transform-origin:left;transform:scaleX(0);z-index:5; }
@media(max-width:620px) {
  #terrain-home .th-blog-grid { grid-template-columns:1fr; }
  #terrain-home [data-slide] { min-height:750px; }
  #terrain-home .th-footer { flex-direction:column;align-items:flex-start; }
  #terrain-home .th-article-body { font-size:15px; }
  #terrain-home .th-article-heading h1 { font-size:35px; }
}
@media(max-width:400px) {
  #terrain-home .th-section-head { align-items:flex-start;flex-wrap:wrap; }
}
@media(pointer:coarse) {
  #terrain-home .th-explore a,#terrain-home .th-search-submit,#terrain-home .th-tool-actions a { min-height:44px;display:inline-flex;align-items:center; }
  #terrain-home .th-search-submit { min-width:44px;justify-content:center; }
  #terrain-home .th-footer nav a { padding:10px 0; }
}
/* Page AuditMS : présentation de l'outil dans l'identité du site. */
#terrain-home .th-hero-note .th-tool-actions { padding-top:16px; }
#terrain-home .th-trust { list-style:none;margin:0;padding:15px 0;display:flex;flex-wrap:wrap;gap:8px 26px;border-top:1px solid var(--th-line);border-bottom:1px solid var(--th-line);font:11px/1.6 var(--th-mono);color:var(--th-muted); }
#terrain-home .th-trust li::before { content:'✓';color:var(--th-peach);margin-right:8px; }
#terrain-home .th-am-section { padding:8px 0 22px; }
#terrain-home .th-am-intro { color:var(--th-muted);font-size:13px;max-width:620px;margin:-6px 0 18px; }
#terrain-home .th-am-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px; }
#terrain-home .th-am-grid-3 { grid-template-columns:repeat(3,minmax(0,1fr));gap:0 22px; }
#terrain-home .th-am-card { background:var(--th-panel);border-radius:4px;padding:23px 26px;display:flex;flex-direction:column;align-items:flex-start; }
#terrain-home .th-am-card h3 { font:400 23px/1.2 var(--th-serif);letter-spacing:-.015em;margin:8px 0 10px; }
#terrain-home .th-am-card p:not(.th-label),#terrain-home .th-am-card li { color:var(--th-muted);font-size:13px; }
#terrain-home .th-am-card strong { color:var(--th-ink);font-weight:500; }
#terrain-home .th-am-card ul { margin:14px 0 0;padding:0;list-style:none;width:100%; }
#terrain-home .th-am-card li { border-top:1px solid var(--th-line);padding:8px 0; }
#terrain-home .th-am-card .th-link { margin-top:auto;padding-top:14px; }
#terrain-home .th-am-steps { list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px; }
#terrain-home .th-am-steps li { border-top:1px solid var(--th-lilac);padding-top:14px; }
#terrain-home .th-am-num { font:11px var(--th-mono);color:var(--th-lilac); }
#terrain-home .th-am-steps h3 { font:400 21px/1.2 var(--th-serif);margin:8px 0; }
#terrain-home .th-am-steps p { color:var(--th-muted);font-size:13px; }
#terrain-home .th-inline { color:var(--th-lilac);text-decoration:underline;text-underline-offset:3px; }
#terrain-home .th-am-faq { max-width:800px; }
#terrain-home .th-am-faq details { border-top:1px solid var(--th-line); }
#terrain-home .th-am-faq details:last-child { border-bottom:1px solid var(--th-line); }
#terrain-home .th-am-faq summary { cursor:pointer;padding:16px 0;font-size:15px;list-style:none;display:flex;justify-content:space-between;gap:16px; }
#terrain-home .th-am-faq summary::-webkit-details-marker { display:none; }
#terrain-home .th-am-faq summary::after { content:'+';color:var(--th-lilac);font:16px var(--th-mono); }
#terrain-home .th-am-faq details[open] summary::after { content:'−'; }
#terrain-home .th-am-faq details p { color:var(--th-muted);font-size:14px;padding:0 0 18px; }
#terrain-home .th-am-faq details strong { color:var(--th-ink);font-weight:500; }
#terrain-home .th-am-cta { margin:22px 0 40px; }
#terrain-home .th-am-by { color:var(--th-muted);font:11px var(--th-mono);margin-top:16px; }
@media(max-width:850px) {
  #terrain-home .th-am-steps { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #terrain-home .th-am-grid-3 { grid-template-columns:1fr; }
}
@media(max-width:620px) {
  #terrain-home .th-am-grid,#terrain-home .th-am-steps { grid-template-columns:1fr; }
}
@media(pointer:coarse) {
  #terrain-home .th-am-faq summary { min-height:44px;align-items:center; }
}
/* Parcours : les expériences, formations et le téléchargement restent liés aux données renseignées. */
#terrain-home .th-profile-hero { display:grid;grid-template-columns:minmax(0,1.8fr) minmax(240px,1fr);align-items:center;gap:55px;padding:48px 0 38px; }
#terrain-home .th-profile-hero h1 { font-size:clamp(38px,4.8vw,58px); }
#terrain-home .th-profile-intro { max-width:650px;font-size:15px;color:var(--th-muted);margin-top:25px; }
#terrain-home .th-profile-role { color:var(--th-peach);font:12px/1.8 var(--th-mono);margin-top:22px; }
#terrain-home .th-profile-language { color:var(--th-muted);font-size:13px;margin-bottom:18px; }
#terrain-home .th-profile-actions { display:flex;align-items:center;gap:14px 24px;flex-wrap:wrap;margin-top:24px; }
#terrain-home .th-profile-contact { display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:44px;padding:11px 18px;border:1px solid var(--th-lilac);border-radius:3px;color:var(--th-lilac);font-size:12px; }
#terrain-home .th-profile-contact:hover { background:var(--th-panel); }
#terrain-home .th-profile-card { background:var(--th-panel);padding:27px 30px;border-radius:4px;border:1px solid var(--th-line); }
#terrain-home .th-profile-monogram { display:block;font:76px/1 var(--th-serif);letter-spacing:-.08em;color:var(--th-lilac);margin-bottom:25px; }
#terrain-home .th-profile-card ul { list-style:none;padding:0;margin:14px 0;font:12px/1.8 var(--th-mono);color:var(--th-muted); }
#terrain-home .th-profile-card li { padding:9px 0;border-bottom:1px solid var(--th-line); }
#terrain-home .th-profile-section { padding:4px 0 25px;border-top:1px solid var(--th-line); }
#terrain-home .th-profile-section h2 { max-width:760px; }
#terrain-home .th-profile-skills { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin:24px 0 10px; }
#terrain-home .th-profile-skills article { padding:0 0 18px; }
#terrain-home .th-profile-number { color:var(--th-lilac);font:11px var(--th-mono); }
#terrain-home .th-profile-skills h3 { font:400 25px/1.2 var(--th-serif);margin:12px 0; }
#terrain-home .th-profile-skills p { color:var(--th-muted);font-size:13px; }
#terrain-home .th-profile-skills ul { list-style:none;display:flex;flex-wrap:wrap;gap:7px;padding:0;margin:18px 0 0; }
#terrain-home .th-profile-skills li { border:1px solid var(--th-line);border-radius:3px;padding:3px 8px;color:var(--th-lilac);font:10px/1.7 var(--th-mono); }
#terrain-home .th-profile-projects { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;padding:7px 0 10px; }
#terrain-home .th-profile-project { background:var(--th-panel);padding:26px 28px;display:flex;flex-direction:column;align-items:flex-start;border-radius:4px; }
#terrain-home .th-profile-project h3 { font:400 28px/1.2 var(--th-serif);margin:15px 0; }
#terrain-home .th-profile-project > p:not(.th-label),#terrain-home .th-profile-project li { font-size:13px;color:var(--th-muted); }
#terrain-home .th-profile-project ul { padding-left:17px;margin:18px 0; }
#terrain-home .th-profile-project .th-link { margin-top:auto; }
#terrain-home .th-profile-timeline { list-style:none;padding:0;margin:24px 0 10px; }
#terrain-home .th-profile-timeline > li { display:grid;grid-template-columns:190px minmax(0,1fr);gap:25px;padding:23px 0;border-bottom:1px solid var(--th-line); }
#terrain-home .th-profile-timeline h3,#terrain-home .th-profile-training h3 { font:400 25px/1.25 var(--th-serif);margin-bottom:12px; }
#terrain-home .th-profile-period { color:var(--th-lilac);font:11px/1.8 var(--th-mono); }
#terrain-home .th-profile-timeline div > p,#terrain-home .th-profile-timeline ul,#terrain-home .th-profile-training article > p:last-child { color:var(--th-muted);font-size:13px; }
#terrain-home .th-profile-timeline .th-profile-employer { color:var(--th-peach);margin-bottom:10px; }
#terrain-home .th-profile-timeline ul { padding-left:18px; }
#terrain-home .th-profile-training { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:24px 0; }
#terrain-home .th-profile-training article { padding:24px;border:1px solid var(--th-line); }
#terrain-home .th-profile-training .th-profile-period { margin-bottom:12px; }
#terrain-home .th-profile-closing { display:flex;justify-content:space-between;align-items:center;gap:24px;margin:8px 0 35px;padding:26px 0;border-top:1px solid var(--th-line); }
#terrain-home .th-profile-closing h2 { font:400 30px/1.2 var(--th-serif);margin:12px 0; }
#terrain-home .th-profile-closing div > p:last-child { color:var(--th-muted);font-size:13px; }
#terrain-home .th-profile-closing > a { flex-shrink:0; }
@media(max-width:850px) { #terrain-home .th-profile-hero { gap:28px; } #terrain-home .th-profile-skills { grid-template-columns:1fr;gap:0; } }
@media(max-width:620px) { #terrain-home .th-profile-hero,#terrain-home .th-profile-projects,#terrain-home .th-profile-training,#terrain-home .th-profile-timeline > li { grid-template-columns:1fr; } #terrain-home .th-profile-hero { padding-top:30px; } #terrain-home .th-profile-closing { align-items:flex-start;flex-direction:column; } #terrain-home .th-profile-timeline > li { gap:12px; } }
/* Le code Konami révèle l'entrée du dossier, sans déplacer la page. */
#terrain-home .th-secret-live { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0; }
#terrain-home .th-secret { position:fixed;right:max(24px,env(safe-area-inset-right));bottom:max(24px,env(safe-area-inset-bottom));z-index:20;display:flex;align-items:flex-start;gap:16px;width:410px;max-width:calc(100vw - 32px);padding:25px 46px 23px 22px;border:1px solid var(--th-lilac);border-radius:8px;background:var(--th-panel);box-shadow:0 12px 48px #0008,0 0 30px #c8afd917; }
#terrain-home .th-secret-icon { display:grid;place-items:center;flex-shrink:0;width:46px;height:46px;margin-top:3px;color:#c7ddae;background:#c7ddae12;border:1px solid #c7ddae40;border-radius:4px; }
#terrain-home .th-secret-icon svg { width:31px;height:24px; }
#terrain-home .th-secret-copy { min-width:0;flex:1; }
#terrain-home .th-secret-label { font:10px/1.6 var(--th-mono);letter-spacing:.09em;text-transform:uppercase;color:var(--th-lilac); }
#terrain-home .th-secret-title { font:400 27px/1.2 var(--th-serif);margin:7px 0 9px; }
#terrain-home .th-secret-description { color:var(--th-muted);font-size:12px; }
#terrain-home .th-secret-entry { display:inline-flex;align-items:center;min-height:44px;margin-top:10px;color:var(--th-lilac);font-size:12px;text-decoration:underline;text-underline-offset:4px; }
#terrain-home .th-secret-entry:focus-visible { outline:2px solid var(--th-lilac);outline-offset:4px;border-radius:1px; }
#terrain-home .th-secret-bottom { display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:16px;font:10px/1.7 var(--th-mono); }
#terrain-home .th-secret-bottom span:first-child { color:#c7ddae;text-transform:uppercase;letter-spacing:.06em; }
#terrain-home .th-secret-bottom span:last-child { color:var(--th-muted);white-space:nowrap; }
#terrain-home .th-secret-close { position:absolute;top:4px;right:4px;width:36px;height:36px;border:0;background:transparent;cursor:pointer;color:var(--th-muted);font-size:23px; }
#terrain-home .th-secret-close:hover { color:var(--th-ink); }
#terrain-home .th-secret-close:focus-visible { outline:2px solid var(--th-lilac);outline-offset:-3px; }
@media(pointer:coarse) { #terrain-home .th-secret-close { width:44px;height:44px; } }
@media(max-width:620px) { #terrain-home .th-secret { right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));gap:12px;padding-left:18px; } }
@media(prefers-reduced-motion:no-preference) {
  #terrain-home .th-secret:not([hidden]) { animation:th-secret-arrive .3s ease-out both; }
  @keyframes th-secret-arrive { from { opacity:0;transform:translateY(12px); } to { opacity:1;transform:translateY(0); } }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
