
/* Second Flight Studios — Base Styles */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #17212d;
  --muted: #697583;
  --blue: #375a78;
  --blue-dark: #263e55;
  --surface: #f5f6f7;
  --line: #e5e8eb;
  --white: #ffffff;
  --max-width: 1240px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(100% - 80px, var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: relative;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
}

.brand-mark {
  font-family: "Manrope", sans-serif;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: -2px;
}

.brand-dot { color: #688aa5; }

.brand-name {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.8px;
  line-height: 1.5;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 13px;
  font-weight: 600;
}

.site-nav a { transition: color .2s; }
.site-nav a:hover { color: var(--blue); }
.nav-contact { border-bottom: 1px solid var(--ink); padding-bottom: 5px; }

/* Hero */

.hero {
  position: relative;
  min-height: 690px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: url("../images/hero-flight.png") center center / cover no-repeat;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 90px;
  padding-bottom: 130px;
}

.hero-copy { max-width: 650px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--blue);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #779bb5;
}

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
  font-family: "Manrope", sans-serif;
}

h1 {
  margin: 30px 0;
  font-size: clamp(52px, 6vw, 84px);
  line-height: 1.08;
  letter-spacing: -4.5px;
  font-weight: 600;
}

h1 em, .contact h2 em {
  font-style: normal;
  color: var(--blue);
}

.hero-description {
  max-width: 485px;
  color: #526272;
  font-size: 17px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 17px 25px;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s, background .2s;
}

.button:hover { transform: translateY(-2px); }

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover { background: var(--blue-dark); }

.button-text { padding-inline: 0; }
.button-text:hover { color: var(--blue); }

.hero-bottom {
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 100%;
}

.hero-bottom-inner {
  display: flex;
  justify-content: space-between;
  padding-bottom: 28px;
  color: #6d7c89;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.scroll-cue { display: flex; gap: 12px; }

/* Shared sections */

.section { padding: 130px 0; }

.section-label {
  display: flex;
  gap: 12px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.section-number { color: #a3b0bb; }

h2 {
  font-size: clamp(35px, 4.2vw, 54px);
  line-height: 1.2;
  letter-spacing: -2.5px;
  font-weight: 600;
}

.muted { color: #a3adb7; }

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 70px;
}

.intro-content { max-width: 750px; }

.intro-content h2 { margin-bottom: 35px; }

.intro-content p {
  max-width: 625px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.intro-content .large-copy {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.75;
  margin-bottom: 25px;
}

/* Services */

.services { background: var(--surface); }

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 50px;
  margin-bottom: 60px;
}

.section-heading h2 { width: 65%; margin: 0; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.service-card {
  min-height: 365px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(20, 35, 50, .045);
}

.service-index {
  align-self: flex-end;
  color: #a1aab4;
  font-size: 11px;
}

.service-icon {
  margin: 25px 0 25px;
  font-size: 30px;
  color: var(--blue);
}

.service-card h3 {
  font-size: 21px;
  letter-spacing: -.6px;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.service-footer {
  margin-top: auto;
  padding-top: 30px;
  color: #9ba6b0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Next chapter */

.next-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: center;
}

.next-chapter h2 { margin: 25px 0 0; }

.next-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 22px;
}

.inline-link {
  display: inline-block;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
}

/* Contact */

.contact {
  background: var(--blue-dark);
  color: #fff;
}

.contact-inner { max-width: 1240px; }

.contact .section-label,
.contact .section-number { color: #9eb5c8; }

.contact h2 {
  margin: 30px 0;
  font-size: clamp(48px, 6vw, 78px);
  line-height: 1.12;
  letter-spacing: -4px;
}

.contact h2 em { color: #a8c2d7; }

.contact p {
  max-width: 520px;
  color: #c4d1db;
  line-height: 1.8;
}

.button-light {
  margin-top: 25px;
  background: #fff;
  color: var(--ink);
}

.button-light:hover { background: #e7eef4; }

.contact-note {
  font-size: 11px;
  margin-top: 20px;
}

/* Footer */

.site-footer {
  background: #17212d;
  color: #fff;
  padding: 70px 0 25px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand p {
  color: #9aa8b5;
  font-size: 12px;
  line-height: 1.8;
  margin-top: 15px;
}

.footer-links {
  display: flex;
  gap: 30px;
  font-size: 12px;
  color: #b7c2cc;
}

.footer-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid #2d3a47;
  padding-top: 25px;
  margin-top: 60px;
  color: #7f8d9b;
  font-size: 10px;
}

/* Responsive */

@media (max-width: 900px) {
  .container { width: min(100% - 48px, var(--max-width)); }
  .section { padding: 90px 0; }
  .intro-grid { grid-template-columns: 1fr; gap: 35px; }
  .section-heading { flex-direction: column; }
  .section-heading h2 { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .next-grid { grid-template-columns: 1fr; gap: 35px; }
}

@media (max-width: 600px) {
  .container { width: min(100% - 40px, var(--max-width)); }

  .header-inner { min-height: 76px; }
  .brand-mark { font-size: 24px; }
  .brand-name { font-size: 8px; }

  .site-nav { gap: 18px; font-size: 11px; }
  .site-nav a:not(.nav-contact) { display: none; }

  .hero { min-height: 730px; align-items: flex-start; }
  .hero-image {
    background-position: 58% center;
  }
  .hero-content { padding-top: 85px; padding-bottom: 120px; }
  h1 { font-size: 57px; letter-spacing: -3.5px; }
  .hero-description { font-size: 15px; max-width: 330px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 15px; }
  .hero-bottom-inner { font-size: 8px; }
  .scroll-cue { display: none; }

  h2 { font-size: 36px; letter-spacing: -1.8px; }
  .intro-content .large-copy { font-size: 17px; }
  .section-heading { margin-bottom: 40px; }
  .service-card { padding: 28px; }
  .contact h2 { font-size: 46px; letter-spacing: -2.5px; }
  .button-light { font-size: 11px; gap: 15px; }

  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; gap: 12px; margin-top: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
