/* #region roots */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --hero-bg:    #d0cdc7;
  --skills-bg:  #14142f;
  --projects-bg: #111111;
  --contact-bg: #bd5f4d;

  --font-light: #FFFFFF;
  --font-dark:  #111111;

  --font-display: 'Syne', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

/* #endregion roots */

/* #region fonts */

@font-face {
  font-family: 'Syne';
  src: url('fonts/Syne-Bold.ttf') format('truetype');
  font-weight: 700;
}

@font-face {
  font-family: 'Syne';
  src: url('fonts/Syne-ExtraBold.ttf') format('truetype');
  font-weight: 800;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Light.ttf') format('truetype');
  font-weight: 300;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
}

@font-face {
  font-family: 'Inter';
  src: url('fonts/Inter-Medium.ttf') format('truetype');
  font-weight: 500;
}

/* #endregion  */

/* #region base styling */
section {
  height: 100dvh;
  width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 80px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 16px;
  font-weight: 500;
}

/* ── NAV DOT INDICATOR ── */
.nav-dots {
  position: fixed;
  right: 32px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 100;
}

.nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(159, 159, 159, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.nav-dot.active {
  background: currentColor;
  transform: scale(1.4);
}

.grecaptcha-badge {
  visibility: hidden;
}

/* #endregion base styling */

/* #region hero */
#hero {
  background: var(--hero-bg);
  color: var(--font-dark);
  justify-content: flex-end;
  padding-bottom: 80px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.5;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.03em;
  margin-left: -6px;
  margin-bottom: 32px;
}

