/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  background: #ffffff;
  color: #1a1a1a;
  line-height: 1.7;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --blue: #1B3A6B;
  --blue-light: #2a5298;
  --black: #1a1a1a;
  --white: #ffffff;
  --gray: #f5f5f3;
  --gray2: #e8e8e6;
  --gray3: #d0d0ce;
  --muted: #888880;
  --border: rgba(0,0,0,0.08);
}

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--black);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
em { font-style: italic; color: var(--blue); }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 0.85rem 2rem;
  font-family: 'Jost', sans-serif; font-size: 12px;
  font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 1px; transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-light); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--black);
  padding: 0.85rem 2rem; border: 0.5px solid var(--black);
  font-family: 'Jost', sans-serif; font-size: 12px;
  font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 1px; transition: all 0.2s;
}
.btn-ghost:hover { background: var(--black); color: #fff; }

.btn-outline-dark {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: var(--black);
  padding: 0.85rem 2rem; border: 0.5px solid var(--gray3);
  font-family: 'Jost', sans-serif; font-size: 12px;
  font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  border-radius: 1px; transition: all 0.2s;
}
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 3rem;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 0.5px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 20px rgba(0,0,0,0.04);
}
.nav-logo img { height: 42px; width: auto; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a {
  font-size: 12px; font-weight: 400; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--muted); transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  display: flex; align-items: center; gap: 8px;
  background: var(--blue); color: #fff;
  padding: 0.6rem 1.25rem; border-radius: 1px;
  font-size: 12px; font-weight: 400; letter-spacing: 0.12em; text-transform: uppercase;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--blue-light); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 0.5px; background: var(--black); transition: all 0.3s; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; padding: 8rem 3rem 5rem;
  display: flex; align-items: center; gap: 4rem;
  position: relative; overflow: hidden;
  background: var(--white);
}
.hero-bg-text {
  position: absolute; right: -0.05em; top: 50%;
  transform: translateY(-50%);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(200px, 30vw, 420px);
  font-weight: 300; color: transparent;
  -webkit-text-stroke: 0.5px rgba(27,58,107,0.07);
  pointer-events: none; user-select: none; line-height: 1;
  letter-spacing: -0.05em;
}
.hero-content { flex: 1; max-width: 560px; position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 2rem; font-weight: 400;
}
.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 300; line-height: 1.08;
  letter-spacing: -0.02em; color: var(--black);
  margin-bottom: 1.75rem;
}
.hero-title em { color: var(--blue); }
.hero-desc {
  font-size: 15px; color: var(--muted); line-height: 1.8;
  margin-bottom: 2.5rem; max-width: 420px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-side {
  flex: 0 0 auto; display: flex; flex-direction: column;
  align-items: center; gap: 2rem; position: relative; z-index: 1;
}
.hero-logo-wrap {
  width: 280px; height: 280px; border-radius: 2px;
  background: var(--gray); display: flex; align-items: center; justify-content: center;
  border: 0.5px solid var(--border);
}
.hero-logo-wrap img { width: 65%; }
.hero-stats {
  display: flex; gap: 2rem;
  padding: 1.25rem 2rem; background: var(--gray);
  border: 0.5px solid var(--border); border-radius: 1px;
}
.hero-stat { text-align: center; }
.stat-n {
  display: block; font-family: 'Cormorant Garamond', serif;
  font-size: 22px; font-weight: 400; color: var(--blue); line-height: 1.1;
}
.stat-l {
  display: block; font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted); margin-top: 2px;
}
.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted);
}
.scroll-line {
  width: 0.5px; height: 48px; background: var(--blue);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.3} 50%{opacity:1} }

