/* Pause Studio additions on top of the Webflow export */

/* Headings promoted from <div>/<h1> for SEO: keep their original look */
h2.heading-style-h3 { font-weight: inherit; }

/* Lets the work slider bleed to the screen edges without a sideways page scroll */
.page-wrapper { overflow-x: clip; }

/* Featured work slider (slides rendered from work.json by build.py, driven by work.js) */
.work-section {
  padding-top: var(--spacing--xl);
  text-align: left;
}
.work-section .heading-style-h6,
.work-section .heading-style-h3 { text-align: center; }
h2.work-heading { font-weight: 700; }

.work-slider {
  /* Slides line up with the centred content column and peek in from the right */
  --inset: max(6vw, calc((100vw - 60rem) / 2));
  --gap: max(1.2rem, 12px);
  margin-top: 3em;
}
.work-track {
  display: flex;
  gap: var(--gap);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0 var(--inset);
  box-sizing: border-box;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--inset);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  position: relative;
}
.work-track::-webkit-scrollbar { display: none; }
.work-track:focus-visible { outline: 2px solid var(--duch-peach); outline-offset: 4px; }

.work-slide {
  flex: 0 0 calc(100vw - 2 * var(--inset));
  scroll-snap-align: start;
}
.work-media {
  aspect-ratio: 16 / 9;
  border-radius: 1.8em;
  overflow: hidden;
  background: #111;
}
.work-media img,
.work-media video,
.work-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

/* Project name and tags sit under the picture; motion comes from the media itself (GIF/video) */
.work-caption { padding: 1.3em .4em 0; }
.work-title {
  margin: 0;
  font-size: max(2rem, 20px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.005em;
}
.work-title a { color: inherit; text-decoration: none; }
.work-title a:hover { text-decoration: underline; text-underline-offset: .15em; }
.work-meta {
  margin: .5em 0 0;
  font-size: max(.95rem, 13px);
  letter-spacing: .04em;
  text-transform: uppercase;
  opacity: .8;
}
.work-summary {
  max-width: 34em;
  margin: .5em 0 0;
  font-size: max(1.15rem, 15px);
  line-height: 1.35;
}
.work-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .5em;
  margin: .9em 0 0;
  padding: 0;
}
.work-tags li {
  padding: .4em .9em;
  border: 1px solid currentColor;
  border-radius: var(--border-radius--round);
  font-size: max(.8rem, 11px);
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Dots + play/pause */
.work-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 2.2em;
}
.work-controls[hidden] { display: none; }
.work-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
}
.work-dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .45);
  overflow: hidden;
  cursor: pointer;
  transition: width .4s ease, background-color .3s ease;
}
.work-dot:hover { background: rgba(255, 255, 255, .7); }
.work-dot[aria-current="true"] { width: 48px; background: rgba(255, 255, 255, .3); }
.work-dot span {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p, 0) * 100%);
  background: var(--duch-peach);
  border-radius: inherit;
}
.work-dot:not([aria-current="true"]) span { width: 0; }
.work-play {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  color: var(--duch-peach);
  cursor: pointer;
}
.work-play:hover { background: rgba(255, 255, 255, .2); }
.work-play svg { width: 22px; height: 22px; fill: currentColor; }
.work-play .icon-play,
.work-slider.is-paused .work-play .icon-pause { display: none; }
.work-slider.is-paused .work-play .icon-play { display: block; }
.work-dot:focus-visible,
.work-play:focus-visible { outline: 2px solid var(--duch-peach); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .work-dot { transition: none; }
}

/* Offers: the Consult entry line under the three cards */
.consult-line { text-align: center; margin-bottom: var(--spacing--xl); }
.consult-line .paragraph { margin: 0 auto 1.2em; max-width: 36em; font-size: max(1.15rem, 15px); line-height: 1.4; }
.consult-line .consult-note { margin-top: 1.5em; }

/* Enquiry section: closing call to action; the Google Form opens in a new tab (settings.json) */
.enquire-section {
  width: 100%;
  max-width: 46rem;
  margin: 3em auto 0;
  text-align: center;
}
.enquire-intro {
  margin: .8em auto 2em;
  max-width: 30em;
  font-size: max(1.2rem, 16px);
  line-height: 1.4;
}

