:root {
  --navy:    #0d1b2a;
  --navy2:   #152231;
  --forest:  #1a6040;
  --forest2: #135032;
  --flight:  #eaf4ef;
  --fmid:    #b8dfc8;
  --sand:    #f8f5f0;
  --sand2:   #ede9e2;
  --white:   #ffffff;
  --text:    #0d1b2a;
  --text2:   #34506a;
  --text3:   #637d8f;
  --border:  #dde5ec;
  --border2: #c2d4e0;
  --r:       10px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--white); color: var(--text); font-family: 'Geist', sans-serif; font-weight: 400; line-height: 1.65; -webkit-font-smoothing: antialiased; }

.wrap    { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-in {
  display: flex; align-items: center; justify-content: space-between;
  height: 62px; max-width: 1100px; margin: 0 auto; padding: 0 2rem;
}
.logo { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.logo em { color: var(--forest); font-style: normal; }
.nav-links { display: flex; align-items: center; gap: 1.75rem; list-style: none; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: var(--text2); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { background: var(--forest); color: white !important; padding: 0.48rem 1.2rem; border-radius: 6px; font-weight: 600 !important; transition: background 0.15s !important; }
.nav-cta:hover { background: var(--forest2) !important; }

/* HERO */
.hero { padding: 128px 0 88px; background: var(--white); position: relative; overflow: hidden; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 52px 52px; opacity: 0.3; pointer-events: none;
}
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 180px; background: linear-gradient(transparent, white); pointer-events: none; }
.hero-in { position: relative; z-index: 1; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--forest); background: var(--flight); border: 1px solid var(--fmid);
  padding: 0.3rem 0.9rem; border-radius: 2rem; margin-bottom: 1.75rem;
}
.kdot { width: 6px; height: 6px; background: var(--forest); border-radius: 50%; animation: blink 2.5s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

h1 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.08; letter-spacing: -0.025em; color: var(--navy); margin-bottom: 1.35rem; max-width: 740px; }
h1 em { font-style: italic; color: var(--forest); }

.hero-sub { font-size: 1.05rem; color: var(--text2); line-height: 1.75; max-width: 560px; margin-bottom: 2.25rem; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; margin-bottom: 3rem; }

.btn { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 600; font-size: 0.9rem; padding: 0.75rem 1.6rem; border-radius: 7px; text-decoration: none; transition: all 0.15s; border: none; cursor: pointer; }
.btn-green { background: var(--forest); color: white; }
.btn-green:hover { background: var(--forest2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,96,64,0.28); }
.btn-outline { background: transparent; color: var(--text2); border: 1.5px solid var(--border2); }
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }
.btn-white { background: white; color: var(--forest); }
.btn-white:hover { background: var(--flight); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.btn-ghost-w { background: transparent; color: rgba(255,255,255,0.85); border: 1.5px solid rgba(255,255,255,0.3); }
.btn-ghost-w:hover { border-color: rgba(255,255,255,0.7); color: white; }

/* SERVICE CHIPS */
.chips { display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center; }
.chip-label { font-size: 0.78rem; font-weight: 500; color: var(--text3); margin-right: 0.2rem; }
.chip { font-size: 0.8rem; font-weight: 500; color: var(--text2); background: var(--sand); border: 1px solid var(--border); padding: 0.3rem 0.85rem; border-radius: 2rem; text-decoration: none; transition: all 0.15s; }
.chip:hover { border-color: var(--forest); color: var(--forest); background: var(--flight); }

/* SECTION */
section { padding: 88px 0; }
.slabel { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); display: block; margin-bottom: 0.65rem; }
h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.12; letter-spacing: -0.018em; color: var(--navy); margin-bottom: 0.75rem; }
.sdesc { font-size: 1rem; color: var(--text2); line-height: 1.75; max-width: 540px; margin-bottom: 3rem; }
hr.div { border: none; border-top: 1px solid var(--border); }

/* CUSTOM SYSTEMS GRID */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.svc-tile {
  background: var(--sand); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.5rem;
  transition: all 0.18s;
}
.svc-tile:hover { background: white; border-color: var(--border2); box-shadow: 0 4px 16px rgba(13,27,42,0.07); }
.svc-tile--cta { background: var(--navy); border-color: var(--navy); display: flex; flex-direction: column; }
.svc-tile--cta:hover { background: var(--navy2); border-color: var(--navy2); box-shadow: none; }
.svc-tile--cta .svc-tile-name { color: white; }
.svc-tile--cta .svc-tile-desc { color: rgba(255,255,255,0.55); }
.svc-tile-icon { font-size: 1.5rem; display: block; margin-bottom: 0.75rem; }
.svc-tile-name { font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.35rem; }
.svc-tile-desc { font-size: 0.8rem; color: var(--text3); line-height: 1.6; }

/* AI PILLS */
.ai-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ai-pill {
  display: flex; gap: 1rem; align-items: flex-start;
  background: white; border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.25rem 1.5rem;
  transition: border-color 0.15s;
}
.ai-pill:hover { border-color: var(--fmid); }
.ai-pill-icon { font-size: 1.5rem; flex-shrink: 0; line-height: 1; margin-top: 0.1rem; }
.ai-pill-name { font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.25rem; }
.ai-pill-desc { font-size: 0.8rem; color: var(--text2); line-height: 1.6; }

