/* =========================================================
   DESIGN TOKENS — change these to re-skin the whole page.
   ========================================================= */
:root {
  --bg:            #fafafa;
  --ink:           #111111;
  --muted:         #555555;
  --accent:        #dc143c;   /* crimson */
  --accent-hover:  #a8102f;
  --footer-bg:     #dc143c;   /* crimson */
  --footer-ink:    #ffffff;
  --max-width:     1100px;
  --pad-x:         clamp(1rem, 4vw, 2.5rem);
  --radius:        10px;
  --font:          "Cormorant Garamond", Garamond, Georgia, serif;
}

/* =========================================================
   RESET / BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 6.5rem; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Reusable centered container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

/* Full-bleed section helper (color fills 100% viewport width) */
.section {
  width: 100%;
  padding-top: clamp(2.5rem, 6vw, 5rem);
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}

/* =========================================================
   HEADER / NAV  (remove the whole <header> to delete)
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  background: var(--bg);
  box-shadow: 0 2px 10px rgba(17, 17, 17, 0.06);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}
.wordmark-tree {
  width: clamp(2.4rem, 5vw, 3.6rem);
  height: auto;
  flex: 0 0 auto;
}
.nav {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}
.nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}
.nav a:hover { color: var(--accent); }
.nav a[aria-current="location"] {
  color: var(--accent);
  font-weight: 700;
}

/* =========================================================
   HERO  (remove the whole <section class="hero"> to delete)
   ========================================================= */
