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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #0b0b0b;
  color: #f5f5f5;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  padding: 0 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(11, 11, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10;
}

.logo {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

nav {
  display: flex;
  gap: 28px;
}

nav a {
  font-size: 14px;
  color: #cfcfcf;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #ffffff;
}

.hero {
  min-height: 100vh;
  padding: 160px 6vw 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1100px;
}

.eyebrow {
  font-size: 13px;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 24px;
}

h1 {
  font-size: clamp(48px, 8vw, 110px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  max-width: 950px;
  margin-bottom: 32px;
}

.hero-text {
  max-width: 560px;
  font-size: 18px;
  color: #c8c8c8;
  margin-bottom: 40px;
}

.button {
  width: fit-content;
  padding: 14px 22px;
  border: 1px solid #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: all 0.2s ease;
}

.button:hover {
  background: #ffffff;
  color: #0b0b0b;
}

.section {
  padding: 120px 6vw;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-title {
  margin-bottom: 48px;
}

.section-title p {
  color: #999999;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}

h2 {
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1;
  letter-spacing: -0.04em;
}

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

.card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px;
  background: #111111;
}

.image-placeholder {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, #1c1c1c, #3a3a3a);
  margin-bottom: 22px;
}
.portfolio-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin-bottom: 22px !important;
  filter: none !important;
}

.card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.card p {
  color: #b8b8b8;
  font-size: 15px;
}

.about p,
.contact p {
  max-width: 720px;
  font-size: 20px;
  color: #c8c8c8;
}

.contact a {
  display: inline-block;
  margin-top: 24px;
  font-size: 22px;
  border-bottom: 1px solid #ffffff;
}

footer {
  padding: 40px 6vw;
  color: #777777;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 800px) {
  .site-header {
    height: auto;
    padding: 22px 6vw;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  nav {
    gap: 18px;
  }

  .hero {
    padding-top: 180px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 52px;
  }
}
/* Portfolio refinement */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.card {
  border: none !important;
  background: transparent !important;
  padding: 0 !important;
}

.portfolio-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  display: block !important;
  margin-bottom: 26px !important;
  filter: none !important;
  background: #111111;
}

.card h3 {
  font-size: 22px;
  line-height: 1.1;
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.card p {
  max-width: 360px;
  color: #b8b8b8;
  font-size: 15px;
  line-height: 1.7;
}

.card:hover .portfolio-image {
  opacity: 0.92;
  transition: opacity 0.25s ease;
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }

  .card p {
    max-width: 100%;
  }
}
/* Hero refinement */

.hero {
  max-width: none !important;
  min-height: 100vh;
  padding: 150px 6vw 90px !important;
  display: grid !important;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.hero-visual {
  margin: 0;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 180px !important;
  }

  .hero-visual {
    order: -1;
  }
}
/* Hero correction: quieter and cleaner */

.hero {
  min-height: auto !important;
  padding: 140px 6vw 110px !important;
  display: grid !important;
  grid-template-columns: 1fr 0.82fr !important;
  gap: clamp(48px, 7vw, 120px) !important;
  align-items: start !important;
}

.hero-copy {
  max-width: 760px !important;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(56px, 6.8vw, 92px) !important;
  line-height: 0.95 !important;
  letter-spacing: -0.06em !important;
  margin-bottom: 34px !important;
}

.hero-text {
  max-width: 620px !important;
  margin-bottom: 38px !important;
}

.button {
  position: relative;
  z-index: 3;
}

.hero-visual {
  margin: 20px 0 0 0 !important;
  max-width: 520px !important;
  justify-self: end !important;
}

.hero-visual img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr !important;
    padding: 130px 6vw 80px !important;
  }

  .hero h1 {
    font-size: clamp(46px, 13vw, 72px) !important;
  }

  .hero-visual {
    max-width: 100% !important;
    justify-self: start !important;
    margin-top: 48px !important;
  }
}
/* Final hero typography refinement */

.hero h1 {
  font-size: clamp(52px, 6vw, 82px) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.055em !important;
  max-width: 720px !important;
}

.hero-text {
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: #c9c9c9 !important;
  max-width: 560px !important;
}

.eyebrow {
  color: #9a9a9a !important;
}

.site-header {
  height: 64px !important;
}

.logo {
  font-size: 16px !important;
  letter-spacing: 0.12em !important;
}

