/* Study only: Matt's review, 18 November 2026. Not part of the design system until signed off. */

/* Logo shade: a navy wash in the top left corner, so no light from the mesh sits behind the logo */
html[data-st-shade="on"] .hz-hero__scrim{background:
  radial-gradient(ellipse 42% 48% at 0% 0%,var(--hz-surface-dark) 0%,color-mix(in srgb,var(--hz-surface-dark) 70%,transparent) 45%,transparent 100%),
  var(--hz-scrim)}

/* Split hero: copy left, visual right, from 1024px. Below 1024px it stacks as the default hero. */
/* Below 1024px the split hero stacks: run the navy ground to the bottom of the hero, so the visual sits on navy with space below it
   instead of ending flush against the white section (Insights, AI and data, Investor Intelligence on phones and tablets). */
@media (max-width:1023.98px){
  .hz-hero--has-visual[data-layout="split"] .hz-hero__bg{bottom:0}
  .hz-hero.hz-hero--has-visual[data-layout="split"]{padding-bottom:var(--hz-section-y)}
}
@media (min-width:1024px){
  .hz-hero.hz-hero--has-visual[data-layout="split"]{
    flex-direction:row;align-items:center;justify-content:space-between;gap:var(--hz-space-7);
    min-height:min(100vh,860px);
    padding:calc(var(--hz-header-height) + var(--hz-space-7)) max(var(--hz-gutter),calc((100% - var(--hz-content-width-web)) / 2)) var(--hz-space-7);
    --hz-copy-y:50%;
    --hz-scrim:radial-gradient(ellipse 55% 70% at 26% 50%,var(--hz-overlay-scrim) 0%,color-mix(in srgb,var(--hz-overlay-scrim) 55%,transparent) 55%,transparent 100%)}
  .hz-hero--has-visual[data-layout="split"] .hz-hero__bg{bottom:0}
  .hz-hero--has-visual[data-layout="split"] .hz-hero__copy{flex:0 1 46%;width:auto;text-align:left;transform:none;opacity:1}
  .hz-hero--has-visual[data-layout="split"] .hz-hero__title{font-size:calc(var(--hz-web-display-size) * 0.6)}
  .hz-hero--has-visual[data-layout="split"] .hz-hero__standfirst{margin-left:0;font-size:var(--hz-web-body-size);line-height:var(--hz-web-body-leading)}
  .hz-hero--has-visual[data-layout="split"] .hz-hero__actions{justify-content:flex-start}
  .hz-hero--has-visual[data-layout="split"] .hz-hero__visual{flex:0 1 50%;width:auto;margin-top:0}
  .hz-hero--has-visual[data-layout="split"] .hz-hero__visual .ai-hero .aios{width:100%}
  .hz-hero--has-visual[data-layout="split"] .hz-hero__visual > .cs.is-nested:has(.ai-hero){padding-bottom:0}
}

/* Single phone on phones: the trio shows its main phone only under 768px */
@media (max-width:767.98px){
  .hz-stage[data-device="trio"] .hz-stage__phone[data-side]{display:none}
  .hz-stage[data-device="trio"] .hz-stage__phone:not([data-side]){width:min(72%,var(--hz-device-phone-width-web));margin-inline:auto}
}

/* Study panel: a sheet across the bottom of the window */
.st-panel{position:fixed;left:0;right:0;bottom:0;z-index:9999;max-height:36vh;overflow:auto;
  background:#fff;color:var(--hz-navy);border-radius:14px 14px 0 0;box-shadow:0 -10px 40px rgba(16,25,45,.25);font:13px/1.4 var(--hz-font-sans);
  padding:12px max(20px,calc((100% - 1400px) / 2)) 14px;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px 20px;align-items:start}
