@font-face {
  font-family: 'DM Sans';
  src: url('../assets/dm-sans.woff2') format('woff2');
  font-weight: 100 1000;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f6f1;
  --ink: #191a18;
  --rule: #bcbdb5;
  font: 500 100%/1.45 'DM Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body { overflow-x: clip; isolation: isolate; background: var(--paper); margin: 0 auto; max-width: 100rem; padding: 0 clamp(1rem, 5vw, 5rem) 4rem; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible, select:focus-visible { outline: 2px solid #285fbd; outline-offset: 3px; }
.masthead, nav { display: flex; align-items: center; }
.masthead { justify-content: space-between; min-height: 5rem; border-bottom: 1px solid var(--rule); }
.mark { display: block; width: clamp(3.3rem, 7vw, 6rem); height: auto; }
nav { gap: clamp(.65rem, 2.5vw, 2.5rem); font-size: .875rem; font-weight: 650; }
nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
nav a:hover { text-decoration: underline; }
.offer { border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.4fr) minmax(13rem, .65fr); gap: 5%; align-items: baseline; padding: clamp(1.5rem, 3vw, 3rem) 0; }
.offer:last-of-type { border-bottom: 1px solid var(--rule); }
.offer h3, .terms strong { font-size: clamp(1.35rem, 2.1vw, 2.2rem); line-height: 1.13; font-weight: 600; letter-spacing: -.045em; }
.offer p { max-width: 45ch; line-height: 1.55; }
.terms { display: flex; flex-direction: column; gap: .2rem; }
.terms span { font-size: .875rem; }
.glass-cta.contact {
  width: max-content;
  margin: clamp(1.5rem, 3vw, 3rem) auto 0;
  background-color: #000;
}
@media (hover: hover) and (pointer: fine) {
  .glass-cta.contact:hover { background-color: transparent; }
}
@media (max-width: 44rem) {
  .offer { grid-template-columns: 1fr; gap: .75rem; }
  .terms { flex-direction: row; align-items: baseline; gap: .5rem; }
}

