*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-family: 'DM Sans', sans-serif; color: #1A1A1A; -webkit-font-smoothing: antialiased; }
body { background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: none; }

:root {
  --primary: #1A1A1A;
  --secondary: #737373;
  --background: #F7F7F7;
  --white: #F7F7F7;
  --stroke-1: rgba(0,0,0,0.2);
  --footer-text: #BABABA;
  --border-accent: rgba(64,64,64,0.45);
}

/* === TYPOGRAPHY === */
h1 { font-size: 36px; font-weight: 500; }
h2 { font-size: 32px; font-weight: 500; }
h3 { font-size: 28px; font-weight: 400; }
h4 { font-size: 22px; font-weight: 400; }
h5 { font-size: 20px; font-weight: 400; }
h6 { font-size: 19px; font-weight: 400; }
p  { font-size: 18px; font-weight: 400; }
p.small, .p2 { font-size: 14px; font-weight: 400; }

.page { max-width: 1440px; width: 100%; margin: 0 auto; position: relative; }

/* === HEADER === */
.header { width: 100%; height: 120px; display: flex; align-items: center; justify-content: space-between; padding: 34px 80px; }
.header-logo { height: 52px; width: auto; filter: brightness(0); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; z-index: 101; }
.nav-toggle span { display: block; width: 100%; height: 1.5px; background: var(--primary); transition: transform 0.3s, opacity 0.3s; position: absolute; left: 0; }
.nav-toggle span:first-child { top: 4px; }
.nav-toggle span:last-child { bottom: 4px; }
.nav-toggle--open span:first-child { top: 50%; transform: translateY(-50%) rotate(45deg); }
.nav-toggle--open span:last-child { bottom: auto; top: 50%; transform: translateY(-50%) rotate(-45deg); }
.nav { display: flex; gap: 40px; align-items: center; overflow: clip; }
.nav-link { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; height: 30px; cursor: pointer; font-size: 22px; font-weight: 400; line-height: normal; color: #000; white-space: nowrap; }
.nav-link-underline { width: 100%; height: 1px; overflow: hidden; display: flex; justify-content: flex-end; }
.nav-link-underline-bar { height: 1px; background: #000; width: 0; transition: width 0.35s cubic-bezier(0.25,0.46,0.45,0.94); }
.nav-link:hover .nav-link-underline { justify-content: flex-start; }
.nav-link:hover .nav-link-underline-bar { width: 100%; }
.nav-link--footer { font-size: 14px; color: var(--footer-text); align-items: flex-start; }
.nav-link--footer .nav-link-underline-bar { background: var(--footer-text); }
.nav-link--contact { font-size: 18px; color: var(--secondary); align-items: flex-start; }
.nav-link--contact .nav-link-underline-bar { background: var(--secondary); }

/* === HERO === */
.hero { width: 100%; padding-bottom: 55.07%; position: relative; overflow: visible; }
.hero-text-wrap { position: absolute; left: 12.5%; top: 39.7%; width: 44.2%; overflow: hidden; }
.hero-text { font-size: clamp(24px, 2.5vw, 36px); font-weight: 500; line-height: 1.1; color: var(--primary); clip-path: inset(0 100% 0 0); animation: clip-reveal 0.96s 0.6s cubic-bezier(0.25,0.46,0.45,0.94) forwards; }
.hero-text-wrap::before { content: ''; position: absolute; top: 0; left: 0; width: 1px; height: 100%; background: var(--primary); opacity: 0; animation: line-scan 0.96s 0.6s cubic-bezier(0.25,0.46,0.45,0.94) forwards; z-index: 1; }
@keyframes clip-reveal { to { clip-path: inset(0 0 0 0); } }
@keyframes line-scan { 0% { left: 0; opacity: 1; } 100% { left: 100%; opacity: 0; } }
.hero-graphic { position: absolute; left: 48.6%; top: 0; width: 48.6%; height: 0; padding-bottom: 48.6%; display: flex; align-items: center; justify-content: center; overflow: visible; }
.hero-graphic img { position: absolute; top: 3.5%; left: 3.5%; width: 93%; height: 93%; object-fit: contain; transform: rotate(12.95deg); opacity: 50%; }

/* === ABOUT === */
.about { width: 100%; display: flex; justify-content: center; gap: 13.9%; padding: 10px 12.5% 60px; }
.about-col { flex: 1; max-width: 440px; }
.about-title { font-size: clamp(22px, 1.94vw, 28px); font-weight: 400; line-height: normal; color: var(--primary); padding: 10px; margin-top: 10px; }
.about-body { font-size: var(--h6); font-weight: 400; line-height: 1.45; color: var(--secondary); padding: 10px; margin-top: 10px; }

/* === PROJECTS === */
.projects { width: 100%; background: var(--background); padding: 180px 12.5% 80px; }
.projects-inner { width: 100%; border-top: 1px solid var(--border-accent); border-bottom: 1px solid var(--border-accent); display: flex; flex-direction: column; align-items: center; padding: 80px 0 40px; }
.projects-title { font-size: clamp(22px, 1.94vw, 28px); font-weight: 400; line-height: normal; color: var(--primary); text-align: center; padding: 10px; }
.projects-body { font-size: var(--h6); font-weight: 400; line-height: 1.45; color: var(--secondary); text-align: center; padding: 10px; margin-top: 10px; }
.projects-logos { display: flex; align-items: center; justify-content: center; gap: clamp(40px, 9.4vw, 136px); margin-top: 10px; padding: 51px 0; flex-wrap: wrap; }
.deltafloat-logo { display: flex; align-items: center; gap: 12px; }
.deltafloat-icon { width: 54px; height: 54px; border: 0.81px solid var(--primary); display: flex; align-items: center; justify-content: center; font-family: Georgia, serif; font-size: 20px; gap: 5px; flex-shrink: 0; }
.deltafloat-text { font-size: 46px; font-weight: 400; line-height: normal; color: var(--primary); white-space: nowrap; }
.odl-logo-wrap img { width: 198px; height: 66px; object-fit: contain; }

/* === CONSORTIUM === */
.consortium { width: 100%; padding-bottom: 53.5%; position: relative; }
.consortium-graphic { position: absolute; left: 9.5%; top: 9.1%; width: 43.8%; }
.consortium-graphic img { width: 100%; height: auto; object-fit: contain; }
.consortium-content { position: absolute; left: 56%; top: 23.2%; width: 31.5%; }
.consortium-title { font-size: clamp(22px, 1.94vw, 28px); font-weight: 400; line-height: normal; color: var(--primary); }
.consortium-body { font-size: var(--h6); font-weight: 400; line-height: 1.45; color: var(--secondary); width: 100%; margin-top: 20px; }
.consortium-cta { margin-top: 28px; }

/* === BUTTON === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; border: 1px solid var(--primary); background: transparent; font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 400; color: var(--primary); cursor: pointer; position: relative; overflow: hidden; transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease; box-shadow: 0px 1px 2px 0px rgba(16,24,40,0.05); white-space: nowrap; }
.btn::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 0; background: var(--background); transition: height 0.35s ease; }
.btn:hover { background: var(--primary); color: var(--background); border-color: var(--primary); box-shadow: 0px 8px 12px 0px rgba(0,0,0,0.16); }
.btn:hover::after { height: 6px; }

/* === PARTNERS === */
.partners { width: 100%; }
.partners-text { padding: 92px 13.2% 0; }
.partners-title { font-size: clamp(22px, 1.94vw, 28px); font-weight: 400; line-height: normal; color: var(--primary); padding-bottom: 10px; }
.partners-body { font-size: var(--h6); font-weight: 400; line-height: 1.45; color: var(--secondary); max-width: 865px; width: 100%; padding-top: 10px; }
.partners-logos { display: flex; align-items: center; justify-content: space-between; padding: 60px 13.2% 50px; flex-wrap: wrap; gap: 30px; }
.partner-logo-wrap { display: flex; align-items: center; justify-content: center; }
.partner-logo-wrap img { height: 80px; width: auto; object-fit: contain; filter: grayscale(100%); }
.partner-logo-wrap:nth-child(3) img { height: 110px; margin-left: 80px; }

/* === CONTACT === */
.contact { width: 100%; background: var(--background); padding: 69px 12.5% 136px; }
.contact-inner { width: 100%; border-top: 1px solid var(--stroke-1); display: flex; flex-direction: column; align-items: center; padding-top: 80px; }
.contact-header { display: flex; flex-direction: column; align-items: center; width: 100%; }
.contact-title { font-size: clamp(22px, 1.94vw, 28px); font-weight: 400; line-height: normal; color: var(--primary); text-align: center; padding: 10px; margin-top: 42px; }
.contact-body { font-size: var(--h6); font-weight: 400; line-height: 1.45; color: var(--secondary); text-align: center; padding: 10px; margin-top: 10px; }
.contact-people { display: flex; gap: clamp(40px, 11.67vw, 168px); align-items: flex-start; justify-content: center; padding: 10px; width: 100%; margin-top: 78px; }
.person-card { display: flex; flex-direction: column; align-items: flex-start; width: 231px; }
.person-photo { width: 231px; height: 346px; object-fit: cover; }
.person-info { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.person-name { font-size: 18px; font-weight: 400; line-height: normal; color: var(--primary); padding-top: 16px; }
.person-detail { font-size: 18px; font-weight: 400; line-height: normal; color: var(--secondary); }

/* === FOOTER === */
.footer { width: 100%; background: var(--primary); padding: 20px 5.56% 60px; }
.footer-inner { width: 100%; padding: 10px; }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; padding: 67px 10px 60px; border-bottom: 1.5px solid var(--background); }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { height: 60px; width: auto; }
.footer-brand-name { font-size: 28px; font-weight: 400; line-height: normal; color: var(--white); }
.footer-nav { display: flex; gap: 55px; align-items: flex-start; }
.footer-nav-col { display: flex; flex-direction: column; gap: 12px; }
.footer-nav-heading { font-size: 16px; font-weight: 700; line-height: 1.5; color: var(--white); margin-bottom: 4px; }
.footer-contact-item { font-size: 14px; font-weight: 400; line-height: normal; color: var(--footer-text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 0; }
.footer-socials { display: flex; gap: 20px; align-items: center; }
.footer-social-icon { width: 17px; height: 17px; }
.footer-copyright { font-size: 18px; font-weight: 400; line-height: normal; color: var(--white); }

/* ============================================ */
/* TABLET — 768px to 1100px                     */
/* ============================================ */
@media (max-width: 1100px) {
  .header { padding: 24px 5%; }
  .hero-text-wrap { left: 8%; width: 50%; }
  .about { gap: 6%; padding: 10px 8% 50px; }
  .projects { padding: 120px 8% 60px; }
  .consortium-content { width: 36%; }
  .partners-text { padding: 92px 8% 0; }
  .partners-logos { padding: 60px 8% 50px; justify-content: center; gap: 40px; }
  .partner-logo-wrap img { height: 60px; }
  .partner-logo-wrap:nth-child(3) img { height: 85px; margin-left: 0; }
  .contact { padding: 69px 8% 136px; }
  .contact-people { gap: 60px; }
  .deltafloat-text { font-size: clamp(30px, 3.2vw, 46px); }
  .deltafloat-icon { width: clamp(36px, 3.75vw, 54px); height: clamp(36px, 3.75vw, 54px); font-size: clamp(14px, 1.39vw, 20px); }
}

/* ============================================ */
/* MOBILE — below 768px                         */
/* ============================================ */
@media (max-width: 768px) {

  /* Mobile nav */
  .nav-toggle { display: block; }
  .nav { position: fixed; top: 0; right: -100%; width: 260px; height: 100vh; background: var(--white); flex-direction: column; align-items: flex-start; padding: 120px 40px 40px; gap: 28px; z-index: 100; transition: right 0.35s ease; box-shadow: -4px 0 20px rgba(0,0,0,0.08); }
  .nav--open { right: 0; }
  .header { padding: 20px 24px; height: 80px; }
  .header-logo { height: 40px; }

  /* Hero — stack, hide wireframe */
  .hero { padding-bottom: 0; height: auto; padding: 60px 24px 40px; }
  .hero-text-wrap { position: relative; left: auto; top: auto; width: 100%; }
  .hero-text { font-size: 28px; }
  .hero-graphic { display: none; }

  /* About — stack columns */
  .about { flex-direction: column; padding: 40px 24px; gap: 20px; }
  .about-col { max-width: none; }
  .about-title { font-size: 24px; padding: 0 0 6px; }
  .about-body { padding: 0; margin-top: 6px; font-size: 16px; }

  /* Projects */
  .projects { padding: 80px 24px 60px; }
  .projects-inner { padding: 50px 0 30px; }
  .projects-title { font-size: 24px; }
  .projects-body { font-size: 16px; }
  .projects-logos { flex-direction: column; gap: 30px; padding: 30px 0; }
  .deltafloat-text { font-size: 36px; }
  .deltafloat-icon { width: 44px; height: 44px; font-size: 16px; }

  /* Consortium — stack, hide wireframe */
  .consortium { padding-bottom: 0; padding: 60px 24px; }
  .consortium-graphic { display: none; }
  .consortium-content { position: relative; left: auto; top: auto; width: 100%; }
  .consortium-title { font-size: 24px; }
  .consortium-body { font-size: 16px; }

  /* Partners */
  .partners-text { padding: 60px 24px 0; }
  .partners-title { font-size: 24px; }
  .partners-body { font-size: 16px; }
  .partners-logos { padding: 30px 24px 40px; justify-content: center; gap: 30px; flex-wrap: wrap; }
  .partner-logo-wrap img { height: 50px; }
  .partner-logo-wrap:nth-child(3) img { height: 70px; margin-left: 0; }

  /* Contact */
  .contact { padding: 50px 24px 80px; }
  .contact-inner { padding-top: 50px; }
  .contact-title { font-size: 24px; margin-top: 20px; }
  .contact-body { font-size: 16px; }
  .contact-people { flex-direction: column; align-items: center; gap: 50px; margin-top: 50px; }
  .person-photo { width: 200px; height: 300px; }
  .person-card { width: 200px; }

  /* Footer */
  .footer { padding: 20px 24px 40px; }
  .footer-main { flex-direction: column; gap: 40px; padding: 40px 0 30px; }
  .footer-brand-name { font-size: 22px; }
  .footer-logo { height: 45px; }
  .footer-nav { flex-direction: column; gap: 30px; }
  .footer-bottom { flex-direction: column-reverse; align-items: flex-start; gap: 16px; padding-top: 20px; }
  .footer-copyright { font-size: 14px; }

  /* Button */
  .btn { font-size: 16px; padding: 10px 18px; }
}
