/* StillWork Studio — built from the Figma "Agencia / Homepage" frame (1512px wide).
   Every size is written in design pixels times --u, so the page matches the frame
   exactly at 1512px and scales down below it. On wider screens sizes stay at
   1:1 and only the page width grows, keeping the design's 42px side margins. */

:root {
  --u: min(1px, 100vw / 1512);

  --blue: #12308D;        /* headings, text */
  --blue-form: #12308F;   /* contact form box */
  --blue-btn: #153392;    /* "Start a project" */
  --cream: #FFEED8;       /* form fields */
  --placeholder: #D9D9D9;
  --dark-glass: rgba(5, 15, 45, .68);

  --sans: "Satoshi", "Helvetica Neue", sans-serif;
  --serif-italic: "Baskervville", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--blue);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, p { margin: 0; }
em { font-family: var(--serif-italic); font-style: italic; font-weight: 400; }
strong { font-weight: 700; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.page {
  max-width: 2200px;
  margin: 0 auto;
  padding: 0 calc(42 * var(--u));
}

/* Icons: Phosphor Light (assets/icons, MIT). Each one is a mask painted in
   currentColor, so it takes the colour of the text around it. */
.ph {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: var(--ph) center / contain no-repeat;
          mask: var(--ph) center / contain no-repeat;
}
.ph-chat { --ph: url(assets/icons/chat-circle.svg); }
.ph-pen { --ph: url(assets/icons/pen-nib.svg); }
.ph-code { --ph: url(assets/icons/code.svg); }
.ph-rocket { --ph: url(assets/icons/rocket-launch.svg); }
.ph-whatsapp { --ph: url(assets/icons/whatsapp-logo.svg); }
/* the arrow is drawn small inside its box; grown to fill the space the old one took */
.ph-arrow { --ph: url(assets/icons/arrow-up-right.svg); -webkit-mask-size: 165%; mask-size: 165%; }

/* Shared type */

.display {
  font-weight: 300;
  font-size: calc(99.894 * var(--u));
  line-height: .99;
  white-space: nowrap;
}

.lead {
  margin-top: calc(13 * var(--u));
  font-size: calc(29 * var(--u));
  line-height: 1.2;
}

/* Pill buttons */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: calc(12 * var(--u));
  height: calc(49 * var(--u));
  padding: 0 calc(27 * var(--u));
  border: 0;
  border-radius: calc(52 * var(--u));
  color: #FFFFFF;
  font-family: var(--sans);
  font-weight: 300;
  font-size: calc(24 * var(--u));
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.pill .ph { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }

.pill-glass { min-width: calc(220 * var(--u)); }
.pill-solid { min-width: calc(238 * var(--u)); background: var(--blue-btn); }
.pill-solid:hover { background: var(--blue); }
.pill-dark { background: var(--dark-glass); }

/* Hero */

.hero {
  position: relative;
  height: calc(898 * var(--u));
  margin-top: calc(42 * var(--u));
  border-radius: calc(28 * var(--u));
  overflow: hidden;
  color: #FFFFFF;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* the nav lives outside the hero and stays on screen; it starts where it sat on the
   hero (hero top 42 plus 49) and shrinks toward the top once the page scrolls */
.nav {
  position: fixed;
  z-index: 50;
  top: calc(91 * var(--u));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: calc(797 * var(--u));
  height: calc(74 * var(--u));
  padding: 0 calc(36 * var(--u));
  border-radius: calc(72 * var(--u));
  font-size: calc(22 * var(--u));
}
.nav-brand { font-weight: 400; }
.nav-links { display: flex; gap: calc(40 * var(--u)); }
.nav-links a { opacity: .85; }
/* Languages: a small glass button of its own, at the hero's right edge, level
   with the nav. It shows the current language and opens to the left on hover
   (on a tap, on touch screens) to show the others. */
.lang-switch {
  position: fixed;
  z-index: 50;
  top: calc(105 * var(--u));
  right: calc(max(0px, (100vw - 2200px) / 2) + 92 * var(--u));
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  height: calc(46 * var(--u));
  border-radius: calc(46 * var(--u));
  font-size: calc(15 * var(--u));
  font-weight: 400;
  letter-spacing: .08em;
}
.lang-current {
  flex: none;
  width: calc(46 * var(--u));
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  cursor: pointer;
}
.lang-list {
  display: grid;
  grid-template-columns: 0fr;
  transition: grid-template-columns .5s var(--ease-out);
}
.lang-list > span { display: flex; min-width: 0; overflow: hidden; }
.lang-list a {
  position: relative;
  padding: 0 calc(16 * var(--u)) 0 calc(22 * var(--u));
  opacity: 0;
  transition: opacity .25s ease;
}
/* a short rule between the other languages and the current one */
.lang-list a::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 1px;
  height: 1em;
  translate: 0 -50%;
  background: currentColor;
  opacity: .4;
}
.lang-switch.is-open .lang-list,
.lang-switch:has(:focus-visible) .lang-list { grid-template-columns: 1fr; }
.lang-switch.is-open .lang-list a,
.lang-switch:has(:focus-visible) .lang-list a { opacity: .75; transition-delay: .12s; }
.lang-list a:hover, .lang-list a:focus-visible { opacity: 1 !important; }

.hero-text {
  position: absolute;
  top: calc(262 * var(--u));
  left: calc(50 * var(--u));
}
.hero-text .pill { margin-top: calc(26 * var(--u)); }

/* Work */

.work {
  margin-top: calc(94 * var(--u));
  text-align: center;
}
/* longer line than the hero's, so a step smaller to keep the page margins */
.work .display { font-size: calc(84 * var(--u)); }

.cards {
  display: grid;
  grid-template-columns: 448fr 447fr 447fr;
  gap: calc(43 * var(--u));
  align-items: start;
  margin-top: calc(63 * var(--u));
  text-align: left;
}

.card {
  position: relative;
  display: block;
  height: calc(515 * var(--u));
  border-radius: calc(28 * var(--u));
  overflow: hidden;
}
.card-restaurant, .card-all { margin-top: calc(53 * var(--u)); }

.card > img {
  position: absolute;
  max-width: none;
}

/* crops copied from the Figma image fills */
.card-restaurant > img { width: 196.54%; height: 113.98%; left: -90.93%; top: -14.06%; }
.card-house > img      { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-all > img        { width: 100%; height: 130.19%; left: 0; top: -30.24%; }

.card-label {
  position: absolute;
  left: calc(19 * var(--u));
  right: calc(18 * var(--u));
  bottom: calc(15 * var(--u));
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(54 * var(--u));
  padding: 0 calc(27 * var(--u));
  border-radius: calc(52 * var(--u));
  font-size: calc(24 * var(--u));
}
.card-label .ph { width: calc(22 * var(--u)); height: calc(22 * var(--u)); }

.pill-start { margin-top: calc(4 * var(--u)); }

/* Clients marquee (card size and offsets from the design) */

.marquee {
  width: 100vw;
  margin: calc(94 * var(--u)) 0 0 calc(50% - 50vw);
  overflow: hidden;
}

.marquee-row + .marquee-row { margin-top: calc(30 * var(--u)); }

.marquee-track {
  display: flex;
  gap: calc(21 * var(--u));
  width: max-content;
  animation: marquee 60s linear infinite;
}
.marquee-row-1 .marquee-track { margin-left: calc(-296 * var(--u)); }
.marquee-row-2 .marquee-track { margin-left: calc(-94 * var(--u)); animation-direction: reverse; }

.client {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(404 * var(--u));
  height: calc(116 * var(--u));
  border-radius: calc(28 * var(--u));
  background: var(--cream);
  color: rgba(18, 48, 141, .45);
  font-size: calc(30 * var(--u));
}
.client img {
  max-width: 60%;
  max-height: 50%;
  object-fit: contain;
}

/* one set of five cards = 5 x (404 + 21) */
@keyframes marquee {
  to { transform: translateX(calc(-2125 * var(--u))); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* Sections added after the Figma frame share these */

.title em { white-space: nowrap; }
.title {
  font-weight: 300;
  font-size: calc(72 * var(--u));
  line-height: .99;
}

.section-lead {
  margin-top: calc(18 * var(--u));
  font-size: calc(26 * var(--u));
  line-height: 1.25;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  font-size: calc(14 * var(--u));
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow::after { content: ""; width: calc(28 * var(--u)); height: 1px; background: currentColor; }

.pill-cream { background: var(--cream); color: var(--blue); }
.pill-cream:hover { background: #FFFFFF; }

/* Process */

.process {
  display: grid;
  grid-template-columns: calc(560 * var(--u)) minmax(0, 1fr);
  gap: calc(96 * var(--u));
  align-items: stretch;
  margin-top: calc(150 * var(--u));
}

.process-media {
  min-height: calc(760 * var(--u));
  border-radius: calc(28 * var(--u));
  overflow: hidden;
}
.process-media img { width: 100%; height: 100%; max-width: none; object-fit: cover; }

.process-body { padding-top: calc(24 * var(--u)); }
.process-body .section-lead { max-width: calc(560 * var(--u)); }

.steps {
  list-style: none;
  margin: calc(56 * var(--u)) 0 0;
  padding: 0;
}
.steps li {
  display: grid;
  grid-template-columns: calc(84 * var(--u)) minmax(0, 1fr) auto;
  column-gap: calc(24 * var(--u));
  padding: calc(26 * var(--u)) 0;
  border-top: 1px solid rgba(18, 48, 141, .2);
}
.steps li:last-child { border-bottom: 1px solid rgba(18, 48, 141, .2); }

.step-n {
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: calc(36 * var(--u));
  line-height: 1;
}
/* softened through the colour: the step reveal animates opacity back to 1 */
.steps .ph { font-size: calc(30 * var(--u)); background: color-mix(in srgb, currentColor 55%, transparent); }
.steps h3 {
  margin: 0;
  font-weight: 400;
  font-size: calc(28 * var(--u));
  line-height: 1.1;
}
.steps p {
  margin-top: calc(8 * var(--u));
  max-width: calc(560 * var(--u));
  font-size: calc(20 * var(--u));
  line-height: 1.4;
  opacity: .8;
}

/* Pricing */

.pricing {
  margin-top: calc(150 * var(--u));
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(24 * var(--u));
  margin-top: calc(48 * var(--u));
  text-align: left;
}

/* Three comparable plans, with the recommended option in the middle. */
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: calc(28 * var(--u));
  padding: calc(36 * var(--u));
  border-radius: calc(28 * var(--u));
  background: var(--cream);
}

.plan-main { display: flex; flex-direction: column; }

.plan-name { margin: calc(28 * var(--u)) 0 0; font-weight: 300; font-size: calc(36 * var(--u)); line-height: 1; }
.plan-for { min-height: calc(112 * var(--u)); margin-top: calc(14 * var(--u)); font-size: calc(18 * var(--u)); line-height: 1.4; opacity: .8; }
.plan-details { flex: 1; display: flex; flex-direction: column; }
.plan-details .plan-extra { margin-top: auto; padding-top: calc(20 * var(--u)); }
.plan-badge {
  position: absolute;
  top: calc(22 * var(--u));
  left: calc(36 * var(--u));
  padding: calc(5 * var(--u)) calc(12 * var(--u));
  border-radius: 100px;
  background: var(--cream);
  color: var(--blue);
  font-size: calc(13 * var(--u));
  font-weight: 700;
  line-height: 1.2;
}

.plan-price {
  margin-top: calc(24 * var(--u));
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: calc(64 * var(--u));
  line-height: 1;
}
.plan-price span { font-size: .45em; margin-right: .15em; vertical-align: .9em; }
.plan-time { margin-top: calc(6 * var(--u)); font-size: calc(17 * var(--u)); font-weight: 400; }

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: calc(17 * var(--u));
}
.plan-list li {
  display: flex;
  gap: calc(12 * var(--u));
  padding: calc(10 * var(--u)) 0;
  border-bottom: 1px solid rgba(18, 48, 141, .18);
}
.plan-list li::before {
  content: "";
  flex: none;
  width: 1.1em;
  height: 1.1em;
  margin-top: .1em;
  background: currentColor;
  opacity: .6;
  -webkit-mask: url(assets/icons/check.svg) center / contain no-repeat;
          mask: url(assets/icons/check.svg) center / contain no-repeat;
}

.plan-extra { margin-top: calc(14 * var(--u)); font-size: calc(15 * var(--u)); opacity: .7; }

.plan-btn {
  align-self: flex-start;
  margin-top: calc(24 * var(--u));
  height: calc(46 * var(--u));
  font-size: calc(19 * var(--u));
  background: var(--blue-btn);
}
.plan-time { margin-bottom: calc(24 * var(--u)); }
.plan-btn:hover { background: var(--blue); }

/* the featured plan sits a little higher than its neighbours (margin, because the reveal animation owns transform) */
.plan-featured {
  margin-top: calc(-28 * var(--u));
  background: var(--blue-form);
  color: #FFFFFF;
  box-shadow: 0 calc(24 * var(--u)) calc(48 * var(--u)) rgba(5, 15, 45, .18);
}
.plan-featured .plan-list li { border-bottom-color: rgba(255, 238, 216, .22); }
.plan-featured .plan-btn { background: var(--cream); color: var(--blue); }
.plan-featured .plan-btn:hover { background: #FFFFFF; }

.care {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(40 * var(--u));
  margin-top: calc(24 * var(--u));
  padding: calc(22 * var(--u)) calc(36 * var(--u));
  border: 1px solid rgba(18, 48, 141, .25);
  border-radius: calc(28 * var(--u));
  text-align: left;
}
.care h3 { margin: 0; font-weight: 400; font-size: calc(22 * var(--u)); }
.care h3 em { margin-left: calc(8 * var(--u)); font-size: .8em; opacity: .7; }
.care p { margin-top: calc(4 * var(--u)); max-width: calc(760 * var(--u)); font-size: calc(17 * var(--u)); line-height: 1.4; opacity: .8; }
.care .care-price {
  flex: none;
  margin: 0;
  max-width: none;
  opacity: 1;
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: calc(42 * var(--u));
}
.care-price span { font-family: var(--sans); font-style: normal; font-size: .4em; opacity: .7; }
.maintenance-rates { display: flex; flex: none; gap: calc(32 * var(--u)); }
.care .maintenance-label { margin: 0 0 calc(8 * var(--u)); font-size: calc(14 * var(--u)); }

.pricing-note { margin-top: calc(24 * var(--u)); font-size: calc(18 * var(--u)); opacity: .7; }

/* Founding clients */

.founding {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: calc(64 * var(--u));
  margin-top: calc(150 * var(--u));
  padding: calc(88 * var(--u)) calc(80 * var(--u));
  border-radius: calc(28 * var(--u));
  overflow: hidden;
  background: var(--blue-form);
  color: #FFFFFF;
}
.founding-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.founding-text, .spots { position: relative; }

.founding-text .title { margin-top: calc(20 * var(--u)); font-size: calc(76 * var(--u)); white-space: nowrap; }
.founding-text > p:not(.eyebrow) {
  max-width: calc(600 * var(--u));
  margin-top: calc(22 * var(--u));
  font-size: calc(24 * var(--u));
  line-height: 1.35;
  opacity: .9;
}
.founding-text .pill { margin-top: calc(36 * var(--u)); padding: 0 calc(40 * var(--u)); }

.spots {
  display: flex;
  gap: calc(20 * var(--u));
  list-style: none;
  margin: 0;
  padding: 0;
}
.spots li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(6 * var(--u));
  width: calc(150 * var(--u));
  height: calc(150 * var(--u));
  border: 1px solid rgba(255, 238, 216, .6);
  border-radius: 50%;
  font-size: calc(15 * var(--u));
  letter-spacing: .16em;
  text-transform: uppercase;
}
.spots span {
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: calc(48 * var(--u));
  letter-spacing: 0;
  line-height: 1;
  text-transform: none;
}

/* FAQ: same split as Process, questions open in place */

.faq {
  display: grid;
  grid-template-columns: calc(560 * var(--u)) minmax(0, 1fr);
  gap: calc(96 * var(--u));
  margin-top: calc(150 * var(--u));
}

.faq-list { border-top: 1px solid rgba(18, 48, 141, .2); }
.faq-item { border-bottom: 1px solid rgba(18, 48, 141, .2); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24 * var(--u));
  padding: calc(26 * var(--u)) 0;
  font-weight: 400;
  font-size: calc(26 * var(--u));
  line-height: 1.2;
  list-style: none;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }

/* a plus that turns into a cross */
.faq-icon {
  flex: none;
  width: calc(24 * var(--u));
  height: calc(24 * var(--u));
  background: currentColor;
  -webkit-mask: url(assets/icons/plus.svg) center / contain no-repeat;
          mask: url(assets/icons/plus.svg) center / contain no-repeat;
  transition: rotate .4s var(--ease-press);
}
.faq-item[open] .faq-icon { rotate: 45deg; }

.faq-a p {
  max-width: calc(720 * var(--u));
  padding-bottom: calc(28 * var(--u));
  font-size: calc(20 * var(--u));
  line-height: 1.45;
  text-wrap: pretty;
  opacity: .8;
}
.faq-item[open] .faq-a { animation: fade-up .6s var(--ease-out) both; }

/* Contact */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(918 * var(--u));
  margin-top: calc(150 * var(--u));
}

.contact-intro { padding-left: calc(32 * var(--u)); }

.contact-title {
  font-weight: 300;
  font-size: calc(58 * var(--u));
  line-height: .989;
}
.contact-title em { display: block; }

.contact-text {
  width: calc(390 * var(--u));
  margin-top: calc(26 * var(--u));
  font-size: calc(29 * var(--u));
  line-height: 1.2;
}

.form {
  margin-top: calc(15 * var(--u));
  padding: calc(32 * var(--u)) calc(21 * var(--u)) calc(22 * var(--u)) calc(25 * var(--u));
  border-radius: calc(28 * var(--u));
  background: var(--blue-form);
}

/* package choice: three pills, the chosen one filled in cream with a check */
.package-pick {
  display: flex;
  flex-wrap: wrap;
  gap: calc(10 * var(--u));
  margin: 0 0 calc(22 * var(--u));
  padding: 0;
  border: 0;
  color: var(--cream);
}
.package-pick legend {
  margin-bottom: calc(12 * var(--u));
  padding: 0;
  font-size: calc(14 * var(--u));
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .75;
}
.package-option { position: relative; cursor: pointer; }
.package-option input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.package-option span {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  height: calc(46 * var(--u));
  padding: 0 calc(22 * var(--u));
  border: 1px solid rgba(255, 238, 216, .45);
  border-radius: calc(46 * var(--u));
  font-size: calc(19 * var(--u));
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.package-option input:checked + span { background: var(--cream); border-color: var(--cream); color: var(--blue); }
.package-option input:checked + span::before {
  content: "";
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask: url(assets/icons/check.svg) center / contain no-repeat;
          mask: url(assets/icons/check.svg) center / contain no-repeat;
}
.package-option input:focus-visible + span { box-shadow: 0 0 0 2px #FFFFFF; }
/* a plan button or a case page just chose it */
.package-option span.is-picked { animation: pop .5s var(--ease-out); }

.field {
  display: block;
  width: 100%;
  border: 0;
  background: var(--cream);
  color: var(--blue);
  font-family: var(--sans);
  font-weight: 400;
  font-size: calc(22 * var(--u));
  resize: none;
  outline: none;
}
.field::placeholder { color: rgba(18, 48, 141, .5); }
.field:focus-visible { box-shadow: 0 0 0 2px #FFFFFF; }

.field-line {
  height: calc(55 * var(--u));
  padding: 0 calc(26 * var(--u));
  border-radius: calc(41 * var(--u));
}
.field-short, .field-long {
  padding: calc(18 * var(--u)) calc(26 * var(--u));
  border-radius: calc(17 * var(--u));
}
.field-short { height: calc(101 * var(--u)); margin-top: calc(19 * var(--u)); }

.field-wrap { position: relative; margin-top: calc(19 * var(--u)); }
.field-long { height: calc(270 * var(--u)); padding-bottom: calc(80 * var(--u)); }

.pill-send {
  position: absolute;
  right: calc(17 * var(--u));
  bottom: calc(13 * var(--u));
  justify-content: space-between;
  width: calc(165 * var(--u));
  height: calc(54 * var(--u));
}
.pill-send:hover { background: var(--blue); }

.contact-wa {
  display: inline-flex;
  align-items: center;
  gap: .4em;
  margin-top: calc(32 * var(--u));
  font-size: calc(24 * var(--u));
  border-bottom: 1px solid rgba(18, 48, 141, .35);
}
.contact-wa[hidden] { display: none; }

.form-note {
  margin-top: calc(14 * var(--u));
  color: var(--cream);
  font-size: calc(15 * var(--u));
  opacity: .75;
}
.form-note a, .form-status a { text-decoration: underline; text-underline-offset: .2em; }

.form-status {
  color: var(--cream);
  font-size: calc(18 * var(--u));
}
.form-status:not(:empty) { margin-top: calc(12 * var(--u)); }
.pill-send:disabled { opacity: .6; cursor: wait; }

/* WhatsApp: a small pill that follows the page once a number is set */
.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 18px;
  border-radius: 52px;
  background: var(--blue-btn);
  color: var(--cream);
  font-size: 17px;
  box-shadow: 0 10px 30px rgba(5, 15, 45, .22);
  transition: background-color .25s ease, transform .2s var(--ease-press);
}
.wa-float[hidden] { display: none; }
.wa-float .ph { font-size: 24px; }
.wa-float:active { transform: scale(.97); }

/* Footer */

.footer {
  position: relative;
  height: calc(952 * var(--u));
  margin: calc(76 * var(--u)) 0 calc(55 * var(--u));
  border-radius: calc(28 * var(--u));
  overflow: hidden;
  color: #FFFFFF;
}
.footer > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

/* text lives in the empty sky of the engraving */
.footer-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: calc(40 * var(--u));
  padding: calc(72 * var(--u)) calc(50 * var(--u)) 0;
}

.footer-tagline {
  font-size: calc(72 * var(--u));
  line-height: .99;
  max-width: calc(780 * var(--u));
}
.footer-tagline em { display: block; }

.footer-cols { display: flex; gap: calc(88 * var(--u)); padding-top: calc(10 * var(--u)); }
.footer-col { display: flex; flex-direction: column; gap: calc(10 * var(--u)); font-size: calc(22 * var(--u)); }
.footer-col h3 {
  display: flex;
  align-items: center;
  gap: calc(12 * var(--u));
  margin: 0 0 calc(10 * var(--u));
  font-size: calc(14 * var(--u));
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .75;
}
.footer-col h3::after { content: ""; width: calc(28 * var(--u)); height: 1px; background: currentColor; }
.footer-col a { align-self: flex-start; opacity: .9; }

.footer-col a[hidden] { display: none; }

.footer-legal {
  grid-column: 1 / -1;
  font-size: calc(16 * var(--u));
  opacity: .6;
}
.footer-legal a:hover { text-decoration: underline; }

/* Privacy and Terms pages */

.legal-page { padding-bottom: 80px; }

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 0;
  font-size: 18px;
}
.legal-nav .nav-brand { font-weight: 400; }

.legal {
  max-width: 760px;
  margin: 48px auto 0;
  font-size: 18px;
  line-height: 1.6;
}
.legal .title { font-size: clamp(2.4rem, 6vw, 4rem); }
.legal-updated { margin-top: 28px; opacity: .6; }
.legal h2 { margin: 48px 0 12px; font-weight: 400; font-size: 24px; line-height: 1.2; }
.legal p, .legal ul { margin: 0 0 14px; opacity: .85; }
.legal ul { padding-left: 1.2em; }
.legal a { text-decoration: underline; text-underline-offset: .2em; }

/* Work pages (niche landings, hub, cases) reuse the home pieces */

/* shorter than the home hero: these pages get to the projects sooner */
.hero-niche { height: calc(640 * var(--u)); }
.hero-niche .hero-img { object-position: 50% 85%; }
/* the restaurant engraving is busy where the text sits, so a blue wash keeps it legible */
.hero-niche::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg, rgba(18, 48, 141, .95) 0%, rgba(18, 48, 141, .88) 40%, rgba(18, 48, 141, 0) 72%);
  pointer-events: none;
}
.hero-niche .hero-text { z-index: 2; }
.hero-niche .display em { display: block; }
.hero-case .display em { display: inline; }
.hero-niche .lead { max-width: calc(680 * var(--u)); }
.hero-niche .hero-text { top: calc(176 * var(--u)); }
.hero-actions { display: flex; gap: calc(12 * var(--u)); margin-top: calc(26 * var(--u)); }
.hero-text .hero-actions .pill { margin-top: 0; }
.pill-soon { cursor: default; opacity: .75; }
.pill-soon:hover { --glass-boost: 1; }

