/* A few more ways to connect: the same warm paper, restrained motion and useful details. */
.discovery-section { padding: 78px 6%; color: #272724; }
.discovery-section h2 { font-size: clamp(34px, 4.4vw, 64px); font-weight: 400; line-height: 1.06; letter-spacing: -.05em; margin: 0; max-width: 700px; }
.discovery-section :focus-visible, .globe-modes :focus-visible, .scene-dot:focus-visible { outline: 2px solid #b44726; outline-offset: 4px; }
.discovery-heading { display: flex; align-items: end; justify-content: space-between; gap: 45px; margin-bottom: 38px; }
.discovery-heading > p { font-size: 14px; line-height: 1.8; color: #686b61; max-width: 310px; margin: 0; }
.discovery-section .connection-eyebrow { color: #9f482d; }
.globe-mode-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 6% 24px; }
.globe-mode-row > p { font-size: 12px; color: #686b61; margin: 0; }
.globe-modes { display: flex; padding: 4px; border: 1px solid #244e4a45; border-radius: 28px; gap: 4px; }
.globe-modes button { min-width: 110px; min-height: 44px; border: 0; border-radius: 24px; background: transparent; color: #244e4a; font: inherit; font-size: 13px; transition: background-color 180ms, color 180ms; }
.globe-modes button[aria-pressed="true"] { background: #244e4a; color: #fffaf0; }
.place-card-action { font-size: 10px; margin: 12px 0 0; color: #9f482d; }
.globe-caption { max-width: 170px; line-height: 1.7; }
.destination-select > span { align-self: start; background: #092a38e6; color: #fffaf0; padding: 5px 7px; border-radius: 2px; }
.globe-stage[data-mode="shop"] .place-card-image { object-position: center 55%; }
.store-hero-photo .shop-scene { position: relative; overflow: visible; }
.store-hero-photo .shop-scene > img { height: auto; aspect-ratio: 4/3; width: 100%; object-fit: contain; border-radius: 10px; transform: none; }
.scene-dot { position: absolute; left: var(--spot-x); top: var(--spot-y); transform: translate(-50%, -50%); width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; border-radius: 50%; }
.scene-dot-core { display: block; width: 25px; height: 25px; border: 1px solid #fffaf0; border-radius: 50%; background: #fffaf050; box-shadow: 0 1px 9px #27272435; transition: transform 200ms, background-color 200ms; }
.scene-dot-core::after { content: ''; display: block; margin: 8px; width: 7px; height: 7px; border-radius: 50%; background: #fffaf0; }
.scene-dot-label { position: absolute; bottom: calc(100% + 4px); left: 50%; width: 140px; transform: translate(-50%, 5px); background: #fffaf0; color: #244e4a; font-size: 11px; line-height: 1.5; padding: 10px; border-radius: 4px; opacity: 0; visibility: hidden; pointer-events: none; box-shadow: 0 5px 12px #27272415; transition: opacity 150ms, transform 150ms, visibility 150ms; }
.scene-dot:hover .scene-dot-label, .scene-dot:focus-visible .scene-dot-label { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.scene-dot:hover .scene-dot-core, .scene-dot:focus-visible .scene-dot-core { transform: scale(1.12); background: #fffaf080; }
.store-hero-photo figcaption .scene-instruction { white-space: normal; color: #244e4a; }
.gift-edit { border-top: 1px solid #27272425; background: #eae5d8; }
.gift-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; max-width: 1380px; margin: auto; align-items: start; }
.gift-controls fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.gift-controls legend, .gift-message-label { display: block; font-size: 11px; letter-spacing: .07em; margin-bottom: 22px; color: #244e4a; }
.gift-choice { padding: 15px 0; border-bottom: 1px solid #27272425; }
.gift-choice > label:first-child { display: flex; align-items: center; gap: 15px; cursor: pointer; }
.gift-choice input[type="checkbox"] { width: 20px; height: 20px; accent-color: #244e4a; flex-shrink: 0; }
.gift-choice img { width: 48px; height: 64px; object-fit: cover; border-radius: 3px; }
.gift-choice-copy { display: grid; gap: 6px; min-width: 0; }
.gift-choice-copy strong { font-size: 15px; font-weight: 400; line-height: 1.3; }
.gift-choice-copy small { font-size: 10px; color: #686b61; }
.gift-size { display: block; margin: 8px 0 0 99px; }
.gift-size select { width: 100%; min-height: 44px; padding: 9px 30px 9px 10px; border: 1px solid #27272430; border-radius: 3px; background-color: #f5f2ea; font: inherit; font-size: 11px; color: #272724; appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m2 4 4 4 4-4' fill='none' stroke='%23244e4a'/%3E%3C/svg%3E"); background-position: right 10px center; background-repeat: no-repeat; }
.gift-choice:not([data-selected="true"]) .gift-size { display: none; }
.gift-message-label { margin: 32px 0 14px; }
#gift-message { width: 100%; resize: vertical; min-height: 100px; border: 1px solid #27272435; border-radius: 4px; background: #f5f2ea; padding: 14px; font: inherit; font-size: 13px; line-height: 1.6; color: inherit; }
.gift-message-count { text-align: right; font-size: 10px; color: #686b61; margin: 8px 0 26px; }
.gift-wraps { display: flex; gap: 12px; flex-wrap: wrap; }
.gift-wraps label { min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 8px 13px; border: 1px solid #244e4a35; border-radius: 22px; font-size: 12px; cursor: pointer; }
.gift-wraps input { accent-color: #244e4a; }
.gift-wraps label:has(:checked) { background: #f5f2ea; border-color: #244e4a; }
.gift-preview { text-align: center; padding: 30px 0; position: sticky; top: 30px; min-width: 0; }
.gift-box { --gift-lid: #dbbb8d; --gift-ink: #264d46; margin: 30px auto; width: min(100%, 470px); filter: drop-shadow(0 16px 15px #51473520); }
.gift-box-lid { display: grid; gap: 8px; justify-items: center; padding: 26px 20px; margin: 0 12px; border: 1px solid #6b533b30; border-bottom: 0; border-radius: 8px 8px 0 0; background: var(--gift-lid); color: var(--gift-ink); transform: perspective(700px) rotateX(-12deg); transform-origin: bottom; transition: background-color 240ms, color 240ms; }
.gift-brand { font-size: 66px; letter-spacing: -.08em; line-height: 1; }
.gift-box-lid > span:last-child { font: italic 16px Georgia, serif; }
.gift-preview[data-wrap="teal"] { --gift-accent: #244e4a; }
.gift-preview[data-wrap="teal"] .gift-box { --gift-lid: #244e4a; --gift-ink: #f3e4ca; }
.gift-box-tray { background: #d0ac7c; border: 10px solid #cfae80; border-radius: 5px; padding: 22px 20px 18px; position: relative; isolation: isolate; overflow: hidden; }
.gift-tissue { position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(22deg, transparent 0 40px, #d2bfa331 41px 42px), #f2e8d4; clip-path: polygon(0 3%, 20% 0, 42% 5%, 70% 1%, 100% 4%, 100% 100%, 0 100%); }
.gift-box-pieces { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 155px; }
.gift-box-pieces img { width: calc((100% - 24px) / 3); height: auto; aspect-ratio: 3/4; object-fit: cover; border: 4px solid #fffcf4; border-radius: 3px; box-shadow: 0 6px 12px #51473525; transform: rotate(-5deg); }
.gift-box-pieces img:nth-child(2) { transform: rotate(4deg); }
.gift-box-pieces img:nth-child(3) { transform: rotate(-2deg); }
.gift-empty { font: italic 21px/1.6 Georgia, serif; max-width: 210px; color: #827159; }
.gift-letter { margin: 22px auto 0; background: #fffdf7; padding: 15px; min-height: 66px; color: #244e4a; font: italic 17px/1.5 Georgia, serif; overflow-wrap: anywhere; white-space: pre-wrap; box-shadow: 0 2px 4px #51473510; }
.gift-count { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; color: #686b61; }
.gift-total { font-size: 18px; margin: 12px 0 22px; }
.gift-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.gift-preview > .connection-note { max-width: 410px; margin: 18px auto 0; }
.board-invitation { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 8%; align-items: center; background: #e8e4d8; overflow: hidden; }
.board-invitation .connection-intro { max-width: 390px; margin: 25px 0; }
.board-invitation-photos { display: flex; align-items: center; gap: 0; padding: 50px 15px; }
.board-invitation-photos figure { width: 37%; flex-shrink: 0; background: #fffdf7; padding: 9px 9px 16px; margin: 0 -2.4%; box-shadow: 0 8px 18px #51473520; transform: rotate(-9deg) translateY(10px); }
.board-invitation-photos figure:nth-child(2) { transform: rotate(5deg) translateY(-22px); z-index: 1; }
.board-invitation-photos figure:nth-child(3) { transform: rotate(13deg) translateY(12px); }
.board-invitation-photos img { display: block; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; }
.board-invitation-photos figcaption { font: italic 13px/1.3 Georgia, serif; text-align: center; padding-top: 15px; }
.journey-board-dialog { width: min(1180px, 94vw); }
.board-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(220px, 1fr); gap: 38px; align-items: start; }
.board-layout > * { min-width: 0; }
.board-summary { font-size: 12px; color: #244e4a; margin: 0 0 18px; }
.board-list { list-style: none; margin: 0 0 24px; padding: 0; }
.board-place { display: grid; grid-template-columns: 104px minmax(0, 1fr) 40px; align-items: start; gap: 18px; padding: 22px 0; border-top: 1px solid #27272425; }
.board-place-photo { position: relative; display: block; border-radius: 5px; overflow: hidden; }
.board-place-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; }
.board-place-photo > span { position: absolute; bottom: 6px; left: 6px; background: #fffaf0e6; padding: 4px 6px; font-size: 10px; }
.board-place-fields h3 { font-weight: 400; font-size: 25px; line-height: 1.08; letter-spacing: -.035em; margin: 5px 0 16px; }
.board-place-fields .connection-eyebrow { font-size: 9px; margin: 0; }
.board-days { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; }
.board-days input { width: 65px; min-height: 44px; padding: 9px; font: inherit; font-size: 13px; border: 1px solid #27272435; background: transparent; border-radius: 4px; color: inherit; }
.board-note-label { display: block; margin-top: 14px; font-size: 11px; color: #686b61; }
.board-note-label textarea { display: block; resize: vertical; width: 100%; min-height: 74px; margin-top: 8px; padding: 10px; border: 1px solid #27272430; background: #fffaf055; border-radius: 4px; font: inherit; font-size: 12px; line-height: 1.6; color: #272724; }
.board-row-controls { display: flex; flex-direction: column; gap: 5px; }
.board-row-button { min-width: 40px; min-height: 44px; padding: 4px; font-size: 20px; background: none; border: 1px solid #27272425; border-radius: 4px; color: #244e4a; }
.board-row-button:disabled { opacity: .3; cursor: default; }
.board-add { background: #eae5d8; padding: 24px; border-radius: 8px; position: sticky; top: 84px; }
.board-add h3 { font: 26px/1.18 Georgia, serif; margin: 0 0 25px; }
.board-add-details > summary { display: none; cursor: pointer; }
.board-add-body > label { font-size: 11px; display: block; margin-bottom: 9px; }
.board-add-body > select { display: block; width: 100%; min-height: 46px; border: 1px solid #27272440; border-radius: 4px; padding: 10px 30px 10px 10px; color: #272724; background-color: #f5f2ea; font: inherit; font-size: 12px; appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, #244e4a 50%), linear-gradient(135deg, #244e4a 50%, transparent 50%); background-size: 5px 5px; background-repeat: no-repeat; background-position: calc(100% - 18px) center, calc(100% - 13px) center; }
.board-add-body > button { width: 100%; margin: 14px 0 30px; }
.board-saved-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.board-saved-chip { min-height: 44px; padding: 10px 14px; border: 1px solid #244e4a40; border-radius: 22px; font-size: 12px; color: #244e4a; background: #f5f2ea; }
.board-empty { padding: 55px 25px; background: #eae5d8; border-radius: 8px; }
.board-empty h3 { font: 27px/1.2 Georgia, serif; margin: 0 0 15px; }
.board-empty p { font-size: 13px; line-height: 1.7; color: #686b61; }
.destination-actions { flex-wrap: wrap; }
.destination-actions button:disabled { opacity: .55; cursor: default; }
.board-draft-label { display: block; margin-bottom: 12px; font-size: 12px; }
#board-enquiry-draft { width: 100%; min-height: 260px; padding: 18px; border: 1px solid #27272435; background: #fffaf0; border-radius: 6px; resize: vertical; font: inherit; font-size: 13px; line-height: 1.8; color: inherit; }
.board-draft-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.connections-wall { background: #f0ebdf; border-top: 1px solid #27272420; }
.wall-sample-label { font-size: 11px; line-height: 1.6; color: #686b61; margin: -12px 0 30px; }
.wall-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; padding: 20px 0 32px; }
.wall-card { display: block; text-align: left; width: 100%; border: 0; border-radius: 3px; padding: 12px; background: #fffdf7; color: #272724; box-shadow: 0 10px 20px #51473515; transform: rotate(-2deg); transition: transform 220ms cubic-bezier(.22,1,.36,1), box-shadow 220ms; }
.wall-card:nth-child(2) { transform: rotate(2deg); margin-top: 45px; }
.wall-card:nth-child(3) { transform: rotate(-1deg); }
.wall-card > img { width: 100%; height: auto; aspect-ratio: 5/4; object-fit: cover; display: block; }
.wall-card:nth-child(2) > img { aspect-ratio: 4/5; }
.wall-card-copy { padding: 25px 16px 15px; }
.wall-postmark { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; line-height: 1.5; color: #9f482d; }
.wall-card h3 { font: 27px/1.15 Georgia, serif; margin: 15px 0; letter-spacing: -.025em; }
.wall-card p { font-size: 12px; line-height: 1.7; color: #686b61; }
.wall-card-read { display: inline-block; font-size: 11px; border-bottom: 1px solid #27272460; padding: 8px 0; }
.wall-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid #27272425; padding-top: 24px; }
.wall-bottom p { font: italic 20px/1.5 Georgia, serif; color: #244e4a; margin: 0; }
.wall-note-dialog { width: min(1100px, 94vw); }
.wall-note-dialog .connection-content { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: 40px; }
.wall-story-photo { display: block; color: inherit; text-decoration: none; }
.wall-story-photo img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: cover; display: block; border-radius: 6px; }
.wall-story-copy { min-width: 0; padding-top: 10px; }
.wall-story-copy h2 { font: 39px/1.08 Georgia, serif; letter-spacing: -.035em; }
.wall-story-copy .wall-sample-label { margin: 0 0 26px; }
.wall-story-paragraph { font-size: 14px; line-height: 1.85; color: #55594f; }
.wall-story-question { font: italic 22px/1.4 Georgia, serif; color: #244e4a; margin: 25px 0; }
.wall-story-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.wall-story-copy .connection-note a { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .wall-card:hover { transform: translateY(-7px) rotate(0); box-shadow: 0 16px 28px #51473525; }
}
@media (max-width: 900px) {
  .discovery-heading { display: block; }
  .discovery-heading > p { margin-top: 22px; max-width: 430px; }
  .gift-layout { gap: 5%; }
  .gift-preview { top: 15px; }
  .gift-box-tray { padding: 15px 12px; border-width: 7px; }
  .gift-box-pieces { gap: 7px; }
  .gift-box-pieces img { width: calc((100% - 14px) / 3); }
  .board-invitation { gap: 4%; }
  .board-layout { grid-template-columns: minmax(0, 1fr); }
  .board-add { position: static; }
  .board-layout > aside { order: -1; }
  .board-add > h3 { display: none; }
  .board-add-details > summary { display: list-item; font-size: 15px; min-height: 44px; padding-block: 12px; color: #244e4a; }
  .board-add-details[open] > summary { margin-bottom: 15px; }
  .board-add-body > button { width: auto; margin-bottom: 20px; }
  .board-add-body > .connection-eyebrow { margin: 8px 0 10px; }
  .wall-grid { gap: 18px; }
  .wall-card-copy { padding: 20px 5px 10px; }
  .wall-card h3 { font-size: 22px; }
  .wall-note-dialog .connection-content { gap: 24px; }
  .wall-story-copy h2 { font-size: 31px; }
}
@media (max-width: 640px) {
  .discovery-section { padding: 55px 6%; }
  .discovery-heading { margin-bottom: 28px; }
  .globe-mode-row { flex-wrap: wrap; gap: 12px; }
  .globe-mode-row > p { font-size: 11px; }
  .globe-modes button { min-width: 100px; }
  .store-hero-photo figcaption { flex-wrap: wrap; gap: 5px; }
  .scene-dot-label { display: none; }
  .gift-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .gift-preview { position: static; padding: 15px 0 0; }
  .gift-box { max-width: 390px; margin-block: 22px; }
  .gift-box-lid { padding: 20px; }
  .gift-brand { font-size: 56px; }
  .gift-box-pieces { min-height: 120px; }
  .gift-choice-copy strong { font-size: 14px; }
  .gift-size { margin-left: 35px; }
  #gift-message, .gift-size select, .board-days input, .board-note-label textarea, #board-place-picker, #board-enquiry-draft { font-size: 16px; }
  .gift-actions { flex-direction: column; }
  .board-invitation { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .board-invitation-photos { padding: 38px 10px 20px; }
  .board-invitation-photos figcaption { font-size: 11px; padding-top: 11px; }
  .board-layout { gap: 24px; }
  .journey-board-dialog, .wall-note-dialog { width: 100%; max-height: 100svh; margin: auto 0; }
  .board-add { padding: 20px; }
  .board-place { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; position: relative; padding-bottom: 72px; }
  .board-place-fields h3 { font-size: 23px; }
  .board-row-controls { position: absolute; bottom: 15px; right: 0; flex-direction: row; }
  .board-row-button { min-width: 44px; }
  .board-days { flex-wrap: wrap; gap: 5px; }
  .board-note-label textarea { min-height: 90px; }
  .wall-grid { grid-template-columns: minmax(0, 1fr); gap: 30px; padding-inline: 4px; }
  .wall-card:nth-child(2) { margin-top: 0; }
  .wall-card > img, .wall-card:nth-child(2) > img { aspect-ratio: 4/3; }
  .wall-card-copy { padding: 22px 14px 12px; }
  .wall-card h3 { font-size: 29px; }
  .wall-bottom { align-items: start; flex-direction: column; gap: 12px; }
  .wall-note-dialog .connection-content { grid-template-columns: minmax(0, 1fr); }
  .wall-story-photo img { aspect-ratio: 4/3; }
  .wall-story-copy h2 { font-size: 34px; }
  .destination-actions { gap: 12px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .discovery-section *, .globe-modes button, .scene-dot * { transition: none !important; }
}
