/* shorecraft.biz 2026 refresh: case studies, work cards, one-team sections.
   Loaded by pages patched with tools/refresh/*. Uses the Integro agency-dark palette and fonts
   already on every page (Bebas Neue headings, Roboto body). No em dashes in any copy. */
:root {
  --scr-bg: #151414;
  --scr-panel: #242222;
  --scr-panel-2: #1c1b1b;
  --scr-line: #3e3e3e;
  --scr-text: #cccccc;
  --scr-muted: #a2a2a2;
  --scr-head: #f3e1ce;
  --scr-gold: #ffb801;
  --scr-blue: #0e5a81;
  --scr-blue-2: #5f909d;
  --scr-radius: 14px;
}

/* ---------- case study body ---------- */
.scr-case { color: var(--scr-text); font-family: Roboto, sans-serif; font-size: 17px; line-height: 1.7; }
.scr-case h2, .scr-case h3, .scr-work h2, .scr-work h3, .scr-band h2 { font-family: "Bebas Neue", cursive; color: var(--scr-head); letter-spacing: .01em; line-height: 1.05; margin: 0 0 .5em; }
.scr-case h2 { font-size: clamp(34px, 4vw, 52px); }
.scr-case h3 { font-size: clamp(24px, 2.4vw, 30px); }
.scr-case p { margin: 0 0 1em; }
.scr-case a { color: var(--scr-gold); text-decoration: underline; text-underline-offset: 3px; }
.scr-case a:hover { color: #fff; }
.scr-eyebrow { display: inline-block; font-family: "Bebas Neue", cursive; font-size: 18px; letter-spacing: .12em; color: var(--scr-gold); margin-bottom: .6em; }
.scr-hero { margin: 0 0 3.2rem; border-radius: var(--scr-radius); overflow: hidden; background: var(--scr-panel-2); }
.scr-hero img { display: block; width: 100%; height: auto; }
.scr-lead { font-size: clamp(19px, 1.7vw, 23px); line-height: 1.55; color: #e6e1dc; max-width: 62ch; margin: 0 0 3rem; }
.scr-sec { margin: 0 0 4rem; }
.scr-sec > p, .scr-sec > ul { max-width: 70ch; }
.scr-list { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: .9em; }
.scr-list li { position: relative; padding-left: 1.7em; }
.scr-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: .7em; height: .7em; border-radius: 2px; background: var(--scr-gold); transform: rotate(45deg); }
.scr-list li strong { color: var(--scr-head); font-weight: 600; }

.scr-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin: 0 0 4rem; }
.scr-split.rev { grid-template-columns: 1fr 1.05fr; }
.scr-split.rev .scr-split-media { order: 2; }
.scr-split-media img, .scr-split-media video { display: block; width: 100%; height: auto; border-radius: var(--scr-radius); }
.scr-split-media.tall { max-width: 420px; justify-self: center; }

.scr-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 1.4rem 0 1rem; }
.scr-stat { background: var(--scr-panel); border: 1px solid var(--scr-line); border-radius: var(--scr-radius); padding: 22px 22px 18px; }
.scr-stat b { display: block; font-family: "Bebas Neue", cursive; font-weight: 400; font-size: clamp(42px, 4.6vw, 60px); line-height: 1; color: var(--scr-gold); margin-bottom: 8px; }
.scr-stat span { display: block; color: var(--scr-head); font-size: 15px; line-height: 1.4; }
.scr-stat small { display: block; color: var(--scr-muted); font-size: 12.5px; margin-top: 6px; line-height: 1.4; }
.scr-sources { font-size: 13px; line-height: 1.55; color: var(--scr-muted); border-top: 1px solid var(--scr-line); padding-top: 12px; margin-top: 10px; max-width: 90ch; }

/* galleries: a masonry grid, every image whole, no captions, no scroll strip (Mike 2026-09-24) */
.scr-gallery { columns: 3 240px; column-gap: 16px; margin: 1.2rem 0 0; }
.scr-gallery figure { break-inside: avoid; margin: 0 0 16px; border-radius: var(--scr-radius); overflow: hidden; background: var(--scr-panel-2); display: block; }
.scr-gallery img { display: block; width: 100%; height: auto; }
.scr-gallery.phones { columns: 4 200px; }
.scr-case figcaption, .scr-grid figcaption, .scr-hint { display: none !important; }
.scr-quote { border-left: 3px solid var(--scr-gold); padding: .2em 0 .2em 1.2em; margin: 0 0 3rem; color: var(--scr-head); font-size: 20px; font-style: italic; max-width: 60ch; }

