/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-dark: #0a0f14;
  --bg-darker: #060a0e;
  --bg-card: #111920;
  --text-white: #ffffff;
  --text-light: #c8cdd2;
  --text-muted: #6b7a8a;
  --accent: #2a9d8f;
  --accent-hover: #35c4b3;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-highlight: rgba(255, 255, 255, 0.12);
  --glass-shadow: rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Smooth page transition on internal navigation */
body.page-entering {
  opacity: 0;
}
body.page-visible {
  opacity: 1;
  transition: opacity 0.35s ease;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-weight: 400;
  line-height: 1.1;
}

.serif {
  font-family: var(--font-serif);
}

.italic {
  font-style: italic;
}

/* ===== UTILITY ===== */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

/* ===== LOADER ===== */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-text {
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--text-muted);
  animation: loaderPulse 1.5s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ===== HEADER / FROSTED GLASS NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  padding: 14px 40px;
}

.header-left {
  flex: 1;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.header-logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
  transition: opacity 0.3s ease;
}

.header-logo-link:hover {
  opacity: 0.7;
}

.header-logo-link .logo-dusk {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffffff;
}

.header-logo-link .logo-cube {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: aquamarine;
}

.header-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid transparent;
  border-radius: 30px;
  padding: 6px 8px;
  box-shadow:
    0 0 0 2px rgba(255, 255, 255, 0.15),
    0 16px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(40px) saturate(180%);
  -webkit-backdrop-filter: blur(40px) saturate(180%);
}

/* Sliding active indicator */
.nav-slider {
  position: absolute;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
              width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  pointer-events: none;
  z-index: 0;
}

.header-nav a {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 20px;
  transition: color 0.3s ease;
  color: var(--text-light);
}

.header-nav a:hover {
  color: var(--text-white);
}

.header-nav a.active {
  color: var(--text-white);
}


.header-nav .nav-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.75rem;
  font-style: italic;
  padding: 8px 14px;
}

.header-right {
  flex: 1;
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: right;
}

.header-right span {
  margin: 0 6px;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 1001;
  position: relative;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay — Glass */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 10, 14, 0.85);
  backdrop-filter: blur(40px) saturate(150%);
  -webkit-backdrop-filter: blur(40px) saturate(150%);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-slow);
}

.mobile-nav.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-size: 2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-light);
  transition: var(--transition);
  padding: 10px 30px;
  border-radius: 16px;
  position: relative;
}

.mobile-nav a::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0);
  border: 1px solid rgba(255, 255, 255, 0);
  transition: all 0.4s ease;
  z-index: -1;
}

.mobile-nav a:hover {
  color: var(--accent);
}

.mobile-nav a:hover::before {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 4px 20px rgba(0, 0, 0, 0.15);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.35);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(10, 15, 20, 0.3) 0%,
    rgba(10, 15, 20, 0.1) 40%,
    rgba(10, 15, 20, 0.7) 80%,
    rgba(10, 15, 20, 1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 40px;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-title .line1 {
  font-family: var(--font-sans);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 800;
  letter-spacing: -4px;
  line-height: 0.0;
  text-transform: uppercase;
  display: block;
}

.hero-title .line2 {
  font-family: var(--font-serif);
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.90;
  display: block;
  margin-left: 100px;
  color: var(--accent-hover);
}

.hero-tagline {
  max-width: 340px;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 24px;
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.scroll-line {
  width: 40px;
  height: 1px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--text-white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  50% { left: 0; }
  100% { left: 100%; }
}

.hero-cta {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.hero-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.1);
}

.hero-cta svg {
  width: 20px;
  height: 20px;
  fill: var(--text-white);
  transform: rotate(-45deg);
}

/* Image with vertical bar beside hero title */
.hero-image-block {
  position: absolute;
  top: 80px;
  right: 18%;
  width: 200px;
  height: 340px;
  z-index: 1;
}

.hero-image-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== PHILOSOPHY SECTION ===== */
.philosophy {
  padding: 140px 0;
  background: var(--bg-dark);
}

.philosophy-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

.philosophy-heading {
  font-family: var(--font-sans);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
}

.philosophy-heading .highlight {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}

.philosophy-text {
  padding-top: 20px;
}

.philosophy-text p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 30px;
}

