/* ---------- DK Design — site styles ---------- */
:root {
  --text: #666;
  --ink: rgba(0, 0, 0, 0.85);
  --line: #e6e6e6;
  --max: 1100px;
  --font: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: var(--font);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.03em;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); }
a:hover { opacity: 0.7; }

h1, h2, h3 { color: var(--ink); font-weight: 700; letter-spacing: 0.01em; line-height: 1.25; }
h1 { font-size: 26px; margin: 0 0 24px; }
h2 { font-size: 20px; margin: 40px 0 24px; }
h3 { font-size: 15px; margin: 0 0 8px; }
p  { margin: 0 0 16px; }
.center { text-align: center; }

/* ---------- header / navigation ---------- */
.site-header {
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 40px 30px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.logo img { width: 50px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav > ul { display: flex; gap: 24px; }
.site-nav a, .sub-toggle {
  color: #999;
  text-decoration: none;
  font: inherit;
  font-size: 13px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.site-nav a:hover, .sub-toggle:hover,
.site-nav .active > a, .site-nav .active > .sub-toggle,
.site-nav a[aria-current] { color: var(--ink); opacity: 1; }

.has-sub { position: relative; }
.sub {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  padding: 10px 16px;
  min-width: 170px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  z-index: 10;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.sub li { padding: 2px 0; }
.menu-toggle { display: none; }

/* ---------- main layout ---------- */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px 40px;
}
main > h1:first-child { text-align: center; }
.intro { margin-bottom: 40px; }
.narrow { max-width: 720px; margin: 0 auto 40px; }

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 34px;
  margin: 32px 0;
  align-items: start;
}
.cols img { width: 100%; }

figure { margin: 0; }
.full { margin: 0 0 32px; }

/* image with a big label laid over it (Reform page) */
.banner { position: relative; margin: 70px 0 32px; }
.banner img { width: 100%; }
.banner figcaption {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  font-size: clamp(28px, 6vw, 64px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(0, 0, 0, 0.12);
  text-shadow: 0 2px 16px rgba(0,0,0,.3);
  padding: 20px;
}

.button {
  display: inline-block;
  background: #222;
  color: #fff;
  border: 0;
  padding: 12px 22px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
}

.video { position: relative; aspect-ratio: 16 / 9; margin: 60px 0 24px; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.caption-block { max-width: 720px; margin: 0 auto 40px; text-align: center; }

/* ---------- home page tiles ---------- */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tile { position: relative; display: block; overflow: hidden; aspect-ratio: 1 / 1; background: #eee; }
.tile-wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.tile span {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  font-size: clamp(22px, 4.5vw, 52px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(0,0,0,.15);
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
  transition: background .4s ease;
}
.tile:hover { opacity: 1; }
.tile:hover img { transform: scale(1.04); }
.tile:hover span { background: rgba(0,0,0,.35); }

/* ---------- brands ---------- */
.hint { font-size: 13px; color: #999; margin-top: -12px; }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px 36px; margin-top: 40px; }
.brand { text-align: center; }
.brand h3 { margin-top: 16px; }
.brand p { font-size: 13px; }
.brand-open { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.brand-open img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: opacity .3s; }
.brand-open:hover img { opacity: .8; }

.lightbox {
  border: 0;
  padding: 48px;
  max-width: min(960px, 92vw);
  max-height: 90vh;
  color: var(--text);
}
.lightbox::backdrop { background: rgba(255,255,255,.94); }
.lightbox-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; text-align: left; }
.lightbox p { font-weight: 400; }
.lightbox .close {
  position: absolute; top: 10px; right: 16px;
  font-size: 30px; line-height: 1;
  border: 0; background: none; cursor: pointer; color: var(--ink);
}

/* ---------- assorted bits ---------- */
.bit { display: grid; grid-template-columns: 3fr 2fr; gap: 36px; align-items: center; margin: 0 0 60px; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.about h1 { text-align: left; }

/* ---------- contact form ---------- */
.contact-form { max-width: 540px; }
.contact-form fieldset { border: 0; padding: 0; margin: 0; }
.contact-form legend { color: var(--ink); padding: 0; font-size: 13px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form label { display: block; font-size: 13px; color: var(--ink); margin-bottom: 14px; }
.contact-form small { color: #aaa; font-size: 11px; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%;
  margin-top: 4px;
  padding: 10px;
  font: inherit;
  border: 1px solid #ccc;
  background: #fafafa;
}

/* ---------- footer ---------- */
.site-footer {
  max-width: var(--max);
  margin: 40px auto 0;
  padding: 40px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.site-footer p { margin: 0 0 16px; }
.linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px;
  background: #222; color: #fff;
  font-size: 12px; font-weight: 700; text-decoration: none;
}

/* ---------- phones & small tablets ---------- */
@media (max-width: 760px) {
  .site-header { padding: 24px 20px; justify-content: space-between; flex-wrap: wrap; }
  .menu-toggle {
    display: block;
    border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer;
  }
  .site-nav { display: none; width: 100%; }
  .site-nav.open { display: block; }
  .site-nav > ul { flex-direction: column; gap: 10px; padding-top: 10px; }
  .sub { display: block; position: static; box-shadow: none; padding: 6px 0 0 14px; }
  main { padding: 0 20px 30px; }
  .site-footer { padding: 30px 20px; }
  .cols, .about, .bit, .lightbox-inner { grid-template-columns: 1fr; }
  .cols h3.spacer { display: none; }
  .brand-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .tiles { grid-template-columns: 1fr; }
  .tile-wide { aspect-ratio: 1 / 1; }
  .lightbox { padding: 40px 20px 20px; }
}
