/* NCORE design system — marble white, brushed gold, emerald.
   Matches the supplied logos. All colours are tokens so they are easy to tune. */
:root {
  --marble: #f7f6f2;
  --marble-2: #efede6;
  --paper: #ffffff;
  --ink: #14211b;
  --ink-soft: #4a5a52;
  --emerald: #0f6b3f;
  --emerald-deep: #0a4a2c;
  --emerald-bright: #1f9d57;
  --gold: #b8913a;
  --gold-light: #d9b968;
  --line: #e2ddd0;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 33, 27, .08);
  --serif: "Cormorant Garamond", "Cinzel", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--sans); color: var(--ink); background: var(--marble);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--emerald); text-decoration-color: var(--gold-light); text-underline-offset: 3px; }
a:hover { color: var(--emerald-deep); }
.wrap { width: min(var(--max), 100% - 40px); margin-inline: auto; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; margin: 0 0 .5em; color: var(--emerald-deep); letter-spacing: .01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 700; }
p { margin: 0 0 1em; }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: .8rem; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.rule { height: 1px; border: 0; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); margin: 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(247,246,242,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; }
.nav .brand-mini { width: 46px; height: 46px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); flex: none; }
.nav .brand-mini .logo-img, .nav .brand-mini .logo-placeholder { width: 100%; height: 100%; object-fit: cover; }
.nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
.nav a.link { display: block; padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .92rem; font-weight: 500; }
.nav a.link:hover, .nav a.link[aria-current="page"] { background: var(--emerald); color: #fff; }

/* Buttons */
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none; border: 1.5px solid var(--emerald); cursor: pointer; font-family: inherit; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--emerald), var(--emerald-deep)); color: #fff; border-color: var(--emerald-deep); }
.btn-primary:hover { color: #fff; }
.btn-ghost { background: transparent; color: var(--emerald-deep); border-color: var(--gold); }
.btn-ghost:hover { background: var(--gold); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 1.6rem; }

/* Hero */
.hero { padding: 72px 0 64px; background:
  radial-gradient(900px 400px at 85% 0%, rgba(184,145,58,.12), transparent 60%),
  radial-gradient(700px 400px at 0% 100%, rgba(15,107,63,.08), transparent 60%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.logo-frame { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 14px; box-shadow: var(--shadow); }
.logo-frame .logo-img, .logo-frame .logo-placeholder { width: 100%; height: auto; aspect-ratio: 1/1; border-radius: 12px; object-fit: contain; }

/* Logo placeholder (only shown when the real file is missing) */
.logo-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 6px; padding: 14px;
  background: repeating-linear-gradient(45deg, #faf8f1, #faf8f1 12px, #f3efe2 12px, #f3efe2 24px);
  border: 2px dashed var(--gold); color: var(--ink-soft); font-size: .8rem; }
.logo-placeholder strong { color: var(--emerald-deep); font-size: .9rem; letter-spacing: .08em; }
.logo-placeholder code { background: #fff; padding: 2px 6px; border-radius: 4px; font-size: .75rem; word-break: break-all; }
.brand-mini .logo-placeholder { font-size: 0; padding: 0; border-width: 1px; }
.brand-mini .logo-placeholder * { display: none; }

/* Sections */
section { padding: 76px 0; }
section.alt { background: var(--marble-2); }
.section-head { max-width: 680px; margin-bottom: 40px; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); position: relative; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .tick { width: 36px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); margin-bottom: 16px; border-radius: 2px; }
.badge { display: inline-block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: #f3ecd8; color: #7a5d16; border: 1px solid var(--gold-light); }
.badge.green { background: #e3f3ea; color: var(--emerald-deep); border-color: #b9dfc9; }
.card .badge { position: absolute; top: 20px; right: 20px; }
.card.with-badge h3 { padding-right: 110px; }

/* Brand cards on home */
.brand-card { display: flex; flex-direction: column; gap: 18px; }
.brand-card .logo-frame { padding: 8px; box-shadow: none; }

/* Notice / honesty banner */
.notice { background: #fbf6e6; border: 1px solid var(--gold-light); border-left: 4px solid var(--gold); border-radius: 10px; padding: 14px 18px; font-size: .92rem; color: #5b4712; }
.notice.green { background: #eaf5ee; border-color: #b9dfc9; border-left-color: var(--emerald); color: var(--emerald-deep); }

/* Steps */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { counter-increment: s; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.step::before { content: "0" counter(s); font-family: var(--serif); font-size: 2rem; color: var(--gold); font-weight: 700; display: block; }

/* Concept placeholders (Nore Labs) */
.concept { aspect-ratio: 4/3; border-radius: 10px; margin-bottom: 18px; display: grid; place-items: center; text-align: center; color: var(--emerald-deep);
  background: linear-gradient(135deg, #eef6f1, #f7f1de); border: 1px dashed var(--gold); font-size: .85rem; padding: 12px; }
.concept svg { width: 64px; height: 64px; stroke: var(--emerald); fill: none; stroke-width: 1.5; margin: 0 auto 8px; }

/* Forms */
form { display: grid; gap: 16px; }
label { font-weight: 600; font-size: .9rem; display: block; margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold-light); border-color: var(--gold); }
textarea { min-height: 130px; resize: vertical; }
.form-status { font-size: .92rem; min-height: 1.4em; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); padding: 48px 0 36px; font-size: .9rem; color: var(--ink-soft); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font-family: var(--serif); font-size: 1.1rem; color: var(--emerald-deep); margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .82rem; }

@media (max-width: 860px) {
  .hero-grid, .g2, .g3, .steps, .foot-grid { grid-template-columns: 1fr; }
  .hero { padding: 44px 0; }
  section { padding: 52px 0; }
  .hero-grid .logo-frame { max-width: 420px; }
  .nav ul { gap: 0; }
  .nav a.link { padding: 7px 10px; font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
