*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
 
:root {
  --navy: #1a1f5e;
  --white: #ffffff;
  --light-gray: #e8e8e6;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}
 
html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
}
 

nav {
  border-bottom: 1px solid var(--light-gray);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 100;
}
 
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 48px;
}
 
.nav-logo-img {
  height: 52px;
  margin-top: 8px;
}
 
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
 
.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
 
.nav-links a:hover { opacity: 0.6; }
.nav-links a.active { text-decoration: underline; text-underline-offset: 4px; }
 
.nav-contact-btn {
  border: 2px solid var(--navy);
  padding: 8px 20px;
}
 

.page {
  display: none;
}
 
.page.active {
  display: block;
}
 

.home-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  padding: 60px 48px 0;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 80vh;
}
 
.hero-left {
  padding-bottom: 60px;
}
 
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(72px, 10vw, 130px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--navy);
}
 
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 700;
  color: var(--navy);
  margin-top: 12px;
}
 
.hero-sub {
  margin-top: 20px;
  max-width: 320px;
  line-height: 1.6;
  opacity: 0.7;
  font-size: 15px;
}
 
.hero-btn {
  display: inline-block;
  margin-top: 32px;
  padding: 12px 28px;
  background: var(--navy);
  color: white;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
 
.hero-btn:hover {
  background: transparent;
  color: var(--navy);
}
 
.hero-photo {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}
 
.hero-photo img {
  max-width: 420px;
  width: 100%;
  object-fit: contain;
  display: block;
}
 

.hero-skills-strip {
  background: var(--navy);
  padding: 28px 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 80px;
}
 
.skill-item {
  display: flex;
  align-items: center;
  gap: 14px;
}
 
.skill-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
 
.skill-label {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: white;
  white-space: nowrap;
}
 
@media (max-width: 768px) {
  .home-hero {
    grid-template-columns: 1fr;
    padding: 40px 24px 0;
  }
  .hero-photo {
    justify-content: center;
    margin-top: 40px;
  }
  .hero-skills-strip {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }
}
 
.section-projects {
  padding: 80px 48px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.section-link {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.section-link:hover { opacity: 0.5; }

.projects-grid-home {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project-card {
  cursor: pointer;
  transition: transform 0.25s;
}

.project-card:hover { transform: translateY(-4px); }

.project-thumb {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f2;
}

.project-thumb img {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
}

.project-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0 4px;
}

.project-tag {
  font-size: 11px;
  color: var(--mid-gray, #9a9a9a);
  letter-spacing: 0.08em;
  font-weight: 600;
  text-transform: uppercase;
}

.project-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.arrow-link {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

footer {
  border-top: 1px solid var(--light-gray);
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 100%;
}

.footer-copy {
  font-size: 12px;
  color: #9a9a9a;
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  gap: 32px;
}

.footer-social a {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-social a:hover { opacity: 0.5; }

.projects-hero {
  padding: 70px 48px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-headline {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 110px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--navy);
}

.page-headline-rule {
  width: 80px;
  height: 4px;
  background: var(--navy);
  margin: 24px 0;
}

.page-sub {
  font-size: 15px;
  opacity: 0.6;
  max-width: 480px;
  line-height: 1.6;
}

.projects-grid-full {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--light-gray);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  border-top: 5px solid var(--light-gray);
  border-bottom: 5px solid var(--light-gray);
}

.project-card-full {
  background: white;
  cursor: pointer;
  transition: background 0.2s;
}

.project-card-full:hover { background: #f4f4f2; }

.project-thumb-full {
  width: 100%;
  aspect-ratio: 16/9;
}

.project-card-body {
  padding: 24px 28px 28px;
}

.project-category {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #9a9a9a;
  margin-bottom: 10px;
}

.project-card-name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 13px;
  opacity: 0.65;
  line-height: 1.6;
  margin-bottom: 20px;
}


.case-study-link {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
  transition: letter-spacing 0.2s;
}

.case-study-link:hover { letter-spacing: 0.2em; }


.cta-section {
  padding: 80px 48px;
  text-align: center;
  border-top: 1px solid var(--light-gray);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 32px;
}

.cta-btn {
  padding: 16px 40px;
  background: var(--navy);
  color: white;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.cta-btn:hover { background: transparent; color: var(--navy); }

.cta-section {
  max-width: 100%;
  background: #ffffff;
}

#page-projects footer {
  max-width: 100%;
  background: #f4f4f2;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 70px 48px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-name {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 100px);
  font-weight: 900;
  line-height: 0.88;
  color: var(--navy);
  margin-bottom: 16px;
}

.about-tagline {
  font-size: 16px;
  opacity: 0.7;
  max-width: 380px;
  line-height: 1.5;
  margin-bottom: 28px;
}

.about-rule {
  width: 80px;
  height: 2px;
  background: var(--light-gray);
  margin-bottom: 28px;
}

.about-bio {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.75;
  max-width: 500px;
  margin-bottom: 20px;
}

.about-photo-box {
  margin-top: 32px;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  border-radius: 0;
}

.about-photo-box img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.about-section-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 12px;
}

.about-rule-full {
  border: none;
  border-top: 1px solid var(--light-gray);
  margin-bottom: 0;
}

.expertise-list {
  list-style: none;
  margin-bottom: 40px;
}

.expertise-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--light-gray);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--navy);
  cursor: pointer;
  transition: opacity 0.2s;
}

.expertise-item:hover { opacity: 0.5; }

.expertise-arrow {
  font-size: 16px;
}

.tools-label {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 16px;
}

.tools-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}

