/* ===== IZA ZIENTEK — Portfolio v3 (Gloria Ha inspired) ===== */
@font-face {
  font-family: 'Molitor';
  src: url('fonts/MolitorVariable-Trial.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
}

@font-face {
  font-family: 'Molitor';
  src: url('fonts/Molitortrial-DisplayBold.otf') format('opentype');
  font-weight: 700 900;
  font-style: normal;
}

:root {
  --neon: #504FED;
  --black: #0C0C0C;
  --gray: #dddddd;
  --purple: #6b25f6;
  --white: #fff;
  --font-heading: 'Krona One', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --font-display: 'Molitor', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }


body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
}

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

/* ===== NAV ===== */
nav {
  background: var(--gray);
  height: 70px;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1002;
  transition: transform 0.35s ease;
  border-bottom: 1px solid var(--black);
}

nav.nav-hidden { transform: translateY(-100%); }

.nav-inner {
  padding: 0 max(40px, calc((100% - 1300px) / 2));
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { text-decoration: none; }
.nav-logo-img { height: 36px; width: auto; display: block; }

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: normal;
  color: var(--black);
  opacity: 1;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 0.6; }
.nav-links a.active { color: var(--neon); opacity: 1; }

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
  transform-origin: center;
}

.burger.burger--open {
  position: relative;
  z-index: 1002;
}
.burger.burger--open span { background: var(--black); }
.burger.burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.burger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== MOBILE MENU ===== */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--neon);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-menu.open { display: flex; }

.mobile-menu-close {
  display: none;
}

.mobile-link {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--black);
  text-transform: uppercase;
}

/* ===== BANNER (WELCOME / FEATURED WORK) ===== */
.banner {
  border: 1px solid var(--black);
  background: var(--neon);
  display: flex;
  align-items: center;
  padding: 13px 40px;
  gap: 16px;
}

.banner-x {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
}

.banner-text {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  letter-spacing: normal;
  flex: 1;
  text-align: center;
}

/* ===== HERO ===== */
.hero {
  padding: 150px max(40px, calc((100% - 1300px) / 2)) 80px;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 100vh;
  justify-content: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  padding-top: 0;
}

.hero-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-image-wrap {
  border: 1px solid var(--black);
  overflow: hidden;
  height: 620px;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.hero-role {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--neon);
  min-height: 80px;
}

.role-cycle {
  display: inline-block;
  animation: roleFadeIn 0.6s ease forwards;
}

.role-cycle.fade-out {
  animation: roleFadeOut 0.4s ease forwards;
}

@keyframes roleFadeIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes roleFadeOut {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-16px); }
}

.hero-desc {
  font-size: 18px;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 24px;
  color: #444;
}

.hero-desc strong { color: var(--black); font-weight: 600; }

.hero-link {
  font-size: 18px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.75;
  transition: opacity 0.2s;
}

.hero-link:hover { opacity: 1; }

.starburst-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.starburst-wrap svg {
  width: 100%;
  max-width: 340px;
}

/* scroll down */
.scroll-down {
  margin-bottom: 80px;
}

.scroll-btn {
  position: relative;
  display: flex;
  width: 110px;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}

.scroll-label-img {
  width: 110px;
  height: auto;
  display: block;
}

.scroll-label-img.spinning {
  animation: spinSlow 8s linear infinite;
}

@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.scroll-arrows {
  position: absolute;
  left: 50%;
  top: 58%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.scroll-arrow {
  width: 34px;
  height: auto;
  display: block;
  padding: 2px 0;
}

.scroll-arrow--1, .scroll-arrow--2, .scroll-arrow--3 { opacity: 1; }

/* ===== WORK BANNER (section header) ===== */
.work-banner {
  border: 1px solid var(--black);
  background: var(--neon);
  color: var(--black);
  display: flex;
  align-items: center;
  padding: 13px 40px;
  gap: 16px;
  margin: 30px max(40px, calc((100% - 1300px) / 2));
}

/* ===== PROJECTS LIST ===== */
.projects-list {
  padding: 0 max(40px, calc((100% - 1300px) / 2));
}

.project-card {
  display: grid;
  grid-template-columns: 2fr 1fr;
  border: 1px solid var(--black);
  margin: 30px 0;
  overflow: hidden;
}

.project-card-img {
  display: block;
  min-height: 460px;
  overflow: hidden;
}

.project-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.project-card-img:hover img { transform: scale(1.03); }

.project-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 460px;
  background: linear-gradient(135deg, #100808 0%, #301410 40%, #6b2c1e 100%);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 2px;
}

.project-card-info {
  padding: 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--black);
}