.crumbs {
  display: flex;
  gap: calc(12 * var(--u));
  margin-bottom: calc(28 * var(--u));
  font-size: calc(14 * var(--u));
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .85;
}
.crumbs a { border-bottom: 1px solid rgba(255, 255, 255, .5); }

.pill-wide { width: auto; padding: 0 calc(32 * var(--u)); }

.concepts { margin-top: calc(120 * var(--u)); }

.concepts-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(460 * var(--u));
  align-items: end;
  gap: calc(40 * var(--u));
}
.concepts-head .title { margin-top: calc(20 * var(--u)); }
.concepts-head .section-lead { margin: 0; }

.concept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(43 * var(--u));
  margin-top: calc(56 * var(--u));
}

.concept .card { height: calc(560 * var(--u)); }
.concept .card > img { inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* honest label: these are studio concepts, not client work */
.concept-tag {
  position: absolute;
  top: calc(18 * var(--u));
  left: calc(19 * var(--u));
  padding: calc(8 * var(--u)) calc(16 * var(--u));
  border-radius: calc(52 * var(--u));
  background: var(--cream);
  color: var(--blue);
  font-size: calc(13 * var(--u));
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
}

/* until the engraving arrives, a cream card with the name set in italic */
.card-pending { background: var(--cream); }
.card-pending .concept-tag,
.card-pending .card-label { background: var(--blue); color: var(--cream); }
.pending-name {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: calc(12 * var(--u));
  color: var(--blue);
  text-align: center;
}
.pending-name em { font-size: calc(46 * var(--u)); line-height: 1; }
.pending-name small {
  font-size: calc(13 * var(--u));
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .55;
}

.concept-meta {
  display: flex;
  justify-content: space-between;
  gap: calc(16 * var(--u));
  margin-top: calc(20 * var(--u));
  padding-bottom: calc(12 * var(--u));
  border-bottom: 1px solid rgba(18, 48, 141, .2);
  font-size: calc(17 * var(--u));
  font-weight: 400;
}
.concept-meta span:last-child { opacity: .6; }
.concept-text {
  margin-top: calc(12 * var(--u));
  font-size: calc(19 * var(--u));
  line-height: 1.4;
  opacity: .8;
}

.concept-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.concept-grid-2 .card { height: calc(640 * var(--u)); }
.concept[hidden] { display: none; }

/* client work: a looping preview over the poster; the card opens the project page */
.card-video { background: #0c0b0a; }
.concept-grid-2 .card-video { height: auto; aspect-ratio: 16 / 9; }
.card-video > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.card-video > video.is-playing { opacity: 1; }
.ph-play { --ph: url(assets/icons/play.svg); }

.text-link { border-bottom: 1px solid currentColor; }

/* Work hub filter */
.filters { display: flex; gap: calc(10 * var(--u)); margin-top: calc(48 * var(--u)); }
.filter {
  display: inline-flex;
  align-items: center;
  gap: calc(10 * var(--u));
  height: calc(46 * var(--u));
  padding: 0 calc(24 * var(--u));
  border: 1px solid rgba(18, 48, 141, .35);
  border-radius: calc(52 * var(--u));
  background: none;
  color: var(--blue);
  font-family: var(--sans);
  font-size: calc(19 * var(--u));
  font-weight: 300;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.filter span { font-family: var(--serif-italic); font-style: italic; opacity: .6; }
.filter[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: var(--cream); }
.filters + .concept-grid { margin-top: calc(32 * var(--u)); }

/* Niche "what it includes" reuses Process */
.includes .process-media { min-height: calc(640 * var(--u)); }
.focus-right { object-position: 88% 60%; }

/* Offer band reuses Founding clients */
.offer-actions { display: flex; align-items: center; gap: calc(28 * var(--u)); margin-top: calc(36 * var(--u)); }
.founding-text .offer-actions .pill { margin-top: 0; }
.offer-link { border-bottom: 1px solid rgba(255, 255, 255, .6); font-size: calc(20 * var(--u)); }
.offer-price {
  position: relative;
  font-family: var(--serif-italic);
  font-style: italic;
  font-size: calc(120 * var(--u));
  line-height: 1;
  white-space: nowrap;
}
.offer-price span {
  display: block;
  margin-bottom: calc(8 * var(--u));
  font-family: var(--sans);
  font-style: normal;
  font-size: calc(16 * var(--u));
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .75;
}

/* Case pages */
.case-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: calc(40 * var(--u));
  margin: calc(56 * var(--u)) 0 0;
  padding: calc(28 * var(--u)) 0;
  border-top: 1px solid rgba(18, 48, 141, .2);
  border-bottom: 1px solid rgba(18, 48, 141, .2);
}
.case-facts dt {
  font-size: calc(13 * var(--u));
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .7;
}
.case-facts dd { margin: calc(8 * var(--u)) 0 0; font-size: calc(24 * var(--u)); }

.case-body {
  display: grid;
  grid-template-columns: calc(560 * var(--u)) minmax(0, 1fr);
  gap: calc(96 * var(--u));
  margin-top: calc(120 * var(--u));
}
.case-body .title { margin-top: calc(20 * var(--u)); }
.case-brief { font-size: calc(26 * var(--u)); line-height: 1.35; }
.case-sub {
  margin: calc(48 * var(--u)) 0 calc(12 * var(--u));
  font-size: calc(14 * var(--u));
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.case-body .plan-list { font-size: calc(20 * var(--u)); }

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(43 * var(--u));
  margin-top: calc(120 * var(--u));
}
.shot {
  position: relative;
  height: calc(460 * var(--u));
  border-radius: calc(28 * var(--u));
  overflow: hidden;
  background: var(--cream);
}
.shot:first-child { grid-column: 1 / -1; height: calc(720 * var(--u)); }
.shot > img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; }

.case-next {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: calc(40 * var(--u));
  margin-top: calc(120 * var(--u));
  padding: calc(40 * var(--u)) 0;
  border-top: 1px solid rgba(18, 48, 141, .2);
  border-bottom: 1px solid rgba(18, 48, 141, .2);
}
.case-next-name {
  display: flex;
  align-items: center;
  gap: calc(20 * var(--u));
  font-size: calc(72 * var(--u));
  line-height: 1;
}
.case-next-name .ph { width: calc(48 * var(--u)); height: calc(48 * var(--u)); transition: transform .35s var(--ease-press); }

/* Liquid glass
   For the nav, the hero buttons and the card labels: every surface that sits on
   an engraving. Six layers: shadow, blur and lift of what is behind, a lens that
   bends the rim (script.js, Chromium only), a tint, rim light, and ink.
   script.js samples the engraving under each surface and sets data-ink (light
   text on dark glass, or dark text on light glass) and --glass-density (0 thin,
   1 dense). Surfaces over a flat colour stay solid: glass there only looks grey. */

@property --glass-alpha { syntax: "<number>"; inherits: true; initial-value: .2; }
@property --glass-boost { syntax: "<number>"; inherits: true; initial-value: 1; }

:root {
  --glass-strength: 1; /* 0 to 1.5 scales every tint; at 0 only blur, rim and shadow remain */
}

:is(.nav, .lang-switch, .pill-glass, .card-label) {
  /* light ink on dark glass: the default over cobalt engravings */
  --glass-tint: 16 18 22;
  --glass-min: .10;
  --glass-max: .30;
  --glass-sat: calc(1.7 * var(--glass-keep, 1));
  --glass-bright: calc(1 - .15 * min(var(--glass-strength), 1));
  --glass-glow: .35;
  --glass-hover: .86; /* hover clears a dark tint a little */
  --glass-ink: rgb(255 255 255 / .94);
  --glass-ink-blend: plus-lighter;
  --glass-edge:
    inset 1.5px 1.5px 1px -1px rgb(255 255 255 / .55),
    inset -1.5px -1.5px 1px -1px rgb(255 255 255 / .22),
    inset 0 0 0 .5px rgb(255 255 255 / .14),
    0 0 0 .5px rgb(0 0 0 / .22),
    0 6px 24px rgb(0 0 0 / .14);

  --glass-alpha: calc(var(--glass-min) + (var(--glass-max) - var(--glass-min)) * var(--glass-density, 1));
  isolation: isolate;
  background: rgb(var(--glass-tint) / calc(var(--glass-alpha) * var(--glass-boost) * var(--glass-strength)));
  -webkit-backdrop-filter: blur(var(--glass-blur, 2px)) saturate(var(--glass-sat)) brightness(var(--glass-bright));
          backdrop-filter: blur(var(--glass-blur, 2px)) saturate(var(--glass-sat)) brightness(var(--glass-bright)) var(--glass-lens,);
  box-shadow: var(--glass-edge);
  color: var(--glass-ink);
  transition: --glass-alpha .6s var(--ease-out), --glass-boost .3s ease, transform .2s var(--ease-press);
}
.pill-glass { position: relative; }

/* light glass with dark ink, for the brighter parts of an engraving */
:is(.nav, .lang-switch, .pill-glass, .card-label)[data-ink="dark"] {
  --glass-tint: 255 255 255;
  --glass-min: .06;
  --glass-max: .22;
  --glass-sat: calc(1.8 * var(--glass-keep, 1));
  --glass-bright: calc(1 + .06 * min(var(--glass-strength), 1));
  --glass-glow: 1;
  --glass-hover: 1.14;
  --glass-ink: rgb(8 24 82 / .9); /* the brand blue, multiplied, instead of black */
  --glass-ink-blend: multiply;
  --glass-edge:
    inset 1.5px 1.5px 1px -1px rgb(255 255 255 / .95),
    inset -1.5px -1.5px 1px -1px rgb(255 255 255 / .55),
    inset 0 0 0 .5px rgb(255 255 255 / .3),
    0 0 0 .5px rgb(0 0 0 / .06),
    0 6px 24px rgb(0 0 0 / .08);
}

/* inner light: a highlight from the top left and soft glows just inside the rim */
:is(.nav, .lang-switch, .pill-glass, .card-label)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(130% 160% at 0% 0%, rgb(255 255 255 / calc(.3 * var(--glass-glow))), rgb(255 255 255 / 0) 55%);
  box-shadow:
    inset 0 1px 8px rgb(255 255 255 / calc(.24 * var(--glass-glow))),
    inset 1px 0 8px rgb(255 255 255 / calc(.14 * var(--glass-glow))),
    inset 0 -2px 8px rgb(0 0 0 / calc(.1 * var(--glass-glow)));
}

