/* Invitation landing · local proof · dent invitation v02
   One image, one name, one thought, one action. The image is the one the link preview showed, so the preview opens
   into the page instead of being replaced by it. Type roles and colors follow the identity kit v03
   (masters/type/type-roles.css, masters/color/color-tokens.css). No script is needed to read or enter. */

@font-face{font-family:"Quicksand";src:url(assets/Quicksand-wght.woff2) format("woff2");font-weight:300 700;font-style:normal;font-display:swap}

:root{
  --mx:max(clamp(20px,4vw,72px),calc((100vw - 1440px)/2));   /* the site's outer rail */
  --night:#030D0D;        /* the artwork's own dark, so the image has no edge */
  --paper:#F1EEE7;        /* "Waleed" over the opening artwork */
  --gold:#E4D5A4;         /* washed gold: "Al Kaddour" over the artwork, and the one button */
  --mineral:#BFE3D2;      /* labels on a dark ground */
  --lichen:#A9B89F;       /* secondary text on a dark ground */
  --deep:#0A2A27;         /* pine deep: text on the gold button */
  --display:"gimlet-display","Gimlet Display","Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif;
  --reading:"Quicksand",ui-rounded,"Avenir Next",Avenir,"Segoe UI",system-ui,sans-serif;
}
*{box-sizing:border-box}
html{font-synthesis:none;-webkit-text-size-adjust:100%;background:var(--night)}
body{margin:0;background:var(--night);color:var(--paper);font:400 1.125rem/1.6 var(--reading);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,p{margin:0}

.entry{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}

/* THE SHOT. It takes whatever height the words leave. Wide screens show the full width of the curve. A phone
   shows a taller window onto the same image, placed so the brightest stretch of the Seam, and Dent above
   it, stay in view. */
.shot{position:relative;flex:1 1 0;min-height:max(46svh,260px);overflow:hidden;
  -webkit-mask-image:linear-gradient(#000 58%,transparent 99%);mask-image:linear-gradient(#000 58%,transparent 99%)}
.shot img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 46%}

/* THE WORDS. The name rises into the foot of the image, where the artwork has already fallen into the dark. */
.words{position:relative;flex:none;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;
  gap:clamp(28px,4vw,56px) clamp(32px,6vw,96px);padding:0 var(--mx) max(clamp(28px,6svh,64px),env(safe-area-inset-bottom));
  margin-top:calc(min(8.6vw,15svh)*-.86)}

.name{font-family:var(--display);font-weight:500;font-size:min(8.6vw,15svh);line-height:.9;letter-spacing:-.02em;white-space:nowrap;color:var(--paper)}
.name span{display:block}
.name span + span{font-family:var(--reading);font-weight:400;font-size:.94em;letter-spacing:-.02em;margin-left:.5em;margin-top:.03em;color:var(--gold)}

.way-in{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding-bottom:.35rem}
.label{font:600 .875rem/1.35 var(--reading);letter-spacing:.015em;color:var(--mineral)}
.note{font:500 .906rem/1.5 var(--reading);color:var(--mineral);max-inline-size:30ch;text-wrap:pretty}

.enter{display:inline-flex;align-items:center;min-height:58px;padding:0 30px;border-radius:999px;
  background:transparent;color:var(--mineral);box-shadow:inset 0 0 0 1px rgb(191 227 210 / 62%);
  font:600 1.0625rem/1 var(--reading);text-decoration:none;white-space:nowrap;
  transition:background .2s,color .2s}
.enter:hover{background:rgb(191 227 210 / 8%);color:var(--paper)}
.enter:focus-visible{outline:2px solid var(--paper);outline-offset:4px}
.arw{width:.78em;height:.78em;flex:none;margin-left:.6em;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}
.enter:hover .arw{transform:translateX(3px)}

/* A phone, held upright. */
@media (max-width:760px){
  .shot img{object-position:48% 50%}
  .words{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:clamp(22px,4svh,36px);margin-top:calc(min(15.4vw,9.6svh)*-.86)}
  .name{font-size:min(15.4vw,9.6svh)}
  .way-in{gap:12px}
  .enter{min-height:56px;padding:0 26px}
}

/* One quiet arrival, once. The image settles; the words follow. Dent is part of the image and is never
   animated on its own. */
@media (prefers-reduced-motion:no-preference){
  .shot img{animation:settle 2.2s cubic-bezier(.2,.7,.2,1) both}
  .words{animation:arrive .9s cubic-bezier(.2,.7,.2,1) .45s both}
  @keyframes settle{from{opacity:0;transform:scale(1.035)}to{opacity:1;transform:none}}
  @keyframes arrive{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
}

@media print{.shot{-webkit-mask-image:none;mask-image:none}}
