/* Mishref Studio · reference-led homepage redesign
   Hero characters and existing hero system are intentionally untouched.
   All images below the hero are placeholders and are marked data-replace-image. */

:root {
  --ref-bg: #090a0a;
  --ref-panel: #101111;
  --ref-panel-2: #151515;
  --ref-line: rgba(225, 191, 128, 0.20);
  --ref-line-soft: rgba(255,255,255,0.10);
  --ref-text: #f3eee4;
  --ref-muted: #aaa39a;
  --ref-gold: #d8ae63;
  --ref-gold-2: #f0cf8c;
  --ref-black: #070707;
  --ref-radius: 14px;
  --ref-shell: min(1480px, calc(100vw - 72px));
}

.ref-home-page {
  background:
    radial-gradient(circle at 50% 30%, rgba(196,139,66,.035), transparent 32%),
    var(--ref-bg);
  color: var(--ref-text);
}

.ref-shell {
  width: var(--ref-shell);
  margin-inline: auto;
}

/* Header: same compact visual language as the reference, without touching hero content. */
.ref-home-page .site-header {
  top: 14px;
  width: min(1500px, calc(100vw - 44px));
  max-width: none;
  min-height: 64px;
  padding: 8px 14px;
  border: 1px solid rgba(229,193,126,.18);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(12,12,12,.82), rgba(12,12,12,.55));
  box-shadow: 0 14px 50px rgba(0,0,0,.32);
  backdrop-filter: blur(16px) saturate(1.05);
}

.ref-home-page .site-header .brand {
  width: auto;
  height: 46px;
  display: flex;
  gap: 10px;
  border-radius: 0;
}
.ref-home-page .site-header .brand img { width: 42px; height: 42px; }
.ref-home-page .site-header .brand-wordmark { display: grid; gap: 1px; }
.ref-home-page .site-header .brand-wordmark strong { font-size: 14px; letter-spacing: .32em; color: #fff; }
.ref-home-page .site-header .brand-wordmark small { font-size: 7px; letter-spacing: .48em; color: #c9c2b9; }
.ref-home-page .site-header .site-nav { gap: clamp(14px, 2vw, 30px); }
.ref-home-page .site-header .site-nav a {
  min-height: 42px;
  font-size: 10px;
  letter-spacing: .12em;
  color: rgba(255,255,255,.72);
}
.ref-home-page .site-header .site-nav a::after { background: var(--ref-gold); }
.ref-home-page .site-header .header-download {
  min-height: 42px;
  padding-inline: 20px;
  border-radius: 8px;
  border-color: rgba(234,202,141,.55);
  background: linear-gradient(180deg,#e8c780,#c99d55);
  color: #111;
}

/* Everything below hero follows the reference hierarchy. */
.ref-about,
.ref-projects,
.ref-capabilities,
.ref-cta {
  position: relative;
  isolation: isolate;
}

.ref-about {
  padding: 54px 0 44px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.018), transparent 55%),
    var(--ref-bg);
  border-top: 1px solid rgba(255,255,255,.08);
}

.ref-about__grid {
  display: grid;
  grid-template-columns: minmax(360px, 1.28fr) minmax(320px, .88fr) minmax(160px, .32fr);
  min-height: 430px;
  border: 1px solid var(--ref-line-soft);
  border-radius: var(--ref-radius);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,255,255,.025), rgba(255,255,255,.008));
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
}

.ref-about__media {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  margin: 0;
  border-right: 1px solid var(--ref-line-soft);
  background: #0f0f0f;
}
.ref-about__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.72));
  pointer-events: none;
}
.ref-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72) contrast(1.05) brightness(.82);
  transition: transform .8s cubic-bezier(.2,.7,.1,1), filter .6s ease;
}
.ref-about:hover .ref-about__media img { transform: scale(1.025); filter: saturate(.85) contrast(1.06) brightness(.88); }
.ref-about__media figcaption {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 22px;
  padding-left: 14px;
  border-left: 2px solid var(--ref-gold);
  color: rgba(240,207,140,.78);
  font-size: 10px;
  line-height: 1.55;
  letter-spacing: .24em;
}