.project-company {
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  margin-bottom: 24px;
}

.project-name {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 0;
}

.project-type-label {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  margin-bottom: 8px;
}

.project-desc-short {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
  margin-bottom: 24px;
  color: var(--black);
}

.project-tags {
  font-size: 16px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  color: var(--black);
  margin-bottom: 28px;
}

.btn-purple {
  display: inline-block;
  background: #FFDE21;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  padding: 14px 24px;
  border: 1px solid var(--black);
  transition: background 0.2s;
  align-self: flex-start;
}

.btn-purple:hover { background: var(--neon); color: var(--black); }

.coming-soon-badge {
  display: inline-block;
  background: var(--neon);
  border: 1px solid var(--black);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 7px 14px;
  align-self: flex-start;
}

/* ===== FOOTER ===== */
footer {
  background: var(--gray);
  border-top: 1px solid var(--black);
  margin-top: 60px;
  padding: 60px 0 40px;
}

.footer-inner {
  max-width: 940px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.footer-logo svg {
  width: 110px;
  height: 110px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 18px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  font-size: 16px;
  font-weight: 400;
  color: var(--black);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.footer-col-links a:hover { opacity: 1; }

.footer-copy {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.15);
  font-size: 11px;
  color: #888;
  text-align: center;
  grid-column: 1 / -1;
}

/* ===== CASE STUDY PAGES (cs3) ===== */
.cs3-hero {
  padding: 80px max(40px, calc((100% - 1300px) / 2)) 0;
  text-align: center;
}

.cs3-hero-tag {
  display: inline-block;
  border: 1px solid var(--black);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 7px 18px;
  margin-bottom: 28px;
  background: var(--neon);
}

.cs3-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto 48px;
}

.cs3-hero-img-wrap {
  border: 1px solid var(--black);
  overflow: hidden;
  line-height: 0;
}

.cs3-hero-img-wrap img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.cs3-section {
  padding: 60px max(40px, calc((100% - 1300px) / 2));
  border-bottom: 1px solid var(--black);
}

.cs3-2col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.cs3-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neon);
  display: block;
  margin-bottom: 12px;
}

.cs3-section-heading {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.5vw, 30px);
  line-height: 1.3;
}

.cs3-2col-content p {
  font-size: 18px;
  line-height: 1.65;
  color: #444;
  margin-bottom: 16px;
}

.cs3-2col-content p:last-child { margin-bottom: 0; }

.cs3-figma-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 8px;
  background: var(--neon);
  border: 1px solid var(--black);
  padding: 10px 18px;
  transition: background 0.2s;
}

.cs3-figma-link:hover { background: #ccd400; }

.cs3-full-img-wrap {
  margin: 0;
  border: 1px solid var(--black);
  overflow: hidden;
  line-height: 0;
}

.cs3-full-img-wrap img {
  width: 100%;
  display: block;
}

.cs3-full-img-wrap figcaption {
  font-size: 12px;
  color: #888;
  padding: 12px 20px;
  border-top: 1px solid var(--black);
  line-height: 1.5;
  background: var(--white);
}

.cs3-full-img-wrap figcaption a {
  color: var(--neon);
  text-decoration: underline;
}

.cs3-meta {
  background: var(--gray);
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.cs3-meta-inner {
  padding: 40px max(40px, calc((100% - 1300px) / 2));
}

.cs3-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.cs3-meta-grid .cs3-label { margin-bottom: 8px; }

.cs3-meta-value {
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
}

.cs3-project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px max(40px, calc((100% - 1300px) / 2));
  border-top: 1px solid var(--black);
  border-bottom: 1px solid var(--black);
}

.cs3-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: opacity 0.2s;
}

.cs3-nav-link:hover { opacity: 0.6; }

.cs3-nav-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  text-align: center;
  padding: 100px max(40px, calc((100% - 1300px) / 2)) 160px;
  position: relative;
  overflow: hidden;
}

.contact-blob {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(80,79,237,0.25) 0%, transparent 70%);
  pointer-events: none;
}

