/* ==========================================================================
   R Media — home page sections
   ========================================================================== */

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(36px, 6vw, 84px) clamp(56px, 7vw, 96px);
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(42% 55% at 6% 8%, rgba(228, 0, 124, 0.11), transparent 70%),
    radial-gradient(45% 60% at 96% 36%, rgba(2, 85, 166, 0.12), transparent 70%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(21, 18, 45, 0.13) 1.2px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(50% 60% at 82% 45%, #000, transparent 75%);
  mask-image: radial-gradient(50% 60% at 82% 45%, #000, transparent 75%);
}

.hero-grid { display: grid; gap: clamp(44px, 6vw, 64px); align-items: center; }
.hero-grid > * { min-width: 0; }

@media (max-width: 400px) {
  .hero .eyebrow { letter-spacing: 0.1em; }
  .hero .eyebrow::before { display: none; }
}

/* "EVERYWHERE." is about 8.3em wide at 105% stretch; these sizes keep it inside the column. */
.hero-title {
  margin-top: 18px;
  font-size: clamp(2rem, 10.2vw, 4.2rem);
  font-stretch: 105%;
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-title span { display: block; }

.hero-sub {
  margin-top: 22px;
  font-size: clamp(1.12rem, 1rem + 0.5vw, 1.35rem);
  font-weight: 700;
  font-stretch: 108%;
  line-height: 1.35;
  color: var(--c-ink);
  text-wrap: balance;
}
.hero-text {
  max-width: 600px;
  margin-top: 14px;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.1rem);
  color: var(--c-muted);
  text-wrap: pretty;
}
.hero-actions { margin-top: 30px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 28px;
  font-weight: 600;
  color: var(--c-ink);
}
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 20px; height: 20px; color: var(--c-magenta-600); }

.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  aspect-ratio: 1 / 0.9;
}
.hero-card {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(21, 18, 45, 0.06);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  animation: hero-float 7s ease-in-out infinite;
}
.hero-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero-card--main { top: 0; left: 5%; width: 80%; z-index: 1; rotate: -2deg; }
.hero-card--main .hero-tag { top: 10px; bottom: auto; }
.hero-card--a { right: 0; bottom: 9%; width: 50%; z-index: 3; rotate: 3deg; animation-delay: -2.4s; }
.hero-card--b { left: 0; bottom: 0; width: 46%; z-index: 2; rotate: -4deg; animation-delay: -4.6s; }

