/* Keel: inner pages. Extends keel.css (load after it). Same tokens, no new colors. */
.hidden { display: none !important; }
.pg main { overflow-x: clip; }
.pg .top { background: rgba(243, 241, 236, .0); }
button.btn { border: 0; cursor: pointer; font-family: var(--sans); }
button.btn-line, button.btn-ghost { background: transparent; color: var(--ink); }
button.btn:disabled { opacity: .55; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn-on { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.label { font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--ink-2); max-width: 30em; }
.muted { color: var(--muted); }

/* Page hero */
section.pg-hero { padding: clamp(132px, 22vh, 220px) var(--pad) clamp(48px, 9vh, 110px); }
.pg-hero h1 { font-size: clamp(46px, 7.4vw, 116px); margin: 22px 0 28px; max-width: 12.5em; }
.pg-hero h1 em, .sec h2 em { color: var(--accent); }
.pg-hero .ctas { margin-top: 36px; }
.crumb { text-decoration: none; color: inherit; }
.crumb:hover { color: var(--ink); }

/* Sections */
section.sec { padding: clamp(72px, 12vh, 140px) var(--pad); }
section.sec-alt { background: var(--paper-2); border-radius: 36px; margin: 0 clamp(8px, 1.2vw, 16px); padding-left: calc(var(--pad) - clamp(8px, 1.2vw, 16px)); padding-right: calc(var(--pad) - clamp(8px, 1.2vw, 16px)); }
.sec h2 { font-size: clamp(36px, 5vw, 76px); margin-top: 18px; max-width: 14em; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(36px, 6vh, 64px); }
.sec-head .sub { max-width: 26em; color: var(--ink-2); font-size: 17px; }
.sec > .fine { margin-top: 24px; }

/* Tiles */
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tiles-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 16px; min-height: 230px; padding: 26px;
  background: var(--card); border-radius: 22px; text-decoration: none; color: inherit;
  box-shadow: 0 1px 0 rgba(18,18,18,.04), 0 20px 40px -28px rgba(18,18,18,.25);
  transition: transform .5s var(--ease), box-shadow .35s;
}
li.tile[data-reveal] { transition: opacity .9s var(--ease), transform 1s var(--ease); }
a.tile:hover { transform: translateY(-4px); box-shadow: 0 1px 0 rgba(18,18,18,.04), 0 30px 50px -28px rgba(18,18,18,.35); }
.tile h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.035em; line-height: 1.06; }
.tile p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.tile .go { margin-top: auto; align-self: flex-start; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); font-size: 14px; transition: transform .45s var(--ease), background .25s; }
a.tile:hover .go { background: var(--accent); transform: rotate(45deg); }
.tile-ink { background: var(--ink); color: var(--paper); }
.tile-ink p { color: rgba(243,241,236,.65); }
.tile-ink .card-k { color: rgba(243,241,236,.55); }
.tile-ink .go { background: rgba(243,241,236,.12); }

