/* BrightBell — one page. Colours and type live in the tokens. */
/* Fonts, served from this site (fonts/, each with its SIL Open Font License
   file), the same pair as the client portal: Montserrat for text, Fraunces
   for headings. A browser downloads only the alphabet ranges a page uses. */
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url('fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url('fonts/fraunces-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url('fonts/fraunces-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Fraunces Italic, for the one emphasised word in the headline. */
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 600 700; font-display: swap;
  src: url('fonts/fraunces-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces'; font-style: italic; font-weight: 600 700; font-display: swap;
  src: url('fonts/fraunces-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --bg: #fafaf8;
  --ink: #14213d;              /* dark navy: text, the main button, marks */
  --ink-2: #4a5670;            /* navy-grey: quieter text */
  --rule: #e4e4df;
  --card: #ffffff;
  --accent: #d99a1e;          /* the "bright bell" gold, for marks only */
  --accent-soft: #fbf1dc;
  --mark: #2f5d8a;
  --radius: 14px;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.5 var(--font);
}
a { color: inherit; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 3px solid var(--mark); outline-offset: 3px; border-radius: 6px; }

.signin {
  position: absolute; top: 18px; right: 20px; z-index: 2;
  font-size: .9rem; font-weight: 600; color: var(--ink-2); text-decoration: none;
  padding: 6px 12px; border-radius: 999px;
}
.signin:hover { color: var(--ink); background: #efefea; }

/* Two columns: the words on the left, the reel on the right. */
.page {
  flex: 1;
  width: 100%; max-width: 1180px; margin: 0 auto;
  padding: 72px 32px 24px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px; align-items: center;
}

/* who */
.who { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none; object-fit: cover;
  display: grid; place-items: center;
  background: var(--accent-soft); color: #8a5d00; font-weight: 700; font-size: .9rem;
}
.name { font-weight: 600; }
.role { color: var(--ink-2); font-size: .9rem; }

h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.08; letter-spacing: -0.01em;
  font-weight: 620; margin: 0 0 16px; max-width: 15ch;
}
/* "answer real questions" stays on one line. It is about 10em wide, so the
   sizes here and in the narrow-screen rule keep it inside the column. */
h1 .keep { white-space: nowrap; }
.pitch { color: var(--ink-2); font-size: 1.1rem; max-width: 30em; margin: 0 0 26px; }

/* actions */
.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.btn {
  display: inline-block; background: var(--ink); color: #fff; text-decoration: none;
  font-weight: 600; padding: 13px 24px; border-radius: 999px;
}
.btn:hover { background: #0c1630; }
.email {
  font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid var(--rule); border-radius: 999px; padding: 12px 22px; cursor: copy;
}
.email:hover { border-color: #c9c9c2; }
/* Read out to screen readers only; the button itself shows "Copied". */
.copied { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* services */
.services { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.services li {
  font-size: .9rem; font-weight: 600; padding: 6px 12px; border-radius: 999px;
  background: #f0f0ea; color: #22314f;
}
.work { color: var(--ink-2); font-size: .9rem; }
.work-label { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.work-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.work a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }
.work cite { font-style: italic; }
.btn-outline {
  display: inline-block; margin-top: 14px;
  font-size: .9rem; font-weight: 600; color: var(--ink); text-decoration: none;
  background: var(--card); border: 1px solid var(--rule); border-radius: 999px; padding: 9px 18px;
}
.btn-outline:hover { border-color: #c9c9c2; background: #fff; }

/* ── the reel: website pages scrolling in a browser window ───── */
.reel {
  position: relative; margin: 0;
  background: var(--card); border: 1px solid var(--rule); border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(20, 33, 61, .12), 0 4px 12px rgba(20, 33, 61, .06);
  overflow: hidden;
}
.reel-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  border-bottom: 1px solid var(--rule); background: #f6f6f3;
}
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #dcdcd6; }
.url {
  flex: 1; max-width: 260px; margin: 0 auto; text-align: center;
  font-size: .78rem; color: var(--ink-2); background: #fff; border: 1px solid var(--rule);
  border-radius: 999px; padding: 3px 12px;
}
.reel-view { height: min(62vh, 520px); overflow: hidden; background: #0f1d2e; }
.reel-strip { display: flex; flex-direction: column; gap: 10px; animation: reel 42s linear infinite; }
.reel-strip img { width: 100%; height: auto; }
/* The strip holds the pages twice: moving up by half returns to the start. */
@keyframes reel { from { transform: translateY(0); } to { transform: translateY(calc(-50% - 5px)); } }
.reel:hover .reel-strip, .reel.paused .reel-strip { animation-play-state: paused; }
.reel-pause {
  position: absolute; right: 12px; bottom: 12px;
  font: inherit; font-size: .78rem; font-weight: 600; color: #fff;
  background: rgba(20, 33, 61, .78); border: 0; border-radius: 999px; padding: 5px 12px; cursor: pointer;
}
.reel-pause:hover { background: rgba(20, 33, 61, .92); }

.foot { text-align: center; color: var(--ink-2); font-size: .8rem; padding: 16px; }

/* Narrower screens: one column, the reel under the words. */
@media (max-width: 900px) {
  .page { grid-template-columns: 1fr; gap: 36px; padding: 64px 16px 24px; }
  h1 { font-size: clamp(1.75rem, 8.4vw, 2.6rem); }
  .reel-view { height: 360px; }
}
/* The tiniest screens can't fit the phrase, so there it may wrap. */
@media (max-width: 299px) { h1 .keep { white-space: normal; } }

@media (prefers-reduced-motion: reduce) {
  .reel-strip { animation: none; }
  .reel-pause { display: none; }
}
