/* =============================================================
   BriskCoders — Our Work page
   Every rule is prefixed .ow- so nothing here can reach another
   page. Colours, type and spacing come from css/styles.css.
   ============================================================= */
.bg-cream { background: var(--cream); }
.ow-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin: 0 0 clamp(28px, 4vw, 44px); }
.ow-head .lead { max-width: 56ch; }

/* ===== 1. Banner ============================================== */
.ow-banner {
  position: relative; overflow: hidden; color: var(--white);
  padding: clamp(34px, 5vw, 58px) var(--gutter) clamp(44px, 5.5vw, 70px);
  background: var(--ink);
}
.ow-banner::after {
  content: ""; position: absolute; inset: auto -10% -60% 40%; height: 70%;
  background: radial-gradient(closest-side, rgba(244, 144, 12, .22), rgba(244, 144, 12, 0) 70%);
  pointer-events: none;
}
.ow-banner-in { max-width: var(--max); margin: 0 auto; position: relative; z-index: 1; display: flex; flex-direction: column; gap: 18px; }
.ow-banner .crumbs, .ow-banner .crumbs a { color: #9A9A9A; }
.ow-banner .crumbs [aria-current] { color: var(--white); }
.ow-banner .crumbs a:hover { color: var(--orange); }
.ow-banner h1 {
  margin: 0; font-family: var(--font-head); font-weight: 600;
  font-size: clamp(32px, 5.2vw, 68px); line-height: 1.05; letter-spacing: -0.04em; max-width: 17ch;
}
.ow-banner h1 em { font-style: normal; color: var(--orange); }
.ow-banner .lead { color: #CFCFCF; max-width: 58ch; }
.ow-banner .actions { margin-top: 6px; }

.ow-facts { display: flex; flex-wrap: wrap; gap: 10px 0; margin: clamp(16px, 2.5vw, 28px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--dark-line); }
.ow-fact { flex: 1 1 180px; min-width: 0; padding: 20px 22px 4px 0; }
.ow-fact b { display: block; font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 3vw, 38px); line-height: 1; letter-spacing: -0.03em; color: var(--orange); }
.ow-fact span { display: block; font-size: 14.5px; line-height: 1.45; color: #BDBDBD; margin-top: 8px; }

/* ===== 2. Filter + project grid =============================== */
.ow-filter { display: flex; flex-wrap: wrap; gap: 9px; margin: 0 0 clamp(20px, 2.6vw, 30px); }
.ow-chip {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  padding: 10px 17px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); color: var(--ink-2);
  font-family: var(--font-body); font-size: 14.5px; font-weight: 600;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.ow-chip:hover { border-color: var(--ink); color: var(--ink); }
.ow-chip .ow-n { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.ow-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ow-chip[aria-pressed="true"] .ow-n { color: var(--orange); }

.ow-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
@media (max-width: 1020px) { .ow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 660px) { .ow-grid { grid-template-columns: 1fr; } }

.ow-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.ow-card:hover { transform: translateY(-4px); box-shadow: 0 34px 70px -46px rgba(80, 35, 0, .65); }
.ow-card[hidden] { display: none; }

/* Cover: a flat, built-from-CSS browser or phone frame, so the
   page has no image dependencies until real shots are dropped in. */
.ow-cover { position: relative; aspect-ratio: 16 / 10; background: var(--cream); border-bottom: 1px solid var(--line); padding: 16px 16px 0; overflow: hidden; }
.ow-cover-frame { height: 100%; border-radius: 12px 12px 0 0; background: var(--white); border: 1px solid var(--line); border-bottom: 0; padding: 0 0 0; display: flex; flex-direction: column; overflow: hidden; }
.ow-cover-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; border-bottom: 1px solid var(--line-3); flex: none; }
.ow-cover-bar i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); display: block; }
.ow-cover-bar i:first-child { background: var(--orange); }
.ow-cover-body { flex: 1; padding: 13px; display: flex; flex-direction: column; gap: 7px; min-height: 0; }
.ow-cover-body span { display: block; border-radius: 5px; background: var(--line-3); height: 8px; flex: none; }
.ow-cover-body span.hero { height: 34%; background: linear-gradient(135deg, var(--orange), var(--amber)); }
.ow-cover-body span.w70 { width: 70%; } .ow-cover-body span.w45 { width: 45%; } .ow-cover-body span.w85 { width: 85%; }
.ow-cover-body .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; min-height: 0; }
.ow-cover-body .tiles i { display: block; border-radius: 6px; background: var(--peach); }
.ow-cover-body .tiles i:nth-child(2) { background: var(--line-3); }
/* Drop a real screenshot in by adding <img class="ow-shot" ...> inside .ow-cover */
.ow-shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.ow-tag { position: absolute; top: 12px; right: 12px; z-index: 2; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; background: var(--ink); color: var(--white); border-radius: 999px; padding: 6px 12px; }

