/* ============================================
   UTUM Limited — design tokens
   A test-management consultancy: precision, structure, trace.
   ============================================ */
:root {
  --ink:        #12151C;
  --ink-soft:   #1D2330;
  --paper:      #EEF1EF;
  --card:       #FFFFFF;
  --gold:       #ebb625;
  --teal:       #2B6E63;
  --text:       #1B2029;
  --line:       rgba(16, 19, 26, 0.14);
  --line-light: rgba(255, 255, 255, 0.18);

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --radius: 6px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(238, 241, 239, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  gap: 16px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand-dot { color: var(--gold); }
.brand-logo {
  width: 25px;
  height: auto;
  display: block;
}
.nav {
  display: none;
  gap: 28px;
}
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.nav a:hover { color: var(--teal); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  display: none;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 9px 18px;
  border-radius: var(--radius);
  white-space: nowrap;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

@media (min-width: 820px) {
  .nav { display: flex; }
  .header-cta { display: inline-block; }
  .nav-toggle { display: none; }
}

/* mobile nav panel */
@media (max-width: 819px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .nav.is-open { max-height: 320px; }
  .nav a {
    padding: 16px 20px;
    border-top: 1px solid var(--line);
  }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background-image:
    linear-gradient(115deg, rgba(18,21,28,0.28) 0%, rgba(18,21,28,0.1) 45%, rgba(18,21,28,0) 70%),
    url("hero-bkgnd.png");
  background-size: cover;
  background-position: center;
  padding: 76px 0 64px;
}

.hero-panel {
  width: 100%;
  background: rgba(75, 80, 94, 0.3);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  padding: 40px 0;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.04;
  margin: 0 0 20px;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  max-width: 52ch;
  color: #FFFFFF;
  font-weight: 500;
  margin: 0 0 32px;
}

.hero .btn-ghost {
  background: rgba(252, 250, 250, 0.35);
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: var(--paper);
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 16px;
}
.eyebrow-light { color: #D9B85C; }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: var(--radius);
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ink-soft); }

/* ============ Sections ============ */
.section {
  padding: 72px 0;
}
.section-ink {
  background: var(--ink);
  color: var(--paper);
}
.section-sand {
  background: var(--card);
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  margin: 0 0 20px;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.section-ink h2 { color: var(--paper); }

.lede {
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 64ch;
  color: rgba(27, 32, 41, 0.85);
  margin: 0;
}
.lede-light { color: rgba(238, 241, 239, 0.85); }

/* ---- about ---- */
.about-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 820px) {
  .about-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.fact-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.fact-list > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.fact-list dt {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(27, 32, 41, 0.55);
}
.fact-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

/* ---- services ---- */
.tick-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.tick-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(238, 241, 239, 0.92);
  font-weight: 500;
}
.tick-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 6px;
  border-left: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(-45deg);
}

/* ---- team ---- */
.team-card {
  margin-top: 24px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}
.team-card-name h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  margin: 0 0 6px;
  color: var(--ink);
}
.team-card-name p {
  margin: 0;
  color: rgba(27, 32, 41, 0.75);
}

/* ---- clients ---- */
.client-grid {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 620px) {
  .client-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .client-grid { grid-template-columns: repeat(4, 1fr); }
}

.client-grid li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  min-height: 96px;
}
.client-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.client-grid img {
  max-height: 46px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.15s ease, opacity 0.15s ease;
}
.client-grid a:hover img,
.client-grid a:focus-visible img {
  filter: grayscale(0);
  opacity: 1;
}

/* ---- contact ---- */
.contact-grid {
  margin-top: 32px;
  display: grid;
  gap: 20px;
}
@media (min-width: 620px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-card {
  padding: 24px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card-label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 4px;
}
.contact-link {
  color: var(--paper);
  text-decoration: none;
  font-weight: 500;
}
.contact-link:hover { color: #D9B85C; }

/* ============ Footer ============ */
.site-footer {
  background: var(--ink);
  color: rgba(238, 241, 239, 0.55);
  padding: 24px 0;
  font-size: 0.85rem;
  border-top: 1px solid var(--line-light);
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
}
