/* V7 / Editorial reduction. Loads after the existing style.css, preserving
   the typography, palette, unboxing and independently styled Atlas page. */

/* 01: Remove reserved masthead / kicker space; rebalance the title and image. */
.invitation-page .hero { padding-top:clamp(30px,3.5vw,55px); padding-bottom:clamp(65px,7vw,95px); }
.invitation-page .hero::before { top:104px; height:440px; }
.invitation-page .hero-chapter { padding-bottom:0; }
.invitation-page .hero-grid { min-height:580px; }
.invitation-page .hero-copy { padding-top:clamp(40px,5vw,76px); padding-bottom:0; }
.invitation-page .hero h1 { margin-bottom:clamp(32px,3.8vw,54px); }
.invitation-page .hero-foot { grid-template-columns:1fr; max-width:480px; padding-top:19px; }
.invitation-page .hero-foot .caption-kr { font-size:clamp(18px,1.7vw,23px); font-weight:400; letter-spacing:-.055em; word-break:keep-all; }
.invitation-page .hero-media { min-height:510px; height:min(58vw,680px); }
.invitation-page .hero-plate { width:83px; height:83px; top:78px; left:-4px; padding:0; }
.invitation-page .hero-plate span { display:none; }

/* Keep the Tiffany-blue color field, without its now-redundant eyebrow text. */
.invitation-page .statement-grid { min-height:116px; padding-top:20px; padding-bottom:20px; }
.invitation-page .statement .seal-symbol { width:54px; height:54px; }

/* 02: Collapsing the removed kicker should move the quote upward, not leave a void. */
.invitation-page .note-section { padding-top:clamp(80px,8vw,116px); padding-bottom:clamp(86px,9vw,128px); }
.invitation-page .note-editorial { margin-top:clamp(44px,5vw,68px); }
.invitation-page .note-words .quote { margin-top:0; margin-bottom:clamp(30px,4vw,44px); }
.invitation-page .note-foot { margin-top:clamp(26px,3vw,40px); }
.invitation-page .note-portrait figcaption { justify-content:flex-start; }

/* 03: Short labels and slightly tighter but still generous spacing. */
.invitation-page .day-section { padding-top:clamp(79px,8vw,115px); padding-bottom:clamp(82px,9vw,123px); }
.invitation-page .day-grid { margin-top:clamp(45px,5vw,66px); }
.invitation-page .day-right { padding-top:clamp(27px,3vw,43px); }
.invitation-page .day-section>.venue-map { margin-top:clamp(55px,6vw,79px); }
.invitation-page .venue-map-heading { justify-content:flex-start; margin-bottom:14px; }
.invitation-page .access-summary { margin-top:22px; }

/* 04: Keep the cinematic photograph, but replace the oversized book/ticket
   with a clear, deliberately separate entrance to the Atlas. */
