* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #000;
}

.side-nav {
  position: fixed;
  top: 24px;
  right: 36px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.side-nav a {
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 23px;
  line-height: 1;
  padding: 5px 11px;
  border-radius: 3px;
}

.side-nav a.active {
  background: #000;
  color: #fff;
}

/* ---------- HOME ---------- */

.home-section {
  position: relative;
  padding-bottom: 40px;
  min-height: 625px;
  height: 98vh;
  overflow: hidden;
  background: #000;
  border-top: 2px solid #9b009b;
}

.home-accent-line {
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 8px;
  background: #ffb714;
  z-index: 10;
}

.black-bg {
  position: absolute;
  inset: 0;
  background: #000;
}

.white-shape {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 97%;
  background: #f7f7f7;
  clip-path: polygon(0 0, 27% 0, 100% 86%, 100% 100%, 0 100%);
}

.logo {
  position: absolute;
  font-weight: 900;
  font-size: clamp(90px, 9vw, 135px);
  letter-spacing: -6px;
}

.mi {
  top: 8%;
  left: 16%;
}

.a {
  top: 36%;
  left: 41%;
}

.rt-group {
  position: absolute;
  top: 64%;
  left: 59%;
}

.rt-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rt {
  position: static;
  font-size: clamp(100px, 10vw, 150px);
}

.star {
  color: #BADA55;
  font-size: 70px;
  line-height: 1;
}

.rt-group p {
  margin: 8px 0 0 5px;
  font-size: 22px;
}

/* ---------- ABOUT---------- */

.about-section {
  background: #ffb714;
  position: relative;
  overflow: hidden;
}

.about-content {
  width: 85%;
  margin-left: 16%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 40px;
}

.about-text {
  width: 850px;
  z-index: 2;
  padding-top: 90px;
  padding-bottom: 60px;
}

.about-text h1 {
  font-size: 48px;
  font-weight: 400;
  margin: 0 0 38px;
  line-height: 1;
  white-space: nowrap;
}

.about-text p {
  font-size: 24px;
  line-height: 1.35;
  margin: 0 0 28px;
}

.read-more-link {
  display: inline-block;
  margin-top: 12px;
  margin-bottom: 0;

  color: #000;
  text-decoration: none;
  font-size: 19px;
  line-height: 1.35;

  opacity: 1;
  transition: opacity 0.2s ease, text-decoration 0.2s ease;
}

.read-more-link:hover {
  opacity: 0.6;
}

.about-modal {
  position: fixed;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 40px;
  z-index: 99999;

  background: rgba(0, 0, 0, 0.88);

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.25s ease;
}

.about-modal.active {
  opacity: 1;
  visibility: visible;
}

.about-modal-content {
  position: relative;

  max-width: 760px;
  padding: 60px;

  background: #fff;
  color: #000;

  border: 2px solid #000;
  border-radius: 12px;

  transform: translateY(10px);
  transition: transform 0.25s ease;
}

.about-modal.active .about-modal-content {
  transform: translateY(0);
}

.about-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;

  background: none;
  border: none;

  color: #000;
  font-size: 42px;
  cursor: pointer;
}

.about-modal-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 50px;
}

.about-modal-text p {
  font-size: 16px;
  line-height: 1.35;
}

.about-modal-text p:first-child {
  margin-top: 0;
}

.about-modal-image {
  width: 320px;
  height: auto;
  flex-shrink: 0;

  border: 5px solid #000;
  box-shadow: 20px 20px 0 #000;
}

.about-modal-star {
  position: absolute;

  top: 100px;
  left: 50px; /* aligns with modal padding */

  font-size: 50px;
  color: #BADA55;

  opacity: 0.9;
}

.about-modal-star:hover {
  animation: wiggle 0.8s ease-in-out;
}

.portrait {
  height: 780px;
  width: auto;
  max-width: none;
  object-fit: contain;
  position: relative;
  top: 20px;
  left: -190px;
  margin-bottom: -10px;
}

