/* ============================================================
   TinkerYard — landing page
   Flat-design / mid-2010s styling. Plain CSS, no build step.
   ============================================================ */

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #5a6a72;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif; color: #34495e; }
a { color: #1abc9c; text-decoration: none; transition: color .2s ease; }
a:hover { color: #16a085; }
ul { list-style: none; }
img { max-width: 100%; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 15px 34px;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all .25s ease;
}
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.7); background: transparent; }
.btn-ghost:hover { color: #34495e; background: #fff; border-color: #fff; }
.btn-solid { color: #fff; background: #1abc9c; border-color: #1abc9c; }
.btn-solid:hover { color: #fff; background: #16a085; border-color: #16a085; }
.btn-block { display: block; width: 100%; }

/* ---------- navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 22px 0;
}
.navbar.stuck {
  background: #fff;
  padding: 12px 0;
  box-shadow: 0 1px 4px rgba(0,0,0,.16);
}
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; font-family: 'Montserrat', Arial, sans-serif; font-size: 22px; color: #fff; }
.brand-mark { font-size: 24px; margin-right: 9px; color: #1abc9c; }
.brand-text { font-weight: 400; letter-spacing: 1px; }
.brand-text strong { font-weight: 700; }
.navbar.stuck .brand { color: #34495e; }

.nav ul { display: flex; align-items: center; }
.nav li { margin-left: 32px; }
.nav a {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.85);
}
.nav a:hover { color: #1abc9c; }
.navbar.stuck .nav a { color: #7f8c8d; }
.navbar.stuck .nav a:hover { color: #1abc9c; }
.nav .nav-cta { color: #fff; background: #1abc9c; padding: 10px 20px; border-radius: 2px; }
.nav .nav-cta:hover { background: #16a085; color: #fff; }
.navbar.stuck .nav .nav-cta { color: #fff; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: background .3s ease; }
.navbar.stuck .nav-toggle span { background: #34495e; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  background: linear-gradient(135deg, #2c3e50 0%, #4ca1af 100%);
  text-align: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.hero-inner { position: relative; z-index: 2; padding: 120px 20px; }
.hero-title {
  font-size: 62px; font-weight: 700; line-height: 1.15;
  color: #fff; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 26px;
}
.hero-sub {
  font-size: 19px; font-weight: 300; color: rgba(255,255,255,.86);
  max-width: 640px; margin: 0 auto 42px;
}
.hero-actions .btn { margin: 0 8px 12px; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; margin-left: -14px; z-index: 2;
  width: 28px; height: 28px;
  animation: bob 2s infinite;
}
.chevron {
  display: block; width: 16px; height: 16px; margin: 0 auto;
  border-right: 2px solid rgba(255,255,255,.8);
  border-bottom: 2px solid rgba(255,255,255,.8);
  transform: rotate(45deg);
}
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(9px); } }

/* ---------- stats strip ---------- */
.strip { background: #34495e; padding: 46px 0; }
.strip-grid { display: flex; flex-wrap: wrap; }
.strip-item { flex: 1 1 25%; text-align: center; padding: 10px; }
.strip-num {
  display: block; font-family: 'Montserrat', Arial, sans-serif;
  font-size: 42px; font-weight: 700; color: #1abc9c; line-height: 1.2;
}
.strip-label {
  display: block; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.6);
}

/* ---------- generic section ---------- */
.section { padding: 100px 0; }
.section-grey { background: #f7f9fa; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-title { font-size: 34px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
.section-rule { width: 60px; height: 3px; background: #1abc9c; margin: 20px auto 22px; }
.section-lead { font-size: 17px; font-weight: 300; }

/* ---------- feature cards ---------- */
.cards { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.card {
  flex: 1 1 300px; margin: 0 15px 30px; padding: 44px 32px;
  background: #fff; border-radius: 3px; text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 10px 22px rgba(0,0,0,.13); }
.card-icon {
  width: 72px; height: 72px; margin: 0 auto 24px;
  border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
}
.icon-teal   { background: #1abc9c; }
.icon-blue   { background: #3498db; }
.icon-orange { background: #e67e22; }
.card-title { font-size: 18px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.card-body { font-size: 15px; font-weight: 300; }

/* ---------- split feature ---------- */
.split { display: flex; flex-wrap: wrap; }
.split-media {
  flex: 1 1 50%; min-height: 460px;
  background: linear-gradient(135deg, #16a085 0%, #2c3e50 100%);
  position: relative;
}
.split-media::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 12px, transparent 12px 24px);
}
.split-body { flex: 1 1 50%; display: flex; align-items: center; background: #fff; }
.split-inner { padding: 80px 60px; max-width: 570px; }
.eyebrow {
  display: inline-block; font-family: 'Montserrat', Arial, sans-serif;
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: #1abc9c; margin-bottom: 16px;
}
.split-title { font-size: 32px; line-height: 1.3; margin-bottom: 20px; }
.split-inner p { margin-bottom: 24px; font-weight: 300; }
.ticks { margin-bottom: 32px; }
.ticks li { position: relative; padding-left: 30px; margin-bottom: 12px; font-weight: 300; }
.ticks li::before {
  content: ''; position: absolute; left: 4px; top: 8px;
  width: 8px; height: 14px;
  border-right: 3px solid #1abc9c; border-bottom: 3px solid #1abc9c;
  transform: rotate(45deg);
}

/* ---------- work grid ---------- */
.work-grid { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.work {
  flex: 1 1 320px; margin: 0 15px 30px;
  background: #fff; border-radius: 3px; overflow: hidden; color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.work:hover { transform: translateY(-6px); box-shadow: 0 12px 24px rgba(0,0,0,.15); }
.work-thumb { height: 190px; position: relative; }
.thumb-1 { background: linear-gradient(135deg, #1abc9c, #16a085); }
.thumb-2 { background: linear-gradient(135deg, #3498db, #2980b9); }
.thumb-3 { background: linear-gradient(135deg, #9b59b6, #8e44ad); }
.thumb-4 { background: linear-gradient(135deg, #e67e22, #d35400); }
.thumb-5 { background: linear-gradient(135deg, #e74c3c, #c0392b); }
.thumb-6 { background: linear-gradient(135deg, #34495e, #2c3e50); }
.work-tag {
  position: absolute; top: 16px; left: 16px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: #fff; background: rgba(0,0,0,.22); padding: 5px 12px; border-radius: 2px;
}
.work-meta { padding: 24px 26px 30px; }
.work-meta h3 { font-size: 17px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.work-meta p { font-size: 14px; font-weight: 300; margin: 0; }

/* ---------- process steps ---------- */
.steps { display: flex; flex-wrap: wrap; margin: 0 -15px; text-align: center; }
.step { flex: 1 1 240px; margin: 0 15px 34px; padding: 0 10px; }
.step-num {
  font-family: 'Montserrat', Arial, sans-serif; font-size: 46px; font-weight: 700;
  color: #eaf0f1; line-height: 1; margin-bottom: 14px;
}
.step h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.step p { font-size: 14px; font-weight: 300; }

/* ---------- quote ---------- */
.quote {
  padding: 96px 0; text-align: center;
  background: linear-gradient(135deg, #4ca1af 0%, #2c3e50 100%);
  color: #fff;
}
.quote-inner { max-width: 780px; }
.quote-mark { font-family: Georgia, serif; font-size: 84px; line-height: .6; color: rgba(255,255,255,.35); margin-bottom: 20px; }
.quote blockquote { font-size: 24px; font-weight: 300; font-style: italic; line-height: 1.6; margin-bottom: 26px; }
.quote cite {
  font-style: normal; font-size: 13px; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,.7);
}

/* ---------- CTA / contact ---------- */
.cta { padding: 100px 0; background: #f7f9fa; text-align: center; }
.cta-title { font-size: 34px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 14px; }
.cta-sub { font-weight: 300; max-width: 560px; margin: 0 auto 40px; }

.cta-form { max-width: 620px; margin: 0 auto; text-align: left; }
.field-row { display: flex; flex-wrap: wrap; margin: 0 -8px; }
.field-row input { flex: 1 1 240px; margin: 0 8px 16px; }
.cta-form input, .cta-form textarea {
  width: 100%; padding: 15px 18px;
  font-family: inherit; font-size: 15px; color: #34495e;
  background: #fff; border: 1px solid #dfe6e9; border-radius: 2px;
  outline: none; transition: border-color .2s ease;
}
.cta-form textarea { margin-bottom: 18px; resize: vertical; }
.cta-form input:focus, .cta-form textarea:focus { border-color: #1abc9c; }
.cta-form input.invalid, .cta-form textarea.invalid { border-color: #e74c3c; }
.form-note { margin-top: 16px; font-size: 14px; min-height: 22px; text-align: center; }
.form-note.ok { color: #16a085; }
.form-note.err { color: #e74c3c; }

/* ---------- footer ---------- */
.footer { background: #2c3e50; color: rgba(255,255,255,.6); padding-top: 66px; font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; padding-bottom: 44px; }
.footer-brand { flex: 2 1 300px; padding-right: 40px; margin-bottom: 30px; }
.footer-brand .brand-text { color: #fff; font-family: 'Montserrat', Arial, sans-serif; font-size: 21px; }
.footer-brand p { margin-top: 14px; font-weight: 300; }
.footer-col { flex: 1 1 160px; margin-bottom: 30px; }
.footer-col h4 {
  color: #fff; font-size: 12px; letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 16px;
}
.footer-col li { margin-bottom: 9px; font-weight: 300; }
.footer-col a { color: rgba(255,255,255,.6); }
.footer-col a:hover { color: #1abc9c; }

.footer-bar { border-top: 1px solid rgba(255,255,255,.09); padding: 22px 0; font-size: 13px; }
.footer-bar .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.to-top { color: rgba(255,255,255,.6); }
.to-top:hover { color: #1abc9c; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   responsive
   ============================================================ */
@media (max-width: 900px) {
  .split-media { flex-basis: 100%; min-height: 260px; }
  .split-body  { flex-basis: 100%; }
  .split-inner { padding: 60px 30px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; box-shadow: 0 6px 12px rgba(0,0,0,.15);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 340px; }
  .nav ul { display: block; padding: 8px 0; }
  .nav li { margin: 0; }
  .nav a { display: block; padding: 14px 24px; color: #7f8c8d; }
  .nav .nav-cta { background: none; color: #1abc9c; padding: 14px 24px; }
  .nav .nav-cta:hover { background: none; color: #16a085; }

  .hero-title { font-size: 38px; }
  .hero-sub { font-size: 17px; }
  .strip-item { flex-basis: 50%; }
  .section { padding: 70px 0; }
  .section-title, .cta-title { font-size: 26px; }
  .quote blockquote { font-size: 19px; }
  .footer-bar .container { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 30px; }
  .hero-actions .btn { display: block; margin: 0 auto 12px; max-width: 260px; }
}
