*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #fff;
  --surface: #f5f5f7;
  --surface-2: #ececf0;
  --text: #1d1d1f;
  --text-mid: #6e6e73;
  --accent: #0071e3;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --display: 'Inter Tight', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font: 600 14px var(--body);
  white-space: nowrap;
}
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #424245; }
.btn-light { background: #fff; color: var(--text); }
.btn-light:hover { background: var(--surface); }

nav {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  height: 72px;
  border-bottom: 1px solid rgba(0,0,0,.06);
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(18px);
}
.nav-inner {
  display: flex;
  width: 100%;
  max-width: 1440px;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 0 32px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-img { display: block; width: 38px; height: 42px; object-fit: contain; }
.nav-logo svg { width: 26px; height: 26px; }
.nav-logo span { font: 700 16px var(--display); }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 13px; font-weight: 500; opacity: .78; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { min-height: 38px; padding: 8px 18px; font-size: 13px; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}
.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: var(--text);
  transition: transform .2s, opacity .2s;
}
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.project-hero {
  display: grid;
  width: calc(100% - 96px);
  max-width: 1344px;
  min-height: 760px;
  grid-template-columns: minmax(0, .92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: 64px;
  margin: 0 auto;
  padding: 138px 0 72px;
}
.back-link {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
}
.back-link::before { content: '\2190'; margin-right: 8px; }
.project-kicker, .section-label {
  margin-bottom: 16px;
  color: var(--accent);
  font: 700 13px var(--display);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-hero h1 {
  margin-bottom: 26px;
  font: 800 clamp(64px, 8vw, 112px)/.94 var(--display);
  letter-spacing: 0;
}
.project-hero p {
  max-width: 650px;
  color: var(--text-mid);
  font-size: clamp(19px, 2vw, 26px);
  line-height: 1.4;
}
.project-hero-visual {
  min-height: 570px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(0,16,36,.06), rgba(0,16,36,.46)),
    url('../images/vercel-im-03.jpg') center/cover;
}

.project-facts {
  display: grid;
  width: calc(100% - 96px);
  max-width: 1344px;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  padding: 30px 0 72px;
  border-top: 1px solid var(--line-soft);
}
.fact { padding: 0 28px; border-right: 1px solid var(--line-soft); }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact span { display: block; margin-bottom: 7px; color: var(--text-mid); font-size: 12px; text-transform: uppercase; }
.fact strong { font: 600 20px var(--display); }

.project-intro {
  display: grid;
  width: calc(100% - 96px);
  max-width: 1344px;
  grid-template-columns: .9fr 1.1fr;
  gap: 90px;
  margin: 0 auto;
  padding: 110px 0;
}
.project-intro h2, .scope-heading h2, .result-copy h2 {
  font: 700 clamp(38px, 5vw, 62px)/1.05 var(--display);
  letter-spacing: 0;
}
.project-intro-copy { padding-top: 30px; }
.project-intro-copy p { color: var(--text-mid); font-size: 20px; line-height: 1.6; }
.project-intro-copy p + p { margin-top: 24px; }

.project-image-band {
  position: relative;
  display: flex;
  min-height: 680px;
  align-items: flex-end;
  padding: 70px max(48px, calc((100vw - 1344px) / 2));
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0,15,30,.08) 25%, rgba(0,15,30,.82) 100%),
    url('../images/vercel-im-20.jpg') center/cover;
}
.project-image-band-copy { position: relative; max-width: 780px; }
.section-label.light { color: #5ac8fa; }
.project-image-band h2 { font: 700 clamp(42px, 6vw, 76px)/1.02 var(--display); letter-spacing: 0; }

.project-detail-grid {
  display: grid;
  width: calc(100% - 96px);
  max-width: 1344px;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 80px auto;
}
.detail-panel {
  min-height: 480px;
  padding: 52px;
  border-radius: 24px;
  background: var(--surface);
}
.detail-panel.dark { background: #0b1b2e; color: #fff; }
.detail-panel.dark p { color: rgba(255,255,255,.68); }
.detail-panel.dark .section-label { color: #5ac8fa; }
.panel-number { margin-bottom: 92px; color: var(--text-mid); font: 500 14px var(--body); }
.detail-panel h3 { max-width: 500px; margin-bottom: 22px; font: 700 clamp(30px, 3vw, 44px)/1.08 var(--display); }
.detail-panel p { max-width: 520px; color: var(--text-mid); font-size: 17px; line-height: 1.6; }

.scope-section {
  display: grid;
  width: calc(100% - 96px);
  max-width: 1344px;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
  margin: 0 auto;
  padding: 100px 0 120px;
}
.scope-heading { position: sticky; top: 120px; align-self: start; }
.scope-list { list-style: none; border-top: 1px solid var(--line); }
.scope-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}
.scope-list li > span { color: var(--accent); font: 600 13px var(--display); }
.scope-list strong { display: block; margin-bottom: 8px; font: 600 21px var(--display); }
.scope-list p { color: var(--text-mid); font-size: 16px; line-height: 1.55; }

.result-section {
  display: grid;
  width: calc(100% - 96px);
  max-width: 1344px;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  margin: 0 auto 100px;
  border-radius: 24px;
  background: var(--surface);
}
.result-visual { min-height: 560px; background: url('../images/vercel-im-18.jpg') center/cover; }
.result-copy { align-self: center; padding: 58px; }
.result-copy > p { margin: 24px 0; color: var(--text-mid); font-size: 18px; line-height: 1.6; }
.result-copy ul { display: grid; gap: 14px; list-style: none; }
.result-copy li { position: relative; padding-left: 23px; color: var(--text-mid); font-size: 16px; }
.result-copy li::before { content: ''; position: absolute; top: .6em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

.project-gallery { width: calc(100% - 96px); max-width: 1344px; margin: 0 auto 100px; }
.project-gallery h2 { margin-bottom: 34px; font: 700 clamp(38px, 5vw, 62px)/1.05 var(--display); }
.project-gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.project-gallery-image { min-height: 420px; border-radius: 18px; background: var(--surface) center/cover no-repeat; }
.project-gallery-image:first-child:nth-last-child(odd) { grid-column: 1 / -1; min-height: 560px; }

.project-cta {
  display: flex;
  width: calc(100% - 96px);
  max-width: 1344px;
  min-height: 350px;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  margin: 0 auto 100px;
  padding: 62px;
  border-radius: 24px;
  background: #0b1b2e;
  color: #fff;
}
.project-cta > div { max-width: 780px; }
.project-cta h2 { font: 700 clamp(36px, 5vw, 58px)/1.05 var(--display); }
.project-cta p { max-width: 620px; margin-top: 18px; color: rgba(255,255,255,.68); font-size: 17px; }

footer { padding: 80px 0 32px; background: #1d1d1f; color: #fff; }
.footer-inner { max-width: 1344px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(180px, 1fr) minmax(180px, 1fr);
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .nav-logo span { color: #fff; }
.footer-desc { max-width: 320px; margin-top: 16px; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.6; }
.footer-certifications { display: flex; align-items: center; gap: 10px; margin-top: 20px; }
.footer-certifications img { width: 88px; height: 68px; padding: 6px; object-fit: contain; border-radius: 6px; background: #fff; }
.footer-col-title { margin-bottom: 18px; font: 600 13px var(--display); text-transform: uppercase; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: rgba(255,255,255,.55); font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: center; gap: 20px; width: 100%; padding-top: 28px; color: rgba(255,255,255,.4); font-size: 12px; text-align: center; }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,.5); }

@media (max-width: 1080px) {
  .project-hero { grid-template-columns: 1fr; padding-top: 132px; }
  .project-hero-visual { min-height: 500px; }
  .project-intro, .scope-section { grid-template-columns: 1fr; gap: 48px; }
  .scope-heading { position: static; }
  .result-section { grid-template-columns: 1fr; }
  .result-visual { min-height: 440px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  body.nav-open { overflow: hidden; }
  .nav-inner { padding: 0 22px; }
  .nav-toggle { display: flex; }
  .nav-cta .btn { display: none; }
  .nav-links {
    position: fixed;
    top: 72px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px 22px 24px;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 50px rgba(0,0,0,.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-120%);
    transition: transform .22s, opacity .18s;
  }
  body.nav-open .nav-links { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .nav-links li { border-bottom: 1px solid var(--line-soft); }
  .nav-links a { display: flex; min-height: 52px; align-items: center; font-size: 17px; opacity: 1; }
  .project-facts { grid-template-columns: 1fr 1fr; gap: 28px 0; }
  .fact:nth-child(2) { border-right: 0; }
  .project-detail-grid { grid-template-columns: 1fr; }
  .project-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .project-hero, .project-facts, .project-intro, .project-detail-grid,
  .scope-section, .result-section, .project-gallery, .project-cta {
    width: calc(100% - 44px);
  }
  .project-hero { min-height: auto; gap: 42px; padding: 112px 0 54px; }
  .back-link { margin-bottom: 36px; }
  .project-hero h1 { font-size: clamp(52px, 16vw, 72px); }
  .project-hero p { font-size: 19px; }
  .project-hero-visual { min-height: 380px; border-radius: 18px; }
  .project-facts { padding-bottom: 54px; }
  .fact { padding: 0 16px; }
  .fact:nth-child(odd) { padding-left: 0; }
  .fact strong { font-size: 17px; }
  .project-intro { padding: 72px 0; }
  .project-intro-copy { padding-top: 0; }
  .project-intro-copy p { font-size: 18px; }
  .project-image-band { min-height: 500px; padding: 48px 22px; }
  .detail-panel { min-height: 420px; padding: 36px 28px; border-radius: 18px; }
  .panel-number { margin-bottom: 62px; }
  .scope-section { padding: 70px 0 84px; }
  .scope-list li { grid-template-columns: 38px 1fr; gap: 12px; }
  .result-section { border-radius: 18px; }
  .result-visual { min-height: 330px; }
  .result-copy { padding: 38px 28px; }
  .project-gallery-grid { grid-template-columns: 1fr; }
  .project-gallery-image, .project-gallery-image:first-child:nth-last-child(odd) { min-height: 300px; grid-column: auto; }
  .project-cta { min-height: auto; margin-bottom: 70px; padding: 40px 28px; border-radius: 18px; }
  .project-cta .btn { width: 100%; }
  footer { padding-top: 60px; }
  .footer-inner { padding: 0 22px; }
  .footer-top { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { align-items: center; flex-direction: column; }
  .footer-bottom-links { flex-wrap: wrap; }
}

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