/* ===== PROJECTS ===== */
.projects-section { padding: 7rem 3rem; background: var(--gray); }
.section-header { max-width: 600px; margin-bottom: 3.5rem; }
.section-sub { font-size: 14px; color: var(--muted); margin-top: 0.75rem; line-height: 1.7; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px; background: var(--gray2);
  border: 1px solid var(--gray2);
}
.project-card { background: var(--white); overflow: hidden; cursor: pointer; transition: transform 0.3s; }
.project-card:hover { transform: translateY(-2px); z-index: 1; position: relative; }
.project-img {
  width: 100%; aspect-ratio: 16/10; overflow: hidden;
  background: var(--gray2);
}
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.project-card:hover .project-img img { transform: scale(1.03); }
.project-placeholder {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(135deg, #d5dce8 0%, #e8edf5 100%);
  color: rgba(27,58,107,0.35);
}
.project-placeholder span { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; }
.project-info {
  padding: 1.5rem; display: flex; align-items: flex-start; gap: 1rem;
  border-top: 0.5px solid var(--border);
}
.project-num {
  font-family: 'Cormorant Garamond', serif; font-size: 13px;
  color: var(--muted); flex-shrink: 0; margin-top: 2px;
}
.project-cat {
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 0.25rem;
}
.project-name { font-size: 16px; font-weight: 500; color: var(--black); margin-bottom: 0.4rem; }
.project-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.projects-cta { margin-top: 3rem; text-align: center; }

/* ===== ABOUT ===== */
.about-section { padding: 7rem 3rem; background: var(--black); color: #fff; }
.about-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: center; max-width: 1100px; }
.about-visual { display: flex; flex-direction: column; gap: 1.5rem; }
.about-logo-frame {
  background: rgba(255,255,255,0.04); border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 2px; padding: 3rem; display: flex; align-items: center; justify-content: center;
}
.about-logo-frame img { width: 65%; filter: brightness(0) invert(1); }
.about-architect-card {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.04); border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 2px; padding: 1.25rem 1.5rem;
}
.architect-avatar {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 500; color: #fff; letter-spacing: 0.05em;
}
.architect-name { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.9); margin-bottom: 2px; }
.architect-title { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; }
.architect-behance {
  margin-left: auto; display: flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); border: 0.5px solid rgba(255,255,255,0.15);
  padding: 6px 12px; border-radius: 1px; transition: all 0.2s;
}
.architect-behance:hover { color: #fff; border-color: rgba(255,255,255,0.4); }
.about-text-col .eyebrow { color: rgba(27,58,107,0.8); }
.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px; font-weight: 300; color: #fff; line-height: 1.15;
  letter-spacing: -0.01em; margin-bottom: 2rem;
}
.about-title em { color: rgba(255,255,255,0.5); }
.about-body { font-size: 15px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 1.25rem; }
.about-divider { width: 40px; height: 0.5px; background: rgba(255,255,255,0.2); margin: 2rem 0; }
.about-quote {
  font-family: 'Cormorant Garamond', serif; font-size: 20px; font-style: italic;
  font-weight: 300; color: rgba(255,255,255,0.5); margin-bottom: 2rem; line-height: 1.5;
}
.about-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.about-social-link {
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); border-bottom: 0.5px solid rgba(255,255,255,0.15);
  padding-bottom: 2px; transition: all 0.2s;
}
.about-social-link:hover { color: #fff; border-color: rgba(255,255,255,0.5); }

/* ===== SOCIAL ===== */
.social-section { padding: 6rem 3rem; background: var(--white); }
.social-section .eyebrow { display: block; }
.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1rem; max-width: 900px; margin: 0 auto;
}
.social-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  padding: 2rem 1rem; text-align: center;
  background: var(--white); border: 0.5px solid var(--border);
  border-radius: 2px; transition: all 0.2s; position: relative;
}
.social-card:hover { border-color: var(--blue); transform: translateY(-2px); }
.social-icon-wrap {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--gray); display: flex; align-items: center; justify-content: center;
  color: var(--blue); margin-bottom: 0.25rem;
}
.social-name { font-size: 14px; font-weight: 500; color: var(--black); }
.social-handle { font-size: 12px; color: var(--muted); }
.social-card--personal { border-style: dashed; }
.personal-badge {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--blue); background: rgba(27,58,107,0.06);
  padding: 3px 8px; border-radius: 20px; margin-top: 4px;
}

/* ===== CONTACT ===== */
.contact-section { padding: 7rem 3rem; background: var(--gray); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px; font-weight: 300; color: var(--black);
  line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 1.25rem;
}
.contact-sub { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.25rem; background: var(--white);
  border: 0.5px solid var(--border); border-radius: 2px; transition: border-color 0.2s;
}
.contact-detail:hover { border-color: var(--blue); }
.contact-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(27,58,107,0.06); display: flex; align-items: center; justify-content: center;
  color: var(--blue); flex-shrink: 0;
}
.detail-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.detail-value { font-size: 14px; color: var(--black); font-weight: 400; }
.contact-form-wrap {
  background: var(--white); border: 0.5px solid var(--border);
  border-radius: 2px; padding: 2.5rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); font-weight: 400;
}
.form-group input,
.form-group textarea {
  border: 0.5px solid var(--gray3); border-radius: 1px;
  padding: 0.75rem 1rem; font-size: 14px;
  font-family: 'Jost', sans-serif; background: var(--gray);
  color: var(--black); outline: none; resize: none; transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); background: var(--white); }
.btn-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--blue); color: #fff; border: none; cursor: pointer;
  padding: 1rem 2rem; font-family: 'Jost', sans-serif;
  font-size: 12px; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase;
  border-radius: 1px; transition: background 0.2s; width: 100%;
}
.btn-submit:hover { background: var(--blue-light); }

/* ===== FOOTER ===== */
footer { background: var(--black); color: rgba(255,255,255,0.4); }
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 2.5rem 3rem; gap: 2rem; flex-wrap: wrap;
  border-bottom: 0.5px solid rgba(255,255,255,0.08);
}
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-logo { height: 36px; filter: brightness(0) invert(0.4); }
.footer-tagline { font-size: 12px; letter-spacing: 0.1em; }
.footer-links { display: flex; gap: 2rem; }
.footer-links a { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.8); }
.footer-social { display: flex; gap: 1.25rem; }
.footer-social a { color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-social a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom { padding: 1.25rem 3rem; text-align: center; }
.footer-bottom p { font-size: 11px; letter-spacing: 0.06em; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  #navbar { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero { flex-direction: column; padding: 6rem 1.5rem 4rem; gap: 2.5rem; }
  .hero-bg-text { font-size: 160px; }
  .hero-side { flex-direction: row; width: 100%; }
  .hero-logo-wrap { width: 180px; height: 180px; }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .projects-section, .about-section, .social-section, .contact-section { padding: 5rem 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }
  .footer-bottom { padding: 1rem 1.5rem; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 42px; }
  .section-title { font-size: 32px; }
  .about-title { font-size: 34px; }
  .contact-title { font-size: 34px; }
  .hero-stats { gap: 1.25rem; padding: 1rem 1.25rem; }
}

/* ===== ANIMATIONS ===== */
.fade-up {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