.hero-lead {
  margin: 0;
  padding: clamp(1.5rem, 4vw, 3rem) max(var(--pad-x), calc((100vw - var(--max-width)) / 2 + var(--pad-x)));
  color: #fff;
  background: var(--accent);
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 0.96;
}
.hero { padding-top: 0; }
.hero-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 5vw, 4rem);
  max-width: 54rem;
  margin: clamp(2.5rem, 6vw, 5rem) 0 0 auto;
}
.hero-details p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.2;
}
.hero .btn {
  display: table;
  margin: 2rem auto 0;
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.15s ease;
  min-height: 44px;       /* touch target */
  line-height: 1.2;
}
.btn:hover, .btn:focus-visible { background: var(--accent-hover); }
.btn:focus-visible { outline: 3px solid #000; outline-offset: 2px; }

/* =========================================================
   REVIEWS
   ========================================================= */
.reviews {
  overflow: hidden;
  padding-top: 0;
  text-align: center;
}
.reviews::before {
  content: "";
  display: block;
  width: min(18rem, 70%);
  margin: 0 auto clamp(1.5rem, 4vw, 2.5rem);
  border-top: 2px dotted rgba(17, 17, 17, 0.25);
}
.review-viewport { overflow: hidden; }
.review-track {
  display: flex;
  transition: transform 0.65s ease;
}
.review {
  flex: 0 0 100%;
  padding: 0 var(--pad-x);
}
.review-stars {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.12em;
  line-height: 1;
}
.review-attribution {
  margin: 0 auto 0.35rem;
  color: var(--accent);
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  font-weight: 700;
}
.review-text {
  max-width: 52rem;
  margin: 0 auto;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
}
.review-dots {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
}
.review-dot {
  width: 0.65rem;
  height: 0.65rem;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(220, 20, 60, 0.3);
  cursor: pointer;
}
.review-dot[aria-current="true"] { background: var(--accent); }
.review-dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* =========================================================
   FEATURES  (remove the whole <section class="features"> to delete)
   ========================================================= */
.features { background: var(--bg); }
.features { padding-bottom: 0; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: clamp(1rem, 3vw, 2rem);
}
.card {
  background: var(--bg);
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 1.5rem;
}
.card h3 { margin: 0 0 0.5rem; font-size: 1.4rem; }
.card p  { margin: 0; color: var(--muted); font-size: 1.15rem; }
.card p + p { margin-top: 1rem; }
.card-more {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}
.strategy-graphic {
  width: 100%;
  padding: 0 var(--pad-x) 1rem;
  background: var(--bg);
}
.strategy-graphic img {
  width: 100%;
  max-width: 700px;
  height: auto;
  margin: 0 auto;
}

/* =========================================================
   WORK LOGOS
   ========================================================= */
.work-showcase {
  padding-top: 0;
}
.work-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: transparent;
  text-align: center;
}
.work-heading {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  text-align: left;
}
.brand-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-items: center;
  gap: clamp(0.65rem, 1.5vw, 1rem);
  margin-top: 1.75rem;
}
.brand-logo {
  display: grid;
  min-height: 122px;
  place-items: center;
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 0;
  padding: 0.55rem;
  background: #fff;
}
.brand-logo[hidden] {
  display: none;
}
.brand-logo img {
  width: 100%;
  height: 96px;
  max-width: 100%;
  object-fit: contain;
}
.brand-logo img[src$="payexpo.png"],
.brand-logo img[src$="vedra-asset-management.png"],
.brand-logo img[src$="zeiss.png"],
.brand-logo img[src$="imex.png"],
.brand-logo img[src$="imo.png"] {
  height: 108px;
}
.brand-logo img[src$="beaufort-logo.jpg"],
.brand-logo img[src$="ambrosetti.png"],
.brand-logo img[src$="simplyhealth.png"],
.brand-logo img[src$="fox-sports.png"],
.brand-logo img[src$="maritim-hotels.png"],
.brand-logo img[src$="prepay-solutions.webp"],
.brand-logo img[src$="bites.png"],
.brand-logo img[src$="teleperformance.png"],
.brand-logo img[src$="uhuru-design.png"],
.brand-logo img[src$="everything-environmental.jpeg"],
.brand-logo img[src$="ad-finem.png"],
.brand-logo img[src$="signavio.png"],
.brand-logo img[src$="saudi-exhibition-convention-bureau.png"],
.brand-logo img[src$="world-of-learning.png"] {
  height: 86px;
}
.brand-logo img[src$="central-working.png"] {
  height: 112px;
}
.experience-toggle {
  display: table;
  margin: 2rem auto 0;
  border: 1px solid var(--ink);
  padding: 0.75rem 1.4rem;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.experience-toggle:hover,
.experience-toggle:focus-visible {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}
.experience-toggle:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.brand-empty {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-style: italic;
}
.case-studies-card {
  margin-top: 0;
  padding: 0;
  background: transparent;
}
.case-studies-heading {
  margin: 0;
  color: var(--accent);
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1;
  text-align: center;
}
.case-studies-intro {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  text-align: center;
}
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  margin-top: 1.75rem;
}
.case-study {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 22px;
  background: var(--bg);
}
.case-study img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
  transition: transform 0.25s ease;
}
.case-study:hover img,
.case-study:focus-visible img {
  transform: scale(1.04);
}
.case-study-label {
  position: absolute;
  inset: auto 0 0;
  padding: 1rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(17, 17, 17, 0.86));
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.05;
}
.case-study:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.case-studies-empty {
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

/* =========================================================
   INSIGHTS
   ========================================================= */
.insights {
  background: var(--bg);
  color: var(--ink);
}
.insights-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.insights-heading {
  margin: 0;
  color: var(--accent);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
}
.insights-pill {
  display: inline-block;
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 0.65rem 1rem;
  color: var(--accent);
  background: transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.insights-card {
  border: 1px solid rgba(17, 17, 17, 0.12);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 4vw, 2rem);
  color: var(--ink);
  background: #fff;
}
.insights-list {
  display: grid;
  gap: 1rem;
}
.insights-card h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
}
.insights-card p {
  max-width: 62rem;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
.insights-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  border: 0;
  padding: 0;
  color: var(--accent);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.insights-more:hover,
.insights-more:focus-visible { text-decoration: underline; }
.insights-more::after {
  content: "\25BE";
  display: inline-block;
  font-size: 0.85em;
  transition: transform 0.2s ease;
}
.insights-more[aria-expanded="true"]::after { transform: rotate(180deg); }
.insights-expanded {
  margin-top: 0.8rem !important;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(17, 17, 17, 0.15);
  white-space: pre-line;
}
.insights-meta {
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(17, 17, 17, 0.15);
  color: var(--muted);
  font-size: 0.9rem;
}

/* =========================================================
   FOOTER  (crimson, full width)
   ========================================================= */
.site-footer {
  width: 100%;
  background: var(--footer-bg);
  color: var(--footer-ink);
  margin-top: auto;            /* pin to bottom on short pages */
  padding: clamp(2rem, 5vw, 3rem) 0;
}
.site-footer a { color: var(--footer-ink); text-decoration: underline; }
.contact-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}
.quote-mark {
  color: rgba(255, 255, 255, 0.92);
  font-family: var(--font);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  line-height: 0.45;
}
.quote-close {
  align-self: flex-end;
}
.contact-heading {
  max-width: 48rem;
  margin: 0;
  color: #fff;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}
.form-field {
  display: grid;
  gap: 0.4rem;
}
.honeypot-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-field-full { grid-column: 1 / -1; }
.form-field label,
.contact-method legend {
  font-weight: 600;
  font-size: 0.95rem;
}
.form-field input:not(.captcha-answer):not([type="radio"]),
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
}
.phone-row {
  display: grid;
  grid-template-columns: minmax(5.5rem, 0.35fr) minmax(0, 1fr);
  gap: 0.6rem;
}
.captcha-field {
  grid-column: 1 / -1;
  align-self: start;
}
.captcha-row {
  display: flex;
  align-items: center;
  justify-content: start;
  flex-wrap: wrap;
  gap: 0.25rem 0.85rem;
}
.captcha-question {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 4.6rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  line-height: 1.2;
}
.captcha-error {
  margin: 0;
  color: #fff;
  font-weight: 700;
}
.captcha-answer,
#captcha-answer {
  flex: 0 0 calc(2ch + 0.9rem) !important;
  inline-size: calc(2ch + 0.9rem) !important;
  width: calc(2ch + 0.9rem) !important;
  min-inline-size: calc(2ch + 0.9rem) !important;
  max-inline-size: calc(2ch + 0.9rem) !important;
  min-width: calc(2ch + 0.9rem) !important;
  max-width: calc(2ch + 0.9rem) !important;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 6px;
  padding: 0.8rem 0.35rem;
  color: var(--ink);
  background: #fff;
  font: inherit;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}
