.guestbook-hero, .video-wish-page, .wish-review { width: min(calc(100% - 2rem), 780px); margin: 0 auto; padding: clamp(3rem, 8vw, 6rem) 0 2rem; text-align: center; }
.guestbook-hero h1, .video-wish-page h1, .wish-review h1 { font-size: clamp(3rem, 9vw, 5.2rem); }
.guestbook-hero h1 em, .video-wish-page h1 em, .wish-review h1 em { color: var(--olive); font-weight: 400; }
.guestbook-hero > p:last-child, .video-wish-page > p:not(.eyebrow), .wish-review > p:not(.eyebrow) { max-width: 570px; margin: 1.2rem auto 0; color: var(--muted); }
.guestbook-compose { width: min(calc(100% - 2rem), 780px); margin: 2rem auto 5rem; padding: clamp(1.3rem, 5vw, 3rem); background: #eeeadf; }
.guestbook-compose [hidden] { display: none !important; }
.guestbook-compose__intro { text-align: center; }
.guestbook-compose__intro .eyebrow { margin-bottom: .6rem; }
.guestbook-compose__intro h2, .guestbook-wall__heading h2 { font-size: clamp(2rem, 5vw, 3rem); }
.guestbook-compose__intro > p:last-child { color: var(--muted); }
.wish-form { max-width: 600px; margin: 2rem auto 0; display: grid; gap: .55rem; }
.wish-form label { margin-top: .5rem; color: var(--olive-dark); font-size: .78rem; font-weight: 600; }
.wish-form label span { color: var(--muted); font-weight: 400; }
.wish-form input, .wish-form textarea { width: 100%; min-height: 48px; padding: .8rem; border: 1px solid var(--line); border-radius: 0; background: #fffdfa; color: var(--ink); font: inherit; }
.wish-form textarea { min-height: 130px; resize: vertical; }
.wish-form input[type='file'] { padding: .65rem; }
.wish-form input:focus-visible, .wish-form textarea:focus-visible { outline: 3px solid var(--rose); outline-offset: 2px; }
.field-help { margin: 0; color: var(--muted); font-size: .8rem; }
.wish-form .button { justify-self: start; margin-top: .8rem; cursor: pointer; }
.video-wish-prompt, .video-wish-return { margin: 1.5rem auto 0; color: var(--muted); font-size: .88rem; text-align: center; }
.video-wish-prompt a, .video-wish-return a, .wish-review > p a { color: var(--olive-dark); text-underline-offset: 4px; }
.guestbook-feedback { max-width: 600px; margin: 1rem auto; padding: .75rem 1rem; border-left: 3px solid var(--rose); background: #fffdfa; color: var(--olive-dark); text-align: left; }
.guestbook-feedback__item { margin: .2rem 0; }
.guestbook-wall { padding: 4.5rem max(1rem, calc((100% - 1100px) / 2)); border-top: 1px solid var(--line); }
.guestbook-wall__heading { margin-bottom: 2rem; text-align: center; }
.guestbook-wall__heading .eyebrow { margin-bottom: .6rem; }
.wish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.wish-card { min-width: 0; padding: clamp(1.2rem, 3vw, 2rem); background: #fffdfa; box-shadow: 0 12px 36px rgb(66 61 48 / 7%); }
.wish-card__mark { display: block; color: var(--rose); font: 3rem/.8 var(--serif); }
.wish-card blockquote { margin: .9rem 0 .55rem; color: var(--olive-dark); font: italic clamp(1.2rem, 2vw, 1.55rem)/1.55 var(--serif); overflow-wrap: anywhere; }
.wish-card video, .wish-review-card video { width: 100%; max-height: 440px; display: block; background: #252822; }
.wish-card__message { margin: .8rem 0 .45rem; color: var(--muted); line-height: 1.5; white-space: pre-line; overflow-wrap: anywhere; }
.has-wish-expander .wish-card__expandable--quote.is-clamped:not(.is-expanded) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; max-height: 7.75em; overflow: hidden; }
.has-wish-expander .wish-card__message.is-clamped:not(.is-expanded) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; max-height: 7.5em; overflow: hidden; }
.wish-card__expandable.is-expanded { display: block; max-height: none; overflow: visible; }
.wish-card__expand-toggle { margin: 0 0 1.2rem; padding: .15rem 0; border: 0; background: transparent; color: var(--olive-dark); cursor: pointer; font: 600 .7rem var(--sans); letter-spacing: .08em; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; text-transform: uppercase; }
.wish-card__expand-toggle:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.wish-card__byline { margin: 0; color: var(--rose); font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.guestbook-empty { max-width: 680px; margin: 0 auto; padding: 2.5rem; background: #eeeadf; color: var(--muted); font: italic 1.2rem var(--serif); text-align: center; }
.wish-review { width: min(calc(100% - 2rem), 1000px); padding-bottom: 5rem; text-align: left; }
.wish-review > .eyebrow, .wish-review > h1 { text-align: center; }
.wish-review-card { margin-top: 1.25rem; padding: clamp(1rem, 3vw, 2rem); border: 1px solid var(--line); background: #fffdfa; }
.wish-review-card header h2 { font-size: 1.6rem; }
.wish-review-card header p { margin: .2rem 0 1rem; color: var(--muted); font-size: .85rem; }
.wish-review-card blockquote { margin: .8rem 0 1.2rem; font: italic 1.2rem/1.5 var(--serif); white-space: pre-line; overflow-wrap: anywhere; }
.wish-review-card__actions { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .7rem; }
.wish-review-card__actions button { cursor: pointer; }
.button--quiet { border-color: var(--line); background: transparent; color: var(--olive-dark); }
.button--quiet:hover { background: var(--paper-deep); }
.guestbook-feedback:focus-visible, .wish-form button:focus-visible, .wish-review-card button:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.guestbook-compose__divider { max-width: 600px; margin: 2.2rem auto; display: flex; align-items: center; gap: 1rem; color: var(--muted); }
.guestbook-compose__divider::before, .guestbook-compose__divider::after { height: 1px; flex: 1; background: var(--line); content: ''; }
.guestbook-compose__divider span { font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.guestbook-compose__video-choice { margin: -1rem auto 0; display: grid; justify-items: center; gap: .5rem; color: var(--muted); text-align: center; }
.guestbook-compose__video-choice p { margin: 0; font: italic 1.1rem/1.5 var(--serif); }
.guestbook-compose__video-choice button { margin-top: .4rem; cursor: pointer; }
.video-recorder-section { width: 100%; margin: 0; padding: 0; background: transparent; }
.video-recorder-section__heading { max-width: 700px; margin: 0 auto 2rem; text-align: center; }
.video-recorder-section__heading .eyebrow { margin-bottom: .6rem; }
.video-recorder-section__heading h2 { font-size: clamp(2rem, 5vw, 3rem); }
.video-recorder-section__heading > p:last-child { color: var(--muted); }
.video-recorder { max-width: 720px; margin: 0 auto; }
.video-recorder__fields { display: grid; gap: .5rem; }
.video-recorder__fields label { margin-top: .5rem; color: var(--olive-dark); font-size: .78rem; font-weight: 600; }
.video-recorder__fields label span { color: var(--muted); font-weight: 400; }
.video-recorder__fields input, .video-recorder__fields textarea { width: 100%; min-height: 48px; padding: .8rem; border: 1px solid var(--line); background: #fffdfa; color: var(--ink); font: inherit; }
.video-recorder__fields textarea { min-height: 96px; resize: vertical; }
.video-recorder__fields :focus-visible, .video-recorder button:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.video-recorder__panel { margin-top: 1.4rem; padding: clamp(.9rem, 3vw, 1.5rem); border: 1px solid #d9d1c4; background: #f8f5ef; }
.video-recorder [hidden] { display: none !important; }
.video-recorder__privacy, .video-recorder__status { max-width: 620px; margin: .25rem auto 1rem; color: var(--muted); font-size: .85rem; text-align: center; }
.video-recorder__status a, .video-recorder-section__fallback a { color: var(--olive-dark); text-underline-offset: 4px; }
.video-recorder__live, .video-recorder__playback { width: 100%; max-height: min(62vw, 520px); aspect-ratio: 16 / 9; margin: 1rem auto; display: block; border-radius: 10px; background: #252822; box-shadow: 0 14px 38px rgb(66 61 48 / 10%); object-fit: contain; }
.video-recorder__timer { margin: .5rem auto; display: flex; align-items: center; justify-content: center; gap: 1.2rem; color: var(--olive-dark); font-variant-numeric: tabular-nums; }
.video-recorder__timer output { font: 600 1.25rem var(--sans); }
.video-recorder__timer [data-recording-indicator] { color: #984a42; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.video-recorder__timer [data-recording-indicator] span { width: .65rem; height: .65rem; margin-right: .35rem; display: inline-block; border-radius: 50%; background: #b34b42; animation: recorder-pulse 1.2s ease-in-out infinite; }
.video-recorder__progress, .video-recorder__upload-progress { width: 100%; height: .55rem; accent-color: var(--olive); }
.video-recorder__metadata { margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .65rem; }
.video-recorder__metadata div { padding: .6rem .7rem; background: #eeeadf; }
.video-recorder__metadata dt { color: var(--muted); font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.video-recorder__metadata dd { margin: .12rem 0 0; color: var(--olive-dark); font-size: .8rem; font-weight: 600; }
.video-recorder__ready { margin: .8rem 0; color: var(--olive-dark); font: italic 1.05rem var(--serif); text-align: center; }
.video-recorder__upload { margin: .8rem 0 .35rem; display: flex; justify-content: space-between; gap: .5rem; color: var(--olive-dark); font-size: .8rem; }
.video-recorder__controls { margin-top: 1rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .65rem; }
.video-recorder__controls button { min-height: 46px; cursor: pointer; }
.video-recorder__controls button:hover:not(:disabled) { transform: translateY(-1px); }
.video-recorder__controls button:active:not(:disabled) { transform: translateY(0); }
.video-recorder__controls button:disabled { cursor: not-allowed; opacity: .55; }
.video-recorder-section__fallback { margin: 1rem auto 0; color: var(--muted); font-size: .8rem; text-align: center; }
@keyframes recorder-pulse { 50% { opacity: .35; } }
@media (max-width: 620px) {
  .wish-grid { grid-template-columns: 1fr; }
  .guestbook-wall { padding-top: 3rem; padding-bottom: 3rem; }
  .wish-form .button { width: 100%; }
  .video-recorder__controls { display: grid; grid-template-columns: 1fr; }
  .video-recorder__controls button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .video-recorder__timer [data-recording-indicator] span { animation: none; } .video-recorder__controls button:hover { transform: none; } }
