/* Navigation and explanations for people exploring digital tools for the first time. */
.home-band { padding-block:clamp(54px,7.8vw,116px); }
.home-intro { max-width:790px; margin-bottom:36px; }
.home-intro h2 { font:400 clamp(2.25rem,4.1vw,3.6rem)/1.08 var(--sans); letter-spacing:-.035em; text-wrap:balance; }
.home-intro > p:not(.section-label) { max-width:66ch; margin-top:16px; font-size:1.125rem; line-height:1.65; color:#53504e; }
.section-shortcuts { border-block:1px solid var(--line); background:white; }
.section-shortcuts > div { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; padding-block:18px; gap:4px 14px; }
.section-shortcuts a { display:inline-flex; gap:10px; align-items:center; min-height:48px; font:500 1rem/1.4 var(--ui); letter-spacing:-.025em; }
.section-shortcuts a:hover, .guide-list a:hover h3 { text-decoration:underline; text-underline-offset:4px; }
.primer { border-bottom:1px solid var(--line); }
.order-demo { display:grid; grid-template-columns:1fr 1fr; border:1px solid #cfcdca; border-radius:14px; overflow:hidden; box-shadow:0 10px 35px #13121208; }
.order-demo > div { padding:clamp(22px,3.8vw,50px); }
.order-demo h3 { font:500 clamp(1.27rem,2vw,1.65rem)/1.2 var(--sans); letter-spacing:-.03em; }
.order-message { background:radial-gradient(#d9d7d4 .8px,transparent .9px) 0 0/12px 12px,#f2f1ee; }
.message-thread { display:flex; align-items:flex-start; margin-block:27px 17px; gap:10px; }
.customer-initial { display:grid; place-items:center; width:38px; height:38px; flex:none; border-radius:50%; background:#393531; color:white; font:500 1rem/1 var(--mono); }
.message-thread > div { max-width:340px; padding:16px 20px; border:1px solid #dedbd5; border-radius:0 16px 16px; background:white; box-shadow:0 2px 5px #00000009; }
.message-thread strong { font:600 1rem/1.2 var(--ui); }
.message-thread blockquote { margin-top:6px; font-size:1.125rem; line-height:1.55; }
.order-message > p { max-width:42ch; margin-left:48px; line-height:1.55; font-size:1.0625rem; }
.order-record { background:white; }
.order-lines { margin-block:16px 20px; }
.order-lines > div { display:grid; grid-template-columns:1fr 1.15fr; align-items:center; gap:12px; padding-block:8px; border-bottom:1px solid var(--line); font-size:1.05rem; }
.order-lines dt { color:#595553; }
.order-lines dd { font-weight:500; }
#order-status { border-radius:4px; background:#f1eee8; padding:.22em .5em; }
#order-status[data-ready] { background:#deeee3; color:#224a32; }
.practice-action { min-height:46px; padding:10px 17px; cursor:pointer; border-radius:5px; background:#262323; font:500 1rem/1.4 var(--ui); color:white; }
.practice-action:hover { background:#43403c; }
.practice-note { font-size:1rem; color:#5f5a56; margin-top:13px; }
.work-estimate { border-block:1px solid var(--line); background:#f4f4f2; }
.estimate-controls { display:grid; grid-template-columns:1fr 1.25fr 1fr; background:#fff; border:1px solid var(--line); border-bottom:0; border-radius:11px 11px 0 0; }
.estimate-controls > * { padding:25px clamp(20px,3vw,40px); }
.estimate-controls > * + * { border-left:1px solid var(--line); }
.estimate-controls label, .estimate-result span { display:block; font:500 1rem/1.4 var(--ui); }
.estimate-controls select { display:block; width:100%; max-width:240px; min-height:46px; margin-top:9px; background:white; border:1px solid #898580; border-radius:5px; padding:6px 12px; font:400 1.1rem var(--sans); color:var(--ink); }
.estimate-controls select:disabled { opacity:1; }
.estimate-result output { display:block; margin-top:11px; font:400 clamp(1.6rem,2.45vw,2.5rem)/1.1 var(--sans); letter-spacing:-.035em; }
.estimate-figure { padding:24px clamp(18px,3vw,40px); border:1px solid var(--line); border-radius:0 0 11px 11px; background:white; }
.estimate-figure figcaption { font:500 1.05rem/1.45 var(--ui); }
.estimate-figure p { margin-top:20px; font-size:1.05rem; color:#514d4a; }
.estimate-case-link { display:inline-flex; align-items:center; min-height:46px; margin-top:12px; font-size:1.03rem; text-decoration:underline; text-underline-offset:.22em; }
.estimate-chart { position:relative; padding:10px 5px 0 102px; margin-top:14px; }
.estimate-chart svg { width:100%; height:144px; overflow:visible; background:repeating-linear-gradient(0deg,#dcd9d6 0 1px,transparent 1px 25%); }
#estimate-fill { fill:#23211e0d; }
#estimate-line { stroke:#5e5346; fill:none; stroke-width:3; vector-effect:non-scaling-stroke; }
.chart-top, .chart-base { position:absolute; left:0; font:400 .87rem/1.35 var(--mono); color:#56524f; }
.chart-top { top:8px; } .chart-base { bottom:26px; }
.chart-days { display:flex; justify-content:space-between; margin-top:8px; font:.875rem/1.35 var(--mono); }
.guides { border-top:1px solid var(--line); }
.guide-layout { display:grid; grid-template-columns:.85fr 1.15fr; gap:clamp(30px,7vw,105px); }
.guide-all { display:inline-flex; align-items:center; min-height:46px; text-decoration:underline; text-underline-offset:5px; margin-top:12px; font-size:1.0625rem; }
.guide-list li { border-top:1px solid #cfcac5; }
.guide-list li:last-child { border-bottom:1px solid #cfcac5; }
.guide-list a { display:grid; grid-template-columns:125px 1fr; gap:14px; padding-block:20px; align-items:baseline; }
.guide-list span { color:#625a54; font:.875rem/1.5 var(--mono); }
.guide-list h3 { font:400 clamp(1.15rem,1.8vw,1.55rem)/1.25 var(--sans); letter-spacing:-.02em; }
.mast-nav a { display:inline-flex; align-items:center; min-height:44px; }
.hero-actions .button, .nav-contact { min-height:46px; }
.hero-copy .lead, .steps p, .models p, .section-intro > p { font-size:1.125rem; }
.hero-copy h1 em, .section-intro h2 em, .work h2 em { color:#686460; }
.hero-actions .button { font-size:.92rem; }
.section-label { font-size:.85rem; }
@media(max-width:760px) {
  .section-shortcuts > div { display:grid; grid-template-columns:1fr 1fr; gap:2px 12px; padding-block:12px; }
  .section-shortcuts a { font-size:1rem; }
  .order-demo, .guide-layout, .estimate-controls { grid-template-columns:1fr; }
  .estimate-controls > * { padding:15px 20px; }
  .estimate-controls > * + * { border-left:0; border-top:1px solid var(--line); }
  .estimate-controls select { max-width:none; }
  .estimate-result { display:flex; justify-content:space-between; align-items:center; gap:10px; }
  .estimate-result output { margin:0; }
  .guide-layout { gap:0; }
  .guide-list a { grid-template-columns:1fr; gap:5px; }
  .estimate-chart { padding-left:72px; }
  .chart-top,.chart-base,.chart-days { font-size:.8rem; }
  .message-thread,.order-message > p { margin-left:0; }
  .mast-nav { gap:4px 16px; }
  .hero-actions .button { font-size:.85rem; }
  .home-intro { margin-bottom:25px; }
}
@media(prefers-reduced-motion:no-preference) {
  .estimate-figure.trace #estimate-line { stroke-dasharray:1; animation:draw-estimate .85s ease-out both; }
  @keyframes draw-estimate { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
}
@media(min-width:761px) and (prefers-reduced-motion:no-preference) {
  .steps li:not(:last-child)::after {
    content:""; position:absolute; height:2px; left:54px; right:-20px; top:24px;
    background:linear-gradient(90deg, transparent,#706f8c,#c79f73,transparent) 0 center/46px 2px no-repeat;
    animation:tkd-step-connector 3.8s linear infinite;
  }
  .steps li:nth-child(2)::after { animation-delay:-2.5s; }
  .steps li:nth-child(3)::after { animation-delay:-1.25s; }
  @keyframes tkd-step-connector { from { background-position-x:-46px; } to { background-position-x:calc(100% + 46px); } }
}
.framework-band { padding-block: clamp(56px, 7vw, 100px); border-top: 1px solid var(--line); background: #f4f3f1; }
.framework-inner { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.85fr); align-items: center; gap: clamp(32px,6vw,100px); }
.framework-copy h2 { margin: .2em 0 .22em; font: 480 clamp(3rem,6vw,5.5rem)/.98 var(--sans); letter-spacing: -.065em; }
.framework-copy h2 span { color: #686562; }
.framework-copy > p:not(.section-label) { max-width: 52ch; color: #55514f; font: 400 1.08rem/1.65 var(--ui); }
.framework-copy strong { color: var(--ink); font-weight: 600; }
.framework-copy .button { margin-top: 22px; min-height: 46px; }
.framework-examples { padding: clamp(20px,3vw,36px); border: 1px solid #363332; border-radius: 8px; background: #191817; color: white; }
.framework-examples h3 { margin-bottom: 14px; color: #d4d1cd; font: 450 .82rem/1.5 var(--mono); }
.framework-examples a { display: grid; align-items: center; gap: 12px; grid-template-columns: 28px 1fr auto; min-height: 58px; border-top: 1px solid #494542; font: 520 1.05rem/1.4 var(--ui); }
.framework-examples img { filter: invert(1); }
.framework-examples small { color: #c2beba; font: 400 .78rem/1.4 var(--mono); }
.framework-examples a:hover span, .framework-examples a:focus-visible span { text-decoration: underline; text-underline-offset: .2em; }
.framework-examples a:focus-visible { outline-color: white; }
@media(max-width:760px) {
  .framework-inner { grid-template-columns: 1fr; }
}

.guide-list .gd-empty { padding-block: 1.2rem; color: #625a54; }
.guide-list :is(span,h3) { overflow-wrap: anywhere; }

.office-location { background:#101010; color:#f5f5f5; padding-block:clamp(42px,6vw,88px); }
.office-location header { display:flex; align-items:flex-end; justify-content:space-between; flex-wrap:wrap; gap:16px 32px; margin-bottom:24px; }
.office-location h2 { font:400 clamp(2.1rem,4.5vw,3.8rem)/1.1 var(--sans); letter-spacing:-.04em; }
.office-location address { margin-top:12px; max-width:65ch; font:400 1.0625rem/1.55 var(--ui); }
.office-location iframe { display:block; width:100%; height:clamp(300px,37vw,470px); border:1px solid #494949; border-radius:14px; background:#181818; }
