/* Providence Pro — handcrafted static site. Charcoal + white/orange spiral. */

:root {
  --bg: #0B0C0F;
  --bg-2: #08090B;
  --panel: #15171C;
  --panel-2: #1A1D23;
  --ink: #F5F2EC;
  --muted: #AEB3BC;
  --muted-2: #767B85;
  --accent: #F2982C;        /* orange */
  --accent-2: #F7B948;      /* amber */
  --accent-deep: #E07B16;
  --grad: linear-gradient(135deg, #F7B948, #F2861E);
  --line: rgba(245,242,236,.08);
  --line-2: rgba(245,242,236,.16);
  --line-accent: rgba(242,152,44,.32);
  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1140px;
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --display: 'Space Grotesk', var(--font);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--ink); text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0; letter-spacing: -0.015em; }
p { margin: 0 0 1rem; }
::selection { background: rgba(242,152,44,.3); color: #fff; }

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

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: var(--radius-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn i { font-size: 18px; }
.btn-gold { background: var(--grad); color: #1c1305; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(242,152,44,.5); }
.btn-ghost { background: rgba(255,255,255,.02); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.06); transform: translateY(-2px); }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,12,15,.72); backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; }
.brand-name { font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; position: relative; transition: color .15s; }
.nav-links a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .2s ease; border-radius: 2px; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links .btn-gold { color: #1c1305; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .2s; }

/* ---------- sections ---------- */
section { padding: 104px 0; position: relative; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.eyebrow.teal { color: var(--accent-2); }
.section-head { max-width: 700px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 18px; }
.lead { color: var(--muted); font-size: 19px; line-height: 1.65; }

/* ---------- hero ---------- */
.hero { padding: 120px 0 110px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -240px; right: -120px; width: 720px; height: 720px;
  background: radial-gradient(circle, rgba(242,152,44,.20), rgba(242,152,44,0) 60%);
  pointer-events: none; z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-art {
  position: absolute; top: 50%; right: -90px; transform: translateY(-50%);
  width: 540px; height: 540px; opacity: .10; pointer-events: none; z-index: 0;
  filter: saturate(1.1);
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(242,152,44,.10); color: var(--accent-2);
  font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 30px;
  border: 1px solid rgba(242,152,44,.22);
}
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.5rem); margin: 24px 0 22px; max-width: 17ch; letter-spacing: -0.025em; line-height: 1.04; }
.hero h1 .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.hero .lead { max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ---------- flagship feature band ---------- */
.feature { background:
    radial-gradient(900px 400px at 50% -10%, rgba(242,152,44,.07), transparent 70%), var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.feature h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); max-width: 22ch; }
.deploy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 860px; margin: 0 auto 28px; }
.deploy-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: border-color .2s, transform .2s; }
.deploy-card:hover { border-color: var(--line-accent); transform: translateY(-3px); }
.deploy-card > i { font-size: 30px; color: var(--accent); }
.deploy-card h3 { font-size: 1.25rem; margin: 14px 0 8px; }
.deploy-card p { color: var(--muted); font-size: 15px; margin: 0; }
.feature-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 34px; max-width: 860px; margin: 0 auto; }
.feature-points > div { display: flex; align-items: flex-start; gap: 13px; }
.feature-points i { color: var(--accent); font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.feature-points span { color: var(--ink); font-size: 15.5px; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); }

.card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: var(--line-accent); box-shadow: 0 24px 50px -28px rgba(0,0,0,.8); }
.card .ico {
  width: 50px; height: 50px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(242,152,44,.2), rgba(242,152,44,.05));
  border: 1px solid rgba(242,152,44,.18); color: var(--accent);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .ico i { font-size: 26px; }
.card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.card p { color: var(--muted); font-size: 15.5px; margin: 0; line-height: 1.6; }

.serve-card { padding: 34px 32px; }