/* everything drawn on the glass takes a little of the colour behind it */
:is(.nav, .lang-switch, .pill-glass, .card-label) > * { mix-blend-mode: var(--glass-ink-blend); }

.pill-glass:hover, .lang-switch:hover, .card:hover .card-label { --glass-boost: var(--glass-hover); }

/* the label on a cream placeholder sits on a flat colour, so it stays solid */
.card-pending .card-label { -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.card-pending .card-label::before { display: none; }

/* Sticky nav. Once it floats over page content it needs more body than over an
   engraving: a softer blur so passing text doesn't read through, and on white a
   denser frost. */
.nav { transform-origin: 50% 0; }
:is(.nav, .lang-switch) {
  transition: --glass-alpha .6s var(--ease-out), --glass-boost .3s ease, transform .6s var(--ease-out);
}
.nav.is-stuck {
  --glass-blur: 12px;
  transform: translate(-50%, calc(-71 * var(--u))) scale(.86);
}
/* the language button rides up with the nav and keeps level with its middle */
.lang-switch.is-stuck {
  --glass-blur: 12px;
  transform: translateY(calc(-76 * var(--u))) scale(.86);
}
:is(.nav, .lang-switch).is-stuck[data-ink="dark"] { --glass-min: .62; --glass-max: .8; }
:is(.nav, .lang-switch).is-stuck:not([data-ink="dark"]) { --glass-min: .3; --glass-max: .5; }
/* anchors land below the nav, not under it */
[id] { scroll-margin-top: calc(110 * var(--u)); }

@media (prefers-reduced-transparency: reduce) {
  :is(.nav, .lang-switch, .pill-glass, .card-label) { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--blue-btn); }
  :is(.nav, .lang-switch, .pill-glass, .card-label)[data-ink="dark"] { background: var(--cream); }
  :is(.nav, .lang-switch, .pill-glass, .card-label)::before { display: none; }
}
@media (forced-colors: active) {
  :is(.nav, .lang-switch, .pill-glass, .card-label) { -webkit-backdrop-filter: none; backdrop-filter: none; background: Canvas; color: CanvasText; border: 1px solid CanvasText; }
}

