/* SQC Labs Pte. Ltd. public site
   Minimal company pages for Meta business verification.
   No third-party scripts or analytics.
   TODO: add public business phone once available. Do not show a placeholder number on the site.
*/

:root {
  --ink: #141614;
  --ink-soft: #3a3d3a;
  --paper: #f7f4ee;
  --rule: #c4b89a;
  --gold: #8a7a55;
  --link: #1d3a2a;
  --max: 40rem;
}

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

html { font-size: 18px; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  line-height: 1.55;
}

a { color: var(--link); text-underline-offset: 0.15em; }
a:hover { color: var(--ink); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  background: var(--paper);
  padding: 0.25rem 0.5rem;
  z-index: 10;
}

header {
  border-bottom: 1px solid var(--rule);
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
}

header .wrap, footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.brand img {
  width: 2rem;
  height: 2rem;
  display: block;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.8rem;
}

nav a { color: var(--ink-soft); text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }

main {
  flex: 1;
  padding: 3rem 0 4rem;
}

h1 {
  font-weight: 500;
  font-size: 1.85rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 0.75rem;
}

.meta {
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

.meta span { display: block; }

p { margin: 0 0 1rem; }

.contact {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
}

.contact h2 {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
  color: var(--gold);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.contact p { margin: 0; }

h2 {
  font-size: 1.15rem;
  font-weight: 500;
  margin: 2rem 0 0.6rem;
}

ul { margin: 0 0 1rem; padding-left: 1.2rem; }
li { margin: 0 0 0.4rem; }

footer {
  border-top: 1px solid var(--rule);
  padding: 1.1rem 0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 0.72rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

footer .wrap {
  display: block;
}

@media (max-width: 40rem) {
  header .wrap {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem 0 1rem;
    min-height: 0;
  }
}