.scr-cta { background: var(--scr-panel); border: 1px solid var(--scr-line); border-radius: var(--scr-radius); padding: clamp(24px, 4vw, 44px); display: flex; gap: 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 2rem 0 1rem; }
.scr-cta h2 { margin: 0; font-size: clamp(30px, 3.2vw, 42px); }
.scr-cta p { margin: .4em 0 0; color: var(--scr-text); }
.scr-btn { display: inline-block; font-family: "Bebas Neue", cursive; font-size: 20px; letter-spacing: .06em; background: var(--scr-blue); color: #fff !important; text-decoration: none !important; padding: 14px 28px; border-radius: 4px; transition: background .2s; }
.scr-btn:hover { background: var(--scr-blue-2); }
.scr-btn.gold { background: var(--scr-gold); color: #151414 !important; }
.scr-btn.gold:hover { background: #fff; }

/* draft ribbon: localhost only (set by a tiny inline script), never public */
.scr-draft { display: none; position: fixed; z-index: 99999; left: 12px; bottom: 12px; max-width: 360px; background: #3b2a00; color: #ffd878; border: 1px solid #ffb801; border-radius: 8px; padding: 10px 14px; font: 13px/1.45 Roboto, sans-serif; box-shadow: 0 6px 24px rgba(0,0,0,.5); }
html.scr-local .scr-draft { display: block; cursor: pointer; }
@media (max-width: 767px) { .scr-draft { font-size: 11.5px; padding: 7px 10px; max-width: 260px; left: 8px; bottom: 8px; } }

/* the portfolio details block: tidy the live-site row */
.portfolio_page_details_item a.scr-live { color: var(--scr-gold); }

/* ---------- work cards (home + portfolio index) ---------- */
.scr-work { padding: clamp(60px, 8vw, 110px) 0; }
.scr-work-inner { max-width: 1290px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 40px); }
.scr-work-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.scr-work h2 { font-size: clamp(38px, 4.6vw, 64px); margin: 0; }
.scr-work-head p { max-width: 52ch; margin: .6em 0 0; color: var(--scr-text); font-family: Roboto, sans-serif; font-size: 17px; line-height: 1.6; }
.scr-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scr-cards.two { grid-template-columns: repeat(2, 1fr); }
.scr-card { display: flex; flex-direction: column; background: var(--scr-panel); border: 1px solid var(--scr-line); border-radius: var(--scr-radius); overflow: hidden; text-decoration: none !important; color: var(--scr-text) !important; transition: transform .25s ease, border-color .25s ease; }
.scr-card:hover { transform: translateY(-4px); border-color: var(--scr-gold); }
.scr-card-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--scr-panel-2); }
.scr-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.scr-card:hover .scr-card-img img { transform: scale(1.03); }
.scr-card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.scr-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.scr-tags span { font-family: "Bebas Neue", cursive; letter-spacing: .08em; font-size: 14px; color: var(--scr-gold); border: 1px solid rgba(255,184,1,.35); border-radius: 3px; padding: 1px 8px; }
.scr-card h3 { font-family: "Bebas Neue", cursive; color: var(--scr-head); font-size: 30px; line-height: 1; margin: 4px 0 0; }
.scr-card p { font-family: Roboto, sans-serif; font-size: 15.5px; line-height: 1.55; margin: 0; color: var(--scr-text); }
.scr-card .scr-more { margin-top: auto; padding-top: 8px; font-family: "Bebas Neue", cursive; letter-spacing: .08em; color: var(--scr-head); font-size: 17px; }
.scr-card:hover .scr-more { color: var(--scr-gold); }
.scr-work-foot { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- one-team band (home) ---------- */
.scr-band { padding: clamp(50px, 7vw, 90px) 0; border-top: 1px solid var(--scr-line); }
.scr-band-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.scr-pillar { background: var(--scr-panel); border-radius: var(--scr-radius); padding: 24px 22px; border-top: 3px solid var(--scr-gold); }
.scr-pillar h3 { font-family: "Bebas Neue", cursive; color: var(--scr-head); font-size: 28px; margin: 0 0 8px; }
.scr-pillar p { font-family: Roboto, sans-serif; font-size: 15.5px; line-height: 1.6; margin: 0 0 10px; color: var(--scr-text); }
.scr-pillar a { font-family: "Bebas Neue", cursive; letter-spacing: .08em; color: var(--scr-gold); text-decoration: none; font-size: 17px; }
.scr-pillar a:hover { color: #fff; }
.scr-band h2 { font-size: clamp(38px, 4.6vw, 64px); margin: 0; }
.scr-band .scr-work-head p { color: var(--scr-text); }

/* ---------- small screens ---------- */
@media (max-width: 1024px) {
  .scr-cards { grid-template-columns: repeat(2, 1fr); }
  .scr-band-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .scr-case { font-size: 16px; }
  .scr-split, .scr-split.rev { grid-template-columns: 1fr; }
  .scr-split.rev .scr-split-media { order: 0; }
  .scr-cards, .scr-cards.two, .scr-band-grid { grid-template-columns: 1fr; }
  .scr-gallery, .scr-gallery.phones { columns: 2 150px; column-gap: 10px; }
  .scr-gallery figure { margin-bottom: 10px; }
  .scr-stats { grid-template-columns: 1fr 1fr; }
  .scr-hero { margin-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .scr-card, .scr-card-img img { transition: none; }
}

/* ---------- branding gallery grid ---------- */
.scr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 1rem; }
.scr-grid figure { margin: 0; background: var(--scr-panel); border-radius: var(--scr-radius); overflow: hidden; }
.scr-grid figure.wide { grid-column: 1 / -1; }
.scr-grid img { display: block; width: 100%; height: auto; }
.scr-grid figcaption { font-size: 13.5px; color: var(--scr-muted); padding: 10px 14px 12px; line-height: 1.45; }
@media (max-width: 767px) { .scr-grid { grid-template-columns: 1fr; } }

/* ---------- about: four steps in place of the empty team circle ---------- */
.scr-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.scr-step { background: var(--scr-panel); border-radius: var(--scr-radius); padding: 22px 22px 18px; border-top: 3px solid var(--scr-gold); }
.scr-step b { display: block; font-family: "Bebas Neue", cursive; font-weight: 400; color: var(--scr-gold); font-size: 34px; line-height: 1; }
.scr-step h3 { font-family: "Bebas Neue", cursive; color: var(--scr-head); font-size: 28px; margin: 6px 0 6px; line-height: 1; }
.scr-step p { font-family: Roboto, sans-serif; font-size: 15.5px; line-height: 1.55; margin: 0; color: var(--scr-text); }
@media (max-width: 767px) { .scr-steps { grid-template-columns: 1fr; } }
