/* barelis.com site v2.20
   The page is an edit: a sequence timeline under the menu tracks the scroll, the hero opens from
   letterbox, headings cut in. Condensed poster type for headlines, Geist for text, Geist Mono for labels.
   Colors and fonts live in :root. */
:root {
  color-scheme: dark;
  --bg: #12110e;
  --panel: #1b1a16;
  --line: #2b2923;
  --text: #f5f3ef;
  --text-2: #d9d5ce;
  --text-3: #a9a49b;
  --text-4: #8a857c;
  --accent: #e0b46a;
  --accent-hover: #f2cf92;
  --display: "Big Shoulders Display", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Geist", "Inter", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --off: 120px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1200px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: 0.92; letter-spacing: 0.005em; text-wrap: balance; }
h2 { font-size: clamp(40px, 6vw, 76px); }
h3 { font-size: 26px; font-weight: 600; letter-spacing: 0.02em; line-height: 1; }
.tag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--text-2); max-width: 56ch; margin: 18px 0 0; }
.section { padding-block: 104px 8px; scroll-margin-top: var(--off); }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 4px; font-family: var(--body); font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid transparent; cursor: pointer; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: #4a463c; color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
button.btn { font-family: var(--body); }
.btn-small { min-height: 40px; padding: 0 14px; font-size: 14px; }

/* ---------- header: menu + sequence timeline ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: rgba(18,17,14,0.94); }
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(18,17,14,0.94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 12px 10px; }
.logo { display: block; flex: none; }
.logo img { height: 40px; width: auto; }
.links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 17px; }
.links a { color: var(--text-2); text-decoration: none; padding: 8px 0; display: inline-flex; align-items: center; gap: 7px; }
.links a i { width: 7px; height: 7px; border-radius: 1px; display: inline-block; }
.links a:hover, .links a.on { color: var(--text); }
.links .divider { width: 1px; height: 22px; background: #4a463c; margin: 0 2px; }
.links .btn { font-family: var(--body); font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 14px; padding: 0 16px; min-height: 40px; }
.links .btn-primary { color: var(--bg); }
.links .btn-home { color: var(--text); padding: 0 14px; gap: 6px; }
.btn-home .arr { display: block; flex: none; }

.seq { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: stretch; padding-block: 0 10px; }
.seq .tc { font-family: var(--mono); font-size: 12px; color: var(--text); font-variant-numeric: tabular-nums; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.seq .tc small { font-size: 10px; color: var(--text-4); letter-spacing: 0.08em; }
.tracks { position: relative; display: grid; grid-template-rows: 20px 10px; gap: 3px; }
.v1, .a1 { position: relative; }
.clip {
  position: absolute; top: 0; bottom: 0; border-radius: 2px; border: 1px solid; overflow: hidden;
  display: flex; align-items: center; padding: 0 6px; cursor: pointer; background: transparent;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap;
  transition: background-color 0.25s ease;
}
.clip span { opacity: 0.4; color: var(--text-3); transition: opacity 0.25s ease, color 0.25s ease; }
.clip.past { opacity: 0.6; }
.clip.past span, .clip.now span { opacity: 1; color: #fff; }
.a1 canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.ph { position: absolute; top: -3px; bottom: -3px; width: 2px; margin-left: -1px; background: var(--accent); box-shadow: 0 0 6px rgba(224,180,106,0.7); pointer-events: none; }
.ph::before { content: ""; position: absolute; top: -2px; left: -4px; border: 5px solid transparent; border-top-color: var(--accent); }

/* ---------- hero: letterbox opens, headline cuts in ---------- */
.hero { padding-block: 22px 0; }
.frame { position: relative; height: clamp(460px, 56vw, 720px); border-radius: 6px; overflow: hidden; background: #000; }
.frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,8,6,0.88), rgba(8,8,6,0.25) 55%, rgba(8,8,6,0.05)); }
.matte { position: absolute; left: 0; right: 0; height: 0; background: #000; z-index: 2; transition: height 1.1s cubic-bezier(0.7, 0, 0.2, 1); }
.matte.t { top: 0; } .matte.b { bottom: 0; }
.pre-roll .matte { height: 13%; }
.pre-roll .frame.open .matte { height: 0; }
.frame .meta { position: absolute; z-index: 3; top: 16px; left: 18px; right: 18px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.8); font-variant-numeric: tabular-nums; }
.pre-roll .frame .meta { opacity: 0; transition: opacity 0.4s 1s; }
.pre-roll .frame.open .meta { opacity: 1; }
.copy { position: absolute; z-index: 3; left: 0; bottom: 0; padding: 0 clamp(20px, 4vw, 48px) clamp(28px, 4vw, 48px); max-width: 900px; }
.copy .tag { color: #f2cf92; }
.copy h1 { font-size: clamp(42px, 6.8vw, 100px); color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,0.4); }
.copy h1 span { display: block; }
.copy .l2 { color: var(--accent); }
.copy .lead { color: #fff; }
.pre-roll .copy .l1, .pre-roll .copy .l2, .pre-roll .copy .tag, .pre-roll .copy .lead { visibility: hidden; }
.cut .copy .l1 { visibility: visible; }
.cut2 .copy .l2, .cut2 .copy .tag, .cut2 .copy .lead { visibility: visible; }
.copy .tag.sign { margin: 20px 0 0; font-size: 13px; letter-spacing: 0.14em; }
.hero .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* ---------- client logos ---------- */
.logos { padding-block: 40px 0; }
.logo-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.logo-grid img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; border-radius: 3px; filter: brightness(0.64) saturate(0.7); transition: filter 0.2s ease; }
.logo-grid img:hover { filter: none; }
.narrow-only { display: none; }

