*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #0a0a0a;
  --white: #f5f2ed;
  --accent: #c8f135;
  --mid: #888;
  --card-radius: 18px;
  --underline-overhang:24px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--black);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: var(--white);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.nav-logo {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: 0.06em;
  color: var(--black);
  text-decoration: none;
}
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  opacity: 0.45;
  transition: opacity 0.2s;
}
.nav-links a:hover {
  opacity: 1;
}

/* HERO */
.hero {
  padding-top: 4.5rem;
  background: var(--white);
}

.hero-type {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 900;
  font-size: clamp(4.5rem, 19vw, 17rem);
  line-height: 0.87;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--black);
  overflow: hidden;
  padding: 0rem 2rem 0rem;
}


.hero-type  span {
  display: block;
  transform: translateY(110%);
  animation: slideUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-type .word:nth-child(1) span {
  animation-delay: 0.05s;
}
.hero-type .word:nth-child(2) span {
  animation-delay: 0.18s;
}
.hero-type .word:nth-child(3) span {
  animation-delay: 0.31s;
}
.hero-type .word:nth-child(4) span {
  animation-delay: 0.44s;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
  }
}


.hero-type .underlined {
  position: relative;
  display: inline-block;
}

.hero-type .underlined svg {
  position: absolute;
  bottom: 4px;
  left: 0;
  width: calc(100% + 24px);
  pointer-events: none;
  opacity:90%
}

.hero-meta {
  padding: 1.8rem 2rem 2.4rem;
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.hero-meta-text{
  font-family: "DM Mono", monospace;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  opacity: 0;

}

.hero-meta-name {
  text-transform: uppercase;
  font-weight: 500;
  animation: fadeIn 0.5s ease forwards 0.85s;
}
.hero-meta-title {
  font-family: "DM Mono", monospace;
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  margin-top: 0.3rem;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards 0.95s;
}
.hero-meta-desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: #444;
  max-width: 380px;
  margin-left: auto;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards 1.05s;
}
.hero-cta {
  display: flex;
  gap: 0.8rem;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeIn 0.5s ease forwards 1.15s;
}
.btn-sm {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border-radius: 4px;
  transition: all 0.2s;
}
.btn-dark {
  background: var(--black);
  color: var(--white);
}
.btn-dark:hover {
  background: #333;
}
.btn-outline {
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: var(--black);
}
.btn-outline:hover {
  border-color: var(--black);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* DISCIPLINES */
.disciplines {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  padding: 1.6rem 2rem 2rem;
  background: var(--black);
}
.disc-card {
  border: 1px solid rgba(0, 0, 0, 0.11);
  border-radius: var(--card-radius);
  padding: 1.4rem 1.4rem 1.6rem;
  transition:
    border-color 0.25s,
    background 0.25s;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.disc-num {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--mid);
  margin-bottom: 0.7rem;
}
.disc-card h3 {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}
.disc-card p {
  font-size: 0.77rem;
  line-height: 1.72;
  color: #555;
}
.disc-doodle {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  opacity: 0.1;
}

/* PROJECTS */
.projects-section {
  background: var(--black);
  padding: 2.2rem 0 3rem;
}
.projects-label {
  font-family: "DM Mono", monospace;
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.28);
  padding: 0 1.8rem 1.6rem;
}

.project-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  padding: 1.6rem 2rem 2rem ;
}

.project-card {
  background: var(--white);
  border-radius: var(--card-radius);
  padding: 2.6rem 2.2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--black);
  transition:
    transform 0.28s ease,
    background 0.2s ease;
  position: relative;
}
.project-card:hover {
  transform: scale(0.982);
  background: #ede9e1;
}
.project-card.right {
  grid-column: 2;
}

.project-card h2 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
  letter-spacing: -0.015em;
}
.project-card p {
  font-size: 0.8rem;
  line-height: 1.78;
  color: #444;
  max-width: 300px;
}
.project-card-bottom {
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.project-tags-line {
  font-family: "DM Mono", monospace;
  font-size: 0.59rem;
  letter-spacing: 0.07em;
  color: #999;
}
.project-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.project-card:hover .project-arrow {
  background: var(--accent);
  border-color: var(--accent);
}
.project-spacer {
  border-radius: var(--card-radius);
}

/* CONTACT */
.contact {
  background: var(--white);
  padding: 3.5rem 2rem 4rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.contact-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
}
.contact-photo svg {
  width: 100%;
  height: 100%;
}

.contact-card {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: var(--card-radius);
  padding: 2rem 2.2rem;
}
.contact-card h3 {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  margin-bottom: 0.9rem;
  position: relative;
  display: inline-block;
}
.contact-card h3 svg {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
}
.contact-card > p {
  font-size: 0.79rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 1.4rem;
}
.contact-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.contact-link {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--black);
  text-decoration: none;
  width: fit-content;
  position: relative;
}
.contact-link::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.25s ease;
}
.contact-link:hover::after {
  width: 100%;
}

.email-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.copy-btn {
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--black);
  border: none;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.copy-btn:hover {
  background: #b0d820;
}
.copy-feedback {
  font-family: "DM Mono", monospace;
  font-size: 0.58rem;
  color: var(--mid);
  opacity: 0;
  transition: opacity 0.3s;
  margin-top: 0.25rem;
}
.copy-feedback.show {
  opacity: 1;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
}
footer span {
  font-family: "DM Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.07s;
}
.d2 {
  transition-delay: 0.16s;
}

/* MOBILE */
@media (max-width: 680px) {
  .hero-type {
    font-size: clamp(3.6rem, 23vw, 8rem);
  }
  .hero-meta {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-meta-desc {
    margin-left: 0;
  }
  .disciplines {
    grid-template-columns: 1fr;
  }
  .project-row {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .project-card.right {
    grid-column: 1;
  }
  .project-spacer {
    display: none;
  }
  .contact {
    grid-template-columns: 1fr;
  }
  .contact-photo {
    margin: 0 auto;
  }
  nav {
    padding: 1rem 1.4rem;
  }
  .nav-links {
    gap: 1.2rem;
  }
  .project-row {

  margin-bottom: 0.7rem;
  gap: 0.7rem;
  padding: 0 0.7rem;
}
}