.ow-body { padding: clamp(18px, 2vw, 24px); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ow-card h3 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.22; letter-spacing: -0.02em; }
.ow-card p { margin: 0; font-size: 15px; line-height: 1.58; color: var(--ink-2); }
.ow-meta { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.ow-meta li { font-size: 12.5px; font-weight: 600; color: var(--ink-3); background: var(--cream); border: 1px solid var(--line-3); border-radius: 999px; padding: 5px 11px; }
.ow-result { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-3); display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; font-weight: 600; }
.ow-result .ic { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--link); }

/* Placeholder styling — see the comment in our-work.html.
   Delete the class (and the dashed look goes) once real copy is in. */
.ow-todo { font-weight: 500; color: var(--ink-3); border: 1px dashed var(--orange); border-radius: 8px; padding: 3px 8px; background: #FFFBF3; }

.ow-empty { display: none; padding: 40px 0; font-size: 16px; color: var(--ink-3); }
.ow-empty .link-btn { border: 0; background: none; padding: 0; font: inherit; color: var(--link); font-weight: 700; cursor: pointer; text-decoration: underline; }
.ow-empty .link-btn:hover { color: var(--link-hover); }
.ow-empty.is-on { display: block; }

/* ===== 3. Platforms ========================================== */
.ow-plat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 20px); }
@media (max-width: 900px) { .ow-plat { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ow-plat { grid-template-columns: 1fr; } }
.ow-plat-card { display: flex; flex-direction: column; gap: 11px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(20px, 2.2vw, 28px); text-decoration: none; color: var(--ink); transition: transform .22s var(--ease), border-color .22s ease; }
.ow-plat-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.ow-plat-card img { width: 48px; height: 48px; display: block; }
.ow-plat-card h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.ow-plat-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ow-plat-card .ow-go { margin-top: auto; padding-top: 10px; font-size: 14px; font-weight: 700; color: var(--link); display: inline-flex; align-items: center; gap: 7px; }
.ow-plat-card .ow-go .ic { width: 15px; height: 15px; }

.ow-strip { margin-top: clamp(22px, 3vw, 34px); background: var(--ink); color: var(--white); border-radius: 26px; padding: clamp(24px, 3vw, 38px); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.ow-strip-txt { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.ow-strip h3 { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(19px, 2vw, 25px); letter-spacing: -0.02em; }
.ow-strip p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #CFCFCF; max-width: 54ch; }
.ow-strip .btn { flex: none; }

/* ===== 4. Contact ============================================ */
.ow-contact { position: relative; overflow: hidden; background: var(--cream); padding: var(--sec-pad) var(--gutter); border-top: 1px solid var(--line); }
.ow-contact-in { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 64px); align-items: flex-start; }
.ow-contact-l { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ow-contact-l h2 { max-width: 16ch; }
.ow-contact-l h2 span { color: var(--link); }
.ow-contact-l > p { margin: 0; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; color: var(--ink-2); max-width: 46ch; }
.ow-reach { display: flex; flex-direction: column; gap: 10px; margin-top: 2px; }
.ow-reach a { display: inline-flex; align-items: center; gap: 11px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 600; color: var(--ink); text-decoration: none; width: fit-content; max-width: 100%; word-break: break-word; }
.ow-reach a .ic { width: 20px; height: 20px; flex: none; color: var(--link); }
.ow-reach a:hover { color: var(--link); }
.ow-reach small { display: block; font-size: 13px; font-weight: 500; color: var(--ink-3); }
.ow-contact .form-card { flex: 1 1 400px; min-width: 0; }
