/* Neda Digital Group: a building directory. Black type on white, one rule per venture, each venture owns one colour. */
:root {
  color-scheme: light dark;
  --ground: #ffffff;
  --ink: #111114;
  --ink-2: #4b4d57;
  --ink-3: #6b6e7a;
  --rule: #e3e4e8;
  --focal: #2140ff;
  --aurimood: #c8742e;
  --sanamood: #2f7d6b;
  --max: 1120px;
  --pad: clamp(20px, 5vw, 48px);
  --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ground: #0e0e11;
    --ink: #f3f3f5;
    --ink-2: #b9bbc4;
    --ink-3: #9a9ca8;
    --rule: #26272d;
    --focal: #6b80ff;
    --aurimood: #e3995a;
    --sanamood: #5fb59f;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focal); outline-offset: 3px; border-radius: 2px; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* header */
.top { border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; flex-wrap: wrap; }
.name { font-weight: 700; letter-spacing: -0.01em; text-decoration: none; font-size: 17px; padding: 12px 0; }
.top nav { display: flex; gap: clamp(16px, 3vw, 32px); font-size: 15px; }
.top nav a { text-decoration: none; color: var(--ink-2); padding: 12px 0; display: inline-block; }
.top nav a:hover, .top nav a[aria-current="page"] { color: var(--ink); }
.top nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }

/* hero */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.btn { display: inline-flex; align-items: center; min-height: 48px; margin-top: 28px; padding: 0 24px; border-radius: 999px; background: var(--ink); color: var(--ground); text-decoration: none; font-weight: 500; font-size: 16px; }
.btn:hover { background: var(--focal); color: #fff; }
.hero h1 { margin: 0; font-size: clamp(44px, 8.4vw, 104px); line-height: 0.98; letter-spacing: -0.045em; font-weight: 700; max-width: 11ch; }
.hero p { margin: clamp(20px, 3vw, 32px) 0 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--ink-2); max-width: 34ch; }

/* the directory */
.label { font-size: 14px; color: var(--ink-3); margin: 0 0 14px; font-weight: 500; }
.directory { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.directory li { border-bottom: 1px solid var(--rule); }
.row { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 20px; padding: 22px 0; text-decoration: none; position: relative; }
.chip { width: 56px; height: 56px; border-radius: 14px; background: var(--c); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.chip.img { background: none; overflow: hidden; }
.chip.img img { width: 100%; height: 100%; }
.row h3 { margin: 0; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; line-height: 1.15; font-weight: 700; }
.row p { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; line-height: 1.45; }
.row .meta { font-size: 14px; color: var(--ink-3); text-align: right; white-space: nowrap; }
a.row:hover .chip { transform: rotate(-6deg) scale(1.04); }
a.row:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* sections */
section { padding: clamp(48px, 7vw, 88px) 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); }
.split h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; line-height: 1.1; font-weight: 700; }
.points { display: grid; gap: 28px; }
.points h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; font-weight: 700; }
.points p { margin: 6px 0 0; color: var(--ink-2); }
.prose p { margin: 0 0 18px; color: var(--ink-2); max-width: 62ch; }
.prose p:first-child { color: var(--ink); font-size: clamp(19px, 2vw, 22px); line-height: 1.45; }
.prose h3 { margin: 32px 0 8px; font-size: 19px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule); margin: 0; }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--rule); padding-right: 16px; }
.facts dt { font-size: 14px; color: var(--ink-3); }
.facts dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: break-word; }
.big-link { font-size: clamp(24px, 4vw, 44px); font-weight: 700; letter-spacing: -0.03em; overflow-wrap: anywhere; }

/* page heads */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { margin: 0; font-size: clamp(38px, 6vw, 72px); letter-spacing: -0.04em; line-height: 1; font-weight: 700; }
.page-head p { margin: 18px 0 0; color: var(--ink-2); font-size: clamp(18px, 2vw, 21px); max-width: 44ch; }
.app-head { display: flex; gap: clamp(18px, 3vw, 32px); align-items: center; }
.app-head img { width: clamp(72px, 10vw, 112px); height: auto; border-radius: 24%; flex: none; }

/* footer */
footer { border-top: 1px solid var(--rule); padding: 28px 0 40px; font-size: 14px; color: var(--ink-3); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: space-between; }
footer a { color: var(--ink-2); }

@media (max-width: 720px) {
  .split { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .top .wrap { row-gap: 0; padding-top: 6px; }
  .row { grid-template-columns: 48px 1fr; gap: 16px; }
  .chip { width: 48px; height: 48px; border-radius: 12px; }
  .row .meta { grid-column: 2; text-align: left; white-space: normal; margin-top: -10px; }
}
@media (prefers-reduced-motion: reduce) { .chip { transition: none; } a.row:hover .chip { transform: none; } }
