.family-archive { background: #18243c; color: var(--paper); padding-block: clamp(72px, 8vw, 130px); }
.family-heading { display: grid; grid-template-columns: 1fr .9fr; align-items: end; gap: 8%; }
.family-heading h2, .contact-pitch h2 { font-size: clamp(65px, 7.35vw, 124px); margin-block: 24px 0; }
.family-heading h2 em { color: #eebd90; }
.family-archive .short-line { background: #eebd90; }
.family-intro { color: #e1e2e5; font-size: clamp(16px, 1.34vw, 21px); line-height: 1.55; max-width: 45ch; }
.family-photos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 32px); margin-block: clamp(30px, 4.4vw, 70px) clamp(30px, 3.7vw, 60px); }
.family-photos figure > div { background: #e7dfcc; padding: clamp(5px, .6vw, 9px); }
.family-photos img { width: 100%; height: auto; }
.family-photos figcaption { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 10px; padding: 12px 0; }
.family-photos figcaption b { color: #fae2c2; font: 400 clamp(25px, 2vw, 34px)/1 var(--serif); }
.family-photos figcaption span { color: #d7dce6; font-size: clamp(12px, 1vw, 16px); }
.family-team { border-top: 1px solid #626c80; padding-top: 22px; display: grid; grid-template-columns: 1fr 3fr; gap: 16px; }
.family-team p, .shop-directory h3 { text-transform: uppercase; font: 650 10px/1.4 var(--sans); letter-spacing: .15em; color: #bcc6d8; }
.family-team ul { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; }
.family-team strong { font-weight: 530; }
.family-team li span { display: block; font-size: 13px; color: #bdc7d8; margin-top: 3px; }
.print-contact { padding-block: clamp(78px, 8vw, 125px) 0; color: var(--paper); background: #0d1529; }
.contact-layout { display: grid; grid-template-columns: 1fr .93fr; gap: 10%; align-items: start; }
.contact-pitch p { color: #d1d8e0; font-size: clamp(16px, 1.23vw, 19px); line-height: 1.55; max-width: 36ch; margin-top: 22px; }
.contact-links { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 25px; }
.quote-envelope { color: #292321; background: #e8d9b3; border: 1px solid #eddfb8; margin-top: 18px; min-width: 0; box-shadow: 0 12px 24px #040a1950; --focus: #165278; }
.quote-envelope summary { background: #ede1c0; list-style: none; cursor: pointer; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: end; isolation: isolate; min-height: clamp(252px, 22vw, 352px); }
.quote-envelope summary::-webkit-details-marker { display: none; }
.quote-envelope summary:focus-visible { outline: 3px solid var(--cyan); outline-offset: 5px; }
.envelope-flap, .envelope-flap::before { position: absolute; inset: -2px -2px auto; height: 49%; clip-path: polygon(0 0,100% 0,50% 100%); pointer-events: none; transform-origin: 50% 0; }
.envelope-flap { z-index: -1; background: #bfab83; }
.envelope-flap::before { content: ''; height: calc(100% - 2px); background: linear-gradient(180deg,#e6d7b1,#f7edcc); }
.envelope-postmark { position: absolute; right: 5.5%; top: 9%; display: flex; align-items: center; opacity: .7; pointer-events: none; }
.envelope-postmark span { border: 1px solid #7a6551; border-radius: 50%; width: 37px; height: 37px; display: grid; place-items: center; color: #765943; font: italic 16px var(--serif); }
.envelope-postmark i { width: 27px; height: 12px; border-block: 1px solid #7a6551; }
.envelope-postmark i::after { content: ''; display: block; margin-top: 4px; border-top: 1px solid #7a6551; }
.envelope-address { padding: 63px clamp(18px, 2vw, 36px) 20px; display: grid; justify-content: start; }
.envelope-address small { text-transform: uppercase; font-size: 9px; font-weight: 700; line-height: 1.5; letter-spacing: .13em; color: #655944; }
.envelope-address strong { font: 400 clamp(32px, 2.8vw, 48px)/1.07 var(--serif); letter-spacing: -.04em; color: #2e2d2a; margin: 5px 0 2px; }
.envelope-address > span { font-size: 12px; color: #575044; }
.envelope-toggle { color: #282c36; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 57px; border-top: 1px solid #baac8c; padding: 5px clamp(18px, 2vw, 36px); background: #e2cfa4; font-weight: 650; font-size: 14px; transition: background .2s; }
.envelope-toggle .ico { width: 18px; transition: transform .25s; }
.quote-envelope summary:hover .envelope-toggle { background: #d9c292; }
.quote-envelope .open-label, .quote-envelope[open] .closed-label { display: none; }
.quote-envelope[open] .open-label { display: inline; }
.quote-envelope[open] summary { min-height: auto; }
.quote-envelope[open] .envelope-flap, .quote-envelope[open] .envelope-address, .quote-envelope[open] .envelope-postmark { display: none; }
.quote-envelope[open] .envelope-toggle { border-top: 0; }
.quote-envelope[open] .envelope-toggle .ico { transform: rotate(180deg); }
.brief-form { background: #f3e9d2; padding: clamp(18px, 2.3vw, 38px); color: #2b2b30; }
.brief-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 18px; }
.brief-fields label { display: block; font-size: 13px; font-weight: 650; }
.brief-fields label > span { color: #5a5349; font-weight: 400; }
.brief-fields label:last-child { grid-column: 1 / -1; }
.brief-fields input, .brief-fields textarea { display: block; padding: 9px 10px; margin-top: 5px; border: 1px solid #958771; width: 100%; min-height: 44px; background: #fbf4e3; color: #20232b; border-radius: 0; font-size: 16px; }
.brief-fields textarea { resize: vertical; min-height: 90px; }
.brief-fields textarea::placeholder { color: #625f55; }
.brief-form p { color: #4d4a45; font-size: 13px; margin: 16px 0; }
.brief-form .button { color: #fff4d7; background: #19233c; }
.brief-form .button:hover { background: #2d3d61; }
.shop-directory { border-block: 1px solid #51596c; margin-top: clamp(55px, 6vw, 105px); padding-block: 30px; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
.shop-directory h3 { margin-bottom: 13px; }
.shop-directory p, .shop-directory address, .shop-directory a { font-size: 15px; font-style: normal; line-height: 1.6; }
.shop-directory p, .shop-directory address { color: #d3d8e1; }
.shop-directory a { width: fit-content; display: flex; align-items: center; min-height: 44px; gap: 6px; }
.shop-directory a:hover, .print-colophon a:hover { color: var(--gold); }
.directory-link { text-decoration: underline; text-underline-offset: 4px; }
.directory-link .ico { width: 14px; height: 14px; }
.review-star { color: var(--gold); }
.print-colophon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 25px; }
.print-colophon a { display: grid; place-content: center; min-height: 44px; }
.print-colophon img { width: 124px; }
.print-colophon p { color: #bbc2d0; font-size: 11px; line-height: 1.55; }
.floating-call { display: inline-flex; gap: 8px; align-items: center; justify-content: center; position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: 12; border-radius: 60px; border: 1px solid #8c96ac; color: #f8f2e9; background: #111b32; min-height: 45px; padding: 0 15px; font-size: 13px; font-weight: 650; box-shadow: 0 4px 12px #0003; }
.floating-call[hidden] { display: none; }
.floating-call .ico { width: 16px; }
.floating-call:hover { color: var(--gold); }
@media (max-width: 850px) {
  .family-heading, .contact-layout { gap: 7%; }
  .family-photos { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .family-team { grid-template-columns: 1fr; }
  .brief-fields { grid-template-columns: 1fr; }
}
@media (max-width: 740px) {
  .family-archive, .print-contact { padding-top: 66px; }
  .family-archive { padding-bottom: 56px; }
  .family-heading, .contact-layout { display: block; }
  .family-heading h2, .contact-pitch h2 { font-size: clamp(56px, 14.4vw, 81px); margin-top: 16px; }
  .family-intro { margin-top: 22px; }
  .family-photos { gap: 16px 12px; }
  .family-photos figcaption { display: grid; gap: 5px; padding: 9px 0 0; }
  .family-photos figcaption b { font-size: 25px; }
  .family-photos figcaption span { font-size: 12px; }
  .family-team { gap: 15px; }
  .family-team ul { display: grid; grid-template-columns: 1fr; gap: 9px; }
  .family-team li { display: grid; grid-template-columns: minmax(105px,.8fr) 1.4fr; gap: 12px; align-items: baseline; }
  .family-team li span { margin: 0; }
  .contact-links { margin-top: 20px; }
  .quote-envelope { margin-top: 34px; }
  .quote-envelope summary { min-height: 224px; }
  .shop-directory { gap: 26px; grid-template-columns: 1fr; }
  .shop-directory > div + div { border-top: 1px solid #394459; padding-top: 23px; }
  .shop-directory h3 { margin-bottom: 7px; }
  .print-colophon { align-items: flex-start; flex-direction: column; gap: 7px; padding-block: 21px 29px; }
}
.quote-envelope { position: relative; perspective: 880px; }
@media (prefers-reduced-motion: no-preference) {
  .quote-envelope[open]::after { content: ''; position: absolute; inset: 0 0 auto; height: clamp(106px,10vw,155px); transform-origin: 50% 0; pointer-events: none; clip-path: polygon(0 0,100% 0,50% 100%); background: linear-gradient(#e6d7b1,#f7edcc); animation: unfold-envelope .38s ease-out both; }
  .quote-envelope[open] .brief-form { animation: reveal-project-brief .32s ease-out both; }
  @keyframes unfold-envelope { 0% { transform: rotateX(0); opacity: 1; } 80% { opacity: 1; } 100% { transform: rotateX(95deg); opacity: 0; } }
  @keyframes reveal-project-brief { from { transform: translateY(-6px); opacity: .7; } to { transform: none; opacity: 1; } }
}
