@font-face {
  font-family: Hedvig;
  src: url('fonts/hedvig-letters-serif-normal-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: DM;
  src: url('fonts/dm-sans-normal-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: DM;
  src: url('fonts/dm-sans-normal-600-latin.woff2') format('woff2');
  font-weight: 600;
}

:root {
  --ink: #282622;
  --paper: #fcfcfa;
  --sand: #f5f3ee;
  --line: #dfdfd9;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: DM, Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
button, textarea { font: inherit; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 5.2%;
  border-bottom: 1px solid var(--line);
}
.brand-logo { display: block; width: 146px; height: auto; }
.signin { padding: 14px 0; font-size: 15px; font-weight: 600; }

.hero {
  position: relative;
  height: 739px;
  overflow: hidden;
  padding-top: 103px;
  background: #f7f4ef;
}
.hero h1 {
  width: min(1120px, 100% - 24px);
  margin: 0 auto 54px;
  font: 67px/71px Hedvig, serif;
  text-align: center;
}
.phone-break { display: none; }
.composer {
  position: relative;
  z-index: 1;
  width: min(660px, 100% - 40px);
  height: 130px;
  margin: auto;
  padding: 18px 11px 9px 18px;
  border: 1px solid #bbbdb3;
  border-radius: 15px;
  background: #fff;
}
.composer textarea {
  display: block;
  width: 100%;
  height: 57px;
  padding: 0;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: var(--ink);
  font-size: 19px;
  line-height: 25px;
}
.composer textarea::placeholder { color: #64645f; opacity: 1; }
.composer:focus-within { outline: 1px solid #64645f; }
.compose-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.text-action {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.cta {
  flex: none;
  width: 119px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
.subhead { width: min(660px, 100% - 40px); margin: 30px auto 0; font-size: 19px; line-height: 25px; text-align: center; }

.hero-card, .artifact {
  position: absolute;
  overflow: hidden;
  border: 1px solid #d7d0c7;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 3px 8px rgb(51 38 36 / 8%);
}
.hero-card { opacity: .86; }
.hero-card img, .full-art { display: block; width: 100%; height: 100%; object-fit: contain; }
.one { width: 205px; height: 307.5px; left: 3.47%; top: 106.4px; transform: rotate(-3deg); }
.two { width: 209px; height: 278.67px; right: 3.19%; top: 75.6px; transform: rotate(2deg); }
.three { width: 272px; height: 165.5px; left: 14.45%; top: 500.7px; transform: rotate(2deg); }
.four { width: 166px; height: 221.33px; left: 75.59%; top: 435.5px; transform: rotate(-3deg); }

.feature { --copy-top: 68px; --art-top: 100px; position: relative; min-height: 430px; padding: var(--copy-top) 9.03% 32px; }
.feature:nth-of-type(even) { background: var(--sand); }
.feature.copy-right { padding-left: 57.083%; padding-right: 7%; }
#invitations, #guests, #publishing { --art-top: 92px; min-height: 414px; }
#invitations { --copy-top: 81px; }
#guests, #publishing { --copy-top: 104px; }
.copy { max-width: 472px; }
.copy .eyebrow { margin: 0 0 17px; font-size: 14px; font-weight: 600; line-height: 19px; }
.copy h2 { margin: 0 0 20px; font: 43px/46px Hedvig, serif; }
.copy p { margin: 0; font-size: 17px; line-height: 23px; }
.copy h2.single-line { margin-bottom: 16px; }
.jump { display: inline-block; margin-top: 26px; font-size: 14px; font-weight: 600; line-height: 19px; }

.art { position: absolute; top: var(--art-top); left: 73.8889%; width: 330px; height: 230px; transform: translateX(-50%); }
.feature.copy-right .art { left: 25.6944%; }
.artifact { border-color: #d9d3c9; box-shadow: 0 3px 7px rgb(41 33 26 / 9%); }
.art .a { left: 21.5px; top: 34.1px; width: 145px; height: 178px; transform: rotate(-3deg); }
.art .b { left: 159.85px; top: 20.5px; width: 145px; height: 178px; transform: rotate(2deg); }
.art.wide .a { left: 25.5px; top: 9.3px; width: 151px; height: 201px; transform: rotate(-2deg); }
.art.wide .b { left: 147.6px; top: 117.85px; width: 165px; height: 79px; }
.art.envelope .a { left: 24.2px; top: 73.2px; width: 175px; height: 105px; transform: rotate(-5deg); background: #ebdfce; }
.art.envelope .b { left: 142.8px; top: 17.7px; width: 145px; height: 196px; transform: rotate(3deg); }
.art.rsvp .a { left: 32.4px; top: 11.3px; width: 150px; height: 200px; transform: rotate(-2deg); }
.art.rsvp .b { left: 148.6px; top: 127.8px; width: 160px; height: 77px; }
.art.publish .a { left: 19.9px; top: 35.1px; width: 277px; height: 169px; transform: rotate(-2deg); }
.art.publish .b { left: 159.9px; top: 154.6px; width: 148px; height: 62px; }
.theme-proof { padding: 4px; background: #f2f3ea; }
.theme-proof.b { background: #f7f0e7; }
.theme-proof img { display: block; width: 133px; height: 88px; object-fit: cover; }
.theme-proof strong { display: block; margin: 13px 4px 12px; font: 23px/27px Hedvig, serif; }
.swatches { display: flex; margin: 0 4px; gap: 4px; }
.swatches i { width: 29px; height: 7px; background: #c7cab1; }
.swatches i:first-child { background: #21372f; }
.swatches i:last-child { background: #dedac9; }
.theme-proof.b .swatches i { background: #cbaca4; }
.theme-proof.b .swatches i:first-child { background: #681f32; }
.theme-proof.b .swatches i:last-child { background: #ecdccb; }
.invitation-proof { background: #faf1df; text-align: center; color: #883e30; }
.invitation-proof img { display: block; width: 119px; height: 70px; margin: 6px auto 0; object-fit: contain; }
.invitation-proof strong { display: block; font: 27px/32px Hedvig, serif; }
.invitation-proof small { font-size: 10px; line-height: 14px; }
.detail-proof { padding: 9px 11px; background: #fdf9f0; color: #282622; }
.detail-proof strong { display: block; font: 16px/20px Hedvig, serif; }
.detail-proof small { font-size: 10px; line-height: 13px; }
.detail-proof .schedule-time { display: block; margin-bottom: 7px; font-weight: 600; }
.rsvp .detail-proof { background: #f7f8f2; }
.rsvp .detail-proof strong { margin-bottom: 7px; }
.publish .detail-proof { background: #fff; }
.access-label { display: flex; align-items: center; gap: 5px; margin-bottom: 5px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.access-label img { width: 15px; height: 15px; }

footer { min-height: 316px; padding: 0 5%; background: #f3f2ed; }
.footer-grid { display: grid; grid-template-columns: 54.8% 21.2% 1fr; min-height: 252px; padding-top: 49px; border-top: 1px solid var(--line); }
.footer-logo { display: block; width: 146px; height: auto; }
.footer-title { margin: 0 0 18px; font-size: 14px; font-weight: 600; line-height: 19px; }
.footer-links a { display: block; margin-bottom: 21px; font-size: 15px; line-height: 20px; }
.copyright { padding-top: 20px; border-top: 1px solid var(--line); color: #64645f; font-size: 13px; line-height: 17px; }

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

@media (min-width: 761px) and (max-width: 1050px) {
  .hero h1 { font-size: 55px; }
  .one, .two { top: 235px; }
  .feature { padding-left: 6%; }
  .feature.copy-right { padding-left: 53%; }
  .art { left: 78%; transform: translateX(-50%) scale(.84); }
  .feature.copy-right .art { left: 27%; }
}

@media (max-width: 760px) {
  header { height: 69px; padding: 0 24px; }
  .brand-logo { width: 114px; }
  .hero { height: 596px; padding-top: 63px; }
  .hero h1 { width: min(366px, 100% - 24px); margin-bottom: 37px; font: 43px/46px Hedvig, serif; }
  .phone-break { display: initial; }
  .composer { width: min(350px, 100% - 40px); height: 133px; padding: 18px 11px 9px 18px; }
  .composer textarea { height: 60px; font-size: 16px; line-height: 21px; }
  .text-action { font-size: 13px; }
  .cta { width: 92px; font-size: 14px; }
  .subhead { width: min(350px, 100% - 40px); margin-top: 23px; font-size: 16px; line-height: 21px; }
  .one { left: 11.7%; top: 429.25px; width: 97px; height: 145.5px; transform: rotate(-2deg); }
  .two { left: 56.82%; right: auto; top: 436.76px; width: 103px; height: 137.33px; }
  .three, .four { display: none; }
  .feature, .feature.copy-right { --art-top: 229px; min-height: 407px; padding: 23px 24px 22px; }
  #invitations { --art-top: 187px; min-height: 365px; }
  #guests, #publishing { --art-top: 160px; min-height: 337px; }
  .copy { max-width: 342px; }
  .copy .eyebrow { margin-bottom: 9px; font-size: 13px; line-height: 17px; }
  .copy h2 { margin-bottom: 8px; font-size: 30px; line-height: 35px; }
  .copy h2.single-line { margin-bottom: 6px; }
  .copy p { font-size: 15px; line-height: 20px; }
  .jump { margin-top: 15px; }
  .art, .feature.copy-right .art { left: 50%; transform: translateX(-50%) scale(.68); transform-origin: center top; }
  footer { min-height: 342px; padding: 0 24px; }
  .footer-grid { grid-template-columns: 55.9% 1fr; grid-template-rows: 48px 1fr; min-height: 278px; row-gap: 22px; padding-top: 26px; }
  .footer-grid > a { grid-column: 1/-1; }
  .footer-logo { width: 125px; }
  .footer-title, .footer-links a { margin-bottom: 18px; }
}

@media (max-width: 359px) {
  header { padding-right: 24px; padding-left: 18px; }
  .hero { height: 531px; padding-top: 49px; }
  .hero h1 { margin-bottom: 35px; font-size: clamp(30px, 11.875vw, 38px); line-height: 40px; }
  .composer { width: calc(100% - 32px); }
  .subhead { width: min(280px, 100% - 32px); }
  .one { top: 395.5px; left: 11.93%; width: 84px; height: 126px; }
  .two { display: none; }
  .four { display: block; left: 58.73%; top: 401.5px; width: 87px; height: 116px; transform: rotate(2deg); }
}

/* Larger feature art with real product output */
.art { width: 420px; height: 300px; }
.art.boards .artifact { width: 176px; height: auto; padding: 5px 5px 10px; background: #fcfcfa; }
.art.boards img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.art.boards strong { display: block; margin: 9px 4px 0; font: 17px/20px Hedvig, serif; }
.art.boards .a { left: 0; top: 64px; transform: rotate(-5deg); z-index: 1; }
.art.boards .b { left: 122px; top: 18px; transform: rotate(1deg); z-index: 3; }
.art.boards .c { left: 244px; top: 70px; transform: rotate(5deg); z-index: 2; }
.art.site .a { left: 0; top: 18px; width: 360px; height: auto; padding: 0; background: #fff; transform: rotate(-1.5deg); border-radius: 8px; overflow: hidden; }
.browser .chrome { display: flex; gap: 5px; padding: 7px 9px; background: #f1efea; border-bottom: 1px solid #e3ded4; }
.browser .chrome i { width: 7px; height: 7px; border-radius: 50%; background: #d6d1c8; }
.browser img { display: block; width: 100%; height: auto; }
.art.site .b { left: 214px; top: 196px; width: 200px; height: auto; transform: rotate(2deg); }
.chat-proof { padding: 10px 13px; background: #fff; border-radius: 12px; color: #282622; }
.chat-proof small { display: block; font-size: 10px; color: #64645f; margin-bottom: 3px; }
.chat-proof strong { display: block; font: 15px/19px Hedvig, serif; font-weight: 400; }
.art.stationery .a { left: 20px; top: 10px; width: 380px; height: 254px; transform: rotate(-1.5deg); overflow: hidden; }
.full-art.cover { object-fit: cover; }
.art.publish .a.phone { left: 70px; top: 0; width: 150px; height: 300px; padding: 6px; background: #1f1d1a; border-radius: 26px; transform: rotate(-3deg); overflow: hidden; }
.art.publish .a.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 20px; }
.art.publish .b { left: 190px; top: 198px; }

/* Scroll reveal (no-JS pages show everything) */
.js .reveal.copy, .js .reveal .artifact, .js .hero-card.reveal img { opacity: 0; transition: opacity .9s ease, translate .9s ease; translate: 0 16px; }
.js .reveal.is-in.copy, .js .reveal.is-in .artifact, .js .hero-card.reveal.is-in img { opacity: 1; translate: 0 0; }
.js .reveal .artifact.b { transition-delay: .12s; }
.js .reveal .artifact.c { transition-delay: .24s; }
.js .hero-card.two.reveal img { transition-delay: .1s; }
.js .hero-card.three.reveal img { transition-delay: .2s; }
.js .hero-card.four.reveal img { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) { .js .reveal.copy, .js .reveal .artifact, .js .hero-card.reveal img { opacity: 1; translate: none; transition: none; } }
.art.boards img { height: auto; }
.cta { width: auto; padding-inline: 18px; white-space: nowrap; }
@media (max-width: 600px) { .cta { width: auto; } }
@media (max-width: 600px) {
  .feature, .feature.copy-right, #invitations, #guests, #publishing { min-height: 0; padding-bottom: 34px; }
  .art, .feature.copy-right .art { position: relative; top: auto; left: auto; transform: none; zoom: .74; margin: 22px auto 0; }
}

/* Hero pictures never cover the words.
   Wide screens: the cards sit in the side margins around the text.
   Narrower screens: the cards move into their own row under the text. */
.hero-cards { position: absolute; inset: 0; pointer-events: none; }
@media (max-width: 1379px) {
  .hero { display: flex; flex-direction: column; height: auto; padding-bottom: 56px; }
  .hero-cards { position: static; order: 4; display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 46px; }
  .hero-cards .hero-card { position: relative; inset: auto; flex: none; }
  .hero-cards .one { width: 150px; height: 225px; transform: rotate(-3deg); }
  .hero-cards .two { width: 156px; height: 208px; transform: rotate(2deg); }
  .hero-cards .three { width: 230px; height: 140px; transform: rotate(2deg); }
  .hero-cards .four { width: 128px; height: 171px; transform: rotate(-3deg); }
  .hero h1 { font-size: clamp(43px, 5.2vw, 67px); line-height: 1.06; margin-bottom: 44px; }
}
@media (max-width: 900px) { .hero-cards .four { display: none; } }
@media (max-width: 760px) {
  .hero { padding-bottom: 40px; }
  .hero h1 { font: 43px/46px Hedvig, serif; margin-bottom: 37px; }
  .hero-cards { gap: 26px; margin-top: 30px; }
  .hero-cards .one { width: 97px; height: 145.5px; transform: rotate(-2deg); }
  .hero-cards .two { width: 103px; height: 137.33px; transform: none; }
  .hero-cards .three { display: none; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: clamp(30px, 11.875vw, 38px); line-height: 40px; margin-bottom: 35px; }
  .hero-cards .one { width: 84px; height: 126px; }
  .hero-cards .two { display: none; }
  .hero-cards .four { display: block; width: 87px; height: 116px; transform: rotate(2deg); }
}

/* Feature sections: side by side on wide screens, stacked (words, then art) below 1000px. */
@media (min-width: 601px) and (max-width: 999px) {
  .feature, .feature.copy-right, #invitations, #guests, #publishing { min-height: 0; padding: 64px 8% 56px; }
  .copy { max-width: 560px; }
  .art, .feature.copy-right .art { position: relative; top: auto; left: auto; transform: none; margin: 40px auto 0; }
}
@media (max-width: 380px) { .art, .feature.copy-right .art { zoom: .62; } }

/* Theme names on the homepage in each theme's own face (tiny subsets: only the letters of the name) */
@font-face { font-family: "Ep name canopy"; src: url("/fonts/names/canopy.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Ep name citrus-mediterranean"; src: url("/fonts/names/citrus-mediterranean.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Ep name gilded-deco"; src: url("/fonts/names/gilded-deco.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
.art.boards strong.home-theme-name { line-height: 22px; height: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
