/* ============================================================
   Prash AI Solutions
   Type : Archivo (system voice)  /  Newsreader (human voice)
   Colour: one house accent; product signals confined to #products
   ============================================================ */

:root{
  --ink:      #131A24;
  --ink-2:    #46505F;
  --ink-3:    #5F6975;   /* AA on paper, paper-2 and card at 12px */
  --paper:    #EAECEF;
  --paper-2:  #F1F3F5;
  --card:     #FFFFFF;
  --rule:     #D2D6DC;

  --house:    #0B5D62;   /* Prash petrol — the corporate accent */

  --gtp:      #C62E62;   /* GameTheParty       */
  --hom:      #9E650F;   /* Homeopathy Advisor */
  --rea:      #2F52C8;   /* ReadEase           */

  --signal:   var(--ink);

  --shell:    1180px;
  --gutter:   clamp(1.25rem, 4vw, 2.5rem);

  --sans: "Archivo", system-ui, -apple-system, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--serif);
  font-size:clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height:1.66;
  font-optical-sizing:auto;
  -webkit-font-smoothing:antialiased;
}

h1,h2,h3{ margin:0; font-family:var(--sans); font-weight:600; line-height:1.05; }
p{ margin:0; }
img{ max-width:100%; display:block; }
a{ color:inherit; }

:focus-visible{ outline:2px solid var(--ink); outline-offset:3px; border-radius:2px; }

.u-hidden{
  position:absolute; width:1px; height:1px;
  margin:-1px; padding:0; overflow:hidden;
  clip:rect(0 0 0 0); clip-path:inset(50%); white-space:nowrap;
}

.skip{
  position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--ink); color:var(--paper);
  padding:.75rem 1.15rem; font-family:var(--sans); font-size:.85rem;
}
.skip:focus{ left:.75rem; top:.75rem; }

.shell{
  width:100%; max-width:var(--shell);
  margin-inline:auto;
  padding-inline:var(--gutter);
}

/* ── shared type roles ────────────────────────────────────── */

.label{
  font-family:var(--sans);
  font-size:.7rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.16em;
  color:var(--ink-3);
  font-variation-settings:"wdth" 105;
}
.label--invert{ color:rgba(234,236,239,.66); }

.prose{ color:var(--ink-2); max-width:54ch; font-size:1.02rem; }

/* ── masthead ─────────────────────────────────────────────── */

.masthead{
  position:sticky; top:0; z-index:50;
  background:color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter:saturate(1.4) blur(12px);
  border-bottom:1px solid transparent;
  transition:border-color .25s var(--ease), background .25s var(--ease);
}
.masthead[data-stuck="true"]{
  border-bottom-color:var(--rule);
  background:color-mix(in srgb, var(--paper) 94%, transparent);
}
.masthead__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:1.5rem; min-height:70px;
}

.wordmark{ display:inline-flex; align-items:baseline; gap:.5rem; text-decoration:none; color:var(--ink); }
.wordmark__name{
  font-family:var(--sans); font-weight:800; font-size:1.06rem;
  letter-spacing:.02em; font-variation-settings:"wdth" 118;
}
.wordmark__suffix{
  font-family:var(--sans); font-weight:500; font-size:.72rem;
  text-transform:uppercase; letter-spacing:.15em;
  color:var(--ink-3); font-variation-settings:"wdth" 100;
}

.nav{
  display:flex; align-items:center; gap:1.6rem;
  font-family:var(--sans); font-size:.86rem; font-weight:500;
}
.nav a{ text-decoration:none; color:var(--ink-2); transition:color .18s var(--ease); }
.nav a:hover{ color:var(--ink); }

/* needs .nav to out-specify `.nav a` above — no !important */
.nav .nav__cta{
  border:1px solid var(--rule);
  padding:.5rem .95rem;
  color:var(--ink);
  transition:border-color .18s var(--ease), background .18s var(--ease);
}
.nav .nav__cta:hover{ border-color:var(--ink); background:var(--card); }

.menubtn{
  display:none;
  appearance:none; cursor:pointer;
  background:transparent;
  border:1px solid var(--rule);
  padding:.5rem .95rem;
  font-family:var(--sans); font-size:.82rem; font-weight:600;
  letter-spacing:.06em; text-transform:uppercase;
  color:var(--ink);
}

/* drop links one at a time while they still fit inline */
@media (max-width:1040px) and (min-width:681px){
  .nav{ gap:1.2rem; font-size:.82rem; }
  .nav a[href="#segments"]{ display:none; }
}
@media (max-width:860px) and (min-width:681px){
  .nav a[href="#process"]{ display:none; }
}

