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

:root {
  --black:   #14161C;
  --ink:     #14161C;
  --clay:    #D7553B;
  --text:    #2e2e2e;
  --mid:     #666666;
  --muted:   #999999;
  --border:  #e4e4e4;
  --rule:    #efefef;
  --surface: #f4f3f1;
  --white:   #FBFAF8;
  --display: 'Barlow Condensed', system-ui, sans-serif;
  --sans:    'IBM Plex Sans', system-ui, sans-serif;
  --nav-h:   66px;
  --max-w:   1080px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* Eyebrow */
.eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 14px;
}

/* Section header */
.section-header {
  margin-bottom: 36px;
}
.section-header h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
  max-width: 560px;
  margin-bottom: 14px;
}
.section-header .section-sub {
  font-size: 1rem;
  color: var(--mid);
  max-width: 580px;
  line-height: 1.8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 6px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  letter-spacing: .01em;
}
.btn-dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}
.btn-dark:hover { background: var(--ink); border-color: var(--ink); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--black); color: var(--black); }

.btn-full { width: 100%; justify-content: center; }

/* Nav */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  background: rgba(251,250,248,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
#nav.scrolled { border-color: var(--border); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img {
  height: 34px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}
.nav-links a {
  font-size: .86rem;
  font-weight: 400;
  color: var(--mid);
  text-decoration: none;
  transition: color .15s;
}
.nav-links a:hover { color: var(--clay); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  transition: all .2s;
}

/* Hero */
.hero {
  padding-top: calc(var(--nav-h) + 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--rule);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 64px;
}

.hero-label {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(3.4rem, 6.5vw, 6rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--ink);
}
.hero h1 em {
  font-style: italic;
  color: var(--clay);
}

.hero-right {
  padding-bottom: 8px;
}
.hero-sub {
  font-size: 1.05rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 32px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--rule);
  padding-top: 32px;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 40px;
  border-right: 1px solid var(--rule);
}
.hero-stat:last-child { border-right: none; }

.stat-n {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.stat-l {
  font-size: .8rem;
  color: var(--muted);
  line-height: 1.5;
}
.stat-src {
  font-size: .68rem;
  color: var(--border);
  margin-top: 2px;
}

/* Services */
.services {
  padding: 64px 0;
  border-bottom: 1px solid var(--rule);
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-top: 1px solid var(--rule);
  transition: background .15s;
}
.service-item:last-child { border-bottom: 1px solid var(--rule); }

.service-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.service-num {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--clay);
}
.service-meta h3 {
  font-family: var(--display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.15;
}
.service-price {
  font-size: .82rem;
  font-weight: 600;
  color: var(--mid);
  display: inline-block;
  margin-top: 6px;
}

.service-body p {
  font-size: .96rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 22px;
}
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 26px;
}
.service-list li {
  font-size: .88rem;
  color: var(--mid);
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(215, 85, 59, 0.45);
}

.text-link {
  font-size: .88rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(215, 85, 59, 0.35);
  padding-bottom: 1px;
  transition: border-color .15s, color .15s;
}
.text-link:hover { border-color: var(--clay); color: var(--clay); }

/* Process */
.process {
  padding: 64px 0;
  border-bottom: 1px solid var(--rule);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.process-step {
  padding: 0 32px 0 0;
  border-right: 1px solid var(--rule);
}
.process-step:first-child { padding-left: 0; }
.process-step:last-child { border-right: none; padding-right: 0; padding-left: 32px; }
.process-step:nth-child(2),
.process-step:nth-child(3) { padding-left: 32px; }

.process-num {
  display: block;
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--rule);
  margin-bottom: 16px;
  line-height: 1;
}
.process-step h4 {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.process-step p {
  font-size: .88rem;
  color: var(--mid);
  line-height: 1.7;
}

/* Who */
.who {
  padding: 64px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--rule);
}

.who-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.who-left h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 16px;
}
.who-left p {
  font-size: .96rem;
  color: var(--mid);
  line-height: 1.8;
}

.industry-list {
  display: flex;
  flex-direction: column;
}
.industry-item {
  font-size: .95rem;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.industry-item:first-child { border-top: 1px solid var(--border); }
.industry-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(215, 85, 59, 0.45);
  flex-shrink: 0;
}

/* Team */
.team {
  padding: 64px 0;
  border-bottom: 1px solid var(--rule);
}

.team-card {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 48px;
  align-items: center;
  padding: 36px 40px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.team-names {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.team-name-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.team-name {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink);
}
.team-school {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
}
.team-bio {
  font-size: .93rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 14px;
}
.team-credentials {
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Contact */
.contact {
  padding: 64px 0;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 14px;
}
.contact-left p {
  font-size: .96rem;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.detail-label {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.detail-val {
  font-size: .92rem;
  color: var(--text);
  font-weight: 500;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 13px;
  outline: none;
  resize: vertical;
  transition: border-color .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--clay); }

.form-group input[aria-invalid="true"],
.form-group select[aria-invalid="true"],
.form-group textarea[aria-invalid="true"] { border-color: #dc2626; }

.field-error {
  display: block;
  font-size: .76rem;
  color: #dc2626;
  margin-top: 4px;
}

.form-error-global {
  font-size: .85rem;
  color: #dc2626;
  line-height: 1.5;
}

.form-success {
  padding: 18px 20px;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 4px;
  color: #166534;
  font-size: .92rem;
  line-height: 1.7;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #bbb; }

/* Footer */
.footer {
  border-top: 1px solid var(--rule);
}


.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  padding-bottom: 28px;
}
.footer-logo img { height: 28px; }
.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  font-size: .83rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .15s;
}
.footer-nav a:hover { color: var(--ink); }
.footer-copy {
  font-size: .78rem;
  color: var(--muted);
}

/* Responsive — tablet */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  /* hero-stats is outside .container so needs its own side padding */
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 0; border-top: none; padding: 0 32px; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--rule); padding: 16px 0; }
  .hero-stat:last-child { border-bottom: none; }
  .service-item { grid-template-columns: 1fr; gap: 20px; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-step { border-right: none; padding: 0; }
  .who-inner { grid-template-columns: 1fr; gap: 40px; }
  .team-card { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
}

/* Responsive — mobile */
@media (max-width: 600px) {
  .container { padding: 0 20px; }

  /* Nav */
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .hamburger { display: flex; }
  .logo img { height: 28px; }

  /* Hero */
  .hero { padding-top: calc(var(--nav-h) + 36px); padding-bottom: 40px; }
  .hero h1 { font-size: 2.2rem; }
  .hero-sub { font-size: .95rem; }
  .hero-stats { padding: 0 20px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Sections */
  .services, .process, .who, .team, .contact { padding: 48px 0; }
  .section-header { margin-bottom: 24px; }
  .service-item { padding: 32px 0; }

  /* Process — add separators when single column */
  .process-grid { grid-template-columns: 1fr; gap: 0; }
  .process-step { border-bottom: 1px solid var(--rule); padding-bottom: 28px; padding-top: 28px; }
  .process-step:first-child { padding-top: 0; }
  .process-step:last-child { border-bottom: none; padding-bottom: 0; }

  /* Team */
  .team-card { padding: 24px 20px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* Fade-in / slide-up */
.fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade.in {
  opacity: 1;
  transform: translateY(0);
}

/* Splash screen */
#splash {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.splash-logo {
  width: 210px;
  opacity: 0;
  animation: splash-in 0.35s 0.1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
@keyframes splash-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
#splash.splash-out {
  opacity: 0;
  pointer-events: none;
}