/* full-width "show more" buttons */
.more > summary { list-style: none; } .more > summary::-webkit-details-marker { display: none; }
.more-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 48px; margin-top: 14px;
  border: 1px solid #3a372f; border-radius: 4px; background: transparent; color: var(--text-2); cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
}
.more-btn:hover { border-color: var(--accent); color: var(--text); }
.more-btn .chev { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform 0.2s; }
.more-btn .open-label { display: none; }
.more[open] > .more-btn .closed-label { display: none; }
.more[open] > .more-btn .open-label { display: inline; }
.more[open] > .more-btn { border-color: var(--accent); color: var(--accent); background: rgba(224,180,106,0.08); }
.more[open] .chev { transform: rotate(-135deg) translateY(-2px); }
.more-btn .tri { color: var(--accent); flex: none; display: flex; align-items: center; margin-left: -6px; }
.more-btn .tri svg, .tile .play svg { display: block; }
.more-btn > span:not(.tri) { line-height: 1; }
.more-btn .arr { font-style: normal; }
.more .tiles, .more .logo-grid { margin-top: 18px; }

/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 32px 56px; align-items: end; }
.intro .text p { margin: 0; color: var(--text-2); max-width: 46ch; }
.intro .text p + p { margin-top: 14px; }

/* ---------- what I do: one row per phase ---------- */
.phases { margin-top: 64px; border-bottom: 1px solid var(--line); }
.phase { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px 56px; padding-block: 44px; border-top: 1px solid var(--line); scroll-margin-top: var(--off); }
.ptag { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); display: flex; align-items: center; gap: 8px; margin: 0 0 14px; }
.ptag i { width: 10px; height: 10px; border-radius: 2px; }
.phase h3 { font-size: clamp(36px, 4.4vw, 56px); font-weight: 800; line-height: 0.92; }
.hook { margin: 0; font-size: clamp(18px, 1.7vw, 21px); color: var(--text); line-height: 1.45; max-width: 46ch; }
.list { margin: 14px 0 0; color: var(--text-4); font-size: 15px; max-width: 52ch; }

