@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500&family=Lato:wght@300;400;700&display=swap');

:root {
  --blue: #168bd4;
  --pale-blue: #eaf0f1;
  --text: #171717;
  --muted: #777574;
  --green: #79b51f;
  --black: #111111;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Lato", Arial, sans-serif;
  font-size: 12px;
  font-weight: 300;
}

.weitix-logo {
    width: 185px;
    height: 81px;
    background: url("/pics/weitix-logo.png") center / contain no-repeat;
}
.site-header {
  height: 104px;
  background: var(--pale-blue);
}
.header-inner {
  position: relative;
  width: min(672px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1px;
}
.brand {
  display: inline-flex;
  position: relative;
  align-items: center;
  color: var(--blue);
  text-decoration: none;
  font-family: Arial, sans-serif;
  line-height: 1;
  width: 88px;
  height: 32px;
}
.brand-tagline {
  position: absolute;
  left: 21px;
  top: 25px;
  font-size: 3.5px;
  letter-spacing: 1.15px;
  white-space: nowrap;
}
.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 17px;
}
.main-nav a, .footer-nav a {
  color: #292929;
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
}
.main-nav a.active, .footer-nav a.active { color: #000; font-weight: 700; }

.hero {
  height: 211px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #393036 url("/pics/bg-code.png") center 48% / cover no-repeat;
  border-bottom: 7px solid #050505;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(30, 23, 28, .34);
}
.hero h1 {
  z-index: 1;
  max-width: 700px;
  margin: -1px 20px 0;
  color: white;
  text-align: center;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(20px, 3.2vw, 28px);
  line-height: 1.48;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .2px;
}

.services-section { min-height: 368px; }
.content-width {
  width: min(626px, calc(100% - 48px));
  margin: 0 auto;
  padding-top: 52px;
}
h2 {
  margin: 0 0 38px;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(22px, 3.5vw, 29px);
  font-weight: 400;
  line-height: 1.35;
  text-transform: capitalize;
  letter-spacing: -.25px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 37px;
}
.service h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  font-family: "Cinzel", Georgia, serif;
  text-transform: uppercase;
}
.service p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.9;
  font-weight: 300;
}
.closing-statement {
  margin: 100px 0 15px;
  text-align: center;
  font-family: "Cinzel", Georgia, serif;
  font-size: clamp(22px, 3.5vw, 29px);
  line-height: 1.3;
  text-transform: capitalize;
  font-weight: 400;
  letter-spacing: -.2px;
}

.services-list {
  width: min(600px, calc(100% - 48px));
  display: grid;
  gap: 40px;
  padding-top: 17px;
  padding-bottom: 40px;
}
.service-feature {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 250px);
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.service-feature > img {
  grid-column: 1;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 5px;
}
.service-feature-copy { grid-column: 2; }
.service-feature:nth-child(even) > img { grid-column: 2; }
.service-feature:nth-child(even) .service-feature-copy { grid-column: 1; grid-row: 1; }
.service-feature h2 {
  margin: 0 0 6px;
  font-size: clamp(18px, 2.6vw, 21px);
  line-height: 1.3;
  text-transform: uppercase;
}
.service-feature p {
  margin: 0 0 13px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.15;
}
.book-service {
  width: 111px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: var(--blue);
  color: white;
  font-size: 9px;
  font-weight: 400;
  text-decoration: none;
}
.book-service:hover { background: #1177b7; }

.article-page {
  padding: 52px 24px 64px;
}
.article-content {
  width: min(820px, 100%);
  margin: 0 auto;
  color: var(--text);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
}
.article-header {
  margin-bottom: 34px;
  text-align: center;
}
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
  color: var(--text);
  font-family: "Cinzel", Georgia, serif;
  font-weight: 400;
  line-height: 1.3;
  text-transform: none;
}
.article-content h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 42px);
}
.article-content h2 {
  margin: 48px 0 18px;
  font-size: clamp(25px, 4vw, 32px);
}
.article-content h3 {
  margin: 36px 0 14px;
  font-size: clamp(21px, 3vw, 26px);
}
.article-content h4 {
  margin: 28px 0 12px;
  font-size: clamp(18px, 2.5vw, 21px);
}
.article-content p { margin: 0 0 18px; }
.article-content ul,
.article-content ol {
  margin: 0 0 20px;
  padding-left: 26px;
}
.article-content li { margin: 0 0 6px; }
.article-content strong { font-weight: 700; }
.article-content code {
  padding: 1px 4px;
  border-radius: 3px;
  background: #f1f3f4;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: .9em;
}
.article-byline {
  color: var(--muted);
  font-size: 14px;
}
.article-byline span { padding: 0 5px; }
.article-content blockquote {
  margin: 20px 0;
  padding: 12px 20px;
  border-left: 3px solid var(--blue);
  background: #f5f8f9;
  font-family: "Cinzel", Georgia, serif;
  font-size: 18px;
}
.article-figure {
  width: min(680px, 100%);
  margin: 28px auto 32px;
  text-align: center;
}
.article-figure img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 5px;
}
.article-figure figcaption {
  padding: 9px 12px 0;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}

