:root {
  --black: #000;
  --near: #050507;
  --white: #fff;
  --paper: #f5f5f7;
  --blue: #0071e3;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --nav: 44px;
  --gap: 12px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
[id] {
  scroll-margin-top: 44px;
}
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue",
    "PingFang SC", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select,
textarea {
  font: inherit;
}
.ribbon {
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  font-size: 13px;
}
.ribbon p {
  margin: 0;
  text-align: center;
  padding: 0 18px;
}
.ribbon a {
  color: #06c;
  margin-left: 8px;
}

.optional-announcement {
  display: none;
}

.optional-announcement[data-announcement-visible="true"] {
  display: flex;
  width: 100%;
  min-height: 52px;
  height: auto;
  padding: 16px 0;
  background: #0071e3;
  color: #f5f5f7;
  font-family:
    "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.016em;
  animation: announcement-ribbon-background 0.8s
    cubic-bezier(0.42, 0, 0.58, 1) 1.6s forwards;
}

.optional-announcement[data-announcement-visible="true"] p {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 87.5%;
  max-width: 860px;
  padding: 0;
  color: #f5f5f7;
  animation: announcement-ribbon-text 0.8s
    cubic-bezier(0.42, 0, 0.58, 1) 1.6s forwards;
}

.optional-announcement[data-announcement-visible="true"]
  .announcement-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 20px;
}

.optional-announcement[data-announcement-visible="true"] a {
  display: inline-flex;
  align-items: center;
  margin-left: 4px;
  color: #f5f5f7;
  animation: announcement-ribbon-link 0.8s
    cubic-bezier(0.42, 0, 0.58, 1) 1.6s forwards;
}