/* ---------- how we work ---------- */
.how { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.how-item { display: flex; gap: 15px; align-items: flex-start; }
.how-item i { color: var(--accent); font-size: 27px; flex-shrink: 0; margin-top: 2px; }
.how-item h4 { font-size: 1.08rem; font-family: var(--font); font-weight: 600; margin-bottom: 5px; }
.how-item p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- service detail (services.html) ---------- */
.svc { display: grid; grid-template-columns: 66px 1fr; gap: 24px; padding: 40px 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc .ico { width: 58px; height: 58px; border-radius: 14px; background: linear-gradient(135deg, rgba(242,152,44,.2), rgba(242,152,44,.05)); border: 1px solid rgba(242,152,44,.18); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.svc .ico i { font-size: 28px; }
.svc h3 { font-size: 1.5rem; margin-bottom: 10px; }
.svc ul { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 9px 24px; }
.svc li { color: var(--muted); font-size: 15px; padding-left: 27px; position: relative; }
.svc li::before { content: "\2713"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* ---------- CTA band ---------- */
.cta { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 300px at 50% 120%, rgba(242,152,44,.14), transparent 70%); pointer-events: none; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.cta p { color: var(--muted); margin: 10px 0 0; font-size: 17px; }

/* ---------- contact form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 7px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  color: var(--ink); font: inherit; font-size: 15px; padding: 13px 15px; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,152,44,.18); }
.contact-aside a { color: var(--accent-2); }

/* ---------- news empty state ---------- */
.empty { text-align: center; max-width: 540px; margin: 50px auto; }
.empty .ico { width: 66px; height: 66px; margin: 0 auto 22px; border-radius: 18px; background: linear-gradient(135deg, rgba(242,152,44,.2), rgba(242,152,44,.05)); border: 1px solid rgba(242,152,44,.18); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.empty .ico i { font-size: 32px; }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-blurb { color: var(--muted); font-size: 15px; max-width: 34ch; margin: 18px 0 8px; }
.footer-flag { color: var(--muted-2); font-size: 13.5px; }
.site-footer h4 { font-family: var(--font); font-size: 13px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted-2); margin-bottom: 16px; }
.site-footer .footer-grid a { display: block; color: var(--muted); font-size: 15px; margin-bottom: 10px; transition: color .15s; }
.site-footer .footer-grid a:hover { color: var(--accent-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13.5px; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- news listing + articles ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.news-card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.news-card:hover { transform: translateY(-5px); border-color: var(--line-accent); box-shadow: 0 24px 50px -28px rgba(0,0,0,.8); }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; border-bottom: 1px solid var(--line); }
.news-body { padding: 22px 24px 24px; }
.news-date { color: var(--muted-2); font-size: 13px; letter-spacing: .5px; text-transform: uppercase; }
.news-card h3 { font-size: 1.3rem; line-height: 1.2; margin: 10px 0; }
.news-card p { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.news-more { display: inline-flex; align-items: center; gap: 7px; color: var(--accent); font-size: 14px; font-weight: 500; }
.news-card:hover .news-more { gap: 11px; }

.post { max-width: 760px; }
.post-back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.post-back:hover { color: var(--accent-2); }
.post-meta { color: var(--muted-2); font-size: 14px; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 14px; }
.post h1 { font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.08; margin-bottom: 28px; }
.post-hero { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); margin: 0 0 36px; }
.post-body { font-size: 18px; }
.post-body p { color: #D6D9DF; line-height: 1.8; margin: 0 0 1.35em; }
.post-body h2 { font-family: var(--display); font-size: 1.55rem; margin: 1.8em 0 .5em; }
.post-body h3 { font-family: var(--display); font-size: 1.28rem; margin: 1.6em 0 .4em; }
.post-body blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); color: var(--ink); font-style: italic; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  section { padding: 76px 0; }
  .nav-toggle { display: flex; }
  .hero-art { display: none; }
  .nav-links {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .18s;
  }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { width: 100%; padding: 15px 28px; }
  .nav-links a:not(.btn)::after { display: none; }
  .nav-links .btn-gold { margin: 10px 28px; width: calc(100% - 56px); justify-content: center; }
  .how-row, .footer-grid, .contact-grid, .deploy-grid, .feature-points, .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .grid-2 { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; gap: 16px; }
  .svc ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .deploy-card:hover { transform: none; }
}