/* ---------- specialties ---------- */
.spec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px 56px; align-items: end; }
.spec { margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.spec .st { background: var(--panel); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; }
.spec .spec-img { aspect-ratio: 16 / 9; max-width: 100%; background: #24221c; }
.spec .spec-img.sq { aspect-ratio: 4 / 3; }
.spec .spec-img.wide { aspect-ratio: 4 / 3; background: #1f1d18; }
.spec .spec-img img { width: 100%; height: 100%; object-fit: cover; }
.spec .st-body { padding: 20px 22px 22px; }
.spec .st-body span.sh { color: var(--text); font-size: 16px; line-height: 1.4; margin-top: 10px; }
.spec .st-body span.ds { color: var(--text-4); font-size: 14px; line-height: 1.5; margin-top: 6px; }
.spec b { display: block; font-family: var(--display); font-weight: 600; text-transform: uppercase; font-size: 22px; letter-spacing: 0.02em; line-height: 1; }
.spec span { display: block; }
.spec span.sh { color: var(--text); font-size: 15px; margin-top: 10px; }
.spec span.sh + span { color: var(--text-4); font-size: 14px; margin-top: 6px; }
.spec em { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--bg); background: var(--accent); padding: 2px 6px; border-radius: 2px; vertical-align: 3px; margin-left: 6px; }
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 56px; align-items: end; margin-top: 104px; }
.why p { margin: 0; color: var(--text-2); }
.why .ai { margin-top: 14px; font-family: var(--mono); font-size: 13px; color: var(--text-3); }

/* ---------- work + collections tiles ---------- */
.head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.head + .more-btn { margin: 4px 0 28px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
.tiles.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tile .img { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; max-width: 100%; border-radius: 6px; overflow: hidden; background: #24221c; border: 0; padding: 0; margin: 0; color: inherit; cursor: pointer; text-decoration: none; }
.tile .img img, .tile .img video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .img iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tile .play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; color: #fff; filter: drop-shadow(0 1px 4px rgba(0,0,0,0.75)); transition: color 0.2s ease, transform 0.2s ease; }
.tile .img:hover .play { color: var(--accent); transform: translate(-50%, -50%) scale(1.08); }
.tile .play svg { width: min(240px, 50vw); height: auto; }
.tile .play path { fill: none; stroke: rgba(255, 255, 255, 0.45); stroke-width: 0.9; transition: stroke 0.2s ease; }
.tile .img:hover .play path { stroke: rgba(224, 180, 106, 0.9); }
.tile .tcd { position: absolute; z-index: 1; right: 10px; bottom: 8px; font-family: var(--mono); font-size: 11px; color: #fff; background: rgba(0,0,0,0.55); padding: 2px 6px; border-radius: 2px; font-variant-numeric: tabular-nums; }
.tile .tcd:empty { display: none; }
.tile .img.is-playing { background: #000; }
.reel-btn.is-playing .play { opacity: 0; }
.reel-btn.is-playing.is-paused .play { opacity: 0.85; }
.tile .play { opacity: 1; }
.contact .lead.dim { margin-top: 8px; color: var(--text-4); font-size: 16px; }
.tile .client { margin: 12px 0 0; font-size: 13px; color: var(--text-3); }
.tile h3 { font-size: 22px; margin-top: 4px; }
.tile h3 a { text-decoration: none; }
.tile h3 a:hover { color: var(--accent); }
.tile .brief { margin: 8px 0 0; font-size: 15px; color: var(--text-2); line-height: 1.4; }
.tile .brief:empty { display: none; }
.tile .roles { margin: 6px 0 0; font-size: 13px; color: var(--text-4); line-height: 1.45; }
.tile .desc { margin: 6px 0 0; color: var(--text-3); font-size: 14px; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.team img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 6px; }
/* Guy's torn-paper cut-out: the blue square matches the other photos; the torn flaps hang over the left edge */
.team img.cutout { object-fit: fill; border-radius: 0; width: 104.6%; max-width: none; aspect-ratio: auto; margin-left: -4.37%; }
.team h3 { margin-top: 14px; font-size: 24px; }
.team .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); margin: 6px 0 0; }
.team p { margin: 6px 0 0; color: var(--text-3); font-size: 14px; }

/* ---------- contact ---------- */
.contact { margin-top: 104px; padding-block: 88px; border-top: 1px solid var(--line); scroll-margin-top: var(--off); }
.contact h2 { font-size: clamp(48px, 8vw, 104px); }
.contact .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; align-items: center; }
.contact-line { display: inline-flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.contact-line a { color: var(--text); font-size: 18px; text-decoration: none; padding: 6px 0; }
.contact-line a:hover { color: var(--accent); }

/* ---------- end credits ---------- */
.credits { padding-block: 96px 56px; border-top: 1px solid var(--line); text-align: center; color: var(--text-3); }
.credits .pres { font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 40px; }
.roll { margin: 0 auto; max-width: 860px; display: flex; flex-direction: column; gap: 18px; }
.roll div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: baseline; }
.roll dt { text-align: right; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-4); }
.roll dd { margin: 0; text-align: left; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; font-size: 22px; line-height: 1.1; color: var(--text); }
.roll dd small { display: block; font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 400; color: var(--text-4); margin-top: 4px; }
.roll dd a { text-decoration: none; } .roll dd a:hover { color: var(--accent); }
.roll .star dt { align-self: center; }
.roll .star dd { font-size: clamp(40px, 6vw, 64px); font-weight: 800; color: var(--accent); line-height: 0.9; }
.credits .disclaimer { margin: 48px auto 0; max-width: 40ch; font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--text-4); }
.credits .post { margin: 72px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-4); }
.credits .sig { display: inline-block; margin: 10px 0 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(36px, 5vw, 60px); line-height: 0.95; color: var(--accent); text-decoration: none; }
.credits .sig:hover { color: var(--accent-hover); }
.credits .fine { margin: 28px 0 0; font-size: 12px; line-height: 1.7; color: var(--text-4); }

