/*
 * studio.css — Studio by Reesh additions, loaded after the site's own CSS.
 *
 * Only adds what the brief needed beyond the inspiration layout: the services
 * packages and the moving "We do:" line on the home page. Typography (fonts,
 * sizes, link underlines) comes from site.css via the .sqs-* wrapper classes,
 * so these sections match the rest of the site.
 */

/* -------------------------------------------------------------- header ---- */

/* The logo stands in for the text site title in both headers. Height is set
 * explicitly (width follows the image's own ratio); line-height 0 stops the
 * old title's text metrics adding space around it. */
.header-title-text .rs-logo-link {
  display: block;
  line-height: 0;
}

.rs-logo {
  display: block;
  width: auto;
  height: clamp(52px, 4.8vw, 76px);
  max-width: none;
}

.header-display-mobile .rs-logo { height: 44px; }

/* ---------------------------------------------------------------- home ---- */

/* Hero section: elevate vertical positioning and refine layout */
.page-section[data-section-id="67bef9019ab58b2ec30f09be"] {
  align-items: center !important;
}

/* Subtle center vignette on the background overlay so bright wave accents don't wash out text */
.page-section[data-section-id="67bef9019ab58b2ec30f09be"] .section-background-overlay {
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.12) 60%, rgba(0, 0, 0, 0.3) 100%) !important;
  opacity: 0.85 !important;
}

/* Eyebrow: STUDIO BY REESH */
.fe-block-01c8703682df5d5d498a {
  letter-spacing: 0.14em;
  font-weight: 500;
}
.fe-block-01c8703682df5d5d498a p {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.85);
}

/* Headline: WE DO FUN MARKETING FOR BORING BRANDS. */
.fe-block-80cbaea8816455d1adfd h2 {
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.92), 0 1px 4px rgba(0, 0, 0, 0.95);
}

/* Subtitle */
.fe-block-4053e917cbba14a2540f > .sqs-block > .sqs-block-alignment-wrapper > .sqs-block-content p {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.9);
  margin-bottom: 0.3em;
}

@media (min-width: 768px) {
  .fe-67bef9019ab58b2ec30f09bf .fe-block-01c8703682df5d5d498a {
    grid-area: 2 / 8 / 3 / 20 !important;
  }

  /* Headline: WE DO FUN MARKETING FOR BORING BRANDS. (two balanced lines) */
  .fe-67bef9019ab58b2ec30f09bf .fe-block-80cbaea8816455d1adfd {
    grid-area: 3 / 4 / 5 / 24 !important;
    max-width: 860px !important;
    margin: 0 auto !important;
  }

  /* Intro, We do: and Marquee */
  .fe-67bef9019ab58b2ec30f09bf .fe-block-4053e917cbba14a2540f {
    grid-area: 5 / 1 / 8 / -1 !important;
    width: 100% !important;
  }

  /* WORK WITH US CTA */
  .fe-67bef9019ab58b2ec30f09bf .fe-block-f57626a8512af359f747 {
    grid-area: 8 / 8 / 10 / 20 !important;
  }
}

@media (max-width: 767px) {
  .fe-67bef9019ab58b2ec30f09bf .fe-block-01c8703682df5d5d498a {
    grid-area: 2 / 1 / 3 / -1 !important;
  }
  .fe-67bef9019ab58b2ec30f09bf .fe-block-80cbaea8816455d1adfd {
    grid-area: 3 / 1 / 7 / -1 !important;
  }
  .fe-67bef9019ab58b2ec30f09bf .fe-block-4053e917cbba14a2540f {
    grid-area: 7 / 1 / 11 / -1 !important;
    width: 100% !important;
  }
  .fe-67bef9019ab58b2ec30f09bf .fe-block-f57626a8512af359f747 {
    grid-area: 11 / 1 / 13 / -1 !important;
  }
}

/* Ensure the marquee block container spans 100% width across the hero */
.fe-block-4053e917cbba14a2540f,
.fe-block-4053e917cbba14a2540f .sqs-block,
.fe-block-4053e917cbba14a2540f .sqs-block-alignment-wrapper,
.fe-block-4053e917cbba14a2540f .sqs-block-content,
.fe-block-4053e917cbba14a2540f .sqs-text-block-container {
  width: 100% !important;
  max-width: 100% !important;
}

/* The rotating list of services under "We do:". Stretched far left to right,
 * enlarged typography with #ebf731 brand accents. */
.rs-marquee {
  width: 100%;
  overflow: hidden;
  margin-top: 1em;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 3%, #000 97%, transparent 100%);
}

.rs-marquee__track {
  display: flex;
  width: max-content;
  animation: rs-marquee 30s linear infinite;
}

.rs-marquee:hover .rs-marquee__track { animation-play-state: paused; }

.rs-marquee__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
  white-space: nowrap;
}