.contact-inner { position: relative; z-index: 1; }

.contact-sub {
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 16px;
}

.contact-heading {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1;
  margin-bottom: 40px;
}

.contact-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-block;
  background: #FFDE21;
  color: var(--black);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  padding: 14px 24px;
  border: 1px solid var(--black);
  transition: background 0.2s;
}

.contact-btn:hover { background: var(--neon); color: var(--black); }

.contact-btn--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--black);
}

.contact-btn--outline:hover { background: var(--neon); color: var(--black); }

/* ===== ABOUT PAGE (Gloria Ha style) ===== */
.about-gloria {
  padding: 150px max(40px, calc((100% - 1300px) / 2)) 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-gloria-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  width: 100%;
  max-width: 1300px;
}

.about-gloria-greeting {
  font-size: 16px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--neon);
  margin-bottom: 20px;
}

.about-gloria-name {
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.2;
  font-weight: 400;
  margin-bottom: 40px;
}

.about-gloria-bio p {
  font-size: 18px;
  line-height: 1.65;
  color: #444;
  margin-bottom: 20px;
}

.about-gloria-bio p:last-child { margin-bottom: 0; }

.about-gloria-photo img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border: 1px solid var(--black);
}

/* ===== ABOUT PAGE (resume style) ===== */
.about3-hero {
  padding: 80px max(40px, calc((100% - 1300px) / 2)) 60px;
  display: grid;
  grid-template-columns: 55% 45%;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid var(--black);
}

.about3-heading {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.4;
}

.about3-photo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about3-photo-circle {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dffe30 0%, #a78bfa 50%, #f0abfc 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--black);
}

.about3-photo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.about3-section {
  padding: 60px max(40px, calc((100% - 1300px) / 2));
  border-bottom: 1px solid var(--black);
}

.about3-section:has(+ .contact-section),
.about3-section:last-child {
  border-bottom: none;
}

.about3-section .cs3-label {
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.about3-2col {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.about3-2col p {
  font-size: 18px;
  line-height: 1.65;
  color: #444;
  margin-bottom: 16px;
}

.about3-2col p:last-child { margin-bottom: 0; }

.about3-skills-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.about3-skill-item {
  font-size: 16px;
  padding: 12px 0;
  font-weight: 400;
}

.about3-edu-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 0;
  font-size: 16px;
}

.about3-edu-row:first-child { padding-top: 0; }

.about3-edu-school {
  font-size: 12px;
  color: #888;
}

.about3-cv-btn {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 14px 32px;
  margin-top: 28px;
  transition: background 0.2s;
}

.about3-cv-btn:hover { background: var(--neon); }

/* ===== LARGE SCREENS ===== */
@media (min-width: 1300px) {
  .hero-grid { grid-template-columns: 2fr 2fr; }
}

/* ===== GH-STYLE PROJECT LAYOUT ===== */
.gh-hero-img-wrap {
  width: 100%;
  height: calc(100vh - 70px);
  overflow: hidden;
  margin-top: 70px;
}
.gh-hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.gh-tag {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 400;
  color: var(--neon);
  margin-top: 24px;
  line-height: 1.2;
  text-align: center;
}

/* === OVERVIEW SECTION === */
.gh-overview-section {
  padding: 60px max(40px, calc((100% - 1300px) / 2)) 0;
}

.gh-overview-header {
  margin-bottom: 56px;
  text-align: center;
}

.gh-overview-title {
  font-family: var(--font-body);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 12px;
}

.gh-overview-subtitle {
  font-size: 18px;
  font-weight: 500;
  color: rgba(0,0,0,0.5);
  margin: 0;
  line-height: 1.5;
}

.gh-overview-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  padding-bottom: 64px;
}

.gh-overview-label {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 12px;
}

.gh-overview-meta {
  margin-bottom: 32px;
}

.gh-overview-meta p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 20px;
}

.gh-overview-meta p:last-child { margin-bottom: 0; }

.gh-overview-right .gh-overview-label {
  margin-top: 40px;
}

.gh-overview-right .gh-overview-label:first-child {
  margin-top: 0;
}

.gh-overview-right p {
  font-size: 18px;
  line-height: 1.8;
  margin: 0;
  max-width: 660px;
}