.ref-about__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px clamp(26px, 4vw, 68px);
}
.ref-kicker {
  margin: 0 0 12px;
  color: var(--ref-gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.ref-about__copy h2,
.ref-projects h2,
.ref-cta h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 650;
  line-height: .96;
  letter-spacing: -.025em;
}
.ref-about__copy h2 { font-size: clamp(36px, 4.5vw, 70px); }
.ref-about__copy > p:not(.ref-kicker) {
  max-width: 620px;
  margin: 24px 0 28px;
  color: var(--ref-muted);
  font-size: 14px;
  line-height: 1.8;
}
.ref-outline-btn,
.ref-gold-btn,
.ref-text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-decoration: none;
}
.ref-outline-btn {
  width: max-content;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(230,194,128,.58);
  border-radius: 999px;
  color: #eee6d8;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .05em;
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.ref-outline-btn:hover { background: var(--ref-gold); color: #111; transform: translateY(-2px); }

.ref-stat-stack {
  display: grid;
  align-content: center;
  padding: 24px 28px;
  border-left: 1px solid var(--ref-line-soft);
}
.ref-stat {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.ref-stat:last-child { border-bottom: 0; }
.ref-stat strong {
  font-family: var(--font-display);
  font-size: clamp(30px,3vw,48px);
  font-weight: 500;
  color: #fff;
}
.ref-stat span {
  color: #8d8983;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
}

.ref-projects {
  padding: 36px 0 26px;
  background: var(--ref-bg);
}
.ref-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}
.ref-projects h2 { font-size: clamp(38px, 4.9vw, 78px); }
.ref-text-link {
  flex: 0 0 auto;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.32);
  color: rgba(255,255,255,.78);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ref-project-rail {
  display: grid;
  grid-template-columns: 1.56fr .72fr .72fr;
  gap: 14px;
}
.ref-project-card {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px;
  overflow: hidden;
  background: #101010;
  box-shadow: inset 0 0 0 1px rgba(216,174,99,.02);
  transition: border-color .3s ease, transform .3s ease, box-shadow .3s ease;
}
.ref-project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(228,190,121,.48);
  box-shadow: 0 18px 42px rgba(0,0,0,.24), inset 0 0 0 1px rgba(216,174,99,.06);
}
.ref-project-card__link { display: block; color: inherit; text-decoration: none; }
.ref-project-card__media {
  position: relative;
  height: 326px;
  overflow: hidden;
  background: #151515;
}
.ref-project-card:not(.ref-project-card--featured) .ref-project-card__media { height: 250px; }
.ref-project-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.68));
}
.ref-project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.75) brightness(.80);
  transition: transform .7s cubic-bezier(.2,.7,.1,1), filter .4s ease;
}
.ref-project-card:hover .ref-project-card__media img { transform: scale(1.045); filter: saturate(.92) brightness(.88); }
.ref-project-card--locked .ref-project-card__media img { filter: saturate(.35) brightness(.43); }
.ref-project-badge {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 15px;
  padding: 6px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(9,9,9,.65);
  color: #e5ded2;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
  backdrop-filter: blur(8px);
}
.ref-project-card__body {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 20px;
}
.ref-project-card__body h3 {
  margin: 0 0 7px;
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(19px,1.8vw,28px);
  font-weight: 600;
  letter-spacing: -.01em;
}
.ref-project-card__body p { margin: 0; color: #8f8b85; font-size: 11px; line-height: 1.55; }
.ref-circle-arrow {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(226,190,124,.58);
  border-radius: 50%;
  color: var(--ref-gold-2);
  transition: background .25s ease, color .25s ease, transform .25s ease;
}
.ref-project-card:hover .ref-circle-arrow { background: var(--ref-gold); color: #111; transform: rotate(-8deg); }

.ref-capabilities {
  padding: 18px 0 36px;
  background: var(--ref-bg);
}
.ref-capability-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  border: 1px solid rgba(220,184,116,.22);
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.008));
}
.ref-capability {
  min-width: 0;
  min-height: 112px;
  display: grid;
  grid-template-columns: 56px 1fr;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  border-right: 1px solid rgba(255,255,255,.09);
}
.ref-capability:last-child { border-right: 0; }
.ref-capability svg {
  width: 44px;
  height: 44px;
  fill: none;
  stroke: var(--ref-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ref-capability h3 { margin: 0 0 7px; color: #f2ece0; font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.ref-capability p { margin: 0; color: #7f7c78; font-size: 10px; line-height: 1.55; }

.ref-cta {
  min-height: 440px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.ref-cta__background,
.ref-cta__shade { position: absolute; inset: 0; }
.ref-cta__background img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(1.08) brightness(.63); }
.ref-cta__shade {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 42%, rgba(191,119,48,.12), transparent 38%),
    linear-gradient(180deg, rgba(7,7,7,.18), rgba(7,7,7,.52));
}
.ref-cta__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 160px 1fr 160px;
  align-items: center;
}
.ref-cta__center { text-align: center; }
.ref-cta h2 { font-size: clamp(42px,5vw,76px); }
.ref-cta__center > p:not(.ref-kicker) {
  max-width: 620px;
  margin: 16px auto 22px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
}
.ref-gold-btn {
  min-width: 172px;
  min-height: 48px;
  padding-inline: 22px;
  border-radius: 999px;
  background: linear-gradient(180deg,#efd08d,#c99d55);
  color: #16110a;
  font-size: 11px;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
  transition: transform .25s ease, box-shadow .25s ease;
}
.ref-gold-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,0,0,.32); }
.ref-cta__rail,
.ref-cta__mark {
  color: rgba(255,255,255,.48);
  font-size: 8px;
  letter-spacing: .3em;
  line-height: 1.7;
}
.ref-cta__rail { display: flex; align-items: center; gap: 12px; }
.ref-cta__rail span { width: 30px; height: 1px; background: var(--ref-gold); }
.ref-cta__mark { justify-self: end; text-align: right; }

