/* Hand-built page body layered on the captured Wix header.
   Every section uses .ss-wrap, so all content shares one left and right edge. */

:root {
  --ss-ink: #000;
  --ss-cream: rgb(254, 253, 251);
  --ss-yellow: #fff592;
  --ss-line: rgba(0, 0, 0, 0.14);
  --ss-font: helvetica-w01-roman, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ss-max: 1280px;
  --ss-pad: clamp(24px, 5.56vw, 80px);
}
.device-mobile-optimized {
  --ss-pad: 20px;
}

/* Wix pins each page section to a numbered grid row. Let them flow in
   document order instead, so sections can be added and removed freely. */
div:has(> #top) {
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
}
div:has(> #top) > section {
  grid-area: auto !important;
}

.ss-section {
  position: relative;
  background: var(--ss-cream);
  color: var(--ss-ink);
  font-family: var(--ss-font);
  padding: 96px 0;
  overflow: hidden;
}
.ss-wrap {
  width: min(var(--ss-max), calc(100% - 2 * var(--ss-pad)));
  margin-inline: auto;
}
.ss-section mark {
  background: var(--ss-yellow);
  color: inherit;
  padding: 0 0.15em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.ss-h2 {
  font: 400 50px/1.2 var(--ss-font);
  text-transform: uppercase;
  margin: 0 0 48px;
}
.ss-section p {
  margin: 0;
}

/* Name set to fill the content width (portfolio.js fits the size) */
.ss-fit {
  margin: 0;
  font: 400 calc(min(var(--ss-max), 100vw - 2 * var(--ss-pad)) / 7.6) / 1 var(--ss-font);
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.ss-fit span {
  display: inline-block;
}

/* Buttons and stars */
.ss-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}
.ss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 44px;
  padding: 0 24px;
  background: var(--ss-ink);
  color: #fff;
  font: 400 17px/1 var(--ss-font);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.ss-btn:hover {
  background: var(--ss-yellow);
  color: var(--ss-ink);
}
.ss-btn-yellow {
  background: var(--ss-yellow);
  color: var(--ss-ink);
  min-width: 200px;
}
.ss-btn-yellow:hover {
  background: #fff;
}
.ss-btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.ss-star {
  width: 36px;
  height: 36px;
  fill: var(--ss-yellow);
  flex: none;
}

/* Hero */
.ss-hero {
  padding: 24px 0 80px;
}
.ss-hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--ss-ink);
  margin-top: 16px;
  padding-top: 28px;
}
.ss-tagline {
  font-size: 28px;
  line-height: 1.25;
}

/* Meet Sophie */
.ss-meet-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: center;
}
.ss-meet-text p {
  font-size: 16px;
  line-height: 1.5;
  max-width: 560px;
}
.ss-meet-text p + p {
  margin-top: 20px;
}
.ss-meet-text .ss-lede {
  font-size: 24px;
  line-height: 1.35;
  margin-top: 28px;
}
.ss-portrait {
  width: 100%;
  max-width: 520px;
  height: auto;
  justify-self: end;
  display: block;
}

/* Trusted by */
.ss-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 56px 40px;
  align-items: center;
  justify-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ss-logo {
  width: 220px;
  max-width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ss-logo > img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.ss-logo > [id^="comp-"] {
  position: static !important;
  inset: auto !important;
  margin: 0 !important;
  grid-area: auto !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
}
.ss-logo > [id^="comp-"] > div,
.ss-logo > [id^="comp-"] > div > div,
.ss-logo > [id^="comp-"] svg,
.ss-logo > [id^="comp-"] img {
  width: 100% !important;
  height: 100% !important;
  position: static !important;
}
.ss-logo > [id^="comp-"] img {
  object-fit: contain !important;
}
/* The Volkswagen artwork has generous built-in padding. */
body:not(.device-mobile-optimized) .ss-logo > #comp-m72h72sw {
  transform: scale(1.6) !important;
}

/* Content services */
.ss-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px 80px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.ss-service {
  border-top: 1px solid var(--ss-ink);
  padding-top: 24px;
}
.ss-service h3 {
  font: 400 28px/1.2 var(--ss-font);
  margin: 0 0 14px;
}
.ss-service p {
  font-size: 16px;
  line-height: 1.5;
  max-width: 520px;
}