.gh-process-nav {
  position: sticky;
  top: 70px;
  z-index: 500;
  background: var(--white);
  border-bottom: 1px solid var(--black);
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 max(40px, calc((100% - 1300px) / 2));
}
.gh-process-nav::-webkit-scrollbar { display: none; }
.gh-process-nav a {
  padding: 18px 0;
  margin-right: 40px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
  color: var(--black);
  opacity: 0.3;
  transition: opacity 0.2s;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  flex-shrink: 0;
}
.gh-process-nav a:hover { opacity: 0.7; }
.gh-process-nav a.active { opacity: 1; border-bottom-color: var(--black); }

/* === THE PROCESS SECTION === */
.gh-the-process {
  padding: 80px max(40px, calc((100% - 1300px) / 2));
  text-align: center;
}

.gh-the-process-title {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  color: var(--black);
  text-transform: uppercase;
  margin-bottom: 56px;
}

.gh-process-icons-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}

.gh-process-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--black);
}

.gh-process-icon-item svg {
  width: 72px;
  height: 72px;
  transition: transform 0.2s ease;
}

.gh-process-icon-item:hover svg { transform: translateY(-4px); }

.gh-process-icon-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--black);
}

/* === CASE STUDY SECTIONS === */
.gh-cs-section {
  margin: 0 max(40px, calc((100% - 1300px) / 2)) 24px;
  border: 1px solid var(--black);
}

.gh-the-process + .gh-cs-section {
  margin-top: 80px;
}

.gh-cs-heading {
  display: block;
  width: 100%;
  padding: 22px 60px;
  border: none;
  border-bottom: 1px solid var(--black);
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 700;
  color: var(--neon);
  text-align: center;
  margin: 0;
  background: transparent;
  box-sizing: border-box;
}

.gh-cs-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  padding: 60px 40px;
}

.gh-cs-toc-title {
  display: block;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--black);
}

.gh-cs-toc ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gh-cs-toc li {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(0,0,0,0.55);
  padding: 3px 0;
}

.gh-cs-subheading {
  display: block;
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--black);
  margin: 0 0 16px;
  line-height: 1.3;
}

.gh-cs-content .gh-cs-subheading + .gh-cs-subheading,
.gh-cs-content figure + .gh-cs-subheading,
.gh-cs-content p + .gh-cs-subheading,
.gh-cs-content ul + .gh-cs-subheading,
.gh-cs-content .gh-img-grid + .gh-cs-subheading {
  margin-top: 52px;
}

.gh-cs-content figure + .gh-cs-body,
.gh-cs-content .gh-img-grid + .gh-cs-body {
  margin-top: 32px;
}

.gh-cs-body {
  font-size: 18px;
  line-height: 1.8;
  margin: 0 0 20px;
  max-width: 680px;
}

.gh-cs-body:last-child { margin-bottom: 0; }

.gh-cs-list {
  font-size: 18px;
  line-height: 1.8;
  padding-left: 22px;
  margin: 0 0 20px;
  max-width: 680px;
}

.gh-cs-list li { margin-bottom: 8px; }

.gh-cs-content strong { font-weight: 600; }

.gh-cs-img {
  margin: 44px 0 0;
}

.gh-cs-img img {
  width: 100%;
  display: block;
}

.gh-cs-img figcaption {
  font-size: 13px;
  color: #888;
  margin-top: 10px;
  font-style: italic;
}

.gh-cs-img figcaption a { text-decoration: underline; color: #888; }

.gh-cs-img--small {
  max-width: 440px;
}

.gh-section {
  padding: 80px max(40px, calc((100% - 1300px) / 2));
  border-bottom: 1px solid var(--black);
}
.gh-section-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 12px;
}
.gh-section-heading {
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 32px;
  max-width: 700px;
}
.gh-section p {
  font-size: 17px;
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 20px;
}
.gh-section p:last-of-type { margin-bottom: 0; }
.gh-img-block {
  margin: 56px 0 0;
}
.gh-img-block img {
  width: 100%;
  display: block;
}
.gh-img-block figcaption {
  font-size: 13px;
  color: #888;
  margin-top: 12px;
  font-style: italic;
}
.gh-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 56px 0 0;
}
.gh-img-grid figure { margin: 0; }
.gh-img-grid img { width: 100%; display: block; }
.gh-img-grid figcaption { font-size: 12px; color: #888; margin-top: 8px; font-style: italic; }

.gh-cta {
  padding: 80px max(40px, calc((100% - 1300px) / 2));
  border-bottom: 1px solid var(--black);
}
.gh-cta-heading {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.2;
}
.gh-cta p {
  font-size: 16px;
  color: #888;
  margin-bottom: 28px;
}
.gh-project-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px max(40px, calc((100% - 1300px) / 2));
}
.gh-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--neon);
  opacity: 1;
  transition: opacity 0.2s;
  text-decoration: none;
}
.gh-nav-link svg { width: 16px; height: 16px; flex-shrink: 0; }
.gh-nav-link:hover { opacity: 0.6; }