/* Phones and small tablets: same pieces, stacked */

@media (max-width: 760px) {
  :root { --u: 1px; }

  .page { padding: 0 16px; }

  .display, .work .display { font-size: clamp(2.5rem, 11.5vw, 3.5rem); white-space: normal; }
  .lead { font-size: 1.15rem; }
  .lead br { display: none; }

  .pill { font-size: 1.1rem; height: 48px; }

  .hero { height: auto; min-height: 640px; margin-top: 16px; padding-top: 72px; display: flex; flex-direction: column; }
  .hero-img { object-position: 70% 50%; }
  .nav { top: 32px; left: 32px; right: 88px; transform: none; width: auto; height: 56px; padding: 0 22px; font-size: 1rem; }
  .nav.is-stuck { transform: translateY(-20px) scale(.94); }
  /* on a phone the list drops down instead, clear of the nav */
  .lang-switch { top: 36px; right: 32px; flex-direction: column; width: 48px; height: auto; border-radius: 24px; font-size: .75rem; }
  .lang-current { width: 48px; height: 48px; }
  .lang-list { grid-template-columns: none; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
  .lang-list > span { flex-direction: column; min-height: 0; }
  .lang-list a { display: grid; place-items: center; height: 44px; padding: 0; }
  .lang-list a::after { right: 14px; left: 14px; top: 0; width: auto; height: 1px; translate: none; }
  .lang-switch.is-open .lang-list,
  .lang-switch:has(:focus-visible) .lang-list { grid-template-columns: none; grid-template-rows: 1fr; }
  .lang-switch.is-stuck { transform: translateY(-22px) scale(.94); }
  [id] { scroll-margin-top: 84px; }
  .nav-links { gap: 18px; }
  /* beside the language button only the brand and Contact fit a phone */
  .nav-links a:nth-child(-n+3) { display: none; } /* Work, Process and Pricing */
  .hero-text { position: relative; top: auto; left: auto; padding: 40px 22px 0; }

  .work { margin-top: 56px; }
  .cards { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .card { height: 420px; }
  .card-restaurant, .card-all { margin-top: 0; }
  .card-label { font-size: 1.1rem; }
  .pill-start { margin-top: 24px; }

  .marquee { margin-top: 56px; }
  .client { width: 240px; height: 80px; border-radius: 20px; font-size: 1.15rem; }
  .marquee-row + .marquee-row { margin-top: 14px; }
  @keyframes marquee { to { transform: translateX(-1305px); } }

  .title, .founding-text .title { font-size: 2.4rem; white-space: normal; }
  .section-lead { font-size: 1.1rem; }
  .eyebrow { font-size: .75rem; }

  .process { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
  .process-media { min-height: 0; height: 380px; }
  .process-body { padding-top: 0; }
  .steps { margin-top: 28px; }
  .steps li { grid-template-columns: 52px 1fr auto; column-gap: 14px; padding: 18px 0; }
  .steps .ph { font-size: 24px; }
  .step-n { font-size: 1.6rem; }
  .steps h3 { font-size: 1.3rem; }
  .steps p { font-size: 1rem; }

  .pricing { margin-top: 72px; }
  .plans { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  .plan { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; }
  .plan-featured { margin-top: 0; }
  .plan-btn { margin-top: 24px; height: 48px; font-size: 1.05rem; }
  .plan-name { margin-top: 28px; font-size: 2rem; }
  .plan-for, .plan-time { min-height: 0; font-size: 1rem; }
  .plan-badge { top: 18px; left: 24px; padding: 5px 12px; font-size: .8rem; }
  .plan-price { margin-top: 24px; font-size: 3.6rem; }
  .plan-list { font-size: 1rem; }
  .plan-list li { padding: 10px 0; }
  .plan-extra { font-size: .9rem; }
  .care { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 24px; }
  .care h3 { font-size: 1.3rem; }
  .care p { font-size: 1rem; }
  .care .care-price { font-size: 2.4rem; }
  .maintenance-rates { width: 100%; flex-wrap: wrap; gap: 24px; }
  .care .maintenance-label { margin-bottom: 8px; font-size: .85rem; }
  .pricing-note { font-size: .9rem; }

  .founding { grid-template-columns: 1fr; gap: 32px; margin-top: 72px; padding: 44px 24px; }
  .founding-text > p:not(.eyebrow) { font-size: 1.05rem; }
  .founding-text .pill { padding: 0 28px; }
  .spots { gap: 10px; }
  .spots li { width: 92px; height: 92px; font-size: .65rem; }
  .spots span { font-size: 1.8rem; }

  .hero-niche { height: auto; min-height: 540px; }
  .hero-niche .hero-text { top: auto; padding-bottom: 32px; }
  .hero-actions { flex-wrap: wrap; gap: 10px; margin-top: 22px; }
  .pill-wide { padding: 0 24px; }
  .concept-grid-2 { grid-template-columns: 1fr; }
  .concept-grid-2 .card { height: 420px; }
  .filters { flex-wrap: wrap; gap: 8px; margin-top: 28px; }
  .filter { height: 42px; padding: 0 18px; font-size: 1rem; }
  .filters + .concept-grid { margin-top: 24px; }
  .includes .process-media { min-height: 0; }
  .offer-actions { flex-wrap: wrap; gap: 18px; margin-top: 28px; }
  .offer-link { font-size: 1rem; }
  .offer-price { font-size: 3.6rem; }
  .offer-price span { font-size: .7rem; }
  .case-facts { grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; padding: 20px 0; }
  .case-facts dt { font-size: .65rem; }
  .case-facts dd { font-size: 1.05rem; }
  .case-body { grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
  .case-brief { font-size: 1.15rem; }
  .case-sub { margin-top: 28px; font-size: .75rem; }
  .case-body .plan-list { font-size: 1rem; }
  .case-gallery { grid-template-columns: 1fr; gap: 16px; margin-top: 56px; }
  .shot, .shot:first-child { height: 300px; }
  .case-next { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 56px; padding: 24px 0; }
  .case-next-name { font-size: 2.2rem; gap: 12px; }
  .case-next-name .ph { width: 28px; height: 28px; }
  .hero-niche::before { background: linear-gradient(180deg, rgba(18, 48, 141, .92) 0%, rgba(18, 48, 141, .85) 55%, rgba(18, 48, 141, .6) 80%, rgba(18, 48, 141, .15) 100%); }
  .crumbs { font-size: .7rem; margin-bottom: 18px; }
  .concepts { margin-top: 56px; }
  .concepts-head { grid-template-columns: 1fr; gap: 14px; }
  .concept-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
  .concept .card { height: 420px; }
  .concept-tag { font-size: .65rem; padding: 7px 14px; }
  .pending-name em { font-size: 2.2rem; }
  .pending-name small { font-size: .65rem; }
  .concept-meta { font-size: 1rem; }
  .concept-text { font-size: 1.05rem; }

  .faq { grid-template-columns: 1fr; gap: 28px; margin-top: 72px; }
  .faq-item summary { padding: 20px 0; font-size: 1.15rem; }
  .faq-icon { width: 18px; height: 18px; }
  .faq-a p { padding-bottom: 20px; font-size: 1rem; }

  .contact-wa { margin-top: 20px; font-size: 1.1rem; }
  .form-note { font-size: .85rem; }
  .wa-float { right: 16px; bottom: 16px; height: 48px; padding: 0 16px 0 14px; font-size: 15px; }
  .legal-nav, .legal { font-size: 16px; }

  .contact { grid-template-columns: 1fr; margin-top: 72px; }
  .contact-intro { padding-left: 0; }
  .contact-title { font-size: 2.6rem; }
  .contact-text { width: auto; font-size: 1.15rem; }
  .form { margin-top: 28px; padding: 18px; }
  .field { font-size: 1rem; }
  .package-pick { gap: 8px; margin-bottom: 16px; }
  .package-pick legend { margin-bottom: 10px; font-size: .75rem; }
  .package-option span { height: 40px; padding: 0 16px; font-size: .95rem; }
  .field-wrap .field-long { height: 220px; }
  .pill-send { width: 130px; height: 48px; }

  .footer { height: 680px; margin: 48px 0 16px; }
  .footer > img { object-position: 30% 100%; }
  .footer-content { grid-template-columns: 1fr; gap: 28px; padding: 36px 22px 0; }
  .footer-tagline { font-size: 2.2rem; max-width: none; }
  .footer-cols { flex-wrap: wrap; gap: 24px 40px; padding-top: 0; }
  .footer-col { font-size: 1rem; gap: 6px; }
  .footer-col h3 { font-size: .75rem; margin-bottom: 4px; }
  .footer-legal { font-size: .85rem; }
}

/* Motion
   One vocabulary for the whole page. Engravings unveil top to bottom, like a
   print lifted off the press, and settle from a slight zoom. Headlines rise word
   by word from behind a mask. Everything else fades up a few pixels. Two curves,
   one rhythm. script.js picks the elements and adds .is-in as they scroll into
   view. Nothing is hidden unless the inline script in <head> has added .js. */

:root {
  --ease-out: cubic-bezier(.16, 1, .3, 1);       /* entrances */
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);  /* unveils, lines drawing */
  --ease-press: cubic-bezier(.23, 1, .32, 1);    /* hovers and presses */
}

@keyframes unveil { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0); } }
@keyframes settle { from { scale: 1.16; } to { scale: 1; } }
@keyframes rise   { from { translate: 0 120%; } to { translate: none; } }
@keyframes fade-up { from { opacity: 0; translate: 0 calc(28 * var(--u)); } to { opacity: 1; translate: none; } }
@keyframes pop    { from { opacity: 0; scale: .88; } to { opacity: 1; scale: 1; } }
@keyframes draw   { from { scale: 0 1; } to { scale: 1 1; } }
@keyframes fade   { from { opacity: 0; } to { opacity: 1; } }

/* Engravings: the frame clips open, the picture inside settles */
.js [data-reveal="unveil"] { clip-path: inset(0 0 100% 0); }
.js [data-reveal="unveil"].is-in { animation: unveil 1.4s var(--ease-in-out) var(--d, 0ms) both; }
.js [data-reveal="unveil"] > img { scale: 1.16; }
.js [data-reveal="unveil"].is-in > img { animation: settle 2.2s var(--ease-out) var(--d, 0ms) both; }

/* Headlines: script.js wraps each word in .w > .w-i; the mask leaves room for
   descenders and the italic overhang */
.w { display: inline-block; vertical-align: top; clip-path: inset(-.3em -.25em -.2em -.25em); }
.w-i { display: inline-block; }
.js [data-reveal="split"] .w-i { translate: 0 120%; }
.js [data-reveal="split"].is-in .w-i {
  animation: rise 1.1s var(--ease-out) calc(var(--d, 0ms) + var(--i) * 60ms) both;
}

/* Copy, buttons, cards */
.js [data-reveal="fade"] { opacity: 0; }
.js [data-reveal="fade"].is-in { animation: fade-up 1.1s var(--ease-out) var(--d, 0ms) both; }

/* Founding spots */
.js [data-reveal="pop"] { opacity: 0; }
.js [data-reveal="pop"].is-in { animation: pop .9s var(--ease-out) var(--d, 0ms) both; }

/* Process steps: the rule draws across, then the step fades in under it */
.steps li { position: relative; }
.js .steps li { border-color: transparent; }
.js .steps li::before,
.js .steps li:last-child::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(18, 48, 141, .2);
  transform-origin: left;
  scale: 0 1;
}
.js .steps li::before { top: -1px; }
.js .steps li:last-child::after { bottom: -1px; }
.js .steps li > * { opacity: 0; }
.js .steps li.is-in::before,
.js .steps li.is-in:last-child::after { animation: draw 1.2s var(--ease-in-out) var(--d, 0ms) both; }
.js .steps li.is-in > * { animation: fade-up 1s var(--ease-out) calc(var(--d, 0ms) + 250ms) both; }
.js .steps li.is-in > div { animation-delay: calc(var(--d, 0ms) + 330ms); }
.js .steps li.is-in > .ph { animation-delay: calc(var(--d, 0ms) + 420ms); }

/* Hovers: only where there is a real pointer */

.pill { transition: background-color .25s ease, transform .2s var(--ease-press); }
.pill:active { transform: scale(.97); }

.card > img { transition: transform .9s var(--ease-press); }
.card-label .ph, .pill-send .ph { transition: transform .35s var(--ease-press); }
.hero-text .ph-chat { transition: rotate .35s var(--ease-press); }

/* links draw an underline from the left and leave to the right */
.nav-links a, .footer-col a {
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0 1px;
  transition: background-size .4s var(--ease-press), opacity .25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .pill:hover { transform: translateY(-2px); }
  .pill:active { transform: translateY(-1px) scale(.97); }

  .card:hover > img { transform: scale(1.04); }
  .case-next:hover .case-next-name .ph { transform: translate(4px, -4px); }
  .filter:hover { border-color: var(--blue); }
  .text-link:hover, .offer-link:hover { opacity: .7; }
  .card:hover .card-label .ph,
  .pill-send:hover .ph { transform: translate(3px, -3px); }
  .hero-text .pill:hover .ph-chat { rotate: -12deg; }

  .package-option:hover span { border-color: var(--cream); }
  .lang-switch:hover .lang-list { grid-template-columns: 1fr; }
  .lang-switch:hover .lang-list a { opacity: .75; transition-delay: .12s; }
  .nav-links a:hover, .footer-col a:hover { opacity: 1; background-position: left bottom; background-size: 100% 1px; }

  .wa-float:hover { background: var(--blue); transform: translateY(-2px); }
  .faq-item summary:hover .faq-icon { rotate: 90deg; }
  .faq-item[open] summary:hover .faq-icon { rotate: 45deg; }
}

/* Reduced motion: no movement, just a short fade so content still arrives */
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal="unveil"], .js [data-reveal="unveil"] > img { clip-path: none; scale: none; }
  .js [data-reveal="split"] .w-i { translate: none; }
  .js [data-reveal="split"] { opacity: 0; }
  .js .steps li::before, .js .steps li:last-child::after { scale: 1 1; }
  :is(.nav, .lang-switch), .lang-list, .lang-list a { transition: none; }

  .js [data-reveal].is-in,
  .js .steps li.is-in > * { animation: fade .5s ease both; }
  .js [data-reveal].is-in .w-i,
  .js [data-reveal].is-in > img,
  .js .steps li.is-in::before,
  .js .steps li.is-in:last-child::after { animation: none; }

  .card > img, .card-label .ph, .pill-send .ph, .hero-text .ph-chat, .faq-icon { transition: none; }
  .faq-item[open] .faq-a { animation: fade .3s ease both; }
  .pill:hover, .pill:active, .card:hover > img { transform: none; }
}

