/* ============================================================================
   GyanBit Tech — stylesheet

   The identity is the logo itself: an amber disc, a black line-drawn
   brain-bulb, rays around it. The home page hero enlarges exactly that, with
   the eight services standing in for the rays. Everything else stays quiet so
   that one moment carries the page.

   Colour: white ground, logo amber as the confident brand field, pure black
   linework, deep indigo for contrast bands, and five soft tints that give each
   service its own colour.
   ========================================================================= */

:root {
  /* Brand */
  --sun: #FFC61A;
  --sun-deep: #E5A800;
  --sun-text: #7A5600;           /* amber dark enough to read on white */

  /* Neutrals */
  --ink: #000000;
  --text: #2A2A2A;
  --muted: #5E6470;
  --paper: #FFFFFF;
  --mist: #F2F4F7;
  --line: #E3E6EB;

  /* Contrast band */
  --deep: #1B1F3B;
  --deep-2: #262B52;
  --on-deep: #C9CCE0;

  /* Service tints */
  --t-sun: #FFF1C2;
  --t-sky: #DCEAFF;
  --t-mint: #D6F4E4;
  --t-rose: #FFE0D9;
  --t-lilac: #E8E0FF;

  /* Dynamic card accents */
  --products: #2D5BD8;
  --courses: #8A6200;
  --internships: #0E8A57;

  /* Type */
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'Figtree', 'Segoe UI', system-ui, sans-serif;

  /* Metrics: radius grows with the size of the thing */
  --wrap: 1200px;
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
/* Author display rules must never beat the hidden attribute */
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
section { padding: clamp(3.5rem, 7vw, 6rem) 0; }

.sec-head { max-width: 42rem; margin-bottom: 2.6rem; }
.sec-head p { margin-top: .9rem; font-size: 1.08rem; color: var(--muted); }
.sec-head--center { margin-inline: auto; text-align: center; }

.mist { background: var(--mist); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.6rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--ink);
  transition: transform .14s var(--ease), box-shadow .14s var(--ease), background .14s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--ink); }
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--ink); }

.btn--ghost { background: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); box-shadow: 0 4px 0 var(--sun-deep); }
.btn--dark:hover { box-shadow: 0 6px 0 var(--sun-deep); }
.btn--sm { padding: .6rem 1.1rem; font-size: .9rem; box-shadow: 0 3px 0 var(--ink); }
.btn--sm:hover { box-shadow: 0 4px 0 var(--ink); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -.035em;
  color: var(--ink);
  line-height: 1;
}
.brand-sub {
  display: block;
  margin-top: .3rem;
  font-family: var(--body);
  font-weight: 500;
  font-size: .74rem;
  letter-spacing: 0;
  color: var(--muted);
  white-space: nowrap;
}

.nav-links { display: flex; align-items: center; gap: 1.45rem; }
.nav-links > a, .drop-toggle {
  font-weight: 500;
  font-size: .98rem;
  color: var(--text);
  padding: .35rem 0;
  border-bottom: 2px solid transparent;
  transition: border-color .15s var(--ease);
}
.nav-links > a:hover, .drop-toggle:hover { border-bottom-color: var(--sun); }
.nav-links > a[aria-current='page'], .drop-toggle[data-open='true'] { border-bottom-color: var(--ink); color: var(--ink); }

.drop { position: relative; }
.drop-toggle {
  display: inline-flex; align-items: center; gap: .35rem;
  border-top: 0; border-left: 0; border-right: 0;
  background: none; cursor: pointer;
}
.drop-toggle svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .18s var(--ease); }
.drop-toggle[aria-expanded='true'] svg { transform: rotate(180deg); }

