/* Jeanette Pelizzon: tokens from the brand design system.
   Orange is the exact Playdot orange (#ff6248). It is for highlights only:
   buttons, the rolling dot, the Let's talk dome and the dots inside the illustrations.
   Everything else that needs color uses periwinkle. */
:root {
  --paper: #f2f1ec;
  --paper-raised: #ffffff;
  --line: #d9d6cc;
  --ink: #1a1a1a;
  --ink-muted: #5c5a55;
  --orange: #ff6248;
  --orange-text: #b3400d;
  --periwinkle: #b1bef8;
  --on-color: #1a1a1a;

  --display: "Instrument Serif", "Times New Roman", serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: 24px;
  --section-pad: 96px;
  --radius-lg: 24px;
}
@media (min-width: 900px) {
  :root { --gutter: 48px; --section-pad: 140px; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--orange-text); }
h1, h2, h3, p { margin: 0; }
p + p { margin-top: 1em; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); position: relative; }

/* Type */
.wordmark {
  font: 400 26px/1 var(--display);
  letter-spacing: 0.01em;
  color: var(--ink);
  text-decoration: none;
}
.display { font: 400 clamp(52px, 8vw, 96px)/0.98 var(--display); letter-spacing: -0.01em; }
.h1 { font: 400 clamp(38px, 5vw, 56px)/1.05 var(--display); max-width: 18ch; }
.h2 { font: 400 clamp(26px, 2.6vw, 32px)/1.1 var(--display); margin-bottom: 12px; }
em { font-style: italic; }
.display, .h1, .h2 { text-wrap: balance; }
.lead { font-size: 19px; line-height: 1.6; max-width: 34em; margin-top: 24px; }
.label {
  font: 500 12px/1.3 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.small { font-size: 14px; color: var(--ink-muted); }

/* Buttons: orange with dark text, never white on orange */
.btn {
  display: inline-block;
  margin-top: 32px;
  padding: 16px 28px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--on-color);
  font: 500 15px/1.2 var(--sans);
  text-decoration: none;
  transition: transform .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-small { margin: 0; padding: 10px 18px; font-size: 14px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }

/* Signature circles: flat, solid, one per section */
.circle { position: absolute; border-radius: 50%; pointer-events: none; }
.circle-peri { background: var(--periwinkle); }
.circle-orange { background: var(--orange); }

/* Sections */
.section { padding: var(--section-pad) 0; position: relative; overflow: hidden; }
.section-peri { background: var(--periwinkle); }
.section-peri .label, .section-peri .small { color: var(--on-color); }
.section-head { margin-bottom: 56px; position: relative; }
.with-art { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.section-art { width: clamp(120px, 16vw, 200px); flex-shrink: 0; }

/* Hero: periwinkle ground, the illustration sits right on it */
.hero { padding: 64px 0 var(--section-pad); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-art { width: min(320px, 75%); justify-self: center; }
.hero .display { font-size: clamp(44px, 5.2vw, 66px); line-height: 1.02; text-wrap: balance; }
@media (min-width: 900px) {
  .hero { padding-top: 110px; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
  .hero-art { width: 380px; }
}

/* The one motion on the site: the rolling orange dot */
.rolling-dot {
  display: inline-block;
  width: 0.2em; height: 0.2em;
  margin-left: 0.06em;
  border-radius: 50%;
  background: var(--orange);
  vertical-align: baseline;
  animation: roll-in 1.4s cubic-bezier(.2,.8,.25,1) .3s both;
}
@keyframes roll-in {
  from { transform: translateX(-60vw) rotate(-720deg); opacity: 0; }
  20% { opacity: 1; }
  to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .rolling-dot { animation: none; }
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}

/* Cards */
.cards { display: grid; gap: 24px; }
@media (min-width: 760px) { .cards.two { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .cards.three { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--paper-raised);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 0;
}
@media (min-width: 900px) { .card { padding: 40px; } }

/* Sound familiar: headline and illustration on the left, an editorial list of triggers on the right */
.familiar-grid { display: grid; gap: 48px; }
.familiar-art { width: clamp(150px, 18vw, 230px); margin-top: 40px; }
.triggers { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.triggers li { padding: 28px 0 32px; border-bottom: 1px solid var(--line); }
.triggers li:last-child { border-bottom-color: var(--ink); }
.triggers p { max-width: 36em; text-wrap: pretty; }
.familiar-close { font: italic 400 clamp(24px, 2.4vw, 30px)/1.2 var(--display); max-width: 26ch; text-wrap: balance; }
@media (min-width: 900px) {
  .familiar-grid { grid-template-columns: 5fr 7fr; column-gap: 80px; row-gap: 40px; }
  .familiar-head { grid-row: span 2; }
  .familiar-close { grid-column: 2; }
}
@media (max-width: 899px) {
  .familiar-art { width: 130px; margin: 24px 0 0 auto; }
}

/* Offers: pill tabs that swap the panel below (hover on a mouse, tap on a phone) */
/* all panels share one grid cell, so the section keeps the tallest panel's height and nothing jumps */
.offers { display: grid; }
.offer-panel { grid-row: 2; grid-column: 1; }
@media (hover: hover) and (pointer: fine) {
  .offer-panel[hidden] { display: block; visibility: hidden; }
}
.offer-cta { grid-row: 3; }
.offer-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 56px; }
.offer-tab {
  font: 500 15px/1.2 var(--sans); color: var(--ink);
  background: transparent; border: 1.5px solid var(--ink); border-radius: 999px;
  min-height: 52px; padding: 12px 24px; cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}
.offer-tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.offer-tab:active { transform: scale(0.97); }
.offer-tab:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .offer-tab:not([aria-selected="true"]):hover { background: rgba(26, 26, 26, .08); }
}
.offer-intro { display: grid; gap: 16px; margin-bottom: 40px; }
.offer-intro p:not(.label) { max-width: 36em; text-wrap: pretty; }
.offer-rows { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(26, 26, 26, .25); }
.offer-rows li { display: grid; gap: 4px 32px; padding: 24px 0; border-top: 1px solid rgba(26, 26, 26, .25); }
.row-num { font: 500 12px/1 var(--sans); letter-spacing: 0.08em; }
.offer-rows h4 { font: 400 clamp(24px, 2.4vw, 30px)/1.15 var(--display); margin: 0; }
.offer-rows p { max-width: 36em; text-wrap: pretty; }
.offer-note { margin-top: 20px; }
.offer-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 48px; }
.offer-cta .btn { margin: 0; }
@media (min-width: 900px) {
  .offer-intro { grid-template-columns: 5fr 7fr; column-gap: 80px; align-items: end; }
  .offer-rows li { grid-template-columns: 5fr 7fr; column-gap: 80px; align-items: baseline; }
  .row-num, .offer-rows h4 { grid-column: 1; }
  .offer-rows p { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 759px) {
  .offer-tabs { grid-template-columns: 1fr; gap: 10px; margin-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .offer-tab { transition: none; }
}

/* What I believe: a before and after of the game of tech telephone */
.believe-head { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 64px; }
.believe-head .h1 { max-width: 20ch; }
.believe-head .lead { margin-left: auto; margin-right: auto; }
.telephone { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .telephone { grid-template-columns: 1fr 160px 1fr; gap: 24px; } }
.telephone-art { width: 150px; justify-self: center; }
.mock { margin: 0; }
.mock-caption { margin-top: 14px; }
.screenshot { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; transform: rotate(-1.5deg); }
.shot-bar { display: flex; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.shot-body { position: relative; padding: 28px 24px 36px; min-height: 230px; }
.shot-line { display: block; height: 10px; border-radius: 5px; background: var(--line); margin-bottom: 14px; }
.w80 { width: 80%; } .w60 { width: 60%; } .w70 { width: 70%; }
.shot-btn { display: block; width: 110px; height: 34px; border-radius: 999px; background: var(--line); margin-top: 24px; }
.scribble { position: absolute; left: 4px; top: 118px; width: 190px; }
.scribble path { fill: none; stroke: var(--ink); stroke-width: 2.5; stroke-linecap: round; }
.note { position: absolute; font: italic 400 26px/1.05 var(--display); }
.note-1 { right: 18px; top: 116px; transform: rotate(-6deg); }
.note-2 { right: 24px; bottom: 14px; font-size: 21px; max-width: 12ch; text-align: right; transform: rotate(3deg); }
.spec { background: var(--paper-raised); border-radius: 14px; border-top: 10px solid var(--periwinkle); padding: 28px; }
.spec-tag { font: 500 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.spec-title { font-size: 17px; margin: 6px 0 20px; }
.checks { list-style: none; margin: 8px 0 0; padding: 0; }
.checks li { position: relative; padding-left: 30px; margin-top: 10px; font-size: 15px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--periwinkle) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* Selected work: four open, stat-led stories under a big crane */
.proof-art {
  position: absolute; pointer-events: none;
  width: min(560px, 90vw);
  right: -40px;
  top: calc(40px - var(--section-pad));
}
.proof .section-head { margin-bottom: 200px; }
.work-grid { position: relative; display: grid; border-top: 1px solid var(--ink); }
.work { background: var(--paper); padding: 32px 0; border-bottom: 1px solid var(--line); }
.work p:not(.label):not(.stat) { max-width: 30em; }
@media (min-width: 760px) {
  .work-grid { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
@media (min-width: 1100px) {
  .work-grid { grid-template-columns: repeat(4, 1fr); column-gap: 32px; }
  .work { border-bottom: 0; }
}
.stat { font: 400 clamp(52px, 5vw, 68px)/1 var(--display); margin-bottom: 8px; white-space: nowrap; }
.stat-note { font-weight: 500; line-height: 1.4; margin-bottom: 20px; max-width: 26em; text-wrap: pretty; }
.work .stat-note + .label { margin-bottom: 8px; }
.also { margin-top: 32px; color: var(--ink-muted); position: relative; }
@media (max-width: 759px) {
  /* in the flow on phones: smaller, fully on screen, resting on the line above the first story */
  .proof-art { position: static; width: min(300px, 80vw); margin-left: auto; }
  .proof .section-head { margin-bottom: 24px; }
}

/* About: square photo with its own background, on periwinkle */
.about { display: grid; gap: 48px; align-items: center; }
.about p { max-width: 34em; }
.photo { width: min(440px, 100%); aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-lg); justify-self: center; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1.2fr; gap: 80px; } }

/* Testimonials (hidden for now) */
.quote .initial { display: block; font: 400 96px/0.9 var(--display); color: var(--orange-text); }
.quote blockquote { margin: 16px 0; font-size: 18px; }
.quote figcaption { font-size: 14px; color: var(--ink-muted); }

/* Book a chat: a full-width half circle whose flat edge sits on the orange footer */
.book { text-align: center; padding-top: 64px; overflow: hidden; }
.book-art { width: clamp(100px, 12vw, 140px); margin: 0 auto -20px; position: relative; z-index: 1; }
.book { isolation: isolate; }
.book-dome {
  position: relative;
  display: flex; justify-content: center;
  padding: 104px var(--gutter) 56px;
}
/* A true circle, wider than the page, so only its top arc shows */
.book-dome::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; top: 0; transform: translateX(-50%);
  width: max(160vw, 900px); aspect-ratio: 1; border-radius: 50%;
  background: var(--orange);
}
.book-text { display: flex; flex-direction: column; align-items: center; max-width: 640px; }
.book .label { color: var(--on-color); }
.book .lead { margin-left: auto; margin-right: auto; }
.book .btn { background: var(--ink); color: var(--paper); }
.book .small { margin-top: 24px; color: var(--on-color); }
.book .small a { color: var(--on-color); }
@media (max-width: 759px) {
  .book-dome { padding-top: 88px; }
}

/* Footer: same orange as the dome, so they read as one shape */
.site-footer { background: var(--orange); color: var(--on-color); padding: 16px 0 20px; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; justify-content: space-between; border-top: 1px solid rgba(26, 26, 26, .2); padding-top: 16px; }
.footer-inner .wordmark { font-size: 20px; }
.footer-inner nav { display: flex; gap: 24px; }
.footer-inner nav a { color: var(--on-color); font-size: 14px; }
.site-footer .small { color: var(--on-color); }

@media (max-width: 759px) {
  .with-art { flex-direction: column-reverse; align-items: flex-start; }
  .wordmark { font-size: 22px; }
}


/* About: breathing room between the heading and the story */
.about .h1 { margin-bottom: 24px; }
