/* ---------------------------------------------------------------------------------------
   Senes Visual, the company page (2026-09-18).

   Loaded AFTER style.css. style.css carries a block copied verbatim from features-overview.html
   that must not be edited, so everything this page adds lives here instead: the headline, the
   figures, the grid of problems already solved, and the list of work taken on.
   --------------------------------------------------------------------------------------- */

  /* The headline. The wordmark stays the h1; this is the sentence the company stands on. */
  .statement{
    font-family:"Bricolage Grotesque","Public Sans",sans-serif;
    font-weight:800;font-size:clamp(34px,6.2vw,72px);
    line-height:1.0;letter-spacing:-.03em;color:#FFF;
    margin:34px 0 22px;max-width:15ch;
  }
  .statement em{font-style:normal;color:var(--income)}

  /* ---- the figures ------------------------------------------------------------------------ */
  .figures{
    display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
    gap:1px;background:var(--line);border:1px solid var(--line);border-radius:12px;
    overflow:hidden;margin:0 0 10px;
  }
  .figures div{background:rgba(13,16,21,.86);padding:22px 20px 20px}
  .figures b{
    display:block;font-family:"Bricolage Grotesque","Public Sans",sans-serif;
    font-weight:800;font-size:clamp(30px,3.6vw,44px);line-height:1;letter-spacing:-.02em;
    color:#FFF;margin-bottom:8px;
  }
  .figures span{display:block;font-size:14px;line-height:1.45;color:var(--muted)}
  .figures .accent b{color:var(--income)}
  .measured{font-family:"JetBrains Mono",monospace;font-size:11px;color:var(--dim);margin:0 0 8px}
  @media (max-width:900px){ .figures{grid-template-columns:repeat(2,minmax(0,1fr))} }

  /* ---- problems already solved: two columns of the existing .feat blocks -------------------- */
  .solved{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:44px}
  .solved .feat{margin-bottom:40px}
  .solved .feat h3{font-size:clamp(20px,2.2vw,24px)}
  @media (max-width:800px){ .solved{grid-template-columns:minmax(0,1fr)} }

  /* ---- the flagship pictures, side by side on a desktop ----------------------------------- */
  .pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:6px 0 14px}
  .pair figure{margin:0}
  @media (max-width:800px){ .pair{grid-template-columns:minmax(0,1fr)} }

  .go{
    display:inline-block;margin:6px 0 0;font-weight:500;color:var(--income);
    text-decoration:none;border-bottom:1px solid rgba(63,182,139,.4);
  }
  .go:hover{border-bottom-color:var(--income)}

  /* ---- what we take on --------------------------------------------------------------------- */
  .takeon{list-style:none;margin:0 0 18px;padding:0;display:grid;
    grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px}
  .takeon li{
    border:1px solid var(--line);border-radius:10px;padding:16px 18px;
    background:rgba(17,22,30,.82);color:#C7D2E0;font-size:15px;line-height:1.5;
  }
  .takeon li b{display:block;color:#FFF;font-weight:600;margin-bottom:4px;font-size:16px}

  .contact{
    font-family:"Bricolage Grotesque","Public Sans",sans-serif;font-weight:700;
    font-size:clamp(22px,3vw,32px);margin:0 0 8px;
  }
  .contact a{color:#FFF;text-decoration:none;border-bottom:2px solid var(--income)}

/* =========================================================================================
   THE FRONT PAGE (2026-09-18). Steve: "it's not a front page... What you just gave me is more of
   a study into a product... it needs to be a sub-page." So the figures and the eight problems moved
   to engineering.html, and the front page is a company's front page: who we are, the product,
   what we believe, how to work with us.
   ========================================================================================= */

  /* ---- the bar across the top, on every page ---------------------------------------------- */
  .bar{position:sticky;top:0;z-index:20;background:rgba(13,16,21,.82);
    backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}
  .bar .wrap{display:flex;align-items:center;gap:24px;height:64px}
  .bar .mark img{display:block;height:30px;width:auto}
  .bar nav{margin-left:auto;display:flex;align-items:center;gap:26px}
  .bar nav a{color:var(--muted);text-decoration:none;font-size:14.5px;font-weight:400}
  .bar nav a:hover,.bar nav a[aria-current]{color:#FFF}
  .bar nav a.cta{color:#0D1015;background:var(--income);font-weight:600;padding:8px 16px;border-radius:8px}
  .bar nav a.cta:hover{color:#0D1015;filter:brightness(1.08)}
  @media (max-width:720px){ .bar nav a:not(.cta){display:none} .bar .mark img{height:24px} }

  .btn{display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:10px;
    font-weight:600;font-size:15.5px;text-decoration:none;transition:filter .15s,background .15s}
  .btn.primary{background:var(--income);color:#0D1015}
  .btn.primary:hover{filter:brightness(1.08)}
  .btn.ghost{color:#FFF;border:1px solid #3A4557;background:rgba(17,22,30,.6)}
  .btn.ghost:hover{background:rgba(37,45,58,.8)}
  .btns{display:flex;flex-wrap:wrap;gap:12px}

  /* ---- the hero ----------------------------------------------------------------------------- */
  /* NO GLOWS (Steve, 2026-09-18): colored radial washes and halos read as generated design. The
     hero, the product frame and the closing call are flat; the watermark does that work. */
  .hero{padding:clamp(70px,13vh,150px) 0 clamp(60px,10vh,110px);text-align:center}
  .hero .eyebrow{margin-bottom:22px}
  /* THE LOGO LEADS (Steve, 2026-09-18): large and above the headline, which was tamed so the mark
     is the first thing the eye lands on. */
  /* 672px is the first 560 plus the 20% Steve asked for, with 50px more under it, 2026-09-18. On a
     phone it stops at the width of the text column so it never runs off the edge. */
  .hero .hero-mark{display:block;width:min(100%,672px);height:auto;margin:0 auto calc(clamp(34px,6vh,60px) + 50px)}
  /* Two lines, each held on one line. Steve: "we don't improve the tools" on one line "a little
     wider than the logo". Sized so the first line runs about 15% wider than the mark above it. */
  .hero h1.big{font-family:"Bricolage Grotesque","Public Sans",sans-serif;font-weight:800;
    font-size:clamp(20px,6.4vw,54px);line-height:1.08;letter-spacing:-.025em;color:#FFF;
    margin:0 auto 24px}
  .hero h1.big span,.hero h1.big em{display:block;white-space:nowrap}
  .hero h1.big em{font-style:normal;color:var(--income)}
  .hero .sub{max-width:40rem;margin:0 auto 34px;color:#C3CDDA;font-size:clamp(17px,1.6vw,20px);line-height:1.55}
  .hero .btns{justify-content:center}

  /* ---- the product spotlight ---------------------------------------------------------------- */
  .spot{padding:clamp(60px,9vh,110px) 0;border-top:1px solid var(--line)}
  .spot .intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:48px;align-items:end;margin-bottom:40px}
  .spot .kicker{font-family:"JetBrains Mono",monospace;font-size:11px;letter-spacing:.18em;
    text-transform:uppercase;color:var(--income);margin:0 0 18px}
  .spot .logo{display:block;height:auto;width:min(100%,460px);margin:0 0 20px}
  .spot h2{font-family:"Bricolage Grotesque","Public Sans",sans-serif;font-weight:800;
    font-size:clamp(30px,4.2vw,52px);line-height:1.02;letter-spacing:-.025em;color:#FFF;margin:0}
  .spot .intro p{color:#C3CDDA;font-size:17px;line-height:1.6;margin:0 0 22px}
  .spot .frame{position:relative;border-radius:14px;border:1px solid #2A3342}
  .spot .frame img{display:block;width:100%;height:auto;border-radius:13px;background:#000}
  .editions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:28px}
  /* A button centers its content vertically, so a card with a one line description sat lower than
     its neighbors. A column starting at the top keeps all three titles on one line. */
  .editions button{all:unset;box-sizing:border-box;cursor:pointer;display:flex;flex-direction:column;
    justify-content:flex-start;text-align:left;
    border:1px solid var(--line);border-radius:12px;padding:18px 20px;background:rgba(17,22,30,.75);
    transition:border-color .15s,background .15s,box-shadow .15s}
  .editions button:hover{border-color:#3A4557;background:rgba(24,30,40,.9)}
  .editions button:focus-visible{outline:2px solid var(--income);outline-offset:3px}
  .editions button[aria-pressed="true"]{border-color:var(--income);background:rgba(63,182,139,.08)}
  .editions button[aria-pressed="true"] b{color:var(--income)}
  .spot .frame img{transition:opacity .16s ease}
  .spot .frame img.swapping{opacity:0}
  .editions b{display:block;color:#FFF;font-weight:600;font-size:16.5px;margin-bottom:4px}
  .editions span{color:var(--muted);font-size:14.5px;line-height:1.5}
  @media (max-width:860px){
    .spot .intro{grid-template-columns:minmax(0,1fr);gap:8px}
    .editions{grid-template-columns:minmax(0,1fr)}
  }

  /* ---- three beliefs ------------------------------------------------------------------------ */
  .band2{padding:clamp(60px,9vh,110px) 0;border-top:1px solid var(--line)}
  .band2 .head{max-width:44rem;margin:0 0 40px}
  .band2 .head h2{font-family:"Bricolage Grotesque","Public Sans",sans-serif;font-weight:800;
    font-size:clamp(28px,3.8vw,46px);line-height:1.04;letter-spacing:-.025em;color:#FFF;margin:0 0 14px}
  .band2 .head p{color:#C3CDDA;font-size:17px;line-height:1.6;margin:0}
  .beliefs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
  .beliefs div{border-top:2px solid var(--accent);padding-top:20px}
  .beliefs h3{font-family:"Bricolage Grotesque","Public Sans",sans-serif;font-weight:700;
    font-size:22px;line-height:1.15;color:#FFF;margin:0 0 10px}
  .beliefs p{color:#AEB9C8;font-size:15.5px;line-height:1.6;margin:0}
  @media (max-width:860px){ .beliefs{grid-template-columns:minmax(0,1fr);gap:30px} }

  /* ---- work with us ------------------------------------------------------------------------- */
  .work{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:center}
  .work ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
  .work li{display:flex;gap:14px;align-items:baseline;border:1px solid var(--line);border-radius:10px;
    padding:14px 18px;background:rgba(17,22,30,.75);color:#DCE4EE;font-size:15.5px}
  .work li::before{content:"";flex:0 0 8px;height:8px;border-radius:50%;background:var(--income);transform:translateY(-1px)}
  @media (max-width:860px){ .work{grid-template-columns:minmax(0,1fr);gap:28px} }

  /* ---- the closing call and the footer ------------------------------------------------------ */
  .close{text-align:center;padding:clamp(70px,11vh,130px) 0;border-top:1px solid var(--line)}
  .close h2{font-family:"Bricolage Grotesque","Public Sans",sans-serif;font-weight:800;
    font-size:clamp(30px,5vw,60px);line-height:1;letter-spacing:-.03em;color:#FFF;margin:0 0 18px}
  .close p{color:#C3CDDA;font-size:17px;margin:0 0 30px}
  .close .btns{justify-content:center}
  .foot{border-top:1px solid var(--line);padding:30px 0 40px;color:var(--dim);font-size:13.5px}
  .foot .wrap{display:flex;flex-wrap:wrap;gap:14px 28px;align-items:center}
  .foot img{height:22px;width:auto;opacity:.8}
  .foot nav{display:flex;gap:22px;margin-left:auto}
  .foot a{color:var(--muted);text-decoration:none}
  .foot a:hover{color:#FFF}

  /* The engineering page keeps style.css's masthead, but sits under the same bar. */
  body.eng header.top{padding-top:34px}

  /* THE WATERMARK IS CENTERED on every width (Steve, 2026-09-18). style.css set it off the right
     edge on a desktop and centered only below 700px; this overrides the desktop half. */
  .watermark{left:50%;right:auto;transform:translate(-50%,-50%);
    opacity:.35}   /* about 56% of style.css's .62: dimmed twice at Steve's word, 2026-09-18 */

  /* The email address under the footer's logo, small (Steve, 2026-09-18). */
  .foot .foot-id{display:flex;flex-direction:column;align-items:center;gap:8px}
  /* On a phone the four footer links wrapped mid-name ("How we / build"); keep each whole. */
  .foot nav{flex-wrap:wrap;gap:10px 22px}
  .foot nav a{white-space:nowrap}
  .foot .foot-id a{font-size:12.5px;color:var(--dim)}
  .foot .foot-id a:hover{color:#FFF}

/* ---- How we build (engineering.html), 2026-09-18 ------------------------------------------ */
  /* The opening is centered, with 40px between the headline and the text under it. */
  body.eng .masthead{text-align:center}
  body.eng .masthead .statement{margin:14px auto 40px;max-width:18ch}
  body.eng .masthead .lede{margin-left:auto;margin-right:auto}

  .bigclaim{margin:6px 0 30px}
  .bigclaim .big{font-family:"Bricolage Grotesque","Public Sans",sans-serif;font-weight:800;
    font-size:clamp(28px,4.4vw,54px);line-height:1.04;letter-spacing:-.025em;color:#FFF;margin:0 0 14px}
  .bigclaim .big em{font-style:normal;color:var(--income)}
  .bigclaim .claim{font-size:17px;line-height:1.6;color:#C7D2E0;margin:0;max-width:var(--measure)}
  .figures + .measured + .solved{margin-top:36px}
  .measured a{text-decoration:underline}

  .pair.three{grid-template-columns:repeat(3,minmax(0,1fr))}
  @media (max-width:800px){ .pair.three{grid-template-columns:minmax(0,1fr)} }
