:root {
  --brand: #173b3e; /* Primary brand color */
  --brand-600: #0f2a2c;
  --brand-400: #215559;
  --brand-2: #e2e8e9;
  --ink: #0b1112;
  --muted: #5a6a6c;
  --bg: #ffffff;
  --bg-alt: #f4f7f7;
  --card: #ffffff;
  --border: #e2e8e9;
  --focus: #8fd7dc;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.section-title { text-align: center; }
.brand-name{display: none;}
/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1100px, 92vw);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.5rem;
}
.brand { display: flex; align-items: center; gap: .6rem; font-weight: 700; color: var(--brand); }
.brand-logo { height: 36px; width: auto; }
.brand-name { letter-spacing: .2px; font-size: 1.05rem; }

.site-nav { display: flex; gap: 1rem; align-items: center; }
.site-nav a { color: var(--ink); padding: .4rem .6rem; border-radius: 6px; }
.site-nav a:hover { background: var(--bg-alt); text-decoration: none; }
.site-nav .cta-link { color: #fff; background: var(--brand); }
.site-nav .cta-link:hover { background: var(--brand-400); }

.nav-toggle { display: none; background: transparent; border: 0; font-size: 1.4rem; padding: .4rem; }

/* Hero */
.hero {
  background: radial-gradient(1200px 600px at 80% -20%, rgba(23, 59, 62, .15), transparent 60%),
              linear-gradient(180deg, #ffffff 0%, #f9fbfb 100%);
  padding: 3.5rem 0 2.5rem;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 2rem;
  /* Stretch items so the right art can match left height */
  align-items: stretch;
}
.hero-copy { align-self: center; }
.hero-copy h1 { font-size: clamp(1.9rem, 3.2vw + 1rem, 3rem); line-height: 1.15; margin: 0 0 .6rem; color: var(--brand-600); }
.hero-copy p { color: var(--muted); margin: 0 0 1rem; }
.hero-actions { display: flex; gap: .8rem; margin: 1rem 0 1.2rem; }
.trust-list { display: grid; gap: .3rem; padding-left: 1.2rem; color: var(--muted); }

.hero-art .card {
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  background-image: url(./assets/hero-art-bg-enhance.png);
  background-size:cover;
  min-height: 240px;
  height: 100%;
}

.hero-art .card img { width: 160px; margin: .5rem auto 1rem; filter: drop-shadow(0 6px 12px rgba(0,0,0,.06)); }
.hero-art .card p { margin: 0; color: var(--brand-400); font-weight: 600; letter-spacing: .2px; }

/* Sections */
.section { padding: 3rem 0; }
.section.alt { background: var(--bg-alt); }
.section-title { font-size: 1.6rem; margin: 0 0 .4rem; color: var(--brand-600); text-align: center; }
.section-subtitle { margin: 0 auto 1.4rem; max-width: 720px; color: var(--muted); text-align: center; font-size: 1rem; }

.grid { display: grid; gap: 1rem; }
.features { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { background: var(--card); border: 1px solid var(--border); padding: 1rem; border-radius: 12px; box-shadow: var(--shadow); }
.feature div.icon { width: 45px; height: 45px; margin: 0 0 .4rem; background-color: var(--brand); border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.feature h3 { margin: 0 0 .4rem; color: var(--brand); }
.feature p { margin: 0; color: var(--muted); }

/* Recent Work */
.projects { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.project { background: var(--card); border: 1px solid var(--border); padding: 1rem; border-radius: 12px; box-shadow: var(--shadow); }
.project h3 { margin: 0 0 .35rem; color: var(--brand-600); }
.project p { margin: 0 0 .5rem; color: var(--ink); }
.project .tags { display: flex; flex-wrap: wrap; gap: .4rem; color: var(--muted); margin: .2rem 0 0; }
.project .tags span { font-size: .85rem; background: #f0f6f7; color: var(--brand-600); border: 1px solid var(--border); padding: .15rem .45rem; border-radius: 999px; }

/* Process old */
.steps { display: grid; gap: .6rem; counter-reset: step; padding-left: 0; list-style: none; }
.steps li { background: var(--card); border: 1px solid var(--border); padding: .8rem 1rem; border-radius: 10px; box-shadow: var(--shadow); }

/* Process new */
.timeline { list-style:none; padding:0; margin: 0; display:grid;/* grid-template-columns: repeat(4, 1fr);*/ grid-template-columns: repeat(auto-fit, minmax(228px, 1fr)); gap: 18px; }
.timeline li { background: var(--card); border:1px solid var(--border); border-radius: 14px; padding: 18px; position: relative; overflow: hidden; }
.timeline div.icon { width: 45px; height: 45px; margin: 0 0 .4rem; background-color: var(--brand); border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.timeline li::before { content:""; position:absolute; top:0; left:0; right:0; height:4px; border-radius: 14px 14px 0 0; background: linear-gradient(90deg, var(--brand-2), var(--brand));  }
.timeline li h3 { margin: 0 0 .4rem; color: var(--brand); }

/* Team */
.team-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.teammate { background: var(--card); border: 1px solid var(--border); padding: 1rem; border-radius: 14px; text-align: center; box-shadow: var(--shadow); }
.avatar { width: 112px; height: 112px; border-radius: 50%; overflow: hidden; margin: 0 auto .8rem; border: 4px solid #fff; box-shadow: 0 2px 0 rgba(23,59,62,.1), 0 0 0 1px var(--border); display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-400)); color: #e9feff; font-weight: 700; letter-spacing: .5px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar.placeholder { font-size: 1.2rem; }
.name { margin: 0; font-size: 1.1rem; color: var(--brand-600); }
.title { margin: .15rem 0 .4rem; color: var(--muted); font-size: .95rem; }
.bio { margin: 0; color: var(--ink); font-size: .95rem; }

/* Contact */
.contact { max-width: 760px; }
.contact-form { display: grid; gap: .8rem; }
.form-row { display: grid; gap: .8rem; grid-template-columns: 1fr 1fr; }
/* Honeypot field — visually hidden but present for bots */
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Make the submit button span full width in the last row */
.contact-form button[type="submit"] { grid-column: 1 / -1; width: 100%; }
label span { display: block; font-size: .9rem; color: var(--muted); margin-bottom: .25rem; }
input, textarea { width: 100%; padding: .7rem .8rem; border: 1px solid var(--border); border-radius: 10px; font: inherit; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: 3px solid var(--focus); border-color: var(--brand); }
/* Submit status message */
.form-status { margin: .2rem 0 0; min-height: 1.2rem; color: var(--muted); text-align: center; }
.form-status.success { color: #0a8a4b; }
.form-status.error { color: #b10e0e; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .65rem .9rem; border-radius: 10px; border: 1px solid transparent; font-weight: 600; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-400); text-decoration: none; }
.btn-secondary { background: #fff; color: var(--brand); border-color: var(--border); }
.btn-secondary:hover { background: var(--bg-alt); text-decoration: none; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.footer-inner { display: flex; gap: 1rem; justify-content: space-between; align-items: center; padding: 1rem 0; flex-wrap: wrap; }
.brand-footer { display: flex; gap: .6rem; align-items: center; color: var(--muted); }
.brand-footer img { height: 28px; width: auto; }
.footer-nav { display: flex; gap: .8rem; }
.footer-nav a { color: var(--muted); }
.footer-nav a:hover { color: var(--brand); }

/* Responsive */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-nav { display: none; position: absolute; top: 58px; right: 16px; background: #fff; border: 1px solid var(--border); padding: .6rem; border-radius: 10px; box-shadow: var(--shadow); flex-direction: column; width: max-content; }
  .site-nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .form-row { grid-template-columns: 1fr; }
}
