/* =========================================================================
   tailwind-lite.css
   ---------------------------------------------------------------------
   A small, hand-written utility stylesheet covering exactly the utility
   class names used across index.html / services.html / about.html /
   contact.html — modeled on Tailwind CSS's naming and default scale.

   WHY THIS EXISTS INSTEAD OF THE TAILWIND CDN SCRIPT:
   This environment's network policy blocks arbitrary external hosts
   (cdn.tailwindcss.com, fonts.googleapis.com, the npm registry, etc.),
   so a CDN-loaded framework would render unstyled here — and the
   Tailwind Play CDN is documented as "not intended for production" even
   where the network is open. Shipping the utilities as a local file
   keeps the site fully self-contained: no build step, no CDN, works
   offline, works behind any firewall, loads instantly.

   If this project later adopts a real build step, this file can be
   swapped for an actual Tailwind CLI/PostCSS build without touching the
   HTML — the class names here are standard Tailwind names.
   ========================================================================= */

/* ---------------------------------------------------------------------
   Design tokens (mirrors assets/css/styles.css :root — repeated here so
   this file has no load-order dependency on styles.css)
   ------------------------------------------------------------------- */
:root {
  --c-primary: 15, 23, 42;       /* #0F172A */
  --c-onprimary: 255, 255, 255;  /* #FFFFFF */
  --c-secondary: 30, 41, 59;     /* #1E293B */
  --c-accent: 22, 163, 74;       /* #16A34A */
  --c-accenthover: 21, 128, 61;  /* #15803D */
  --c-background: 2, 6, 23;      /* #020617 */
  --c-foreground: 248, 250, 252; /* #F8FAFC */
  --c-muted: 26, 30, 47;         /* #1A1E2F */
  --c-border: 51, 65, 85;        /* #334155 */
  --c-destructive: 220, 38, 38;  /* #DC2626 */
  --c-warning: 245, 158, 11;     /* #F59E0B */
}

/* ---------------------------------------------------------------------
   box-sizing: the single most load-bearing reset in any Tailwind-style
   system. Without it, every element that combines an explicit width
   (w-full) with padding/border (the contact form's inputs, in
   particular) renders wider than declared — padding/border ADD to the
   width instead of being carved out of it. Confirmed via computed
   styles: inputs were overflowing their column by ~34px, silently
   absorbed by the grid gap at this layout's current breakpoints, but
   one narrower viewport or bigger gap change away from a visible
   overflow bug.
   ------------------------------------------------------------------- */
*, ::before, ::after {
  box-sizing: border-box;
}

/* ---------------------------------------------------------------------
   Minimal Preflight-equivalent reset
   ---------------------------------------------------------------------
   Tailwind's real Preflight neutralizes the browser's default UA
   styling for form controls (buttons in particular ship with an opaque
   light background and dark text in every browser). Without it, any
   <button> or form control that doesn't set an explicit bg-* utility
   shows through as a light box — this bit the FAQ accordion buttons and
   the mobile menu toggle. Element selectors here have lower specificity
   than the class utilities below, so utilities still win where used.
   ------------------------------------------------------------------- */
button, select, input, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  background-color: transparent;
  background-image: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

/* Same story for links: the browser default is an underline (and, absent
   an explicit color utility, link-blue). Every <a> here already carries
   an explicit color class, so this just kills the stray permanent
   underline that was showing under the logo, nav items, and buttons —
   intentional underlines (.link-cta below) opt back in deliberately. */
a {
  text-decoration: none;
  color: inherit;
}

/* Headings/paragraphs ship their own UA margin (verified: an h1 with an
   explicit mt-6 utility still got a 40px *default* margin-bottom on the
   side nothing overrode it — margin-collapsing hid the worst of it, but
   spacing was silently half browser-default, half authored). Every gap
   in this site is meant to come from an explicit mt-*/gap-* utility or
   the parent's padding, never a tag default. */
h1, h2, h3, h4, h5, h6, p, blockquote, dl, dd, figure {
  margin: 0;
}

/* Every <ol>/<ul> on this site is a custom grid/flex layout with its own
   numbering (see .process-flow__node) or icon bullets — none of them
   want the browser's native "1. 2. 3." or disc markers. */
ol, ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button { cursor: default; }
button, [role="button"] { cursor: pointer; }

