.contact-page { min-height: 100svh; position: relative; }
[hidden] { display: none !important; }
.social-links { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 22px; }
.social-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); font: 10px 'Space Mono', monospace; text-decoration: none; text-underline-offset: 5px; transition: color .2s, transform .2s; }
.social-links svg { width: 17px; height: 17px; flex: 0 0 17px; }
.social-links a:hover { color: #506b5a; text-decoration: underline; transform: translateY(-2px); }
.social-links a:focus-visible { outline: 2px solid #657650; outline-offset: 4px; border-radius: 2px; }
.footer-socials { margin-top: 0; gap: 4px 15px; }
.footer-socials a { color: var(--cream); font-size: 9px; }
.footer-socials a:hover { color: #d9e2c8; }
@media (max-width: 480px) {
  .footer-socials { flex-direction: column; gap: 0; }
  .footer-socials a { min-height: 36px; }
}
.contact-atmosphere { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; }
.contact-atmosphere .blob-1 { width: 650px; height: 650px; }
.contact-atmosphere .blob-2 { top: 18%; opacity: .32; }
.contact-atmosphere .blob-3 { left: 18%; bottom: -40px; opacity: .25; }
.contact-nav, .contact-layout, .contact-footer { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.contact-nav { display: flex; justify-content: space-between; align-items: center; padding-block: 34px; }
.contact-page a { color: inherit; text-decoration: none; }
.contact-brand { font: 700 32px 'Playfair Display', serif; letter-spacing: -1.5px; }
.contact-brand span, .hello-dot { color: #7b8669; }
.back-home { font: 11px 'Space Mono', monospace; display: flex; align-items: center; gap: 12px; }
.back-home span { font-size: 20px; transition: transform .3s; }
.back-home:hover span { transform: translate(-3px, -3px); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.12fr; align-items: center; gap: 64px; padding-block: 52px 76px; min-height: calc(100svh - 191px); }
.contact-eyebrow { font: 10px/1.6 'Space Mono', monospace; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.contact-intro h1 { font: 900 clamp(90px, 9vw, 138px)/.98 'Playfair Display', serif; letter-spacing: -.065em; margin: 26px 0 30px; }
.contact-intro h1 em { font-weight: 400; }
.contact-description { color: var(--muted); font-size: 16px; line-height: 1.9; }
.conversation-note { display: flex; align-items: center; gap: 15px; margin-top: 35px; }
.tea-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #d8d7c8; border-radius: 50%; font-size: 24px; background: #e9eadf; }
.conversation-note p { font: 11px/1.9 'Space Mono', monospace; }
.conversation-note p span { color: var(--muted); }
.contact-time { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 45px; font: 9px/1.8 'Space Mono', monospace; color: var(--muted); }
.contact-time time { flex-basis: 100%; padding-left: 14px; color: var(--dark); }
.time-dot { width: 6px; height: 6px; border-radius: 50%; background: #788665; }
.postcard { position: relative; padding: 34px 32px 0; background: rgba(255,255,255,.62); border: 1px solid rgba(170,158,136,.35); border-radius: 14px; box-shadow: 0 14px 45px #59492c08, 0 3px 8px #59492c04; transition: box-shadow .4s; }
.postcard:hover { box-shadow: 0 18px 55px #59492c10; }
.postcard-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 34px; }
.postcard-top .contact-eyebrow { font-size: 8px; }
.postcard h2 { font: 400 clamp(25px, 2.5vw, 34px)/1.3 'Playfair Display', serif; letter-spacing: -.035em; margin-top: 8px; }
.postage { flex-shrink: 0; width: 66px; height: 78px; border: 1px dashed #9da68c; outline: 4px solid #edf0e6; background: #edf0e6; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 5px; transform: rotate(8deg); }
.postage span { font-size: 32px; }
.postage small { font: 6px 'Space Mono', monospace; letter-spacing: .08em; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-field { min-width: 0; }
.contact-field label, .topic-field legend { font: 10px 'Space Mono', monospace; }
.contact-field label span { color: #687653; }
.contact-field input, .contact-field textarea { display: block; width: 100%; border: 0; border-bottom: 1px solid #d5d0c6; border-radius: 0; padding: 13px 0; font: 13px/1.6 'General Sans', sans-serif; background: transparent; color: var(--dark); transition: border-color .2s; }
.contact-field input::placeholder, .contact-field textarea::placeholder { color: #777168; opacity: 1; }
.contact-field input:focus, .contact-field textarea:focus { outline: none; border-bottom-color: #657650; box-shadow: 0 1px #657650; }
.topic-field { border: 0; margin-block: 27px; }
.topic-options { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.topic-options label { position: relative; cursor: pointer; }
.topic-options input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic-options span { display: block; border: 1px solid #dad7ce; padding: 9px 12px; border-radius: 30px; font: 9px 'Space Mono', monospace; transition: background .2s, border-color .2s; }
.topic-options input:checked + span { background: #e6eadc; border-color: #a9b294; color: #3d4c30; }
.topic-options label:hover span { border-color: #8c967b; }
.topic-options input:focus-visible + span, .contact-page a:focus-visible, .send-button:focus-visible { outline: 2px solid #657650; outline-offset: 5px; }
.contact-field textarea { resize: vertical; min-height: 114px; }
.send-row { display: flex; align-items: center; gap: 20px; margin-top: 26px; }
.send-button { display: flex; justify-content: space-between; gap: 28px; align-items: center; border: 0; border-radius: 6px; padding: 15px 18px; background: var(--dark); color: var(--cream); cursor: pointer; font: 11px 'Space Mono', monospace; transition: background .25s, transform .25s; }
.send-button:hover { background: #435139; transform: translateY(-2px); }
.send-button > span:last-child { font-size: 19px; }
.sign-off { max-width: 135px; color: var(--muted); font: italic 15px/1.5 'Playfair Display', serif; }
.delivery-note { font-size: 10px; line-height: 1.6; color: var(--muted); margin-top: 14px; }
.direct-email { font-size: 11px; line-height: 1.7; margin-top: 9px; color: var(--muted); }
.direct-email a { text-decoration: underline; text-underline-offset: 3px; }
#form-status { font-size: 12px; line-height: 1.6; color: #435139; margin-top: 10px; }
#form-status:empty { display: none; }
.postcard-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px dashed #d5d0c6; margin-top: 26px; padding-block: 17px; font: 8px/1.6 'Space Mono', monospace; color: var(--muted); }
.postcard-bottom > span:last-child { font-size: 17px; white-space: nowrap; }
.contact-footer { border-top: 1px solid #dcd6cb; display: flex; justify-content: space-between; gap: 20px; padding-block: 24px; color: var(--muted); font: 9px/1.8 'Space Mono', monospace; letter-spacing: 0; }
.contact-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.entrance { animation: fadeUp .9s cubic-bezier(.16,1,.3,1) both; }
.contact-intro h1 { animation-delay: .08s; }
.contact-description { animation-delay: .16s; }
.conversation-note { animation-delay: .24s; }
.contact-time { animation-delay: .32s; }
.postcard.entrance { animation-delay: .2s; }
.skip-link { position: fixed; top: -100px; left: 20px; background: var(--cream); padding: 12px; z-index: 10000; }
.skip-link:focus { top: 10px; }
@media (max-width: 1000px) {
  .contact-nav, .contact-layout, .contact-footer { width: calc(100% - 64px); }
  .contact-layout { gap: 32px; }
  .postcard { padding-inline: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 700px) {
  .contact-nav, .contact-layout, .contact-footer { width: calc(100% - 40px); }
  .contact-nav { padding-block: 24px; }
  .back-home { font-size: 9px; gap: 7px; }
  .contact-layout { grid-template-columns: 1fr; padding-block: 34px 44px; gap: 38px; }
  .contact-intro h1 { font-size: clamp(84px, 19vw, 128px); margin-block: 20px 24px; }
  .contact-intro h1 br { display: none; }
  .contact-intro h1 em { margin-left: .15em; }
  .contact-description { font-size: 14px; }
  .conversation-note { margin-top: 24px; }
  .contact-time { margin-top: 24px; }
  .contact-time time { flex-basis: auto; padding-left: 6px; }
  .postcard { padding: 28px 22px 0; }
  .postcard h2 { font-size: 28px; }
  .postcard-top { gap: 10px; }
  .postage { width: 52px; height: 66px; }
  .postcard-top .contact-eyebrow { font-size: 7px; }
  .contact-footer { flex-wrap: wrap; gap: 8px 20px; }
  .contact-footer > span:nth-child(2) { order: 3; flex-basis: 100%; }
  .contact-footer a { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-page *, .contact-page *::before, .contact-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Shared sealed postcard and its arrival animation. */
.postcard.is-sealed { padding: 0; background: transparent; border: 0; box-shadow: none; }
.sealed-envelope { position: relative; isolation: isolate; overflow: hidden; padding: 28px; min-height: 365px; background: #fdf9ed; border: 1px solid #d8ccb7; border-radius: 8px; box-shadow: 0 15px 36px #64533616; }
.envelope-flap { position: absolute; inset: 0 0 auto; height: 185px; background: #ece5d4; clip-path: polygon(0 0,100% 0,50% 100%); opacity: .65; z-index: -1; }
.receipt-top { display: flex; justify-content: space-between; gap: 15px; align-items: start; }
.receipt-top > .contact-eyebrow { max-width: 140px; font-size: 8px; }
.koala-postage { background: #e6eadc; outline-color: #e6eadc; transform: rotate(6deg); }
.koala-postage small { font-size: 5px; }
.postmark { position: absolute; right: 83px; top: 60px; width: 108px; height: 67px; border: 2px solid #7d8d7666; border-radius: 50%; transform: rotate(-15deg); color: #66765e; display: grid; align-content: center; text-align: center; font: 10px/1.5 'Space Mono', monospace; }
.postmark > span { font-size: 5px; }
.postal-address { margin-top: 38px; }
.postal-address > p { font: 400 clamp(27px, 3vw, 39px)/1.2 'Playfair Display', serif; letter-spacing: -.035em; margin-top: 7px; }
.postal-address > p > span { display: block; font-style: italic; font-size: 25px; color: #677357; margin-top: 5px; }
.postal-address > small { display: block; font: 8px/1.7 'Space Mono', monospace; margin-top: 14px; color: var(--muted); }
.wax-seal { position: absolute; right: 30px; bottom: 75px; width: 53px; height: 53px; display: grid; place-items: center; background: #8c654e; border: 5px double #b49173; border-radius: 47% 53% 45% 55%; color: #efe0c8; box-shadow: 2px 3px 5px #5e432833; font: italic 27px 'Playfair Display', serif; transform: rotate(-12deg); }
.envelope-route { border-top: 1px dashed #cec2ab; padding-top: 17px; margin-top: 27px; font: 7px/1.8 'Space Mono', monospace; display: flex; justify-content: space-between; gap: 8px; color: #746a57; }
.receipt-message { text-align: center; padding: 27px 12px 10px; }
.postcard .receipt-message h2 { font: italic 32px/1.2 'Playfair Display', serif; margin-bottom: 12px; }
.receipt-message h2:focus { outline: none; }
.receipt-message > p { font-size: 12px; line-height: 1.8; color: var(--muted); }
.receipt-message > .contact-eyebrow { font-size: 7px; }
.just-sealed .sealed-envelope { animation: sealPostcard .85s cubic-bezier(.16,1,.3,1) both; }
.just-sealed .wax-seal { animation: pressSeal .6s ease .35s both; }
@keyframes sealPostcard { from { opacity: 0; transform: translateY(30px) rotate(-5deg) scale(.94); } to { opacity: 1; transform: translateY(0) rotate(0) scale(1); } }
@keyframes pressSeal { from { opacity: 0; transform: rotate(-12deg) scale(1.7); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }
@media (max-width: 480px) {
  .sealed-envelope { padding: 22px; }
  .wax-seal { right: 22px; width: 43px; height: 43px; bottom: 83px; }
  .postal-address > small { max-width: 180px; }
  .envelope-route { font-size: 6px; flex-wrap: wrap; }
  .contact-field input, .contact-field textarea { font-size: 16px; }
  .send-row { flex-wrap: wrap; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .postcard-receipt *, .postcard-receipt *::before { animation: none !important; transition: none !important; }
}
