/* Each open pane has its own example. The light crosses it as it opens. */
.approach {
  position:relative; isolation:isolate; overflow:clip;
  background:radial-gradient(ellipse at 12% 4%,#e0e9e9,transparent 45%),
    radial-gradient(ellipse at 90% 92%,#e9dfd3,transparent 48%),#faf7f1;
}
.approach::before {
  content:""; position:absolute; z-index:-1; left:-24%; top:34%; width:70%; height:130%;
  border-radius:50%; transform:rotate(-30deg); border:1px solid #6c8a951c;
  box-shadow:0 0 0 9px #fbfbf430,0 0 0 10px #80979b14,0 0 0 22px #ffffff30,0 0 0 23px #80979b10;
}
.approach-grid { align-items:start; gap:clamp(35px,6.8vw,110px); grid-template-columns:.84fr 1.16fr; }
.method-intro .lead { max-width:32ch; color:#40515b; }
.author { display:flex; align-items:center; gap:12px; margin-top:1.55rem; }
.author img { width:42px; height:auto; mix-blend-mode:multiply; }
.author .name { color:#344955; font-size:1.45rem; }
.method-steps {
  min-width:0; border-radius:15px; border:1px solid #abb8bcb5; overflow:hidden;
  box-shadow:0 17px 42px -27px #30475b7d; background:#fffaf4a6;
}
.method-step { border-bottom:1px solid #bcc6c6; }
.method-step:last-child { border-bottom:0; }
.method-step summary {
  position:relative; display:grid; grid-template-columns:37px minmax(0,1fr) 22px; align-items:center;
  gap:15px; padding:16px clamp(16px,2.1vw,30px); cursor:pointer; list-style:none; user-select:none;
  font:500 clamp(1.05rem,1.35vw,1.3rem)/1.25 var(--sans); color:#263a48;
}
.method-step summary::-webkit-details-marker { display:none; }
.method-step summary:focus-visible { outline:2px solid #986d3f; outline-offset:-4px; border-radius:5px; }
.method-step[open] { background:linear-gradient(125deg,#fffdfaeb 16%,#f0f3f1df 86%); }
.method-step[open] summary { color:#142f3e; }
.method-lens {
  position:relative; display:block; width:35px; height:35px; border-radius:50%;
  border:1px solid #8a9ba0; background:linear-gradient(145deg,#f9faf3,#a9b8ba 53%,#536b79 54%,#b1c2c7);
  box-shadow:inset 0 0 0 3px #f7f6ef69; transform:rotate(-18deg); transition:transform .65s var(--motion-ease);
}
.method-lens::after { content:""; position:absolute; inset:7px; border-radius:50%; border:1px solid #ffffffa9; }
.make .method-lens { background:linear-gradient(145deg,#f1f0eb,#bcc6ca 49%,#586571 50%,#b9c9cc); }
.follow .method-lens { background:linear-gradient(145deg,#faf1dc,#d1b695 48%,#856b53 49%,#deceba); }
.method-step[open] .method-lens { transform:rotate(15deg); }
.method-cross { position:relative; height:22px; width:22px; }
.method-cross::before,.method-cross::after {
  content:""; position:absolute; left:3px; right:3px; top:10px; height:1.5px; background:#4d626e;
}
.method-cross::after { transform:rotate(90deg); transition:transform .32s ease; }
.method-step[open] .method-cross::after { transform:rotate(0); }
.method-body { padding:0 clamp(16px,2.1vw,30px) 15px; }
.method-body > p { line-height:1.56; color:#40525d; }
.method-example { position:relative; isolation:isolate; overflow:hidden; border-radius:7px; margin:1rem 0 .45rem; }
.method-example::after {
  content:""; position:absolute; inset:-30% -42%; opacity:0; pointer-events:none;
  background:linear-gradient(110deg,transparent 42%,#edf6fa50 50%,transparent 58%);
}
.conversation { height:clamp(112px,10.5vw,160px); background:#253845; }
.conversation img { width:100%; height:100%; object-fit:cover; object-position:50% 54%; }
.conversation::before { content:""; position:absolute; inset:0; background:linear-gradient(90deg,#17232ae8,#1b262db3 48%,transparent 92%); }
.conversation p {
  position:absolute; inset:0 auto 0 0; display:flex; align-items:center; width:min(80%,340px); padding:12px 20px;
  color:#fff9eb; font:italic clamp(1.25rem,1.8vw,1.7rem)/1.16 var(--serif); letter-spacing:-.025em;
}
.device-study {
  height:126px; background:radial-gradient(ellipse at 23% 60%,#788b8d,transparent 63%),linear-gradient(125deg,#43565e,#b4c1bf 70%,#dfcdb6);
}
.study-screen,.study-phone {
  position:absolute; width:132px; height:81px; left:calc(50% - 83px); top:17px;
  padding:6px; border-radius:5px; background:#26343d; box-shadow:0 7px 11px #1c283646;
  transform:perspective(500px) rotateY(-12deg) rotateZ(-3deg);
}
.study-screen::after { content:""; position:absolute; width:38px; height:7px; background:#36464d; left:calc(50% - 19px); bottom:-6px; border-radius:0 0 5px 5px; }
.study-screen i,.study-phone i {
  display:block; width:100%; height:100%; border-top:6px solid #f5eee4; border-bottom:5px solid #f5eee4;
  background:center / cover url(assets/reflet-atelier-mobile.webp);
}
.study-phone { width:45px; height:77px; top:36px; left:calc(50% + 28px); padding:3px; border-radius:7px; transform:rotate(4deg); }
.study-phone i { border-radius:4px; }
.hours { padding:16px 18px; background:linear-gradient(125deg,#253947,#455a60 95%); color:#f5f8ee; }
.hours>span { display:block; margin-bottom:9px; color:#dae4e5; font-size:.84rem; }
.hours div { display:flex; align-items:center; flex-wrap:wrap; gap:.3rem .9rem; }
.hours b { margin-right:auto; font:italic 1.35rem var(--serif); }
.hours del { color:#c6d1d1; }.hours ins { padding:.28rem .5rem; border:1px solid #c9d8c796; border-radius:4px; background:#d3decf; color:#253d3b; text-decoration:none; }
.method-link {
  display:inline-flex; align-items:center; min-height:44px; color:#284657; font:550 .98rem var(--sans);
  text-decoration:underline; text-decoration-color:#8e9da2; text-underline-offset:5px;
  padding:0; border:0; background:none;
}
.method-link:hover { text-decoration-color:currentColor; color:#684b38; }

/* An addressed sheet of paper in the same blue light as the opening scene. */
.contact {
  position:relative; isolation:isolate; overflow:clip; border-top:1px solid #9db0b144;
  background:radial-gradient(ellipse at 11% 25%,#3b505b 0%,transparent 50%),
    radial-gradient(ellipse at 82% 113%,#596469 0%,transparent 52%),#1c2d39;
}
.letter-light {
  position:absolute; z-index:-1; inset:0; overflow:hidden; pointer-events:none;
  background:linear-gradient(121deg,transparent 42%,#c4dad80c 49%,#dae5e411 50%,transparent 58%);
}
.letter-light::before,.letter-light::after {
  content:""; position:absolute; width:110%; height:100%; left:-45%; top:22%;
  border:1px solid #b4cfd042; border-radius:50%; transform:rotate(-27deg);
  box-shadow:0 0 0 7px #cddcd109,0 0 0 8px #cddcd12b,0 0 0 17px #cddcd106,0 0 0 18px #cddcd122,0 0 0 33px #cddcd106,0 0 0 34px #cddcd11c;
}
.letter-light::after { top:auto; bottom:-62%; left:23%; transform:rotate(-12deg); opacity:.72; }
.contact-grid { align-items:start; grid-template-columns:.84fr 1.16fr; gap:clamp(36px,6.8vw,110px); }
.letter-intro { padding-top:.45rem; }
.contact .letter-intro h2 { font-size:clamp(3.55rem,5.1vw,5.65rem); line-height:.97; }
.contact .letter-intro h2 em { color:#d5e0dc; }
.letter-intro > p:not(.kicker) { max-width:33ch; margin-top:1.25rem; font-size:1.1rem; color:#e0e8e7; }
.contact-signature { display:inline-block; margin-top:1.3rem; font:italic 1.85rem var(--serif); color:#dfccac; transform:rotate(-4deg); }
.letter {
  position:relative; isolation:isolate; min-width:0; padding:clamp(20px,3vw,40px); border-radius:10px;
  background:linear-gradient(145deg,#fffdf7 0%,#f6f3eb 63%,#e8eeea 100%); color:#263946;
  border:1px solid #fff9; box-shadow:0 26px 52px -25px #0b1821ad,0 4px 0 -1px #b4c0bf,0 7px 0 -2px #809297;
}
.letter-head { display:flex; align-items:center; justify-content:space-between; gap:15px; padding-bottom:14px; margin-bottom:17px; border-bottom:1px solid #c0cbcb; }
.recipient { display:flex; flex-direction:column; gap:4px; }
.recipient span { color:#516673; font-size:.88rem; }
.recipient strong { color:#263c49; font:400 1.65rem/1.1 var(--serif); letter-spacing:-.035em; }
.letter-stamp { display:grid; place-items:center; width:55px; aspect-ratio:1.14; border:1px dashed #7e909a; border-radius:2px; transform:rotate(4deg); background:#f6f1e8; }
.letter-stamp img { width:79%; height:auto; mix-blend-mode:multiply; }
.letter .message-starters { margin:0 0 15px; padding:0; border:0; min-width:0; }
.message-starters legend,.contact .letter label { margin-bottom:.45rem; color:#293e4b; font-weight:550; font-size:.97rem; }
.message-starters div { display:flex; flex-wrap:wrap; gap:6px; }
.message-starters button {
  min-height:42px; padding:.45rem .8rem; border:1px solid #aebcbc; border-radius:24px;
  background:#fbfaf4; color:#354a56; font:500 .93rem var(--sans); transition:background .2s, color .2s;
}
.message-starters button:is(:hover,[aria-pressed=true]) { color:#fff; background:#344d59; border-color:#344d59; }
.letter .optional,.letter #message-context { color:#586a72; font-weight:400; font-size:.88rem; }
.letter #message-context { margin:2px 0 5px; }
.contact .letter input,.contact .letter textarea {
  border:1px solid #a4b4b8; color:#213845; border-radius:5px; background:#fffefa;
  padding:.68rem .82rem; font-size:1rem; line-height:1.43; margin-bottom:.92rem;
}
.contact .letter ::placeholder { color:#66767e; }
.contact .letter :is(input,textarea):focus { border-color:#536f7e; background:#fff; outline:2px solid #607c84; outline-offset:2px; }
.contact .letter textarea { min-height:85px; display:block; }
.contact .letter-button { min-height:46px; background:#2a414f; color:white; border:1px solid #2a414f; border-radius:5px; padding:.72rem 1.05rem; }
.contact .letter-button:hover { background:#415c66; }
.letter .form-note { margin-top:.68rem; color:#556973; font-size:.86rem; line-height:1.42; }
.contact .draft-letter {
  position:relative; margin-top:1.3rem; padding:1.05rem; border:1px solid #b4c1bd; border-radius:6px;
  background:linear-gradient(135deg,#fffdf5,#f3f2e9); box-shadow:0 9px 18px -14px #253c49;
}
.contact .draft-letter textarea { background:#fffdf6; }
.draft-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.5rem 1.1rem; }
#copy-status { color:#33544e; }
#copy-status:empty { margin:0; }
footer { position:relative; }
footer::before {
  content:""; position:absolute; left:0; right:0; top:0; height:2px;
  background:linear-gradient(100deg,#75929b,#e5e9df 28%,#a1aeb3 48%,#c7af91 70%,#829ba3);
}
@keyframes pane-open { from{opacity:.55;transform:translateY(-5px)} to{opacity:1;transform:none} }
@keyframes letter-rise { from{transform:translateY(12px) rotate(-.6deg);opacity:.4} to{opacity:1;transform:none} }
@media(prefers-reduced-motion:no-preference) {
  .method-step[open] .method-body { animation:pane-open .33s ease-out; }
  .method-step[open] .method-example::after,.method-steps.view-enter .method-step[open] .method-example::after { animation:glass-pass 1s .1s both; }
  .letter.view-enter { animation:letter-rise .65s var(--motion-ease); }
  .draft-letter:not([hidden]) { animation:letter-rise .34s var(--motion-ease); }
}
@media(max-width:740px) {
  .approach-grid,.contact-grid { grid-template-columns:1fr; gap:1.6rem; }
  .method-intro .lead,.letter-intro > p:not(.kicker) { max-width:43ch; font-size:1.04rem; }
  .author { margin-top:1rem; }
  .method-step summary { grid-template-columns:31px minmax(0,1fr) 18px; gap:10px; padding:16px 14px; }
  .method-lens { width:30px; height:30px; }
  .method-body { padding-inline:15px; }
  .conversation p { padding-inline:14px; }
  .letter-intro h2 em br { display:none; }
  .letter-intro h2 em br::after { content:" "; }
  .contact .letter-intro h2 { font-size:clamp(3.2rem,10vw,4.2rem); }
  .contact-signature { margin-top:.7rem; font-size:1.55rem; }
  .letter { padding:clamp(14px,4.3vw,23px); }
  .letter-head { padding-bottom:12px; margin-bottom:14px; }
  .message-starters button { min-height:44px; padding:.45rem .65rem; }
  .letter > .letter-button { width:100%; }
  .contact .draft-letter { padding:.75rem; }
  .letter-light::before { left:-61%; top:7%; height:53%; width:150%; }
}
@media(max-width:370px) {
  .message-starters div { gap:5px; }
  .message-starters button { padding:.35rem .5rem; font-size:.88rem; }
}
.letter::before {
  content:""; position:absolute; top:-1px; right:-1px; width:24px; height:24px; pointer-events:none; border-radius:0 9px 0 5px;
  background:linear-gradient(45deg,transparent 45%,#cad3ce 46%,#fdfcf2 74%,#c2cac5 100%); opacity:.85;
}
.letter-stamp { overflow:hidden; }
.letter-stamp::after {
  content:""; position:absolute; inset:-25% -70%; opacity:0;
  background:linear-gradient(110deg,transparent 34%,#ffffffb0 52%,transparent 68%); pointer-events:none;
}
.letter::after {
  content:""; pointer-events:none; position:absolute; bottom:0; left:3%; right:3%; height:2px; opacity:.5;
  background:linear-gradient(90deg,transparent,#a1b1b2 30%,#e0c895 62%,transparent); transform:scaleX(.45); transform-origin:center;
  transition:transform .65s var(--motion-ease),opacity .45s;
}
.letter:focus-within::after { transform:scaleX(1); opacity:1; }
@media(prefers-reduced-motion:no-preference) {
  .letter.view-enter .letter-stamp::after { animation:glass-pass 1.05s .2s both; }
  .draft-letter:not([hidden])::before {
    content:""; position:absolute; left:0; right:0; top:0; height:2px; pointer-events:none;
    background:linear-gradient(90deg,transparent,#91acb3,#c9ad84,transparent); transform-origin:left;
    animation:draw-line .6s var(--motion-ease) both;
  }
}
.direct-email { display:block; width:fit-content; max-width:100%; overflow-wrap:anywhere; margin-top:1rem; color:#f7f5eb; text-decoration:underline; text-underline-offset:4px; }
.terms-note { margin:2rem 0 1rem; padding:1.15rem 1.4rem; border-inline-start:2px solid #879aa0; background:#fff9; }
.terms-note h3 { font:1.45rem var(--serif); margin-bottom:.45rem; }
.terms-note p { max-width:86ch; }
.letter .form-note a, .legal-page a:not(.brand) { text-decoration:underline; text-underline-offset:.2em; }
#send-status:not(:empty) { margin-top:1rem; color:#264454; }
.letter button:disabled { opacity:.7; }
#native-send[hidden], #mail-fallback[hidden] { display:none; }
.legal-page main { padding:clamp(2rem,7vw,5rem) 0; max-width:74ch; }
.legal-page h1 { font:400 clamp(2.5rem,5vw,4.5rem)/1.07 var(--serif); }
.legal-page h2 { font:400 clamp(1.6rem,3vw,2.1rem)/1.18 var(--serif); margin:1.6rem 0 .6rem; }
.legal-page p { margin:.6rem 0; line-height:1.6; }
.legal-page .bar { justify-content:space-between; }
.legal-page .bar a:last-child { white-space:nowrap; }
.legal-page main a { overflow-wrap:anywhere; }

#native-send:not([hidden]), #mail-fallback:not([hidden]) { display:flex; text-align:left; }
