/* ==========================================================================
   BRAND — Cornes Designs' own site.
   Everything here is specific to this one site. A client site has its own
   file like this and touches nothing else.
   ========================================================================== */

/* this site's own font stack is loaded in the document head */

/* the floating deck of screens is particular to the studio's homepage */
.stage3d{--deck-tilt:8deg}

/* ==========================================================================
   Homepage additions (November 2026)
   ========================================================================== */

/* client login: present for clients, quieter than the main call to action */
.nav__links .nav__login{font-size:.82rem;color:var(--paper-3);text-decoration:underline;
  text-underline-offset:4px;text-decoration-color:var(--line)}
.nav__links .nav__login:hover{color:var(--accent);text-decoration-color:currentColor}

/* timeline: five stages across the page, not four with one wrapping */
@media(min-width:861px){.tl__stops{grid-template-columns:repeat(5,1fr)}}

/* promises under the timeline */
.promises{list-style:none;margin:clamp(34px,5vh,56px) 0 0;padding:0;display:grid;
  grid-template-columns:1fr;gap:clamp(14px,2vw,24px)}
@media(min-width:700px){.promises{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.promises{grid-template-columns:repeat(4,1fr)}}
.promises li{border-top:1px solid var(--line);padding-top:16px;color:var(--paper-2);
  font-size:.95rem;line-height:1.55;max-width:34ch}
.promises__k{display:block;font-family:var(--font-label);font-size:.66rem;font-weight:600;
  letter-spacing:.2em;text-transform:uppercase;color:var(--accent);margin-bottom:.55em}

/* evidence: four figures */
.evsec,.casesec{padding-block:clamp(80px,12vh,150px)}
@media(min-width:640px){.ev--4{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1100px){.ev--4{grid-template-columns:repeat(4,1fr)}}
.ev--4 .ev__n{font-size:clamp(2.2rem,4.4vw,3.3rem)}

/* the hub example: tabs */
.hubtabs{display:flex;flex-wrap:wrap;gap:6px;margin:-.4em 0 1.6em;
  border-bottom:1px solid var(--line);padding-bottom:12px}
.hubtab{font:inherit;font-family:var(--font-label);font-size:.78rem;font-weight:500;
  color:var(--paper-2);background:transparent;border:1px solid transparent;border-radius:999px;
  padding:.5em 1em;cursor:pointer;transition:background-color .3s var(--e-out),color .3s var(--e-out),border-color .3s var(--e-out)}
.hubtab:hover{color:var(--paper);border-color:var(--line)}
.hubtab.is-on{background:var(--brand);color:#F4F3F7}
.hubtab:focus-visible{outline:2px solid var(--accent-2);outline-offset:2px}
.hubpane{min-height:clamp(200px,26vh,250px)}
.hubpane.is-on{animation:hubIn .45s var(--e-out)}
@keyframes hubIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.hubpane.is-on{animation:none}}

.hubsteps{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.hubsteps li{display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:14px 16px;border-radius:var(--r);background:var(--ink-3);border:1px solid var(--line-2);
  color:var(--paper-2);font-size:.95rem}
.hubsteps li span::before{content:"";display:inline-block;width:9px;height:9px;border-radius:50%;
  margin-right:12px;vertical-align:1px;background:var(--ink-4);box-shadow:0 0 0 1px var(--line)}
.hubsteps li.is-done span::before{background:var(--brand);box-shadow:none}
.hubsteps li.is-now{border-color:var(--accent);color:var(--paper)}
.hubsteps li.is-now span::before{background:var(--yellow);box-shadow:0 0 0 1px var(--accent)}
.hubsteps em,.hubinv em{font-style:normal;font-family:var(--font-label);font-size:.7rem;
  letter-spacing:.12em;text-transform:uppercase;color:var(--paper-3)}
.hubsteps li.is-done em{color:var(--accent)}
.hubnote{margin-top:1.2em;font-size:.88rem;color:var(--paper-2)}

.hubmsg{max-width:82%;padding:12px 15px;border-radius:14px;margin-bottom:12px;font-size:.95rem;line-height:1.5}
.hubmsg span{display:block;margin-top:6px;font-size:.72rem;color:var(--paper-3)}
.hubmsg--them{background:var(--ink-3);border:1px solid var(--line-2)}
.hubmsg--me{margin-left:auto;background:var(--brand);color:#F4F3F7}
.hubmsg--me span{color:#CFCBFF}

.hubinv{list-style:none;margin:0;padding:0}
.hubinv li{display:flex;justify-content:space-between;gap:12px;padding:14px 2px;
  border-bottom:1px solid var(--line-2);font-size:.95rem;color:var(--paper)}
.hubinv em.is-paid{color:var(--ok)}

/* timeline geometry: two equal rows meeting exactly at the line, so every dot
   sits on it. Odd stages hang above the line, even stages below, one column each. */
@media(min-width:861px){
  .tl__stops{grid-template-rows:1fr 1fr;align-items:stretch}
  .tl__s:nth-child(odd){grid-row:1;align-self:end;padding-bottom:26px}
  .tl__s:nth-child(even){grid-row:2;align-self:start;padding-top:26px}
  .tl__s:nth-child(1){grid-column:1}.tl__s:nth-child(2){grid-column:2}.tl__s:nth-child(3){grid-column:3}
  .tl__s:nth-child(4){grid-column:4}.tl__s:nth-child(5){grid-column:5}
  .tl__s:nth-child(odd) .tl__dot{bottom:-6px;top:auto}
  .tl__s:nth-child(even) .tl__dot{top:-6px;bottom:auto}
}
.tl + .tl__note{padding:0}

/* the full-height "layer" sections are flex columns; these two are meant to sit
   side by side on wide screens, so restore their two-column grids there */
@media(min-width:980px){.dash.layer{display:grid;grid-template-columns:.85fr 1.15fr;align-items:center}}
@media(min-width:900px){.contact.layer{display:grid;grid-template-columns:1fr 1fr;align-items:start;column-gap:clamp(36px,6vw,96px)}}
@media(max-width:700px){.nav__links .nav__login{display:none}}

/* narrow screens: keep the whole name, just smaller, instead of cutting "Designs" */
@media(max-width:700px){
  .wordmark__b{display:inline}
  .wordmark__a,.wordmark__b{font-size:.8rem;letter-spacing:.14em}
  .wordmark__r{width:12px;margin-inline:7px}
}

/* ==========================================================================
   LOGO (Cornes Designs). Colours are the brand file's exact values, scoped to
   the logo so they never change the site's own greige ground and type tokens.
   Wordmark: Cabinet Grotesk 800 (already loaded, heavy and tight) at -0.04em,
   with a little room after the "r" so "rn" can't read as "m".
   ========================================================================== */
.logo{--logo-ink:#151230;--logo-indigo:#0E0A9A;display:inline-flex;align-items:center;gap:10px;
  text-decoration:none;color:var(--logo-ink)}
.logo__mark{display:block;flex:none;width:40px;height:40px}
.logo__word{font-family:var(--font-display);font-weight:800;font-size:1.4rem;line-height:1;
  letter-spacing:-.04em;white-space:nowrap}
.logo__a{color:var(--logo-ink)}
.logo__b{color:var(--logo-indigo)}
.logo__r{margin-right:.025em}
.logo--sm .logo__mark{width:28px;height:28px}
.logo--sm .logo__word{font-size:1.05rem}
.foot__brand{display:inline-flex;align-items:center;gap:14px;flex-wrap:wrap}
@media(max-width:700px){
  .logo__mark{width:32px;height:32px}
  .logo__word{font-size:1.18rem}
}
/* the old serif wordmark rules are no longer used */
