/* DOOC Consultancy — dooc-ltd.com */

:root {
  --bg: #232323;
  --bg-nav: #262626;
  --text: #eaeaea;
  --text-dim: #b9b9b9;
  --hairline: rgba(255, 255, 255, 0.09);
  --nav-h: 62px;
  --wrap: 1060px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

p { margin: 0 0 1.5em; }
p:last-child { margin-bottom: 0; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
  z-index: 10;
  padding: 10px 16px;
  background: #fff;
  color: #232323;
  border-radius: 3px;
}

/* ---------- Hero ---------- */

.hero {
  min-height: 520px;
  height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: flex-end;
  background-color: #1d2a35;
  background-image: url('images/hero.jpg?v=2');
  background-size: cover;
  background-position: center;
}

.hero-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px 44px;
}

.brand {
  margin: 0;
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.brand-sub {
  margin: 0.35em 0 0;
  font-size: 1rem;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

/* ---------- Nav ---------- */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg-nav);
  border-bottom: 1px solid var(--hairline);
}

.nav-toggle {
  display: none;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 2.4rem;
  max-width: var(--wrap);
  min-height: var(--nav-h);
  margin: 0 auto;
  padding: 0 24px;
  list-style: none;
}

.nav-menu a {
  display: inline-block;
  padding: 0.55rem 0;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-dim);
  transition: color 0.15s ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible { color: #fff; }

.nav-menu a.is-current { color: #fff; }

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

.section {
  padding: 96px 0;
}

.section--intro {
  padding: 120px 0;
}

.wrap {
  display: grid;
  grid-template-columns: 42% 58%;
  gap: 0 44px;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.col-label {
  margin: 0.35em 0 0;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d7d7d7;
}

.col-body {
  min-width: 0;
  max-width: 34em;
}

.rule {
  margin: 0 0 1.5em;
  color: var(--text-dim);
}

#contact .col-body p { margin-bottom: 1.1em; }
#contact a { text-decoration: none; }
#contact a:hover { text-decoration: underline; }

/* ---------- Image bands ---------- */

/* Each band carries text baked into the artwork, so the heights below are
   tuned to keep that text inside the visible crop at every width. */

.band {
  height: 46vh;
  min-height: 300px;
  max-height: 520px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Wordmark plate: rounded corners are transparent, so it sits on the page
   colour as a deliberate card. Shown whole — never cropped. */
.band--brand {
  background-image: url('images/band-brand.png');
  background-color: var(--bg);
  background-size: contain;
}

.band--translate {
  background-image: url('images/band-translate.jpg');
  background-color: #8a7f74;
}

/* Lettering sits top-left in this photo, so anchor the crop to the top. */
.band--connect {
  background-image: url('images/band-connect.jpg');
  background-color: #2b2f36;
  background-position: center top;
}

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

.site-footer {
  border-top: 1px solid var(--hairline);
  padding: 60px 0 80px;
}

.site-footer .wrap {
  display: block;
}

.footer-note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dim);
}

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

@media (max-width: 900px) {
  body { font-size: 18px; }

  .nav-menu { gap: 0 1.6rem; }
  .nav-menu a { font-size: 0.74rem; }

  .wrap {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .col-label { margin-top: 0; }
  .col-body { max-width: none; }

  .section { padding: 64px 0; }
  .section--intro { padding: 72px 0; }

  .band { height: 34vh; min-height: 220px; max-height: 340px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 54px; }

  .hero { height: calc(100svh - var(--nav-h)); min-height: 420px; }
  .brand { font-size: 1.7rem; }

  .nav-toggle {
    display: block;
    width: 100%;
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 17px 24px;
    background: none;
    border: 0;
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-align: left;
    color: #fff;
    cursor: pointer;
  }

  .nav-menu {
    display: none;
    min-height: 0;
    padding: 0 24px 14px;
  }

  .nav-menu.is-open { display: block; }

  .nav-menu li { border-top: 1px solid var(--hairline); }

  .nav-menu a {
    display: block;
    padding: 0.85rem 0;
    font-size: 0.78rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