nav a {
  font-size: 13px !important;
}
/* Hero version: larger image, stronger visual presence */

.hero {
  min-height: calc(100vh - 64px) !important;
  padding: 125px 5.5vw 105px !important;
  display: grid !important;
  grid-template-columns: minmax(360px, 0.78fr) minmax(560px, 1.22fr) !important;
  gap: clamp(56px, 7vw, 130px) !important;
  align-items: center !important;
}

.hero-copy {
  max-width: 700px !important;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(58px, 6.4vw, 94px) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.06em !important;
  max-width: 700px !important;
  margin-bottom: 34px !important;
}

.hero-text {
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: #c9c9c9 !important;
  max-width: 560px !important;
  margin-bottom: 38px !important;
}

.hero-visual {
  margin: 0 !important;
  width: 100% !important;
  max-width: 820px !important;
  justify-self: end !important;
}

.hero-visual img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.button {
  position: relative;
  z-index: 3;
}

@media (max-width: 1050px) {
  .hero {
    grid-template-columns: 1fr !important;
    padding: 120px 6vw 85px !important;
    min-height: auto !important;
  }

  .hero h1 {
    font-size: clamp(48px, 12vw, 76px) !important;
    max-width: 760px !important;
  }

  .hero-visual {
    max-width: 100% !important;
    justify-self: start !important;
    margin-top: 48px !important;
  }
}
/* Mobile refinement */

@media (max-width: 700px) {
  .site-header {
    height: auto !important;
    padding: 20px 6vw !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }

  nav {
    gap: 20px !important;
    flex-wrap: wrap !important;
  }

  nav a {
    font-size: 13px !important;
  }

  .hero {
    padding: 130px 6vw 72px !important;
    gap: 42px !important;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 64px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.055em !important;
  }

  .hero-text {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  .hero-visual {
    margin-top: 20px !important;
  }

  .section {
    padding: 82px 6vw !important;
  }

  h2 {
    font-size: clamp(38px, 13vw, 58px) !important;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 64px !important;
  }

  .card p {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }
}
/* Contact links */

.contact-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
}

.contact-links a {
  font-size: 22px;
  border-bottom: 1px solid #ffffff;
  width: fit-content;
}

.contact-links a:hover {
  opacity: 0.7;
}

@media (max-width: 700px) {
  .contact-links a {
    font-size: 18px;
  }
}
/* Refined contact section */

.contact-links {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  max-width: 720px !important;
  margin-top: 36px !important;
}

.contact-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 32px !important;
  padding: 20px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
  text-decoration: none !important;
  font-size: 18px !important;
  line-height: 1.4 !important;
}

.contact-link:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.contact-link span {
  color: #8f8f8f !important;
  font-size: 12px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  min-width: 120px !important;
}

.contact-link strong {
  color: #f5f5f5 !important;
  font-size: clamp(18px, 2vw, 24px) !important;
  font-weight: 400 !important;
  text-align: right !important;
}

.contact-link:hover strong {
  opacity: 0.7 !important;
}

@media (max-width: 700px) {
  .contact-link {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 8px !important;
    padding: 18px 0 !important;
  }

  .contact-link strong {
    text-align: left !important;
    font-size: 18px !important;
  }
}
/* Refined about section */

.about-layout {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr !important;
  gap: clamp(48px, 7vw, 120px) !important;
  align-items: start !important;
  max-width: 1180px !important;
}

.about-main {
  max-width: 760px !important;
}

.about-main p {
  font-size: clamp(22px, 2.4vw, 34px) !important;
  line-height: 1.35 !important;
  letter-spacing: -0.035em !important;
  color: #f1f1f1 !important;
  margin-bottom: 30px !important;
}

.about-details {
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.about-details div {
  padding: 22px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.about-details span {
  display: block !important;
  color: #8f8f8f !important;
  font-size: 12px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}

.about-details strong {
  display: block !important;
  color: #f5f5f5 !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  .about-main p {
    font-size: 22px !important;
    line-height: 1.45 !important;
  }
}
/* Final contact refinement */

.contact p {
  max-width: 680px !important;
  font-size: 20px !important;
  color: #c8c8c8 !important;
}

.contact-links {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
  max-width: 760px !important;
  margin-top: 42px !important;
}

.contact-link {
  display: grid !important;
  grid-template-columns: 160px 1fr !important;
  align-items: center !important;
  gap: 32px !important;
  padding: 24px 0 !important;
  border-top: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22) !important;
  text-decoration: none !important;
}