/* Live demo: three design directions on a project page, and the badge for demos that are online */
.concept-tag-live { background: var(--blue); color: var(--cream); }
.concept-featured { grid-column: 1 / -1; }
.concept-featured .card { height: calc(640 * var(--u)); }
.case-directions { margin-top: calc(120 * var(--u)); }
.case-directions .title { margin-top: calc(20 * var(--u)); }
.case-directions .section-lead { max-width: calc(760 * var(--u)); margin-top: calc(16 * var(--u)); }
.direction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(43 * var(--u));
  margin-top: calc(48 * var(--u));
}
.direction .shot, .direction .shot:first-child { height: calc(300 * var(--u)); grid-column: auto; }
.direction { display: flex; flex-direction: column; align-items: flex-start; }
.direction .shot { width: 100%; }
.direction-text { flex: 1; }
.direction-name { margin: calc(24 * var(--u)) 0 0; font-size: calc(44 * var(--u)); font-weight: 400; line-height: 1; }
.direction-text { margin: calc(10 * var(--u)) 0 calc(22 * var(--u)); font-size: calc(19 * var(--u)); line-height: 1.4; opacity: .8; }
@media (max-width: 760px) {
  .concept-featured .card { height: 420px; }
  .case-directions { margin-top: 56px; }
  .direction-grid { grid-template-columns: 1fr; gap: 40px; margin-top: 32px; }
  .direction .shot, .direction .shot:first-child { height: 240px; }
  .direction-name { margin-top: 16px; font-size: 2rem; }
  .direction-text { font-size: 1.05rem; margin-bottom: 18px; }
}