.rs-marquee__list li {
  font-size: clamp(1.3rem, 2.1vw, 2.05rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  text-transform: uppercase;
  padding-right: 1.2em;
  display: inline-flex;
  align-items: center;
}

.rs-marquee__list li::after {
  content: "/";
  color: #ebf731;
  padding-left: 1.2em;
  font-weight: 700;
  opacity: 0.95;
}

@keyframes rs-marquee {
  to { transform: translateX(-50%); }
}

/* Motion-sensitive visitors get the list as static, wrapped text. */
@media (prefers-reduced-motion: reduce) {
  .rs-marquee { -webkit-mask-image: none; mask-image: none; }
  .rs-marquee__track { animation: none; width: auto; justify-content: center; }
  .rs-marquee__list { flex-wrap: wrap; justify-content: center; white-space: normal; }
  .rs-marquee__list[aria-hidden="true"] { display: none; }
  .rs-marquee__list li:last-child::after { content: none; }
}

/* WORK WITH US CTA — enlarged, prominent, with #ebf731 underline accent */
.fe-block-f57626a8512af359f747 {
  --text-highlight-color: #ebf731 !important;
}

.fe-block-f57626a8512af359f747 p {
  font-size: clamp(1.35rem, 1.9vw, 1.85rem) !important;
  font-weight: 700 !important;
  letter-spacing: 0.09em !important;
}

.fe-block-f57626a8512af359f747 a {
  color: #ffffff !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.fe-block-f57626a8512af359f747 a:hover {
  color: #ebf731 !important;
}

.fe-block-f57626a8512af359f747 .TextShape-node {
  --stroke: #ebf731 !important;
  stroke: #ebf731 !important;
}

.fe-block-f57626a8512af359f747 .TextShape-node svg path {
  stroke: #ebf731 !important;
}

/* ------------------------------------------------------------ services ---- */

/* Column geometry follows the inspiration grid at 1440w: text and images each
 * take ~37% of the content width, inset ~8.4% from either edge, with a ~9%
 * gutter between them. */
.rs-services {
  --rs-inset: calc(3vw + (100vw - 6vw) * 0.084);
  padding-inline: var(--rs-inset);
  padding-top: clamp(20px, 3vw, 48px);
  box-sizing: border-box;
  width: 100%;
}

.rs-pkg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: calc((100vw - 6vw) * 0.0925);
  align-items: start;
}

.rs-pkg + .rs-pkg { margin-top: clamp(72px, 9vw, 140px); }

.rs-pkg__media {
  display: grid;
  gap: 14px;
}

.rs-pkg__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.6;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.rs-pkg__media img:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(50, 50, 52, 0.1);
}

.rs-eyebrow {
  letter-spacing: 0.12em;
  font-size: 0.85em;
  font-weight: 600;
  text-transform: uppercase;
  color: #1a1a1a;
  opacity: 0.75;
  margin-bottom: 0.5em;
}

.rs-pkg h4 {
  margin-bottom: 0.35em;
}

.rs-pkg p > em {
  display: inline-block;
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 0.8em;
}

.rs-list {
  margin: 0.8em 0 1.2em;
  padding: 0;
  list-style: none;
}

.rs-list li {
  margin: 0;
  padding: 3.5px 0;
  line-height: 1.55;
  color: #2b2b2b;
  display: flex;
  align-items: center;
}

.rs-list li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #ff5f09;
  margin-right: 10px;
  flex-shrink: 0;
  opacity: 0.85;
}

.rs-included {
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  font-weight: 600;
}

.rs-turnaround {
  margin-top: 1em;
  margin-bottom: 1.4em;
  font-size: 0.92em;
  color: #666666;
}

/* Secondary CTA link: Featured projects */
.rs-cta a[href*="projects"] {
  font-size: 0.92em;
  color: #444444 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
  display: inline-block;
  margin-bottom: 4px;
}

.rs-cta a[href*="projects"]:hover {
  color: #ff5f09 !important;
}

