/* ============================================================
   BOLDPRINT — New Starter Welcome Site
   Shared stylesheet. Styled to match boldprintstudios.com:
   off-white pages, limelight header, black type, dark footer.
   ============================================================ */

:root {
  /* Brand palette (Brand Book Dec23) */
  --limelight: #CFE081;
  --lavender:  #C6BCDA;
  --green:     #3C6E46;
  --blue:      #4E71B5;
  --tan:       #B49777;
  --orange:    #F55538;
  --off-white: #F0EFEB;
  --almost-black: #1E1E1E;

  /* Roles — light theme like the public site */
  --bg:      #F0EFEB;
  --bg-2:    #FFFFFF;
  --ink:     #1E1E1E;
  --ink-dim: #5d5b56;
  --accent:  #CFE081;
  --accent-deep: #3C6E46;
  --line: rgba(30,30,30,0.14);

  --maxw: 1120px;
  --radius: 22px;
  --radius-lg: 30px;

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Hide the real site until the gate is unlocked (no flash of content) */
html.locked body { overflow: hidden; }
html.locked .site { filter: blur(8px); pointer-events: none; user-select: none; }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section--tight { padding: 40px 0; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(1.9rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1em; }
.lead { font-size: 1.2rem; color: var(--ink); max-width: 62ch; }
.muted { color: var(--ink-dim); }

/* The signature "dot" after a heading */
.dot::after {
  content: "";
  display: inline-block;
  width: .42em; height: .42em;
  margin-left: .14em;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: baseline;
}

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 14px;
}

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.wordmark .mid {
  display: inline-block;
  width: .28em; height: .28em;
  margin: 0 .12em;
  background: var(--accent);
  border-radius: 50%;
}
.wordmark .studios {
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: .12em;
  font-size: .26em;
  margin-left: .5em;
  align-self: flex-end;
  padding-bottom: .35em;
  color: var(--ink-dim);
}

/* ---------- Top nav — limelight band like the public site ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: var(--limelight);
  border-bottom: 1px solid rgba(30,30,30,0.12);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav__brand {
  font-family: var(--serif); font-weight: 600; font-size: 1.35rem;
  text-decoration: none; text-transform: uppercase; letter-spacing: .01em;
  color: var(--almost-black);
}
.nav__brand .mid { display:inline-block; width:.24em; height:.24em; background:var(--almost-black); border-radius:50%; margin:0 .1em; vertical-align: middle; }
.nav__links { display: flex; gap: 4px; align-items: center; }
.nav__links a {
  text-decoration: none; font-size: .8rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 999px; color: var(--almost-black);
  transition: background .15s, color .15s;
}
.nav__links a:hover { background: rgba(30,30,30,0.1); }
.nav__links a.active { color: var(--limelight); background: var(--almost-black); }

/* ---------- Ticker — black band, limelight type ---------- */
.ticker {
  background: var(--almost-black);
  color: var(--limelight);
  overflow: hidden;
  white-space: nowrap;
}
.ticker__track {
  display: inline-block;
  padding: 9px 0;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  animation: scroll-left 32s linear infinite;
}
.ticker__track span { padding: 0 10px; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero — big wordmark + limelight circle motif ---------- */
.hero { padding: 84px 0 56px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -140px; right: -100px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: var(--limelight);
  z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .wordmark { font-size: clamp(3rem, 11vw, 8.5rem); color: var(--almost-black); }
.hero__sub { margin-top: 8px; }

/* Photo hero — the sky from boldprintstudios.com, wordmark in limelight over it */
.hero--photo {
  background: url("img/hero-sky.jpg") center / cover no-repeat;
  padding: clamp(180px, 26vw, 320px) 0 44px;
}
.hero--photo::before { display: none; }
.hero--photo .wordmark { color: var(--limelight); }
.hero--photo .wordmark .studios { color: rgba(240,239,235,.95); }
.hero--photo .eyebrow { color: var(--almost-black); }

/* ---------- Cards / doorways ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

/* Big clickable doorway */
.door {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 280px;
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--almost-black);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}
.door:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(30,30,30,.18); }
.door h3 { color: var(--almost-black); font-size: clamp(1.6rem, 3vw, 2.4rem); }
.door p { color: rgba(30,30,30,.78); margin: 0; max-width: 38ch; }
.door .door__go {
  margin-top: 26px; font-family: var(--sans); font-weight: 600; font-size: .9rem;
  letter-spacing: .04em; display: inline-flex; align-items: center; gap: 8px;
}
.door .door__go .arr { transition: transform .18s ease; }
.door:hover .door__go .arr { transform: translateX(5px); }
.door--lime { background: var(--limelight); }
.door--orange { background: var(--orange); color: #fff; }
.door--orange h3 { color: #fff; }
.door--orange p { color: rgba(255,255,255,.85); }

/* Coloured info card variants (black ink on brand colour) */
.tint { color: var(--almost-black); border: none; }
.tint h3 { color: var(--almost-black); }
.tint p { color: rgba(30,30,30,.8); }
.tint a { color: var(--almost-black); font-weight: 600; }
.tint--lime { background: var(--limelight); }
.tint--lavender { background: var(--lavender); }
.tint--tan { background: var(--tan); }
.tint--green { background: var(--green); color: var(--off-white); }
.tint--green h3 { color: var(--off-white); } .tint--green p { color: rgba(240,239,235,.85);} .tint--green a{color:var(--off-white);}
.tint--blue { background: var(--blue); color: var(--off-white); }
.tint--blue h3 { color: var(--off-white); } .tint--blue p { color: rgba(240,239,235,.85);} .tint--blue a{color:var(--off-white);}

/* ---------- Email tag chips ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 4px; }
.tag {
  display: inline-flex; flex-direction: column; gap: 4px;
  border-radius: 16px; padding: 14px 16px; min-width: 200px; flex: 1 1 200px;
  background: var(--bg-2); border: 1px solid var(--line);
}
.tag b { font-family: var(--sans); font-weight: 700; letter-spacing: .04em; }
.tag--action b { color: var(--orange); }
.tag--fyi b { color: var(--blue); }
.tag--approval b { color: var(--accent-deep); }
.tag--urgent b { color: #d13c25; }
.tag span { font-size: .92rem; color: var(--ink-dim); }

/* ---------- Definition rows / lists ---------- */
.stack > * + * { margin-top: 14px; }
ul.clean { list-style: none; padding: 0; margin: 0; }
ul.clean li { padding: 10px 0; border-bottom: 1px solid var(--line); }
ul.clean li:last-child { border-bottom: none; }

.kv { display: grid; grid-template-columns: 200px 1fr; gap: 6px 18px; }
.kv dt { color: var(--accent-deep); font-weight: 600; font-size: .9rem; }
.kv dd { margin: 0; }

a.link { color: var(--accent-deep); text-decoration: none; border-bottom: 1px solid rgba(60,110,70,.35); }
a.link:hover { border-color: var(--accent-deep); }

/* "Coming soon" chip for unfinished source content */
.soon {
  display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; color: var(--almost-black); background: var(--tan);
  padding: 2px 9px; border-radius: 999px; vertical-align: middle;
}

.callout {
  border-left: 3px solid var(--limelight);
  padding: 4px 0 4px 18px; margin: 18px 0; color: var(--ink-dim);
}

/* ---------- Team / people ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.person {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.avatar {
  width: 64px; height: 64px; border-radius: 50%; margin-bottom: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 1.5rem; color: var(--almost-black);
  background: var(--limelight); object-fit: cover;
}
.person__photo {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top center;
  border-radius: 14px; margin-bottom: 14px; display: block;
}
.avatar--lavender { background: var(--lavender); }
.avatar--tan { background: var(--tan); }
.avatar--orange { background: var(--orange); color:#fff; }
.avatar--blue { background: var(--blue); color: var(--off-white); }
.avatar--green { background: var(--green); color: var(--off-white); }
.person .role { color: var(--accent-deep); font-weight: 600; font-size: .9rem; }
.person .name { font-family: var(--serif); font-size: 1.25rem; }
.person .contact { font-size: .86rem; color: var(--ink-dim); margin-top: 8px; }
.person .contact a { color: var(--ink-dim); text-decoration: none; border-bottom: 1px solid var(--line); }
.person .contact a:hover { color: var(--ink); }

/* Simple org chart overview */
.org { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.org__row { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.org__node {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 18px; min-width: 160px;
}
.org__node b { font-family: var(--serif); font-weight: 600; display: block; }
.org__node span { font-size: .82rem; color: var(--ink-dim); }
.org__node--lead { background: var(--limelight); color: var(--almost-black); border: none; }
.org__node--lead span { color: rgba(30,30,30,.7); }
.org__line { width: 1px; height: 18px; background: var(--line); }

/* Branched org chart: leaders across the top, reports stacked beneath */
.org__branches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; align-items: start; }
.org__branch { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.org__branch .org__node { width: 100%; min-width: 0; }
.org__branch > .org__node:first-child { background: var(--lavender); border: none; color: var(--almost-black); }
.org__branch > .org__node:first-child span { color: rgba(30,30,30,.7); }
.org__tick { width: 1px; height: 12px; background: var(--line); }
@media (max-width: 860px) { .org__branches { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .org__branches { grid-template-columns: 1fr; } }

@media (max-width: 860px) { .people { grid-template-columns: 1fr; } }

/* ---------- Section nav (PM handbook) ---------- */
.layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.sidenav { position: sticky; top: 84px; }
.sidenav ul { list-style: none; margin: 0; padding: 0; }
.sidenav a {
  display: block; text-decoration: none; color: var(--ink-dim);
  padding: 8px 12px; border-radius: 10px; font-size: .92rem; border-left: 2px solid transparent;
}
.sidenav a:hover { color: var(--ink); background: rgba(30,30,30,.05); }
.sec { scroll-margin-top: 84px; padding: 28px 0; border-top: 1px solid var(--line); }
.sec:first-of-type { border-top: none; }

/* ---------- Footer — near-black band like the public site ---------- */
.foot {
  background: var(--almost-black);
  color: rgba(240,239,235,.75);
  padding: 48px 0;
  font-size: .9rem;
  margin-top: 48px;
}
.foot a { color: var(--limelight); text-decoration: none; }
.foot__icon { height: 44px; width: auto; margin-bottom: 16px; }
.foot__meta { margin-top: 10px; font-size: .82rem; color: rgba(240,239,235,.5); }
.foot__meta .sep { margin: 0 8px; opacity: .5; }

/* ---------- Floating feedback button ---------- */
.fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--almost-black); color: var(--limelight);
  font-family: var(--sans); font-weight: 600; font-size: .9rem;
  padding: 12px 18px; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(30,30,30,.3); transition: transform .15s, filter .15s;
}
.fab:hover { transform: translateY(-2px); filter: brightness(1.15); }
html.locked .fab { display: none; }
@media (max-width: 560px) { .fab span.fab__text { display: none; } .fab { padding: 14px; } }

/* Confidentiality line on the gate */
.gate__confidential { margin-top: 18px; font-size: .78rem; color: var(--ink-dim); opacity: .85; }

/* ---------- Back-to-top / home crumb ---------- */
.crumb { display:inline-flex; gap:8px; align-items:center; text-decoration:none; color:var(--ink-dim); font-size:.9rem; margin-bottom: 18px; }
.crumb:hover { color: var(--ink); }

/* ============================================================
   Password gate — light, like stepping onto the site
   ============================================================ */
.gate { display: none; }
html.locked .gate {
  display: flex; position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center;
  background: var(--off-white);
  padding: 24px;
}
html.locked .gate::before {
  content: "";
  position: absolute; top: -180px; right: -120px;
  width: 520px; height: 520px; border-radius: 50%;
  background: var(--limelight);
}
.gate__card {
  width: 100%; max-width: 420px; text-align: center; position: relative;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 40px 32px;
  box-shadow: 0 24px 60px rgba(30,30,30,.12);
}
.gate__card .wordmark { font-size: 2.4rem; color: var(--almost-black); margin-bottom: 6px; }
.gate__card p { color: var(--ink-dim); font-size: .95rem; }
.gate__form { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.gate__form input {
  font-family: var(--sans); font-size: 1rem; padding: 14px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--off-white); color: var(--ink); text-align: center;
}
.gate__form input:focus { outline: 2px solid var(--accent-deep); border-color: transparent; }
.gate__form button {
  font-family: var(--sans); font-weight: 600; font-size: 1rem; padding: 14px 16px;
  border: none; border-radius: 12px; background: var(--almost-black); color: var(--limelight);
  cursor: pointer; transition: filter .15s;
}
.gate__form button:hover { filter: brightness(1.2); }
.gate__error { color: #d13c25; font-size: .88rem; min-height: 1.2em; margin: 0; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; gap: 24px; }
  .sidenav { position: static; }
  .sidenav ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dd { margin-bottom: 8px; }
  .nav__links a { padding: 8px 8px; font-size: .68rem; letter-spacing: .08em; }
  .hero::before { width: 300px; height: 300px; top: -100px; right: -80px; }
}
