main {
  font-family: "DM Sans", sans-serif;
  line-height: 1.5;
}
main h1,
main h2,
main h3,
main p,
main figure {
  margin: 0;
}
main img {
  display: block;
  max-width: 100%;
}
main a {
  color: inherit;
}
main summary {
  cursor: pointer;
}
main details p {
  margin-top: 0.65rem;
}
main :focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 4px;
}
main section[id] {
  scroll-margin-top: 1rem;
}
main {
  background: #f6edf0;
  color: #492b3a;
}
.so-head {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px min(5vw, 72px);
  background: #f6edf0;
  color: #492b3a;
  gap: 10px;
}
.so-head a {
  font-size: 13px;
  text-decoration: none;
}
.so-head a:last-child {
  text-align: right;
}
.so-head strong {
  font:
    400 clamp(24px, 3.3vw, 52px) / 1 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -0.04em;
}
.so-sanctuary {
  padding: 32px 12px 0;
  background: linear-gradient(90deg, #ead3da, #f7f0ee 50%, #ead3da);
}
.so-portal {
  width: min(100%, 810px);
  margin: auto;
  border: 1px solid #ac8696;
  border-bottom: 0;
  border-radius: 420px 420px 0 0;
  padding: clamp(10px, 2vw, 26px) clamp(10px, 2vw, 26px) 0;
  background: #e9cfd7;
}
.so-inner {
  border: 1px solid #b493a0;
  border-bottom: 0;
  border-radius: inherit;
  min-height: clamp(350px, 39vw, 580px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  text-align: center;
  padding: 55px 12px 5vw;
  background: #f8eff0;
}
.so-inner > p {
  font-size: 13px;
}
.so-inner h1 {
  font:
    400 clamp(58px, 8.5vw, 134px) / 0.88 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -0.055em;
  margin: 24px 0 25px;
}
.so-inner em {
  font-weight: 400;
  color: #82405c;
}
.request {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid currentColor;
  padding: 8px 0;
  text-decoration: none;
}
.so-intro {
  background: #482d39;
  color: #fff1ed;
  text-align: center;
  padding: 25px 20px;
}
.so-intro p {
  max-width: 62ch;
  margin: auto;
}
.so-menu {
  padding: 7vw 12vw;
  text-align: center;
}
.so-menu h2,
.so-room h2 {
  font:
    400 clamp(40px, 5vw, 80px) / 0.94 "Instrument Serif",
    serif;
  letter-spacing: -0.045em;
}
.so-topics {
  max-width: 740px;
  margin: 30px auto;
  text-align: left;
}
.so-topics details {
  padding: 17px 0;
  border-bottom: 1px solid #baa2ad;
}
.so-topics summary {
  font-size: clamp(17px, 1.8vw, 25px);
}
.so-topics a {
  display: inline-block;
  margin-top: 9px;
}
.so-room {
  background: #e9dce0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6vw;
  padding: 5vw 8vw;
}
.so-room img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 48% 48% 0 0;
}
.so-room h2 {
  margin: 12px 0 24px;
}
.so-room p + p,
.so-room details {
  margin-top: 20px;
}
@media (max-width: 650px) {
  .so-head {
    padding: 17px 14px;
  }
  .so-head a {
    font-size: 11px;
  }
  .so-head strong {
    font-size: 25px;
  }
  .so-inner {
    padding-bottom: 30px;
  }
  .so-inner > p {
    font-size: 12px;
  }
  .so-room {
    grid-template-columns: 1fr;
    padding: 36px 22px;
  }
  .so-room img {
    max-height: 240px;
  }
  .so-menu {
    padding: 45px 20px;
  }
}

main {
  --inquiry-bg: #f9f2f5;
  --inquiry-ink: #4a2a39;
  --inquiry-button: #743e54;
  --inquiry-button-text: #fff4f6;
}

.so-letter {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 7%;
  padding: 5% 10%;
  background: #faf4e8;
  color: #423439;
}
.so-letter h2,
.so-sequence h2,
.so-private h2,
.so-invite h2 {
  font:
    400 clamp(40px, 5.3vw, 80px) / 1 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -0.04em;
}
.so-letter p {
  margin-top: 12px;
}
.so-folded {
  position: relative;
  aspect-ratio: 1.5;
  background: #bc8588;
  border: 1px solid #8e6669;
  transform: rotate(-5deg);
  box-shadow: 8px 9px 0 #e2d1c3;
}
.so-folded i {
  display: block;
  position: absolute;
  inset: 0;
  background: #e3bab6;
  clip-path: polygon(0 0, 100% 0, 50% 62%);
  transform-origin: top;
}
.so-folded b {
  position: absolute;
  left: 44%;
  top: 42%;
  border-radius: 50%;
  background: #834d5c;
  color: #fff8f0;
  padding: 0.2em 0.6em;
  font:
    italic 29px "Instrument Serif",
    serif;
}
.so-sequence {
  text-align: center;
  margin: 55px 7%;
}
.so-sequence ol {
  display: flex;
  text-align: left;
  gap: 25px;
  margin: 25px auto;
  padding: 0;
  list-style: none;
}
.so-sequence li {
  flex: 1;
  border-top: 1px solid #ab8690;
  padding-top: 16px;
}
.so-sequence li span {
  font:
    italic 30px "Instrument Serif",
    serif;
}
.so-sequence p {
  margin-top: 8px;
}
.so-private {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  background: #684657;
  color: #fff3ed;
  padding: 5% 7%;
  gap: 7%;
}
.so-private details {
  border-top: 1px solid #ac8a9a;
  padding: 14px 0;
}
.so-invite {
  max-width: 850px;
  margin: 50px auto;
  padding: 4% 7%;
  border-block: 2px solid #997b89;
}
.so-invite header {
  text-align: center;
}
.so-invite h2 {
  margin: 6px 0 12px;
}
.so-invite form {
  margin-top: 24px;
}
.so-invite header p {
  max-width: 51ch;
  margin-inline: auto;
}
.close-line {
  background: #4c3543;
  color: #fbf1eb;
}
@keyframes envelope-fold {
  0% {
    transform: perspective(280px) rotateX(-125deg);
  }
  75% {
    transform: perspective(280px) rotateX(9deg);
  }
  100% {
    transform: perspective(280px) rotateX(0);
  }
}
@keyframes arch-draw {
  from {
    clip-path: inset(88% 0 0);
  }
  to {
    clip-path: inset(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .so-folded.in-view i {
    animation: envelope-fold 1.1s ease-out;
  }
  .so-portal {
    animation: arch-draw 1s ease-out both;
  }
}
@media (max-width: 660px) {
  .so-letter,
  .so-private {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 32px 7%;
  }
  .so-folded {
    width: min(165px, 63%);
  }
  .so-sequence ol {
    display: block;
  }
  .so-sequence li {
    margin: 14px 0;
  }
  .so-sequence {
    margin: 34px 6%;
  }
  .so-invite {
    margin: 30px 5%;
    padding: 25px 0;
  }
  .so-sequence {
    text-align: left;
  }
}
.so-invite form {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}
.so-invite label {
  display: grid;
  gap: 5px;
  font:
    600 14px/1.35 "DM Sans",
    sans-serif;
}
.so-invite select,
.so-invite textarea,
.so-invite input {
  min-width: 0;
  width: 100%;
  padding: 10px 12px;
  min-height: 44px;
  border: 1px solid #686e67;
  color: #202820;
  background: #fff;
  font:
    400 16px/1.35 "DM Sans",
    sans-serif;
}
.so-invite button {
  border: 0;
  padding: 12px 16px;
  width: fit-content;
  min-height: 44px;
  background: #684657;
  color: #fff6ee;
  font-weight: 650;
  text-align: left;
}
.so-invite output:not(:empty) {
  display: block;
  white-space: pre-line;
  border-left: 3px solid currentColor;
  padding: 10px 12px;
  background: rgba(127, 127, 127, 0.09);
}
.so-invite output:empty,
.so-invite output:empty + [data-save-copy] {
  display: none;
}
.so-invite [data-save-copy] {
  font-size: 13px;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  padding-inline: 0;
}
.close-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
  padding: 24px 5%;
  border-top: 1px solid currentColor;
}
.close-line nav {
  display: flex;
  gap: 9px 19px;
  flex-wrap: wrap;
  font-size: 14px;
}
.close-line a {
  text-underline-offset: 3px;
}
.close-line strong {
  font-size: 19px;
  letter-spacing: -0.035em;
}

.so-arrival {
  display: grid;
  grid-template-columns: 1.25fr 0.92fr;
  align-items: stretch;
  background: #6a3947;
  color: #fff8f0;
}
.so-arrival figure {
  min-height: clamp(340px, 42vw, 680px);
  position: relative;
}
.so-arrival img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 46% center;
}
.so-arrival > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 19px;
  padding: clamp(28px, 5.5vw, 90px);
}
.so-arrival h1 {
  font:
    400 clamp(58px, 6.9vw, 114px) / 0.99 "Gloock",
    Georgia,
    serif;
  letter-spacing: -0.055em;
}
.so-arrival p {
  max-width: 31ch;
  line-height: 1.55;
}
.so-arrival .request {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #452934;
  background: #ffefdb;
  border-radius: 35px;
  padding: 14px 20px;
  text-decoration: none;
}
.so-head {
  background: #f9f3e8;
  color: #512c38;
}
.so-intro {
  background: #4c2c37;
}
.so-letter {
  padding-inline: max(7%, calc((100vw - 950px) / 2));
  background: #fbf5eb;
}
.so-private {
  margin: 0 auto;
  padding-inline: max(7%, calc((100vw - 980px) / 2));
  grid-template-columns: 1fr 1.3fr;
  background: #fae2ce;
  color: #482d37;
}
.so-private summary {
  color: #482d37;
  border-color: #b99e89;
}
.so-menu {
  background: white;
}
.so-sequence {
  background: #412d35;
  color: #fff4e7;
}
.so-room {
  display: block;
  background: #efdfcc;
  padding: 34px max(8%, calc((100vw - 900px) / 2));
}
.so-room > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  padding: 0;
}
.so-room > div > p:first-child,
.so-room h2 {
  grid-column: 1/-1;
}
.so-room h2 {
  font-family: "Gloock", Georgia, serif;
}
.so-invite {
  background: #fcf7ed;
}
@media (max-width: 700px) {
  .so-arrival {
    display: flex;
    flex-direction: column;
  }
  .so-arrival figure {
    min-height: 190px;
    height: 41vw;
    max-height: 300px;
  }
  .so-arrival > div {
    gap: 12px;
    padding: 26px 7vw 35px;
  }
  .so-arrival h1 br {
    display: none;
  }
  .so-arrival h1 {
    font-size: clamp(46px, 9vw, 65px);
  }
  .so-room > div {
    display: block;
  }
  .so-private {
    grid-template-columns: 1fr;
  }
}

.so-prep {
  margin-top: 24px;
  padding: 20px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d7c0c1;
  display: grid;
  gap: 12px;
}
.so-prep-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b3f44;
}
.so-prep-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.so-prep-tabs button {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #b8989b;
  background: #fff;
  color: #443335;
  font-size: 13px;
  font-weight: 600;
}
.so-prep-tabs button.is-active {
  background: #5c3339;
  color: #fff;
  border-color: #5c3339;
}
.so-prep-note {
  font-size: 14px;
  line-height: 1.55;
  color: #3f2f31;
}
