/* ─── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:       #ffffff;
  --off-white:   #f7f7f6;
  --black:       #111111;
  --mid:         #555555;
  --light:       #aaaaaa;
  --blue:        #4A7BD4;
  --blue-light:  #dce8fb;
  --radius:      2px;
  --max-w:       1120px;
  --nav-h:       72px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── TYPOGRAPHY ────────────────────────────────────────────────── */
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  color: var(--black);
}

/* ─── BUTTON ────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  margin-top: 36px;
  padding: 14px 32px;
  border: 1px solid var(--black);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--black);
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-primary:hover {
  background: var(--black);
  color: var(--white);
}

/* ─── NAV ───────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: border-color 0.3s;
}

.nav-logo { display: flex; align-items: center; }
.logo-img  { height: 44px; width: auto; }

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--black); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--black);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* ─── HERO ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-h) + 60px) 40px 80px;
  overflow: hidden;
}

.hero-accent {
  position: absolute;
  width: 220px;
  opacity: 0.55;
  pointer-events: none;
}
.hero-accent.top-left    { top: 14%;  left: 6%; }
.hero-accent.bottom-right{ bottom: 14%; right: 6%; }

.hero-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 28px;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.08;
  color: var(--black);
  margin-bottom: 28px;
}

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--mid);
  max-width: 560px;
  margin: 0 auto;
}

.br-d { display: block; }

/* ─── ABOUT ─────────────────────────────────────────────────────── */
.about {
  padding: 120px 0;
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-right p {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--mid);
  margin-bottom: 20px;
}
.about-right p:last-child { margin-bottom: 0; }

/* ─── PROJECTS ──────────────────────────────────────────────────── */
.projects {
  padding: 120px 0;
  background: var(--white);
}

.projects-header {
  margin-bottom: 64px;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.08);
}

.project-card {
  position: relative;
  background: var(--white);
  padding: 52px 48px;
  overflow: hidden;
  transition: background 0.3s var(--ease);
}

.project-card:hover {
  background: var(--off-white);
}

.project-card--featured {
  background: var(--black);
}

.project-card--featured:hover {
  background: #1c1c1c;
}

.project-card--featured .project-number,
.project-card--featured .project-title,
.project-card--featured .project-desc {
  color: var(--white);
}

.project-card--featured .project-category {
  color: rgba(255,255,255,0.45);
}

.project-card--featured .project-tags span {
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.6);
}

.project-card--featured .project-accent svg polyline {
  stroke: rgba(255,255,255,0.3);
}

.project-accent {
  position: absolute;
  top: 16px; right: 16px;
  width: 60px;
  opacity: 0.7;
  pointer-events: none;
}

.project-number {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--light);
  margin-bottom: 24px;
}

.project-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}

.project-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 30px;
  color: var(--black);
  margin-bottom: 6px;
  line-height: 1.1;
}

.project-title-row .project-title {
  margin-bottom: 0;
}

.project-category {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.project-desc {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--mid);
  margin-bottom: 28px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid rgba(0,0,0,0.12);
  color: var(--mid);
}

.badge-upcoming {
  display: inline-block;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--blue);
  color: var(--white);
  border-radius: 2px;
}

/* ─── CONTACT ───────────────────────────────────────────────────── */
.contact {
  padding: 140px 0;
  background: var(--off-white);
}

.contact-inner {
  position: relative;
  max-width: 680px;
  overflow: hidden;
  padding: 72px 80px;
  border: 1px solid rgba(0,0,0,0.08);
  background: var(--white);
}

.contact-accent {
  position: absolute;
  bottom: -10px; right: -10px;
  width: 180px;
  pointer-events: none;
}

.contact-inner .section-title {
  margin-top: 8px;
}

/* ─── FOOTER ────────────────────────────────────────────────────── */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(0,0,0,0.08);
  background: var(--white);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo { height: 32px; width: auto; }

.footer-copy {
  font-size: 12px;
  color: var(--light);
  letter-spacing: 0.04em;
}

.footer-nav {
  display: flex;
  gap: 28px;
}

.footer-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--black); }

/* ─── SCROLL REVEAL ─────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-inner { padding: 48px 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 24px; }
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--white);
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
  }
  .hero-sub .br-d { display: none; }
  .project-card { padding: 40px 28px; }
  .contact-inner { padding: 40px 28px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
