/* ===== Reset & Base ===== */
html {
  scroll-behavior: smooth;
}

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

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #000000;
  background: #ffffff;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  padding: 5px 40px 4px;
}

.logo {
  display: inline-block;
  font-family: 'Times New Roman', Times, serif;
  font-weight: 700;
  font-size: 50px;
  line-height: 70px;
  color: #1a2b6d;
  text-decoration: none;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  width: 100%;
}

.hero-media {
  position: relative;
  width: 100%;
  height: calc(100vh - 79px);
  min-height: 500px;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-tagline-box {
  position: absolute;
  right: max(40px, calc((100vw - 950px) / 2));
  bottom: 0;
  background: rgba(90, 101, 146, 0.69);
  padding: 40px 48px 56px;
  width: min(480px, calc(100vw - 80px));
  box-sizing: border-box;
  z-index: 2;
}

.hero-tagline {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.25;
  color: #ffffff;
}

.hero-intro-box {
  background: rgba(90, 101, 146, 0.69);
  padding: 32px 48px 40px;
  width: min(480px, calc(100vw - 80px));
  box-sizing: border-box;
  margin-left: auto;
  margin-right: max(40px, calc((100vw - 950px) / 2));
}

.hero-intro-text {
  font-family: 'Times New Roman', Times, serif;
  font-size: 18px;
  line-height: 1.5;
  color: #ffffff;
}

/* ===== Intro ===== */
/* ===== Services ===== */
.services {
  max-width: 950px;
  margin: 0 auto;
  padding: 80px 40px 80px;
}

.services h1 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  font-size: 35px;
  color: #1a2b6d;
  margin-bottom: 40px;
}

.service-block-wrap {
  position: relative;
  margin: 0 16px 40px 0;
}

.service-block-frame {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 100%;
  height: 100%;
  border: 1px solid #d6d6d6;
  z-index: 1;
  pointer-events: none;
}

.service-block {
  position: relative;
  z-index: 2;
  background: #f2f2f2;
  padding: 40px;
  border-radius: 0;
}

.service-block h5 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 1.3;
  color: #1a2b6d;
  margin-bottom: 20px;
}

.service-block p {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 16px;
}

.service-block p:last-child {
  margin-bottom: 0;
}

.service-block ul {
  margin: 0 0 16px 0;
  padding-left: 20px;
}

.service-block li {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 8px;
}

/* ===== Banner (full-width image) ===== */
.banner {
  width: 100%;
  height: 90vh;
  min-height: 500px;
  background-image: url('../images/ny-skyline.jpg');
  background-size: cover;
  background-position: center 30%;
  background-attachment: fixed;
}

/* ===== Future / CTA section ===== */
.future {
  max-width: 700px;
  margin: 0 auto;
  padding: 100px 40px;
}

.future h2 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 400;
  font-size: 35px;
  color: #1a2b6d;
  margin-bottom: 24px;
}

.future p {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.64px;
  color: #333333;
}

/* ===== Footer ===== */
.site-footer {
  background: #1a2b6d;
  color: #ffffff;
  padding: 80px 0 40px;
  position: relative;
}

.footer-inner {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.footer-company,
.footer-ceo,
.footer-address {
  font-family: 'Times New Roman', Times, serif;
  font-size: 20px;
  letter-spacing: 0.6px;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 700px;
}

.disclaimer {
  margin-top: 40px;
  max-width: 900px;
}

.disclaimer-title {
  font-family: 'Times New Roman', Times, serif;
  font-size: 13px;
  margin-bottom: 8px;
}

.disclaimer p {
  font-family: 'Times New Roman', Times, serif;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 12px;
  opacity: 0.9;
}

.back-to-top {
  position: absolute;
  right: 40px;
  bottom: 60px;
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.4);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.copyright {
  font-family: 'Times New Roman', Times, serif;
  font-size: 13px;
  letter-spacing: 1.3px;
  margin-top: 32px;
  opacity: 0.8;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .site-header { padding: 8px 20px 6px; }
  .logo { font-size: 26px; line-height: 36px; }

  .hero-media { height: 70vh; }
  .hero-tagline-box {
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    padding: 24px;
  }
  .hero-tagline { font-size: 26px; }
  .hero-intro-box {
    margin: 0;
    width: auto;
    padding: 20px 24px 28px;
  }
  .hero-intro-text { font-size: 15px; }

  .services { padding: 40px 20px 50px; }
  .services h1 { font-size: 26px; }
  .service-block-wrap { margin-right: 0; }
  .service-block { padding: 20px; }
  .service-block-frame { top: 8px; left: 8px; }
  .service-block h5 { font-size: 19px; }

  .banner { height: 60vh; min-height: 300px; background-attachment: scroll; }

  .future { padding: 60px 20px; }
  .future h2 { font-size: 28px; }

  .site-footer { padding: 60px 0 30px; }
  .footer-inner { padding: 0 20px; }
  .back-to-top { right: 20px; bottom: 30px; }
}

/* ===== Scroll fade-in ===== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Load fade-in (above-the-fold elements) ===== */
.fade-in-load {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in-load.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in-load {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