/* === BOTTOM NAVIGATION (Gloria Ha style) === */
.bottom-navigation {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--white);
  border-top: 1px solid var(--black);
}

.bottom-navigation .progress-bar {
  position: absolute;
  top: -2px; left: 0;
  height: 2px;
  width: 0%;
  background: var(--neon);
  transition: width 0.1s linear;
  pointer-events: none;
}

.bottom-navigation .bn-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 80px;
}

/* Desktop flat links */
.bottom-navigation .bn-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.bottom-navigation .bn-links::-webkit-scrollbar { display: none; }

.bottom-navigation .bn-link {
  padding: 16px 0;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  white-space: nowrap;
  color: var(--black);
  opacity: 1;
  text-decoration: none;
  flex-shrink: 0;
}


/* Mobile dropdown */
.bottom-navigation .bn-dropdown {
  display: none;
  width: 100%;
}
.bn-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  color: var(--black);
  user-select: none;
  width: 100%;
}
.bn-dropdown-toggle svg {
  width: 16px; height: 16px;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.bn-dropdown.open .bn-dropdown-toggle svg { transform: rotate(180deg); }
.bn-dropdown-list {
  display: none;
  position: absolute;
  bottom: 100%;
  left: 0; right: 0;
  background: var(--gray);
  border-top: 1px solid var(--black);
}
.bn-dropdown.open .bn-dropdown-list { display: block; }
.bn-dropdown-list a {
  display: block;
  padding: 18px 24px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--black);
  opacity: 0.45;
  text-decoration: none;
  transition: opacity 0.2s, color 0.2s;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.bn-dropdown-list a:last-child { border-bottom: none; }
.bn-dropdown-list a:hover { opacity: 1; }
.bn-dropdown-list a.active { opacity: 1; color: var(--neon); }

.bottom-navigation .bn-link.active { color: var(--neon); }

/* keep old gh-bottom-nav alias for IntersectionObserver compatibility */
.gh-bottom-nav { display: none !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .hero-photo {
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
  }
}

@media (max-width: 991px) {
  .nav-inner { padding: 0 40px; }
  .hero { padding: 80px 40px 80px; }
  .work-banner { padding: 13px 24px; margin: 20px 40px; }
  .projects-list { padding: 0 40px; }
  .cs3-hero { padding: 80px 40px 0; }
  .cs3-section { padding: 60px 40px; }
  .cs3-meta-inner { padding: 40px 40px; }
  .cs3-project-nav { padding: 32px 40px; }
  .contact-section { padding: 80px 40px; }
  .about3-hero { padding: 80px 40px 60px; }
  .about3-section { padding: 60px 40px; }
}

@media (max-width: 768px) {
  .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .burger { display: flex; }

  .mobile-menu {
    display: flex;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.7s cubic-bezier(0.77, 0, 0.175, 1) 0.15s, visibility 0s 0.85s;
    pointer-events: none;
    visibility: hidden;
  }
  .mobile-menu.open {
    clip-path: inset(0 0 0% 0);
    transition: clip-path 0.9s cubic-bezier(0.77, 0, 0.175, 1), visibility 0s;
    pointer-events: all;
    visibility: visible;
  }
  .mobile-menu .mobile-link {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }
  .mobile-menu.open .mobile-link {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.45s; }
  .mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.55s; }
  .mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.65s; }

  .hero { padding: 120px 24px 60px; }
  .scroll-down { margin-top: 24px; margin-bottom: 0; }
  .scroll-btn { width: 110px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-wrap { order: 1; }
  .hero-content { padding-top: 0; align-items: center; text-align: center; }
  .hero-desc { max-width: 100%; }
  .hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
  .banner-text { font-size: 22px; }
  .work-banner { padding: 13px 16px; margin: 20px 24px; }

  .projects-list { padding: 0 24px; }
  .project-card { grid-template-columns: 1fr; }
  .project-card-img, .project-card-img--placeholder { height: 260px; }
  .project-card-info { border-left: none; border-top: 1px solid var(--black); padding: 24px 20px; }

  footer { padding: 40px 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; padding: 0 24px; }
  .footer-logo { grid-column: 1 / -1; }

  .cs3-hero { padding: 80px 24px 0; }
  .cs3-section { padding: 40px 24px; }
  .cs3-2col { grid-template-columns: 1fr; gap: 20px; }
  .cs3-meta-inner { padding: 32px 24px; }
  .cs3-meta-grid { grid-template-columns: 1fr; gap: 24px; }
  .cs3-project-nav { padding: 24px; flex-direction: column; gap: 16px; }
  .contact-section { padding: 60px 24px; }

  .about3-hero { padding: 80px 24px 40px; grid-template-columns: 1fr; }
  .about-gloria-inner { grid-template-columns: 1fr; }
  .about-gloria-photo { order: 1; }
  .about-gloria-photo img { height: 400px; }

  /* gh project layout mobile */
  .gh-hero-img-wrap { height: calc(100svh - 70px); }
  .bottom-navigation .bn-links { display: none; }
  .bottom-navigation .bn-top { display: none; }
  .bottom-navigation .bn-dropdown { display: block; }
  .bottom-navigation .bn-inner { padding: 0 24px; }
  .gh-overview-section { padding: 40px 24px 0; }
  .gh-overview-title { font-size: 32px; }
  .gh-overview-grid { grid-template-columns: 1fr; gap: 0; }
  .gh-overview-left { padding-bottom: 40px; border-bottom: 1px solid var(--black); }
  .gh-overview-right { padding-top: 40px; }
  .gh-overview-right .gh-overview-label:first-child { margin-top: 0; }

  .gh-the-process { padding: 60px 24px; }
  .gh-the-process-title { font-size: 22px; margin-bottom: 40px; }
  .gh-process-icons-grid { gap: 4px; }
  .gh-process-icon-item svg { width: 36px; height: 36px; }
  .gh-process-icon-label { font-size: 10px; letter-spacing: 0.5px; }

  .gh-cs-section { margin: 0 16px 16px; }
  .gh-cs-heading { padding: 18px 24px; font-size: 16px; }
  .gh-cs-grid { grid-template-columns: 1fr; gap: 0; padding: 0 24px 48px; }
  .gh-cs-toc { padding: 40px 0 32px; border-bottom: 1px solid rgba(0,0,0,0.1); }
  .gh-cs-content { padding-top: 40px; }
  .gh-cs-subheading { font-size: 20px; }
  .gh-cs-body { font-size: 16px; }
  .gh-cs-list { font-size: 16px; }
  .gh-section { padding: 48px 24px; }
  .gh-img-grid { grid-template-columns: 1fr; }
  .gh-cta { padding: 48px 24px; }
  .gh-project-nav { padding: 24px; }
  .about3-photo-wrap { order: -1; }
  .about3-photo-circle { width: 220px; height: 220px; }
  .about3-section { padding: 40px 24px; }
  .about3-2col { grid-template-columns: 1fr; gap: 20px; }
}

/* IMAGE ZOOM / LIGHTBOX */
.img-zoomable {
  position: relative;
}

.img-zoomable img {
  cursor: zoom-in;
}

.img-zoom-icon {
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  background: rgba(0,0,0,0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.85;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.img-zoom-icon svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

.img-zoomable:hover .img-zoom-icon {
  opacity: 1;
  transform: scale(1.08);
}

.img-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
  padding: 48px;
}

.img-lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.img-lightbox-overlay img {
  max-width: 100%;
  max-height: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  cursor: zoom-out;
}

.img-lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.img-lightbox-close:hover { background: rgba(255,255,255,0.22); }
.img-lightbox-close svg { width: 20px; height: 20px; }

@media (max-width: 640px) {
  .img-lightbox-overlay { padding: 16px; }
  .img-zoom-icon { width: 32px; height: 32px; bottom: 10px; right: 10px; opacity: 1; }
}