.st-panel[hidden]{display:none}
.st-head{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;padding-bottom:8px;border-bottom:1px solid #e3e8ef}
.st-head h2{margin:0;font-size:15px;font-weight:600}
.st-head p{margin:0;color:#4a5568;font-size:12px;flex:1 1 300px}
.st-pages{display:flex;flex-wrap:wrap;gap:4px 12px}
.st-pages a{color:var(--hz-deep-teal,#1e6266);font-size:13px}
.st-pages a[aria-current="page"]{font-weight:600;color:var(--hz-navy);text-decoration:none}
.st-group b{display:block;font-weight:600;margin-bottom:5px}
.st-opts{display:flex;flex-wrap:wrap;gap:5px}
.st-opts button{font:inherit;font-size:12px;padding:4px 9px;border-radius:999px;border:1px solid #c9d3df;background:#fff;color:inherit;cursor:pointer}
.st-opts button[aria-pressed="true"]{background:var(--hz-navy);border-color:var(--hz-navy);color:#fff}
.st-note{margin-top:4px;font-size:11.5px;color:#5b6676}
.st-hide{font:600 12px var(--hz-font-sans);padding:5px 12px;border-radius:999px;border:1px solid #c9d3df;background:#fff;color:var(--hz-navy);cursor:pointer}
.st-toggle{position:fixed;left:50%;bottom:0;transform:translateX(-50%);z-index:9998;font:600 14px var(--hz-font-sans);padding:9px 18px 11px;border-radius:12px 12px 0 0;border:0;background:var(--hz-navy);color:#fff;box-shadow:0 -6px 20px rgba(16,25,45,.3);cursor:pointer}
@media (max-width:767.98px){.st-panel{max-height:55vh;grid-template-columns:1fr 1fr}}

/* Hero dot colour: data-colour must win over the hero's white (fix for hz-dots.css) */
.hz-hero > .hz-dots[data-colour="aqua"]{color:var(--hz-aqua)}
/* About split visuals */
.hz-hero__visual img.st-keyline{border-radius:0;box-shadow:none}

/* About: logo image mask beside the copy, bleeding off the right edge, centred on the copy block (from 1024px) */
.st-about-mask{display:none}
@media (min-width:1024px){
  .hz-hero[data-layout="mask"]{--hz-copy-y:calc(50% + var(--hz-header-height) / 2);height:min(100vh,860px);min-height:0;
    --hz-scrim:radial-gradient(ellipse 55% 70% at 26% 52%,var(--hz-overlay-scrim) 0%,color-mix(in srgb,var(--hz-overlay-scrim) 55%,transparent) 55%,transparent 100%)}
  .hz-hero[data-layout="mask"] .hz-hero__copy{left:max(var(--hz-gutter),calc((100% - var(--hz-content-width-web)) / 2));transform:translateY(-50%);width:min(46%,600px);text-align:left;z-index:1}
  .hz-hero[data-layout="mask"] .hz-hero__title{font-size:calc(var(--hz-web-display-size) * 0.6)}
  .hz-hero[data-layout="mask"] .hz-hero__standfirst{margin-left:0;font-size:var(--hz-web-body-size);line-height:var(--hz-web-body-leading)}
  .hz-hero[data-layout="mask"] .hz-hero__actions{justify-content:flex-start}
  .hz-hero[data-layout="mask"] .st-about-mask{display:block;position:absolute;z-index:0;pointer-events:none;
    width:var(--st-mask-w,44vw);height:auto;aspect-ratio:1644/1506;
    right:calc(var(--st-mask-w,44vw) * var(--st-bleed,0.15) * -1);
    top:calc(var(--hz-copy-y) + var(--st-nudge,0px));transform:translateY(-50%)}
}

/* Split hero: phone no taller than the split hero allows */
@media (min-width:1024px){.hz-hero--has-visual[data-layout="split"] .hz-stage[data-device="phone"] .hz-stage__phone{width:min(100%,260px)}}
/* Home: logo band closer to the hero dashboard */
.hz-hero + .cs > .logo-band{padding-top:var(--hz-space-3,24px)}

/* Phone: a current iPhone. Black glass bezel (the 6px bezel), a titanium band, side buttons, Dynamic Island and status bar. */
.hz-stage .hz-stage__phone{position:relative;border-radius:15% / 7.3%;background:#0a0b0d;
  box-shadow:0 0 0 1.5px #2b2e34,0 0 0 3px #8a8f98,0 0 0 4px #43464d,inset 0 0 0 1px rgba(255,255,255,.08),var(--hz-shadow-float-web)}
.hz-stage .hz-stage__phone .hz-stage__screen{box-sizing:border-box;border-radius:13.4% / 6.6%;container-type:inline-size;padding-top:12%;background:#fff}
.hz-stage .hz-stage__phone .hz-stage__screen>img{height:100%}
/* Status bar: time left, signal, wifi and battery right, the island between */
.hz-stage .hz-stage__phone .hz-stage__screen::before{content:"9:41";position:absolute;inset:0 0 auto 0;height:12cqw;display:flex;align-items:center;padding:1cqw 0 0 10cqw;box-sizing:border-box;
  font:600 4.3cqw/1 -apple-system,"SF Pro Text",var(--hz-font-sans);letter-spacing:-.01em;color:#0a0b0d;
  background:no-repeat right 7cqw center/19cqw auto url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 14'%3E%3Cg fill='%230a0b0d'%3E%3Crect x='0' y='9' width='3.2' height='4' rx='.8'/%3E%3Crect x='4.6' y='6.5' width='3.2' height='6.5' rx='.8'/%3E%3Crect x='9.2' y='4' width='3.2' height='9' rx='.8'/%3E%3Crect x='13.8' y='1' width='3.2' height='12' rx='.8'/%3E%3Cpath d='M30 3.2a12 12 0 0 1 8.6 3.6l1.3-1.4A14 14 0 0 0 30 1.2a14 14 0 0 0-9.9 4.2l1.3 1.4A12 12 0 0 1 30 3.2zm0 4a8 8 0 0 1 5.7 2.4l1.3-1.4A10 10 0 0 0 30 5.2a10 10 0 0 0-7 3l1.3 1.4A8 8 0 0 1 30 7.2zm0 4a4 4 0 0 1 2.8 1.2L30 15.3l-2.8-2.9A4 4 0 0 1 30 11.2z'/%3E%3Crect x='47' y='1.5' width='24' height='11' rx='3.2' fill='none' stroke='%230a0b0d' stroke-opacity='.4'/%3E%3Crect x='49' y='3.5' width='18' height='7' rx='1.8'/%3E%3Cpath d='M72.6 5.2v3.6a2 2 0 0 0 0-3.6z' fill-opacity='.45'/%3E%3C/g%3E%3C/svg%3E")}
.hz-stage .hz-stage__phone .hz-stage__screen::after{content:"";position:absolute;top:2.8cqw;left:50%;width:31cqw;height:9cqw;transform:translateX(-50%);border-radius:999px;background:#000}
/* Side buttons removed 1 December 2026: they read as loose grey marks beside the phone on navy */

/* Investor Intelligence hero: three points under the actions */
.hzb-hero-points{display:flex;flex-wrap:wrap;gap:var(--hz-space-2) var(--hz-space-5);margin:var(--hz-stack-web) 0 0;padding:0;list-style:none;justify-content:center;
  color:var(--hz-text-on-dark);font-size:var(--hz-web-small-size);line-height:var(--hz-web-small-leading)}
.hzb-hero-points li{display:flex;align-items:center;gap:var(--hz-space-2)}
.hzb-hero-points li::before{content:"";flex:none;width:14px;height:14px;background:var(--hz-aqua);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5L9.5 18L20 6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12.5L9.5 18L20 6'/%3E%3C/svg%3E") center/contain no-repeat}
@media (min-width:1024px){.hz-hero--has-visual[data-layout="split"] .hzb-hero-points{justify-content:flex-start}}

/* AI and data: what you get, and the discuss link, in each service tile */
.hz-tile__link:has(.hzb-get){grid-template-rows:auto auto auto auto auto 1fr;grid-template-areas:"art" "label" "title" "text" "get" "cta"}
.hz-tiles[data-drawing="off"] .hz-tile__link:has(.hzb-get){grid-template-rows:auto auto auto auto 1fr;grid-template-areas:"label" "title" "text" "get" "cta"}
.hz-tile .hzb-get{grid-area:get;margin-top:var(--hz-space-3)}
.hz-tile .hzb-get b{font-weight:var(--hz-web-body-lead-in-weight,600)}
.hzb-tile-cta{grid-area:cta;align-self:end;justify-self:start;display:inline-flex;align-items:center;gap:var(--hz-space-1);margin-top:var(--hz-space-3);color:var(--hz-aqua);font-size:var(--hz-web-small-size);line-height:var(--hz-web-small-leading);font-weight:var(--hz-web-button-weight,600)}
.hzb-tile-cta svg{width:16px;height:16px}

/* Footer: three groups, the office address, and the legal links */
@media (min-width:768px){.hz-footer__nav.hzb-footer-nav{grid-template-columns:repeat(3,minmax(0,1fr))}}
.hzb-footer-addr{color:var(--f-legal);font-size:var(--hz-web-caption-size);line-height:var(--hz-web-caption-leading)}
.hzb-legal-links{display:flex;flex-wrap:wrap;gap:var(--hz-space-2) var(--hz-space-4)}

/* Who leads the work: capabilities as a rule list with square-dot marks, private markets on a navy card (Matt, 22 November 2026) */
.hzb-caps__list{list-style:none;margin:0;padding:0;font-family:var(--hz-font-sans)}
.hzb-caps__item{display:grid;grid-template-columns:56px minmax(0,1fr);gap:var(--hz-block-web);align-items:center;padding:var(--hz-stack-web) var(--hz-inset-card)}
.hzb-caps__item:not(.is-core)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:var(--hz-border-width-hairline,1px);background:var(--hz-border-light);transition:opacity .35s ease}
.hzb-caps__item:not(.is-core):hover::after{opacity:0}
.hzb-caps__item.is-core{margin-bottom:var(--hz-space-2);padding:var(--hz-inset-card);border:0;border-radius:var(--hz-radius-card);background:var(--hz-surface-dark)}
.hzb-caps__mark{display:block;width:56px;height:56px}
.hzb-caps__title{margin:0;color:var(--hz-navy);font-size:var(--hz-web-card-title-size);line-height:var(--hz-web-card-title-leading);font-weight:var(--hz-web-card-title-weight);letter-spacing:var(--hz-web-card-title-tracking)}
.hzb-caps__note{margin:var(--hz-space-1) 0 0;color:var(--hz-text-secondary-on-light);font-size:var(--hz-web-body-size);line-height:var(--hz-web-body-leading);text-wrap:pretty}
.hzb-caps__item.is-core .hzb-caps__title{color:var(--hz-text-on-dark)}
.hzb-caps__item.is-core .hzb-caps__note{color:var(--hz-text-secondary-on-dark)}
@media (max-width:767.98px){.hzb-caps__item{grid-template-columns:44px minmax(0,1fr);gap:var(--hz-space-3)}.hzb-caps__mark{width:44px;height:44px}}
/* Hover: the row lifts onto a pale panel, the dots gather towards the centre of the mark in a ripple, the title turns deep teal */
.hzb-caps__item{position:relative;border-radius:var(--hz-radius-card);transition:background-color .35s var(--hz-ease-ui,ease)}
.hzb-caps__item:not(.is-core):hover{background:var(--hz-surface-muted,#f3f6f8)}
.hzb-caps__title{transition:color .35s var(--hz-ease-ui,ease)}
.hzb-caps__item:not(.is-core):hover .hzb-caps__title{color:var(--hz-deep-teal)}
.hzb-caps__mark{overflow:visible;transition:transform .6s cubic-bezier(.22,1,.36,1)}
.hzb-caps__mark rect{transition:transform .55s cubic-bezier(.22,1,.36,1) var(--gd,0ms),fill-opacity .55s ease var(--gd,0ms)}
.hzb-caps__item:hover .hzb-caps__mark{transform:scale(1.06)}
.hzb-caps__item:hover .hzb-caps__mark rect{transform:translate(var(--gx),var(--gy));fill-opacity:1}
.hzb-caps__item.is-core{transition:box-shadow .35s ease,transform .35s ease}
.hzb-caps__item.is-core:hover{box-shadow:var(--hz-shadow-float-web);transform:translateY(-2px)}
@media (prefers-reduced-motion:reduce){.hzb-caps__item,.hzb-caps__item *{transition:none!important}.hzb-caps__item:hover .hzb-caps__mark,.hzb-caps__item:hover .hzb-caps__mark rect,.hzb-caps__item.is-core:hover{transform:none}}

/* Comparison: the Hazlewood logo in white in place of the name on the navy card */
.hzb-cmp-logo{display:flex;align-items:center;min-height:calc(var(--hz-web-heading-size) * var(--hz-web-heading-leading))}
.hzb-cmp-logo img{display:block;height:calc(var(--hz-web-heading-size) * 0.95);width:auto}