/* ---------- stock footage page ---------- */
.page-head { padding-block: 64px 8px; }
.page-head h1 { font-size: clamp(44px, 7vw, 92px); }
.platforms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.platform { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 22px; }
.platform:hover { border-color: var(--accent); }
.platform b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 30px; line-height: 1; }
.platform span { color: var(--text-3); font-size: 14px; }
.platform .go { margin-top: 8px; color: var(--accent); font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.callout { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid #3a372f; border-radius: 6px; padding: 20px 24px; }
.callout p { margin: 0; max-width: 64ch; color: var(--text-2); }
.callout strong { color: var(--text); }
.coll { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; padding-block: 48px; border-top: 1px solid var(--line); scroll-margin-top: var(--off); }
.coll:first-child { border-top: 0; }
.coll h2 { font-size: clamp(36px, 4.6vw, 60px); }
.coll .places { margin: 14px 0 0; color: var(--text-4); font-size: 14px; }
.small-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.small-links a { color: var(--accent); text-decoration: none; padding: 6px 0; }
.small-links a:hover { color: var(--accent-hover); }

/* ---------- headings cut in (no fade) ---------- */
.hc-on .hc { visibility: hidden; }
.hc-on .hc.in { visibility: visible; }

/* ---------- 404 ---------- */
.notfound { padding-block: 96px; }
.notfound h1 { font-size: clamp(44px, 7vw, 92px); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
}
@media (max-width: 900px) {
  .links a:not(.btn), .links .divider { display: none; }
  .seq { grid-template-columns: 74px minmax(0, 1fr); }
  .seq .tc small { display: none; }
  .clip { padding: 0 4px; font-size: 9px; letter-spacing: 0.04em; }
  .logo-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .logo-grid .wide-only, .more-btn .wide-only { display: none; }
  .logo-grid .narrow-only { display: block; }
  .more-btn .narrow-only { display: inline; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .intro, .why, .spec-head { grid-template-columns: minmax(0, 1fr); }
  .coll { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) {
  .phase { grid-template-columns: minmax(0, 1fr); padding-block: 36px; }
}
@media (max-width: 600px) {
  .team { grid-template-columns: minmax(0, 1fr); max-width: 400px; }
}
@media (max-width: 700px) {
  .frame { height: 600px; }
  .frame .meta span:first-child { display: none; }
}
@media (max-width: 620px) {
  .platforms { grid-template-columns: minmax(0, 1fr); }
  .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .roll div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .roll dt, .roll dd { text-align: center; }
}
@media (max-width: 560px) {
  .links { gap: 8px; flex-wrap: nowrap; }
  .links .btn { padding: 0 12px; font-size: 13px; white-space: nowrap; }
  .nav { gap: 10px; }
  .logo img { height: 30px; }
  .tiles.three { grid-template-columns: minmax(0, 1fr); }
  .tiles { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .spec { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .copy .tag.sign { font-size: 10.5px; letter-spacing: 0.06em; }
  .spec { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 370px) {
  .logo img { height: 26px; }
  .links .btn { padding: 0 10px; font-size: 12.5px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .matte, .frame .meta, .clip, .clip span, .logo-grid img, .tile .play { transition: none; }
}

/* ---------- specialties: "ways to work" cut + line-art draw-on (v2.18) ---------- */
.spec-cut { grid-column: 1 / -1; position: relative; display: flex; align-items: center; gap: 12px; margin: 22px 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.spec-cut::after { content: ""; flex: 1; height: 1px; background: #4a463c; }
.spec-cut i { width: 0; height: 0; border: 5px solid transparent; border-top: 7px solid var(--accent); margin-top: 6px; filter: drop-shadow(0 0 4px rgba(224,180,106,0.6)); }
.spec-svg svg { display: block; width: 100%; height: 100%; }
.svg-anim .anim [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 1; }
.svg-anim .anim .d-routes, .svg-anim .anim .d-routes2, .svg-anim .anim .d-dots, .svg-anim .anim .d-dots2, .svg-anim .anim .d-core, .svg-anim .anim .d-pulse, .svg-anim .anim .d-head { opacity: 0; }
.svg-anim .go .d-globe [pathLength] { animation: draw 0.8s cubic-bezier(0.6, 0, 0.2, 1) forwards; }
.svg-anim .go .d-globe :nth-child(2) { animation-delay: 0.05s; } .svg-anim .go .d-globe :nth-child(3) { animation-delay: 0.1s; }
.svg-anim .go .d-globe :nth-child(4) { animation-delay: 0.15s; } .svg-anim .go .d-globe :nth-child(5) { animation-delay: 0.2s; } .svg-anim .go .d-globe :nth-child(6) { animation-delay: 0.25s; }
.svg-anim .go .d-routes2, .svg-anim .go .d-dots2 { animation: fadein 0.4s 0.6s forwards; }
.svg-anim .go .d-dots { animation: fadein 0.3s 0.7s forwards; }
.svg-anim .go .d-routes { animation: fadein 0.25s 0.75s forwards, march 0.4s 0.75s linear 2; }
.svg-anim .go .anim-israel .d-core { animation: fadein 0.25s 1.1s forwards; }
.svg-anim .go .d-pulse { transform-box: fill-box; transform-origin: center; animation: pulse 0.8s 1.15s ease-out forwards; }
.svg-anim .go .d-tangle { animation: draw 0.9s cubic-bezier(0.5, 0, 0.3, 1) forwards; }
.svg-anim .go .d-tangle2 { animation: draw 0.7s 0.2s ease-out forwards; }
.svg-anim .go .d-tangle3 { animation: draw 0.7s 0.1s ease-out forwards; }
.svg-anim .go .d-ring { animation: draw 0.35s 0.8s ease-out forwards; }
.svg-anim .go .anim-consulting .d-core { animation: fadein 0.2s 0.95s forwards; }
.svg-anim .go .d-line { animation: draw 0.35s 1.05s cubic-bezier(0.7, 0, 0.3, 1) forwards; }
.svg-anim .go .d-head { animation: fadein 0.15s 1.35s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes march { from { stroke-dashoffset: 14; } to { stroke-dashoffset: 0; } }
@keyframes pulse { 0% { opacity: 0; transform: scale(0.4); } 40% { opacity: 1; } 100% { opacity: 1; transform: scale(1); } }

/* ---------- full-screen header on phones, tablets and laptops (v2.19) ----------
   Up to 1440px wide the header video fills the screen under the menu; "Get the footage"
   sits just below it and shows once the visitor scrolls. Bigger screens keep the framed header. */
@media (max-width: 1440px) {
  .hero { padding: 0; }
  .hero > .wrap { max-width: none; padding: 0; }
  .frame { height: calc(100svh - var(--off, 120px)); min-height: 360px; border-radius: 0; }
  .frame::after { background: linear-gradient(to top, rgba(8,8,6,0.9), rgba(8,8,6,0.32) 45%, rgba(8,8,6,0.08) 75%, rgba(8,8,6,0.35)); }
  .copy { max-width: 1200px; left: 50%; transform: translateX(-50%); width: 100%; box-sizing: border-box; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .frame .meta { left: max(20px, calc((100vw - 1200px) / 2 + 20px)); right: max(20px, calc((100vw - 1200px) / 2 + 20px)); }
  .hero .row { max-width: 1200px; margin: 0 auto; padding: 22px max(20px, env(safe-area-inset-right, 0px)) 0 max(20px, env(safe-area-inset-left, 0px)); box-sizing: border-box; }
}

/* ---------- specialties line art: always-on loop after the draw-on (v2.19) ---------- */
.live-l { opacity: 0; transition: opacity 0.8s ease; }
html:not(.svg-anim) .live-l, .svg-anim .live .live-l { opacity: 1; }
.spec-svg.off .live-l *, .spec-svg.off .d-dots circle, .spec-svg.off .d-dots2 circle { animation-play-state: paused !important; }
.comet { fill: none; stroke: #f2cf92; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0.1 1.2; stroke-dashoffset: 0.1; opacity: 0; animation: comet 8s linear infinite; }
.comet.out { stroke: #e0b46a; stroke-width: 1.3; stroke-dasharray: 0.14 1.2; }
.comet.c2 { animation-delay: 2s; } .comet.c3 { animation-delay: 4s; } .comet.c4 { animation-delay: 6s; }
.comet.o1 { animation-delay: 1.2s; } .comet.o2 { animation-delay: 3.6s; } .comet.o3 { animation-delay: 6.4s; }
@keyframes comet { 0% { stroke-dashoffset: 0.1; opacity: 0; } 2% { opacity: 1; } 26% { stroke-dashoffset: -1; opacity: 1; } 29%, 100% { stroke-dashoffset: -1; opacity: 0; } }
.ping { fill: none; stroke: #e0b46a; stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: ping 2.6s ease-out infinite; opacity: 0; }
.ping.p2 { animation-delay: 1.3s; }
@keyframes ping { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }
.live .d-dots circle, .live .d-dots2 circle { transform-box: fill-box; transform-origin: center; animation: alive 8s ease-out infinite; }
.live .d-dots circle:nth-child(2) { animation-delay: 2s; } .live .d-dots circle:nth-child(3) { animation-delay: 4s; } .live .d-dots circle:nth-child(4) { animation-delay: 6s; }
.live .d-dots2 circle:nth-child(1) { animation-delay: 1.2s; } .live .d-dots2 circle:nth-child(2) { animation-delay: 3.6s; } .live .d-dots2 circle:nth-child(3) { animation-delay: 6.4s; }
@keyframes alive { 0% { transform: scale(1); } 3% { transform: scale(1.9); } 14%, 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .live-l { display: none; } }

/* ---------- Israel tile: random extra dots (v2.19) ---------- */
.rdot { fill: #c9a467; opacity: 0; animation: rdot-in 0.5s ease-out forwards; transform-box: fill-box; transform-origin: center; }
.rdot.bye { animation: rdot-out 0.8s ease-in forwards; }
.rline { fill: none; stroke: #e0b46a; stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 0.12 1.2; stroke-dashoffset: 0.12; opacity: 0; }
.rline.run { animation: rline 1.6s cubic-bezier(0.45, 0, 0.3, 1) forwards; }
@keyframes rdot-in { 0% { opacity: 0; transform: scale(0.3); } 60% { opacity: 1; transform: scale(1.6); } 100% { opacity: 0.9; transform: scale(1); } }
@keyframes rdot-out { to { opacity: 0; transform: scale(0.4); } }
@keyframes rline { 0% { stroke-dashoffset: 0.12; opacity: 0; } 8% { opacity: 1; } 88% { stroke-dashoffset: -1; opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }
