/* K.H.O. Huizingen — huisstijlgids */

:root {
  --navy: #0A1736;
  --blue: #1A3A7A;
  --yellow: #FFC72C;
  --cream: #F5F1E8;
  --grey-l: #C7C7C7;
  --grey-d: #404040;
  --ink: #0A1736;
  /* functionele / statuskleuren */
  --success: #2E9E5B;
  --warning: #E8920C;
  --error: #D23B3B;
  --info: #2D6CDF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px
}

h1,
h2,
h3,
.display {
  font-family: 'Anton', Impact, sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: .98
}

.mono {
  font-family: 'JetBrains Mono', monospace
}

.eyebrow {
  font-family: 'Inter';
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .72rem;
  color: var(--yellow)
}

section {
  padding: 84px 0;
  border-bottom: 1px solid rgba(10, 23, 54, .08)
}

p.lead {
  font-size: 1.12rem;
  max-width: 62ch;
  color: #26324d
}

/* COVER */
.cover {
  background: var(--navy);
  color: var(--cream);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: none
}

.cover .glow {
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 58, 122, .85), transparent 65%);
  top: -180px;
  right: -160px
}

.cover .glow2 {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 199, 44, .10), transparent 60%);
  bottom: -200px;
  left: -120px
}

.cover .wrap {
  position: relative;
  z-index: 2
}

.cover img.badge {
  width: 140px;
  margin-bottom: 40px
}

.cover h1 {
  font-size: clamp(3.2rem, 9vw, 7rem);
  color: var(--cream)
}

.cover h1 .y {
  color: var(--yellow)
}

.cover .sub {
  margin-top: 18px;
  font-size: 1.15rem;
  color: #aab4cc;
  max-width: 54ch
}

.cover .meta {
  margin-top: 48px;
  font-family: 'JetBrains Mono';
  font-size: .8rem;
  letter-spacing: .12em;
  color: #7e8aa8;
  text-transform: uppercase
}

.bar {
  height: 6px;
  width: 120px;
  background: var(--yellow);
  margin: 28px 0 0
}

h2.section-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  color: var(--navy);
  margin: 6px 0 10px
}

.underline {
  height: 5px;
  width: 74px;
  background: var(--yellow);
  margin-bottom: 30px
}

/* COLOR SWATCHES */
.swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 8px
}

.sw {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 23, 54, .10);
  background: #fff
}

.sw .chip {
  height: 120px
}

.sw .info {
  padding: 14px 16px
}

.sw .nm {
  font-weight: 700;
  font-size: .95rem
}

.sw .hex {
  font-family: 'JetBrains Mono';
  font-size: .8rem;
  color: #667;
  margin-top: 3px
}

.sw .hex2 {
  font-family: 'JetBrains Mono';
  font-size: .68rem;
  color: #9aa3b4;
  margin-top: 3px;
  line-height: 1.5
}

.sw .role {
  font-size: .78rem;
  color: #8a93a8;
  margin-top: 7px;
  line-height: 1.35
}

/* tri-tone chip for functional colours */
.chip3 {
  height: 120px;
  display: flex
}

.chip3 span {
  display: block;
  flex: 1
}

.chip3 span.main {
  flex: 2.2
}

/* status messages demo */
.msg {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: 10px;
  padding: 13px 16px;
  margin-top: 14px;
  font-size: .95rem;
  border-left: 5px solid
}

.msg .ic {
  font-weight: 800;
  font-size: .95rem;
  line-height: 1.5;
  flex: none
}

.msg.success {
  background: #E6F4EC;
  border-color: var(--success);
  color: #1C6B3C
}

.msg.warn {
  background: #FCEFD8;
  border-color: var(--warning);
  color: #8A5406
}

.msg.error {
  background: #FAE7E7;
  border-color: var(--error);
  color: #8E2424
}

.msg.info {
  background: #E7EFFC;
  border-color: var(--info);
  color: #1B4894
}

.msg b {
  font-weight: 700
}

/* DOWNLOAD BUTTONS */
.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--blue);
  color: #fff;
  font-family: 'Inter';
  font-weight: 700;
  font-size: .82rem;
  padding: 10px 17px;
  border-radius: 9px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: .15s;
  white-space: nowrap
}

.btn-dl:hover {
  background: var(--navy);
  transform: translateY(-1px)
}

.btn-dl.y {
  background: var(--yellow);
  color: var(--navy)
}

.btn-dl.y:hover {
  background: #f0b91f
}

.btn-dl.ghost {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, .35);
  color: #fff
}

.btn-dl.ghost:hover {
  border-color: var(--yellow);
  color: var(--yellow);
  background: transparent
}

.btn-dl svg {
  width: 14px;
  height: 14px;
  flex: none
}

.dl-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px
}

.dl-bar .hint {
  font-size: .85rem;
  color: #8a93a8
}

/* LOGO */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 10px
}

.logo-card {
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 230px;
  box-shadow: 0 6px 20px rgba(10, 23, 54, .08);
  position: relative;
  overflow: hidden
}

.logo-card img {
  max-width: 150px;
  max-height: 150px
}

.logo-card .cap {
  margin-top: 18px;
  font-size: .78rem;
  font-family: 'JetBrains Mono';
  letter-spacing: .06em;
  text-transform: uppercase
}

/* per-logo downloads, revealed on hover */
.logo-card .dl-actions {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  transition: .15s
}

.logo-card .dl-actions .btn-dl {
  padding: 8px 12px;
  font-size: .72rem;
  gap: 5px;
  box-shadow: 0 6px 16px rgba(10, 23, 54, .25)
}

.logo-card:hover .dl-actions,
.logo-card:focus-within .dl-actions {
  opacity: 1;
  transform: none
}

.lc-cream {
  background: var(--cream)
}

.lc-cream .cap {
  color: #566
}

.lc-yellow {
  background: var(--yellow)
}

.lc-yellow .cap {
  color: var(--navy)
}

.lc-white {
  background: #fff;
  border: 1px solid #e7e2d6
}

.lc-white .cap {
  color: #566
}

.lc-navy {
  background: var(--navy)
}

.lc-navy .cap {
  color: #9aa6c2
}

.lc-blue {
  background: var(--blue)
}

.lc-blue .cap {
  color: #cdd6ea
}

/* type specimen */
.type-row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: flex-start;
  margin-top: 8px
}

.type-card {
  flex: 1;
  min-width: 280px;
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 6px 20px rgba(10, 23, 54, .08);
  display: flex;
  flex-direction: column
}

.type-card .big {
  font-size: 3.4rem;
  color: var(--navy);
  margin: 6px 0 4px
}

.type-card .anton {
  font-family: 'Anton'
}

.type-card .name {
  font-weight: 800;
  font-size: 1.1rem
}

.type-card .use {
  font-size: .85rem;
  color: #788;
  margin-top: 6px
}

.alpha {
  font-size: 1rem;
  color: #445;
  margin-top: 14px;
  word-break: break-word
}

.type-card .btn-dl {
  margin-top: 18px;
  align-self: flex-start
}

.specimen-inter {
  font-family: 'Inter'
}

.specimen-mono {
  font-family: 'JetBrains Mono'
}

/* do / dont */
.dd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 8px
}

.dd .card {
  border-radius: 14px;
  padding: 24px 26px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(10, 23, 54, .08)
}

.dd .h {
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 1.05rem
}

.dd .do .h {
  color: #1f7a44
}

.dd .dont .h {
  color: #b23b3b
}

.dd ul {
  list-style: none
}

.dd li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: .95rem;
  color: #3a455e
}

.dd .do li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1f7a44;
  font-weight: 800
}

.dd .dont li::before {
  content: "✕";
  position: absolute;
  left: 0;
  color: #b23b3b;
  font-weight: 800
}

/* applications band */
.apps {
  background: var(--navy);
  color: var(--cream);
  border: none
}

.apps h2.section-title {
  color: #fff
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 10px
}

.app {
  border-radius: 16px;
  padding: 28px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px
}

.app .top .t {
  font-family: 'Anton';
  font-size: 1.9rem;
  line-height: .95;
  margin-top: 10px
}

.app.navy {
  background: #122A5C;
  border: 1px solid rgba(255, 255, 255, .08)
}

.app.blue {
  background: var(--blue)
}

.app.yellow {
  background: var(--yellow);
  color: var(--navy)
}

.app .d {
  font-size: .85rem;
  opacity: .85;
  margin-top: 10px
}

.app .tag {
  font-family: 'JetBrains Mono';
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .7
}

table.spacing {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(10, 23, 54, .08)
}

table.spacing td,
table.spacing th {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid #eee;
  font-size: .92rem
}

table.spacing th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .78rem
}

table.spacing td.mono {
  font-family: 'JetBrains Mono'
}

footer {
  background: var(--navy);
  color: #8a93a8;
  text-align: center;
  padding: 50px 20px;
  font-size: .82rem
}

footer img {
  width: 70px;
  margin-bottom: 18px;
  opacity: .95
}

.pill {
  display: inline-block;
  background: rgba(255, 199, 44, .15);
  color: var(--yellow);
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'JetBrains Mono';
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase
}

/* toast confirmation for download-all */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy);
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .35);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 99;
  border-left: 4px solid var(--yellow)
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%)
}

/* EMAIL SIGNATURE */
.sig-layout {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 26px;
  align-items: start;
  margin-top: 10px
}

.sig-form {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(10, 23, 54, .10)
}

.sig-form label {
  display: block;
  font-family: 'Inter';
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .68rem;
  color: #8a93a8;
  margin: 16px 0 6px
}

.sig-form label:first-child {
  margin-top: 0
}

.sig-form input {
  width: 100%;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: var(--ink);
  background: #fbfcfe;
  border: 1px solid #dfe3ec;
  border-radius: 9px;
  padding: 10px 12px
}

.sig-form input:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff
}

.sig-stage {
  background: #fff;
  border-radius: 14px;
  padding: 30px 34px 34px;
  box-shadow: 0 6px 20px rgba(10, 23, 54, .10)
}

.sig-stage .bar-lbl {
  font-family: 'JetBrains Mono';
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9aa3b4;
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 26px
}

.sig-preview {
  overflow-x: auto
}

.sig-split {
  margin-top: 34px
}

.sig-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 28px
}

.sig-actions .hint {
  font-size: .85rem;
  color: #8a93a8
}

.sig-code {
  margin-top: 22px;
  background: var(--navy);
  color: #b9c8ea;
  border-radius: 12px;
  padding: 18px 20px;
  font-family: 'JetBrains Mono';
  font-size: .7rem;
  line-height: 1.75;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 240px;
  overflow: auto
}

.sig-rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px
}

.sig-rules .r {
  background: #fff;
  border-radius: 14px;
  padding: 20px 22px;
  box-shadow: 0 6px 20px rgba(10, 23, 54, .08);
  border-top: 4px solid var(--yellow)
}

.sig-rules .r .h {
  font-family: 'Inter';
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  margin-bottom: 8px
}

.sig-rules .r p {
  font-size: .88rem;
  color: #56607a
}

@media(max-width:860px) {
  .sig-layout {
    grid-template-columns: 1fr
  }

  .sig-stage {
    padding: 22px
  }
}

@media(max-width:680px) {

  .dd,
  .swatches {
    grid-template-columns: 1fr 1fr
  }

  .cover h1 {
    font-size: 3rem
  }
}