.captcha-answer::-webkit-outer-spin-button,
.captcha-answer::-webkit-inner-spin-button,
#captcha-answer::-webkit-outer-spin-button,
#captcha-answer::-webkit-inner-spin-button,
input[name="security-check"]::-webkit-outer-spin-button,
input[name="security-check"]::-webkit-inner-spin-button {
  margin: 0;
  appearance: none !important;
  -webkit-appearance: none !important;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid #fff;
  outline-offset: 2px;
}
.contact-actions {
  display: flex;
  align-items: center;
  flex: 1 1 18rem;
  justify-content: flex-start;
  gap: 0.85rem;
  min-width: min(100%, 18rem);
}
.contact-method {
  display: grid;
  align-items: start;
  justify-content: center;
  gap: 0.8rem;
  border: 0;
  margin: 0;
  padding: 0;
  text-align: center;
}
.contact-method legend {
  width: auto;
  margin: 0;
  line-height: 1.15;
  transform: translateY(-0.8rem);
}
.contact-method-options {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.95rem;
  transform: translateX(-0.8rem);
}
.contact-method label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1;
  white-space: nowrap;
}
.contact-method label + label {
  transform: translateX(0.8rem);
}
.contact-method input[type="radio"] {
  width: 0.85rem;
  min-width: 0.85rem;
  max-width: 0.85rem;
  height: 0.85rem;
  min-height: 0.85rem;
  max-height: 0.85rem;
  flex: 0 0 auto;
  inline-size: 0.85rem;
  block-size: 0.85rem;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  accent-color: #000;
  transform: translateY(0.02em);
}
.contact-submit {
  justify-self: center;
  border: 2px solid #fff;
  border-radius: 999px;
  padding: 0.75rem 1.5rem;
  color: var(--footer-bg);
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.contact-submit:hover,
.contact-submit:focus-visible {
  color: #fff;
  background: transparent;
}
.contact-submit:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.contact-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}
.form-status {
  grid-column: 1 / -1;
  min-height: 1.4rem;
  margin: 0;
  font-weight: 700;
  text-align: center;
}
.footer-meta {
  margin: 2rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  text-align: center;
}

/* =========================================================
   THANK YOU PAGE
   ========================================================= */
.thank-you-page {
  flex: 1;
  display: flex;
}
.thank-you-section {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--bg);
}
.thank-you-card {
  padding-top: clamp(4rem, 10vw, 8rem);
  padding-bottom: clamp(4rem, 10vw, 8rem);
}
.thank-you-kicker {
  margin: 0 0 0.8rem;
  color: var(--accent);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
}
.thank-you-card h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(4rem, 14vw, 9rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.thank-you-card p:not(.thank-you-kicker) {
  max-width: 34rem;
  margin: 1.5rem 0 2rem;
  color: var(--ink);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.25;
}

/* =========================================================
   MOBILE TWEAKS
   ========================================================= */
@media (max-width: 600px) {
  .site-header .container { justify-content: center; text-align: center; }
  .nav { justify-content: center; width: 100%; }
  .hero-details { grid-template-columns: 1fr; }
  .brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .insights-header { align-items: flex-start; flex-direction: column; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field-full { grid-column: auto; }
  .phone-row { grid-template-columns: 1fr; }
  .captcha-field,
  .contact-actions { grid-column: auto; }
  .contact-actions {
    flex: 1 1 100%;
    justify-content: center;
    min-width: 100%;
  }
  .contact-method,
  .contact-method-options { justify-content: center; }
}

@media (max-width: 430px) {
  .contact-actions {
    align-items: center;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