/* Primary CTA Button: ENQUIRE / LET'S BUILD / LET'S TALK */
.rs-cta a[href*="contact"] {
  display: inline-block;
  background-color: #000000;
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  padding: 11px 28px !important;
  border-radius: 9999px;
  margin-top: 6px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.rs-cta a[href*="contact"]:hover {
  background-color: #ebf731 !important;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(235, 247, 49, 0.4);
}

.rs-cta a[href*="contact"] strong,
.rs-cta a[href*="contact"] span {
  color: inherit !important;
}

.rs-else {
  max-width: 640px;
  margin: clamp(80px, 10vw, 150px) auto 0;
  padding-bottom: clamp(60px, 8vw, 120px);
  text-align: center;
}

.rs-else h4 {
  margin-bottom: 0.4em;
}

.rs-else p {
  line-height: 1.6;
}

.rs-else .rs-cta {
  margin-top: 1.5em;
}

@media (max-width: 767px) {
  .rs-services { --rs-inset: 6vw; }
  .rs-pkg { grid-template-columns: 1fr; row-gap: 32px; }
  .rs-pkg__media { gap: 12px; }
}

/* ------------------------------------------------------------ projects ---- */

/* Refined "SELECTED WORKS" header with editorial letter-spacing and weight */
.fe-block-yui_3_17_2_1_1740572425748_25720 p {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #1a1a1a !important;
  opacity: 0.85;
}

/* Subtle, smooth hover elevation and interactive cursor on project cards */
.fe-67bf02a1cbe306395dbf37f9 .sqs-block-image {
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.fe-67bf02a1cbe306395dbf37f9 .sqs-block-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(50, 50, 52, 0.12);
}

.fe-67bf02a1cbe306395dbf37f9 .sqs-block-image img {
  transition: filter 0.3s ease;
}

.fe-67bf02a1cbe306395dbf37f9 .sqs-block-image:hover img {
  filter: contrast(1.03) brightness(1.02);
}

/* ------------------------------------------------------------- contact ---- */

/* Refined, evenly spaced, and clean contact form styling */
.form-wrapper .react-form-contents {
  max-width: 520px;
}

/* Even vertical spacing between each form group */
.form-wrapper .react-form-contents .field-list > .form-item,
.form-wrapper .react-form-contents .field-list > fieldset.form-item {
  margin-bottom: 22px !important;
}

.form-wrapper .react-form-contents .field-list .field {
  margin-bottom: 0 !important;
}

/* Field labels and titles */
.form-wrapper .react-form-contents .field-list .title,
.form-wrapper .react-form-contents .field-list legend .title {
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.03em !important;
  color: #1a1a1a !important;
  margin-bottom: 8px !important;
  display: block !important;
}

.form-wrapper .react-form-contents .field-list .caption-text {
  font-size: 13px !important;
  color: #444444 !important;
  margin-bottom: 6px !important;
}

.form-wrapper .react-form-contents .field-list .description.required {
  font-size: 11px !important;
  opacity: 0.65;
  margin-left: 4px;
}

/* Inputs, Selects, and Textarea: sleek, clean, modern feel */
.form-wrapper input[type="text"],
.form-wrapper input[type="email"],
.form-wrapper .field select,
.form-wrapper textarea {
  font-family: inherit !important;
  font-size: 14px !important;
  color: #1a1a1a !important;
  background-color: #f7f7f8 !important;
  border: 1px solid #e5e5e7 !important;
  border-radius: 6px !important;
  padding: 13px 16px !important;
  box-sizing: border-box !important;
  width: 100% !important;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease !important;
}

.form-wrapper input[type="text"]:focus,
.form-wrapper input[type="email"]:focus,
.form-wrapper .field select:focus,
.form-wrapper textarea:focus {
  background-color: #ffffff !important;
  border-color: #111111 !important;
  box-shadow: 0 0 0 1px #111111 !important;
  outline: none !important;
}

/* Name fields row spacing */
.form-wrapper .Dvz7hGDGST0ttUYu {
  column-gap: 14px !important;
}

/* Select dropdown styling */
.form-wrapper .AqFl_fiEKw4guqD2 {
  position: relative !important;
}

.form-wrapper .field select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  cursor: pointer !important;
  padding-right: 40px !important;
  line-height: 1.4 !important;
}

.form-wrapper .field select option {
  font-family: inherit !important;
  font-size: 14px !important;
  color: #111111 !important;
  background: #ffffff !important;
  padding: 10px 14px !important;
}

.form-wrapper .QeVRMFrE3dDozGvZ {
  position: absolute !important;
  right: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
  opacity: 0.65;
}

/* Textarea height */
.form-wrapper textarea {
  min-height: 110px !important;
  resize: vertical !important;
}

/* Submit button — clean studio styling with #ebf731 hover */
.form-wrapper .form-button-wrapper {
  margin-top: 26px !important;
}

.form-wrapper .form-submit-button {
  display: inline-block !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 13px 34px !important;
  background-color: #111111 !important;
  color: #ffffff !important;
  border: 1px solid #111111 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  line-height: normal !important;
}

.form-wrapper .form-submit-button:hover {
  background-color: #ebf731 !important;
  color: #111111 !important;
  border-color: #ebf731 !important;
}

.form-wrapper .form-submit-button .form-submit-button-label {
  color: inherit !important;
}


/* ------------------------------------------------------------ projects ---- */

/* "Coming soon" in place of the works grid (src/projects-soon.html): one
 * centred block that fills most of the viewport so the footer stays low. */
.rs-soon {
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6vh 6vw;
}

.rs-soon .sqs-html-content {
  max-width: 560px;
  margin: 0 auto;
}

.rs-soon h2 {
  margin: 0.2em 0 0.45em;
}

.rs-soon p:not(.rs-eyebrow):not(.rs-cta) {
  margin: 0 auto 1.6em;
}
