:root {
  --regular: #555;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --text-main: #222222;
  --text-muted: #555555;
  --bg-page: #f5f5f5;
  --bg-light: #fafafa;
  --border-light: #dddddd;
  --radius-lg: 8px;
  --radius-xl: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "ITC Avant Garde Gothic Pro", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--text-main);
  background: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

h1, h2, h3, h4 {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "ITC Avant Garde Gothic Pro", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  font-weight: 400;
}

p {
  margin: 0 0 1rem;
  line-height: 1.7;
}

.title-strong {
  font-weight: 900;
  color: var(--accent);
}

.name-strong {
  font-weight: 900;
  color: var(--regular);
}

.title-book {
  font-weight: 400;
  color: var(--accent);
}

.name-book {
  font-weight: 400;
  color: var(--regular);
}

.page-root {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.blob {
  position: fixed;
  width: 24rem;
  height: 24rem;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 999px;
  filter: blur(40px);
  z-index: -10;
  pointer-events: none;
}

.blob-top-right {
  top: 5rem;
  right: 2.5rem;
}

.blob-bottom-left {
  bottom: 5rem;
  left: 2.5rem;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ---------------- HERO ---------------- */
.hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 3rem 2rem 4rem;
  text-align: left;
}

.hero-name-wrapper {
  display: inline-block;
  position: relative;
  margin-bottom: 1rem;
  font-size: clamp(2.3rem, 4.5vw, 3rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 7.5rem; /* more space between name and buttons */
}

.hero-name-underline {
  position: absolute;
  left: 0;
  right: 0;
  height: 0.2rem;
  background: #000000;
  bottom: -0.4rem;
  z-index: -1;
  transform-origin: left;
  transform: scaleX(1);
}

.hero-contact {
  margin: 0 0 2.5rem; /* more space between name and buttons */
  font-size: 0.9rem;
  text-transform: none;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
}

.btn {
  border-radius: 999px;
  padding: 0.9rem 2.5rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-family: "ITC Avant Garde Gothic Pro", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: transparent;
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn-outline:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.icon-arrow-right {
  display: inline-block;
  border: solid currentColor;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(-45deg);
  margin-left: 2px;
}

/* HERO DROPDOWN */

.hero-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.hero-dropdown-toggle {
  position: relative;
  z-index: 2;
}

.hero-dropdown-caret {
  font-size: 0.8rem;
  margin-left: 0.25rem;
  transform: translateY(-1px);
}

.hero-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.4rem;
  min-width: 220px;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 0.4rem 0;
  display: none;
  z-index: 1;
}

.hero-dropdown-wrapper.open .hero-dropdown-menu {
  display: true;
}

.hero-dropdown-link {
  display: block;
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
  color: var(--text-main);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-dropdown-link:hover {
  background: #f3f4f6;
}

/* ---------------- SECTION HEADERS ---------------- */
.section-portfolio {
  padding: 4rem 2rem;
}

.section-portfolio.alt-bg {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, #ffffff 100%);
}

.section-header {
  text-align: left;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 0.75rem;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ---------------- PORTFOLIO SECTIONS ---------------- */
.project-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .project-grid.cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .project-grid.cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .project-grid.cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.project-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.project-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 24px rgba(0,0,0,0.12);
  z-index: 10;
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  background: #e5e7eb;
  border-radius: 10px;
}

.project-image-wrapper.aspect-tall {
  aspect-ratio: 4 / 5;
}

.project-image-wrapper.aspect-square {
  aspect-ratio: 1 / 1;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.project-card:hover .project-image {
  transform: scale(1.06) rotate(1.5deg);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #f97316, #ea580c, #c2410c);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  color: #ffffff;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.project-card:hover .project-overlay {
  opacity: 0.95;
}

.project-overlay-title {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-overlay-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  opacity: 0.9;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-expanded {
  position: absolute;
  inset: 0;
  background: #ffffff;
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 1.75rem;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.project-card.expanded .project-expanded {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.project-expanded h3 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.project-expanded p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.project-expanded .btn {
  width: 100%;
  justify-content: center;
}

.icon-star {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 2px solid var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

/* ---------------- PROFESSIONAL (ABOUT) SECTION ---------------- */
.section-about {
  padding: 4rem 2rem 4.5rem;
  color: #ffffff;
  background: linear-gradient(to bottom right, #f97316, #ea580c);
  border-top: 1px solid rgba(0,0,0,0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 2fr 3fr;
  }
}

.about-photo-wrapper {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}

/* frame = black with 10% opacity */
.about-photo-outline {
  position: absolute;
  inset: -0.7rem;
  border-radius: 12px;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

.about-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #e5e5e5;
}

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

.about-content h2 {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.about-content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.about-stat {
  background: rgba(0, 0, 0, 0.1); /* 10% black */
  border-radius: 10px;
  padding: 0.9rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: #ffffff;
}

.about-stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.about-stat-label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fef2e2;
}

/* ---------------- CONTACT SECTION ---------------- */
.section-contact {
  padding: 4rem 2rem 4.5rem;
  background: #ffffff;
}

.contact-header {
  text-align: left;
  margin-bottom: 2.5rem;
}

.contact-title {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.contact-header p {
  max-width: 32rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-form {
  max-width: 720px;
  margin: 0 auto;
  background: #fafafa;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--border-light);
}

.form-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .form-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.input,
.textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  padding: 0.7rem 0.9rem;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.textarea {
  resize: vertical;
  min-height: 120px;
}

.input:focus,
.textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.18);
}

.contact-submit {
  text-align: center;
  margin-top: 1rem;
}

.contact-footer {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-start;
  justify-content: flex-start;
  color: var(--text-muted);
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .contact-footer {
    flex-direction: row;
    align-items: center;
  }
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f3f4f6;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  transition: transform 0.15s ease, background 0.15s ease;
  border: 1px solid #e5e7eb;
}

.contact-pill:hover {
  transform: translateY(-1px);
  background: #e5e7eb;
}

.contact-pill-icon {
  font-size: 1rem;
  color: var(--accent);
}

/* ---------------- FOOTER ---------------- */
.page-footer {
  position: relative;
  background: #232323;
  color: #f9fafb;
  padding: 2.5rem 2rem;
  margin-top: 2rem;
  overflow: hidden;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.footer-name {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: #e5e5e5;
  margin-bottom: 0.75rem;
}

.footer-contact {
  font-size: 0.85rem;
  color: #f3f4f6;
  line-height: 1.6;
}

.page-footer::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: linear-gradient(145deg, #3a3a3a, #111111);
  opacity: 0.9;
  transform: rotate(-6deg);
  border-radius: 24px;
}

/* ---------------- SCROLL TO TOP BUTTON ---------------- */
.scroll-top-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: none;
  background: #e5e5e5;
  color: #f97316;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
  z-index: 50;
  font-size: 1.3rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.scroll-top-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.22);
  background: #d4d4d4;
}


/* ---------------- SIMPLE FADE-IN ---------------- */
.fade-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-section.in-view {
  opacity: 1;
  transform: translateY(0);
}