.site-footer { border-top: 1px solid #b9d6de; }
.footer-main { background: var(--pale-blue); }
.footer-inner {
  width: min(672px, calc(100% - 48px));
  min-height: 125px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.35fr .7fr 1fr 1fr;
  align-items: start;
  gap: 16px;
  padding: 36px 0 15px;
}
.footer-brand { margin-top: 0; transform: scale(.78); transform-origin: left top; }
.footer-nav { display: flex; flex-direction: column; gap: 6px; padding-top: 3px; }
.footer-nav a { font-size: 8px; }
address {
  padding-top: 2px;
  color: #6d6d6d;
  font-style: normal;
  font-size: 8px;
  line-height: 1.9;
}
address strong { display: block; margin-bottom: 1px; font-weight: 400; }
.contact-button {
  display: block;
  margin-top: 4px;
  padding: 8px 10px;
  background: var(--green);
  color: white;
  text-align: center;
  font-size: 8px;
  text-decoration: none;
}
.contact-button:hover { background: #689d1b; }
.footer-bottom { background: var(--black); color: #ddd; }
.footer-bottom-inner {
  width: min(672px, calc(100% - 48px));
  min-height: 34px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom small { font-size: 7px; }
.linkedin {
  width: 15px;
  height: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: white;
  color: #111;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-decoration: none;
}

@media (min-width: 1000px) {
  .header-inner, .footer-inner, .footer-bottom-inner { width: min(84%, 1120px); }
  .content-width { width: min(80%, 1040px); }
  .hero { height: 270px; }
  .services-section { min-height: 390px; }
}
@media (max-width: 560px) {
  .site-header { height: auto; min-height: 88px; }
  .header-inner { flex-direction: column; justify-content: center; gap: 14px; padding: 15px 0; }
  .main-nav { position: static; transform: none; gap: clamp(10px, 3vw, 17px); flex-wrap: wrap; justify-content: center; }
  .hero { height: 190px; }
  .hero h1 { font-size: 20px; }
  .desktop-break { display: none; }
  .content-width { padding-top: 38px; }
  .article-page { padding: 36px 20px 44px; }
  .article-content { font-size: 15px; }
  .article-header { margin-bottom: 28px; }
  .article-content h2 { margin-top: 38px; }
  .article-content h3 { margin-top: 30px; }
  .article-figure { margin: 22px auto 26px; }
  h2 { margin-bottom: 28px; }
  .service-grid { grid-template-columns: 1fr; gap: 22px; }
  .service h3 { margin-bottom: 4px; }
  .services-list { gap: 32px; }
  .service-feature {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .service-feature > img,
  .service-feature:nth-child(even) > img,
  .service-feature-copy,
  .service-feature:nth-child(even) .service-feature-copy {
    grid-column: 1;
    grid-row: auto;
  }
  .service-feature > img { width: min(250px, 100%); }
  .service-feature-copy { width: 100%; }
  .closing-statement { margin-top: 52px; margin-bottom: 35px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 22px; padding: 25px 0; }
  .contact-button { align-self: start; max-width: 160px; }
}

.architecture-definition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 32px;
  margin: 28px 0 36px;
}
.architecture-definition figure { margin: 0; }
.architecture-definition img {
  display: block;
  width: 100%;
  height: auto;
}
.architecture-definition figcaption {
  padding-top: 9px;
  color: var(--muted);
  font-size: 13px;
  font-style: italic;
  line-height: 1.5;
}
.architecture-definition h3 { margin-top: 0; }

@media (max-width: 560px) {
  .architecture-definition { grid-template-columns: 1fr; gap: 20px; }
}
