/* carynsolly.com homepage. Colors come from the Color Hunt palette:
   navy #1a365d, blue #015a9c, mid #60c1e4, sky #a3e0f2. Change them here. */
@font-face{font-family:"Instrument Serif";src:url("fonts/instrument-serif-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Instrument Serif";src:url("fonts/instrument-serif-latin-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"IM Fell English";src:url("fonts/im-fell-english-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"Archivo";src:url("fonts/archivo-wdth.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-style:normal;font-display:swap}
@font-face{font-family:"Archivo";src:url("fonts/archivo-wdth-italic.woff2") format("woff2");font-weight:100 900;font-stretch:62% 125%;font-style:italic;font-display:swap}
@font-face{font-family:"Instrument Sans";src:url("fonts/instrument-sans.woff2") format("woff2");font-weight:400 700;font-stretch:75% 100%;font-display:swap}

:root{
  --navy:#1a365d; --blue:#015a9c; --mid:#60c1e4; --sky:#a3e0f2;
  --paper:#f7efde; --ink-brown:#3a2218;
  --serif:"Instrument Serif","Iowan Old Style","Palatino Linotype",Georgia,serif;
  --sans:ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --gutter:clamp(1.25rem,5vw,3rem);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;background:#e4f6fb}
body{margin:0;min-height:100vh;min-height:100svh;font-family:var(--sans);color:var(--navy);line-height:1.5;
  background:linear-gradient(180deg,var(--sky) 0%,#cdeef7 55%,#e4f6fb 100%) fixed;
  display:flex;flex-direction:column}
.skip{position:absolute;left:-999px;top:0;background:var(--navy);color:#fff;padding:.6rem 1rem;border-radius:0 0 .5rem 0;z-index:10}
.skip:focus{left:0}
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

.page{width:100%;max-width:62rem;margin:0 auto;padding:clamp(2rem,6vw,4rem) var(--gutter) 2rem;flex:1}
.top{margin-bottom:clamp(1.75rem,4vw,2.75rem)}
.mark{margin:0;line-height:0}
.mark img{display:block;width:min(30rem,82vw);height:auto}
.tagline{margin:1rem 0 0;font-family:var(--serif);font-size:clamp(1.35rem,3.4vw,1.75rem);line-height:1.25;color:var(--navy)}

.cards{list-style:none;margin:0;padding:0;display:grid;gap:clamp(.9rem,2.2vw,1.25rem);grid-template-columns:1fr}
@media (min-width:46rem){.cards{grid-template-columns:1fr 1fr}.cell--wide{grid-column:1/-1}}

.card{position:relative;display:flex;flex-direction:column;justify-content:flex-end;gap:.4rem;height:100%;min-height:13.5rem;
  padding:1.6rem;border-radius:1.5rem;overflow:hidden;text-decoration:none;color:#fff;isolation:isolate;
  box-shadow:0 14px 30px -18px rgba(26,54,93,.65);transition:transform .18s ease,box-shadow .18s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 22px 38px -18px rgba(26,54,93,.75)}
.card:focus-visible{outline:3px solid var(--navy);outline-offset:4px}
.card__art{position:absolute;z-index:-1;pointer-events:none}
.card__name,.card__line{display:block}
.card__name{font-family:var(--serif);font-size:clamp(2.1rem,5vw,2.6rem);line-height:1.02;letter-spacing:-.005em}
.card__line{max-width:24rem;font-size:1.02rem;line-height:1.4}
.card__go{position:absolute;top:1.1rem;right:1.2rem;width:2.4rem;height:2.4rem;border-radius:50%;display:grid;place-items:center;
  font-size:1.15rem;line-height:1;background:rgba(255,255,255,.16);border:1.5px solid rgba(255,255,255,.55);transition:background .18s ease,transform .18s ease}
.card:hover .card__go{background:rgba(255,255,255,.3);transform:rotate(8deg)}

/* Lighthouse Creative: their rust-red, heavy condensed italic wordmark, mono caps, italic serif */
.card--lhc{background:radial-gradient(120% 140% at 0% 0%,#c84d33 0%,#b23a24 45%,#8d3021 100%);color:#fff;justify-content:flex-end}
.card--lhc .card__name{display:flex;align-items:baseline;flex-wrap:wrap;gap:0 .45rem;font-size:1rem;line-height:1}
.card--lhc .lh{font-family:"Archivo",Impact,"Arial Narrow",sans-serif;font-weight:900;font-style:italic;font-stretch:62%;font-size:clamp(2.7rem,6.4vw,3.4rem);letter-spacing:-.02em;text-transform:lowercase;line-height:.95}
.card--lhc .cr{font-family:"Instrument Serif",Georgia,serif;font-style:italic;font-size:clamp(2.3rem,5.4vw,2.9rem);line-height:.95}
.card--lhc .card__line{font-family:ui-monospace,"SF Mono",Menlo,Consolas,"Liberation Mono",monospace;text-transform:uppercase;font-size:.78rem;letter-spacing:.02em;line-height:1.5;max-width:92%;margin-top:.55rem;color:#fff}
.card--lhc:focus-visible{outline-color:#fff}

/* LinkedIn: LinkedIn blue (#0a66c2), system font, white profile-style card */
.card--in{background:#fff;color:#000000e6;font-family:-apple-system,system-ui,"Segoe UI",Roboto,"Helvetica Neue","Fira Sans",Ubuntu,sans-serif;justify-content:flex-end;border:1px solid #d0d7de;padding-top:5.4rem}
.card--in::before{content:"";position:absolute;left:0;right:0;top:0;height:4.2rem;z-index:-1;background:linear-gradient(135deg,#0a66c2,#378fe9)}
.card--in .card__name{font-family:inherit;font-weight:600;font-size:1.6rem;letter-spacing:0;color:#0a66c2;line-height:1.15}
.card--in .card__line{color:#000000e6;font-size:.98rem;line-height:1.4}
.card--in .pill{display:inline-block;align-self:flex-start;margin-top:.7rem;padding:.4rem 1.1rem;border-radius:999px;border:1px solid #0a66c2;color:#0a66c2;font-weight:600;font-size:.95rem}
.card--in:hover .pill{background:#0a66c214}
.card--in .card__go{background:rgba(255,255,255,.2);border-color:rgba(255,255,255,.7);color:#fff}
.card--in:focus-visible{outline-color:#0a66c2}

/* The Ultra Deep: the Hubble deep field, like its own homepage */
.card--deep{background:#08080a url("assets/deep-field.webp") center/cover no-repeat;color:#ecebe8}
.card--deep::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(8,8,10,.85) 0%,rgba(8,8,10,.35) 60%,rgba(8,8,10,.15) 100%)}
.card--deep .card__name{color:#fff}
.card--deep .card__name em{font-style:italic;color:#b394c4;padding-right:.08em}
.card--deep .card__line{color:#d9d8df}

/* Bed Bugs: old specimen paper with the engraving wallpaper; its own site lives at /bedbugs/ and looks different on purpose */
.card--bugs{color:#2b231e;background:linear-gradient(90deg,rgba(248,240,218,.97) 0%,rgba(248,240,218,.88) 55%,rgba(248,240,218,.45) 100%),url("assets/bugs-wallpaper-b.webp") right center/380px;box-shadow:0 14px 30px -18px rgba(58,34,24,.55)}
.card--bugs .card__name{font-family:"IM Fell English",Georgia,serif;font-size:clamp(2.2rem,5vw,2.7rem);letter-spacing:0}
.card--bugs .card__go{background:rgba(155,61,36,.1);border-color:rgba(155,61,36,.5);color:#9b3d24}
.card--bugs:hover .card__go{background:rgba(155,61,36,.2)}
.card--bugs .card__line{color:#4a3629;max-width:80%}
.card--bugs:focus-visible{outline-color:#9b3d24}

/* Joy Cart: the feature. A sunset-gradient poster in the style of its social images: heavy wide type in violet-black, postcard art */
.card--joy{min-height:21rem;justify-content:center;color:#14102f;font-family:"Instrument Sans",system-ui,sans-serif;
  background:linear-gradient(120deg,#ff8fc8 0%,#ffb27a 55%,#ffe27a 100%);box-shadow:0 22px 44px -24px rgba(255,143,200,.95)}
.card--joy:hover{box-shadow:0 28px 50px -22px rgba(255,143,200,1)}
.card--joy:focus-visible{outline-color:#14102f}
.card--joy .card__art{right:clamp(.8rem,5vw,3.5rem);top:50%;transform:translateY(-50%);width:clamp(11rem,30%,15.5rem);height:auto;filter:drop-shadow(0 14px 18px rgba(20,16,47,.25))}
.card--joy .card__body{display:block;max-width:min(31rem,64%)}
.card--joy .card__name{font-family:"Archivo","Arial Black",sans-serif;font-weight:900;font-stretch:125%;text-transform:uppercase;letter-spacing:.01em;line-height:.95;font-size:clamp(2.3rem,8.4vw,5.4rem);color:#14102f;padding-right:3rem}
.card--joy .card__line{font-weight:600;font-size:clamp(1.15rem,2.6vw,1.5rem);line-height:1.25;max-width:26rem;margin-top:.9rem;color:#14102f}
.card--joy .card__go{background:#14102f;border-color:#14102f;color:#ffe27a}
.card--joy .pill{font-family:"Archivo",sans-serif;font-stretch:112%;font-weight:800;display:inline-block;margin-top:1.2rem;padding:.65rem 1.3rem;border-radius:999px;background:#14102f;color:#ffe27a;font-size:1rem}
@media (max-width:34rem){.card--joy{min-height:23rem;justify-content:flex-start;padding-top:2rem}.card--joy .card__body{max-width:100%}.card--joy .card__art{top:auto;bottom:-.8rem;right:-.3rem;transform:none;width:10.5rem}}

.foot{width:100%;max-width:62rem;margin:0 auto;padding:1.25rem var(--gutter) 2.25rem;font-size:1rem}
.foot a{color:var(--navy);text-decoration-color:var(--blue);text-decoration-thickness:2px;text-underline-offset:.22em}
.foot a:hover,.foot a:focus-visible{color:var(--blue)}

@media (prefers-reduced-motion:reduce){.card,.card__go{transition:none}.card:hover{transform:none}.card:hover .card__go{transform:none}}