/* ---------------------------------------------------------------------
   Reset helpers used directly by markup
   ------------------------------------------------------------------- */
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ---------------------------------------------------------------------
   Display / layout
   ------------------------------------------------------------------- */
.block { display: block; }
.hidden { display: none; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.shrink-0 { flex-shrink: 0; }
.relative { position: relative; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-left { text-align: left; }

/* Grid columns / span used */
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* Gaps (Tailwind spacing scale: n * 0.25rem) */
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }

/* space-y (vertical stack spacing) */
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

/* ---------------------------------------------------------------------
   Spacing: margin / padding
   ------------------------------------------------------------------- */
.mt-0\.5 { margin-top: 0.125rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mb-1\.5 { margin-bottom: 0.375rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.ml-3 { margin-left: 0.75rem; }

.p-2\.5 { padding: 0.625rem; }
.p-4 { padding: 1rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pb-4 { padding-bottom: 1rem; }
.pb-24 { padding-bottom: 6rem; }
.pt-8 { padding-top: 2rem; }
.scroll-mt-24 { scroll-margin-top: 6rem; }

/* ---------------------------------------------------------------------
   Sizing (icon / avatar squares)
   ------------------------------------------------------------------- */
.h-2 { height: 0.5rem; }
.w-2 { width: 0.5rem; }
.h-3\.5 { height: 0.875rem; }
.w-3\.5 { width: 0.875rem; }
.h-4 { height: 1rem; }
.w-4 { width: 1rem; }
.h-5 { height: 1.25rem; }
.w-5 { width: 1.25rem; }
.h-6 { height: 1.5rem; }
.w-6 { width: 1.5rem; }
.h-7 { height: 1.75rem; }
.w-7 { width: 1.75rem; }
.h-8 { height: 2rem; }
.w-8 { width: 2rem; }
.h-9 { height: 2.25rem; }
.w-9 { width: 2.25rem; }
.h-10 { height: 2.5rem; }
.w-10 { width: 2.5rem; }
.h-11 { height: 2.75rem; }
.w-11 { width: 2.75rem; }
.h-12 { height: 3rem; }
.w-12 { width: 3rem; }

.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }

/* ---------------------------------------------------------------------
   Typography
   ------------------------------------------------------------------- */
.font-display { font-family: "Gloock", Georgia, serif; }
.font-sans { font-family: "Work Sans", system-ui, sans-serif; }
.font-mono { font-family: "JetBrains Mono", monospace; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

.leading-tight { line-height: 1.25; }
.tracking-wide { letter-spacing: 0.025em; }
.uppercase { text-transform: uppercase; }

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

/* ---------------------------------------------------------------------
   Borders / radius / shadow / effects
   ------------------------------------------------------------------- */
.border { border-width: 1px; border-style: solid; border-color: rgba(var(--c-border), 1); }
.border-2 { border-width: 2px; border-style: solid; border-color: rgba(var(--c-border), 1); }
.border-t { border-top-width: 1px; border-top-style: solid; border-top-color: rgba(var(--c-border), 1); }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgba(var(--c-border), 1); }
.border-y { border-top-width: 1px; border-bottom-width: 1px; border-style: solid; border-color: rgba(var(--c-border), 1); }

.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.35), 0 8px 10px -6px rgba(0, 0, 0, 0.3); }

.backdrop-blur { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

.cursor-pointer { cursor: pointer; }
.transition { transition-property: color, background-color, border-color, opacity, box-shadow, transform; transition-timing-function: ease; transition-duration: 200ms; }

.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-from), var(--tw-gradient-to)); }
.from-secondary { --tw-gradient-from: rgb(var(--c-secondary)); }
.to-primary { --tw-gradient-to: rgb(var(--c-primary)); }

/* ---------------------------------------------------------------------
   Colors — solid
   ------------------------------------------------------------------- */
.bg-accent { background-color: rgb(var(--c-accent)); }
.bg-background { background-color: rgb(var(--c-background)); }
.bg-muted { background-color: rgb(var(--c-muted)); }

.text-accent { color: rgb(var(--c-accent)); }
.text-foreground { color: rgb(var(--c-foreground)); }
.text-onprimary { color: rgb(var(--c-onprimary)); }
.text-warning { color: rgb(var(--c-warning)); }