/* Footer mirrors the reference: low, dark, clean, with the existing links preserved. */
.ref-home-page .site-footer {
  position: relative;
  padding: 24px 0 16px;
  background: #070707;
  border-top: 0;
}
.ref-home-page .site-footer .footer-word { display: none; }
.ref-home-page .site-footer .footer-shell {
  width: var(--ref-shell);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 0;
  border: 0;
}
.ref-home-page .site-footer .footer-intro__top { display: flex; align-items: center; gap: 14px; }
.ref-home-page .site-footer .footer-brand img { width: 48px; height: 48px; object-fit: contain; }
.ref-home-page .site-footer .footer-intro__copy strong { font-size: 12px; letter-spacing: .18em; }
.ref-home-page .site-footer .footer-intro__copy p { max-width: 400px; margin-top: 5px; color: #777; font-size: 9px; }
.ref-home-page .site-footer .footer-social-text { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; }
.ref-home-page .site-footer .footer-social-text a { color: #aaa; font-size: 9px; }
.ref-home-page .site-footer .footer-links-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ref-home-page .site-footer .footer-column h2 { color: var(--ref-gold); font-size: 9px; letter-spacing: .16em; }
.ref-home-page .site-footer .footer-column a { color: #94918c; font-size: 9px; line-height: 1.9; }
.ref-home-page .site-footer .footer-bottom {
  width: var(--ref-shell);
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.ref-home-page .site-footer .footer-bottom p { margin: 0; color: #817f7b; font-size: 8px; letter-spacing: .14em; }

/* Tablet */
@media (max-width: 1050px) {
  :root { --ref-shell: min(100% - 34px, 980px); }
  .ref-home-page .site-header { width: calc(100vw - 24px); }
  .ref-about__grid { grid-template-columns: 1.08fr .9fr 140px; min-height: 390px; }
  .ref-about__media { min-height: 390px; }
  .ref-about__copy { padding: 30px 28px; }
  .ref-project-card__media { height: 280px; }
  .ref-project-card:not(.ref-project-card--featured) .ref-project-card__media { height: 220px; }
  .ref-capability { padding: 16px 14px; grid-template-columns: 44px 1fr; }
  .ref-capability svg { width: 36px; height: 36px; }
}

/* Mobile: preserve composition; no generic one-column stacking.
   About remains split, project cards become a horizontal rail, services stay a grid. */
@media (max-width: 760px) {
  :root { --ref-shell: calc(100vw - 22px); }

  .ref-home-page .site-header {
    top: 8px;
    width: calc(100vw - 16px);
    min-height: 56px;
    padding: 6px 9px;
    border-radius: 11px;
  }
  .ref-home-page .site-header .brand img { width: 38px; height: 38px; }
  .ref-home-page .site-header .brand-wordmark strong { font-size: 11px; }
  .ref-home-page .site-header .brand-wordmark small { font-size: 6px; }
  .ref-home-page .site-header .nav-toggle { order: 4; }
  .ref-home-page .site-header .site-nav {
    top: calc(100% + 8px);
    width: 100%;
    max-height: 70vh;
    overflow: auto;
    grid-template-columns: repeat(2,minmax(0,1fr));
    border-radius: 12px;
    background: rgba(10,10,10,.98);
  }

  .ref-about { padding: 22px 0 18px; }
  .ref-about__grid {
    grid-template-columns: 42% 58%;
    min-height: 330px;
    border-radius: 10px;
  }
  .ref-about__media {
    grid-row: 1 / span 2;
    min-height: 330px;
    border-right: 1px solid var(--ref-line-soft);
  }
  .ref-about__media img { object-position: 46% center; }
  .ref-about__media figcaption { left: 10px; bottom: 10px; padding-left: 8px; font-size: 6px; }
  .ref-about__copy {
    min-width: 0;
    justify-content: start;
    padding: 20px 14px 10px;
  }
  .ref-kicker { margin-bottom: 7px; font-size: 7px; letter-spacing: .14em; }
  .ref-about__copy h2 { font-size: clamp(27px, 8.2vw, 40px); }
  .ref-about__copy > p:not(.ref-kicker) {
    margin: 12px 0 14px;
    font-size: 9px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .ref-outline-btn { min-height: 36px; padding: 0 12px; gap: 14px; font-size: 8px; }
  .ref-stat-stack {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    align-self: end;
    padding: 0 10px 12px;
    border-left: 0;
  }
  .ref-stat {
    min-height: 54px;
    padding: 4px 6px;
    border-right: 1px solid rgba(255,255,255,.08);
    border-bottom: 0;
  }
  .ref-stat:last-child { border-right: 0; }
  .ref-stat strong { font-size: 18px; }
  .ref-stat span { font-size: 5px; line-height: 1.25; letter-spacing: .08em; }

  .ref-projects { padding: 18px 0 14px; }
  .ref-section-head { align-items: center; margin-bottom: 12px; }
  .ref-projects h2 { font-size: clamp(30px, 9.5vw, 46px); }
  .ref-text-link { font-size: 7px; padding-bottom: 5px; }
  .ref-project-rail {
    display: flex;
    gap: 10px;
    width: calc(100vw - 11px);
    overflow-x: auto;
    padding-right: 11px;
    padding-bottom: 4px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }
  .ref-project-rail::-webkit-scrollbar { display: none; }
  .ref-project-card {
    flex: 0 0 76vw;
    scroll-snap-align: start;
    border-radius: 9px;
  }
  .ref-project-card:not(.ref-project-card--featured) { flex-basis: 56vw; }
  .ref-project-card__media,
  .ref-project-card:not(.ref-project-card--featured) .ref-project-card__media { height: 190px; }
  .ref-project-card__body { min-height: 78px; padding: 12px; }
  .ref-project-card__body h3 { margin-bottom: 4px; font-size: 17px; }
  .ref-project-card__body p { font-size: 8px; }
  .ref-circle-arrow { flex-basis: 34px; width: 34px; height: 34px; }

  .ref-capabilities { padding: 10px 0 16px; }
  .ref-capability-grid {
    grid-template-columns: repeat(2,1fr);
    border-radius: 9px;
  }
  .ref-capability {
    min-height: 84px;
    grid-template-columns: 34px 1fr;
    gap: 8px;
    padding: 10px;
    border-right: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .ref-capability:nth-child(2n) { border-right: 0; }
  .ref-capability:nth-last-child(-n+2) { border-bottom: 0; }
  .ref-capability svg { width: 28px; height: 28px; }
  .ref-capability h3 { margin-bottom: 4px; font-size: 7px; letter-spacing: .03em; }
  .ref-capability p { font-size: 7px; line-height: 1.35; }

  .ref-cta { min-height: 300px; }
  .ref-cta__content { grid-template-columns: 52px 1fr 52px; }
  .ref-cta h2 { font-size: clamp(31px, 9vw, 44px); }
  .ref-cta__center > p:not(.ref-kicker) { max-width: 250px; margin: 10px auto 14px; font-size: 8px; }
  .ref-gold-btn { min-width: 132px; min-height: 38px; padding-inline: 14px; gap: 16px; font-size: 8px; }
  .ref-cta__rail, .ref-cta__mark { font-size: 5px; letter-spacing: .18em; }
  .ref-cta__rail { align-self: end; padding-bottom: 26px; gap: 5px; }
  .ref-cta__rail span { width: 14px; }

  .ref-home-page .site-footer { padding: 16px 0 12px; }
  .ref-home-page .site-footer .footer-shell {
    grid-template-columns: 1.05fr .95fr;
    gap: 12px;
  }
  .ref-home-page .site-footer .footer-brand img { width: 36px; height: 36px; }
  .ref-home-page .site-footer .footer-intro__copy strong { font-size: 8px; }
  .ref-home-page .site-footer .footer-intro__copy p { font-size: 6px; line-height: 1.4; }
  .ref-home-page .site-footer .footer-social-text { gap: 7px; margin-top: 8px; }
  .ref-home-page .site-footer .footer-social-text a { font-size: 6px; }
  .ref-home-page .site-footer .footer-links-grid { gap: 8px; }
  .ref-home-page .site-footer .footer-column h2,
  .ref-home-page .site-footer .footer-column a { font-size: 6px; }
  .ref-home-page .site-footer .footer-bottom { margin-top: 10px; padding-top: 8px; }
  .ref-home-page .site-footer .footer-bottom p { font-size: 5px; }
}

@media (prefers-reduced-motion: reduce) {
  .ref-about__media img,
  .ref-project-card,
  .ref-project-card__media img,
  .ref-circle-arrow,
  .ref-outline-btn,
  .ref-gold-btn { transition: none !important; }
}

/* ==========================================================================\n   About / studio room — exact approved composition\n   Keeps the room on the left, copy in the center, facts on the right on all sizes.\n   ========================================================================== */
.ref-home-page .ref-about {
  padding: 34px 0 30px;
  border-top: 1px solid rgba(255,255,255,.045);
  background:
    radial-gradient(circle at 68% 44%, rgba(196,139,66,.025), transparent 31%),
    linear-gradient(180deg, #0b0c0c, #090a0a);
}

.ref-home-page .ref-about__grid {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(330px, .92fr) minmax(150px, .33fr);
  align-items: stretch;
  gap: clamp(24px, 2.8vw, 44px);
  min-height: 360px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ref-home-page .ref-about__media {
  position: relative;
  align-self: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 1.8235 / 1;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(221,178,99,.18);
  border-radius: 12px;
  background: #0b0b0b;
  box-shadow: 0 20px 52px rgba(0,0,0,.22);
}

.ref-home-page .ref-about__media::after { display: none; }

.ref-home-page .ref-about__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
  transform: none;
  transition: transform .7s cubic-bezier(.2,.7,.1,1), filter .4s ease;
}

.ref-home-page .ref-about:hover .ref-about__media img {
  transform: scale(1.012);
  filter: brightness(1.025);
}

.ref-home-page .ref-about__copy {
  direction: ltr;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 18px 0;
  text-align: left;
}

html[dir="rtl"] .ref-home-page .ref-about__copy {
  direction: rtl;
  align-items: flex-start;
  text-align: right;
}

.ref-home-page .ref-about__copy .ref-kicker {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  color: #d7ab67;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .02em;
  text-transform: none;
}

.ref-home-page .ref-about__copy .ref-kicker::after {
  content: "";
  width: 28px;
  height: 1px;
  background: linear-gradient(90deg, rgba(221,174,99,.75), rgba(221,174,99,.12));
}

.ref-home-page .ref-about__copy h2 {
  max-width: 620px;
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: clamp(38px, 3.4vw, 58px);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: -.035em;
}

.ref-home-page .ref-about__copy > p:not(.ref-kicker) {
  max-width: 620px;
  margin: 22px 0 24px;
  color: rgba(228,224,217,.69);
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 420;
  line-height: 1.9;
}

.ref-home-page .ref-outline-btn {
  min-width: 142px;
  min-height: 48px;
  padding: 0 21px;
  gap: 24px;
  border: 1px solid rgba(226,186,115,.68);
  border-radius: 999px;
  background: rgba(255,255,255,.008);
  color: #eee8dd;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0;
}

.ref-home-page .ref-stat-stack {
  direction: ltr;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-self: stretch;
  padding: 4px 0 4px clamp(22px, 2.1vw, 34px);
  border-left: 1px solid rgba(255,255,255,.16);
}

html[dir="rtl"] .ref-home-page .ref-stat-stack { direction: rtl; }

.ref-home-page .ref-stat-list {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
}

.ref-home-page .ref-stat {
  display: flex;
  min-height: 92px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 0 12px;
  border-right: 0;
  border-bottom: 1px dashed rgba(255,255,255,.17);
  text-align: center;
}

.ref-home-page .ref-stat:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }

.ref-home-page .ref-stat strong {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(34px, 3.1vw, 48px);
  font-weight: 500;
  line-height: .95;
}

.ref-home-page .ref-stat span {
  margin-top: 5px;
  color: rgba(206,201,194,.58);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .015em;
  text-transform: none;
}

.ref-home-page .ref-made-in-kuwait {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding-top: 13px;
  color: rgba(229,225,218,.8);
  font-size: 10px;
  font-weight: 650;
  text-align: center;
}

.ref-home-page .ref-made-in-kuwait img {
  display: block;
  width: 25px;
  height: 17px;
  object-fit: cover;
  border: 0;
  border-radius: 5px;
  box-shadow: 0 2px 7px rgba(0,0,0,.34);
}

@media (max-width: 1050px) {
  .ref-home-page .ref-about__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(260px, .9fr) minmax(128px, .3fr);
    gap: 22px;
    min-height: 320px;
  }

  .ref-home-page .ref-about__copy { padding: 12px 0; }
  .ref-home-page .ref-about__copy .ref-kicker { margin-bottom: 12px; font-size: 10px; }
  .ref-home-page .ref-about__copy h2 { font-size: clamp(31px, 4vw, 44px); }
  .ref-home-page .ref-about__copy > p:not(.ref-kicker) { margin: 15px 0 18px; font-size: 11px; line-height: 1.7; }
  .ref-home-page .ref-outline-btn { min-width: 124px; min-height: 42px; padding-inline: 17px; font-size: 9px; }
  .ref-home-page .ref-stat-stack { padding-left: 17px; }
  .ref-home-page .ref-stat { min-height: 76px; }
  .ref-home-page .ref-stat strong { font-size: 31px; }
  .ref-home-page .ref-stat span { font-size: 7px; }
  .ref-home-page .ref-made-in-kuwait { min-height: 45px; gap: 7px; font-size: 7px; }
  .ref-home-page .ref-made-in-kuwait img { width: 21px; height: 14px; border-radius: 4px; }
}

/* Mobile intentionally preserves the same left-room / center-copy / right-stats composition. */
@media (max-width: 760px) {
  .ref-home-page .ref-about { padding: 16px 0 15px; }

  .ref-home-page .ref-about__grid {
    grid-template-columns: 43% 39% 18%;
    gap: 0;
    min-height: 236px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255,255,255,.012), transparent 55%);
  }

  .ref-home-page .ref-about__media {
    grid-row: auto;
    align-self: stretch;
    min-height: 236px;
    aspect-ratio: auto;
    border: 0;
    border-right: 1px solid rgba(255,255,255,.07);
    border-radius: 0;
    box-shadow: none;
  }

  .ref-home-page .ref-about__media img {
    object-position: 54% center;
  }

  .ref-home-page .ref-about__copy {
    justify-content: center;
    padding: 13px 9px 12px;
  }

  .ref-home-page .ref-about__copy .ref-kicker {
    gap: 6px;
    margin-bottom: 7px;
    font-size: 6.5px;
  }

  .ref-home-page .ref-about__copy .ref-kicker::after { width: 12px; }

  .ref-home-page .ref-about__copy h2 {
    font-size: clamp(17px, 5vw, 23px);
    line-height: 1.15;
    letter-spacing: -.025em;
  }

  .ref-home-page .ref-about__copy > p:not(.ref-kicker) {
    display: block;
    max-width: none;
    margin: 8px 0 9px;
    overflow: visible;
    color: rgba(228,224,217,.62);
    font-size: clamp(6.3px, 1.7vw, 8px);
    line-height: 1.55;
    -webkit-line-clamp: unset;
  }

  .ref-home-page .ref-outline-btn {
    min-width: 0;
    min-height: 28px;
    padding: 0 9px;
    gap: 8px;
    font-size: 6.5px;
    border-width: 1px;
  }

  .ref-home-page .ref-stat-stack {
    grid-column: auto;
    align-self: stretch;
    padding: 4px 5px 4px 6px;
    border-left: 1px solid rgba(255,255,255,.12);
  }

  .ref-home-page .ref-stat { min-height: 54px; padding: 6px 0 7px; }
  .ref-home-page .ref-stat strong { font-size: clamp(15px, 4.4vw, 20px); }
  .ref-home-page .ref-stat span { margin-top: 2px; font-size: 4.8px; line-height: 1.25; letter-spacing: 0; }
  .ref-home-page .ref-made-in-kuwait { min-height: 34px; gap: 4px; padding-top: 6px; font-size: 4.8px; }
  .ref-home-page .ref-made-in-kuwait img { width: 16px; height: 11px; border-radius: 3px; }
}

@media (max-width: 430px) {
  .ref-home-page .ref-about__grid { min-height: 218px; }
  .ref-home-page .ref-about__media { min-height: 218px; }
  .ref-home-page .ref-about__copy { padding-inline: 7px; }
  .ref-home-page .ref-about__copy h2 { font-size: 17px; }
  .ref-home-page .ref-about__copy > p:not(.ref-kicker) { font-size: 6.1px; }
  .ref-home-page .ref-stat { min-height: 49px; }
}