/* below that, the full set moves into a disclosure panel */
@media (max-width:680px){
  .wordmark__suffix{ display:none; }
  .menubtn{ display:inline-flex; }

  .nav{
    display:none;
    position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:stretch; gap:0;
    background:var(--paper);
    border-bottom:1px solid var(--rule);
    padding:0 var(--gutter) 1.25rem;
    font-size:.95rem;
  }
  .nav[data-open="true"]{ display:flex; }
  .nav a{ padding:.9rem 0; border-top:1px solid var(--rule); color:var(--ink); }
  .nav .nav__cta{
    justify-content:center;
    margin-top:1rem;
    border:1px solid var(--ink);
    background:var(--ink); color:var(--paper);
    padding:.85rem 1rem;
  }
  .nav .nav__cta:hover{ background:var(--ink); }
}

/* ── hero ─────────────────────────────────────────────────── */

.hero{ padding-block:clamp(3.25rem, 8vw, 6.5rem) clamp(3rem, 7vw, 5.5rem); }

.hero__grid{
  display:grid;
  grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
  gap:clamp(2.5rem, 5vw, 4.5rem);
  align-items:center;
}
@media (max-width:900px){
  .hero__grid{ grid-template-columns:minmax(0,1fr); gap:2.75rem; }
}

.hero__figure{ margin:0; }
.hero__figure svg{ display:block; width:100%; height:auto; }
.hero__caption{
  margin-top:1.15rem;
  font-family:var(--sans);
  font-size:.82rem; line-height:1.5;
  color:var(--ink-3);
  max-width:34ch;
}

.wk-mute{ fill:var(--rule); }
/* visible by default; the keyframe only animates the entrance, so a
   dropped or blocked animation can never leave these blocks hidden */
.wk-hi{ fill:var(--house); animation:wkIn .55s var(--ease) backwards; }
.wk-base{ stroke:var(--ink-3); stroke-width:1; }
/* mirrors the SVG plot geometry: columns start at 30/480 and are 66 wide
   on an 88 pitch, so the labels sit dead centre under each day */
.wk-days{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  column-gap:5.2632%;
  padding-left:6.25%;
  padding-right:6.6667%;
  margin-top:.7rem;
}
.wk-days span{
  text-align:center;
  font-family:var(--sans);
  font-size:.72rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.13em;
  color:var(--ink-3);
}
@keyframes wkIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:none; } }
@media (prefers-reduced-motion: reduce){ .wk-hi{ animation:none; } }

.hero__head{
  margin-top:1.1rem;
  font-size:clamp(2.1rem, 4.6vw, 3.7rem);
  font-weight:700;
  line-height:1.02;
  letter-spacing:-.028em;
  font-variation-settings:"wdth" 110;
  max-width:17ch;
  text-wrap:balance;
}
.hero__body{
  margin-top:1.4rem;
  color:var(--ink-2);
  font-size:clamp(1.05rem, 1.6vw, 1.19rem);
  max-width:56ch;
}

.btnrow{ display:flex; flex-wrap:wrap; gap:.7rem; margin-top:2rem; }

.btn{
  display:inline-flex; align-items:center;
  font-family:var(--sans); font-size:.87rem; font-weight:600;
  letter-spacing:.01em;
  padding:.82rem 1.4rem;
  text-decoration:none;
  border:1px solid var(--ink);
  transition:background .2s var(--ease), color .2s var(--ease),
             transform .2s var(--ease), border-color .2s var(--ease);
}
.btn--solid{ background:var(--ink); color:var(--paper); }
.btn--solid:hover{ background:var(--house); border-color:var(--house); transform:translateY(-1px); }
.btn--ghost{ background:transparent; color:var(--ink); }
.btn--ghost:hover{ background:var(--ink); color:var(--paper); transform:translateY(-1px); }

.commit{
  list-style:none; margin:clamp(2.5rem, 5vw, 3.75rem) 0 0; padding:0;
  display:grid; gap:0;
  grid-template-columns:repeat(3, minmax(0,1fr));
  border-top:1px solid var(--rule);
}
.commit__item{
  font-family:var(--sans);
  font-size:.88rem; font-weight:500; line-height:1.45;
  color:var(--ink-2);
  padding:1rem 1.75rem 0 0;
  border-top:2px solid var(--house);
  margin-top:-1px;
}
@media (max-width:760px){
  .commit{ grid-template-columns:minmax(0,1fr); border-top:0; }
  .commit__item{ padding:.85rem 0; }
}