.hero-name span {
  display: block;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-corner-label {
  position: absolute;
  top: 48px;
  right: 80px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  font-family: var(--font-body);
}

.hero-year {
  position: absolute;
  top: 48px;
  left: 80px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  font-family: var(--font-body);
}
/* #endregion hero */

/* #region buttons */
.btn {
  display: inline-block;
  padding: 14px 36px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-dark {
  background: var(--font-dark);
  color: var(--hero-bg);
}
.btn-dark:hover { background: #333; }

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-outline-white:hover { background: #fff; color: var(--about-bg); }

.btn-black {
  background: #111;
  color: #F5E642;
}
.btn-black:hover { background: #333; }

.btn-yellow {
  background: var(--skills-bg);
  color: #111;
}
.btn-yellow:hover { background: #e8d800; }

.btn-white {
  background: #fff;
  color: var(--contact-bg);
}
.btn-white:hover { background: #f0f0f0; }
/* #endregion buttons */

/* #region about */
#about {
	background-image: url("/images/header-dark-leaves-new.avif");
	background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  color: var(--font-light);
}

.about-grid {
  display: flex;
	flex-direction: row;
  gap: 60px;
  align-items: end;
}

.about-heading {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.about-text {
  font-size: 17px;
  line-height: 1.7;
  opacity: 0.85;
  margin-bottom: 40px;
  font-weight: 300;
}

.about-text strong {
  font-weight: 700;
  opacity: 1;
}

.about-divider {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.649);
  margin-bottom: 24px;
}
/* #endregion about */

/* #region skills */
#skills {
  background: var(--skills-bg);
  color: var(--font-light);
}

.skills-heading {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
  margin-bottom: 60px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.skill-category {
  padding: 28px;
  border-radius: 12px; 
  border: 1px solid rgba(255, 255, 255, 0.1); 
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.03); 
}

.skill-cat-title {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-right: 32px;
}

.skill-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-right: 32px;
}

.skill-tag {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  background: #ffffffbf;
  color: var(--skills-bg);
  padding: 5px 14px;
  letter-spacing: 0.05em;
}

.skills-note {
  margin-top: 60px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
/* #endregion skills */

/* #region projects */
#projects {
  background: var(--projects-bg);
  color: var(--font-light);
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.projects-heading {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 100px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.projects-grid {
  display: flex;
	max-width: 1200px;
  gap: 10px;
}

.project-card {
  background: #1a1a1a;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
	flex: 1;
  width: 100%;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
  position: relative;
  overflow: hidden;
}

.project-card:hover { 
	background: #252525; 
}

.project-card:hover .project-arrow { 
	transform: translate(4px, -4px); 
}

.project-number {
  font-size: 11px;
  letter-spacing: 0.15em;
  opacity: 0.3;
  font-family: var(--font-display);
  font-weight: 700;
}

.project-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: rgba(255,255,255,0.08);
  margin-top: 10px;
}

.project-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.1;
	margin-top: 20px;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 12px;
  opacity: 0.45;
  line-height: 1.5;
  margin-bottom: 16px;
  font-weight: 300;
}

.project-arrow {
  font-size: 20px;
  opacity: 0.6;
  transition: transform 0.2s ease;
	position: absolute;
	top: 20px;
	right: 20px;
}

.projects-note {
  margin-top: 60px;
	margin-bottom: 30px;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.projects-note a {
  color: var(--font-light);
  text-decoration: underline;
}

/* accent color strips on project cards */
.project-card:nth-child(1) { border-top: 3px solid #14142f; }
.project-card:nth-child(2) { border-top: 3px solid #818181; }
.project-card:nth-child(3) { border-top: 3px solid #bd5f4d; }
.project-card:nth-child(4) { border-top: 3px solid #FFFFFF; }

/* #endregion projects */

/* #region contact */
#contact {
  background: var(--contact-bg);
  color: var(--font-light);
}

.contact-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 80px;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.03em;
}

.contact-sub {
  margin-top: 28px;
  font-size: 16px;
  opacity: 0.75;
  font-weight: 300;
  line-height: 1.6;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.7;
}

.form-field input,
.form-field textarea {
  background: rgba(255,255,255,0.15);
  border: none;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px !important;
  font-weight: 300;
  padding: 14px 10px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: #fff;
}

.form-field textarea {
  resize: none;
  height: 100px;
}

.form-spacer { 
	height: 8px; 
}

.form-submit-row {
  display: flex;
  align-items: center;
  margin-top: 16px;
}

.recaptcha-notice {
  font-size: 12px;
  opacity: 0.5;
  line-height: 1.5;
  margin-top: 12px;
}

.recaptcha-notice a {
  color: inherit;
  text-decoration: underline;
}

/* #endregion contact */

/* #region form messages */
.hidden {
  display: none;
}

.form-message {
  margin-top: 16px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-left: 3px solid;
}

.form-success {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

.form-error {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(255,255,255,0.5);
  color: #ffffff;
}
/* #endregion form messages */

/* #region footer */

.footer {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.5;
  color: var(--font-light);
	position: absolute;
	bottom: 40px;
	left: 80px;
}

/* #endregion footer */

/* #region scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.22s; }
.reveal-delay-3 { transition-delay: 0.34s; }
.reveal-delay-4 { transition-delay: 0.46s; }
/* #endregion scroll reveal */

/* #region media queries */
@media (max-width: 768px) {

	html {
    scroll-snap-type: none;
    -webkit-overflow-scrolling: touch;
  }

  section {
    height: auto;
    min-height: 100dvh;
    padding: 60px 24px;
  }

  #hero {
    height: 100dvh !important;
    padding-bottom: 60px;
  }

  .hero-name {
    font-size: clamp(48px, 14vw, 80px);
  }

  .hero-corner-label,
  .hero-year {
    top: 36px;
    font-size: 11px;
  }

  .hero-year { left: 24px; }
  .hero-corner-label { right: 24px; }

  /* ── ABOUT ── */
  .about-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .about-heading {
    font-size: clamp(40px, 10vw, 64px);
  }

  .about-text {
    font-size: 14px;
    margin-bottom: 24px;
  }

  /* ── SKILLS ── */
  .skills-heading {
    font-size: clamp(40px, 10vw, 64px);
    margin-bottom: 32px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    border-top: none;
  }

  .skills-note {
    margin-top: 30px;
  }

  /* ── PROJECTS ── */
  .projects-heading {
    font-size: clamp(40px, 10vw, 64px);
  }

  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
  }

  .projects-grid {
    flex-direction: column;
    flex-wrap: nowrap;
    max-width: 100%;
    gap: 10px;
  }

  .project-card {
		max-width: 100%;
		min-height: auto;
		padding: 20px 16px;
	}

  /* ── CONTACT ── */
  .contact-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .contact-heading {
    font-size: clamp(40px, 10vw, 64px);
  }

  .contact-form {
    width: 100%;
  }

	.form-field label {
		font-size: 10px;
	}

	.form-field input,
  .form-field textarea {
    font-size: 16px !important;
  }

  /* ── NAV DOTS ── */
  .nav-dots {
    right: 12px;
  }
	
	.recaptcha-notice {
    margin-bottom: 24px;
  }

  .footer {
    margin-top: 16px;
		left: 24px;
  }
}

@media (max-width: 850px) {
	#projects {
		height: auto;
	}

  .projects-grid {
    flex-direction: column;
    width: 100%;
		gap: 10px;
  }

  .project-card {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px;
  }
}
/* #endregion media queries */