/* Samples of work */
.ss-project + .ss-project {
  margin-top: 96px;
}
.ss-project-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 16px 56px;
  align-items: start;
  margin-bottom: 32px;
}
.ss-kicker {
  display: inline-block;
  background: var(--ss-yellow);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  margin: 0 0 14px !important;
}
.ss-project-title {
  font: 400 28px/1.2 var(--ss-font);
  margin: 0;
}
.ss-project-copy {
  font-size: 16px;
  line-height: 1.5;
}
.ss-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 15px;
  color: var(--ss-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ss-link:hover {
  background: var(--ss-yellow);
}

/* Award sticker */
.ss-award {
  width: 128px;
  height: 128px;
  margin-top: 24px;
  transform: rotate(-8deg);
}
.ss-award svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}
.ss-award-bg {
  fill: var(--ss-yellow);
  stroke: var(--ss-ink);
  stroke-width: 1;
}
.ss-award text {
  font-family: var(--ss-font);
  fill: var(--ss-ink);
}
.ss-award textPath {
  font-size: 10.5px;
  letter-spacing: 0.06em;
}
.ss-award-year {
  font-size: 26px;
}
.ss-award-spin {
  transform-box: view-box;
  transform-origin: 60px 60px;
  animation: ss-spin 24s linear infinite;
}
@keyframes ss-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Galleries */
.ss-gallery {
  --ss-h: 440px;
}
.ss-gallery[data-shape="portrait"] {
  --ss-h: 520px;
}
.ss-track {
  --ss-edge: max(var(--ss-pad), calc((100% - var(--ss-max)) / 2));
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--ss-edge);
  padding: 0 var(--ss-edge) 4px;
  scrollbar-width: none;
}
.ss-track::-webkit-scrollbar {
  display: none;
}
.ss-track:focus-visible {
  outline: 2px solid var(--ss-ink);
  outline-offset: 4px;
}
.ss-item {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: start;
}
.ss-media {
  display: block;
  height: var(--ss-h);
  position: relative;
  background: #eee;
  border: 1px solid var(--ss-line);
  overflow: hidden;
}
.ss-media img {
  display: block;
  height: 100%;
  width: auto;
}
.ss-open {
  all: unset;
  cursor: zoom-in;
  display: block;
}
.ss-open:focus-visible,
.ss-play:focus-visible {
  outline: 2px solid var(--ss-ink);
  outline-offset: 3px;
}
.ss-video {
  aspect-ratio: 16 / 9;
  background: #000;
}
.ss-play {
  all: unset;
  cursor: pointer;
  position: absolute;
  inset: 0;
}
.ss-play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ss-play::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.78)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E")
    center / 34px no-repeat;
  transition: transform 0.15s;
}
.ss-play:hover::after {
  transform: scale(1.08);
  background-color: #000;
}
.ss-video iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.ss-item figcaption {
  font-size: 13px;
  line-height: 1.3;
  margin-top: 10px;
}
.ss-controls {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 20px;
}
.ss-progress {
  flex: 1;
  height: 2px;
  background: var(--ss-line);
  overflow: hidden;
}
.ss-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ss-ink);
}
.ss-arrows {
  display: flex;
  gap: 8px;
}
.ss-arrow {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  background: var(--ss-ink);
  color: #fff;
  font: 20px/1 var(--ss-font);
  cursor: pointer;
}
.ss-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}
.ss-arrow:focus-visible {
  outline: 2px solid var(--ss-ink);
  outline-offset: 3px;
}

/* Lightbox */
.ss-lightbox {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  background: transparent;
  color: #fff;
  font-family: var(--ss-font);
}
.ss-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.9);
}
.ss-lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ss-lightbox figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.ss-lightbox img {
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 120px);
  object-fit: contain;
  background: #fff;
}
.ss-lightbox figcaption {
  font-size: 14px;
}
.ss-lb-btn {
  position: absolute;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font: 22px/1 var(--ss-font);
  cursor: pointer;
}
.ss-lb-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.ss-lb-close {
  top: 20px;
  right: 20px;
}
.ss-lb-prev {
  left: 20px;
  top: calc(50% - 24px);
}
.ss-lb-next {
  right: 20px;
  top: calc(50% - 24px);
}

/* Testimonials */
.ss-feature {
  font: 400 56px/1.15 var(--ss-font);
  margin: 0 0 64px;
}
.ss-quotes {
  columns: 3;
  column-gap: 40px;
}
.ss-quote {
  break-inside: avoid;
  margin: 0 0 40px;
  padding-top: 18px;
  border-top: 1px solid var(--ss-ink);
}
.ss-quote::before {
  content: "\201C";
  display: block;
  font-size: 56px;
  line-height: 0.9;
  height: 30px;
}
.ss-quote p {
  font-size: 15px;
  line-height: 1.45;
}
.ss-quote p + p {
  margin-top: 12px;
}

/* Footer */
#SITE_FOOTER.ss-footer {
  height: auto !important;
  min-height: 0 !important;
  background: var(--ss-ink);
}
.ss-contact {
  background: var(--ss-ink);
  color: var(--ss-cream);
  padding: 72px 0 96px;
}
.ss-contact-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 64px;
}
.ss-contact-title {
  font: 400 50px/1.1 var(--ss-font);
  text-transform: uppercase;
  margin: 0 0 16px;
}
.ss-contact-copy {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 32px !important;
}
.ss-contact .ss-star {
  width: 28px;
  height: 28px;
}