/* ── signature : the translator band ──────────────────────── */

.demo{
  background:var(--card);
  border-block:1px solid var(--rule);
  padding-block:clamp(3.5rem, 8vw, 6rem);
}
.demo__head{ display:grid; gap:.9rem; max-width:44ch; margin-bottom:clamp(2.75rem, 6vw, 4.25rem); }
.demo__title{
  font-family:var(--serif);
  font-weight:400;
  font-size:clamp(1.2rem, 2.1vw, 1.5rem);
  line-height:1.42;
  letter-spacing:0;
  color:var(--ink-2);
}

.translator{ max-width:960px; }
.translator__row{ display:grid; grid-template-columns:minmax(0,1fr); gap:.7rem; }

.rowlabel{
  font-family:var(--sans);
  font-size:.68rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.2em;
  color:var(--ink-3);
  font-variation-settings:"wdth" 105;
}

.says{
  font-family:var(--serif);
  font-style:italic; font-weight:300;
  font-size:clamp(1.3rem, 3.1vw, 2.15rem);
  line-height:1.3;
  color:var(--ink-2);
  max-width:24ch;
  text-wrap:balance;
}

.returns{
  font-family:var(--sans);
  font-weight:700;
  font-size:clamp(1.7rem, 4vw, 3.1rem);   /* stays under .hero__head */
  line-height:1.02;
  letter-spacing:-.024em;
  color:var(--house);
  font-variation-settings:"wdth" 112;
  max-width:17ch;
  text-wrap:balance;
}

.meter{
  position:relative; height:2px; width:100%;
  background:var(--rule);
  margin-block:clamp(1.4rem, 3vw, 2.1rem);
  overflow:hidden;
}
.meter__fill{
  position:absolute; inset:0 auto 0 0;
  width:0%;
  background:var(--house);
}

.says, .returns, .attrib{ transition:opacity .34s var(--ease), transform .34s var(--ease); }
.translator[data-swapping="true"] .says,
.translator[data-swapping="true"] .returns,
.translator[data-swapping="true"] .attrib{ opacity:0; transform:translateY(9px); }

.translator__foot{
  display:flex; align-items:center; justify-content:space-between;
  gap:1.5rem;
  margin-top:clamp(1.6rem, 3vw, 2.2rem);
  padding-top:1.1rem;
  border-top:1px solid var(--rule);
}
.attrib{
  font-family:var(--sans);
  font-size:.78rem; font-weight:600;
  letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink);
  font-variation-settings:"wdth" 106;
}

.ticks{ display:flex; gap:.5rem; }
.tick{
  appearance:none; border:0; padding:0; cursor:pointer;
  width:26px; height:3px;
  background:var(--rule);
  transition:background .3s var(--ease);
}
.tick:hover{ background:var(--ink-3); }
.tick[aria-selected="true"]{ background:var(--house); }
.tick:focus-visible{ outline-offset:6px; }

.demo__note{
  margin-top:1.6rem;
  font-family:var(--sans);
  font-size:.76rem;
  color:var(--ink-3);
}

/* ── generic section ──────────────────────────────────────── */

.section{
  padding-block:clamp(4rem, 9vw, 7rem);
  border-top:1px solid var(--rule);
}
.section--tint{ background:var(--paper-2); }

.sectionhead{
  display:grid; gap:.9rem;
  max-width:620px;
  margin-bottom:clamp(2.5rem, 5vw, 3.75rem);
}
.sectionhead__title{
  font-size:clamp(1.75rem, 3.6vw, 2.75rem);
  letter-spacing:-.02em;
  font-variation-settings:"wdth" 106;
  text-wrap:balance;
}
.sectionhead__body{ color:var(--ink-2); max-width:54ch; }

/* ── services ─────────────────────────────────────────────── */

.services{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  border-top:1px solid var(--rule);
}
.service{
  padding:clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom:1px solid var(--rule);
  display:grid; gap:.55rem; align-content:start;
}
.services .service:nth-child(odd){ padding-right:clamp(1.5rem, 4vw, 3.5rem); }
.services .service:nth-child(even){
  padding-left:clamp(1.5rem, 4vw, 3.5rem);
  border-left:1px solid var(--rule);
}
.service__name{
  font-size:1.2rem; font-weight:600;
  letter-spacing:-.012em;
  font-variation-settings:"wdth" 104;
}
@media (max-width:760px){
  .services{ grid-template-columns:minmax(0,1fr); }
  .services .service:nth-child(odd),
  .services .service:nth-child(even){ padding-inline:0; border-left:0; }
}