.drop-menu {
  position: absolute;
  top: calc(100% + 1.1rem);
  left: -1.2rem;
  width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .25rem;
  padding: .7rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: 0 6px 0 var(--ink);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s var(--ease), transform .15s var(--ease), visibility .15s;
  z-index: 70;
}
.drop:hover .drop-menu, .drop-toggle[aria-expanded='true'] + .drop-menu { opacity: 1; visibility: visible; transform: none; }
.drop-menu a {
  display: flex; align-items: center; gap: .65rem;
  padding: .65rem .75rem;
  border-radius: var(--r-sm);
  font-size: .94rem;
  font-weight: 500;
}
.drop-menu a:hover { background: var(--mist); }
.drop-menu .dot { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); flex: none; }

.nav-cta { display: flex; align-items: center; gap: .8rem; }
.mobile-only { display: none; }
.burger {
  display: none;
  width: 46px; height: 46px; padding: 13px 11px;
  border: 2px solid var(--ink); border-radius: 50%;
  background: var(--paper); cursor: pointer;
}
.burger span { display: block; height: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .15s; }
.burger span + span { margin-top: 5px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Tint helpers (driven by each service's "tint") ---------- */
.tint-sun { --tint: var(--t-sun); }
.tint-sky { --tint: var(--t-sky); }
.tint-mint { --tint: var(--t-mint); }
.tint-rose { --tint: var(--t-rose); }
.tint-lilac { --tint: var(--t-lilac); }

/* ==========================================================================
   HERO — the logo, enlarged. The sun is the brain-bulb disc; the services
   are its rays.
   ======================================================================= */
.hero { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.hero-copy h1 { max-width: 13ch; }
.hero-copy .lede { margin-top: 1.4rem; font-size: 1.18rem; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.stage {
  --size: min(580px, 46vw);
  --rad: calc(var(--size) * .40);
  position: relative;
  width: var(--size);
  height: var(--size);
  margin-inline: auto;
}
.stage .sun {
  position: absolute;
  inset: 23%;
  width: 54%;
  height: 54%;
}
/* Faint orbit the rays sit on */
.stage::before {
  content: '';
  position: absolute;
  inset: 10%;
  border: 2px dashed var(--line);
  border-radius: 50%;
}

.ray {
  --a: calc(var(--i) * (360deg / var(--n, 6)) - 90deg);
  position: absolute;
  top: 50%; left: 50%;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .55rem .95rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .9rem;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--ink);
  transform: translate(-50%, -50%) rotate(var(--a)) translateX(var(--rad)) rotate(calc(-1 * var(--a)));
  transition: background .15s var(--ease), transform .15s var(--ease);
}
.ray .dot { width: 11px; height: 11px; border-radius: 50%; background: var(--tint); border: 1.5px solid var(--ink); }
.ray:hover { background: var(--sun); }

/* The one orchestrated moment: rays switch on in sequence after load. */
.js .ray { opacity: 0; }
.js .stage.lit .ray { animation: switch-on .42s var(--ease) forwards; animation-delay: calc(var(--i) * 110ms + 250ms); }
@keyframes switch-on {
  from { opacity: 0; filter: blur(3px); }
  to { opacity: 1; filter: none; }
}

/* Facts bar */
.facts-bar { background: var(--ink); color: var(--paper); }
.facts-bar ul { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding: 1.3rem 0; }
.facts-bar li { display: flex; align-items: baseline; gap: .6rem; font-size: .96rem; color: #D5D5D5; white-space: nowrap; }
.facts-bar b { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--sun); letter-spacing: -.02em; }

/* ==========================================================================
   SERVICES — bento of tinted tiles
   ======================================================================= */
.bento {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(0, auto);
  gap: 1.1rem;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.5rem 1.6rem;
  background: var(--tint, var(--mist));
  border: 2px solid transparent;
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .15s var(--ease), transform .15s var(--ease);
}
.tile:hover { border-color: var(--ink); transform: translateY(-3px); }
.tile img { width: 100%; max-width: 280px; height: auto; margin: 0 auto 1.1rem; }
.tile h3 { margin-bottom: .45rem; }
.tile p { font-size: .96rem; color: #3E3E3E; }
.tile .go {
  margin-top: auto;
  padding-top: 1.1rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: .94rem;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--sun-deep);
}

/* Hierarchy: the flagship service gets the big tile, API integration gets a wide one */
.tile--hero { grid-column: span 2; grid-row: span 2; justify-content: flex-end; }
.tile--hero img { max-width: 420px; margin-bottom: 1.6rem; }
.tile--hero h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.tile--hero p { font-size: 1.05rem; max-width: 30rem; }
.tile--wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 1.2rem; }
.tile--wide img { width: 46%; max-width: 230px; margin: 0; flex: none; }
.tile--wide .tile-text { display: flex; flex-direction: column; }
.tile--full { grid-column: 1 / -1; }
.tile--full img { max-width: 260px; }
.tile--full .tile-text { max-width: 40rem; }

/* ==========================================================================
   DYNAMIC SHOWCASE — products, courses and internships from the dashboard
   ======================================================================= */
.show-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.2rem; }
.show-head .sec-head { margin-bottom: 0; }

.tabs { display: flex; flex-wrap: wrap; gap: .5rem; }
.tabs button {
  padding: .55rem 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--display);
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
}
.tabs button[aria-selected='true'] { background: var(--ink); color: var(--paper); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }

.card {
  --accent-local: var(--ink);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: 0 5px 0 var(--ink);
  transition: transform .15s var(--ease), box-shadow .15s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 0 var(--ink); }
.card--products { --accent-local: var(--products); --chip: var(--t-sky); }
.card--courses { --accent-local: var(--courses); --chip: var(--t-sun); }
.card--internships { --accent-local: var(--internships); --chip: var(--t-mint); }

/* Strict 16:9 box; flex: none keeps spare row height out of the image */
.card-media {
  position: relative;
  flex: none;
  aspect-ratio: 16 / 9;
  background: var(--mist);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-kind {
  position: absolute;
  top: .75rem; left: .75rem;
  padding: .25rem .75rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--chip, var(--paper));
  color: var(--accent-local);
  font-family: var(--display);
  font-weight: 700;
  font-size: .78rem;
}
.card-body { flex: 1; display: flex; flex-direction: column; gap: .55rem; padding: 1.25rem 1.35rem 1.4rem; }
.card-title { font-size: 1.15rem; }
.card-desc {
  font-size: .95rem;
  color: var(--muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pills { display: flex; flex-wrap: wrap; gap: .4rem; padding-top: .5rem; }
.card-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: auto; padding-top: 1.1rem;
}
.card-foot .price { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.02em; }
.pill {
  padding: .22rem .7rem;
  border-radius: 999px;
  background: var(--mist);
  font-size: .8rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.empty {
  grid-column: 1 / -1;
  padding: 3rem 1.5rem;
  border: 2px dashed var(--line);
  border-radius: var(--r-md);
  text-align: center;
  color: var(--muted);
}
.show-foot { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2.2rem; }

/* ==========================================================================
   WHY US — the one dark band
   ======================================================================= */
.why { background: var(--deep); color: var(--on-deep); }
.why h2 { color: var(--paper); }
.why .sec-head p { color: var(--on-deep); }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.why-item { padding: 1.6rem; background: var(--deep-2); border-radius: var(--r-md); }
.why-item .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--sun);
}
.why-item .ico svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2.2; }
.why-item h3 { color: var(--paper); font-size: 1.12rem; margin-bottom: .5rem; }
.why-item p { font-size: .95rem; }

/* ==========================================================================
   PROCESS — a genuine sequence, so it is numbered
   ======================================================================= */
.track { counter-reset: st; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; position: relative; }
.track::before {
  content: '';
  position: absolute;
  top: 26px; left: 26px; right: 26px;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px);
}
.track li { counter-increment: st; position: relative; }
.track li::before {
  content: counter(st);
  position: relative;
  z-index: 1;
  display: grid; place-items: center;
  width: 54px; height: 54px;
  margin-bottom: 1.1rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--ink);
}
.track h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.track p { font-size: .92rem; color: var(--muted); }