/* Narrower desktop windows */
@media (max-width: 1000px) {
  .ss-quotes {
    columns: 2;
  }
  .ss-feature {
    font-size: 44px;
  }
  .ss-meet-grid {
    gap: 48px;
  }
}

/* Phone document (320 CSS-pixel layout) */
.device-mobile-optimized .ss-section {
  padding: 56px 0;
}
.device-mobile-optimized .ss-h2 {
  font-size: 30px;
  margin-bottom: 28px;
}
.device-mobile-optimized .ss-hero {
  padding: 20px 0 48px;
}
.device-mobile-optimized .ss-hero-row {
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-top: 24px;
}
.device-mobile-optimized .ss-tagline {
  font-size: 24px;
}
.device-mobile-optimized .ss-btn {
  min-width: 180px;
  font-size: 16px;
}
.device-mobile-optimized .ss-meet-grid {
  grid-template-columns: 1fr;
  gap: 32px;
}
.device-mobile-optimized .ss-meet-text .ss-lede {
  font-size: 20px;
}
.device-mobile-optimized .ss-portrait {
  justify-self: stretch;
  max-width: none;
}
.device-mobile-optimized .ss-logos {
  gap: 28px 12px;
}
.device-mobile-optimized .ss-logo {
  width: 84px;
  height: 40px;
}
.device-mobile-optimized .ss-service-grid {
  grid-template-columns: 1fr;
  gap: 36px;
}
.device-mobile-optimized .ss-service h3 {
  font-size: 24px;
}
.device-mobile-optimized .ss-project + .ss-project {
  margin-top: 64px;
}
.device-mobile-optimized .ss-project-head {
  grid-template-columns: 1fr;
  margin-bottom: 20px;
}
.device-mobile-optimized .ss-project-title {
  font-size: 22px;
}
.device-mobile-optimized .ss-award {
  width: 104px;
  height: 104px;
  margin-top: 18px;
}
.device-mobile-optimized .ss-gallery {
  --ss-h: 165px;
}
.device-mobile-optimized .ss-gallery[data-shape="portrait"] {
  --ss-h: 360px;
}
.device-mobile-optimized .ss-play::after {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  background-size: 24px;
}
.device-mobile-optimized .ss-lightbox img {
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 140px);
}
.device-mobile-optimized .ss-lb-prev,
.device-mobile-optimized .ss-lb-next {
  top: auto;
  bottom: 20px;
}
.device-mobile-optimized .ss-feature {
  font-size: 30px;
  margin-bottom: 36px;
}
.device-mobile-optimized .ss-quotes {
  columns: 1;
}
.device-mobile-optimized .ss-quote {
  margin-bottom: 28px;
}
.device-mobile-optimized .ss-contact {
  padding: 48px 0 64px;
}
.device-mobile-optimized .ss-contact-block {
  margin-top: 40px;
}
.device-mobile-optimized .ss-contact-title {
  font-size: 34px;
}
.device-mobile-optimized .ss-contact .ss-btn {
  min-width: 150px;
}

@media (prefers-reduced-motion: reduce) {
  .ss-award-spin {
    animation: none;
  }
  .ss-play::after,
  .ss-btn {
    transition: none;
  }
}

/* Location line under the hero tagline */
.ss-location {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px !important;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ss-location svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: none;
}

/* Skills ticker between Services and Samples of work */
.ss-visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.ss-skills {
  position: relative;
  background: var(--ss-yellow);
  color: var(--ss-ink);
  font-family: var(--ss-font);
  border-block: 1px solid var(--ss-ink);
  overflow: hidden;
}
.ss-skill-list {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  margin: 0;
  padding: 0;
}
.ss-ticker {
  padding: 16px 0;
}
.ss-ticker-track {
  display: flex;
  width: max-content;
  animation: ss-ticker 60s linear infinite;
}
.ss-ticker:hover .ss-ticker-track {
  animation-play-state: paused;
}
.ss-ticker-run {
  display: flex;
  align-items: center;
  gap: 22px;
  padding-right: 22px;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.ss-ticker .ss-star {
  width: 14px;
  height: 14px;
  fill: var(--ss-ink);
}
@keyframes ss-ticker {
  to {
    transform: translateX(-50%);
  }
}
.device-mobile-optimized .ss-ticker {
  padding: 12px 0;
}
.device-mobile-optimized .ss-ticker-run {
  font-size: 14px;
  gap: 16px;
  padding-right: 16px;
}

/* With reduced motion, show the skills as wrapped tags instead of a ticker */
@media (prefers-reduced-motion: reduce) {
  .ss-ticker {
    display: none;
  }
  .ss-skill-list {
    position: static;
    width: min(var(--ss-max), calc(100% - 2 * var(--ss-pad)));
    height: auto;
    clip: auto;
    overflow: visible;
    margin: 0 auto;
    padding: 20px 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ss-skill-list li {
    border: 1px solid var(--ss-ink);
    padding: 6px 10px;
    font-size: 14px;
  }
}
