/*
Theme Name: NovaQuest
Theme URI: https://novaquestltd.com
Author: NovaQuest Ltd
Description: Single-page landing theme for NovaQuest Ltd.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: novaquest
*/

  :root{
    --ink:#000000;
    --paper:#ffffff;
    --grey:#5c5c5c;
    --line:#e6e6e6;
    --tint:#f3f3f3;
    --signal:#2140e6;
    --rule:3px;
    --gutter:clamp(20px,4vw,56px);
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  @media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
  body{
    font-family:"Archivo",system-ui,sans-serif;
    font-stretch:100%;
    color:var(--ink);background:var(--paper);
    line-height:1.55;font-size:17px;
    -webkit-font-smoothing:antialiased;
  }
  a{color:inherit}
  img{max-width:100%;display:block}
  .wrap{max-width:1200px;margin:0 auto;padding:0 var(--gutter)}

  /* Display type echoes the logo: wide, heavy, italic */
  .display{
    font-stretch:125%;font-weight:900;font-style:italic;
    letter-spacing:-.02em;line-height:.95;text-transform:uppercase;
  }
  h2.display{font-size:clamp(28px,4vw,44px);margin-bottom:28px}

  /* Header */
  header{border-bottom:var(--rule) solid var(--ink);background:var(--paper);position:sticky;top:0;z-index:10}
  .nav{display:flex;align-items:center;justify-content:space-between;height:76px}
  .nav img{height:40px;width:auto}
  .nav nav{display:flex;gap:28px;font-weight:500}
  .nav nav a{text-decoration:none;padding:6px 0;border-bottom:2px solid transparent}
  .nav nav a:hover,.nav nav a:focus-visible{border-bottom-color:var(--ink);outline:none}
  .nav .cta{border:2px solid var(--ink);padding:8px 16px;border-bottom:2px solid var(--ink)}
  .nav .cta:hover{background:var(--ink);color:var(--paper)}
  @media (max-width:640px){.nav nav a:not(.cta){display:none}}

  /* Hero: one boxed statement, like the logo lock-up */
  .hero{padding:clamp(56px,9vw,120px) 0 clamp(48px,7vw,96px)}
  .hero .display{
    font-size:clamp(40px,8.5vw,116px);
    border:var(--rule) solid var(--ink);
    padding:.18em .22em .14em;
    display:inline-block;max-width:100%;
  }
  .hero-row{display:grid;grid-template-columns:1fr 1fr;gap:var(--gutter);margin-top:40px;align-items:end}
  .hero-row p{font-size:clamp(18px,1.6vw,21px);max-width:34em;color:var(--ink)}
  .hero-row .actions{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}
  @media (max-width:800px){.hero-row{grid-template-columns:1fr}.hero-row .actions{justify-content:flex-start}}

  .btn{
    display:inline-block;text-decoration:none;font-weight:500;
    padding:14px 22px;border:2px solid var(--ink);background:var(--ink);color:var(--paper);
    cursor:pointer;font:inherit;font-weight:500;
  }
  .btn:hover,.btn:focus-visible{background:var(--signal);border-color:var(--signal);outline:none}
  .btn.ghost{background:transparent;color:var(--ink)}
  .btn.ghost:hover,.btn.ghost:focus-visible{background:var(--ink);color:var(--paper);border-color:var(--ink)}

  /* Sections separated by the same heavy rule */
  section{border-top:var(--rule) solid var(--ink);padding:clamp(56px,7vw,96px) 0}

  /* Services: a ruled grid, not cards */
  .services{display:grid;grid-template-columns:repeat(2,1fr);border:var(--rule) solid var(--ink)}
  .service{padding:32px;border-right:var(--rule) solid var(--ink);border-bottom:var(--rule) solid var(--ink)}
  .service:nth-child(2n){border-right:0}
  .service:nth-last-child(-n+2){border-bottom:0}
  .service h3{font-size:22px;font-weight:800;font-stretch:125%;font-style:italic;letter-spacing:-.01em;margin-bottom:12px;line-height:1.1}
  .service p{color:var(--grey);max-width:32em}
  .service ul{margin-top:14px;padding-left:1.1em;color:var(--ink)}
  .service li{margin:4px 0}
  @media (max-width:760px){
    .services{grid-template-columns:1fr}
    .service{border-right:0 !important;border-bottom:var(--rule) solid var(--ink)}
    .service:last-child{border-bottom:0}
  }

  /* How we work: 3 facts, left aligned, no numbers */
  .facts{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--gutter)}
  .facts h3{font-size:19px;font-weight:800;margin-bottom:8px}
  .facts p{color:var(--grey)}
  @media (max-width:760px){.facts{grid-template-columns:1fr;gap:32px}}

  /* Contact */
  .contact{display:grid;grid-template-columns:2fr 3fr;gap:var(--gutter)}
  .contact .aside p{color:var(--grey);max-width:28em;margin-bottom:20px}
  .contact .aside a{font-weight:500}
  form{display:grid;grid-template-columns:1fr 1fr;gap:18px}
  .field{display:flex;flex-direction:column;gap:6px}
  .field.full{grid-column:1/-1}
  label{font-weight:500;font-size:15px}
  input,textarea{
    font:inherit;padding:12px 14px;border:2px solid var(--ink);background:var(--paper);
    border-radius:0;width:100%;
  }
  textarea{min-height:140px;resize:vertical}
  input:focus,textarea:focus{outline:3px solid var(--signal);outline-offset:2px}
  .hint{font-size:14px;color:var(--grey);grid-column:1/-1}
  @media (max-width:800px){.contact{grid-template-columns:1fr}form{grid-template-columns:1fr}.field.full{grid-column:auto}}

  /* Footer */
  footer{border-top:var(--rule) solid var(--ink);background:var(--tint);padding:36px 0;font-size:14px;color:var(--grey)}
  footer .wrap{display:flex;justify-content:space-between;gap:24px;flex-wrap:wrap;align-items:center}
  footer img{height:28px;width:auto}

.notice-bar{border:2px solid var(--ink);padding:14px 18px;margin-bottom:24px;font-weight:500}
.notice-bar.ok{background:var(--ink);color:var(--paper)}
.honey{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.skip{position:absolute;left:-9999px}.skip:focus{left:8px;top:8px;background:var(--paper);padding:8px;border:2px solid var(--ink);z-index:99}
.page-content h2{font-size:22px;font-weight:800;font-stretch:125%;font-style:italic;margin:32px 0 10px}
.page-content p{margin-bottom:16px;max-width:70ch}
