/* TK Web Studio Website Guide — editorial, brand-aligned, deliberately low-chrome. */
:root {
  color-scheme: light;
  --orange: #ff7041;
  --charcoal: #171717;
  --ink: #26221f;
  --paper: #faf7f2;
  --warm-paper: #f3eee7;
  --surface: #fffdf9;
  --line: #ded5ca;
  --line-strong: #bfb4a8;
  --muted: #706861;
  --soft: #9b9188;
  --max: 1220px;
  --gutter: clamp(18px, 4vw, 52px);
  --display: "Syne", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin-top: 0; }
::selection { color: var(--charcoal); background: #ffc0aa; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  transform: translateY(-160%);
  color: #fff;
  background: var(--charcoal);
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.guide-shell {
  width: min(var(--max), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.guide-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(250, 247, 242, .96);
}
.guide-header__inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.guide-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.guide-brand img {
  width: 54px;
  height: auto;
}
.guide-brand__name {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: .04em;
}
.guide-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scrollbar-width: none;
}
.guide-nav::-webkit-scrollbar { display: none; }
.guide-nav a {
  position: relative;
  flex: 0 0 auto;
  padding-block: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.guide-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--orange);
  transition: transform .2s ease;
}
.guide-nav a:hover { color: var(--charcoal); }
.guide-nav a:hover::after { transform: scaleX(1); }
.guide-nav .guide-nav__cta {
  padding: 10px 14px;
  color: var(--charcoal);
  background: var(--orange);
}
.guide-nav .guide-nav__cta::after { display: none; }

.guide-kicker {
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.guide-hero {
  padding: clamp(72px, 10vw, 140px) 0 clamp(58px, 8vw, 108px);
  border-bottom: 1px solid var(--line);
}
.guide-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, .72fr);
  gap: clamp(54px, 8vw, 112px);
  align-items: start;
}
.guide-hero h1 {
  max-width: 860px;
  margin-bottom: 28px;
  font-family: var(--display);
  font-size: clamp(54px, 8.2vw, 112px);
  font-weight: 800;
  letter-spacing: -.075em;
  line-height: .9;
  text-wrap: balance;
}
.guide-hero h1 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  letter-spacing: -.05em;
}
.guide-hero__lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.62;
}
.guide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
}
.guide-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--charcoal);
  color: #fff;
  background: var(--charcoal);
  font-size: 13px;
  font-weight: 800;
  transition: transform .18s ease, background .18s ease, color .18s ease;
}
.guide-button:hover { transform: translateY(-2px); }
.guide-button--orange {
  border-color: var(--orange);
  color: var(--charcoal);
  background: var(--orange);
}
.guide-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid currentColor;
  color: var(--charcoal);
  font-size: 13px;
  font-weight: 800;
}
.guide-text-link:hover { color: var(--orange); }

.finder-card {
  position: sticky;
  top: 112px;
  padding: 0 0 8px;
  border-top: 3px solid var(--orange);
  border-bottom: 1px solid var(--line-strong);
}
.finder-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 0 14px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.finder-progress i {
  width: 9px;
  height: 9px;
  background: var(--orange);
}
.finder-card h2 {
  margin: 27px 0 18px;
  font-family: var(--display);
  font-size: clamp(25px, 3vw, 35px);
  letter-spacing: -.045em;
  line-height: 1.05;
}
.finder-choices {
  display: grid;
  border-top: 1px solid var(--line);
}
.finder-choices button {
  position: relative;
  min-height: 58px;
  padding: 14px 38px 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
}
.finder-choices button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 5px;
  width: 14px;
  height: 14px;
  transform: translateY(-50%);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.finder-choices button:hover { color: var(--orange); }
.finder-choices button[aria-pressed="true"] {
  color: var(--charcoal);
  font-weight: 800;
}
.finder-choices button[aria-pressed="true"]::after {
  border-color: var(--orange);
  background: var(--orange);
  box-shadow: inset 0 0 0 4px var(--paper);
}
.finder-result {
  margin-top: 24px;
  padding: 22px 0 10px;
  border-top: 1px solid var(--line-strong);
}
.finder-result__price {
  display: block;
  margin-bottom: 6px;
  color: var(--orange);
  font-family: var(--display);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -.05em;
}
.finder-result h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -.04em;
}
.finder-result > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}
.finder-matches {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}
.finder-matches a {
  width: fit-content;
  border-bottom: 1px solid var(--line-strong);
  font-size: 12px;
  font-weight: 800;
}
.finder-matches a:hover { color: var(--orange); }
.finder-result .actions { margin-top: 18px; }
.finder-result .button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid var(--charcoal);
  color: #fff;
  background: var(--charcoal);
  font-size: 12px;
  font-weight: 800;
}

