:root {
  --coral: #EB795D;
  --coral-dark: #D4623F;
  --purple: #6C4D73;
  --ink: #55565A;
  --cream: #FBF6F2;
  --white: #FFFFFF;
  --line: rgba(108, 77, 115, 0.18);
  --shadow: 0 18px 40px -28px rgba(85, 86, 90, 0.45);
  --footer-h: clamp(44px, 8.8vh, 88px);
}

* {
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(235, 121, 93, 0.10), transparent 42%),
    radial-gradient(circle at 84% 88%, rgba(108, 77, 115, 0.10), transparent 46%),
    var(--cream);
  background-attachment: fixed;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: 36px 20px calc(var(--footer-h) + 32px);
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  animation: rise 0.9s ease-out forwards;
}

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

/* Intro */

.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo {
  width: min(220px, 46vw);
  height: auto;
  margin-bottom: 16px;
}

.name {
  margin: 0 0 2px;
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.6rem, 4vw, 2rem);
  color: var(--coral);
  letter-spacing: 0.01em;
}

.credential {
  margin: 0 0 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.icon-small {
  width: 15px;
  height: 15px;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
}

.social-link,
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 4px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible,
.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--coral);
  border-color: var(--coral);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Footer image (leaf veins): full width, fixed to the bottom of the viewport */

.zen-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  height: var(--footer-h);
  pointer-events: none;
  background: #FBFAF6;
  border-top: 1px solid rgba(108, 77, 115, 0.12);
}

/* Shadow cast by the content onto the top of the footer */
.zen-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 12px 14px -8px rgba(60, 50, 45, 0.45);
}

.zen-footer picture,
.zen-footer img {
  display: block;
  width: 100%;
  height: 100%;
}

.zen-footer img {
  object-fit: cover;
  object-position: 50% 50%;
}

/* Panels */

.panel {
  width: 100%;
  max-width: 560px;
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-title {
  margin: 0 0 4px;
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--purple);
}

.section-lead {
  margin: 0 0 14px;
  font-size: 0.95rem;
}

.address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 6px;
}

.contact-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 22px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.button-outline {
  color: var(--coral);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--coral);
}

.button-outline:hover {
  color: var(--white);
  background: var(--coral);
  box-shadow: 0 10px 24px -14px rgba(235, 121, 93, 0.9);
  transform: translateY(-1px);
}

.button-solid {
  color: var(--white);
  background: var(--coral);
  border: 1px solid var(--coral);
}

.button-solid:hover {
  background: var(--coral-dark);
  border-color: var(--coral-dark);
  box-shadow: 0 10px 24px -14px rgba(212, 98, 63, 0.9);
  transform: translateY(-1px);
}

.button[disabled] {
  opacity: 0.6;
  cursor: progress;
  transform: none;
}

/* Contact form */

.contact-form {
  width: 100%;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.required {
  color: var(--coral);
}

.optional {
  font-weight: 400;
  opacity: 0.75;
}

.field input,
.field textarea {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 110px;
  line-height: 1.5;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(235, 121, 93, 0.18);
}

.hint {
  margin: 0;
  font-size: 0.8rem;
  opacity: 0.8;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  cursor: pointer;
}

.consent input {
  margin: 3px 0 0;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: var(--coral);
}

.turnstile {
  display: flex;
  justify-content: center;
}

.turnstile:empty {
  display: none;
}

.contact-form .button-solid {
  align-self: center;
  min-width: 200px;
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-status:empty {
  display: none;
}

.form-status[data-state="success"] {
  color: var(--purple);
}

.form-status[data-state="error"] {
  color: var(--coral-dark);
}

/* Motion and small screens */

@media (prefers-reduced-motion: reduce) {
  .content {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .button {
    transition: none;
  }
}

@media (max-width: 560px) {
  .page {
    padding: 28px 16px calc(var(--footer-h) + 24px);
  }

  .logo {
    width: 55vw;
  }

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

  .contact-form {
    padding: 18px 16px;
  }

  .contact-form .button-solid {
    align-self: stretch;
  }
}
