* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #00bf63;
}

body {
  min-height: 100vh;
  margin: 0;
  background: linear-gradient(to bottom, #00bf63 0%, #00bf63 76%, #00b75e 100%);
}

.page {
  min-height: 100vh;
  padding: 2rem 1rem;
}

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  max-width: 90rem;
  margin: 0 auto;
}

.image-column,
.carousel-column {
  min-width: 0;
}

.carousel-column {
  padding-top: 0;
}

.instagram-link {
  display: flex;
  width: fit-content;
  margin: 0 auto 1rem;
  color: #064b2c;
}

.instagram-link svg {
  display: block;
  width: 2rem;
  height: 2rem;
}

.instagram-link:hover {
  color: #087b48;
}

.instagram-link:focus-visible {
  outline: 2px solid #064b2c;
  outline-offset: 4px;
}

.carousel {
  width: min(100%, 40rem);
  margin: 0 auto;
}

.carousel-viewport {
  overflow: hidden;
  height: 450px;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 350ms ease;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 450px;
  margin: 0 auto;
}

.contact-link {
  display: block;
  width: fit-content;
  margin: 1rem auto 0;
  color: #BAED6F;
  font-weight: 600;
}

.contact-link::after {
  content: " \2192";
}

.studio-intro {
  line-height: 1.6;
  padding-top: 2rem;
}

.studio-intro .signature {
  margin-top: 1.25rem;
  color: #064b2c;
  font-family: "Parisienne", "Segoe Script", cursive;
  font-size: 2.25rem;
  line-height: 1.2;
  text-align: right;
}

.studio-motto {
  color: #064b2c;
  font-size: 1.25rem;
}

.contact-page {
  position: relative;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.back-link {
  position: absolute;
  top: 2rem;
  left: 1rem;
  display: grid;
  width: 2.5rem;
  aspect-ratio: 1;
  place-items: center;
  color: #064b2c;
}

.back-link svg {
  display: block;
  width: 1.75rem;
  height: 1.75rem;
}

.back-link:hover {
  color: #087b48;
}

.back-link:focus-visible {
  outline: 2px solid #064b2c;
  outline-offset: 2px;
}

.contact-form {
  width: min(100%, 34rem);
  margin: 0 auto;
  margin-top: 1.5rem;
  padding: 2rem;
  color: #17221d;
  background: #fff;
  border-radius: 6px;
}

.contact-form h1 {
  margin: 0 0 1.5rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #a7b5ad;
  border-radius: 4px;
  font: inherit;
}

.form-field textarea {
  resize: vertical;
}

.contact-form button {
  padding: 0.7rem 1rem;
  border: 0;
  border-radius: 4px;
  color: #fff;
  background: #087b48;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.honeypot {
  display: none;
}

.form-status {
  margin: 1rem 0 0;
}

.form-status[data-state="success"] {
  color: #087b48;
}

.form-status[data-state="error"] {
  color: #b00020;
}

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

  .carousel-column {
    padding-top: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}