.contact-link:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.contact-link span {
  color: #8f8f8f !important;
  font-size: 12px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.contact-link strong {
  color: #f5f5f5 !important;
  font-size: clamp(18px, 2.1vw, 26px) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  text-align: left !important;
}

.contact-link:hover strong {
  opacity: 0.68 !important;
}

@media (max-width: 700px) {
  .contact-links {
    margin-top: 32px !important;
  }

  .contact-link {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 20px 0 !important;
  }

  .contact-link strong {
    font-size: 18px !important;
    word-break: break-word !important;
  }
}
/* Final about refinement */

.about-layout {
  display: grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: clamp(56px, 8vw, 130px) !important;
  align-items: start !important;
  max-width: 1200px !important;
}

.about-main {
  max-width: 760px !important;
}

.about-main p {
  font-size: clamp(21px, 2.1vw, 30px) !important;
  line-height: 1.45 !important;
  letter-spacing: -0.035em !important;
  color: #f1f1f1 !important;
  margin-bottom: 34px !important;
}

.about-details {
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
}

.about-details div {
  padding: 22px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
}

.about-details span {
  display: block !important;
  color: #8f8f8f !important;
  font-size: 12px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  margin-bottom: 8px !important;
}

.about-details strong {
  display: block !important;
  color: #f5f5f5 !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr !important;
    gap: 52px !important;
  }

  .about-main p {
    font-size: 21px !important;
    line-height: 1.5 !important;
  }
}
/* Smaller and quieter about typography */

.about-refined .section-title h2 {
  font-size: clamp(48px, 5.2vw, 76px) !important;
  line-height: 1 !important;
}

.about-main {
  max-width: 700px !important;
}

.about-main p {
  font-size: clamp(18px, 1.65vw, 24px) !important;
  line-height: 1.58 !important;
  letter-spacing: -0.025em !important;
  color: #eeeeee !important;
  margin-bottom: 26px !important;
}

.about-layout {
  display: grid !important;
  grid-template-columns: 1.1fr 0.9fr !important;
  gap: clamp(56px, 8vw, 130px) !important;
  align-items: start !important;
  max-width: 1180px !important;
}

.about-details strong {
  font-size: 16px !important;
  line-height: 1.5 !important;
}

@media (max-width: 900px) {
  .about-main p {
    font-size: 18px !important;
    line-height: 1.6 !important;
  }

  .about-refined .section-title h2 {
    font-size: clamp(42px, 13vw, 60px) !important;
  }
}
/* Final mobile refinement */