/* ==========================================================================
   TESTIMONIALS
   ======================================================================= */
.quote-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.quote { padding: 1.8rem; background: var(--tint, var(--mist)); border-radius: var(--r-lg); display: flex; flex-direction: column; }
.quote blockquote { font-family: var(--display); font-weight: 600; font-size: 1.12rem; line-height: 1.45; color: var(--ink); letter-spacing: -.01em; }
.quote figcaption { margin-top: auto; padding-top: 1.4rem; font-size: .92rem; }
.quote figcaption b { display: block; color: var(--ink); }
.quote figcaption span { color: #4A4A4A; }

/* ==========================================================================
   CLOSING CALL TO ACTION
   ======================================================================= */
.cta-block {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 5vw, 4rem);
  padding-right: clamp(2.4rem, 30vw, 22rem);
  background: var(--sun);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 0 var(--ink);
}
.cta-block h2 { max-width: 16ch; }
.cta-block p { margin-top: .9rem; font-size: 1.08rem; color: #3A2E00; max-width: 34rem; }
.cta-block .hero-actions { margin-top: 1.8rem; }
.cta-block .btn { background: var(--paper); }
.cta-block .btn--dark { background: var(--ink); }
.cta-block .mark {
  position: absolute;
  right: -3rem; bottom: -4rem;
  width: clamp(200px, 26vw, 330px);
  opacity: .95;
  pointer-events: none;
}


/* ==========================================================================
   INNER PAGES
   ======================================================================= */
.page-head { padding: clamp(2.5rem, 5vw, 4rem) 0; background: var(--tint, var(--mist)); }
.page-head-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem; align-items: center; }
.page-head h1 { font-size: clamp(2.2rem, 4.8vw, 3.6rem); max-width: 16ch; }
.page-head .lede { margin-top: 1.1rem; font-size: 1.12rem; color: #3E3E3E; max-width: 38rem; }
.page-head .art { max-width: 380px; margin-left: auto; width: 100%; }
.page-head .count { margin-top: 1rem; font-weight: 600; color: var(--ink); }

.crumb { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.1rem; font-size: .9rem; color: #4A4A4A; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }
.crumb a:hover { color: var(--ink); }

/* Measure is limited on the paragraphs, not the container, so the text stays
   on the same left edge as every other section. */
.prose p { max-width: 44rem; font-size: 1.1rem; line-height: 1.75; color: #3A3A3A; }
.prose p + p { margin-top: 1.2rem; }
.prose p:first-child { font-size: 1.24rem; color: var(--ink); }

/* What we build: a two-column checklist rather than another card grid */
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem 3rem; }
.checks li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 1rem; }
.checks li::before {
  content: '';
  width: 34px; height: 34px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.checks h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.checks p { font-size: .97rem; color: var(--muted); }

/* Vertical process for service pages */
.steps { counter-reset: st; max-width: 52rem; }
.steps li {
  counter-increment: st;
  position: relative;
  padding: 0 0 2rem 4.4rem;
}
.steps li::before {
  content: counter(st);
  position: absolute;
  left: 0; top: -.2rem;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
  font-family: var(--display);
  font-weight: 800;
}
.steps li::after {
  content: '';
  position: absolute;
  left: 22px; top: 48px; bottom: .3rem;
  width: 2px;
  background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 11px);
}
.steps li:last-child { padding-bottom: 0; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.12rem; margin-bottom: .3rem; }
.steps p { color: var(--muted); }

/* FAQ */
.faqs { display: grid; gap: .8rem; max-width: 52rem; }
.faq { border: 2px solid var(--ink); border-radius: var(--r-md); background: var(--paper); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.1rem 1.35rem;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--ink);
  cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  display: grid; place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--sun);
  font-size: 1.2rem; line-height: 1;
}
.faq[open] summary::after { content: '\2212'; }
.faq p { padding: 0 1.35rem 1.2rem; color: var(--muted); }

.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }

/* About facts */
.fact-note {
  max-width: 44rem;
  margin: -1.2rem 0 2rem;
  font-size: 1.05rem;
  color: var(--muted);
}
.fact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.1rem; }
.fact-grid li { padding: 1.6rem; background: var(--tint, var(--mist)); border-radius: var(--r-lg); }
.fact-grid b { display: block; font-family: var(--display); font-weight: 800; font-size: 2.4rem; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.fact-grid span { display: block; margin-top: .5rem; color: #3E3E3E; }

/* Contact */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.contact-facts { display: grid; gap: .8rem; margin-bottom: 1.6rem; }
.contact-facts li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--mist); border-radius: var(--r-md); }
.contact-facts .ic { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--sun); border: 2px solid var(--ink); }
.contact-facts .ic svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 2; }
.contact-facts h3 { font-size: 1rem; margin-bottom: .1rem; }
.contact-facts p, .contact-facts a { font-size: .96rem; color: var(--muted); }
.contact-facts a:hover { color: var(--ink); text-decoration: underline; }
.map-frame { height: 270px; border: 2px solid var(--ink); border-radius: var(--r-md); overflow: hidden; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }

.form-card {
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 0 var(--ink);
}
.form-card h2 { font-size: 1.7rem; }
.form-note { margin: .5rem 0 1.6rem; color: var(--muted); }

.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .95rem; color: var(--ink); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  border: 2px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--paper);
  transition: border-color .15s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field input::placeholder, .field textarea::placeholder { color: #9AA0AA; }
.field .help { display: block; margin-top: .35rem; font-size: .85rem; color: var(--muted); }
.field.invalid input, .field.invalid textarea { border-color: #C62828; }
.err { display: block; min-height: 1.1rem; margin-top: .25rem; font-size: .85rem; color: #C62828; }

.sent { text-align: center; padding: 1rem 0; }
.sent .tick { width: 64px; height: 64px; display: grid; place-items: center; margin: 0 auto 1.2rem; border: 2px solid var(--ink); border-radius: 50%; background: var(--sun); }
.sent .tick svg { width: 30px; height: 30px; fill: none; stroke: var(--ink); stroke-width: 2.6; }
.sent p { color: var(--muted); max-width: 38ch; margin: .5rem auto 0; }

/* ==========================================================================
   DASHBOARD (admin.html)
   ======================================================================= */
.admin-shell { min-height: 100vh; padding: clamp(1.2rem, 3vw, 2.5rem) 1.25rem; background: var(--mist); }

.gate {
  width: min(100%, 460px);
  margin: 6vh auto 0;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 0 var(--ink);
}
.gate img { width: 170px; margin: 0 auto 1.4rem; }
.gate h1 { font-size: 1.8rem; text-align: center; }
.gate > p { text-align: center; color: var(--muted); margin: .4rem 0 1.8rem; }
.gate-back { margin-top: 1.4rem; text-align: center; font-size: .92rem; }
.gate-back a { text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }

.dash { width: min(100%, 1180px); margin-inline: auto; }
.dash-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.4rem; }
.dash-head h1 { font-size: clamp(1.7rem, 3vw, 2.2rem); }
.dash-head p { color: var(--muted); font-size: .95rem; }
.dash-head-actions { display: flex; gap: .6rem; }

.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.dash-card {
  padding: clamp(1.3rem, 3vw, 1.9rem);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
}
.dash-card > h2, .list-head h2 { font-size: 1.35rem; margin-bottom: 1.2rem; }
.list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-bottom: 1.1rem; }
.list-head h2 { margin-bottom: 0; }
.list-head .tabs button { padding: .4rem .85rem; font-size: .85rem; }

/* Publish status: calm when in sync, amber when there is something to publish */
.publish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-bottom: 1.4rem;
  padding: 1.3rem 1.5rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-lg);
}
.publish.pending { background: var(--t-sun); box-shadow: 0 6px 0 var(--ink); }
.publish h2 { font-size: 1.2rem; }
.publish p { font-size: .94rem; color: var(--muted); margin-top: .2rem; }
.publish-actions { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: flex-end; }
.publish:not(.pending) #publishBtn { background: var(--paper); }
.publish .switch-row { grid-column: 1 / -1; margin: 0; }
.publish-steps {
  grid-column: 1 / -1;
  counter-reset: ps;
  display: grid;
  gap: .5rem;
  padding: 1rem 1.2rem;
  background: var(--paper);
  border: 2px dashed var(--ink);
  border-radius: var(--r-md);
  font-size: .95rem;
}
.publish-steps li { counter-increment: ps; display: flex; gap: .7rem; }
.publish-steps li::before {
  content: counter(ps);
  flex: none;
  display: grid; place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink); color: var(--paper);
  font-family: var(--display); font-weight: 700; font-size: .8rem;
}