/* ── segments ─────────────────────────────────────────────── */

.segments{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:clamp(1.25rem, 2.6vw, 2rem);
}
@media (max-width:700px){ .segments{ grid-template-columns:minmax(0,1fr); } }

.segment{
  background:var(--card);
  border:1px solid var(--rule);
  display:flex; flex-direction:column;
}
.segment__img{
  width:100%; height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  /* a light, consistent grade so four very different photographs
     read as one set rather than four stock pictures */
  filter:saturate(.72) contrast(1.03);
  transition:filter .4s var(--ease);
}
.segment:hover .segment__img{ filter:saturate(1) contrast(1); }
.segment__text{
  padding:clamp(1.25rem, 2.2vw, 1.65rem);
  display:grid; gap:.5rem; align-content:start;
}
.segment__name{
  font-family:var(--sans);
  font-size:1.14rem; font-weight:600;
  letter-spacing:-.01em;
  font-variation-settings:"wdth" 106;
}
.segment__desc{ margin:0; color:var(--ink-2); max-width:46ch; }

/* ── process ──────────────────────────────────────────────── */

.process{
  list-style:none; margin:0; padding:0;
  border-top:1px solid var(--rule);
  max-width:840px;
}
.process__step{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:clamp(1.25rem, 4vw, 3rem);
  padding:clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom:1px solid var(--rule);
}
.process__num{
  font-family:var(--sans);
  font-size:.8rem; font-weight:700;
  letter-spacing:.1em;
  color:var(--house);
  padding-top:.35rem;
  font-variant-numeric:tabular-nums;
}
.process__text{ display:grid; gap:.5rem; }
.process__head{
  font-size:clamp(1.15rem, 2vw, 1.4rem);
  font-weight:600; letter-spacing:-.012em;
  font-variation-settings:"wdth" 104;
}

/* ── products (portfolio, near the foot of the page) ──────── */

.pgrid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:clamp(1rem, 2vw, 1.5rem);
}
@media (max-width:880px){ .pgrid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width:620px){ .pgrid{ grid-template-columns:minmax(0,1fr); } }

