@font-face{font-family:Instrument Serif;src:url('/assets/instrument-serif.ttf') format('truetype');font-display:swap}
:root{color-scheme:light;--ink:#142238;--blue:#112f54;--line:#657d92;--surface:#849db4;--serif:"Instrument Serif",Georgia,serif;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--surface)}
*{box-sizing:border-box}
body{margin:0;min-width:280px;background:var(--surface)}
a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button{cursor:pointer}button,a,input,textarea{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #103865;outline-offset:5px}
.page{width:min(92%,1600px);margin:auto;min-height:100vh;min-height:100svh;display:grid;grid-template-rows:auto 1fr auto;padding:0 clamp(0px,1.4vw,28px)}
header,.dialog-top,header nav,.languages,.request{display:flex;align-items:center}header{gap:clamp(15px,2.3vw,38px);border-bottom:1px solid var(--line);min-height:clamp(74px,9vh,105px)}.signature{margin-right:auto;display:inline-flex;align-items:baseline;gap:.14em;font-size:1.42rem}.signature i{font-family:var(--serif);font-size:1.35em;font-weight:400}.signature strong{letter-spacing:-.065em}.header-actions{gap:clamp(8px,1vw,16px)}
.languages{gap:.45rem;font-size:.85rem;letter-spacing:.05em}.languages a{padding:.7rem .15rem;color:#203145}.languages a[aria-current]{color:var(--ink);font-weight:700;text-decoration:underline;text-underline-offset:5px}.languages span{color:#35485b}.request,.submit{background:#142942;color:#fff;min-height:43px;border:0;border-radius:30px;padding:.7rem 1.3rem;font-size:.94rem;font-weight:600}.request{gap:9px}.request svg{width:16px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linejoin:round}.request:hover,.submit:hover{background:#214d81}
.portal{display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:.65rem 1.15rem;border:1px solid #3f5871;border-radius:30px;color:var(--ink);font-size:.94rem;font-weight:600;text-align:center}
.portal:hover{background:#a9bdcd;border-color:var(--ink)}
main{align-self:center;display:grid;justify-items:center;align-content:center;padding:clamp(18px,3.2vh,40px) 0 clamp(22px,4.6vh,60px);text-align:center}.mark{position:relative;width:min(78vw,clamp(350px,63vh,760px));line-height:0}.mark img{display:block;margin:auto;width:100%;height:auto}
.mark picture{display:block}
.horn-light {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
}
.horn-sweep {
  stroke-dasharray:22 110;
  opacity:0;
  animation:horn-trace 6.4s linear infinite;
}
.horn-glint {
  opacity:0;
  transform-origin:0 0;
  animation:horn-shine 6.4s ease-out infinite;
}
@keyframes horn-trace {
  0%,4% {stroke-dashoffset:22;opacity:0}
  8% {opacity:.9}
  19% {opacity:1}
  23% {stroke-dashoffset:-100;opacity:0}
  100% {stroke-dashoffset:-100;opacity:0}
}
@keyframes horn-shine {
  0%,17% {opacity:0;transform:scale(.22)}
  21% {opacity:1;transform:scale(1.12)}
  25% {opacity:.94;transform:scale(.88)}
  36%,100% {opacity:0;transform:scale(.22)}
}
@media (prefers-reduced-motion:reduce) {
  .horn-sweep {animation:none}
  .horn-glint {animation:none;opacity:.82;transform:scale(.54)}
}
h1,h2{font-family:var(--serif);font-weight:400}h1{margin:clamp(12px,2.4vh,30px) 0 0;font-size:clamp(4rem,min(8.5vw,12.3vh),9.5rem);letter-spacing:-.055em;line-height:1.02}h1 em{font-weight:400;color:var(--blue)}
.projects {
  border-top: 1px solid var(--line);
  padding: clamp(12px, 2vh, 28px) 0;
}
.project-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
}
.project-row + .project-row {border-top: 1px solid var(--line)}
.projects a {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: .25rem;
  min-height: 48px;
  padding: .55rem .75rem;
  text-align: center;
  overflow-wrap: anywhere;
  font-size: clamp(1.05rem, 2.05vw, 2rem);
  font-weight: 600;
  letter-spacing: -.055em;
}
.project-row a + a {border-left: 1px solid var(--line)}
.projects .ending {color: #203145; font-weight: 400}
.projects small {color: #203145; font-size: .875rem; font-weight: 400; letter-spacing: normal}
.projects a:hover > span {color: var(--blue); text-decoration: underline; text-underline-offset: 6px}
dialog{border:1px solid #6d8398;border-radius:16px;padding:clamp(22px,4vw,42px);width:min(480px,calc(100% - 30px));max-height:90svh;color:var(--ink);background:#bacbda;box-shadow:0 30px 90px #14223830}
dialog::backdrop{background:rgba(18,31,48,.46);backdrop-filter:blur(4px)}body:has(dialog[open]){overflow:hidden}.dialog-top{justify-content:space-between;gap:10px}.dialog-top h2{font-size:3.1rem;letter-spacing:-.04em;line-height:1;margin:0 0 14px}.close{display:grid;place-items:center;width:40px;height:40px;align-self:flex-start;color:var(--ink);border:1px solid var(--line);border-radius:50%;background:transparent;font-size:1.6rem;line-height:1}
form{display:grid;gap:14px}label{display:grid;gap:5px;font-size:.92rem;font-weight:600}input,textarea{min-width:0;border:1px solid #5c748b;border-radius:5px;background:#d6e0e8;color:var(--ink);padding:9px 10px;font-weight:400;font-size:1rem}textarea{resize:vertical;min-height:85px;max-height:230px}.trap{display:none}.submit{justify-self:start}.submit:disabled{opacity:.6}.feedback:empty{display:none}.feedback,.mail{font-size:.9rem;line-height:1.45}.mail{margin:20px 0 0;color:#324659}.mail a,[data-draft]{color:var(--blue);text-decoration:underline;text-underline-offset:3px}[hidden]{display:none!important}
@media(max-width:620px){.page{width:88%}.mark{width:min(90vw,480px)}h1{font-size:clamp(3.5rem,12.8vw,4.9rem)}.projects{padding:0 0 14px}.project-row{grid-auto-flow:row;grid-template-columns:minmax(0,1fr)}.projects a{min-height:44px}.project-row a+a{border-left:0;border-top:1px solid var(--line)}.request{padding:.65rem 1rem}main{padding:24px 0}}
@media(max-height:550px) and (min-width:621px){.mark{width:min(32vw,290px)}main{padding:12px 0}h1{margin-top:8px;font-size:3.5rem}header{min-height:62px}.projects{padding:8px 0}}

@media(max-width:520px){
  header{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.4rem .6rem;padding:.6rem 0 .85rem}
  header .languages{justify-self:end}
  .header-actions{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:.5rem}
  .header-actions a{justify-content:center;min-height:44px;padding:.55rem .6rem}
}
