.f3-contact-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: 9999px;
  height: 38px;
  padding: 0 20px;
  box-sizing: border-box;
  font-family: var(--type-aero-e-font);
  font-size: var(--type-aero-e-size);
  font-weight: var(--type-aero-e-weight);
  letter-spacing: var(--type-aero-e-spacing);
  text-transform: none;
  line-height: var(--type-aero-e-line);
  cursor: pointer;
  text-decoration: none;
  user-select: none;
  outline: none;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.18s ease,
    border-color 0.18s ease,
    opacity 0.18s ease;
  will-change: transform;
}

.f3-contact-submit-btn .f3-btn-label {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  line-height: inherit;
}

@media (hover: hover) and (pointer: fine) {
  .f3-contact-submit-btn:hover {
    background-color: #f2efe9;
    border-color: #f2efe9;
    transform: translateY(-1px);
  }
}

.f3-contact-submit-btn:active {
  transform: translateY(0) scale(0.97);
}

.f3-contact-submit-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.f3-contact-submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.f3-form-status-msg {
  font-size: 11px;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.6);
  transition: opacity 0.25s ease;
  text-align: center;
}

.f3-form-status-msg.is-success {
  color: #22c55e;
}

.f3-form-status-msg.is-error {
  color: #ef4444;
}

@media (max-width: 768px) {
  .f3-contact-corners-bar {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .f3-contact-modal-close {
    top: 16px;
    right: 16px;
  }

  .f3-form-action-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .f3-contact-submit-btn {
    width: 100%;
    text-align: center;
  }

  .f3-form-status-msg {
    text-align: center;
  }
}

/* ==========================================================================
   CURTAIN REVEAL ARCHITECTURE & EDITORIAL FOOTER (#e5e5e6)
   ========================================================================== */
.homepage-main,
.project-main-curtain,
.about-main-curtain,
.about-main-wrap,
.privacy-main-wrap,
.archive-main-curtain {
  position: relative;
  z-index: 2;
  background: #030303;
}

.f3-footer-reveal-wrap {
  position: sticky;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  background: #faf9fc;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .f3-footer-reveal-wrap {
    position: static;
    z-index: auto;
  }

  .f3-editorial-footer {
    padding-top: 25px;
    padding-bottom: 25px;
  }
}

.f3-editorial-footer {
  position: relative;
  width: 100%;
  margin-top: 0;
  padding-top: var(--f3-footer-padding-top, 25px);
  padding-bottom: 0px;
  background: #faf9fc;
  color: #030303;
  box-sizing: border-box;
}

/* 2-Column Separation Lines Above Footer */
.f3-footer-divider-row {
  display: none;
}

/* Main Grid Layout: 2 Columns (Left Stage: Contact + Socials, Right Stage: Emblem + Signature) */
.f3-footer-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: var(--f3-works-grid-gap, var(--f3-gutter-x, 25px));
  row-gap: 20px;
  width: 100%;
  align-items: stretch;
  min-height: clamp(210px, 24vh, 260px);
  margin-bottom: 25px;
}

/* Left Stage: Top-Left Contact + Top-Right Socials (aligned at top edge of Left Stage) */
.f3-footer-left-stage {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
}

.f3-footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-self: flex-start;
  text-align: left;
  flex-shrink: 0;
}