/* ---------- GALLERY ---------- */

.gallery-section {
  background: #ffffff;
  padding: 60px 0 10px;
}

.gallery-accent-line {
  width: 100%;
  height: 8px;
  background: #BADA55;
  margin-top: 50px;
}

.gallery-title {
  margin-left: 16%;
  margin-bottom: 80px;
  font-size: 88px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
}

.art-grid {
  width: 100%;
  margin-left: 16%;

  display: grid;
  grid-template-columns: 500px 500px;
 column-gap: 60px;
 row-gap: 20px;
}

.art-details {
  margin-top: 0.5px;
  font-size: 16px;
  line-height: 0.7;
  color: #555;
}

.art-card {
  display: flex;
  flex-direction: column;
}

.art-card img {
  width: 100%;
  border: 5px solid #000;
  display: block;
}

.art-card h2 {
  margin-top: 38px;
  font-size: 24px;
  font-weight: 400;
}

.carousel {
  margin-top: 0px;
}

.gladiolus {
  margin-top: 100px;
}

.avocado {
  margin-top: -150px;
}

.dreams {
  margin-top: 70px;
}

/* ---------- CONNECT ---------- */
.contact-section {
  background: #BADA55;
  padding: 60px 0;
}

.contact-title {
  margin-left: 16%;
  margin-bottom: 60px;

  font-size: 88px;
  font-weight: 900;
  letter-spacing: -4px;
  line-height: 1;
}

.contact-info {
  margin-left: 16%;
}

.contact-info p {
  font-size: 19px;
  line-height: 1.35;
  margin: 0 0 24px 0;
}