/* Switch */
.switch-row { display: flex; align-items: center; gap: .8rem; margin: .4rem 0 1.1rem; cursor: pointer; font-weight: 500; font-size: .95rem; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch {
  position: relative;
  flex: none;
  width: 48px; height: 28px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--mist);
  transition: background .15s var(--ease);
}
.switch::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform .15s var(--ease);
}
.switch-row input:checked + .switch { background: var(--sun); }
.switch-row input:checked + .switch::after { transform: translateX(20px); }
.switch-row input:focus-visible + .switch { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Image upload */
.field .label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .95rem; color: var(--ink); }
.drop-zone {
  position: relative;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border: 2px dashed var(--ink);
  border-radius: var(--r-md);
  background: var(--mist);
  overflow: hidden;
  cursor: pointer;
  transition: background .15s var(--ease);
}
.drop-zone:hover, .drop-zone.over { background: var(--t-sun); }
.drop-zone img { width: 100%; height: 100%; object-fit: cover; }
.drop-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop-zone:focus-within { outline: 3px solid var(--ink); outline-offset: 3px; }
.drop-empty { display: grid; gap: .3rem; padding: 1rem; text-align: center; }
.drop-empty b { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.drop-empty span { font-size: .88rem; color: var(--muted); }
.img-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: .5rem; font-size: .86rem; color: var(--muted); }
.link-btn { border: 0; background: none; padding: 0; font-weight: 600; font-size: .88rem; color: #C62828; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.url-alt { margin-top: .6rem; }
.url-alt summary { cursor: pointer; font-size: .9rem; font-weight: 500; color: var(--muted); }
.url-alt input { margin-top: .6rem; }

.form-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.notice { min-height: 1.4em; margin-bottom: .9rem; font-size: .93rem; font-weight: 500; }
.notice.bad { color: #C62828; }
.notice.good { color: var(--internships); }

/* Item rows */
.rows { display: flex; flex-direction: column; gap: .55rem; max-height: 640px; overflow-y: auto; }
.row { display: flex; align-items: center; gap: .8rem; padding: .6rem .7rem; background: var(--mist); border-radius: var(--r-sm); }
.row img { width: 72px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; border: 1.5px solid var(--ink); flex: none; }
.row .meta { flex: 1; min-width: 0; display: grid; gap: .15rem; }
.row .meta b { font-weight: 600; font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink); }
.price-state { font-size: .82rem; color: var(--muted); }
.price-state.on { color: var(--internships); font-weight: 600; }
.row button {
  flex: none;
  padding: .35rem .8rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: .84rem;
  font-weight: 500;
  cursor: pointer;
}
.row button:hover { background: var(--sun); }
.row button.danger:hover { background: #C62828; border-color: #C62828; color: var(--paper); }
.rows-empty { padding: 2rem 1rem; text-align: center; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--r-md); }
.storage { margin-top: 1rem; font-size: .84rem; color: var(--muted); }
.storage.warn { color: #C62828; font-weight: 600; }

.toast {
  position: fixed;
  left: 50%; bottom: 1.5rem;
  padding: .75rem 1.3rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 500;
  font-size: .94rem;
  transform: translate(-50%, 160%);
  transition: transform .25s var(--ease);
  z-index: 100;
}
.toast.show { transform: translate(-50%, 0); }

/* Public pages: shown only while previewing unpublished changes */
.preview-bar {
  position: sticky; top: 0; z-index: 80;
  padding: .6rem 1.25rem;
  background: var(--ink); color: var(--paper);
  font-size: .9rem; text-align: center;
}
.preview-bar a { color: var(--sun); font-weight: 600; text-decoration: underline; margin-left: .4rem; }

@media (max-width: 900px) {
  .dash-grid, .publish { grid-template-columns: 1fr; }
  .publish-actions { justify-content: flex-start; }
}


/* ---------- Enquiries report ---------- */
.panel-tabs .badge {
  display: inline-grid; place-items: center;
  min-width: 22px; height: 22px;
  margin-left: .45rem; padding: 0 .35rem;
  border-radius: 999px;
  background: var(--sun); color: var(--ink);
  font-size: .78rem; font-weight: 700;
}
.panel-tabs button[aria-selected='true'] .badge { background: var(--paper); }
.report-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.filters {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: .8rem;
  padding: 1.1rem; margin-bottom: 1.2rem;
  background: var(--mist); border-radius: var(--r-md);
}
.filter { display: grid; gap: .3rem; }
.filter.grow { flex: 1 1 240px; }
.filter span { font-size: .82rem; font-weight: 600; color: var(--muted); }
.filter input, .filter select {
  padding: .55rem .8rem;
  border: 2px solid var(--line); border-radius: var(--r-sm);
  background: var(--paper); font-size: .93rem;
}
.filter input:focus, .filter select:focus { border-color: var(--ink); outline: none; }

.report-summary { margin-bottom: 1rem; font-size: .92rem; color: var(--muted); }

.enquiries { display: grid; gap: .8rem; }
.enq {
  padding: 1.2rem 1.3rem;
  border: 2px solid var(--line); border-radius: var(--r-md);
  background: var(--paper);
}
.enq.unread { border-color: var(--ink); background: #FFFDF5; }
.enq-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; }
.enq h3 { font-size: 1.1rem; display: flex; align-items: center; gap: .6rem; }
.tag-new {
  padding: .1rem .55rem; border-radius: 999px;
  background: var(--sun); font-family: var(--body);
  font-size: .72rem; font-weight: 700; letter-spacing: .02em;
}
.enq-meta { font-size: .85rem; color: var(--muted); margin-top: .2rem; }
.enq-contact { display: grid; gap: .15rem; text-align: right; font-size: .9rem; }
.enq-contact a { color: var(--muted); }
.enq-contact a:hover { color: var(--ink); text-decoration: underline; }
.enq-msg { margin: .9rem 0; font-size: .97rem; white-space: pre-wrap; }
.enq-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.mini {
  display: inline-flex; align-items: center;
  padding: .35rem .85rem;
  border: 1.5px solid var(--ink); border-radius: 999px;
  background: var(--paper); font-size: .84rem; font-weight: 500; cursor: pointer;
}
.mini:hover { background: var(--sun); }
.mini.danger:hover { background: #C62828; border-color: #C62828; color: var(--paper); }

/* Spam trap: off-screen rather than display:none, which some bots detect */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { margin-bottom: .9rem; font-size: .92rem; font-weight: 500; color: #C62828; }

@media (max-width: 600px) {
  .enq-contact { text-align: left; }
}


/* ---------- Cookie choice ---------- */
.consent {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 90;
  max-width: 44rem;
  margin-inline: auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 1.1rem 1.3rem;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  box-shadow: 0 8px 0 var(--ink);
  transform: translateY(140%);
  transition: transform .3s var(--ease);
}
.consent.show { transform: none; }
.consent p { flex: 1 1 18rem; font-size: .94rem; margin: 0; }
.consent a { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.consent-actions { display: flex; gap: .6rem; }

/* ---------- Legal pages ---------- */
.prose h2 {
  margin: 2.2rem 0 .8rem;
  font-size: 1.3rem;
}
.prose h2:first-child { margin-top: 0; }
.legal-note {
  margin-top: 2.5rem;
  padding: 1.1rem 1.3rem;
  border-left: 4px solid var(--sun);
  background: var(--mist);
  border-radius: var(--r-sm);
  font-size: .95rem;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-legal a { text-decoration: underline; text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) { .consent { transition: none; } }

/* ==========================================================================
   FOOTER
   ======================================================================= */
.footer { background: var(--deep); color: var(--on-deep); padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1.2fr 1fr 1.3fr; gap: 2.5rem; }
.footer h4 { color: var(--paper); font-size: 1.05rem; margin-bottom: 1rem; }
.footer li { margin-bottom: .55rem; }
.footer a:hover { color: var(--sun); }
.admin-link { display: inline-flex; align-items: center; padding: .4rem 1rem; border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; color: var(--paper); font-weight: 600; }
.admin-link:hover { border-color: var(--sun); }
.footer-logo { width: 170px; margin-bottom: 1.1rem; }
.footer p { max-width: 32ch; }
.footer-base { display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .88rem; }

/* ==========================================================================
   RESPONSIVE
   ======================================================================= */
@media (max-width: 1180px) {
  .brand-sub { display: none; }
}

@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile--hero { grid-row: auto; }
  .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2.2rem; }
  .track::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-inner, .page-head-inner, .split { grid-template-columns: 1fr; }
  .hero-copy h1 { max-width: 15ch; }
  .page-head .art { margin: 0; max-width: 300px; }

  /* The rays leave their orbit and line up under the sun */
  .stage { --size: auto; width: 100%; height: auto; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
  .stage::before { display: none; }
  .stage .sun { position: static; width: min(260px, 70%); height: auto; flex-basis: 100%; margin: 0 auto 1rem; max-width: 260px; }
  .ray { position: static; transform: none; }

  .quote-grid, .related, .fact-grid { grid-template-columns: 1fr 1fr; }
  .checks { grid-template-columns: 1fr; }
  .cta-block { padding-right: clamp(2rem, 5vw, 3rem); padding-bottom: 12rem; }
  .cta-block .mark { width: 200px; right: -1rem; bottom: -3rem; }
}

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    inset: 78px 0 auto 0;
    max-height: calc(100vh - 78px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem 1.5rem;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    transform: translateY(-130%);
    transition: transform .25s var(--ease);
  }
  .nav-links.open { transform: none; }
  .nav-links > a, .drop-toggle { padding: .9rem 0; border-bottom: 1px solid var(--line); width: 100%; justify-content: space-between; }
  .nav-links > a[aria-current='page'] { border-bottom-color: var(--line); }
  .drop-menu {
    position: static; width: auto; display: none;
    grid-template-columns: 1fr;
    opacity: 1; visibility: visible; transform: none;
    border: 0; box-shadow: none; padding: .3rem 0 .6rem;
  }
  .drop:hover .drop-menu { display: none; }
  .drop-toggle[aria-expanded='true'] + .drop-menu { display: grid; }
  .nav-links .btn { margin-top: 1rem; }
  .mobile-only { display: inline-flex; }
  .nav-cta > .btn { display: none; }
  .burger { display: block; }
  .brand-sub { display: none; }

  body { font-size: 16px; }
  .bento, .why-grid, .quote-grid, .related, .fact-grid, .grid { grid-template-columns: 1fr; }
  .tile--hero, .tile--wide { grid-column: auto; }
  .tile--wide { flex-direction: column; align-items: stretch; }
  .tile--wide img { width: 100%; max-width: 280px; margin: 0 auto 1.1rem; }
  .track { grid-template-columns: 1fr; }
  .facts-bar ul { justify-content: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .001ms !important; animation-duration: .001ms !important; animation-delay: 0s !important; }
  .js .ray { opacity: 1; }
}
