/* Arnold Technology Solutions — static site styles */

@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-semibold.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-bold.woff2") format("woff2"); }

:root {
  --bg: #0a0c11;
  --bg-raised: #11141b;
  --fg: #ffffff;
  --text: #abadb3;
  --muted: #999999;
  --border: #323438;
  --primary: #2292b1;
  --blue: #1b3385;
  --teal: #25c5c9;
  --orange: #e4572e;
  --grad: linear-gradient(to right, var(--blue) 0%, var(--teal) 100%);
  --wide: 1230px;
  --content: 760px;
  --gutter: clamp(20px, 5vw, 68px);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--fg); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal); }

h1, h2, h3, h4, h5, h6 {
  color: var(--fg);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 .6em;
}

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--wide) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */

.site-header { padding: 28px 0; }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand img { width: 300px; max-width: 46vw; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 36px; }
.main-nav a {
  color: var(--fg); text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 6px 0; position: relative;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--teal); }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }

.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; align-items: center; }
.social a { color: var(--fg); display: inline-flex; }
.social a:hover { color: var(--teal); }
.social svg { width: 20px; height: 20px; fill: currentColor; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--border); color: var(--fg);
  border-radius: 8px; width: 44px; height: 44px; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 22px; height: 22px; stroke: currentColor; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; background: var(--grad); color: #fff; text-decoration: none;
  font-weight: 600; font-size: 14px; line-height: 1; padding: 15px 30px; border-radius: 50px;
  background-size: 150% 100%; background-position: 0 0; transition: background-position .3s ease, transform .2s ease;
}
.btn:hover { color: #fff; background-position: 100% 0; transform: translateY(-1px); }

/* ---------- Home hero ---------- */

.hero { text-align: center; padding: clamp(60px, 10vw, 120px) 0 clamp(60px, 8vw, 100px); }
.hero h1 {
  font-size: clamp(40px, 6.5vw, 80px); font-weight: 500; line-height: 1.2; margin: 0 0 28px;
  text-transform: none;
}
.hero h1 > span { display: block; animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 > span:nth-child(2) { animation-delay: .12s; }
.hero h1 > span:nth-child(3) { animation-delay: .24s; }
.hero h1 .accent { display: inline; color: var(--text); animation: none; }
.hero p { max-width: 640px; margin: 0 auto; font-size: clamp(17px, 1.6vw, 20px); }

@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- Services (home) ---------- */

.services { padding-top: 40px; padding-bottom: 60px; scroll-margin-top: 20px; }
.service {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 90px); align-items: center; margin-bottom: clamp(60px, 9vw, 110px);
}
.service:last-child { margin-bottom: 0; }
.service figure { margin: 0; border-radius: 6px; overflow: hidden; }
.service figure img { width: 100%; transition: transform .6s ease; }
.service:hover figure img { transform: scale(1.03); }
.service .eyebrow {
  color: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; margin: 0 0 14px;
}
.service h2 {
  font-size: clamp(26px, 3vw, 38px); font-weight: 500; text-transform: capitalize; margin-bottom: 22px;
}
.service p { margin: 0 0 30px; }

/* ---------- CTA band ---------- */

.cta {
  position: relative; text-align: center; padding: clamp(80px, 12vw, 150px) 0;
  background: #000 url("../img/cta-bg.jpg") center / cover no-repeat;
}
.cta::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.cta .container { position: relative; }
.cta h2 { font-size: clamp(30px, 4vw, 48px); font-weight: 500; margin-bottom: 30px; }

/* ---------- Inner pages ---------- */

.page-title { text-align: center; padding: clamp(50px, 8vw, 90px) 0 clamp(30px, 4vw, 50px); }
.page-title h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 700; color: var(--text); margin: 0; }

.prose { max-width: calc(var(--content) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter) clamp(70px, 10vw, 120px); font-size: 18px; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 700; margin: 1.6em 0 .7em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 1.4em; }
.prose ul { margin: 0 0 1.6em; padding-left: 1.4em; }
.prose li { margin-bottom: .2em; }
.prose li::marker { color: var(--teal); }
.prose strong { color: #d4d6db; }
.prose .center { text-align: center; }
.prose .cta-line { margin-top: 2em; }

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin: 0 0 1.6em; }
.price-card { align-self: start; background: var(--bg-raised); border: 1px solid var(--border); border-radius: 10px; padding: 24px; }
.price-card h3 { font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--text); margin: 0 0 6px; }
.price-card .amount { color: var(--fg); font-size: 34px; font-weight: 600; line-height: 1.2; }
.price-card .amount small { font-size: 15px; font-weight: 400; color: var(--text); }
.price-card .note { font-size: 15px; margin-top: 6px; }

.contact-list { list-style: none; padding: 0 !important; text-align: center; }
.contact-list li { margin-bottom: .8em; }
.contact-list strong { color: var(--fg); }

.tools { list-style: none; padding: 0 !important; }
.tools > li { border-bottom: 1px solid var(--border); padding: 14px 0; margin: 0; }
.tools > li:first-child { border-top: 1px solid var(--border); }
.tools .label { color: var(--text); font-size: 15px; margin: 6px 0 0; }

pre {
  background: var(--bg-raised); border: 1px solid var(--border); border-radius: 8px;
  padding: 12px 16px; margin: 8px 0 0; overflow-x: auto;
}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 15px; color: var(--teal); }

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

.site-footer { border-top: 1px solid var(--border); font-size: 15px; }
.footer-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 50px; padding-top: 70px; padding-bottom: 60px; }
.site-footer h2 { font-size: 17px; font-weight: 600; margin: 0 0 20px; }
.site-footer p { margin: 0 0 1em; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #d4d6db; text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.footer-bottom { border-top: 1px solid var(--border); padding: 26px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 14px; letter-spacing: .02em; }
.footer-bottom .social svg { width: 18px; height: 18px; }

/* ---------- 404 ---------- */

.not-found { text-align: center; padding: clamp(80px, 12vw, 160px) var(--gutter); }
.not-found .code { font-size: clamp(80px, 14vw, 160px); font-weight: 700; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

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

@media (max-width: 960px) {
  .site-header .container { flex-wrap: wrap; }
  .nav-toggle { display: inline-flex; order: 2; }
  .header-social { order: 1; margin-left: auto; }
  .main-nav { order: 3; flex-basis: 100%; display: none; }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; padding-top: 14px; }
  .main-nav li { border-top: 1px solid var(--border); }
  .main-nav a { display: block; padding: 14px 0; font-size: 17px; }
  .main-nav a::after { display: none; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-cols > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .service { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
  .header-social { display: none; }
  .nav-toggle { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
