:root {
  --ink: #23283a;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #efeee9;
}
* { box-sizing: border-box; }
body { margin: 0; isolation: isolate; }
.atmosphere { position: fixed; inset: 0; overflow: hidden; z-index: -1; pointer-events: none; }
.atmosphere::before, .atmosphere::after {
  content: "";
  position: absolute;
  inset: -28%;
}
.atmosphere::before {
  background: radial-gradient(ellipse 48% 62% at 20% 63%, #aebfde 0%, transparent 88%),
              radial-gradient(ellipse 44% 54% at 74% 21%, #c6d8ce 0%, transparent 90%);
  animation: drift 19s ease-in-out infinite alternate;
}
.atmosphere::after {
  background: radial-gradient(ellipse 46% 58% at 78% 78%, #ebc8bf 0%, transparent 86%);
  animation: drift 27s -12s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  from { transform: translate(-7%, -5%) rotate(-11deg); }
  to { transform: translate(9%, 8%) rotate(15deg); }
}
header {
  position: absolute; inset: 0 0 auto; z-index: 1;
  padding: clamp(16px, 3vw, 44px) clamp(20px, 4vw, 72px);
  display: flex; align-items: center; justify-content: space-between;
}
a { color: inherit; text-decoration: none; }
.contact {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  font-size: 14px; letter-spacing: -.035em;
}
.contact:hover { text-decoration: underline; text-underline-offset: 5px; }
main { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: 90px 0; text-align: center; }
h1, p { margin: 0; }
.dot-mark { display: block; background: transparent; border: 0; padding: 0; cursor: crosshair; touch-action: manipulation; }
.dot-mark svg { display: block; width: 100%; height: auto; overflow: visible; pointer-events: none; }
.monogram { width: 44px; height: 44px; }
.wordmark { width: min(73vw, 1050px); margin: auto; }
.parent-dot, .subdots {
  transition: transform 210ms cubic-bezier(.2,.7,.25,1), opacity 160ms ease-out;
}
.subdots { transform: scale(.38); opacity: 0; }
.split > .parent-dot { transform: scale(.25); opacity: 0; }
.split > .subdots { transform: scale(1); opacity: 1; }
main p {
  margin-top: clamp(24px, 3.4vw, 46px);
  font: 400 clamp(18px, 1.85vw, 29px)/1.2 "Source Serif 4", Georgia, serif;
  letter-spacing: -.035em;
}
:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
@media (max-width: 600px) { .wordmark { width: 86vw; } }
@media (prefers-reduced-motion: reduce) {
  .atmosphere::before, .atmosphere::after { animation: none; }
  .parent-dot, .subdots { transition: none; }
}
dialog{width:min(416px,calc(100% - 32px));padding:26px;border:1px solid #aaaeb5;border-radius:4px;background:#f3f2ee;color:#23283a;max-height:90svh;overflow:auto}
dialog::backdrop{background:rgb(22 31 50 / .34)}
.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}
h2{margin:0;font:normal 32px/1.1 Georgia,serif;letter-spacing:-.04em}
#close{background:transparent;border:0;color:inherit;font:24px/1 Arial;cursor:pointer;min-width:40px;min-height:40px}
#inquiry:not([hidden]){display:grid;gap:8px}
#inquiry label{font-size:13px}
input,textarea{width:100%;border:1px solid #a3a5ac;background:#fafaf7;padding:11px;font:16px/1.45 Arial,sans-serif;color:#23283a;border-radius:2px}
input{margin-bottom:10px}
textarea{resize:vertical;min-height:90px}
.trap{position:absolute;left:-9999px;width:1px;height:1px}
.send{display:flex;align-items:center;justify-content:space-between;margin-top:10px;border:0;border-radius:2px;background:#002fa7;color:white;min-height:44px;padding:0 15px;font:14px Arial,sans-serif;cursor:pointer}
.send:disabled{opacity:.65}
#feedback:not(:empty){margin-top:16px;font:15px/1.5 Arial,sans-serif}
#direct:not([hidden]){display:inline-block;margin-top:8px;text-decoration:underline;font-size:14px}