.guide-note {
  border-bottom: 1px solid var(--line);
  background: var(--warm-paper);
}
.guide-note__inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 36px;
  align-items: center;
  padding-block: 22px;
}
.guide-note strong {
  font-family: var(--display);
  font-size: 15px;
  letter-spacing: -.02em;
}
.guide-note p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.guide-section {
  padding-block: clamp(72px, 9vw, 122px);
  border-bottom: 1px solid var(--line);
}
.guide-section--warm { background: var(--warm-paper); }
.guide-section--dark {
  color: #fff;
  background: var(--charcoal);
  border-color: rgba(255,255,255,.1);
}
.guide-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .48fr);
  gap: 52px;
  align-items: end;
  margin-bottom: clamp(42px, 6vw, 72px);
}
.guide-section__head h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 74px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .96;
  text-wrap: balance;
}
.guide-section__head > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.guide-section--dark .guide-section__head > p { color: #cfc5be; }

.guide-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.guide-step {
  min-width: 0;
  padding: 26px 24px 30px;
  border-left: 1px solid var(--line-strong);
}
.guide-step:first-child {
  padding-left: 0;
  border-left: 0;
}
.guide-step:last-child { padding-right: 0; }
.guide-step__number {
  display: block;
  margin-bottom: 42px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
}
.guide-step h3 {
  margin-bottom: 10px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -.04em;
}
.guide-step p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.guide-examples { display: grid; }
.guide-example {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, .66fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  padding-block: clamp(42px, 6vw, 72px);
  border-top: 1px solid var(--line-strong);
}
.guide-example:first-child { border-top: 0; padding-top: 0; }
.guide-example:last-child { padding-bottom: 0; }
.guide-example:nth-child(even) .guide-example__visual { order: 2; }
.guide-example:nth-child(even) .guide-example__copy { order: 1; }
.guide-example__visual {
  position: relative;
  overflow: hidden;
  border: 1px solid #c8bdb2;
  background: #e8e0d7;
  box-shadow: 0 18px 44px rgba(35, 29, 24, .09);
}
.guide-example__visual::before {
  content: "";
  display: block;
  padding-top: 62%;
}
.guide-example__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform .35s ease;
}
.guide-example__visual:hover img { transform: scale(1.012); }
.guide-example__index {
  margin-bottom: 26px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.guide-example h3 {
  margin-bottom: 16px;
  font-family: var(--display);
  font-size: clamp(34px, 4.5vw, 58px);
  letter-spacing: -.055em;
  line-height: .98;
}
.guide-example__meta {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.guide-example__copy > p {
  max-width: 560px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}
.guide-example__fit {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.5;
}
.guide-example__fit span {
  color: var(--soft);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.guide-example__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.scope-lab {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.scope-controls { display: grid; align-content: start; }
.scope-controls button {
  position: relative;
  min-height: 88px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 14px;
  padding: 16px 24px 16px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  background: transparent;
  text-align: left;
}
.scope-controls button:last-child { border-bottom: 0; }
.scope-controls button > span:first-child {
  color: var(--soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
}
.scope-controls strong,
.scope-controls small { display: block; }
.scope-controls strong {
  font-family: var(--display);
  font-size: 17px;
  letter-spacing: -.025em;
}
.scope-controls small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
}
.scope-controls i {
  width: 10px;
  height: 10px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
}
.scope-controls button:hover strong { color: var(--orange); }
.scope-controls button[aria-pressed="true"] strong { color: var(--orange); }
.scope-controls button[aria-pressed="true"] i {
  border-color: var(--orange);
  background: var(--orange);
}
.scope-output {
  min-width: 0;
  padding: clamp(30px, 5vw, 58px);
  border-left: 1px solid var(--line-strong);
  background: var(--surface);
}
.scope-output__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 38px;
  color: var(--soft);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.scope-output__top b {
  color: var(--orange);
  font-family: var(--display);
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -.06em;
  line-height: .85;
  text-transform: none;
}
.scope-output h3 {
  margin-bottom: 14px;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 46px);
  letter-spacing: -.05em;
}
.scope-output > p {
  max-width: 580px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}
.scope-output ul {
  display: grid;
  gap: 0;
  margin: 24px 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.scope-output li {
  position: relative;
  padding: 12px 0 12px 24px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  font-weight: 700;
}
.scope-output li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--orange);
}
.scope-fit { font-weight: 700; }
.scope-output .button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 11px 16px;
  border: 1px solid var(--charcoal);
  color: #fff;
  background: var(--charcoal);
  font-size: 12px;
  font-weight: 800;
}

.guide-final {
  padding-block: clamp(74px, 10vw, 128px);
  color: #fff;
  background: var(--charcoal);
}
.guide-final__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .55fr);
  gap: clamp(42px, 8vw, 108px);
  align-items: end;
}
.guide-final h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -.065em;
  line-height: .92;
}
.guide-final h2 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
.guide-final__side p {
  margin-bottom: 24px;
  color: #cfc5be;
  font-size: 14px;
  line-height: 1.7;
}
.guide-final .guide-text-link { color: #fff; }
.guide-final .guide-text-link:hover { color: var(--orange); }

.guide-footer {
  color: #bdb3ab;
  background: #0e0e0e;
  border-top: 1px solid rgba(255,255,255,.1);
}
.guide-footer__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.guide-footer__inner > span { font-size: 11px; }
.guide-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 11px;
}
.guide-footer a:hover { color: var(--orange); }