.philosophy-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-white);
  font-weight: 500;
  transition: var(--transition);
}

.philosophy-link:hover {
  color: var(--accent);
}

.philosophy-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition);
}

.philosophy-link:hover svg {
  transform: translateX(4px);
}

/* ===== MARQUEE ===== */
.marquee-section {
  padding: 30px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-dark);
}

.marquee-track {
  display: flex;
  animation: marqueeScroll 20s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-size: clamp(1.4rem, 3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}

.marquee-item .ampersand {
  color: var(--accent);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SELECTED WORKS ===== */
.works {
  padding: 120px 0 80px;
  background: var(--bg-dark);
}

.works-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 60px;
}

.works-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.works-filters {
  display: flex;
  gap: 20px;
}

.works-filters a {
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: var(--transition);
}

.works-filters a:hover,
.works-filters a.active {
  color: var(--text-white);
}

.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.work-card {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition: var(--transition);
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-card.large {
  grid-column: 1 / -1;
}

.work-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.work-card.large .work-card-image {
  aspect-ratio: 16/9;
}

.work-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.work-card:hover .work-card-image img {
  transform: scale(1.05);
}

.work-card-info {
  padding: 20px 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.work-card-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 400;
}

.work-card-meta {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* Large featured image with quote */
.work-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  margin-bottom: 20px;
}

.work-featured-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 4px;
}

.work-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.work-featured:hover .work-featured-image img {
  transform: scale(1.03);
}

.work-featured-quote {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 30px;
}

.work-featured-quote blockquote {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 12px;
}

.work-featured-quote cite {
  font-size: 0.68rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-style: normal;
}

/* Bottom row cards */
.works-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 30px;
}

/* ===== KYOTO / FEATURED PROJECT ===== */
.featured-project {
  padding: 80px 0;
  background: var(--bg-dark);
}

.featured-project-image {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: 4px;
  position: relative;
  margin-bottom: 0;
}

.featured-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 40px;
  background: linear-gradient(0deg, rgba(10, 15, 20, 0.9) 0%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.featured-project-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.featured-project-tag {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--bg-dark);
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 20px;
}

.featured-project-cta {
  text-align: center;
  margin-top: 50px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-white);
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--text-white);
  color: var(--bg-dark);
  border-color: var(--text-white);
}

/* ===== OUR APPROACH ===== */
.approach {
  padding: 140px 0;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.approach-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 60px;
}

.approach-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 100px;
  align-items: start;
}

.approach-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text-white);
}

.approach-quote .underline {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.approach-items {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.approach-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-white);
}

.approach-item p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
  padding: 80px 0 40px;
  background: var(--bg-darker);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.04);
  margin-bottom: 40px;
  overflow: hidden;
  white-space: nowrap;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.85rem;
  line-height: 2;
  color: var(--text-light);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent);
}

/* Social links with icons */
.footer-col a.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-col a.social-link svg {
  opacity: 0.5;
  transition: var(--transition);
  flex-shrink: 0;
}

.footer-col a.social-link:hover svg {
  opacity: 1;
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ===== PAGE HERO (INNER PAGES) ===== */
.page-hero {
  padding: 200px 0 100px;
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.page-hero-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.page-hero-title {
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -2px;
}

.page-hero-title .highlight {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--accent);
}

.page-hero-desc {
  max-width: 520px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-top: 30px;
}

/* ===== WORK PAGE GRID ===== */
.projects-section {
  padding: 80px 0 140px;
  background: var(--bg-dark);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 30px;
}

.project-card {
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
}

.project-card.wide {
  grid-column: 1 / -1;
}

.project-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 16px;
}

