/* nookfocus.com/contact (November 2026). Built from the "Nook Contact Pages" canvas: /start's dark room and header,
   a cream form card in /pro's cream, and /start's cream footer. contact.js sends the form to /api/contact. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#20170f}
a{color:#f6c96f;text-underline-offset:3px}
a:hover{color:#ffda8b}
:focus-visible{outline:2px solid #f6c96f;outline-offset:4px}
[hidden]{display:none!important}
.skip{position:absolute;left:12px;top:-60px;z-index:5;padding:10px 16px;border-radius:999px;background:#f6c96f;color:#291b0c;font:600 14px 'Instrument Sans',sans-serif;text-decoration:none}
.skip:focus{top:12px}
.skip:hover{color:#291b0c}
.page{font-family:'Instrument Sans',-apple-system,BlinkMacSystemFont,sans-serif;font-size:16px;line-height:1.55;color:#fff3de;background:#20170f;-webkit-font-smoothing:antialiased;overflow-x:clip}
.wrap{width:100%;max-width:1240px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px}

/* The room: /start's hero photo, shaded on the left for the copy and fading into the page at the bottom. */
.room{display:flex;flex-direction:column;min-height:max(100svh - 92px,760px);background-color:#20170f;background-image:linear-gradient(90deg,rgba(20,14,8,.84) 0%,rgba(20,14,8,.58) 36%,rgba(20,14,8,.24) 60%,rgba(20,14,8,.42) 100%),linear-gradient(to bottom,rgba(20,14,8,.5) 0%,rgba(32,23,15,0) 18%,rgba(32,23,15,0) 76%,#20170f 100%),url(assets/hearth-scene.webp);background-size:cover;background-position:40% 45%}
.top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:20px;padding-bottom:20px}
.word{display:inline-flex;align-items:center;min-height:44px;font-family:Baskervville,'Times New Roman',serif;font-size:40px;line-height:1;letter-spacing:-.02em;color:#fff3de;text-decoration:none}
.word:hover{color:#fff3de}
.pills{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px}
.pill{display:inline-flex;align-items:center;min-height:44px;padding:0 18px;border-radius:999px;background:rgba(30,22,14,.62);color:#fff3de;font-size:14px;font-weight:500;text-decoration:none;white-space:nowrap;transition:background-color .2s}
.pill:hover{background:rgba(43,32,23,.92);color:#fff3de}
.stage{flex:1;display:flex;flex-wrap:wrap;align-items:center;gap:56px 72px;padding-top:40px;padding-bottom:88px}

/* Wide: the heading and the other links sit left of the card. Narrow: heading, card, then the other links. */
.stage{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,540px);grid-template-areas:"copy card" "else card";column-gap:clamp(40px,5vw,72px);row-gap:0;align-content:center}
.side{grid-area:copy;align-self:end;min-width:0;max-width:520px}
.stage>.else{grid-area:else;align-self:start;max-width:520px}
@media (max-width:900px){
 .stage{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "card" "else";row-gap:36px}
 .stage>.else{margin-top:0}
}
.side h1{margin:0;font-family:Baskervville,'Times New Roman',serif;font-weight:400;font-size:clamp(52px,3.6vw + 30px,84px);line-height:1.02;letter-spacing:-.035em;color:#fff3de;text-shadow:0 2px 30px rgba(10,6,2,.5);text-wrap:balance}
.lede{margin:18px 0 0;max-width:440px;font-size:clamp(17px,.4vw + 15px,19px);line-height:1.5;color:#fff3de;text-shadow:0 1px 16px rgba(10,6,2,.85);text-wrap:pretty}
.else{display:flex;flex-direction:column;align-items:flex-start;gap:2px;margin-top:36px;padding-top:22px;border-top:1px solid rgba(255,243,222,.18)}
.else p{margin:0 0 6px;font-size:14px;color:#d4c4ac}
.else a{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:16px;font-weight:500;text-decoration:none}
.else svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s cubic-bezier(.16,1,.3,1)}
.else a:hover svg{transform:translateX(2px)}

/* The card: /pro's cream. */
.slot{grid-area:card;align-self:center;min-width:0;width:100%;max-width:540px;justify-self:end}
@media (max-width:900px){.slot{justify-self:start;max-width:620px}}
.card{display:flex;flex-direction:column;gap:22px;padding:34px 34px 30px;border-radius:22px;background:#FBF7F0;color:#291B0C;box-shadow:0 0 0 1px rgba(41,27,12,.08),0 40px 90px -36px rgba(0,0,0,.85),0 14px 30px -18px rgba(0,0,0,.6)}
.card a{color:#8A5A12}.card a:hover{color:#291B0C}
.card :focus-visible{outline-color:#B07820}
.card h2{margin:0;font-family:Baskervville,'Times New Roman',serif;font-weight:400;font-size:34px;line-height:1.1;letter-spacing:-.02em;color:#291B0C}
.row{display:flex;flex-wrap:wrap;gap:16px}
.row .field{flex:1 1 200px;min-width:0}
.field{display:flex;flex-direction:column;gap:7px}
.field label,.topics legend{font-size:14px;font-weight:600;color:#291B0C}
.field label span{font-weight:400;color:#6E5C49}
.field input,.field textarea{width:100%;border-radius:12px;border:1px solid rgba(41,27,12,.18);background:#fff;color:#291B0C;font:400 16px/1.5 'Instrument Sans',sans-serif;transition:border-color .15s,box-shadow .15s}
.field input{height:50px;padding:0 16px}
.field textarea{min-height:168px;padding:14px 16px;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:#6E5C49}
.field input:focus,.field textarea:focus{outline:none;border-color:#B07820;box-shadow:0 0 0 3px rgba(239,195,106,.4)}
.field [aria-invalid="true"],.field [aria-invalid="true"]:focus{border-color:#9A3B2E;box-shadow:0 0 0 3px rgba(154,59,46,.16)}
.topics{margin:0;padding:0;border:0;min-width:0}
.topics legend{padding:0;margin-bottom:9px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{position:relative;display:inline-flex}
.chip input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.chip span{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 16px;border-radius:999px;border:1px solid rgba(41,27,12,.18);background:#fff;color:#4A3A2A;font-size:15px;font-weight:500;transition:background-color .15s,border-color .15s,color .15s}
.chip svg{display:none;width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.chip:hover span{border-color:rgba(41,27,12,.4)}
.chip input:checked+span{border-color:#291B0C;background:#291B0C;color:#FBF7F0;font-weight:600}
.chip input:checked+span svg{display:block}
.chip input:focus-visible+span{outline:2px solid #B07820;outline-offset:3px}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.status{margin:-6px 0 0;padding:12px 14px;border-radius:12px;background:#F7E4DF;color:#7A2E22;font-size:15px;line-height:1.45}
.send{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 20px}
.send p{flex:1 1 200px;margin:0;font-size:14px;line-height:1.45;color:#6E5C49}
.gold{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:54px;padding:0 30px;border-radius:999px;background:#EFC36A;border:1px solid #D9A84E;color:#291B0C!important;font:600 16px 'Instrument Sans',sans-serif;text-decoration:none;cursor:pointer;box-shadow:0 10px 22px -12px rgba(41,27,12,.45);transition:background-color .2s,transform .2s}
.gold:hover{background:#F3CD80;transform:translateY(-1px)}
.gold:active{transform:scale(.97)}
.gold:disabled{cursor:progress;opacity:.75;transform:none}
.gold svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.text-btn{display:inline-flex;align-items:center;min-height:44px;padding:0;border:0;background:transparent;color:#8A5A12;font:500 15px 'Instrument Sans',sans-serif;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.text-btn:hover{color:#291B0C}

/* Sent */
.sent{padding-top:40px;outline:none;animation:arrive .5s cubic-bezier(.16,1,.3,1)}
.tick{display:grid;place-items:center;width:56px;height:56px;border-radius:999px;background:#E3EBDF;color:#3F6B4E}
.tick svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sent h2{font-size:40px;line-height:1.08}
.note{margin:10px 0 0;font-size:17px;line-height:1.5;color:#4A3A2A;overflow-wrap:anywhere}
.note strong{font-weight:600;color:#291B0C}
.quote{margin:0;padding:18px 20px;border-radius:14px;background:#fff;box-shadow:0 0 0 1px rgba(41,27,12,.1)}
.quote figcaption{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:13px;color:#6E5C49}
.tag{display:inline-flex;align-items:center;min-height:28px;padding:0 12px;border-radius:999px;background:#F1E8DA;color:#4A3A2A;font-weight:600}
.quote p{margin:0;font-size:15px;line-height:1.55;color:#4A3A2A;white-space:pre-line;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sent .send{padding-top:4px}
@keyframes arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* Footer: /start's cream footer, with Contact. */
.foot{background:#FBF7F0;border-top:1px solid rgba(41,27,12,.1)}
.foot .wrap{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding-top:24px;padding-bottom:32px}
.foot .word{min-height:0;font-size:28px;color:#291B0C}
.foot nav{display:flex;flex-wrap:wrap;gap:4px 20px}
.foot a{display:inline-flex;align-items:center;min-height:44px;font-size:14px;color:#8A5A12}
.foot a:hover{color:#291B0C}
.foot [aria-current="page"]{font-weight:600}
.foot :focus-visible{outline-color:#B07820}

@media (max-width:620px){
 .wrap{padding-left:20px;padding-right:20px}
 .hide-narrow{display:none!important}
 .room{min-height:0;background-image:linear-gradient(to bottom,rgba(20,14,8,.45) 0%,rgba(20,14,8,.2) 14%,rgba(20,14,8,.75) 34%,#20170f 56%),url(assets/hearth-scene-small.webp);background-size:auto 340px;background-repeat:no-repeat;background-position:38% 0}
 .stage{padding-top:120px;padding-bottom:40px;gap:36px}
 .card{padding:26px 20px 22px;border-radius:20px}
 .send .gold{flex:1 1 auto}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