.contact-info a {
  color: inherit;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* ---------- FOOTER ---------- */
.footer {
  background: #000;
  color: #fff;

  display: flex;
  align-items: center;

  padding: 28px 0;
  padding-left: 16%;
}

.footer p {
  margin: 0;
  font-size: 32px;
  font-weight: 800;
}

.footer-star {
  color: #BADA55;
  font-size: 48px;
  position: relative;
  margin-left: 220px;
}

.side-nav a {
  transition: background 0.2s ease, color 0.2s ease;
}

.side-nav a:hover {
  background: #000;
  color: #fff;
}

.art-card img {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.art-card:hover img {
  transform: translateY(-8px);
  box-shadow: 12px 12px 0 #000;
}

.contact-info a {
  transition: opacity 0.2s ease;
}

.contact-info a:hover {
  opacity: 0.6;
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

.star,
.footer-star {
  transition: transform 0.2s ease;
}

.star:hover,
.footer-star:hover {
  animation: wiggle 0.7s ease-in-out;
}

@keyframes wiggle {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-12deg);
  }

  50% {
    transform: rotate(12deg);
  }

  75% {
    transform: rotate(-8deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

.artwork-modal {
  position: fixed;
  inset: 0;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 40px;
  z-index: 99999;

  background: rgba(0, 0, 0, 0.88);

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.25s ease;
}

.artwork-modal.active {
  opacity: 1;
  visibility: visible;
}

.artwork-modal-content {
  position: relative;

  max-width: 900px;
  padding: 100px 100px 120px;

  background: #fff;
  color: #000;

  border: 2px solid #000;
  border-radius: 12px;

  transform: translateY(10px);
  transition: transform 0.25s ease;
}

.artwork-modal.active .artwork-modal-content {
  transform: translateY(0);
}

.artwork-modal-close {
  position: absolute;
  top: 16px;
  right: 22px;

  background: none;
  border: none;

  color: #000;
  font-size: 42px;
  cursor: pointer;
}

.artwork-modal-layout {
  display: flex;
  align-items: flex-end;
  gap: 50px;
}

.artwork-modal-text {
  max-width: 360px;
}

.artwork-modal-text h2 {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 400;
}

.artwork-modal-text p {
  font-size: 16px;
  line-height: 1.35;
}

.artwork-modal-image-area {
  position: relative;
}

.artwork-modal-image {
  width: 320px;
  max-height: 480px;
  object-fit: contain;

  border: 5px solid #000;
  box-shadow: 20px 20px 0 #000;
}

.artwork-modal-video {
  display: none;

  width: 320px;
  max-height: 480px;
  object-fit: contain;

  border: 5px solid #000;
  box-shadow: 20px 20px 0 #000;
  background: #000;
}

.artwork-modal-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -62px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.artwork-modal-arrows {
  display: flex;
  gap: 16px;
}

.artwork-modal-arrows button {
  background: none;
  border: none;

  font-size: 28px;
  cursor: pointer;

  padding: 0;
}

.artwork-modal-arrows button:hover {
  opacity: 0.6;
}

.artwork-modal-indicator {
  font-size: 12px;
  color: #000;
}

.artwork-modal-meta p {
  margin: 0 0 4px;
  font-size: 16px;
  line-height: 1.35;
}

#artwork-modal-description {
  margin-top: 24px;
}

/* ========================================
   GLOBAL
   ======================================== */

html,
body {
  width: 100%;
  overflow-x: hidden;
}

.home-section {
  width: 100vw;
  height: 100svh;
  min-height: 620px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* ---------- DESKTOP ---------- */

@media (min-width: 1201px) {
  .logo {
    font-size: clamp(120px, 8vw, 160px);
  }

  .mi {
    top: 10%;
    left: 16%;
  }

  .a {
    top: 36%;
    left: 41%;
  }

  .rt-group {
    top: 62%;
    left: 58%;
  }

  .rt-group p {
    font-style: normal;
    font-size: 20px;
  }

  .art-grid {
    width: 82%;
    margin-left: 14%;
    grid-template-columns: minmax(360px, 560px) minmax(360px, 560px);
    column-gap: 7%;
  }
}

/* ---------- LAPTOP ---------- */

@media (max-width: 1200px) {
  .about-content {
    margin-left: 10%;
    width: 85%;
    gap: 30px;
  }

  .about-text {
    width: 55%;
  }

  .about-text h1 {
    font-size: 40px;
  }

  .about-text p {
    font-size: 20px;
  }

  .portrait {
    height: 680px;
    left: -120px;
  }

  .gallery-title,
  .contact-title,
  .contact-info {
    margin-left: 10%;
  }

  .art-grid {
    margin-left: 10%;
    grid-template-columns: 420px 420px;
  }

  .footer {
    padding-left: 10%;
    padding-right: 10%;
  }

  .footer p {
    font-size: 28px;
    line-height: 1.1;
  }

  .footer-star {
    margin-left: auto;
  }

  .about-modal-content {
  max-width: 680px;
  padding: 50px;
}

.about-modal-layout {
  gap: 35px;
}

.about-modal-image {
  width: 260px;
}

.about-modal-text p {
  font-size: 14px;
}

.about-modal-star {
  font-size: 40px;
  left: 35px;
  top: 75px;
}
}

/* ---------- LARGE TABLET (iPad Pro) ---------- */

@media (max-width: 1100px) {

  /* ---------- HOME: LARGE TABLET ---------- */
  

.home-section {
  height: 40svh;
  min-height: 620px;
  overflow: hidden;
}

  .white-shape {
    height: 96%;
    clip-path: polygon(
      0 0,
      27% 0,
      120% 100%,
      0 100%
    );
  }

  .logo {
    font-size: clamp(100px, 11vw, 125px);
    letter-spacing: -5px;
  }

  .rt {
    font-size: clamp(85px, 9vw, 100px);
    letter-spacing: -5px;
  }

  .mi {
    top: 10%;
    left: 12%;
  }

  .a {
    top: 38%;
    left: 40%;
  }

  .rt-group {
    top: 63%;
    left: 58%;
  }

  .rt-row {
    gap: 12px;
  }

  .star {
    font-size: 38px;
  }

  .rt-group p {
    font-size: 17px;
    margin-top: 4px;
  }

  .side-nav {
    top: 4%;
    right: 24px;
  }

   /* ---------- ABOUT: LARGE TABLET ---------- */

  .about-modal {
  align-items: flex-start;
  padding-top: 130px;
}

  .about-modal-content {
  position: relative;
  max-width: 720px;
  padding: 44px;
}

  .about-modal-layout {
  display: flex;
  align-items: flex-end;
  gap: 32px;
}

  .about-modal-text {
  flex: 1;
}

  .about-modal-text p {
  font-size: 14px;
  line-height: 1.45;
}

  .about-modal-image {
  width: 250px;
  flex-shrink: 0;
}

  .about-modal-close {
  font-size: 30px;
  top: 10px;
  right: 16px;
}

  .about-modal-star {
  display: block;
  position: absolute;
  z-index: 20;
  color: #BADA55;
  font-size: 30px;
  left: 38px;
  top: 95px;
}

/* ---------- GALLERY: LARGE TABLET ---------- */

.artwork-modal {
  align-items: flex-start;
  padding-top: 90px;
}

/* ---------- CONNECT: LARGE TABLET ---------- */

.contact-section {
  min-height: 15svh;
  padding-top: 20px;
  padding-bottom: 35px;
}

.contact-title {
  margin-left: 10%;
  font-size: clamp(70px, 9vw, 100px);
  margin-bottom: 40px;
}

.contact-info {
  margin-left: 10%;
  font-size: 14px;
  margin-bottom: 40px;
}

/* ---------- FOOTER: LARGE TABLET ---------- */

.footer {
  min-height: 10svh;
  padding-top: 30px;
  padding-bottom: 35px;
  padding-left: 10%;
  padding-right: 10%;
  gap: 40px;
}

.footer p {
  font-size: 24px;
  line-height: 1.1;
  max-width: 560px;
}

.footer-star {
  margin-left: auto;
  font-size: 52px;
}
}

/* ---------- SMALL TABLET (iPad Mini, iPad Air, Surface Pro 7) ---------- */

@media (max-width: 950px) {

  /* ---------- HOME: SMALL TABLET ---------- */

  .home-section {
  height: 65svh;
  min-height: 720px;
  overflow: hidden;
}

.white-shape {
  height: 96%;
  clip-path: polygon(
    0 0,
    27% 0,
    120% 100%,
    0 100%
  );
}

.logo {
  font-size: clamp(95px, 13vw, 125px);
  letter-spacing: -5px;
}

.rt {
  font-size: clamp(80px, 11vw, 100px);
  letter-spacing: -5px;
}

.mi {
  top: 8%;
  left: 11%;
}

.a {
  top: 35%;
  left: 34%;
}

.rt-group {
  top: 62%;
  left: 52%;
}

.rt-row {
  gap: 12px;
}

.star {
  font-size: 42px;
}

.rt-group p {
  font-size: 17px;
  margin-top: 4px;
}

.side-nav {
  top: clamp(28px, 5vh, 48px);
  right: 20px;
}

/* ---------- ABOUT: SMALL TABLET ---------- */

.about-content {
  margin-left: 10%;
  width: 85%;
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-text {
  width: 62%;
}

.about-text h1 {
  font-size: clamp(34px, 2vw, 44px);
}

.about-text p {
  font-size: clamp(17px, 1.4vw, 20px);
}

.portrait {
  display: block;
  height: 660px;
  left: -180px;
}

.about-modal {
  align-items: flex-start;
  padding-top: 170px;
}

.about-modal-content {
  max-width: 620px;
  padding: 38px;
}

.about-modal-layout {
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.about-modal-text {
  flex: 1;
}

.about-modal-text p {
  font-size: 13px;
  line-height: 1.45;
}

.about-modal-image {
  width: 210px;
  flex-shrink: 0;
}

.about-modal-content {
  position: relative;
}

.about-modal-star {
  display: block !important;
  position: absolute;
  z-index: 20;
  color: #BADA55;
  font-size: 28px;
  left: 38px;
  top: 55px;
}

.about-modal-close {
  font-size: 28px;
  top: 10px;
  right: 12px;
}

  .about-modal-content {
    max-width: 620px;
    padding: 40px;
  }

  .about-modal-layout {
    gap: 25px;
  }

  .about-modal-image {
    width: 220px;
  }

  .about-modal-text p {
    font-size: 13px;
  }

  .about-modal-star {
    display: none;
  }

/* ---------- GALLERY: SMALL TABLET ---------- */

 .gallery-title {
  margin-left: 10%;
}

.art-grid {
  margin-left: 10%;
  width: 500px;
  grid-template-columns: 500px;
}

.carousel,
.gladiolus,
.avocado,
.dreams {
  margin-top: 0;
}

.artwork-modal {
  align-items: flex-start;
  padding-top: 55px;
  padding-bottom: 30px;
}

.artwork-modal-content {
  max-height: 86svh;
  overflow: hidden;
}

.artwork-modal-layout {
  grid-template-columns: 30% 1fr;
  column-gap: 24px;
}

.artwork-modal-text {
  display: flex;
  flex-direction: column;
}

.artwork-modal-meta {
  margin-bottom: 8px;
}

#artwork-modal-description {
  margin-top: 0;
}

#artwork-modal-title {
  margin-bottom: 10px;
}

.artwork-modal-image-area {
  grid-column: 2;
  align-self: start;
  margin-top: 6px;
}

.artwork-modal-image,
.artwork-modal-video {
  max-height: 36svh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.artwork-modal-controls {
  margin-top: 8px;
}

  /* ---------- FOOTER: SMALL TABLET ---------- */

  .footer {
    padding-left: 10%;
    padding-right: 10%;
    gap: 40px;
  }

  .footer p {
    font-size: 24px;
    line-height: 1.1;
    max-width: 560px;
  }

  .footer-star {
    margin-left: auto;
    font-size: 52px;
  }

}

/* ---------- MOBILE ---------- */

@media (max-width: 600px) {
  
  /* ---------- HOME: MOBILE ---------- */

  .home-section {
    height: 100vh;
    min-height: 620px;
    padding-bottom: 28px;
  }

  .white-shape {
    height: 94%;
    clip-path: polygon(
      0 0,
      42% 0,
      100% 78%,
      100% 100%,
      0 100%
    );
  }

  .logo {
    font-size: clamp(70px, 22vw, 105px);
    letter-spacing: -4px;
  }

  .mi {
    top: 8%;
    left: 10%;
  }

  .a {
    top: 36%;
    left: 34%;
  }

  .rt-group {
    top: 66%;
    left: 42%;
  }

  .rt {
    font-size: clamp(70px, 22vw, 105px);
  }

  .rt-row {
    gap: 12px;
  }

  .rt-group .star {
    font-size: 34px;
  }

  .rt-group p {
    font-size: 15px;
    margin-top: 4px;
  }

  .home-accent-line {
    bottom: 10px;
    height: 7px;
  }

  .side-nav {
    top: 6%;
    right: 16px;
    gap: 6px;
  }

  .side-nav a {
    font-size: 15px;
    padding: 5px 8px;
  }

/* ---------- ABOUT: MOBILE ---------- */

  .about-content {
  margin-top: -40px;
  margin-left: 8%;
  margin-bottom: -24px;
  width: 84%;
  display: flex;
  align-items: center;
  gap: 10px;
}

  .about-text {
    width: 48%;
  }

  .about-text h1 {
    font-size: clamp(24px, 3vw, 34px);
    line-height: 0.5;
  }

  .about-text p {
    font-size: clamp(13px, 3.2vw, 15px);
    line-height: 1.2;
    margin-top: -10px;
  }

  .portrait {
  display: block;
  height: 380px;
  top: 84px;
  left: -90px;
   }

.read-more-link {
  font-size: 16px;
  margin-top: -20px;
}

.about-modal {
  align-items: flex-start;
  padding-top: 70px;
  padding-left: 16px;
  padding-right: 16px;
}

.about-modal-content {
  position: relative;
  width: 100%;
  max-width: 360px;
  padding: 34px 24px 28px;
}

.about-modal-layout {
  display: flex;
  flex-direction: column;
}

.about-modal-image {
  order: 1;
  width: 140px;
  align-self: flex-end;
  margin-top: -5px;
  margin-right: 22px;
  margin-bottom: 20px;
}

.about-modal-text {
  order: 2;
  width: 100%;
}

.about-modal-text p {
  font-size: 13px;
  line-height: 1.4;
}

.about-modal-close {
  font-size: 28px;
  top: 8px;
  right: 14px;
}

.about-modal-star {
  display: block;
  position: absolute;
  z-index: 20;
  color: #BADA55;
  font-size: 40px;
  left: 22px;
  top: 185px;
}

/* ---------- GALLERY: MOBILE ---------- */

.gallery-title {
  font-size: clamp(48px, 14vw, 70px);
  margin-left: 8%;
  margin-top: -10px;
}

.art-grid {
  width: 82%;
  margin-left: 8%;
  margin-top: -40px;
  grid-template-columns: 1fr;
}

.artwork-modal-layout {
  display: flex;
  flex-direction: column;
}

.artwork-modal-image-area {
  order: 1;
  width: 100%;
  margin-bottom: 24px;
}

.artwork-modal-image,
.artwork-modal-video {
  width: 100%;
  max-height: 55svh;
  object-fit: contain;
}

.artwork-modal-text {
  order: 2;
  width: 100%;
  max-width: none;
}

#artwork-modal-title {
  font-size: 22px;
  line-height: 0.95;
  margin-bottom: 16px;
}

.artwork-modal-meta {
  margin-bottom: 12px;
}

.artwork-modal-meta p {
  margin: 0;
}

.art-card h2 {
  margin-top: 20px;
  margin-bottom: 15px;
}

.art-card .art-details:first-of-type {
  margin-bottom: 15px;
}

.artwork-modal-meta p,
#artwork-modal-description {
  font-size: 12px;
  line-height: 1.3;
}

.artwork-modal-content {
  padding: 40px;
}

.artwork-modal-close {
  top: 12px;
  right: 12px;
  font-size: 28px;
}

.artwork-modal-arrows button {
  -webkit-appearance: none;
  appearance: none;

  background: transparent;
  border: none;
  border-radius: 0;

  color: #000;
  font: inherit;
  cursor: pointer;
}

/* ---------- CONNECT: MOBILE ---------- */

.contact-title {
  font-size: clamp(48px, 14vw, 70px);
  margin-left: 8%;
  margin-bottom: 30px;
}

.contact-info {
  margin-left: 8%;
  margin-bottom: 20px;
}

.contact-info p,
.contact-info a {
  font-size: 14px;
  line-height: 1.4;
}

/* ---------- CONNECT: MOBILE ---------- */

.footer {
  height: auto;
  min-height: auto;
  padding-top: 16px;
  padding-bottom: 16px;
  padding-left: 8%;
  padding-right: 8%;
}

.footer p {
  font-size: 12px;
  line-height: 1;
  margin: 0;
  max-width: 500px;
}

.footer-star {
  font-size: 28px;
  left: -10px;
}

}

/* ---------- TALL NARROW MOBILE FIX ---------- */

@media (max-width: 430px) and (max-height: 760px) {
  .portrait {
    height: 390px;
    top: 92px;
  }
}