.project-card.wide .project-card-image {
  aspect-ratio: 21/9;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-card:hover .project-card-image img {
  transform: scale(1.05);
}

.project-card-info {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.project-card-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-style: italic;
}

.project-card-meta {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* ===== STUDIO PAGE ===== */
.studio-intro {
  padding: 80px 0 120px;
}

.studio-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.studio-intro-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
}

.studio-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-intro-text h3 {
  font-size: 1.6rem;
  font-weight: 400;
  margin-bottom: 24px;
  line-height: 1.3;
}

.studio-intro-text p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Team Section */
.team-section {
  padding: 100px 0 140px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.team-section .section-label {
  font-size: 0.65rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 60px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.team-card-image {
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 16px;
  background: var(--bg-card);
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.6s ease;
}

.team-card:hover .team-card-image img {
  filter: grayscale(0%);
}

.team-card-name {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 4px;
}

.team-card-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Values — Glass Cards */
.values-section {
  padding: 120px 0;
  background: var(--bg-darker);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  margin-top: 60px;
}

.value-card {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 2px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 30%,
    rgba(255, 255, 255, 0.04) 50%,
    transparent 70%
  );
  transition: transform 0.8s ease;
  pointer-events: none;
}

.value-card:hover::before {
  transform: translateX(50%);
}

.value-card:hover {
  border-color: rgba(42, 157, 143, 0.3);
  background: rgba(42, 157, 143, 0.04);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 0 20px rgba(42, 157, 143, 0.06);
  transform: translateY(-4px);
}

.value-card-number {
  font-size: 0.7rem;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.value-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* ===== CONTACT PAGE ===== */
.contact-section {
  padding: 80px 0 140px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info-block h4 {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 600;
}

.contact-info-block a,
.contact-info-block p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
}

.contact-info-block a:hover {
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 0;
  font-size: 0.95rem;
  color: var(--text-white);
  font-family: var(--font-sans);
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-bottom-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-dark);
  color: var(--text-white);
}

/* Submit Button — Glass */
.btn-submit {
  align-self: flex-start;
  padding: 16px 40px;
  background: var(--accent);
  color: var(--text-white);
  border: none;
  border-radius: 30px;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(42, 157, 143, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 30%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 70%
  );
  transition: transform 0.6s ease;
  pointer-events: none;
}

.btn-submit:hover::before {
  transform: translateX(50%);
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(42, 157, 143, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* ===== NEWS PAGE ===== */
.news-section {
  padding: 80px 0 140px;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px 30px;
}

.news-card {
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
  background: var(--bg-card);
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.news-card:hover .news-card-image img {
  transform: scale(1.05);
}

.news-card-date {
  font-size: 0.68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.news-card-title {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.3;
}

.news-card-excerpt {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* ===== PROJECT DETAIL PAGE ===== */
.project-detail-hero {
  padding: 160px 0 60px;
}

.project-detail-meta {
  display: flex;
  gap: 40px;
  margin-top: 40px;
}

.project-detail-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.project-detail-meta-item span:first-child {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.project-detail-meta-item span:last-child {
  font-size: 0.9rem;
  color: var(--text-light);
}

.project-detail-content {
  padding: 60px 0 140px;
}

.project-detail-image {
  width: 100%;
  aspect-ratio: 21/9;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 60px;
}

.project-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.project-detail-body p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
}

.project-detail-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 60px;
}

.project-detail-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 4px;
}

.project-detail-nav {
  display: flex;
  justify-content: space-between;
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.project-detail-nav a {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
}

.project-detail-nav a:hover {
  color: var(--text-white);
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== CUSTOM CURSOR ===== */
.cursor {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--text-white);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s, height 0.3s, border-color 0.3s, transform 0.3s;
  transform: translate(-50%, -50%);
}

.cursor.active {
  width: 40px;
  height: 40px;
  border-color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .header {
    padding: 16px 30px;
  }

  .philosophy-inner,
  .approach-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .work-featured {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .project-detail-body {
    grid-template-columns: 1fr;
  }

  .hero-image-block {
    display: none;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header {
    padding: 14px 20px;
  }

  .header-nav {
    display: none;
  }

  .header-right {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    display: flex;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-title .line2 {
    margin-left: 30px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .works-bottom-row {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .featured-project-overlay {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .project-detail-meta {
    flex-wrap: wrap;
  }

  .cursor {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title .line1 {
    font-size: 3.5rem;
    letter-spacing: -2px;
  }

  .hero-title .line2 {
    font-size: 2.8rem;
    margin-left: 16px;
  }

  .page-hero-title {
    font-size: 2.5rem;
  }
}