.hero-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(21, 18, 45, 0.86);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-inks {
  position: absolute;
  top: 3%;
  right: 2%;
  z-index: 4;
  display: flex;
  gap: 6px;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow);
}
.hero-inks span { width: 14px; height: 14px; border-radius: 50%; }
.hero-inks span:nth-child(1) { background: #00aeef; }
.hero-inks span:nth-child(2) { background: #ec008c; }
.hero-inks span:nth-child(3) { background: #ffd200; }
.hero-inks span:nth-child(4) { background: #231f20; }

@keyframes hero-float {
  50% { translate: 0 -10px; }
}

@media (min-width: 980px) {
  .hero-grid { grid-template-columns: 1.12fr 0.88fr; }
  .hero-title { font-size: clamp(3rem, calc(6.6vw - 9px), 4.6rem); }
}

/* ---------- Ticker ---------- */

.ticker {
  overflow: hidden;
  padding-block: 18px;
  background: var(--c-ink);
  color: #fff;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 40s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; flex: none; }
.ticker-list li {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  font-size: clamp(0.95rem, 0.8rem + 0.5vw, 1.2rem);
  font-weight: 800;
  font-stretch: 120%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker-list li::after {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad);
}

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

/* ---------- What we do ---------- */

.quick-grid { display: grid; gap: 18px; }

.quick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 28px 24px 18px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.quick-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.quick-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.quick-card:hover::before { transform: scaleX(1); }

.quick-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(228, 0, 124, 0.1), rgba(2, 85, 166, 0.13));
  color: var(--c-magenta-600);
}
.quick-icon svg { width: 30px; height: 30px; }
.quick-card h3 { margin-top: 6px; font-size: 1.22rem; font-stretch: 112%; }
.quick-card p { flex: 1; color: var(--c-muted); }

@media (min-width: 560px) {
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .quick-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- About ---------- */

.about-grid { display: grid; gap: clamp(40px, 6vw, 72px); }

.about-copy .section-title { margin-bottom: 22px; }
.about-copy > p { font-size: 1.05rem; color: var(--c-muted); text-wrap: pretty; }
.about-copy > p + p { margin-top: 16px; }

.about-promise {
  position: relative;
  margin-top: 32px;
  padding: 22px 26px 22px 30px;
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.about-promise::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 0;
  width: 4px;
  border-radius: 4px;
  background: var(--grad);
}
.about-promise p {
  font-size: clamp(1.4rem, 1rem + 1.4vw, 1.9rem);
  font-weight: 850;
  font-stretch: 118%;
  line-height: 1.15;
  color: var(--c-ink);
}
.about-promise .about-promise-note {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  font-stretch: 100%;
  line-height: 1.5;
  color: var(--c-muted);
}

.about-side {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.78);
  isolation: isolate;
}
.about-side::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(70% 60% at 100% 0%, rgba(2, 85, 166, 0.55), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(228, 0, 124, 0.45), transparent 70%);
}
.about-side-title { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); font-stretch: 118%; }
.about-side-lead { margin-top: 8px; }

.approach-grid { display: grid; gap: 14px; margin-top: 26px; }
.approach-card {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.approach-num { font-size: 0.8rem; font-weight: 800; letter-spacing: 0.12em; color: #ff9ad0; }
.approach-card h4 { margin-top: 8px; color: #fff; font-size: 1.18rem; font-stretch: 112%; }
.approach-card p { margin-top: 6px; font-size: 0.96rem; }

@media (min-width: 480px) {
  .approach-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .about-grid { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}

/* ---------- Services ---------- */

.services-grid { display: grid; gap: 20px; }

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:target { border-color: var(--c-magenta); box-shadow: 0 0 0 3px rgba(228, 0, 124, 0.18), var(--shadow); }

.service-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.service-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 24px -12px rgba(214, 22, 138, 0.65);
}
.service-icon svg { width: 30px; height: 30px; }
.service-index {
  font-size: 2.6rem;
  font-weight: 900;
  font-stretch: 125%;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px #d7d1e3;
}

.service-card h3 { font-size: 1.42rem; font-stretch: 115%; }
.service-tagline { margin-top: 6px; font-weight: 700; color: var(--c-magenta-600); }
.service-desc { margin-top: 12px; color: var(--c-muted); }

.chips-label {
  margin-top: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-ink);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 24px; }
.chips li {
  padding: 5px 12px;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-surface);
  font-size: 0.88rem;
  font-weight: 600;
}
.service-card .btn { align-self: flex-start; margin-top: auto; }

@media (min-width: 760px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Why choose us ---------- */

.why {
  position: relative;
  overflow: hidden;
  background: var(--c-ink);
  color: rgba(255, 255, 255, 0.76);
  isolation: isolate;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(40% 50% at 100% 0%, rgba(2, 85, 166, 0.45), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(228, 0, 124, 0.35), transparent 70%);
}
.why .eyebrow { color: #ff9ad0; }
.why .section-title { color: #fff; }
.why .section-lead { color: rgba(255, 255, 255, 0.72); }

.why-grid { display: grid; gap: 18px; }
.why-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s;
}
.why-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.22); }
.why-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  background: var(--grad);
  color: #fff;
}
.why-icon svg { width: 27px; height: 27px; }
.why-card h3 { margin-top: 20px; color: #fff; font-size: 1.22rem; font-stretch: 112%; }
.why-card p { margin-top: 8px; }

@media (min-width: 640px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Featured works ---------- */

.works-foot { display: flex; justify-content: center; margin-top: 40px; }

/* ---------- Process ---------- */

.process-grid { display: grid; gap: 18px; }
.process-step {
  position: relative;
  padding: 30px 26px 26px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
}
.process-num {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  font-stretch: 120%;
  box-shadow: 0 10px 20px -10px rgba(214, 22, 138, 0.7);
}
.process-step h3 { margin-top: 18px; font-size: 1.22rem; font-stretch: 112%; }
.process-step p { margin-top: 8px; color: var(--c-muted); }
.process-step .process-example {
  display: inline-block;
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 14px 14px 14px 4px;
  background: #dcf8c6;
  color: #1f3b2a;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .process-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; gap: 24px; }
.contact-info { display: grid; gap: 16px; align-content: start; }

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  padding: 22px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.contact-icon {
  display: grid;
  grid-row: span 2;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(228, 0, 124, 0.1), rgba(2, 85, 166, 0.13));
  color: var(--c-magenta-600);
}
.contact-icon svg { width: 24px; height: 24px; }
.contact-icon--wa { background: #e5f6ec; color: var(--c-wa-deep); }
.contact-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.contact-value { font-size: 1.3rem; font-weight: 800; font-stretch: 112%; line-height: 1.3; color: var(--c-ink); }
.contact-card address { line-height: 1.6; }
.contact-actions { display: flex; flex-wrap: wrap; grid-column: 1 / -1; gap: 10px; margin-top: 14px; }

.enquiry-form {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow);
}
.form-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem); font-stretch: 115%; }
.form-intro { margin-top: 6px; color: var(--c-muted); }
.form-grid { display: grid; gap: 16px; margin-top: 24px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: 0.93rem; font-weight: 700; color: var(--c-ink); }
.req { color: var(--c-magenta-600); }
.optional { font-weight: 500; color: var(--c-muted); }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1.5px solid #d6d0e3;
  border-radius: 12px;
  background: #fff;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 132px; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315122d' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: #b9b1cc; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-blue);
  box-shadow: 0 0 0 4px rgba(2, 85, 166, 0.16);
}
.field [aria-invalid="true"] { border-color: #b3261e; }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(179, 38, 30, 0.14); }
.field-error { margin-top: 6px; font-size: 0.88rem; font-weight: 600; color: #b3261e; }
.field-error:empty { display: none; }

.form-submit { margin-top: 24px; }
.form-note {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 0.9rem;
  color: var(--c-muted);
}
.form-note svg { width: 18px; height: 18px; margin-top: 2px; flex: none; color: var(--c-wa-deep); }
.form-status { margin-top: 12px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--c-wa-deep); }
.form-status.is-error { color: #b3261e; }

.map-card {
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.map-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 20px 24px;
}
.map-head h3 { font-size: 1.4rem; font-stretch: 115%; }
.map-head p { display: flex; align-items: center; gap: 6px; margin-top: 2px; color: var(--c-muted); }
.map-head p svg { width: 18px; height: 18px; color: var(--c-magenta-600); }
.map-frame { position: relative; aspect-ratio: 4 / 3; background: var(--c-surface); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

@media (min-width: 640px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .map-frame { aspect-ratio: 16 / 7; }
}
@media (min-width: 980px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
}