.border-border { border-color: rgb(var(--c-border)); }

/* ---------------------------------------------------------------------
   Colors — with opacity (Tailwind's color/NN syntax)
   ------------------------------------------------------------------- */
.bg-accent\/15 { background-color: rgba(var(--c-accent), 0.15); }
.bg-accent\/70 { background-color: rgba(var(--c-accent), 0.7); }
.bg-background\/90 { background-color: rgba(var(--c-background), 0.9); }
.bg-destructive\/70 { background-color: rgba(var(--c-destructive), 0.7); }
.bg-muted\/40 { background-color: rgba(var(--c-muted), 0.4); }
.bg-primary\/40 { background-color: rgba(var(--c-primary), 0.4); }
.bg-warning\/70 { background-color: rgba(var(--c-warning), 0.7); }

.border-border\/60 { border-color: rgba(var(--c-border), 0.6); }
.border-foreground\/40 { border-color: rgba(var(--c-foreground), 0.4); }

.text-accent\/40 { color: rgba(var(--c-accent), 0.4); }
.text-foreground\/40 { color: rgba(var(--c-foreground), 0.4); }
.text-foreground\/50 { color: rgba(var(--c-foreground), 0.5); }
.text-foreground\/60 { color: rgba(var(--c-foreground), 0.6); }
.text-foreground\/70 { color: rgba(var(--c-foreground), 0.7); }
.text-foreground\/80 { color: rgba(var(--c-foreground), 0.8); }
.text-foreground\/90 { color: rgba(var(--c-foreground), 0.9); }

.placeholder\:text-foreground\/40::placeholder { color: rgba(var(--c-foreground), 0.4); }

/* ---------------------------------------------------------------------
   Hover state
   ------------------------------------------------------------------- */
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:bg-accenthover:hover { background-color: rgb(var(--c-accenthover)); }
.hover\:bg-muted:hover { background-color: rgb(var(--c-muted)); }
.hover\:border-accent:hover { border-color: rgb(var(--c-accent)); }
.hover\:border-accent\/50:hover { border-color: rgba(var(--c-accent), 0.5); }
.hover\:text-accent:hover { color: rgb(var(--c-accent)); }
.hover\:underline:hover { text-decoration: underline; }

/* ---------------------------------------------------------------------
   Focus state (form fields + skip-link)
   ------------------------------------------------------------------- */
.focus\:bg-accent:focus { background-color: rgb(var(--c-accent)); }
.focus\:border-accent:focus { border-color: rgb(var(--c-accent)); }
.focus\:fixed:focus { position: fixed; }
.focus\:left-4:focus { left: 1rem; }
.focus\:top-4:focus { top: 1rem; }
.focus\:not-sr-only:focus {
  position: static;
  width: auto; height: auto;
  padding: 0; margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}
.focus\:outline-none:focus { outline: none; }
.focus\:px-4:focus { padding-left: 1rem; padding-right: 1rem; }
.focus\:py-2:focus { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px rgba(var(--c-accent), 0.3); }
.focus\:ring-accent\/30:focus { box-shadow: 0 0 0 2px rgba(var(--c-accent), 0.3); }
.focus\:rounded-lg:focus { border-radius: 0.5rem; }
.focus\:text-onprimary:focus { color: rgb(var(--c-onprimary)); }
.focus\:z-\[60\]:focus { z-index: 60; }

/* Keep native focus rings for keyboard users everywhere else (see
   styles.css :focus-visible rule) — the resets above only apply to the
   specific interactive elements listed, matching the source markup. */

/* ---------------------------------------------------------------------
   Responsive: sm (>=640px)
   ------------------------------------------------------------------- */
@media (min-width: 640px) {
  .sm\:col-span-1 { grid-column: span 1 / span 1; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:p-16 { padding: 4rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
  .sm\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .sm\:w-auto { width: auto; }
}

/* ---------------------------------------------------------------------
   Responsive: md (>=768px)
   ------------------------------------------------------------------- */
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:col-span-2 { grid-column: span 2 / span 2; }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ---------------------------------------------------------------------
   Responsive: lg (>=1024px)
   ------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .lg\:items-center { align-items: center; }
  .lg\:pl-4 { padding-left: 1rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:py-28 { padding-top: 7rem; padding-bottom: 7rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}