:root {
  --red: #cb3526;
  --muted: #5a5b54;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --settle: cubic-bezier(.2,.75,.2,1);
}
.masthead { position: relative; z-index: 2; }
.intro {
  display: grid; grid-template-columns: minmax(0, 1fr);
  align-items: center; position: relative; isolation: isolate;
  padding-block: clamp(2rem, 5vw, 5rem) 0;
  grid-template-rows: auto 1fr;
  min-height: calc(100svh - 5rem);
}
.intro-copy { position: relative; z-index: 1; }
.studio-label, .summit-caption {
  font: 550 .72rem/1.4 var(--mono); letter-spacing: .07em; text-transform: uppercase;
}
.studio-label { display: flex; align-items: center; gap: .75rem; }
.swiss-cross {
  position: relative; flex: none; width: 1.2rem; height: 1.2rem;
  background: var(--red);
  clip-path: polygon(33% 0,67% 0,67% 33%,100% 33%,100% 67%,67% 67%,67% 100%,33% 100%,33% 67%,0 67%,0 33%,33% 33%);
}
.statement {
  margin: clamp(1.5rem, 2.6vw, 2.75rem) 0 1.7rem;
  font-size: min(8vw, 8rem); font-weight: 800; white-space: nowrap;
  line-height: .96; letter-spacing: -.082em;
}
.statement em { font: italic 1em/.99 Georgia, 'Times New Roman', serif; letter-spacing: -.077em; }
.summit { width: 100vw; align-self: stretch; justify-self: center; }
.summit-art {
  position: relative; height: 100%; isolation: isolate; overflow: hidden;
  background-image: radial-gradient(circle, #9b9e913f .8px, transparent 1px);
  background-size: 1.15rem 1.15rem;
}
.peak-print { position: absolute; height: 106%; aspect-ratio: 3; min-width: 110%; left: 61%; bottom: 0; transform: translate(-61%,10%); }
.peak-print img { display: block; width: 100%; height: 100%; }
.peak-point, .summit-rings {
  position: absolute; top: 2.2%; left: 61%; width: .62rem; height: .62rem;
  transform: translate(-50%, -50%); border-radius: 50%;
}
.peak-point { background: var(--red); }
.summit-rings { width: min(58%,65vw); height: auto; aspect-ratio: 1; }
.summit-rings i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #a2a49755; }
.summit-rings i:nth-child(2) { inset: 14%; }
.summit-rings i:last-child { inset: 30%; border-color: #bc655654; }
.summit-caption {
  position: absolute; left: 61%; margin-left: .65rem; bottom: 99%; font-size: clamp(.54rem,.82vw,.72rem);
  display: grid; gap: .12rem; padding-left: .65rem; border-left: 1px solid var(--red);
}
.summit-caption span { color: var(--muted); letter-spacing: .025em; text-transform: none; }

figcaption a:hover, .sample-answer a:hover { text-decoration: underline; text-underline-offset: .2em; }
.scene {
  display: grid; grid-template-columns: minmax(0,1fr);
  align-items: center; gap: clamp(2rem,6vw,6rem);
  padding-block: clamp(3.75rem,7.5vw,7.5rem); border-bottom: 1px solid var(--rule);
}
.scene-copy h2, #pricing-title {
  font-size: clamp(2.75rem,4.75vw,5.2rem); line-height: 1.01;
  font-weight: 650; letter-spacing: -.067em; text-wrap: balance;
}
.scene-copy h2 { margin: .6rem 0 0; font-size: min(6.4vw,6rem); text-wrap: nowrap; }
.brand-art { display: grid; grid-template-columns: .89fr 1.11fr; grid-template-rows: 1fr auto; aspect-ratio: 1.91; overflow: hidden; background: #e9e0c9; }
.brand-sheet { display: grid; place-items: center; min-height: 0; background: #eee6d4; }
.brand-sheet img { width: 61%; height: auto; }
.brand-photo { width: 100%; height: 100%; object-fit: cover; grid-column: 2; grid-row: 1 / 3; min-height: 0; }
.brand-swatches { display: flex; height: clamp(1.6rem, 3vw, 3rem); }
.brand-swatches i { flex: 1; background: #492919; }
.brand-swatches i:nth-child(2) { background: #a35330; }
.brand-swatches i:nth-child(3) { background: #f2a14b; }
.brand-swatches i:last-child { background: #d9c6a6; }
.brand-study figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem; padding-top: .65rem; font-size: .86rem; }
.brand-study figcaption a { font-weight: 650; text-decoration: none; }
.brand-study figcaption > span { color: var(--muted); }
.search-study {
  display: grid; align-content: center; position: relative; padding: clamp(1.2rem,3vw,3rem);
  min-height: clamp(17rem,25vw,26rem); background: #eaeae3;
}
.search-paths { display: grid; grid-template-columns: auto minmax(1.5rem,1fr) auto; align-items: center; }
.queries { display: grid; gap: .8rem; }
.queries span { display: flex; align-items: center; min-height: 2.75rem; padding-inline: .9rem; border: 1px solid #b7b9ad; border-radius: 2rem; font-size: clamp(.72rem,1.01vw,1rem); }
.connections { height: 7.1rem; position: relative; }
.connections i { position: absolute; inset: 0 45% 50% 0; border: solid var(--red); border-width: 1px 1px 0 0; border-radius: 0 1rem 0 0; }
.connections i:nth-child(2) { inset: 50% 0 auto; border-width: 1px 0 0; border-radius: 0; }
.connections i:last-child { inset: 50% 45% 0 0; border-width: 0 1px 1px 0; border-radius: 0 0 1rem 0; }
.search-destination { position: relative; display: grid; padding: 1rem; background: var(--paper); border-left: 2px solid var(--red); }
.search-destination i { position: absolute; width: .55rem; height: .55rem; border-radius: 50%; background: var(--red); left: -1px; top: 50%; transform: translate(-50%, -50%); }
.search-destination strong { font-size: clamp(1.2rem,2.2vw,2.2rem); letter-spacing: -.06em; line-height: 1.15; }
.search-destination span { color: var(--muted); font-size: .82rem; }
.answer-study {
  position: relative; display: grid; gap: clamp(1.1rem,2.6vh,1.75rem);
  width: min(100%,36rem); margin-inline: auto; color: inherit;
  font-size: clamp(.94rem,1.15vw,1.13rem); font-weight: 440; line-height: 1.5;
}
.chat-caption {
  order: 1; justify-self: start; font-size: .68rem; letter-spacing: .03em;
  color: color-mix(in srgb,currentColor 72%,transparent);
}
.user-turn { justify-self: end; display: grid; justify-items: end; gap: .32rem; max-width: 85%; }
.chat-speaker { display: flex; align-items: center; gap: .45rem; font-size: .77rem; font-weight: 650; }
.prompt {
  padding: .72rem 1rem; border-radius: 1.4rem 1.4rem .35rem 1.4rem;
  background: color-mix(in srgb,currentColor 9%,transparent);
  border: 1px solid color-mix(in srgb,currentColor 14%,transparent);
}
.sample-answer { max-width: 92%; }
.sample-answer p { margin-top: .46em; }
.sample-answer strong { font-weight: 720; }
.answer-spark { color: var(--plot-accent,var(--red)); font-size: 1.4rem; line-height: 1; }
.chat-source {
  display: inline-flex; gap: .4rem; align-items: baseline; margin-top: .75rem;
  padding: .18rem .62rem; border: 1px solid color-mix(in srgb,currentColor 32%,transparent);
  border-radius: 1rem; font-size: .75rem; font-weight: 550; text-decoration: none;
}
.chat-source span:first-child { font-weight: 400; }
#pricing { padding-top: clamp(4rem,7vw,7rem); }
#pricing-title { margin-bottom: 2rem; }
@media (max-width: 52rem) {
  .search-study { padding-inline: 1rem; }
}
@media (max-width: 44rem) {
  .intro { padding-block: 2.75rem 0; }
  .statement { margin-block: 1rem; }
  .summit-rings { width: 58vw; }
  .scene { grid-template-columns: 1fr; gap: 1.6rem; padding-block: 3.5rem; }
  .scene-copy h2 { margin-block: .85rem; }
  .brand-study figcaption { font-size: .77rem; }
  .search-destination { padding: .65rem; }
  .answer-study { gap: 1.2rem; }
}

/* All four chapters read as a normal document until the scroll artwork is ready. */
.motion-plot { display: none; }
.journey { position: relative; }
body.has-journey { --mast-height: 5rem; }
.has-journey .masthead {
  position: sticky; top: 0; height: var(--mast-height); min-height: 0; background: var(--paper);
}
.has-journey .masthead::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  box-shadow: 0 0 0 100vmax var(--paper); clip-path: inset(0 -100vmax); background: var(--paper);
}
.has-journey .journey {
  --frame-height: calc(100svh - var(--mast-height));
  --step: 176svh;
  --art-top: clamp(7.2rem, 20svh, 13rem);
  height: calc(var(--frame-height) + 3.24 * var(--step));
}
.scroll-stop { position: absolute; left: 0; top: calc(var(--index) * var(--step)); scroll-margin-top: var(--mast-height); }
.has-journey .journey-frame {
  position: sticky; top: var(--mast-height); height: var(--frame-height);
  isolation: isolate; container-type: size; color: var(--plot-ink);
}
.has-journey .journey-frame::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  inset-inline: calc((100% - 100vw) / 2);
  background: linear-gradient(to right, #171916 var(--edge), #f7f6f1 var(--edge));
}
.has-journey .intro, .has-journey .scene {
  position: absolute; inset: 0; display: block;
  padding: clamp(1rem,3svh,2.5rem) 0 0; border: 0; pointer-events: none;
}
.has-journey .intro { z-index: auto; min-height: 0; }
.has-journey .scene:last-of-type .scene-copy { mix-blend-mode: difference; }
.has-journey .intro-copy, .has-journey .scene-copy { color: #f5f3eb; }
.has-journey .intro, .has-journey .scene:not(:last-of-type) { mix-blend-mode: difference; color: #f5f3eb; }
.has-journey .brand-study figcaption > span { color: inherit; }
.has-journey .is-current a { pointer-events: auto; }
.has-journey .statement { margin: .45rem 0 0; font-size: min(8vw,11svh,8rem); }
.has-journey .scene-copy h2 { font-size: min(6.4vw,10svh,6.5rem); }
.has-journey .summit, .has-journey .brand-art { display: none; }
.has-journey .brand-study { position: absolute; inset: auto 0 1rem; }
.has-journey .brand-study figcaption { gap: .65rem; justify-content: center; }
.has-journey .brand-study figcaption > span { color: inherit; opacity: .7; }
.has-journey .search-study { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip-path: inset(50%); }
.has-journey #pricing, .has-journey #website { scroll-margin-top: var(--mast-height); }

.has-journey .motion-plot {
  display: block; position: absolute; inset: var(--art-top) 0 0;
  pointer-events: none;
}
.motion-plot canvas, .plot-layer { position: absolute; inset: 0; width: 100%; height: 100%; }
.motion-plot small { position: absolute; font: 500 clamp(.67rem,.88vw,.86rem)/1.35 var(--mono); }
.peak-tag { left: var(--peak-x); top: var(--peak-y); transform: translate(.65rem,-100%); border-left: 1px solid var(--plot-accent); padding: .15rem .55rem; }
.ink-strip { position: absolute; bottom: 15%; left: 38%; width: 24%; height: 2.2%; display: flex; }
.ink-strip i { flex: 1; background: #472b21; }
.ink-strip i:nth-child(2) { background: #a65532; }
.ink-strip i:nth-child(3) { background: #e8a65b; }
.ink-strip i:nth-child(4) { background: #c5ad83; }
.route-label { left: 4%; padding-bottom: .35rem; }
.route-label:first-child { bottom: 78%; }
.route-label:nth-child(2) { bottom: 53%; }
.route-label:nth-child(3) { bottom: 28%; }
.route-notes strong { position: absolute; right: 1%; top: 53%; font-size: clamp(1.15rem,2.3vw,2.6rem); letter-spacing: -.055em; }
.has-journey .answer-study {
  position: absolute; inset: var(--art-top) 0 1rem; width: min(78%,36rem);
  height: max-content; margin: auto; pointer-events: auto;
}
.has-journey .motion-plot canvas {
  width: var(--canvas-width,100%); left: var(--canvas-left,0px);
}
.journey-frame:has(.scene:last-of-type.is-current) canvas {
  mask-image: radial-gradient(ellipse at center, #0002 21%, #0006 51%, #000 81%);
}

.portfolio-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding-block: clamp(1.75rem,4vw,4rem); border-bottom: 1px solid var(--rule);
  font-size: clamp(1.65rem,4vw,3.75rem); line-height: 1.1; font-weight: 550;
  letter-spacing: -.055em; text-decoration: none; scroll-margin-top: var(--mast-height,0px);
}
.portfolio-cta span { color: var(--red); }
.portfolio-cta:hover { text-decoration: underline; text-underline-offset: .12em; }

@media (max-width: 44rem) {
  body { padding-bottom: 0; }
  #pricing {
    display: flex; flex-direction: column;
    min-height: calc(100dvh - var(--mast-height, 0px));
    padding-block: 0 max(.875rem, env(safe-area-inset-bottom));
  }
  #pricing-title {
    position: sticky; top: var(--mast-height, 0px); z-index: 1;
    padding-block: 1.25rem .5rem; margin-bottom: 1.5rem;
    background: var(--paper);
  }
  #pricing .offer { flex-grow: 1; align-content: center; }
  body.has-journey { --mast-height: 3.5rem; }
  .has-journey .journey { --step: 155svh; --art-top: clamp(6rem,17svh,9rem); }
  .has-journey .studio-label { font-size: .64rem; }
  .has-journey .brand-study figcaption { padding-top: .25rem; }
  .has-journey .answer-study { width: 95%; gap: .85rem; }
}