.f3-footer-email-link {
  font-family: var(--type-aero-c-font);
  font-size: 21px;
  font-weight: var(--type-aero-c-weight);
  line-height: 26.8px;
  letter-spacing: -0.65px;
  -webkit-text-stroke: 0.10px currentColor;
  paint-order: stroke fill;
  color: #030303;
  text-decoration: none;
  display: block;
  width: fit-content;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.f3-footer-email-link:hover,
.f3-footer-email-link:focus-visible {
  color: #030303;
  opacity: 0.55;
}

.f3-footer-location {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0;
  font-family: var(--type-aero-c-font);
  font-size: 21px;
  font-weight: var(--type-aero-c-weight);
  letter-spacing: -0.65px;
  line-height: 26.8px;
  -webkit-text-stroke: 0.10px currentColor;
  paint-order: stroke fill;
  color: rgba(3, 3, 3, 0.45);
}

.f3-footer-location span {
  display: block;
  line-height: 26.8px;
}

.f3-footer-socials-wrap {
  display: flex;
  justify-content: flex-end;
  align-self: flex-start;
  width: auto;
  margin-top: 0;
  flex-shrink: 0;
}

.f3-footer-socials-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.f3-footer-social-item {
  display: block;
  text-align: right;
}

.f3-footer-social-link {
  font-family: var(--type-aero-c-font);
  font-size: 21px;
  font-weight: var(--type-aero-c-weight);
  line-height: 26.8px;
  letter-spacing: -0.65px;
  -webkit-text-stroke: 0.10px currentColor;
  paint-order: stroke fill;
  color: #030303;
  text-decoration: none;
  display: inline-block;
  text-align: right;
  width: fit-content;
  transition: color 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.f3-footer-social-link:hover,
.f3-footer-social-link:focus-visible {
  color: #030303;
  opacity: 1;
}

/* Socials Focus Dimming: When any social is hovered, dim others in the list */
.f3-footer-socials-list:hover .f3-footer-social-link {
  color: rgba(3, 3, 3, 0.35);
}

.f3-footer-socials-list .f3-footer-social-link:hover {
  color: #030303;
  opacity: 1;
}

/* Right Stage: Top-Right Logo Emblem + Bottom-Right Signature Handle (@scherre at 100% divider) */
.f3-footer-right-stage {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  min-width: 0;
  overflow: visible;
}

.f3-footer-emblem-wrap {
  display: flex;
  justify-content: flex-end;
  width: 100%;
  align-self: flex-end;
}

.f3-footer-brand-mark {
  width: var(--f3-footer-logo-size, 60px);
  height: var(--f3-footer-logo-size, 60px);
  color: #030303;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-10px);
  transition: width 0.2s ease, height 0.2s ease;
}

.f3-footer-brand-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Signature Handle: @scherre (Positioned Bottom Right at 100% Divider Edge) */
.f3-footer-brand-signature {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  margin-top: auto;
  overflow: visible;
  line-height: 0.93;
}

.f3-signature-text {
  display: block;
  font-family: var(--type-aero-d-font);
  font-weight: var(--type-aero-d-weight);
  font-size: var(--type-aero-d-size);
  line-height: var(--type-aero-d-line);
  letter-spacing: var(--type-aero-d-spacing);
  color: #030303;
  white-space: nowrap;
  text-align: right;
  padding-bottom: 0;
  margin-bottom: -4px;
}

/* Authentic Neue Haas Underscore for @_phnm._ */
.neue-haas-underscore {
  font-family: 'Neue Haas Real', sans-serif;
  font-weight: 700;
  display: inline-block;
  vertical-align: baseline;
  line-height: 0;
  color: #030303;
  margin-left: var(--f3-footer-underscore-margin-left, 0px);
  margin-right: var(--f3-footer-underscore-margin-right, 0px);
  transform: scaleY(var(--f3-footer-underscore-scale-y, 1.0)) translateY(var(--f3-footer-underscore-offset-y, 0px));
  transform-origin: center bottom;
}

.neue-haas-underscore.underscore-1 {
  margin-left: var(--f3-footer-underscore-1-margin-left, var(--f3-footer-underscore-margin-left, 0px));
  margin-right: var(--f3-footer-underscore-1-margin-right, var(--f3-footer-underscore-margin-right, 0px));
}

.neue-haas-underscore.underscore-2 {
  margin-left: var(--f3-footer-underscore-2-margin-left, var(--f3-footer-underscore-margin-left, 0px));
  margin-right: var(--f3-footer-underscore-2-margin-right, var(--f3-footer-underscore-margin-right, 0px));
}