.pcard{
  background:var(--card);
  border:1px solid var(--rule);
  display:flex; flex-direction:column;
  transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.pcard:hover{
  transform:translateY(-3px);
  box-shadow:0 14px 34px -18px rgba(19,26,36,.34);
}
.pcard__bar{ height:4px; background:var(--signal); }

.pcard__figure{
  border-bottom:1px solid var(--rule);
  background:var(--card);
}
.pcard__figure--drawn{ background:color-mix(in srgb, var(--signal) 7%, var(--card)); }
.pcard__figure svg{ display:block; width:100%; height:auto; }

.pcard__shot{
  display:block; width:100%; height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  object-position:top center;   /* keep the masthead of each product in frame */
}

.fig-sig{ fill:var(--signal); }
.fig-mute{ fill:var(--rule); }
.fig-card{ fill:var(--card); stroke:var(--rule); stroke-width:1; }
.fig-syl, .fig-syl-on{
  font-family:var(--sans); font-size:16px; font-weight:600;
  text-anchor:middle; letter-spacing:-.01em;
}
.fig-syl{ fill:var(--ink-2); }
.fig-syl-on{ fill:var(--card); }
.pcard__body{
  padding:clamp(1.35rem, 2.4vw, 1.75rem);
  display:grid; gap:.6rem; align-content:start;
  flex:1;
}
.pcard__name{
  font-size:1.24rem; font-weight:700;
  letter-spacing:-.018em;
  color:var(--signal);
  font-variation-settings:"wdth" 108;
}
.pcard__desc{ color:var(--ink-2); font-size:.98rem; }
.pcard__link{
  font-family:var(--sans);
  font-size:.8rem; font-weight:600;
  letter-spacing:.01em;
  color:var(--ink);
  text-decoration:none;
  border-bottom:1px solid var(--rule);
  padding-bottom:.2rem;
  justify-self:start;
  margin-top:.35rem;
  transition:border-color .2s var(--ease);
}
.pcard__link:hover{ border-bottom-color:var(--ink); }
/* ── closer ───────────────────────────────────────────────── */

.closer{
  background:var(--ink);
  color:var(--paper);
  padding-block:clamp(4rem, 9vw, 7rem);
}
.closer__grid{
  display:grid;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  gap:clamp(2.5rem, 5vw, 4.5rem);
  align-items:start;
}
@media (max-width:880px){
  .closer__grid{ grid-template-columns:minmax(0,1fr); gap:2.5rem; }
}
.closer__lead{ display:grid; gap:1.1rem; align-content:start; }
.closer__head{
  font-size:clamp(1.9rem, 4vw, 2.9rem);
  letter-spacing:-.025em;
  font-weight:700;
  font-variation-settings:"wdth" 110;
  max-width:14ch;
  text-wrap:balance;
}
.closer__body{ color:rgba(234,236,239,.78); max-width:44ch; font-size:1.06rem; }
.closer__reply{
  font-family:var(--sans);
  font-size:.85rem;
  color:rgba(234,236,239,.62);
  padding-top:1rem;
  border-top:1px solid rgba(234,236,239,.2);
}

/* ── contact form ─────────────────────────────────────────── */

.cform{ display:grid; gap:1.15rem; }
.cform__row{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:1.15rem;
}
@media (max-width:560px){ .cform__row{ grid-template-columns:minmax(0,1fr); } }

.field{ display:grid; gap:.45rem; }
.field__label{
  font-family:var(--sans);
  font-size:.74rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.13em;
  color:rgba(234,236,239,.82);
}
.req{ color:#8FD6C9; }

.field__input{
  width:100%;
  font-family:var(--sans);
  font-size:.95rem;
  color:var(--paper);
  background:rgba(255,255,255,.06);
  /* .46 keeps the field boundary at 3:1+ against both the band and the
     field interior, which WCAG 1.4.11 requires for UI components */
  border:1px solid rgba(234,236,239,.46);
  padding:.72rem .85rem;
  border-radius:0;
  appearance:none;
  transition:border-color .18s var(--ease), background .18s var(--ease);
}
.field__input::placeholder{ color:rgba(234,236,239,.55); }
.field__input:hover{ border-color:rgba(234,236,239,.66); }
.field__input:focus{
  outline:none;
  border-color:var(--paper);
  background:rgba(255,255,255,.1);
}
.field__input:focus-visible{ outline:2px solid var(--paper); outline-offset:2px; }
.field__input--area{ resize:vertical; min-height:7.5rem; line-height:1.55; }
/* the native arrow is invisible against the dark field, so draw one */
select.field__input{
  background-image:linear-gradient(45deg,transparent 50%,rgba(234,236,239,.8) 50%),
                   linear-gradient(135deg,rgba(234,236,239,.8) 50%,transparent 50%);
  background-position:calc(100% - 18px) calc(50% + 1px), calc(100% - 13px) calc(50% + 1px);
  background-size:5px 5px, 5px 5px;
  background-repeat:no-repeat;
  padding-right:2.4rem;
}
select.field__input option{ color:var(--ink); background:var(--paper); }

.cform__foot{
  display:grid; gap:.9rem;
  justify-items:start;
  margin-top:.35rem;
}
.cform__submit{
  appearance:none; cursor:pointer;
  font-family:var(--sans); font-size:.9rem; font-weight:600;
  letter-spacing:.01em;
  padding:.85rem 1.6rem;
  color:var(--ink);
  background:var(--paper);
  border:1px solid var(--paper);
  transition:background .2s var(--ease), transform .2s var(--ease);
}
.cform__submit:hover{ background:#fff; transform:translateY(-1px); }
.closer .cform__submit:focus-visible{ outline-color:var(--paper); }
.cform__note{
  font-family:var(--sans);
  font-size:.76rem; line-height:1.5;
  color:rgba(234,236,239,.62);
  max-width:46ch;
}
.cform__status{
  font-family:var(--sans);
  font-size:.85rem;
  color:var(--paper);
  border-left:2px solid #8FD6C9;
  padding:.2rem 0 .2rem .8rem;
}

/* ── footer ───────────────────────────────────────────────── */

.footer{ padding-block:2.25rem; }
.footer__inner{
  display:flex; flex-wrap:wrap; align-items:center;
  justify-content:space-between; gap:1.25rem;
}
.footer__links{
  display:flex; flex-wrap:wrap; gap:1.4rem;
  font-family:var(--sans); font-size:.83rem; font-weight:500;
}
.footer__links a{ color:var(--ink-2); text-decoration:none; }
.footer__links a:hover{ color:var(--ink); }
.footer__legal{ font-family:var(--sans); font-size:.78rem; color:var(--ink-3); }

/* ── reduced motion ───────────────────────────────────────── */

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    transition-duration:.001ms !important;
  }
}