@media (max-width: 980px) {
  .guide-nav a:not(.guide-nav__cta) { display: none; }
  .guide-hero__grid { grid-template-columns: 1fr; gap: 54px; }
  .finder-card { position: static; max-width: 720px; }
  .guide-section__head { grid-template-columns: 1fr; gap: 20px; }
  .guide-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-step:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-strong); padding-left: 0; }
  .guide-step:nth-child(4) { border-top: 1px solid var(--line-strong); }
  .guide-example,
  .guide-example:nth-child(even) { grid-template-columns: 1fr; gap: 30px; }
  .guide-example:nth-child(even) .guide-example__visual,
  .guide-example:nth-child(even) .guide-example__copy { order: initial; }
  .scope-lab { grid-template-columns: 1fr; }
  .scope-output { border-top: 1px solid var(--line-strong); border-left: 0; }
  .guide-final__grid { grid-template-columns: 1fr; }
}

@media (max-width: 650px) {
  :root { --gutter: 18px; }
  .guide-header__inner { min-height: 66px; }
  .guide-brand img { width: 46px; }
  .guide-brand__name { font-size: 11px; }
  .guide-nav .guide-nav__cta { padding: 9px 11px; font-size: 11px; }
  .guide-hero { padding-top: 58px; }
  .guide-hero h1 { font-size: clamp(50px, 15vw, 72px); }
  .guide-actions { align-items: stretch; flex-direction: column; }
  .guide-button { width: 100%; }
  .guide-text-link { width: fit-content; }
  .guide-note__inner { grid-template-columns: 1fr; gap: 8px; }
  .guide-section { padding-block: 68px; }
  .guide-section__head { margin-bottom: 38px; }
  .guide-steps { grid-template-columns: 1fr; }
  .guide-step,
  .guide-step:first-child,
  .guide-step:nth-child(3),
  .guide-step:last-child {
    padding: 22px 0 24px;
    border-top: 1px solid var(--line-strong);
    border-left: 0;
  }
  .guide-step:first-child { border-top: 0; }
  .guide-step__number { margin-bottom: 22px; }
  .guide-example { padding-block: 38px; }
  .guide-example__visual::before { padding-top: 72%; }
  .guide-example__fit { grid-template-columns: 1fr; gap: 5px; }
  .guide-example__actions { align-items: flex-start; flex-direction: column; }
  .scope-controls button { min-height: 78px; grid-template-columns: 48px minmax(0,1fr) 14px; padding-right: 6px; }
  .scope-output { padding: 28px 0 4px; background: transparent; }
  .scope-output__top { align-items: flex-end; }
  .scope-output__top b { font-size: 44px; }
  .guide-final { padding-block: 70px; }
  .guide-footer__inner { align-items: flex-start; flex-direction: column; padding-block: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
