:root{
    --ink:#111111;
    --paper:#ffffff;
    --off:#f6f6f4;
    --muted:#6b6b6b;
    --hair:#e2e2e2;
    --accent:#183090;   /* logo blue */
    --accent-dim:#102270;
    --accent-light:#9fb1ee;
    --red:#ff0000; --red-text:#d80000; /* #d80000 = 5.9:1 on white, safe for small text and white-on-red buttons */      /* logo red: marks and large accents only (4:1 on white, below AA for small text) */
    --max:1240px;
    --gutter:32px;
  }
  *{box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'Albert Sans', sans-serif;
    font-size:17px;
    line-height:1.6;
    -webkit-font-smoothing:antialiased;
  }
  h1,h2,h3,.label{
    font-family:'Josefin Sans', sans-serif;
    font-weight:600;
    letter-spacing:0.01em;
    line-height:1.25;
    margin:0;
  }
  a{color:var(--accent); text-decoration:underline; text-underline-offset:3px;}
  a.plain{color:inherit; text-decoration:none;}
  img{display:block; max-width:100%; height:auto;}
  .wrap{max-width:var(--max); margin:0 auto; padding-left:var(--gutter); padding-right:var(--gutter);}
  .section{padding-top:96px; padding-bottom:96px;}
  @media (min-width:900px){ .section{padding-top:128px; padding-bottom:128px;} }
  .section.tight{padding-top:64px; padding-bottom:64px;}
  .hair-top{border-top:1px solid var(--hair);}
  .off-bg{background:var(--off);}

  .label{
    font-size:13px;
    letter-spacing:0.14em;
    text-transform:uppercase;
    color:var(--muted);
    font-weight:600;
    display:block;
    margin-bottom:16px;
  }

  /* NAV */
  header.site{
    position:sticky; top:0; z-index:50;
    background:rgba(255,255,255,0.94);
    backdrop-filter:saturate(140%) blur(6px);
    border-bottom:1px solid var(--hair);
  }
  .nav-inner{
    max-width:var(--max); margin:0 auto; padding:18px var(--gutter);
    display:flex; align-items:center; justify-content:space-between; gap:24px;
  }
  .wordmark{
    font-family:'Josefin Sans', sans-serif;
    font-weight:700; font-size:20px; letter-spacing:0.06em;
    color:var(--ink); text-decoration:none;
  }
  .wordmark{display:inline-flex; align-items:center; line-height:0;}
  .wordmark img{height:40px; width:auto; display:block;}
  footer .wordmark img{height:48px;}
  @media (max-width:520px){ .wordmark img{height:34px;} }
  ::selection{background:var(--accent); color:#fff;}
  .label::before{content:''; display:inline-block; width:22px; height:2px; background:var(--red); vertical-align:middle; margin-right:12px; position:relative; top:-2px;}
  nav.links{display:none; gap:26px; list-style:none; margin:0; padding:0; flex-wrap:wrap; row-gap:14px;}
  nav.links a{color:var(--ink); text-decoration:none; font-size:15px; font-weight:500; white-space:nowrap;}
  nav.links a:hover{color:var(--accent);}
  @media (min-width:840px){ nav.links{display:flex; align-items:center;} }
  .nav-item{position:relative; display:flex; align-items:center;}
  .nav-item > a{display:flex; align-items:center; gap:5px;}
  .nav-item::after{content:''; position:absolute; left:0; right:0; top:100%; height:14px;}
  .dropdown-caret{width:9px; height:9px; flex-shrink:0; transition:transform 160ms ease;}
  .nav-item:hover .dropdown-caret,
  .nav-item:focus-within .dropdown-caret{transform:rotate(180deg);}
  .dropdown-menu{
    list-style:none; margin:0; padding:8px 0;
    position:absolute; left:0; top:calc(100% + 14px);
    min-width:250px;
    background:#fff; border:1px solid var(--hair); border-radius:2px;
    box-shadow:0 14px 32px rgba(0,0,0,0.10);
    opacity:0; visibility:hidden; transform:translateY(6px);
    transition:opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    z-index:60;
  }
  .nav-item:hover .dropdown-menu,
  .nav-item:focus-within .dropdown-menu{
    opacity:1; visibility:visible; transform:translateY(0);
  }
  .dropdown-menu li{list-style:none;}
  .dropdown-menu a{
    display:block; padding:10px 20px;
    font-size:14.5px; font-weight:500; color:var(--ink);
    text-decoration:none; white-space:nowrap;
  }
  .dropdown-menu a:hover{background:var(--off); color:var(--accent);}
  .btn{
    display:inline-block;
    font-family:'Albert Sans', sans-serif;
    font-weight:600;
    font-size:15px;
    padding:12px 22px;
    border-radius:2px;
    text-decoration:none;
    white-space:nowrap;
  }
  .btn-primary{background:var(--accent); color:#fff;}
  .btn-primary:hover{background:var(--accent-dim);}
  .btn-text{color:var(--ink); text-decoration:underline; text-underline-offset:4px; padding:12px 0;}
  .btn-text:hover{color:var(--accent);}

  /* HERO */
  .hero{position:relative; overflow:hidden; color:#fff; background:#0c0c0c; min-height:850px; display:flex; flex-direction:column;}
  .hero-bg{position:absolute; inset:0; z-index:0;}
  .hero-bg img{width:100%; height:100%; object-fit:cover; display:block;}
  .hero-scrim{
    position:absolute; inset:0; z-index:1;
    background:
      linear-gradient(100deg, rgba(8,8,8,0.90) 0%, rgba(8,8,8,0.68) 38%, rgba(8,8,8,0.28) 68%, rgba(8,8,8,0.06) 100%),
      linear-gradient(0deg, rgba(8,8,8,0.55) 0%, rgba(8,8,8,0) 40%);
  }
  .hero-inner{
    position:relative; z-index:2;
    flex:1; display:flex; align-items:center;
    padding-top:56px; padding-bottom:64px;
  }
  @media (min-width:900px){ .hero-inner{padding-top:88px; padding-bottom:96px;} }
  .hero-row{
    display:grid; grid-template-columns:1fr; gap:40px;
    width:100%;
  }
  @media (min-width:960px){ .hero-row{grid-template-columns:1.5fr 1fr; gap:48px;} }
  .hero-copy h1{
    font-size:32px; line-height:1.16; max-width:15ch;
    margin-bottom:22px; color:#fff;
  }
    .hero-copy h1 em{font-style:normal; color:var(--accent-light);}
  @media (min-width:640px){ .hero-copy h1{font-size:44px; max-width:16ch;} }
  @media (min-width:1000px){ .hero-copy h1{font-size:57px; max-width:24ch; letter-spacing:-2px;} }
  .hero-sub{
    font-size:17.5px; color:#d8d6d2; max-width:52ch; margin-bottom:32px;
  }
  .hero-actions{display:flex; flex-wrap:wrap; align-items:center; gap:20px; margin-bottom:48px;}
  .icon-btn{
    width:52px; height:52px; border-radius:50%;
    border:1px solid rgba(255,255,255,0.4);
    display:flex; align-items:center; justify-content:center;
    color:#fff; flex-shrink:0; transition:background 150ms ease, border-color 150ms ease;
  }
  .icon-btn:hover{background:rgba(255,255,255,0.12); border-color:#fff;}

  /* hero stat strip */
  .hero-stats{
    display:flex; flex-wrap:wrap; gap:0;
    border:1px solid rgba(255,255,255,0.28);
    border-radius:2px; overflow:hidden; max-width:720px;
    background:rgba(10,10,10,0.35);
  }
  .hero-stat{
    padding:20px 28px; flex:1 1 140px;
    border-right:1px solid rgba(255,255,255,0.22);
  }
  .hero-stat:last-child{border-right:none;}
  .hero-stat .v{font-family:'Josefin Sans'; font-size:26px; font-weight:600; color:#fff;}
  .hero-stat .l{font-size:13px; color:#c9c7c2; margin-top:4px;}

  /* hero floating pillar cards */
  .hero-cards{display:flex; flex-direction:column; gap:16px;}
  .hero-card{
    background:rgba(17,17,17,0.42);
    border:1px solid rgba(255,255,255,0.22);
    backdrop-filter:blur(6px);
    border-radius:2px;
    padding:22px;
    display:flex; align-items:flex-start; gap:16px;
  }
  .hero-card .ico{
    width:40px; height:40px; border-radius:50%;
    border:1px solid rgba(255,255,255,0.35);
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0; color:var(--accent-light);
  }
  .hero-card h3{color:#fff; font-size:16.5px; margin-bottom:6px;}
  .hero-card p{color:#cfcdc8; font-size:14px; margin:0;}
  .hero-card-solid{
    background:rgba(255,255,255,0.96);
    border-radius:2px; padding:32px 22px 28px;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:14px;
    text-align:center;
  }
  .hero-card-solid .families{display:flex; flex-wrap:wrap; justify-content:center; gap:8px;}
  .hero-card-solid .chip{
    font-size:12.5px; font-weight:600; color:var(--ink);
    border:1px solid var(--hair); border-radius:2px; padding:5px 10px;
  }
  .hero-card-solid .cap{font-size:13.5px; color:var(--muted);}
  .hero-card-solid .cap strong{color:var(--ink); font-family:'Josefin Sans'; font-weight:600;}

  /* SECTION HEADERS */
  .section-head{max-width:70ch; margin-bottom:56px;}
  .section-head h2{font-size:28px; line-height:1.25;}
  @media (min-width:640px){ .section-head h2{font-size:34px;} }
  .section-head p{color:var(--muted); font-size:18px; margin-top:16px;}

  /* WHAT WE BUILD - cards */
  .grid-4{
    display:grid; grid-template-columns:1fr; gap:1px;
    background:var(--hair);
    border:1px solid var(--hair);
  }
  @media (min-width:640px){ .grid-4{grid-template-columns:1fr 1fr;} }
  @media (min-width:1000px){ .grid-4{grid-template-columns:repeat(4,1fr);} }
  .card{background:var(--paper); display:flex; flex-direction:column;}
  .card-img{aspect-ratio:4/3; overflow:hidden; background:#eee;}
  .card-img img{width:100%; height:100%; object-fit:cover;}
  .card-body{padding:24px; display:flex; flex-direction:column; gap:12px; flex:1;}
  .card-body h3{font-size:19px; line-height:1.3;}
  .card-body p{color:var(--muted); font-size:15.5px; margin:0; flex:1;}
  .card-body .seg-link{font-size:14px; font-weight:600; text-decoration:underline; text-underline-offset:3px;}

  /* PILLARS */
  .pillars{
    display:grid; grid-template-columns:1fr; gap:0;
    border-top:1px solid var(--hair);
  }
  @media (min-width:760px){ .pillars{grid-template-columns:1fr 1fr;} }
  .pillar{
    padding:36px 0; border-bottom:1px solid var(--hair);
  }
  @media (min-width:760px){
    .pillar{padding:40px 40px;}
    .pillar:nth-child(odd){border-right:1px solid var(--hair);}
  }
  .pillar .num{font-family:'Josefin Sans'; font-size:13px; letter-spacing:0.14em; color:var(--accent); font-weight:600; display:block; margin-bottom:14px;}
  .pillar h3{font-size:20px; margin-bottom:10px;}
  .pillar p{color:var(--muted); font-size:15.5px; margin:0;}

  /* ENVELOPE / DISCIPLINES */
  .disciplines{
    display:grid; grid-template-columns:1fr; gap:48px; align-items:center;
  }
  @media (min-width:900px){ .disciplines{grid-template-columns:1fr 1fr; gap:64px;} }
  .disciplines .diagram{border:1px solid var(--hair); overflow:hidden;}
  .disciplines .diagram img{width:100%; display:block;}
  .disciplines h2{font-size:28px; margin-bottom:20px; line-height:1.25;}
  .disciplines p{color:var(--muted); font-size:17px; margin-bottom:20px;}
  .discipline-list{list-style:none; margin:24px 0 0; padding:0; display:flex; flex-direction:column; gap:0;}
  .discipline-list li{
    padding:16px 0; border-top:1px solid var(--hair);
    display:flex; gap:16px; align-items:baseline; font-size:15.5px;
  }
  .discipline-list li:last-child{border-bottom:1px solid var(--hair);}
  .discipline-list b{font-family:'Josefin Sans'; font-weight:600; min-width:150px; display:inline-block; color:var(--ink);}

  /* PLANT / MANUFACTURING */
  .plant-media{border:1px solid var(--hair); overflow:hidden; margin-bottom:48px;}
  .plant-media img{width:100%; display:block;}
  .flow{
    display:grid; grid-template-columns:1fr; gap:0;
    border-top:1px solid var(--hair);
  }
  @media (min-width:700px){ .flow{grid-template-columns:repeat(4,1fr);} }
  @media (min-width:1000px){ .flow{grid-template-columns:repeat(6,1fr);} }
  .flow-step{
    padding:20px 18px; border-bottom:1px solid var(--hair);
  }
  @media (min-width:700px){
    .flow-step{border-right:1px solid var(--hair);}
  }
  .flow-step .n{font-family:'Josefin Sans'; font-weight:600; color:var(--accent); font-size:13px; display:block; margin-bottom:8px;}
  .flow-step .t{font-size:14.5px; font-weight:600;}
  .plant-facts{
    display:grid; grid-template-columns:1fr; gap:24px; margin-top:56px;
  }
  @media (min-width:700px){ .plant-facts{grid-template-columns:repeat(3,1fr);} }
  .fact{border-top:1px solid var(--hair); padding-top:16px;}
  .fact .v{font-family:'Josefin Sans'; font-size:26px; font-weight:600;}
  .fact .l{color:var(--muted); font-size:14px; margin-top:4px;}
  .phasing{
    margin-top:56px; padding:28px 0 0; border-top:1px solid var(--hair);
    max-width:70ch; color:var(--muted); font-size:16px;
  }
  .phasing strong{color:var(--ink);}

  /* STANDARDS TABLE */
  .table-scroll{overflow-x:auto; border:1px solid var(--hair); -webkit-overflow-scrolling:touch;}
  table.standards{width:100%; border-collapse:collapse; min-width:640px; font-size:15px;}
  table.standards th{
    text-align:left; font-family:'Josefin Sans'; font-weight:600; font-size:13px;
    letter-spacing:0.06em; text-transform:uppercase; color:var(--muted);
    padding:14px 20px; border-bottom:1px solid var(--hair); background:var(--off);
  }
  table.standards td{
    padding:16px 20px; border-bottom:1px solid var(--hair); vertical-align:top;
  }
  table.standards tr:last-child td{border-bottom:none;}
  .status-pill{
    display:inline-block; font-size:12.5px; font-weight:600; letter-spacing:0.03em;
    padding:3px 10px; border:1px solid var(--hair); border-radius:2px; color:var(--muted);
    white-space:nowrap;
  }
  .foot-note{margin-top:20px; font-size:14px; color:var(--muted); max-width:70ch;}

  /* GROUP BACKING */
  .group-block{max-width:78ch;}
  .group-block p{font-size:18px; color:var(--ink);}
  .group-block p.small{font-size:15px; color:var(--muted); margin-top:20px;}

  /* ENQUIRY BAND */
  .enquiry-band{
    position:relative;
    color:#fff; text-align:left;
    background-color:var(--ink);
    background-image:
      linear-gradient(100deg, rgba(6,6,6,0.92) 0%, rgba(6,6,6,0.82) 45%, rgba(6,6,6,0.68) 100%),
      url("../img/enquiry-bg-yard-dusk.jpg");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    overflow:hidden;
  }
  .enquiry-band .wrap{position:relative; z-index:1;}
  .enquiry-band h2{color:#fff; font-size:30px; max-width:20ch; margin-bottom:20px; line-height:1.35;}
  @media (min-width:640px){ .enquiry-band h2{font-size:38px;} }
  .enquiry-band p{color:#d6d6d6; max-width:56ch; margin-bottom:32px; font-size:17px;}
  .enquiry-band .btn-primary{background:var(--accent);}
  .enquiry-band .btn-text{color:#fff;}

  /* FOOTER */
  footer{border-top:1px solid var(--hair); padding:56px 0 40px;}
  .footer-grid{
    display:grid; grid-template-columns:1fr; gap:32px;
  }
  @media (min-width:760px){ .footer-grid{grid-template-columns:1.4fr 1fr 1fr 1fr;} }
  .footer-grid h4{font-family:'Josefin Sans'; font-size:14px; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); margin-bottom:14px; font-weight:600;}
  .footer-grid ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px;}
  .footer-grid a{color:var(--ink); text-decoration:none; font-size:15px;}
  .footer-grid a:hover{color:var(--accent);}
  .footer-legal{
    margin-top:48px; padding-top:24px; border-top:1px solid var(--hair);
    display:flex; flex-wrap:wrap; gap:8px 24px; justify-content:space-between; align-items:baseline;
    font-size:13.5px; color:var(--muted);
  }
  .footer-legal a{color:var(--muted); text-decoration:underline; text-underline-offset:3px;}

  /* SCROLL REVEAL */
  .reveal{opacity:0; transform:translateY(14px); transition:opacity 500ms cubic-bezier(.22,.61,.36,1), transform 500ms cubic-bezier(.22,.61,.36,1);}
  .reveal.in{opacity:1; transform:translateY(0);}

  /* staggered children within a revealed group (cards, pillars, flow steps) */
  .reveal-stagger .stagger-item{
    opacity:0; transform:translateY(18px);
    transition:opacity 480ms cubic-bezier(.22,.61,.36,1), transform 480ms cubic-bezier(.22,.61,.36,1);
    transition-delay:calc(var(--i, 0) * 80ms);
  }
  .reveal-stagger.in .stagger-item{opacity:1; transform:translateY(0);}
  .reveal-stagger .stagger-row{
    opacity:0; transition:opacity 420ms ease; transition-delay:calc(var(--i, 0) * 55ms);
  }
  .reveal-stagger.in .stagger-row{opacity:1;}

  /* conveyor line draws in under each process step, left to right, in sequence */
  .flow-step{position:relative;}
  .flow-step::after{
    content:''; position:absolute; left:0; bottom:0; height:2px; width:100%;
    background:var(--accent); transform:scaleX(0); transform-origin:left;
    transition:transform 550ms cubic-bezier(.22,.61,.36,1);
    transition-delay:calc(var(--i, 0) * 80ms);
  }
  .reveal-stagger.in .flow-step::after{transform:scaleX(1);}

  /* one-time "spark" flash on the pillar numerals as they enter view */
  @keyframes spark{
    0%{opacity:0; transform:scale(.3);}
    55%{opacity:1; transform:scale(1.25);}
    100%{opacity:1; transform:scale(1);}
  }
  .reveal-stagger.in .pillar .num{
    animation:spark 480ms cubic-bezier(.22,.61,.36,1) both;
    animation-delay:calc(var(--i, 0) * 80ms);
  }

  /* gentle ambient float for the hero's glass panels */
  @keyframes floaty{
    0%, 100%{transform:translateY(0);}
    50%{transform:translateY(-7px);}
  }
  @keyframes rise{
    from{opacity:0; transform:translateY(18px);}
    to{opacity:1; transform:translateY(0);}
  }
  .hero-copy > *{opacity:0; animation:rise 640ms cubic-bezier(.22,.61,.36,1) forwards;}
  .hero-copy > .label{animation-delay:80ms;}
  .hero-copy > h1{animation-delay:200ms;}
  .hero-copy > .hero-sub{animation-delay:360ms;}
  .hero-copy > .hero-actions{animation-delay:500ms;}
  .hero-copy > .hero-stats{animation-delay:620ms;}
  .hero-cards > *{opacity:0; animation:rise 640ms cubic-bezier(.22,.61,.36,1) forwards, floaty 6.5s ease-in-out infinite;}
  .hero-cards > *:nth-child(1){animation-delay:360ms, 1000ms;}
  .hero-cards > *:nth-child(2){animation-delay:500ms, 2400ms;}
  .hero-cards > *:nth-child(3){animation-delay:640ms, 3800ms;}

  /* status dot beside the hero eyebrow label */
  .status-dot{
    display:inline-block; width:7px; height:7px; border-radius:50%;
    background:var(--accent-light); margin-right:8px; position:relative; top:-1px;
  }
  .status-dot::after{
    content:''; position:absolute; inset:-4px; border-radius:50%;
    border:1px solid var(--accent-light); opacity:0;
    animation:ping 2.6s cubic-bezier(.22,.61,.36,1) infinite;
  }
  @keyframes ping{
    0%{opacity:.55; transform:scale(.6);}
    75%{opacity:0; transform:scale(1.9);}
    100%{opacity:0; transform:scale(1.9);}
  }

  /* HOVER MICRO-INTERACTIONS */
  .btn-primary{transition:background 160ms ease, transform 160ms ease;}
  .btn-primary:hover{transform:translateY(-2px);}
  .icon-btn svg{transition:transform 220ms ease;}
  .icon-btn:hover svg{transform:translateX(3px);}

  nav.links a{position:relative; padding-bottom:4px;}
  nav.links a::after{
    content:''; position:absolute; left:0; right:0; bottom:0; height:1.5px;
    background:var(--accent); transform:scaleX(0); transform-origin:left;
    transition:transform 220ms ease;
  }
  nav.links a:hover::after{transform:scaleX(1);}

  .card{transition:transform 220ms ease; position:relative;}
  .card:hover{transform:translateY(-5px); z-index:3;}
  .card-img img{transition:transform 500ms cubic-bezier(.22,.61,.36,1);}
  .card:hover .card-img img{transform:scale(1.06);}
  .card-body .seg-link{display:inline-flex; align-items:center; gap:6px;}
  .card-body .seg-link .arrow{transition:transform 220ms ease; display:inline-block;}
  .card-body .seg-link:hover .arrow{transform:translateX(4px);}

  .pillar{position:relative; transition:background 220ms ease;}
  .pillar::before, .pillar::after{
    content:''; position:absolute; width:16px; height:16px;
    border-color:var(--accent); border-style:solid; opacity:0;
    transition:opacity 220ms ease, transform 220ms ease;
  }
  .pillar::before{top:14px; left:14px; border-width:2px 0 0 2px; transform:translate(6px,6px);}
  .pillar::after{bottom:14px; right:14px; border-width:0 2px 2px 0; transform:translate(-6px,-6px);}
  @media (min-width:760px){
    .pillar::before{left:54px;} .pillar::after{right:54px;}
  }
  .pillar:hover{background:var(--paper);}
  .pillar:hover::before, .pillar:hover::after{opacity:1; transform:translate(0,0);}

  .flow-step{transition:background 200ms ease;}
  .flow-step:hover{background:var(--paper);}
  .flow-step:hover .t{color:var(--accent);}
  .flow-step .t{transition:color 200ms ease;}

  table.standards tr{transition:background 160ms ease;}
  table.standards tbody tr:hover td{background:var(--off);}
  .status-pill{transition:border-color 200ms ease, color 200ms ease;}
  table.standards tbody tr:hover .status-pill{border-color:var(--accent); color:var(--accent);}

  .footer-grid a{position:relative;}
  .footer-grid a::after{
    content:''; position:absolute; left:0; right:0; bottom:-2px; height:1px;
    background:var(--accent); transform:scaleX(0); transform-origin:left;
    transition:transform 200ms ease;
  }
  .footer-grid a:hover::after{transform:scaleX(1);}

  @media (prefers-reduced-motion: reduce){
    .reveal, .reveal-stagger .stagger-item, .reveal-stagger .stagger-row{
      opacity:1; transform:none; transition:none;
    }
    .flow-step::after{transform:scaleX(1); transition:none;}
    .reveal-stagger.in .pillar .num{animation:none;}
    .hero-copy > *, .hero-cards > *{opacity:1; animation:none;}
    .status-dot::after{animation:none; display:none;}
    .card:hover{transform:none;}
    .btn-primary:hover{transform:none;}
    html{scroll-behavior:auto;}
  }

  /* skip link */
  .skip{position:absolute; left:-9999px; top:0; background:#fff; padding:10px 16px; z-index:100;}
  .skip:focus{left:16px; top:16px;}
  :focus-visible{outline:2px solid var(--accent); outline-offset:2px;}

/* ===================== SHARED SUB-PAGE COMPONENTS ===================== */

/* Breadcrumb */
.crumb{font-size:13.5px; color:var(--muted); margin-bottom:20px;}
.crumb a{color:var(--muted); text-decoration:none;}
.crumb a:hover{color:var(--accent);}
.crumb .sep{margin:0 8px; color:var(--hair);}

/* Page hero band (non-homepage) — full-bleed photo, dark overlay, pill breadcrumb */
.page-hero{
  position:relative; overflow:hidden; color:#fff; background:#0c0c0c;
  min-height:340px; display:flex; flex-direction:column; justify-content:center;
  padding-top:76px; padding-bottom:44px;
}
@media (min-width:900px){ .page-hero{min-height:420px; padding-top:96px; padding-bottom:56px;} }
.page-hero-bg{position:absolute; inset:0; z-index:0;}
.page-hero-bg img{width:100%; height:100%; object-fit:cover; display:block;}
.page-hero-scrim{
  position:absolute; inset:0; z-index:1;
  background:
    linear-gradient(100deg, rgba(6,6,6,0.90) 0%, rgba(6,6,6,0.72) 42%, rgba(20,24,64,0.55) 100%),
    linear-gradient(0deg, rgba(6,6,6,0.35) 0%, rgba(6,6,6,0) 45%);
}
.page-hero-inner{position:relative; z-index:2; width:100%;}
.page-hero h1{font-size:34px; line-height:1.10; letter-spacing:0px; max-width:20ch; color:#fff;}
@media (min-width:640px){ .page-hero h1{font-size:46px;} }
.page-hero .lede{color:#dcdad6; font-size:17px; max-width:60ch; margin-top:16px;}

/* Pill breadcrumb inside the hero */
.crumb-pill{
  display:inline-flex; align-items:center; gap:10px;
  border:1px solid rgba(255,255,255,0.32); border-radius:999px;
  padding:11px 24px; margin-top:30px;
  font-size:12.5px; letter-spacing:0.1em; text-transform:uppercase; font-weight:600;
  background:rgba(255,255,255,0.05); backdrop-filter:blur(4px);
}
.crumb-pill .home-ico{display:flex; align-items:center; color:var(--accent-light); flex-shrink:0;}
.crumb-pill a{color:#fff; text-decoration:none;}
.crumb-pill a:hover{color:var(--accent-light);}
.crumb-pill .sep{color:rgba(255,255,255,0.45); margin:0 2px;}
.crumb-pill .current{color:var(--accent-light);}

/* Optional supporting image blocks dropped into otherwise text-heavy sections */
.inline-media{border:1px solid var(--hair); overflow:hidden;}
.inline-media img{width:100%; display:block;}
.text-media{display:grid; grid-template-columns:1fr; gap:40px; align-items:center;}
@media (min-width:900px){ .text-media{grid-template-columns:1.1fr 1fr;} }
.text-media.reverse{direction:rtl;}
.text-media.reverse > *{direction:ltr;}

/* Two-column body layout (spec sidebar + content) */
.split{display:grid; grid-template-columns:1fr; gap:56px;}
@media (min-width:900px){ .split{grid-template-columns:1fr 1.6fr;} }
.spec-list{list-style:none; margin:0; padding:0; border-top:1px solid var(--hair);}
.spec-list li{padding:16px 0; border-bottom:1px solid var(--hair); display:flex; flex-direction:column; gap:4px;}
.spec-list .k{font-size:12.5px; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted); font-weight:600;}
.spec-list .val{font-size:15.5px;}

/* Scope lists (what we supply / customer supplied) */
.scope-grid{display:grid; grid-template-columns:1fr; gap:40px;}
@media (min-width:700px){ .scope-grid{grid-template-columns:1fr 1fr;} }
.scope-col h4{font-family:'Josefin Sans'; font-size:15px; letter-spacing:0.04em; text-transform:uppercase; color:var(--muted); margin-bottom:16px; font-weight:600;}
.scope-col ul{list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px;}
.scope-col li{padding-left:20px; position:relative; font-size:15.5px;}
.scope-col li::before{content:'—'; position:absolute; left:0; color:var(--accent);}

/* Config options table */
table.plain{width:100%; border-collapse:collapse; font-size:15px;}
table.plain th{text-align:left; font-family:'Josefin Sans'; font-weight:600; font-size:13px; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted); padding:12px 0; border-bottom:1px solid var(--hair);}
table.plain td{padding:14px 0; border-bottom:1px solid var(--hair); vertical-align:top; color:var(--ink);}

/* Engineering notes */
.notes-list{list-style:none; margin:0; padding:0; counter-reset:note;}
.notes-list li{counter-increment:note; padding:20px 0 20px 44px; border-top:1px solid var(--hair); position:relative; font-size:15.5px; color:var(--ink);}
.notes-list li:last-child{border-bottom:1px solid var(--hair);}
.notes-list li::before{content:counter(note, decimal-leading-zero); position:absolute; left:0; top:20px; font-family:'Josefin Sans'; font-weight:600; color:var(--accent); font-size:14px;}

/* Product family cross-links */
.family-nav{display:grid; grid-template-columns:1fr; gap:1px; background:var(--hair); border:1px solid var(--hair); margin-top:8px;}
@media (min-width:700px){ .family-nav{grid-template-columns:repeat(4,1fr);} }
.family-nav a{background:var(--paper); padding:18px 20px; text-decoration:none; color:var(--ink); font-size:14.5px; font-weight:600; display:block;}
.family-nav a:hover{background:var(--off); color:var(--accent);}
.family-nav a.active{color:var(--accent); box-shadow:inset 0 -2px 0 var(--accent);}

/* Equipment list (manufacturing) */
.equip-grid{display:grid; grid-template-columns:1fr; gap:1px; background:var(--hair); border:1px solid var(--hair);}
@media (min-width:700px){ .equip-grid{grid-template-columns:1fr 1fr;} }
.equip-item{background:var(--paper); padding:24px 28px;}
.equip-item h4{font-size:16.5px; margin-bottom:6px;}
.equip-item p{color:var(--muted); font-size:15px; margin:0;}

/* Leadership / team grid */
.people-grid{display:grid; grid-template-columns:1fr; gap:40px;}
@media (min-width:640px){ .people-grid{grid-template-columns:repeat(2,1fr);} }
@media (min-width:960px){ .people-grid{grid-template-columns:repeat(3,1fr);} }
.person-photo{aspect-ratio:1/1; background:var(--off); border:1px solid var(--hair); display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:13px; text-align:center; padding:20px;}
.person h3{font-size:17px; margin-top:16px;}
.person .role{color:var(--muted); font-size:14px; margin-top:2px;}

/* Careers roles */
.role-list{display:flex; flex-direction:column; gap:0; border-top:1px solid var(--hair);}
.role{padding:32px 0; border-bottom:1px solid var(--hair); display:grid; grid-template-columns:1fr; gap:16px;}
@media (min-width:760px){ .role{grid-template-columns:2fr 1fr; align-items:start;} }
.role h3{font-size:20px; margin-bottom:6px;}
.role .meta{color:var(--muted); font-size:14px; margin-bottom:14px;}
.role ul{margin:0; padding-left:20px; color:var(--ink); font-size:15px; display:flex; flex-direction:column; gap:6px;}
.role-cta{display:flex; align-items:flex-start; justify-content:flex-start;}
@media (min-width:760px){ .role-cta{justify-content:flex-end;} }

/* Form styling */
.form-grid{display:grid; grid-template-columns:1fr; gap:20px;}
@media (min-width:640px){ .form-grid.two{grid-template-columns:1fr 1fr;} }
.field{display:flex; flex-direction:column; gap:8px;}
.field.full{grid-column:1/-1;}
.field label{font-size:13.5px; font-weight:600; color:var(--ink);}
.field .opt{font-weight:400; color:var(--muted);}
.field input[type=text], .field input[type=email], .field input[type=tel], .field select, .field textarea{
  font-family:'Albert Sans', sans-serif; font-size:15.5px; padding:12px 14px;
  border:1px solid var(--hair); border-radius:2px; background:var(--paper); color:var(--ink);
  width:100%;
}
.field textarea{resize:vertical; min-height:110px;}
.field input:focus, .field select:focus, .field textarea:focus{outline:2px solid var(--accent); outline-offset:1px; border-color:var(--accent);}
.checkbox-row{display:flex; align-items:flex-start; gap:10px; font-size:14.5px; color:var(--muted);}
.checkbox-row input{margin-top:4px;}
.form-panel{border:1px solid var(--hair); padding:36px;}
@media (min-width:700px){ .form-panel{padding:48px;} }
.path-toggle{display:flex; gap:0; border:1px solid var(--hair); width:fit-content; margin-bottom:40px; border-radius:2px; overflow:hidden;}
.path-toggle a{padding:12px 22px; font-size:14.5px; font-weight:600; text-decoration:none; color:var(--muted);}
.path-toggle a.active{background:var(--ink); color:#fff;}
.contact-facts{display:grid; grid-template-columns:1fr; gap:32px; margin-top:56px; padding-top:40px; border-top:1px solid var(--hair);}
@media (min-width:700px){ .contact-facts{grid-template-columns:repeat(3,1fr);} }
.contact-facts h4{font-size:13px; text-transform:uppercase; letter-spacing:0.08em; color:var(--muted); margin-bottom:10px; font-weight:600; font-family:'Josefin Sans';}
.contact-facts p{margin:0; font-size:15.5px;}

/* Legal / plain text pages */
.prose{max-width:78ch;}
.prose h2{font-size:22px; margin-top:44px; margin-bottom:14px;}
.prose h2:first-child{margin-top:0;}
.prose p{margin:0 0 16px; color:var(--ink); font-size:16px;}
.prose ul{margin:0 0 16px; padding-left:22px; color:var(--ink); font-size:16px;}
.prose li{margin-bottom:8px;}
.prose .muted{color:var(--muted); font-size:14.5px;}

/* Confirm/placeholder inline tag used sparingly on internal-facing notes */
.tbd{font-size:12px; font-weight:600; color:var(--accent); border:1px solid var(--accent-light); padding:2px 8px; border-radius:2px; white-space:nowrap;}

/* ===================== ABOUT PAGE EXTRAS (structure ref: intro+stats, journey, benefits) ===================== */
.stat-row{display:flex; flex-wrap:wrap; border:1px solid var(--hair); max-width:560px; margin-top:28px;}
.stat-row .stat{padding:18px 26px; flex:1 1 140px; border-right:1px solid var(--hair);}
.stat-row .stat:last-child{border-right:none;}
.stat-row .v{font-family:'Josefin Sans'; font-size:24px; font-weight:600;}
.stat-row .l{font-size:13px; color:var(--muted); margin-top:4px;}

.intro-highlights{display:grid; grid-template-columns:1fr; gap:1px; background:var(--hair); border:1px solid var(--hair); margin-top:8px;}
@media (min-width:600px){ .intro-highlights{grid-template-columns:1fr 1fr;} }
.intro-highlight{background:var(--paper); padding:26px;}
.intro-highlight h4{font-size:16px; margin-bottom:8px;}
.intro-highlight p{color:var(--muted); font-size:14.5px; margin:0 0 14px;}
.intro-highlight a{font-size:13.5px; font-weight:600;}

.journey-grid{display:grid; grid-template-columns:1fr; gap:1px; background:var(--hair); border:1px solid var(--hair);}
@media (min-width:700px){ .journey-grid{grid-template-columns:repeat(2,1fr);} }
.journey-item{background:var(--paper); padding:28px;}
.journey-item .num{font-family:'Josefin Sans'; font-weight:600; color:var(--accent); font-size:13px; letter-spacing:0.12em; display:block; margin-bottom:10px;}
.journey-item h4{font-size:17px; margin-bottom:8px;}
.journey-item p{color:var(--muted); font-size:15px; margin:0;}


/* ---- Logo red: interaction, numbering and active states ---- */
nav.links a:hover, .dropdown-menu a:hover, .footer-grid a:hover, .btn-text:hover, .family-nav a:hover, .crumb a:hover, .flow-step:hover .t{color:var(--red-text);}
.flow-step::after, nav.links a::after, .footer-grid a::after{background:var(--red);}
.pillar .num, .flow-step .n, .journey-item .num, .notes-list li::before, .scope-col li::before, .tbd{color:var(--red-text);}
.tbd{border-color:var(--red-text);}
.family-nav a.active{box-shadow:inset 0 -2px 0 var(--red);}
table.standards tbody tr:hover .status-pill{border-color:var(--red-text); color:var(--red-text);}
.field input:focus, .field select:focus, .field textarea:focus{border-color:var(--red-text);}

/* ---- Primary buttons: logo blue everywhere (header, bands, forms); logo red only inside the hero ---- */
.btn-primary, .enquiry-band .btn-primary{background:var(--accent); color:#fff;}
.btn-primary:hover, .enquiry-band .btn-primary:hover{background:var(--accent-dim);}
.hero .btn-primary{background:var(--red-text);}   /* #d80000: 5.9:1 with white text */
.hero .btn-primary:hover{background:#b30000;}
.btn-primary:focus-visible{outline:2px solid #fff; outline-offset:3px; box-shadow:0 0 0 5px var(--accent);}
.hero .btn-primary:focus-visible{box-shadow:0 0 0 5px var(--red-text);}

/* ---- Hero stat strip: keep every stat to value + one label line ---- */
.hero-stat{padding:20px 22px;}
.hero-stat:nth-child(2){flex:2 1 280px;}
@media (min-width:640px){ .hero-stat .l{white-space:nowrap;} }

/* ---- Process flow: 10 steps as 5 x 2 ---- */
@media (min-width:420px){ .flow{grid-template-columns:repeat(2,1fr);} }
@media (min-width:700px){ .flow{grid-template-columns:repeat(5,1fr);} }
@media (min-width:1000px){ .flow{grid-template-columns:repeat(5,1fr);} }
.flow-step:nth-child(5n){border-right:none;}
@media (min-width:700px){ .flow-step{border-bottom:1px solid var(--hair);} }
/* the Manufacturing page lists 11 steps: keep it at 6 + 5 so there is no lone orphan row */
@media (min-width:1000px){
  .flow:has(.flow-step:nth-child(11)){grid-template-columns:repeat(6,1fr);}
  .flow:has(.flow-step:nth-child(11)) .flow-step:nth-child(5n){border-right:1px solid var(--hair);}
  .flow:has(.flow-step:nth-child(11)) .flow-step:nth-child(6n){border-right:none;}
}

/* ---- Home: Group backing — aligned to the page grid, statement-style lead ---- */
.group-block{max-width:none; display:grid; grid-template-columns:1fr; gap:0;}
.group-block .label{margin-bottom:24px;}
.group-block p{max-width:34em; margin:0;}
.group-block p:not(.small){font-family:'Josefin Sans',sans-serif; font-weight:500; font-size:clamp(22px,2.3vw,30px); line-height:1.42; letter-spacing:-.2px; color:var(--ink);}
.group-block p.small{font-family:'Albert Sans',sans-serif; font-size:16.5px; line-height:1.65; max-width:62ch; margin-top:28px; color:var(--muted);}
.group-block p.small a{color:var(--accent); font-weight:600;}
@media (min-width:900px){
  .group-block{grid-template-columns:minmax(180px,1fr) 3fr; column-gap:48px; align-items:start;}
  .group-block .label{grid-column:1; margin-bottom:0; padding-top:10px;}
  .group-block p{grid-column:2;}
}

/* ---- Home: enquiry band (this section only) ---- */
.enquiry-band h2{max-width:32ch; font-weight:700;}
@media (min-width:900px){
  .section.enquiry-band{padding-top:70px; padding-bottom:60px;}
}