@media (max-width: 700px) {
  body {
    overflow-x: hidden !important;
  }

  .site-header {
    height: auto !important;
    padding: 18px 6vw !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  .logo {
    font-size: 15px !important;
    letter-spacing: 0.12em !important;
  }

  nav {
    gap: 18px !important;
    flex-wrap: wrap !important;
  }

  nav a {
    font-size: 13px !important;
  }

  .hero {
    grid-template-columns: 1fr !important;
    padding: 130px 6vw 76px !important;
    gap: 44px !important;
    min-height: auto !important;
  }

  .hero h1 {
    font-size: clamp(42px, 14vw, 62px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.055em !important;
    max-width: 100% !important;
  }

  .hero-text {
    font-size: 16px !important;
    line-height: 1.7 !important;
    max-width: 100% !important;
  }

  .button {
    font-size: 12px !important;
    padding: 13px 18px !important;
  }

  .hero-visual {
    max-width: 100% !important;
    margin-top: 10px !important;
  }

  .section {
    padding: 78px 6vw !important;
  }

  .section-title {
    margin-bottom: 36px !important;
  }

  .section-title p {
    font-size: 12px !important;
  }

  h2 {
    font-size: clamp(40px, 13vw, 58px) !important;
    line-height: 1 !important;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 64px !important;
  }

  .card h3 {
    font-size: 22px !important;
  }

  .card p {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  .about-layout {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }

  .about-main p {
    font-size: 18px !important;
    line-height: 1.6 !important;
    letter-spacing: -0.015em !important;
  }

  .about-details strong {
    font-size: 15px !important;
  }

  .contact p {
    font-size: 17px !important;
    line-height: 1.6 !important;
  }

  .contact-link {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 20px 0 !important;
  }

  .contact-link strong {
    font-size: 18px !important;
    word-break: break-word !important;
  }

  footer {
    padding: 34px 6vw !important;
    font-size: 13px !important;
  }
}
/* Project pages */

.project-hero {
  padding: 150px 6vw 70px !important;
  max-width: 980px !important;
}

.project-hero h1 {
  font-size: clamp(64px, 9vw, 130px) !important;
  line-height: 0.92 !important;
  letter-spacing: -0.07em !important;
  margin-bottom: 32px !important;
}

.project-hero p {
  max-width: 620px !important;
  font-size: 19px !important;
  line-height: 1.7 !important;
  color: #c8c8c8 !important;
}

.project-gallery {
  padding: 0 6vw 110px !important;
}

.project-gallery figure {
  margin: 0 !important;
  max-width: 1200px !important;
}

.project-gallery img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.project-nav {
  padding: 0 6vw 110px !important;
}

.project-nav a {
  display: inline-block !important;
  font-size: 14px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid #ffffff !important;
  padding-bottom: 6px !important;
}

@media (max-width: 700px) {
  .project-hero {
    padding: 130px 6vw 56px !important;
  }

  .project-hero h1 {
    font-size: clamp(54px, 18vw, 86px) !important;
  }

  .project-hero p {
    font-size: 17px !important;
  }

  .project-gallery {
    padding-bottom: 82px !important;
  }
}
/* Clickable portfolio cards */

.portfolio-card-link {
  display: block !important;
  color: inherit !important;
  text-decoration: none !important;
}

.portfolio-card-link:hover .portfolio-image {
  opacity: 0.82 !important;
}

.portfolio-card-link:hover h3 {
  opacity: 0.72 !important;
}
/* Project navigation refinement */

.project-nav-grid {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}

.project-nav-grid a {
  color: #f5f5f5 !important;
  opacity: 0.82 !important;
}

.project-nav-grid a:hover {
  opacity: 1 !important;
}

@media (max-width: 700px) {
  .project-nav-grid {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }
}
/* More spacious project navigation */

.project-nav-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 32px !important;
  align-items: center !important;
  max-width: 980px !important;
}

.project-nav-grid a {
  width: fit-content !important;
  font-size: 13px !important;
  letter-spacing: 0.14em !important;
  white-space: nowrap !important;
}

.project-nav-grid a:nth-child(1) {
  justify-self: start !important;
}

.project-nav-grid a:nth-child(2) {
  justify-self: center !important;
}

.project-nav-grid a:nth-child(3) {
  justify-self: end !important;
}

@media (max-width: 700px) {
  .project-nav-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .project-nav-grid a {
    justify-self: start !important;
    white-space: normal !important;
  }
}
/* Project image captions */

.project-image-block {
  margin: 0 !important;
}

.project-image-block figcaption {
  display: flex !important;
  justify-content: space-between !important;
  gap: 32px !important;
  margin-top: 18px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #b8b8b8 !important;
}

.project-image-block figcaption span {
  font-size: 12px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #8f8f8f !important;
}

.project-image-block figcaption strong {
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #d8d8d8 !important;
  text-align: right !important;
}

@media (max-width: 700px) {
  .project-image-block figcaption {
    flex-direction: column !important;
    gap: 8px !important;
  }

  .project-image-block figcaption strong {
    text-align: left !important;
  }
}
/* Project gallery series */

.project-gallery-series {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 96px !important;
}

.project-gallery-series .project-image-block {
  max-width: 1200px !important;
}

.project-gallery-series .project-image-block:nth-child(even) {
  max-width: 980px !important;
  margin-left: auto !important;
}

.project-gallery-series .project-image-block:nth-child(odd) {
  margin-right: auto !important;
}

@media (max-width: 700px) {
  .project-gallery-series {
    gap: 64px !important;
  }

  .project-gallery-series .project-image-block,
  .project-gallery-series .project-image-block:nth-child(even),
  .project-gallery-series .project-image-block:nth-child(odd) {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* Portfolio card actions */

.card-action {
  display: inline-block !important;
  margin-top: 22px !important;
  font-size: 12px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #f5f5f5 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7) !important;
  padding-bottom: 6px !important;
  opacity: 0.75 !important;
  transition: opacity 0.2s ease, transform 0.2s ease !important;
}

.portfolio-card-link:hover .card-action {
  opacity: 1 !important;
  transform: translateX(4px) !important;
}
/* Hero image slider */

.hero-slider {
  position: relative !important;
  overflow: hidden !important;
}

.hero-slider img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  transition: opacity 0.28s ease !important;
}

.hero-slider img.is-fading {
  opacity: 0 !important;
}

.hero-caption {
  margin-top: 14px !important;
  color: #9a9a9a !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
}

.hero-next {
  position: absolute !important;
  right: 18px !important;
  bottom: 52px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 11px 14px !important;
  border: 1px solid rgba(255, 255, 255, 0.55) !important;
  background: rgba(11, 11, 11, 0.62) !important;
  color: #f5f5f5 !important;
  backdrop-filter: blur(10px) !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  cursor: pointer !important;
  transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease !important;
}

.hero-next:hover {
  opacity: 1 !important;
  transform: translateX(3px) !important;
  background: rgba(245, 245, 245, 0.12) !important;
}

@media (max-width: 700px) {
  .hero-next {
    right: 14px !important;
    bottom: 46px !important;
    padding: 10px 13px !important;
  }

  .hero-caption {
    font-size: 11px !important;
  }
}
/* Hero image counter */

.hero-counter {
  position: absolute !important;
  left: 18px !important;
  bottom: 52px !important;
  padding: 10px 12px !important;
  background: rgba(11, 11, 11, 0.52) !important;
  backdrop-filter: blur(10px) !important;
  color: #d8d8d8 !important;
  font-size: 12px !important;
  letter-spacing: 0.14em !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

@media (max-width: 700px) {
  .hero-counter {
    left: 14px !important;
    bottom: 46px !important;
    font-size: 11px !important;
  }
}
/* Hero slider performance feedback */

.hero-next:disabled {
  opacity: 0.45 !important;
  cursor: wait !important;
  transform: none !important;
}

.hero-next.is-loading span:first-child::after {
  content: "..." !important;
}
/* Exhibition detail refinement */

.about-details strong br {
  display: block !important;
  margin-bottom: 8px !important;
}

.about-details div:has(span) strong {
  word-break: normal !important;
}
/* Final mobile polish */

@media (max-width: 700px) {
  body {
    overflow-x: hidden !important;
  }

  .site-header {
    position: sticky !important;
    top: 0 !important;
    height: auto !important;
    padding: 18px 6vw !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
  }

  .logo {
    font-size: 14px !important;
    letter-spacing: 0.13em !important;
    white-space: nowrap !important;
  }

  nav {
    gap: 14px !important;
    flex-wrap: nowrap !important;
  }

  nav a {
    font-size: 12px !important;
  }

  .hero {
    grid-template-columns: 1fr !important;
    padding: 92px 6vw 78px !important;
    gap: 44px !important;
    min-height: auto !important;
  }

  .eyebrow {
    font-size: 11px !important;
    letter-spacing: 0.15em !important;
    margin-bottom: 18px !important;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 64px) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.055em !important;
    max-width: 100% !important;
    margin-bottom: 28px !important;
  }

  .hero-text {
    font-size: 16px !important;
    line-height: 1.7 !important;
    max-width: 100% !important;
    margin-bottom: 32px !important;
  }

  .button {
    font-size: 12px !important;
    padding: 13px 18px !important;
  }

  .hero-visual {
    max-width: 100% !important;
    margin-top: 4px !important;
  }

  .hero-caption {
    font-size: 10px !important;
    line-height: 1.5 !important;
    margin-top: 12px !important;
  }

  .hero-counter {
    left: 12px !important;
    bottom: 44px !important;
    font-size: 10px !important;
    padding: 8px 10px !important;
  }

  .hero-next {
    right: 12px !important;
    bottom: 44px !important;
    font-size: 10px !important;
    padding: 8px 11px !important;
  }

  .section {
    padding: 78px 6vw !important;
  }

  .section-title {
    margin-bottom: 38px !important;
  }

  .section-title p {
    font-size: 11px !important;
    letter-spacing: 0.16em !important;
  }

  h2 {
    font-size: clamp(40px, 14vw, 58px) !important;
    line-height: 1 !important;
  }

  .grid {
    grid-template-columns: 1fr !important;
    gap: 68px !important;
  }

  .portfolio-image {
    width: 100% !important;
    height: auto !important;
  }

  .card h3 {
    font-size: 22px !important;
    margin-bottom: 12px !important;
  }

  .card p {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }

  .card-action {
    font-size: 11px !important;
    margin-top: 18px !important;
  }

  .about-layout {
    grid-template-columns: 1fr !important;
    gap: 52px !important;
  }

  .about-main p {
    font-size: 18px !important;
    line-height: 1.62 !important;
    letter-spacing: -0.015em !important;
    margin-bottom: 24px !important;
  }

  .about-details div {
    padding: 20px 0 !important;
  }

  .about-details span {
    font-size: 11px !important;
  }

  .about-details strong {
    font-size: 15px !important;
    line-height: 1.55 !important;
  }

  .contact p {
    font-size: 17px !important;
    line-height: 1.65 !important;
  }

  .contact-links {
    margin-top: 32px !important;
  }

  .contact-link {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    padding: 20px 0 !important;
  }

  .contact-link span {
    font-size: 11px !important;
  }

  .contact-link strong {
    font-size: 17px !important;
    word-break: break-word !important;
  }

  .project-hero {
    padding: 116px 6vw 56px !important;
  }

  .project-hero h1 {
    font-size: clamp(52px, 17vw, 82px) !important;
  }

  .project-hero p {
    font-size: 16px !important;
    line-height: 1.7 !important;
  }

  .project-gallery {
    padding: 0 6vw 82px !important;
  }

  .project-gallery-series {
    gap: 70px !important;
  }

  .project-image-block figcaption {
    flex-direction: column !important;
    gap: 8px !important;
    margin-top: 14px !important;
  }

  .project-image-block figcaption span {
    font-size: 11px !important;
  }

  .project-image-block figcaption strong {
    text-align: left !important;
    font-size: 14px !important;
  }

  .project-nav {
    padding: 0 6vw 82px !important;
  }

  .project-nav-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .project-nav-grid a {
    justify-self: start !important;
    font-size: 12px !important;
    white-space: normal !important;
  }

  footer {
    padding: 34px 6vw !important;
    font-size: 13px !important;
  }
}
/* Refined footer contact section */

.site-footer {
  padding: 64px 6vw 36px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.22) !important;
  background: #0b0b0b !important;
}

.footer-main {
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 48px !important;
  margin-bottom: 72px !important;
}

.footer-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.footer-info p,
.footer-info a,
.footer-social a,
.footer-bottom p {
  font-size: 12px !important;
  line-height: 1.4 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #f5f5f5 !important;
  text-decoration: none !important;
}

.footer-info a,
.footer-social a {
  width: fit-content !important;
}

.footer-info a:hover,
.footer-social a:hover {
  opacity: 0.65 !important;
}

.footer-social {
  display: flex !important;
  gap: 22px !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
}

.footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  gap: 32px !important;
  color: #8f8f8f !important;
}

.footer-bottom p {
  color: #8f8f8f !important;
  font-size: 11px !important;
}

@media (max-width: 700px) {
  .site-footer {
    padding: 48px 6vw 32px !important;
  }

  .footer-main {
    flex-direction: column !important;
    gap: 36px !important;
    margin-bottom: 56px !important;
  }

  .footer-social {
    justify-content: flex-start !important;
    gap: 18px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    gap: 10px !important;
  }
}
/* Exhibitions page */

.exhibitions-hero {
  max-width: 980px !important;
}

.exhibitions-list {
  padding-top: 0 !important;
  max-width: 1160px !important;
}

.exhibition-item {
  display: grid !important;
  grid-template-columns: 180px 1fr !important;
  gap: 48px !important;
  padding: 42px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.exhibition-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
}

.exhibition-year {
  color: #8f8f8f !important;
  font-size: 13px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.exhibition-item h2 {
  font-size: clamp(28px, 3.4vw, 48px) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.04em !important;
  margin-bottom: 12px !important;
}

.exhibition-item p {
  color: #b8b8b8 !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
}

@media (max-width: 700px) {
  .exhibition-item {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    padding: 34px 0 !important;
  }

  .exhibition-item h2 {
    font-size: 30px !important;
  }

  .exhibition-item p {
    font-size: 16px !important;
  }
}
/* Mobile navigation refinement after adding Exhibitions */

@media (max-width: 700px) {
  .site-header {
    height: auto !important;
    padding: 18px 6vw 16px !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 14px !important;
  }

  nav {
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    gap: 0 !important;
    flex-wrap: nowrap !important;
  }

  nav a {
    font-size: 11px !important;
    white-space: nowrap !important;
  }
}