.tool-tag {
  padding: 7px 14px;
  border: 1.5px solid var(--navy);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--navy);
}

.location-card {
  border: 1px solid var(--light-gray);
  padding: 20px 24px;
  border-left: 4px solid var(--navy);
}

.location-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #9a9a9a;
  margin-bottom: 6px;
}

.location-value {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  padding: 70px 48px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-headline {
  font-family: var(--font-display);
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 900;
  line-height: 0.88;
  color: var(--navy);
  margin-bottom: 28px;
}

.contact-sub {
  font-size: 14px;
  opacity: 0.65;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 48px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: #f4f4f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #9a9a9a;
  margin-bottom: 3px;
}

.contact-detail-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.contact-right {
  background: white;
  border: 1px solid var(--light-gray);
  padding: 40px;
}

.contact-detail-value a {
  color: var(--navy);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.contact-detail-value a:hover {
  text-decoration: underline;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--navy);
  opacity: 0.6;
  margin-bottom: 8px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--light-gray);
  background: white;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--navy);
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #bbb;
}

.form-textarea {
  height: 160px;
}

.submit-btn {
  width: 100%;
  padding: 16px;
  background: var(--navy);
  color: white;
  border: 2px solid var(--navy);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.15em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  margin-top: 8px;
}

.submit-btn:hover {
  background: transparent;
  color: var(--navy);
}

.case-study-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 48px 40px;
}

.case-study-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #9a9a9a;
  margin-bottom: 16px;
}

.case-study-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 9vw, 110px);
  font-weight: 900;
  line-height: 0.9;
  color: var(--navy);
  margin-bottom: 24px;
}

.case-study-intro {
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  opacity: 0.75;
  margin-bottom: 48px;
}

.case-study-meta {
  display: flex;
  gap: 48px;
  border-top: 1px solid var(--light-gray);
  padding-top: 32px;
}

.meta-item {}

.meta-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #9a9a9a;
  margin-bottom: 6px;
}

.meta-value {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
}

.case-study-cover {
  width: 100%;
  height: 400px;
  margin: 40px 0;
}

.case-study-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 48px 80px;
}

.case-section {
  margin-bottom: 56px;
}

.case-section-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
}

.case-text {
  font-size: 15px;
  line-height: 1.8;
  opacity: 0.75;
  margin-bottom: 16px;
}

.case-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

.case-study-btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--navy);
  color: white;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.case-study-btn:hover {
  background: transparent;
  color: var(--navy);
}

.case-study-btn-outline {
  display: inline-block;
  padding: 14px 32px;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.case-study-btn-outline:hover {
  background: var(--navy);
  color: white;
}

.case-study-mockup {
  margin: 40px auto;
  display: flex;
  justify-content: center;
}

.case-mockup-phone {
  max-width: 300px;
}

.case-mockup-post {
  max-width: 500px;
}

.case-study-mockup img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 768px) {

  /* NAV */
  .nav-inner {
    padding: 12px 24px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 12px;
  }

  /* HERO */
  .home-hero {
    grid-template-columns: 1fr;
    padding: 40px 24px 0;
    min-height: auto;
  }

  .hero-photo {
    justify-content: center;
    margin-top: 20px;
  }

  .hero-photo img {
    max-width: 280px;
  }

  /* SKILLS STRIP */
  .hero-skills-strip {
    flex-direction: column;
    gap: 24px;
    padding: 24px;
  }

  /* PROJECTS GRID HOME */
  .projects-grid-home {
    grid-template-columns: 1fr;
  }

  .section-projects {
    padding: 40px 24px;
  }

  /* PROJECTS PAGE */
  .projects-grid-full {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }

  .projects-hero {
    padding: 40px 24px 24px;
  }

  .cta-section {
    padding: 48px 24px;
  }

  /* ABOUT PAGE */
  .about-layout {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 32px;
  }

  .about-photo-box {
    max-width: 100%;
  }

  /* CONTACT PAGE */
  .contact-layout {
    grid-template-columns: 1fr;
    padding: 40px 24px;
    gap: 32px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-right {
    padding: 24px;
  }

  /* CASE STUDY PAGES */
  .case-study-hero {
    padding: 40px 24px 24px;
  }

  .case-study-meta {
    flex-wrap: wrap;
    gap: 24px;
  }

  .case-study-body {
    padding: 0 24px 60px;
  }

  .case-study-cover {
    height: 250px;
  }

  .case-cta {
    flex-direction: column;
  }

  .case-study-btn,
  .case-study-btn-outline {
    width: 100%;
    text-align: center;
  }

  /* FOOTER */
  footer {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 24px;
  }

  .footer-social {
    justify-content: center;
  }

  /* MOCKUPS */
  .case-mockup-phone {
    max-width: 200px;
  }

  .case-mockup-post {
    max-width: 100%;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .hero-name {
    font-size: 64px;
  }

  .hero-title {
    font-size: 32px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .nav-contact-btn {
    padding: 6px 12px;
  }
}