/* ---------- Barra de rolagem fina (cópia de biblioteca/codigo/barra-fina.css, DET-04; mude lá primeiro) ---------- */
:root { --barra-cor: #7b8fd6; --barra-repouso: .45; }
html.barra-fina { scrollbar-width: none; }
html.barra-fina::-webkit-scrollbar { display: none; }
.barra-fina-trilho { position: fixed; top: 0; right: 0; bottom: 0; width: 14px; z-index: 90; transition: opacity .4s ease; }
.barra-fina-trilho.vazia, .lenis-stopped .barra-fina-trilho { opacity: 0; pointer-events: none; }
.barra-fina-trilho i {
  position: absolute; top: 0; right: 5px; width: 2px; border-radius: 2px;
  background: var(--barra-cor); opacity: var(--barra-repouso);
  transition: opacity .6s cubic-bezier(.3,.7,.2,1), width .4s cubic-bezier(.3,.7,.2,1), right .4s cubic-bezier(.3,.7,.2,1);
}
.barra-fina-trilho.ativa i { opacity: .85; }
.barra-fina-trilho:hover i, .barra-fina-trilho.arrastando i { opacity: 1; width: 4px; right: 4px; }
@media (hover: none), (pointer: coarse) {
  .barra-fina-trilho { pointer-events: none; width: 8px; }
  .barra-fina-trilho i { right: 3px; }
}

/* ---------- Project pages: the full video, the moments and the phone screens ---------- */
.case-film, .case-moments, .case-phones { margin-top: calc(120 * var(--u)); }
.case-film .title, .case-moments .title, .case-phones .title { margin-top: calc(20 * var(--u)); }

.film {
  position: relative;
  margin-top: calc(48 * var(--u));
  border-radius: calc(28 * var(--u));
  overflow: hidden;
  background: #0c0b0a;
  aspect-ratio: 16 / 9;
}
.film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film-play {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  gap: calc(10 * var(--u));
}
.film-play .ph { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.film.is-playing .film-play { opacity: 0; pointer-events: none; transition: opacity .4s ease; }

.moments { margin: calc(56 * var(--u)) 0 0; padding: 0; list-style: none; }
.moment {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: calc(80 * var(--u));
  align-items: center;
}
.moment + .moment { margin-top: calc(96 * var(--u)); }
.moment:nth-child(even) { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
.moment:nth-child(even) .moment-clip { order: 2; }
.moment-clip {
  position: relative;
  border-radius: calc(24 * var(--u));
  overflow: hidden;
  background: #0c0b0a;
  aspect-ratio: 1120 / 596;
}
.moment-clip video { display: block; width: 100%; height: 100%; object-fit: cover; }
.moment-n { font-family: var(--serif-italic); font-style: italic; font-size: calc(64 * var(--u)); line-height: 1; opacity: .55; }
.moment-text h3 { margin: calc(16 * var(--u)) 0 0; font-size: calc(44 * var(--u)); font-weight: 400; line-height: 1.05; }
.moment-text p { margin: calc(14 * var(--u)) 0 0; font-size: calc(20 * var(--u)); line-height: 1.45; opacity: .8; }

.case-phones-head .section-lead { max-width: calc(640 * var(--u)); }
.phones {
  display: flex;
  justify-content: center;
  gap: calc(48 * var(--u));
  margin-top: calc(64 * var(--u));
  padding: calc(72 * var(--u)) 0 calc(120 * var(--u));
  border-radius: calc(28 * var(--u));
  background: var(--blue);
}
.phone {
  width: calc(300 * var(--u));
  aspect-ratio: 390 / 844;
  border: calc(8 * var(--u)) solid #0c0b0a;
  border-radius: calc(40 * var(--u));
  overflow: hidden;
  background: #0c0b0a;
}
.phone:nth-child(2) { translate: 0 calc(64 * var(--u)); }
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* scroll moment: the film opens up and the phones drift apart as they cross the screen (browsers without scroll timelines show them still) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .film { animation: film-open linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    .phone { animation: phone-drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    .phone:nth-child(2) { animation-name: phone-drift-mid; }
  }
}
@keyframes film-open { from { scale: .88; border-radius: calc(56 * var(--u)); } to { scale: 1; } }
@keyframes phone-drift { from { transform: translateY(calc(60 * var(--u))); } to { transform: translateY(calc(-60 * var(--u))); } }
@keyframes phone-drift-mid { from { transform: translateY(calc(-40 * var(--u))); } to { transform: translateY(calc(40 * var(--u))); } }

@media (max-width: 760px) {
  .case-film, .case-moments, .case-phones { margin-top: 56px; }
  .film { margin-top: 24px; border-radius: 16px; }
  .moments { margin-top: 32px; }
  .moment, .moment:nth-child(even) { grid-template-columns: 1fr; gap: 16px; }
  .moment + .moment { margin-top: 48px; }
  .moment:nth-child(even) .moment-clip { order: 0; }
  .moment-clip { border-radius: 14px; }
  .moment-n { font-size: 2.2rem; }
  .moment-text h3 { margin-top: 8px; font-size: 1.7rem; }
  .moment-text p { font-size: 1.05rem; }
  .phones {
    justify-content: flex-start;
    gap: 16px;
    margin: 32px -16px 0;
    padding: 32px 16px;
    border-radius: 0;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .phone { flex: 0 0 62vw; width: auto; border-width: 6px; border-radius: 28px; scroll-snap-align: center; }
  .phone:nth-child(2) { translate: none; }
  .phone, .phone:nth-child(2) { animation: none; }
}
