/* NHRM Tech Ltd, corporate site.
   Plain, restrained, monochrome. Deliberately distinct from Kure's
   product design system (Stone/Pine, Fraunces+Inter): this is the
   parent company, not the product. No decoration, no external font
   requests: hierarchy comes from type scale, weight, rule lines and
   space, not colour or imagery. */

:root {
  --paper: #ffffff;
  --paper-alt: #f5f5f3;
  --ink: #171717;
  --muted: #62625e;
  --rule: #dedcd7;
  --rule-strong: #b7b5ae;

  --wrap: 58rem;      /* outer container: wide enough for two columns */
  --measure: 36rem;   /* comfortable line length for a paragraph */

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--rule-strong);
  text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
  text-decoration-color: var(--ink);
}

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ---- Header ---------------------------------------------------- */

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

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-top: 1.35rem;
  padding-bottom: 1.35rem;
}

.wordmark {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}

.wordmark:hover {
  text-decoration: none;
}

nav.site ul {
  list-style: none;
  display: flex;
  gap: 1.85rem;
  margin: 0;
  padding: 0;
}

nav.site a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid transparent;
}

nav.site a:hover,
nav.site a:focus-visible {
  color: var(--ink);
}

nav.site a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

/* ---- Main / hero ------------------------------------------------ */

main {
  flex: 1;
}

.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 1.5rem clamp(2.25rem, 5vw, 3rem);
}

.eyebrow {
  margin: 0 0 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.85rem, 4.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.hero p.lede {
  margin: 1.5rem 0 0;
  max-width: var(--measure);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
}

hr.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
}

/* ---- Sections ----------------------------------------------------- */

section.block {
  padding-top: clamp(2.75rem, 6vw, 3.75rem);
  padding-bottom: clamp(2.75rem, 6vw, 3.75rem);
}

section.block h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

section.block p {
  margin: 0 0 1.05rem;
  max-width: var(--measure);
}

section.block p:last-child {
  margin-bottom: 0;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 4rem;
}

.two-col > div > p {
  max-width: none;
}

/* Full-bleed tinted band for a section that should read as visually
   distinct, e.g. the pointer from Home to the product, or Kure's link
   out to its own site. */
.band {
  background: var(--paper-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

/* ---- Definition grid (company details) --------------------------- */

dl.details {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}

dl.details > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.25rem 1.5rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--rule);
}

dl.details dt {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
}

dl.details dd {
  margin: 0;
  font-size: 1rem;
}

/* ---- Footer -------------------------------------------------------- */

footer.site {
  border-top: 1px solid var(--rule);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}

footer.site .wrap {
  padding: 2rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

footer.site .legal p,
footer.site .reach p {
  margin: 0 0 0.3rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

footer.site .legal p:first-child {
  color: var(--ink);
  font-weight: 600;
}

footer.site .legal p:last-child,
footer.site .reach p:last-child {
  margin-bottom: 0;
}

footer.site a {
  color: var(--muted);
}

/* ---- Responsive ------------------------------------------------------ */

@media (max-width: 40rem) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  dl.details > div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  nav.site ul {
    gap: 1.25rem;
  }
}