.optional-announcement[data-announcement-visible="true"] a::after {
  content: "";
  position: static;
  flex: 0 0 auto;
  align-self: center;
  display: inline-block;
  width: 5.96875px;
  height: 8px;
  margin-left: 3.36px;
  padding: 0;
  background-color: currentColor;
  transform: translateY(1px);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 8'%3E%3Cpath d='M1.4 .75L4.5 4l-3.1 3.25' fill='none' stroke='%23000' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 6 8'%3E%3Cpath d='M1.4 .75L4.5 4l-3.1 3.25' fill='none' stroke='%23000' stroke-width='1.15' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

@keyframes announcement-ribbon-background {
  from {
    background-color: #0071e3;
  }
  to {
    background-color: #fff;
  }
}

@keyframes announcement-ribbon-text {
  from {
    color: #f5f5f7;
  }
  to {
    color: #1d1d1f;
  }
}

@keyframes announcement-ribbon-link {
  from {
    color: #f5f5f7;
  }
  to {
    color: #06c;
  }
}
.panel {
  position: relative;
  height: 580px;
  min-height: 580px;
  overflow: hidden;
  text-align: center;
  margin-bottom: var(--gap);
}
.panel-dark {
  background: #000;
  color: #f5f5f7;
}
.panel-light {
  background: #f5f5f7;
}
.panel-silver {
  background: linear-gradient(180deg, #e9ebef, #fafafa);
}
.panel-copy {
  position: relative;
  z-index: 3;
  padding: 48px 20px 0;
  margin: auto;
}
.overline {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  margin: 0 0 8px;
  color: #626268;
}
.panel-dark .overline,
.tile-black .overline,
.tile-violet .overline {
  color: #a1a1a6;
}
.panel h1,
.panel h2 {
  font-size: 56px;
  line-height: 1.0714285714;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0;
}
.panel-copy > p:not(.overline) {
  font-size: 28px;
  line-height: 1.1428571429;
  font-weight: 400;
  letter-spacing: 0.007em;
  margin: 6px auto 0;
}
.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 17px;
  margin-top: 17px;
}
.button {
  display: inline-block;
  box-sizing: content-box;
  min-width: 28px;
  border: 1px solid transparent;
  border-radius: 980px;
  padding: 8px 15px;
  font-family:
    "SF Pro Text", "SF Pro Icons", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: 14px;
  line-height: 18.0008px;
  font-weight: 400;
  letter-spacing: -0.016em;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}
.button.blue {
  background: #0071e3;
  color: #fff;
}
.button.blue:hover {
  background: #0076df;
}
.button.blue:active {
  background: #006edb;
}
.button.secondary {
  border-color: #0071e3;
  background: transparent;
  color: #0071e3;
}
.button.secondary:hover {
  border-color: transparent;
  background: #0076df;
  color: #fff;
}
.button.secondary:active {
  border-color: transparent;
  background: #006edb;
  color: #fff;
}
.panel-dark .button.secondary,
.tile-black .button.secondary,
.tile-violet .button.secondary {
  border-color: #0071e3;
  color: #0071e3;
}
.panel-dark .button.secondary:hover,
.panel-dark .button.secondary:active,
.tile-black .button.secondary:hover,
.tile-black .button.secondary:active,
.tile-violet .button.secondary:hover,
.tile-violet .button.secondary:active {
  border-color: transparent;
  color: #fff;
}
.panel .actions .button,
.tile-wide .actions .button {
  min-width: 26px;
  padding: 11px 21px;
  font-size: 17px;
  line-height: 20.0002px;
  letter-spacing: -0.022em;
}
.tile-square .actions {
  gap: 14px;
  margin-top: 12px;
}
.button.white {
  background: #f5f5f7;
  color: #1d1d1f;
}
.text-button {
  font-size: 16px;
  color: #06c;
}
.text-button.light {
  color: #2997ff;
}
.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  padding: 0 var(--gap) var(--gap);
  background: #fff;
}
.tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  text-align: center;
}
.tile-square {
  aspect-ratio: 1;
}
.tile-wide {
  grid-column: 1/-1;
  height: 580px;
}
.tile-white {
  background: #f5f5f7;
}
.tile-black {
  background: #000;
  color: #f5f5f7;
}
.tile-ice {
  background: #eaf0f8;
}
.tile-violet {
  background: #18172a;
  color: #fff;
}
.tile-copy {
  position: relative;
  z-index: 2;
  padding: 53px 22px 0;
}
.tile-copy h2 {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0;
  margin: 0;
}
.tile-copy > p:not(.overline) {
  font-size: 21px;
  line-height: 1.1904761905;
  font-weight: 400;
  letter-spacing: 0.011em;
  margin: 3px 0 0;
}
.tile-wide .tile-copy {
  padding-top: 48px;
}
.tile-wide .tile-copy h2 {
  font-size: 56px;
  line-height: 1.0714285714;
  letter-spacing: -0.005em;
}
.tile-wide .tile-copy > p:not(.overline) {
  font-size: 28px;
  line-height: 1.1428571429;
  letter-spacing: 0.007em;
  margin-top: 6px;
}
.tile-wide .actions {
  gap: 17px;
  margin-top: 17px;
}
.tile-art {
  position: absolute;
  inset: 210px 0 0;
  display: grid;
  place-items: center;
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.form-grid {
  width: min(760px, calc(100% - 40px));
  margin: 32px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: left;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.form-field.full {
  grid-column: 1/-1;
}
.form-field label,
.form-choice legend {
  font-size: 12px;
  color: #6e6e73;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  padding: 12px 13px;
  background: #fff;
  outline: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: #0071e3;
  box-shadow: 0 0 0 3px #0071e31c;
}
.form-choice {
  grid-column: 1/-1;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  gap: 10px;
}
.form-choice legend {
  width: 100%;
  margin-bottom: 7px;
}
.form-choice label {
  flex: 1;
}
.form-choice input {
  position: absolute;
  opacity: 0;
}
.form-choice span {
  display: block;
  padding: 11px;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  text-align: center;
  background: #fff;
}
.form-choice input:checked + span {
  border-color: #0071e3;
  background: #0071e3;
  color: #fff;
}
.form-consent {
  grid-column: 1/-1;
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: 12px;
  color: #6e6e73;
}
.form-submit {
  grid-column: 1/-1;
  justify-self: center;
}
.form-status {
  grid-column: 1/-1;
  min-height: 18px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: #6e6e73;
}
@media (max-width: 734px) {
  .ribbon {
    height: 60px;
  }
  .ribbon p {
    line-height: 1.4;
  }
  .panel {
    height: 500px;
    min-height: 500px;
  }
  .panel h1,
  .panel h2 {
    font-size: 32px;
    line-height: 1.125;
    letter-spacing: 0.002em;
  }
  .panel-copy {
    padding-top: 39px;
  }
  .panel-copy > p:not(.overline) {
    font-size: 19px;
    line-height: 1.2105263158;
    letter-spacing: 0.012em;
    margin-top: 4px;
  }
  .actions,
  .tile-square .actions {
    gap: 14px;
    margin-top: 11px;
  }
  .panel .actions .button,
  .tile-wide .actions .button {
    min-width: 28px;
    padding: 8px 15px;
    font-size: 14px;
    line-height: 18.0008px;
    letter-spacing: -0.016em;
  }
  .tile-grid {
    grid-template-columns: 1fr;
    padding-left: 0;
    padding-right: 0;
  }
  .tile-square {
    aspect-ratio: 1;
  }
  .tile-wide {
    grid-column: auto;
    height: 500px;
  }
  .tile-copy {
    padding: 39px 18px 0;
  }
  .tile-copy h2 {
    font-size: 32px;
    line-height: 1.125;
    letter-spacing: 0.002em;
  }
  .tile-copy > p:not(.overline) {
    font-size: 19px;
    line-height: 1.2105263158;
    letter-spacing: 0.012em;
    margin-top: 4px;
  }
  .tile-art {
    inset: 195px 0 0;
  }
  .form-grid {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    gap: 13px;
  }
  .form-field.full,
  .form-choice,
  .form-consent,
  .form-submit,
  .form-status {
    grid-column: auto;
  }
  .form-choice {
    flex-direction: column;
  }
  .form-tile {
    height: auto;
    min-height: 720px;
    padding-bottom: 42px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    transition: none !important;
  }
  .optional-announcement[data-announcement-visible="true"],
  .optional-announcement[data-announcement-visible="true"] p,
  .optional-announcement[data-announcement-visible="true"] a {
    animation: none;
  }
  .optional-announcement[data-announcement-visible="true"] {
    background: #fff;
    color: #1d1d1f;
  }
  .optional-announcement[data-announcement-visible="true"] p {
    color: #1d1d1f;
  }
  .optional-announcement[data-announcement-visible="true"] a {
    color: #06c;
  }
}

@media (max-width: 734px) {
  [id] {
    scroll-margin-top: 48px;
  }
}

.hero-upload-background {
  background-image: var(--editable-background-image) !important;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.hero-background-footer {
  background: #f5f5f7 !important;
  color: #1d1d1f !important;
}

.hero-background-footer .button.secondary:not(:hover):not(:active) {
  border-color: #0071e3;
  color: #0071e3;
}

[data-footer-theme="dark"] .hero-background-footer {
  background: #1d1d1f !important;
  color: #f5f5f7 !important;
}

[data-footer-theme="dark"] .hero-background-footer .button.secondary:not(:hover):not(:active) {
  border-color: #0071e3;
  color: #0071e3;
}
.form-field.invalid input {
  border-color: #d70015;
}
.panel[data-block-href],
.tile[data-block-href] {
  cursor: pointer;
}
[data-site="personal"],
[data-site="wedding"] {
  --apple-hero-height: 580px;
  --apple-promo-height: 580px;
}
[data-site="personal"] .panel,
[data-site="personal"] .tile-wide,
[data-site="wedding"] .panel,
[data-site="wedding"] .tile-wide {
  height: var(--apple-hero-height);
  min-height: var(--apple-hero-height);
  aspect-ratio: auto;
}
[data-site="personal"] .tile-square,
[data-site="wedding"] .tile-square {
  height: var(--apple-promo-height);
  min-height: var(--apple-promo-height);
  aspect-ratio: auto;
}
[data-site="personal"] .tile-square,
[data-site="wedding"] .tile-square {
  grid-column: span 1;
  width: auto;
}
[data-site="personal"] .tile-wide,
[data-site="wedding"] .tile-wide {
  grid-column: 1 / -1;
  width: auto;
}
[data-site="personal"] .tile:not(.tile-square):not(.tile-wide),
[data-site="wedding"] .tile:not(.tile-square):not(.tile-wide) {
  display: none;
}
@media (min-width: 735px) and (max-width: 1068px) {
  [data-site="personal"],
  [data-site="wedding"] {
    --apple-hero-height: 570px;
    --apple-promo-height: 490px;
  }
  [data-site="personal"] .panel-copy,
  [data-site="wedding"] .panel-copy {
    padding-top: 54px;
  }
  [data-site="personal"] .panel h1,
  [data-site="personal"] .panel h2,
  [data-site="wedding"] .panel h1,
  [data-site="wedding"] .panel h2 {
    font-size: 48px;
    line-height: 1.0834933333;
    letter-spacing: -0.002em;
  }
  [data-site="personal"] .panel-copy > p:not(.overline),
  [data-site="wedding"] .panel-copy > p:not(.overline) {
    font-size: 24px;
    line-height: 1.1666666667;
    letter-spacing: 0.009em;
    margin-top: 6px;
  }
  [data-site="personal"] .panel .actions,
  [data-site="wedding"] .panel .actions {
    margin-top: 17px;
  }
  [data-site="personal"] .tile-copy,
  [data-site="wedding"] .tile-copy {
    padding-top: 44px;
  }
  [data-site="personal"] .tile-copy h2,
  [data-site="wedding"] .tile-copy h2 {
    font-size: 32px;
    line-height: 1.125;
    letter-spacing: 0.002em;
  }
  [data-site="personal"] .tile-copy > p:not(.overline),
  [data-site="wedding"] .tile-copy > p:not(.overline) {
    font-size: 19px;
    line-height: 1.2105263158;
    letter-spacing: 0.012em;
    margin-top: 3px;
  }
  [data-site="personal"] .tile-wide .tile-copy,
  [data-site="wedding"] .tile-wide .tile-copy {
    padding-top: 54px;
  }
  [data-site="personal"] .tile-wide .tile-copy h2,
  [data-site="wedding"] .tile-wide .tile-copy h2 {
    font-size: 48px;
    line-height: 1.0834933333;
    letter-spacing: -0.002em;
  }
  [data-site="personal"] .tile-wide .tile-copy > p:not(.overline),
  [data-site="wedding"] .tile-wide .tile-copy > p:not(.overline) {
    font-size: 24px;
    line-height: 1.1666666667;
    letter-spacing: 0.009em;
    margin-top: 6px;
  }
  [data-site="personal"] .tile-wide .actions,
  [data-site="wedding"] .tile-wide .actions {
    margin-top: 17px;
  }
}
@media (min-width: 1069px) and (min-height: 776px) {
  [data-site="personal"],
  [data-site="wedding"] {
    --apple-hero-height: 692px;
  }
  [data-site="personal"] .panel-copy,
  [data-site="wedding"] .panel-copy {
    padding-top: 56px;
  }
  [data-site="personal"] .tile-wide .tile-copy,
  [data-site="wedding"] .tile-wide .tile-copy {
    padding-top: 56px;
  }
}
@media (min-width: 735px) and (max-width: 1068px) and (min-height: 734px) {
  [data-site="personal"],
  [data-site="wedding"] {
    --apple-hero-height: 650px;
  }
  [data-site="personal"] .panel-copy,
  [data-site="wedding"] .panel-copy {
    padding-top: 61px;
  }
  [data-site="personal"] .tile-wide .tile-copy,
  [data-site="wedding"] .tile-wide .tile-copy {
    padding-top: 61px;
  }
}
@media (max-width: 734px) {
  [data-site="personal"],
  [data-site="wedding"] {
    --apple-hero-height: 500px;
    --apple-promo-height: 500px;
  }
  [data-site="personal"] .panel,
  [data-site="personal"] .tile-wide,
  [data-site="wedding"] .panel,
  [data-site="wedding"] .tile-wide {
    width: 100%;
    height: var(--apple-hero-height);
    min-height: var(--apple-hero-height);
    aspect-ratio: auto;
  }
  [data-site="personal"] .tile-square,
  [data-site="wedding"] .tile-square {
    width: 100%;
    height: var(--apple-promo-height);
    min-height: var(--apple-promo-height);
    aspect-ratio: auto;
  }
  [data-site="personal"] .tile-wide .tile-copy,
  [data-site="wedding"] .tile-wide .tile-copy {
    padding-top: 39px;
  }
  [data-site="personal"] .tile-wide .tile-copy h2,
  [data-site="wedding"] .tile-wide .tile-copy h2 {
    font-size: 32px;
    line-height: 1.125;
    letter-spacing: 0.002em;
  }
  [data-site="personal"] .tile-wide .tile-copy > p:not(.overline),
  [data-site="wedding"] .tile-wide .tile-copy > p:not(.overline) {
    font-size: 19px;
    line-height: 1.2105263158;
    letter-spacing: 0.012em;
    margin-top: 4px;
  }
  [data-site="personal"] .tile-wide .actions,
  [data-site="wedding"] .tile-wide .actions {
    gap: 14px;
    margin-top: 11px;
  }
  [data-site="personal"] .tile-square,
  [data-site="personal"] .tile-wide,
  [data-site="wedding"] .tile-square,
  [data-site="wedding"] .tile-wide {
    grid-column: auto;
  }
}