/* FIELD TILES */
.field-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.25rem; }
.field-tile {
  background: var(--sand); border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.25rem;
  transition: all 0.15s;
}
.field-tile:hover { background: white; border-color: var(--border2); }
.field-tile-icon { font-size: 1.25rem; display: block; margin-bottom: 0.6rem; }
.field-tile-name { font-weight: 600; font-size: 0.875rem; color: var(--navy); margin-bottom: 0.3rem; }
.field-tile-desc { font-size: 0.78rem; color: var(--text3); line-height: 1.6; }
.field-note {
  font-size: 0.82rem; color: var(--text3);
  border-left: 2px solid var(--fmid); padding-left: 1rem;
}

/* POS TAGS */
.pos-tags { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.pos-tag {
  font-size: 0.85rem; font-weight: 500; color: var(--text2);
  background: white; border: 1px solid var(--border);
  padding: 0.5rem 1rem; border-radius: var(--r);
  transition: border-color 0.15s;
}
.pos-tag:hover { border-color: var(--forest); color: var(--forest); }

/* ALSO BG */
.also-bg { background: var(--sand); }
.also-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.also-card {
  background: var(--sand); border: 1px solid var(--border); border-radius: var(--r);
  padding: 1.25rem; transition: all 0.18s;
}
.also-card:hover { border-color: var(--forest); box-shadow: 0 4px 16px rgba(13,27,42,0.07); transform: translateY(-2px); }
.also-icon { font-size: 1.5rem; margin-bottom: 0.75rem; display: block; }
.also-name { font-weight: 600; font-size: 0.875rem; color: var(--navy); margin-bottom: 0.35rem; }
.also-desc { font-size: 0.78rem; color: var(--text3); line-height: 1.6; }

/* WHO & WHERE */
.who-where { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.who-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.who-item {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.85rem; font-weight: 500; color: var(--text2);
  padding: 0.5rem 0.75rem; background: var(--sand);
  border: 1px solid var(--border); border-radius: 6px;
}
.who-item span { font-size: 1rem; flex-shrink: 0; }
.areas-bg { background: var(--sand); }
.area-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.atag { font-size: 0.8rem; font-weight: 500; color: var(--text2); background: white; border: 1px solid var(--border2); padding: 0.3rem 0.85rem; border-radius: 2rem; transition: all 0.15s; }
.atag:hover { border-color: var(--forest); color: var(--forest); }

/* CREATIVE SERVICES */
.creative-bg { background: var(--white); }
.creative-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--r); padding: 1.5rem;
  transition: all 0.2s; position: relative;
}
.creative-card:hover { background: white; box-shadow: 0 6px 24px rgba(13,27,42,0.08); transform: translateY(-2px); border-color: var(--border2); }
.creative-icon { font-size: 1.5rem; margin-bottom: 0.75rem; }
.creative-name { font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.35rem; }
.creative-desc { font-size: 0.8rem; color: var(--text3); line-height: 1.65; margin-bottom: 0.75rem; }

/* MARQUEE */
.marquee {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
  will-change: transform;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-track > * { flex-shrink: 0; width: 260px; }
.marquee--wide .marquee-track > * { width: 300px; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* AREAS */
.areas-bg { background: var(--sand); }
.area-cloud { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.atag { font-size: 0.82rem; font-weight: 500; color: var(--text2); background: white; border: 1px solid var(--border2); padding: 0.35rem 1rem; border-radius: 2rem; transition: all 0.15s; }
.atag:hover { border-color: var(--forest); color: var(--forest); }

/* CTA */
.cta-box {
  background: var(--navy); border-radius: 20px; padding: 5rem 4rem; text-align: center; position: relative; overflow: hidden;
}
.cta-box::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(26,96,64,0.25) 0%, transparent 60%), radial-gradient(ellipse at 80% 50%, rgba(26,96,64,0.15) 0%, transparent 60%); pointer-events: none; }
.cta-box h2 { color: white; margin-bottom: 0.75rem; position: relative; }
.cta-box p { color: rgba(255,255,255,0.6); max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.75; position: relative; }
.cta-btns { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; position: relative; }
.cta-sub { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 1.75rem; position: relative; font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.cta-sub span::before { content: '✓ '; color: rgba(74,222,128,0.7); }

/* FOOTER */
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); padding: 2.5rem 0; }
.foot-in { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.foot-logo { font-family: 'Fraunces', serif; font-weight: 700; font-size: 1rem; color: white; }
.foot-logo em { color: #4ade80; font-style: normal; }
.foot-copy { font-size: 0.75rem; color: rgba(255,255,255,0.3); margin-top: 0.2rem; }
.foot-links { display: flex; gap: 1.5rem; }
.foot-links a { font-size: 0.8rem; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.15s; }
.foot-links a:hover { color: white; }
.foot-socials { display: flex; gap: 1.25rem; align-items: center; }
.foot-socials a { color: rgba(255,255,255,0.4); display: flex; align-items: center; text-decoration: none; transition: color 0.15s; }
.foot-socials a:hover { color: #4ade80; }

/* ANIMS */
@keyframes up { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.u1{animation:up 0.5s ease both}
.u2{animation:up 0.5s 0.08s ease both}
.u3{animation:up 0.5s 0.16s ease both}
.u4{animation:up 0.5s 0.24s ease both}
.u5{animation:up 0.5s 0.32s ease both}

/* RESPONSIVE */
@media(max-width:960px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .ai-pills { grid-template-columns: 1fr; }
  .field-tiles { grid-template-columns: 1fr 1fr; }
  .also-grid { grid-template-columns: 1fr 1fr; }
  .who-where { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media(max-width:640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .field-tiles { grid-template-columns: 1fr; }
  .also-grid { grid-template-columns: 1fr 1fr; }
  .who-list { grid-template-columns: 1fr; }
  .cta-box { padding: 3rem 1.5rem; }
  .nav-links { display: none; }
  h1 { font-size: 2.2rem; }
}