/* Steps (fit call / assessment / concierge) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.steps .tile { min-height: 260px; }
.steps .tile h3 { font-size: clamp(26px, 2.6vw, 38px); }
.steps .tile p { margin-top: auto; font-size: 16px; color: var(--ink-2); }
.steps .tile-ink p { color: rgba(243,241,236,.75); }

/* Illustrative example timeline */
.ex { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.ex li { background: var(--card); border-radius: 22px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 210px; }
.ex .when { font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.ex .what { font-size: 20px; font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.ex .then { margin-top: auto; color: var(--muted); font-size: 15px; }
.ex li.hot { box-shadow: inset 0 0 0 2px var(--accent); }
.ex li.hot .when { color: var(--accent-ink); }

/* One big question */
.ask { font-size: clamp(30px, 4.2vw, 62px); font-weight: 600; letter-spacing: -.045em; line-height: 1.02; max-width: 17em; text-wrap: balance; margin-top: 22px; }
.ask-note { margin-top: 28px; max-width: 34em; color: var(--ink-2); }

/* Lines: label + statement rows */
.lines { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lines li { display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.1fr); gap: 12px 24px; align-items: baseline; padding: clamp(20px, 3vh, 30px) 0; border-bottom: 1px solid var(--line); }
.lines strong { font-size: clamp(22px, 2.6vw, 36px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.lines p { color: var(--muted); }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 1000px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: clamp(20px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--card); font: 400 18px/1 var(--mono); color: var(--accent-ink); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 26px; max-width: 40em; color: var(--ink-2); }

/* Forms */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 8px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pg input:not([type=hidden]):not([type=file]), .pg textarea, .pg select {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--ink); letter-spacing: normal; text-transform: none;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px;
  transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none;
}
.pg select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.pg input:focus, .pg textarea:focus, .pg select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255, 79, 26, .18); }
.pg textarea { min-height: 120px; resize: vertical; }
.form .btn { justify-self: start; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slots button { font: 500 14px/1 var(--sans); padding: 12px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.slots button:hover { border-color: var(--ink); }
.slots button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.notice { padding: 14px 18px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-size: 15px; margin: 20px 0; }
.notice.ok { box-shadow: inset 0 0 0 1px var(--ink); }
.notice.err { box-shadow: inset 0 0 0 1px var(--accent); color: var(--accent-ink); }

/* Book */
.book { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: start; padding: clamp(124px, 18vh, 170px) var(--pad) clamp(64px, 10vh, 120px); }
.book h1 { font-size: clamp(46px, 6.4vw, 100px); margin: 22px 0 24px; }
.book h1 em { color: var(--accent); }
.ticks { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); counter-reset: t; }
.ticks li { display: grid; grid-template-columns: 40px 1fr; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16px; counter-increment: t; }
.ticks li::before { content: counter(t, decimal-leading-zero); font: 500 12px/1.9 var(--mono); color: var(--accent); }
.more { margin-top: 24px; }
.more summary { cursor: pointer; font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); list-style: none; display: inline-flex; gap: 10px; align-items: center; }
.more summary::-webkit-details-marker { display: none; }
.more summary::before { content: "+"; color: var(--accent-ink); transition: transform .3s var(--ease); }
.more[open] summary::before { transform: rotate(45deg); }
.more p { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 34em; }
.book-card { background: var(--card); border-radius: 28px; padding: clamp(14px, 2vw, 22px); box-shadow: 0 1px 0 rgba(18,18,18,.04), 0 30px 60px -36px rgba(18,18,18,.3); }
.book-card .form { padding: clamp(10px, 1.6vw, 18px); }
.cal-frame { display: block; width: 100%; height: 700px; border: 0; border-radius: 18px; background: var(--paper); }
.cal-fallback { padding: 16px 8px 4px; font-size: 14px; color: var(--muted); }
.cal-fallback a { color: var(--ink); }

/* Hub (client desk) */
.desk-wrap { padding: clamp(124px, 18vh, 170px) var(--pad) clamp(64px, 10vh, 120px); }
.desk-wrap h1 { font-size: clamp(46px, 6.4vw, 100px); margin: 22px 0 24px; }
.desk-wrap h1 em { color: var(--accent); }
.desk-wrap section { padding: 0; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
.split > form { background: var(--card); border-radius: 28px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 1px 0 rgba(18,18,18,.04), 0 20px 40px -28px rgba(18,18,18,.25); align-content: start; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; width: fit-content; max-width: 100%; padding: 5px; margin: 40px 0 16px; background: var(--paper-2); border-radius: 26px; }
.tabs button { border: 0; background: transparent; color: var(--ink-2); font: 500 14px/1 var(--sans); padding: 11px 16px; border-radius: 999px; cursor: pointer; transition: background .2s, color .2s; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
#desk .panel { display: none; background: var(--card); border-radius: 28px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 1px 0 rgba(18,18,18,.04), 0 20px 40px -28px rgba(18,18,18,.25); }
#desk .panel.active { display: block; }
#desk .panel h2 { font-size: clamp(26px, 3vw, 40px); margin-bottom: 14px; }
#desk .panel p.who + p.who { margin-top: 8px; }
p.who, li.who { color: var(--muted); }
.row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.row:last-child { border-bottom: 0; }
.row strong { display: block; margin-bottom: 6px; font: 500 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.row p { font-size: 17px; }
.badge { flex: none; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: var(--paper-2); }
.badge-wait { background: rgba(255, 79, 26, .14); color: var(--accent-ink); }
.badge-on { background: var(--ink); color: var(--paper); }
.msg { padding: 16px 0; border-bottom: 1px solid var(--line); }
.msg .meta { font: 500 12px/1.4 var(--mono); color: var(--muted); margin-bottom: 6px; }
.drop { display: grid; gap: 8px; place-items: center; text-align: center; padding: 44px 24px; margin-top: 18px; border: 1.5px dashed rgba(18,18,18,.25); border-radius: 22px; cursor: pointer; transition: border-color .2s, background .2s; }
.drop:hover, .drop.drag { border-color: var(--accent); background: rgba(255, 79, 26, .05); }
.file-list { list-style: none; margin: 16px 0 0; padding: 0; }
.file-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.file-list li > span:first-child { flex: 1 1 180px; min-width: 0; overflow-wrap: anywhere; }
.pay-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

/* Privacy */
.prose { max-width: 44rem; }
.prose h2 { font-size: clamp(22px, 2vw, 26px); letter-spacing: -.03em; line-height: 1.2; margin: 48px 0 12px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose p, .prose ul { margin: 0 0 14px; color: var(--ink-2); }
.prose ul { padding-left: 1.15em; }
.prose li { margin: 6px 0; }
.prose a { color: var(--ink); }
.prose .sign { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: 1fr; }
  .steps .tile { min-height: 0; }
  .book { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .tiles, .tiles-2 { grid-template-columns: 1fr; }
  .tile { min-height: 0; }
  .lines li { grid-template-columns: 40px minmax(0, 1fr); }
  .lines li p { grid-column: 2; }
  .cal-frame { height: 1020px; }
  /* Phones: workflow cards become a tight tappable list */
  .tiles { gap: 10px; }
  a.tile { padding: 18px 52px 18px 18px; gap: 6px; border-radius: 18px; }
  a.tile h3 { font-size: 19px; line-height: 1.15; letter-spacing: -.02em; }
  a.tile p { font-size: 14px; }
  a.tile .go { position: absolute; right: 14px; top: 50%; margin: -15px 0 0; width: 30px; height: 30px; font-size: 12px; }
  .tabs { border-radius: 22px; }
  .tabs button { padding: 10px 12px; font-size: 13px; }
}
