/* Falkonr — static reproduction. Plain CSS, mobile-first.
   See DESIGN.md for the design tokens this file implements. */

:root {
  --color-bg: #ffffff;
  --color-text: #444444; /* rgb(68,68,68) body/headings */
  --color-text-strong: #000000;
  --color-text-muted: #888888; /* rgb(136,136,136) secondary */
  --color-divider: #eeeeee; /* rgb(238,238,238) */
  --color-accent: #e13a44; /* latent palette red — used sparingly */

  --font-sans: "Montserrat", Helvetica, Arial, sans-serif;

  --container-max: 1080px;
  --container-pad: 24px;
  --section-pad-y: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2 {
  color: var(--color-text-strong);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* Accessibility skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--color-text-strong);
  color: #fff;
  padding: 8px 16px;
  z-index: 100;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--color-divider);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand-logo {
  height: 38px;
  width: auto;
}
.site-nav {
  display: flex;
  gap: 28px;
}
.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.nav-link:hover,
.nav-link:focus {
  color: var(--color-text-strong);
  border-bottom-color: var(--color-text-strong);
}

/* Hero */
.hero {
  padding: calc(var(--section-pad-y) + 16px) 0 var(--section-pad-y);
  text-align: center;
}
.hero-headline {
  font-size: clamp(1.75rem, 4.5vw, 3rem);
  font-weight: 600;
  max-width: 18ch;
  margin: 0 auto 28px;
}
.hero-subhead {
  font-size: clamp(1.05rem, 2.2vw, 1.4rem);
  color: var(--color-text-muted);
  font-weight: 300;
  max-width: 40ch;
  margin: 0 auto;
}
.hero-subhead strong {
  color: var(--color-text-strong);
  font-weight: 600;
}

/* Services */
.services {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--color-divider);
}
.services-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 36px 32px;
  grid-template-columns: 1fr;
}
.service-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  padding-top: 16px;
}
.service-title::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--color-accent);
}
.service-desc {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* Clients */
.clients {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--color-divider);
  text-align: center;
}
.section-heading {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 40px;
}
.client-logos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px 56px;
}
.client-logo {
  height: 44px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: opacity 0.2s ease;
}
.client-logo:hover {
  opacity: 1;
}

/* About */
.about {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--color-divider);
}
.about-inner {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
  align-items: center;
}
.about-media {
  text-align: center;
}
.about-portrait {
  width: 220px;
  height: 220px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
}
.about-linkedin {
  display: inline-block;
}
.about-body .section-heading {
  text-align: left;
  margin-bottom: 20px;
}
.about-body p {
  margin: 0 0 18px;
  max-width: 60ch;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-divider);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.copyright {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.footer-contact {
  display: flex;
  gap: 18px;
}
.icon {
  height: 22px;
  width: 22px;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.footer-contact a:hover .icon,
.about-linkedin:hover .icon {
  opacity: 1;
}
.back-to-top {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.back-to-top:hover {
  color: var(--color-text-strong);
}

/* Responsive */
@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 32px 24px;
  }
  .about-inner {
    grid-template-columns: 280px 1fr;
    gap: 56px;
  }
  .about-media {
    text-align: left;
  }
  .about-portrait {
    margin-left: 0;
    margin-right: 0;
  }
}