/* Sticky header: wordmark left, "Work with me" right. Slides in after the intro (work.js) */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px max(6vw, 20px);
  background: var(--color--copy-dark);
  color: var(--duch-peach);
  transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1), visibility 0s;
}
/* Appears only once the intro's black panels have closed, so it fades in over solid black */
html.header-auto .site-header:not(.is-visible) {
  opacity: 0;
  translate: 0 -10px;
  visibility: hidden;
  transition: opacity .4s ease, translate .4s ease, visibility 0s .4s;
}
.site-header-brand {
  color: inherit;
  text-decoration: none;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.01em;
  text-transform: uppercase;
  line-height: 1;
}
.site-header-brand img { display: block; height: 28px; width: auto; }
.site-header-cta {
  padding: 10px 18px;
  border: 1.5px solid currentColor;
  border-radius: var(--border-radius--round);
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease;
}
.site-header-cta:hover { background: var(--duch-peach); color: #000; }
.site-header a:focus-visible { outline: 2px solid var(--duch-peach); outline-offset: 3px; }
#enquire, #work, #pricing, #faq { scroll-margin-top: 90px; }

/* Trusted by: endless strip of client names (or logos) */
.trusted { padding-top: var(--spacing--xl); }
.trusted .heading-style-h6 { text-align: center; }
.trusted-marquee {
  width: 100vw;
  margin: 2em 0 0 calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.trusted-track {
  display: flex;
  width: max-content;
  animation: trusted-scroll 45s linear infinite;
}
.trusted-marquee:hover .trusted-track { animation-play-state: paused; }
.trusted-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trusted-list li {
  display: flex;
  align-items: center;
  white-space: nowrap;
  font-size: max(2.6rem, 28px);
  font-weight: 800;
  letter-spacing: -.01em;
  text-transform: uppercase;
  line-height: 1;
}
/* Small pause-bars mark between names, a nod to the studio name */
.trusted-list li::after {
  content: "";
  width: .32em;
  height: .5em;
  margin: 0 .9em;
  border-left: .1em solid currentColor;
  border-right: .1em solid currentColor;
  box-sizing: border-box;
  opacity: .45;
}
.trusted-list img { display: block; height: max(2.6rem, 28px); width: auto; }
@keyframes trusted-scroll { to { transform: translateX(-50%); } }

/* Fade-up as things scroll into view (classes added by work.js; nothing hidden without JS) */
html.reveal-on .reveal {
  opacity: 0;
  translate: 0 32px;
  transition: opacity .9s cubic-bezier(.2, .7, .2, 1), translate .9s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}
html.reveal-on .reveal.is-visible { opacity: 1; translate: none; }

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
  .trusted-track { animation: none; width: auto; justify-content: center; }
  .trusted-list { flex-wrap: wrap; justify-content: center; row-gap: .4em; }
  .trusted-list[aria-hidden="true"] { display: none; }
}
@media screen and (max-width: 767px) {
  .site-header { padding: 10px 20px; }
  .site-header-brand { font-size: 17px; }
  .site-header-cta { padding: 8px 14px; font-size: 12px; }
}

/* Hero: what "perform" means, right under the headline */
.hero-outcomes {
  margin: 0 0 3.5em;
  font-size: max(1.5rem, 17px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .01em;
}

/* ── Accent + type system ───────────────────────────────────────────────
   Peach = brand and anything you click. Light grey accent = secondary info:
   chapter names, type of work, client names, button outlines, slider dots. */
:root {
  --accent: #b9b4ae;
  --accent-on-peach: #e6ded4;
  --label-gap: 20px;      /* chapter name → headline, everywhere */
  --h2-size: 3.4rem;      /* every section headline */
  --h3-size: 2rem;        /* card, column, project and FAQ titles */
}

/* Chapter names: one size and spacing; grey on black, black on peach (grey would vanish on peach) */
.heading-style-h6,
.intro-pre-title {
  font-size: var(--heading--h6);
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.1;
  text-transform: uppercase;
}
.section-after-intro-text .heading-style-h6 { color: var(--accent); }
.section-after-intro-text .heading-style-h6 { margin-bottom: var(--label-gap); }
.section-after-intro-text .heading-style-h6 + .spacer-sm-start { padding-top: 0; }
/* The about section stacks its children with a 2em gap; pull the headline back up to the same spacing */
.intro-pre-title { margin-bottom: calc(var(--label-gap) - 2rem); }
.trusted-marquee { margin-top: var(--label-gap); }

/* Section headlines: all caps, bold, one size */
h2.heading-style-h3,
h2.intro-title {
  font-size: var(--h2-size);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
h2.intro-title strong { font-weight: inherit; }

/* Smaller titles: all caps, bold, one size */
.pricing-grid .pricing-card h3,
.how-grid .how-step h3,
.work-title,
.cell-9 ~ .w-layout-cell h4,
.wf-layout-layout h4,
.section-after-intro-text .w-layout-cell p strong {
  font-size: var(--h3-size);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.005em;
  text-transform: uppercase;
}

/* Grey accent for secondary info on black */
.work-meta,
.work-tags li,
.trusted-list li,
.cell .text-block, .cell-2 .text-block, .cell-3 .text-block, .cell-4 .text-block,
.cell-5 .text-block, .cell-6 .text-block, .cell-7 .text-block, .cell-8 .text-block { color: var(--accent); }
.work-tags li { border-color: var(--accent); }
.trusted-list li::after { color: var(--duch-peach); } /* the || marks stay peach */
.work-dot { background: var(--accent); }
.work-dot:hover { background: #d6d2cd; }

/* Outlined buttons: one thickness everywhere; grey outline, text keeps its colour */
.site-header-cta,
.button.is-bright.is-secondary,
.button-2 { border-width: 2px; border-style: solid; }
.site-header-cta,
.section-after-intro-text .button.is-bright.is-secondary { border-color: var(--accent); }

/* On peach the grey would vanish (almost the same brightness), so peach sections
   use a light warm off-white that reads like the grey does on black */
.intro-pre-title,
.page-intro-title-small { color: var(--accent-on-peach); }
.button-2 { border-color: var(--accent-on-peach); }

@media screen and (max-width: 767px) {
  :root { --label-gap: 14px; }
}

/* BOOK A CALL under the three columns sits exactly halfway between the last line
   of column text and TRUSTED BY (the columns grid adds ~22px below its text) */
.section-after-intro-text .text-align-center > a.button { margin-top: calc(var(--spacing--xl) - 11px); }
.trusted { padding-top: 11px; }

/* Every button fills white on hover */
.site-header-cta,
.button,
.button-2,
.pricing-card .btn,
.work-play { transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.site-header-cta:hover,
.button:hover,
.section-after-intro-text .button.is-bright.is-secondary:hover,
.button-2:hover,
.pricing-card .btn:hover,
.work-play:hover { background-color: #fff; color: #000; border-color: #fff; }

/* Phones and tablets: Webflow shrinks the base font to 10.4px (phones) / 12px (tablets);
   keep body copy at a readable 14px. :root outranks the export's html{} rules. */
@media screen and (max-width: 991px) {
  :root { font-size: .875rem; }
}
@media screen and (max-width: 767px) {
  :root { --h2-size: 2.5rem; --h3-size: 1.7rem; }
  .section-after-intro-text h1 { font-size: 2.45rem; }

  /* One 20px gutter instead of Webflow's 56px plus each section's own 20px */
  .page-padding { padding-left: 20px; padding-right: 20px; }
  .page-padding .pricing-section,
  .page-padding .how-section,
  .page-padding .faq-section { padding-left: 0; padding-right: 0; }
  .page-padding .pricing-card,
  .page-padding .how-step { padding-left: 20px; padding-right: 20px; }

  /* Strategy / Execution / Consultancy, testimonials and FAQ stack into one column */
  #w-node-_53dc17f5-1b89-5330-5f92-01ff2ef4ff0b-3c53d9b4,
  #w-node-fe2a676e-6b60-a72b-944e-3dd691953ebf-3c53d9b4,
  #w-node-_3c68616f-6591-d11c-4ff0-d0780b276b25-3c53d9b4 {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    padding-left: 0;
    padding-right: 0;
  }
  .wf-layout-layout > .w-layout-cell { grid-column: auto !important; grid-row: auto !important; }
  #w-node-_53dc17f5-1b89-5330-5f92-01ff2ef4ff0b-3c53d9b4 { row-gap: 2.5rem; }
  #w-node-fe2a676e-6b60-a72b-944e-3dd691953ebf-3c53d9b4 { row-gap: 16px; }
  #w-node-_3c68616f-6591-d11c-4ff0-d0780b276b25-3c53d9b4 { row-gap: 0; }
  .page-padding .faq-section { padding-top: 24px; padding-bottom: 40px; }

  /* Middle offer card isn't enlarged when cards stack; testimonial quotes get a slimmer frame */
  .page-padding .pricing-card.featured { transform: none; }
  .quick-stack .heading { border-width: 28px 24px 12px; }
  .quick-stack .w-layout-cell > .text-block { border-width: 12px 24px 28px; }

}