.invitation-page .atlas-teaser { padding:clamp(79px,8vw,112px) 0 clamp(84px,8.5vw,120px); }
.invitation-page .atlas-teaser-top { padding-top:clamp(54px,6vw,85px); margin-bottom:clamp(43px,5vw,67px); }
/* Readable two-line heading; keep the existing display font and editorial feel. */
.invitation-page #atlas-title { font-size:clamp(64px,8.1vw,116px); }
.invitation-page #atlas-title i { padding-left:6%; }
.invitation-page .atlas-teaser-intro { word-break:keep-all; }
.invitation-page .atlas-feature { display:flex; flex-direction:column; gap:16px; min-height:0; box-shadow:none; }
.invitation-page .atlas-feature-image { width:100%; height:clamp(380px,43vw,545px); flex:none; overflow:hidden; position:relative; }
.invitation-page .atlas-photo-hint { position:absolute; right:18px; bottom:18px; z-index:1; display:inline-flex; align-items:center; gap:8px; padding:10px 14px; background:#f8f7f3; color:#192f31; font:500 13px/1.4 var(--kr); letter-spacing:-.035em; white-space:nowrap; pointer-events:none; }
.invitation-page .atlas-photo-hint-arrow { font:400 17px/1 var(--sans); }
.invitation-page .atlas-feature-image img { width:100%; height:100%; object-fit:cover; object-position:50% 50%; }
.atlas-entry-cta { width:100%; min-height:104px; display:flex; align-items:center; justify-content:space-between; gap:25px; background:var(--blue); color:var(--ink); padding:18px clamp(23px,3vw,36px); transition:background .25s ease; }
.atlas-entry-cta>span:first-child { font:400 clamp(29px,3.9vw,49px)/1.1 var(--serif); letter-spacing:-.05em; }
.atlas-entry-arrow { display:grid; place-items:center; flex-shrink:0; width:60px; height:60px; border-radius:50%; background:var(--ink); color:var(--blue); font:400 37px/1 var(--serif); transition:transform .24s ease; }
.atlas-feature:hover .atlas-entry-cta,.atlas-feature:focus-visible .atlas-entry-cta { background:#9ce5dc; }
.atlas-feature:hover .atlas-entry-arrow,.atlas-feature:focus-visible .atlas-entry-arrow { transform:translate(3px,-3px); }
.atlas-feature:focus-visible { outline:3px solid var(--blue); outline-offset:6px; }

/* Fit the second line beside the introduction on intermediate screens. */
@media(min-width:701px) and (max-width:900px) {
  .invitation-page #atlas-title { font-size:clamp(50px,6.2vw,64px); }
  .invitation-page #atlas-title i { padding-left:2%; }
}
/* 05: Reduce the header and subheading space without squeezing the form. */
.invitation-page .reply { padding:clamp(82px,8.5vw,120px) 0 clamp(88px,9vw,135px); }
.invitation-page .rsvp-grid { padding-top:clamp(48px,5.5vw,77px); }
.invitation-page .rsvp-copy h2 { margin-bottom:clamp(25px,3vw,38px); }
.invitation-page .rsvp-copy>p { margin-bottom:0; }
.invitation-page .rsvp-form-heading { padding-bottom:29px; }

/* 06: A genuinely editable local draft, without pretending data is saved. */
.invitation-page .guestbook { padding-top:clamp(84px,9vw,124px); padding-bottom:clamp(90px,9vw,140px); }
.invitation-page .guestbook-grid { padding-top:clamp(50px,5.5vw,78px); }
.invitation-page .guestbook-copy h2 { margin-bottom:clamp(28px,3vw,39px); }
.invitation-page .guestbook-paper-top { padding-bottom:21px; margin-bottom:25px; }
.guestbook-field-label { display:block; flex-shrink:0; font:600 10px/1.5 var(--sans); letter-spacing:.12em; color:#485e5b; }
.guestbook-message { display:block; width:100%; margin-top:12px; min-height:132px; padding:17px 1px; resize:vertical; border:0; border-top:1px solid #c0c9c3; border-bottom:1px solid #c0c9c3; border-radius:0; background:transparent; color:var(--ink); font:300 15px/1.9 var(--kr); outline-offset:4px; }
.guestbook-message::placeholder,.guestbook-name::placeholder { color:#89938e; opacity:1; }
.invitation-page .guestbook-signature { margin-top:25px; display:grid; grid-template-columns:auto minmax(0,1fr); align-items:center; gap:18px; }
.guestbook-name { width:100%; min-width:0; border:0; border-bottom:1px solid #b8c1bb; border-radius:0; outline-offset:4px; padding:11px 3px; background:transparent; font:300 14px var(--kr); color:var(--ink); }
.guestbook-upload { display:flex; align-items:center; gap:14px; width:100%; cursor:pointer; margin-top:30px; min-height:80px; padding:16px 18px; border:1px solid #97bbb4; background:#e3f0eb; font:400 16px var(--kr); transition:background .2s,border-color .2s; }
.guestbook-upload:hover,.guestbook-upload:focus-within { background:#d3e9e2; border-color:#568e86; }
.guestbook-upload-icon { display:grid; place-items:center; width:37px; height:37px; border:1px solid currentColor; border-radius:50%; font:300 27px/1 var(--sans); flex-shrink:0; }
.guestbook-upload small { display:block; margin-top:3px; font:400 11px/1.5 var(--kr); color:#5f7670; }
.guestbook-upload-arrow { margin-left:auto; font:400 27px/1 var(--serif); }
.guestbook-photo-input { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.guestbook-photo-input:focus-visible + .guestbook-photo-hint { outline:2px solid #278f89; outline-offset:3px; }
.guestbook-photo-hint { margin:10px 1px 0; font:300 11px/1.7 var(--kr); color:#687e78; }
.guestbook-preview { margin:18px 0 0; }
.guestbook-preview[hidden],.guestbook-photo-error[hidden] { display:none; }
.guestbook-preview img { width:100%; max-height:260px; object-fit:contain; background:#d9e6df; }
.guestbook-preview figcaption { padding:9px 0 0; font:400 11px/1.5 var(--sans); color:#526d65; overflow-wrap:anywhere; }
.guestbook-photo-error { color:#a23731; font:400 12px/1.7 var(--kr); }
.invitation-page .guestbook-action { margin-top:27px; }
.invitation-page .site-footer { padding-top:55px; }
.invitation-page .site-footer .footer-title { margin-top:24px; margin-bottom:60px; }
.invitation-page .footer-bottom { justify-content:flex-end; }

@media(max-width:980px) {
  .invitation-page .hero-grid { min-height:520px; }
  .invitation-page .hero-media { height:590px; min-height:490px; }
}
@media(max-width:700px) {
  .invitation-page .hero { padding-top:28px; padding-bottom:69px; }
  .invitation-page .hero::before { top:128px; height:400px; }
  .invitation-page .hero-grid { display:flex; flex-direction:column; min-height:0; gap:26px; }
  .invitation-page .hero-copy { padding-top:40px; }
  .invitation-page .hero h1 { margin-bottom:27px; }
  .invitation-page .hero-foot { display:block; padding-top:16px; }
  .invitation-page .hero-foot .caption-kr { font-size:clamp(18px,4.9vw,21px); line-height:1.65; }
  .invitation-page .hero-media { height:auto; min-height:0; aspect-ratio:.87; }
  .invitation-page .hero-plate { width:68px; height:68px; top:56px; left:0; }
  .invitation-page .statement-grid { min-height:108px; }
  .invitation-page .statement h2 { font-size:clamp(23px,5.9vw,30px); }
  .invitation-page .statement .seal-symbol { width:43px; height:43px; font-size:19px; }
  .invitation-page .note-section { padding-top:79px; padding-bottom:88px; }
  .invitation-page .note-editorial { margin-top:41px; }
  .invitation-page .note-words .quote { margin:0 0 28px; }
  .invitation-page .note-foot { margin-top:23px; }
  .invitation-page .note-portrait { margin-top:45px; }
  .invitation-page .day-section { padding-top:80px; padding-bottom:93px; }
  .invitation-page .day-grid { margin-top:43px; }
  .invitation-page .day-right { padding-top:47px; }
  .invitation-page .day-section>.venue-map { margin-top:52px; }
  .invitation-page .atlas-teaser { padding:78px 0 88px; }
  .invitation-page .atlas-teaser-top { padding-top:49px; margin-bottom:43px; }
  .invitation-page #atlas-title { font-size:clamp(40px,12vw,70px); }
  .invitation-page #atlas-title i { padding-left:2%; }
  .invitation-page .atlas-photo-hint { right:12px; bottom:12px; padding:9px 12px; font-size:12px; }
  .invitation-page .atlas-teaser-intro { margin-top:25px; }
  .invitation-page .atlas-feature { gap:12px; }
  .invitation-page .atlas-feature-image { height:auto; aspect-ratio:1.12; }
  .atlas-entry-cta { min-height:83px; padding:15px 19px; }
  .atlas-entry-cta>span:first-child { font-size:clamp(28px,8vw,36px); }
  .atlas-entry-arrow { width:49px; height:49px; font-size:29px; }
  .invitation-page .reply { padding:80px 0 92px; }
  .invitation-page .rsvp-grid { padding-top:48px; }
  .invitation-page .rsvp-copy h2 { margin-bottom:26px; }
  .invitation-page .rsvp-form-shell { margin-top:47px; }
  .invitation-page .guestbook { padding-top:84px; padding-bottom:98px; }
  .invitation-page .guestbook-grid { padding-top:48px; }
  .invitation-page .guestbook-copy h2 { margin-bottom:26px; }
  .invitation-page .guestbook-paper { margin-top:45px; }
  .guestbook-message { min-height:117px; }
  .guestbook-upload { min-height:73px; }
  .invitation-page .site-footer { padding-top:45px; }
}
@media(max-width:390px) {
  .invitation-page .hero-foot .caption-kr { font-size:17px; }
  .atlas-entry-cta>span:first-child { font-size:27px; }
}
